Lines Matching refs:int_node
136 tree.define< config::int_node >("var1"); in ATF_TEST_CASE_BODY()
140 tree.set< config::int_node >("var1", 42); in ATF_TEST_CASE_BODY()
144 ATF_REQUIRE_EQ(42, tree.lookup< config::int_node >("var1")); in ATF_TEST_CASE_BODY()
155 tree.define< config::int_node >("foo.bar.1"); in ATF_TEST_CASE_BODY()
160 tree.set< config::int_node >("foo.bar.1", 42); in ATF_TEST_CASE_BODY()
164 tree.set< config::int_node >("sub.tree.2", 4); in ATF_TEST_CASE_BODY()
165 tree.set< config::int_node >("sub.tree.3.4", 123); in ATF_TEST_CASE_BODY()
167 ATF_REQUIRE_EQ(42, tree.lookup< config::int_node >("foo.bar.1")); in ATF_TEST_CASE_BODY()
170 ATF_REQUIRE_EQ(4, tree.lookup< config::int_node >("sub.tree.2")); in ATF_TEST_CASE_BODY()
171 ATF_REQUIRE_EQ(123, tree.lookup< config::int_node >("sub.tree.3.4")); in ATF_TEST_CASE_BODY()
183 tree2.define< config::int_node >("var1"); in ATF_TEST_CASE_BODY()
193 tree1.define< config::int_node >("this.is.another.var"); in ATF_TEST_CASE_BODY()
194 tree1.set< config::int_node >("this.is.another.var", 34); in ATF_TEST_CASE_BODY()
195 tree1.define< config::int_node >("and.another"); in ATF_TEST_CASE_BODY()
196 tree1.set< config::int_node >("and.another", 123); in ATF_TEST_CASE_BODY()
200 tree2.set< config::int_node >("this.is.another.var", 43); in ATF_TEST_CASE_BODY()
205 ATF_REQUIRE_EQ(34, tree1.lookup< config::int_node >("this.is.another.var")); in ATF_TEST_CASE_BODY()
206 ATF_REQUIRE_EQ(43, tree2.lookup< config::int_node >("this.is.another.var")); in ATF_TEST_CASE_BODY()
208 ATF_REQUIRE_EQ(123, tree1.lookup< config::int_node >("and.another")); in ATF_TEST_CASE_BODY()
209 ATF_REQUIRE_EQ(123, tree2.lookup< config::int_node >("and.another")); in ATF_TEST_CASE_BODY()
219 tree.lookup< config::int_node >(".")); in ATF_TEST_CASE_BODY()
228 tree.define< config::int_node >("foo.bar"); in ATF_TEST_CASE_BODY()
229 tree.define< config::int_node >("a.b.c"); in ATF_TEST_CASE_BODY()
231 tree.set< config::int_node >("a.b.c", 123); in ATF_TEST_CASE_BODY()
232 tree.set< config::int_node >("a.d.100", 0); in ATF_TEST_CASE_BODY()
235 tree.lookup< config::int_node >("abc")); in ATF_TEST_CASE_BODY()
238 tree.lookup< config::int_node >("foo")); in ATF_TEST_CASE_BODY()
240 tree.lookup< config::int_node >("foo.bar")); in ATF_TEST_CASE_BODY()
242 tree.lookup< config::int_node >("foo.bar.baz")); in ATF_TEST_CASE_BODY()
245 tree.lookup< config::int_node >("a")); in ATF_TEST_CASE_BODY()
247 tree.lookup< config::int_node >("a.b")); in ATF_TEST_CASE_BODY()
249 tree.lookup< config::int_node >("a.c")); in ATF_TEST_CASE_BODY()
250 (void)tree.lookup< config::int_node >("a.b.c"); in ATF_TEST_CASE_BODY()
252 tree.lookup< config::int_node >("a.b.c.d")); in ATF_TEST_CASE_BODY()
254 tree.lookup< config::int_node >("a.d")); in ATF_TEST_CASE_BODY()
255 (void)tree.lookup< config::int_node >("a.d.100"); in ATF_TEST_CASE_BODY()
257 tree.lookup< config::int_node >("a.d.101")); in ATF_TEST_CASE_BODY()
259 tree.lookup< config::int_node >("a.d.100.3")); in ATF_TEST_CASE_BODY()
261 tree.lookup< config::int_node >("a.d.e")); in ATF_TEST_CASE_BODY()
270 tree.define< config::int_node >("var1"); in ATF_TEST_CASE_BODY()
274 tree.set< config::int_node >("var1", 42); in ATF_TEST_CASE_BODY()
288 tree.define< config::int_node >("a.b.var1"); in ATF_TEST_CASE_BODY()
292 tree.set< config::int_node >("a.b.var1", 42); in ATF_TEST_CASE_BODY()
326 tree.set< config::int_node >("foo.", 54)); in ATF_TEST_CASE_BODY()
335 tree.define< config::int_node >("foo.bar"); in ATF_TEST_CASE_BODY()
336 tree.define< config::int_node >("a.b.c"); in ATF_TEST_CASE_BODY()
338 tree.set< config::int_node >("a.b.c", 123); in ATF_TEST_CASE_BODY()
342 tree.set< config::int_node >("abc", 2)); in ATF_TEST_CASE_BODY()
344 tree.set< config::int_node >("foo.bar", 15); in ATF_TEST_CASE_BODY()
346 tree.set< config::int_node >("foo.bar.baz", 0)); in ATF_TEST_CASE_BODY()
349 tree.set< config::int_node >("a.c", 100)); in ATF_TEST_CASE_BODY()
350 tree.set< config::int_node >("a.b.c", -3); in ATF_TEST_CASE_BODY()
352 tree.set< config::int_node >("a.b.c.d", 82)); in ATF_TEST_CASE_BODY()
356 tree.set< config::int_node >("a.d.4.5", 82)); in ATF_TEST_CASE_BODY()
357 tree.set< config::int_node >("a.d.5.6", 82); in ATF_TEST_CASE_BODY()
366 tree.define< config::int_node >("foo.bar"); in ATF_TEST_CASE_BODY()
370 tree.set< config::int_node >("foo", 3)); in ATF_TEST_CASE_BODY()
372 tree.set< config::int_node >("a", -10)); in ATF_TEST_CASE_BODY()
381 tree.define< config::int_node >("top.integer"); in ATF_TEST_CASE_BODY()
384 tree.set< config::int_node >("top.integer", 5); in ATF_TEST_CASE_BODY()
407 tree.define< config::int_node >("top.integer"); in ATF_TEST_CASE_BODY()
422 ATF_REQUIRE_EQ(5, tree.lookup< config::int_node >("top.integer")); in ATF_TEST_CASE_BODY()
433 tree.define< config::int_node >("var1"); in ATF_TEST_CASE_BODY()
436 tree.set< config::int_node >("var1", 42); in ATF_TEST_CASE_BODY()
439 tree.lookup_rw< config::int_node >("var1") += 10; in ATF_TEST_CASE_BODY()
440 ATF_REQUIRE_EQ(52, tree.lookup< config::int_node >("var1")); in ATF_TEST_CASE_BODY()
450 tree.define< config::int_node >("var1"); in ATF_TEST_CASE_BODY()
454 tree.set< config::int_node >("var1", 42); in ATF_TEST_CASE_BODY()
478 tree.define< config::int_node >("a.b.c"); in ATF_TEST_CASE_BODY()
490 tree.define< config::int_node >("foo.bar.1"); in ATF_TEST_CASE_BODY()
499 ATF_REQUIRE_EQ(42, tree.lookup< config::int_node >("foo.bar.1")); in ATF_TEST_CASE_BODY()
520 tree.define< config::int_node >("foo.bar"); in ATF_TEST_CASE_BODY()
521 tree.define< config::int_node >("a.b.c"); in ATF_TEST_CASE_BODY()
550 tree.define< config::int_node >("foo.bar"); in ATF_TEST_CASE_BODY()
574 tree.define< config::int_node >("plain"); in ATF_TEST_CASE_BODY()
575 tree.set< config::int_node >("plain", 1234); in ATF_TEST_CASE_BODY()
577 tree.define< config::int_node >("static.first"); in ATF_TEST_CASE_BODY()
578 tree.set< config::int_node >("static.first", -3); in ATF_TEST_CASE_BODY()
603 tree.define< config::int_node >("static.first"); in ATF_TEST_CASE_BODY()
604 tree.set< config::int_node >("static.first", -3); in ATF_TEST_CASE_BODY()
622 tree.define< config::int_node >("root.a.b.c.first"); in ATF_TEST_CASE_BODY()
623 tree.define< config::int_node >("root.a.b.c.second"); in ATF_TEST_CASE_BODY()
624 tree.define< config::int_node >("root.a.d.first"); in ATF_TEST_CASE_BODY()
626 tree.set< config::int_node >("root.a.b.c.first", 1); in ATF_TEST_CASE_BODY()
627 tree.set< config::int_node >("root.a.b.c.second", 2); in ATF_TEST_CASE_BODY()
628 tree.set< config::int_node >("root.a.d.first", 3); in ATF_TEST_CASE_BODY()
660 tree.define< config::int_node >("root.a.b.c.first"); in ATF_TEST_CASE_BODY()
661 tree.set< config::int_node >("root.a.b.c.first", 1); in ATF_TEST_CASE_BODY()
672 tree.define< config::int_node >("root.a.b.c.first"); in ATF_TEST_CASE_BODY()
673 tree.define< config::int_node >("root.a.b.c.second"); in ATF_TEST_CASE_BODY()
674 tree.define< config::int_node >("root.a.d.first"); in ATF_TEST_CASE_BODY()
676 tree.set< config::int_node >("root.a.b.c.first", 1); in ATF_TEST_CASE_BODY()
677 tree.set< config::int_node >("root.a.b.c.second", 2); in ATF_TEST_CASE_BODY()
678 tree.set< config::int_node >("root.a.d.first", 3); in ATF_TEST_CASE_BODY()
702 tree.define< config::int_node >("root.a.b.c.first"); in ATF_TEST_CASE_BODY()
703 tree.set< config::int_node >("root.a.b.c.first", 1); in ATF_TEST_CASE_BODY()
704 tree.define< config::int_node >("root.a.b.c.unset"); in ATF_TEST_CASE_BODY()
727 t1.define< config::int_node >("root.a.b.c.first"); in ATF_TEST_CASE_BODY()
728 t1.set< config::int_node >("root.a.b.c.first", 1); in ATF_TEST_CASE_BODY()
739 t1.define< config::int_node >("root.a.b.c.first"); in ATF_TEST_CASE_BODY()
740 t1.set< config::int_node >("root.a.b.c.first", 1); in ATF_TEST_CASE_BODY()
752 t1.define< config::int_node >("root.a.b.c.first"); in ATF_TEST_CASE_BODY()
753 t1.set< config::int_node >("root.a.b.c.first", 1); in ATF_TEST_CASE_BODY()
757 t2.define< config::int_node >("root.a.b.c.first"); in ATF_TEST_CASE_BODY()
758 t2.set< config::int_node >("root.a.b.c.first", 1); in ATF_TEST_CASE_BODY()
762 t1.set< config::int_node >("root.a.b.c.first", 2); in ATF_TEST_CASE_BODY()
766 t2.set< config::int_node >("root.a.b.c.first", 2); in ATF_TEST_CASE_BODY()