Lines Matching refs:lookup

144     ATF_REQUIRE_EQ(42, tree.lookup< config::int_node >("var1"));
145 ATF_REQUIRE_EQ("hello", tree.lookup< config::string_node >("var2"));
146 ATF_REQUIRE(!tree.lookup< config::bool_node >("var3"));
167 ATF_REQUIRE_EQ(42, tree.lookup< config::int_node >("foo.bar.1"));
168 ATF_REQUIRE_EQ("hello", tree.lookup< config::string_node >("foo.bar.2"));
169 ATF_REQUIRE(tree.lookup< config::bool_node >("foo.3"));
170 ATF_REQUIRE_EQ(4, tree.lookup< config::int_node >("sub.tree.2"));
171 ATF_REQUIRE_EQ(123, tree.lookup< config::int_node >("sub.tree.3.4"));
202 ATF_REQUIRE( tree1.lookup< config::bool_node >("this.is.a.var"));
203 ATF_REQUIRE(!tree2.lookup< config::bool_node >("this.is.a.var"));
205 ATF_REQUIRE_EQ(34, tree1.lookup< config::int_node >("this.is.another.var"));
206 ATF_REQUIRE_EQ(43, tree2.lookup< config::int_node >("this.is.another.var"));
208 ATF_REQUIRE_EQ(123, tree1.lookup< config::int_node >("and.another"));
209 ATF_REQUIRE_EQ(123, tree2.lookup< config::int_node >("and.another"));
219 tree.lookup< config::int_node >("."));
235 tree.lookup< config::int_node >("abc"));
238 tree.lookup< config::int_node >("foo"));
240 tree.lookup< config::int_node >("foo.bar"));
242 tree.lookup< config::int_node >("foo.bar.baz"));
245 tree.lookup< config::int_node >("a"));
247 tree.lookup< config::int_node >("a.b"));
249 tree.lookup< config::int_node >("a.c"));
250 (void)tree.lookup< config::int_node >("a.b.c");
252 tree.lookup< config::int_node >("a.b.c.d"));
254 tree.lookup< config::int_node >("a.d"));
255 (void)tree.lookup< config::int_node >("a.d.100");
257 tree.lookup< config::int_node >("a.d.101"));
259 tree.lookup< config::int_node >("a.d.100.3"));
261 tree.lookup< config::int_node >("a.d.e"));
422 ATF_REQUIRE_EQ(5, tree.lookup< config::int_node >("top.integer"));
423 ATF_REQUIRE_EQ(10, tree.lookup< wrapped_int_node >("top.custom").value());
424 ATF_REQUIRE_EQ("foo", tree.lookup< config::string_node >("dynamic.first"));
440 ATF_REQUIRE_EQ(52, tree.lookup< config::int_node >("var1"));
441 ATF_REQUIRE(!tree.lookup< config::bool_node >("var3"));
499 ATF_REQUIRE_EQ(42, tree.lookup< config::int_node >("foo.bar.1"));
500 ATF_REQUIRE_EQ("hello", tree.lookup< config::string_node >("foo.bar.2"));
501 ATF_REQUIRE_EQ("15", tree.lookup< config::string_node >("sub.tree.2"));
502 ATF_REQUIRE_EQ("bye", tree.lookup< config::string_node >("sub.tree.3.4"));
791 const int_wrapper& test1 = tree.lookup< wrapped_int_node >("test1");
793 const int_wrapper& test2 = tree.lookup< wrapped_int_node >("test2");