aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2012-01-19 11:55:47 -0600
committerTed Gould <ted@gould.cx>2012-01-19 11:55:47 -0600
commita1ed503a7513d46ca530dd9e853140f2981e69a3 (patch)
tree8d417a345c744dd46997e2f9011ba38803dd11a6
parente14c0872345cc6761b4b81adedf1aad8d694872a (diff)
downloadlibayatana-indicator-a1ed503a7513d46ca530dd9e853140f2981e69a3.tar.gz
libayatana-indicator-a1ed503a7513d46ca530dd9e853140f2981e69a3.tar.bz2
libayatana-indicator-a1ed503a7513d46ca530dd9e853140f2981e69a3.zip
Checking to ensure the parent_object pointer gets set
-rw-r--r--tests/test-loader.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test-loader.c b/tests/test-loader.c
index 2e9cf55..38f2cb1 100644
--- a/tests/test-loader.c
+++ b/tests/test-loader.c
@@ -152,6 +152,7 @@ test_loader_filename_dummy_simple_location (void)
g_assert(indicator_object_get_location(object, (IndicatorObjectEntry *)entries->data) == 0);
g_assert(indicator_object_get_location(object, NULL) == 0);
+ g_assert(((IndicatorObjectEntry *)entries->data)->parent_object != NULL);
g_object_unref(object);