summaryrefslogtreecommitdiffstats
path: root/tests/main.c
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2012-05-29 09:55:37 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2012-05-29 09:55:37 +0200
commit30cbd28908c667bdd6046a4f99d15edca2f0e5d1 (patch)
tree04c56393cca5dbef3298aa9a5df6539e5d2e8a4b /tests/main.c
parent99fc8282bd98a9d01429ad7520b603baf89994c2 (diff)
downloadedoors-30cbd28908c667bdd6046a4f99d15edca2f0e5d1.zip
edoors-30cbd28908c667bdd6046a4f99d15edca2f0e5d1.tar.gz
tests/main.c: add eiotas_particle_add_destinations tests
Diffstat (limited to 'tests/main.c')
-rw-r--r--tests/main.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/main.c b/tests/main.c
index d39fdff..f5ddddf 100644
--- a/tests/main.c
+++ b/tests/main.c
@@ -105,9 +105,17 @@ int main(int argc, char **argv)
eiotas_particle_merge(p5,p8);
eiotas_particle_merge(p5,p9);
+ eiotas_particle_add_destinations(p4,"dom0/room0/door0?get");
+ eiotas_particle_add_destinations(p4," dom0/room0/door0?get ");
+ eiotas_particle_add_destinations(p4," dom0/room0/door0?get ");
+ eiotas_particle_add_destinations(p4,"dom0/room0/room1/doorx?get,door?get,dom0/room0/door0?get");
+ eiotas_particle_add_destinations(p4," dom0/room0/room1/doorx?get,door?get , dom0/room0/door0?get ");
+ eiotas_particle_add_destinations(p4," , , dom0/room0/room1/doorx?get,door?get ,, dom0/room0/door0?get ");
+
eiotas_release_particle(din0,p4);
eiotas_spin_free(dom0);
+
return eiotas_shutdown();
}