diff options
author | Ted Gould <ted@canonical.com> | 2009-10-11 21:50:46 -0500 |
---|---|---|
committer | Ted Gould <ted@canonical.com> | 2009-10-11 21:50:46 -0500 |
commit | ccc7f82c202d8f0691fbbfbdd36d08624ae44e0c (patch) | |
tree | 8e4cf661a3088ad87fc8f5bde6746a820c3f4750 /tests | |
parent | a2f4f868e8744fd6aea1ffb0b335e70c54e039ea (diff) | |
download | libayatana-indicator-ccc7f82c202d8f0691fbbfbdd36d08624ae44e0c.tar.gz libayatana-indicator-ccc7f82c202d8f0691fbbfbdd36d08624ae44e0c.tar.bz2 libayatana-indicator-ccc7f82c202d8f0691fbbfbdd36d08624ae44e0c.zip |
using the blank dummy indicator
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test-loader.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/test-loader.c b/tests/test-loader.c index ecbf502..4b2b096 100644 --- a/tests/test-loader.c +++ b/tests/test-loader.c @@ -34,6 +34,14 @@ test_loader_filename_dummy_simple (void) } void +test_loader_filename_dummy_blank (void) +{ + IndicatorObject * object = indicator_object_new_from_file(BUILD_DIR "/.libs/libdummy-indicator-blank.so"); + g_assert(object == NULL); + return; +} + +void test_loader_filename_dummy_null (void) { IndicatorObject * object = indicator_object_new_from_file(BUILD_DIR "/.libs/libdummy-indicator-null.so"); @@ -78,6 +86,7 @@ test_loader_creation_deletion_suite (void) g_test_add_func ("/libindicator/loader/ref_and_unref", test_loader_refunref); g_test_add_func ("/libindicator/loader/filename_bad", test_loader_filename_bad); g_test_add_func ("/libindicator/loader/dummy/null_load", test_loader_filename_dummy_null); + g_test_add_func ("/libindicator/loader/dummy/blank_load", test_loader_filename_dummy_null); g_test_add_func ("/libindicator/loader/dummy/simple_load", test_loader_filename_dummy_simple); g_test_add_func ("/libindicator/loader/dummy/simple_accessors", test_loader_filename_dummy_simple_accessors); |