summaryrefslogtreecommitdiff
path: root/tests/dbus/params-cm.c
AgeCommit message (Collapse)AuthorFilesLines
2012-02-06Add config.h include in all source filesXavier Claessens1-0/+2
2011-11-16Use _unref instead of _free _destroy when possible.Xavier Claessens1-7/+7
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/
2011-05-12use tp_tests_init() in most testsGuillaume Desmottes1-2/+1
2010-10-26Add a 10 second timeout to all tests that spin the main loopSimon McVittie1-0/+1
... and probably also some tests that don't, but adding the calls was easier than checking :-)
2010-06-04Add the TpTests namespace to tests/lib/params-cmTravis Reitter1-21/+21
2010-06-04Add the TpTests namespace to tests/lib/utilTravis Reitter1-4/+5
2010-06-01Use test_proxy_run_until_prepared instead of ↵Simon McVittie1-1/+1
test_connection_manager_run_until_ready
2010-04-27Use test_object_new_static_class moreSimon McVittie1-1/+1
2010-03-30tests: use test_dbus_daemon_dup_or_die(), avoid tp_get_bus() (except in dbus.c)Simon McVittie1-2/+1
This is in preparation for deprecating tp_get_bus (fd.o #18832).
2010-03-09params-cm test: improve coverageSimon McVittie1-0/+180
The tests for invalid input allow the parameters to have been created and freed (current behaviour), or never created (potential future behaviour, with Protocol objects).
2010-03-09params-cm.c: test_set_params: avoid inappropriate use of ↵Simon McVittie1-1/+1
tp_g_value_slice_new_static_boxed This boxed object isn't static.
2010-03-09params-cm.c: use test_connection_manager_run_until_readySimon McVittie1-15/+1
2010-03-09param_connection_manager_steal_params_last_conn: rename from _get_ and have ↵Simon McVittie1-1/+1
slightly safer semantics
2010-03-09tests/dbus/params-cm.c: simplify a littleSimon McVittie1-4/+3
2009-03-26clear error once testedGuillaume Desmottes1-0/+1
2009-03-26fix test descriptionGuillaume Desmottes1-1/+1
2009-03-26rename free_cm_params to param_connection_manager_free_paramsGuillaume Desmottes1-1/+1
2009-03-26test all support types of paramGuillaume Desmottes1-4/+50
2009-03-26add dbus/params-cm.cGuillaume Desmottes1-0/+152
Start to test CM parameters