summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2014-02-19 10:12:47 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2014-02-26 16:25:00 +0100
commit13502a159c2a8e1c1bd18f63235815d43ce87273 (patch)
tree8d23c1ab607bff67ff5ac870084f57aa891124e2 /src
parent7821df17dcf20b4f9a17bce9261f7167fa52cd0d (diff)
eo: add tests for eo_composite_detach
Diffstat (limited to 'src')
-rw-r--r--src/tests/eo/composite_objects/composite_objects_main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tests/eo/composite_objects/composite_objects_main.c b/src/tests/eo/composite_objects/composite_objects_main.c
index 1d5b8c0474..ba96eb4a22 100644
--- a/src/tests/eo/composite_objects/composite_objects_main.c
+++ b/src/tests/eo/composite_objects/composite_objects_main.c
@@ -54,7 +54,8 @@ main(int argc, char *argv[])
54 fail_if(cb_called); 54 fail_if(cb_called);
55 55
56 fail_if(!eo_composite_is(simple)); 56 fail_if(!eo_composite_is(simple));
57 eo_composite_detach(simple, obj); 57 fail_if(!eo_composite_detach(simple, obj));
58 fail_if(eo_composite_detach(simple, obj));
58 fail_if(eo_composite_is(simple)); 59 fail_if(eo_composite_is(simple));
59 fail_if(!eo_composite_attach(simple, obj)); 60 fail_if(!eo_composite_attach(simple, obj));
60 fail_if(!eo_composite_is(simple)); 61 fail_if(!eo_composite_is(simple));