diff options
author | Olivier CrĂȘte <olivier.crete@collabora.com> | 2012-04-27 16:39:07 -0400 |
---|---|---|
committer | Olivier CrĂȘte <olivier.crete@collabora.com> | 2012-10-02 13:35:17 -0400 |
commit | 3901964fa0696305a548191cf568eca05a4aec15 (patch) | |
tree | bf8c7d2abc627346d29afda3cda1f6c4a9e59896 /tests | |
parent | 44b935ca4b889816a004e413f95bdaa0b4c7156f (diff) | |
download | farstream-3901964fa0696305a548191cf568eca05a4aec15.tar.gz |
elementaddednotifier: Return the signal ID when adding from a keyfile
Diffstat (limited to 'tests')
-rw-r--r-- | tests/check/utils/binadded.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/check/utils/binadded.c b/tests/check/utils/binadded.c index 7950485b..df6a0e62 100644 --- a/tests/check/utils/binadded.c +++ b/tests/check/utils/binadded.c @@ -242,13 +242,16 @@ GST_START_TEST (test_bin_keyfile) { GKeyFile *keyfile = g_key_file_new (); FsElementAddedNotifier *notifier = NULL; + gulong ret; g_key_file_set_boolean (keyfile, "identity", "sync", TRUE); g_key_file_set_boolean (keyfile, "identity", "invalid-property", TRUE); notifier = fs_element_added_notifier_new (); - fs_element_added_notifier_set_properties_from_keyfile (notifier, keyfile); + ret = fs_element_added_notifier_set_properties_from_keyfile (notifier, + keyfile); + fail_if (ret == 0); test_keyfile (notifier); } |