summaryrefslogtreecommitdiff
path: root/tests/asv.c
Commit message (Collapse)AuthorAgeFilesLines
* Stop calling g_type_init()Simon McVittie2014-01-071-2/+0
| | | | | | | | It was deprecated in GLib 2.36, and we already have a hard dependency on that version. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=71048 Reviewed-by: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
* Tests: check tp_vardict_get_foo() together with tp_asv_get_foo()Xavier Claessens2012-09-151-551/+141
|
* Add config.h include in all source filesXavier Claessens2012-02-061-0/+2
|
* Use _unref instead of _free _destroy when possible.Xavier Claessens2011-11-161-1/+1
| | | | | | | | | | | Replace g_(ptr_)array_free (foo, TRUE) and g_hash_table_destroy with respectively g_(ptr_)array_unref (foo) and g_hash_table_unref. I used this command to generate this patch: for f in `find -name "*.c"`; do sed -i $f -re 's/g_ptr_array_free \(([^ ,]+), TRUE\)/g_ptr_array_unref \(\1\)/'; done See Danielle's blog for explanation of possible bug _free can do: http://blogs.gnome.org/danni/2011/11/16/mistakes-with-g_value_set_boxed/
* Remove tabs from a testWill Thompson2009-04-031-3/+3
|
* tp_asv_dump() -- dumps the map to the debugging consoleDavyd Madeley2009-03-311-0/+2
|
* tp_asv_new()Davyd Madeley2009-03-301-5/+17
|
* tests: remove the option to carry on after a failureSimon McVittie2009-03-171-9/+1
| | | | | | Instead of raising a g_critical, attempting to continue, and returning 1 later, we might as well just crash out. This is consistent with GTest, too.
* tests/asv.c: exercise sliced-GValue constructorsSimon McVittie2009-03-041-134/+60
| | | | As a bonus, this makes the original test more readable.
* Exercise tp_asv_size in tests/asv.cSimon McVittie2008-07-031-0/+6
| | | | 20080703181843-53eee-fa0420b73d87c6879f093f9857ecb2461f36f553.gz
* Add more tp_asv_get_* testsSimon McVittie2008-05-211-10/+511
| | | | 20080521181528-53eee-c8f41c43d6590be6f7a7867c60cf6958b9a74366.gz
* Add trivial regression tests for tp_asv_lookup() tooSimon McVittie2008-05-191-0/+8
| | | | 20080519171729-53eee-ade066d1da0e5f1a08edd060ffe82b71391ae609.gz
* Add a regression test for tp_asv_get_*Simon McVittie2008-05-191-0/+246
20080519171458-53eee-5158025e588b9814995bc9d1fdafc4a67777cdbf.gz