Lines Matching refs:tree1
178 config::tree tree1; in ATF_TEST_CASE_BODY() local
179 config::tree tree2 = tree1.deep_copy(); in ATF_TEST_CASE_BODY()
181 tree1.define< config::bool_node >("var1"); in ATF_TEST_CASE_BODY()
190 config::tree tree1; in ATF_TEST_CASE_BODY() local
191 tree1.define< config::bool_node >("this.is.a.var"); in ATF_TEST_CASE_BODY()
192 tree1.set< config::bool_node >("this.is.a.var", true); 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()
198 config::tree tree2 = tree1.deep_copy(); in ATF_TEST_CASE_BODY()
202 ATF_REQUIRE( tree1.lookup< config::bool_node >("this.is.a.var")); in ATF_TEST_CASE_BODY()
205 ATF_REQUIRE_EQ(34, tree1.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()