From 30cbd28908c667bdd6046a4f99d15edca2f0e5d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Tue, 29 May 2012 09:55:37 +0200 Subject: tests/main.c: add eiotas_particle_add_destinations tests --- tests/main.c | 8 ++++++++ 1 file changed, 8 insertions(+) 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(); } -- cgit v1.1-2-g2b99