Lines Matching refs:tree1
178 config::tree tree1;
179 config::tree tree2 = tree1.deep_copy();
181 tree1.define< config::bool_node >("var1");
190 config::tree tree1;
191 tree1.define< config::bool_node >("this.is.a.var");
192 tree1.set< config::bool_node >("this.is.a.var", true);
193 tree1.define< config::int_node >("this.is.another.var");
194 tree1.set< config::int_node >("this.is.another.var", 34);
195 tree1.define< config::int_node >("and.another");
196 tree1.set< config::int_node >("and.another", 123);
198 config::tree tree2 = tree1.deep_copy();
202 ATF_REQUIRE( tree1.lookup< config::bool_node >("this.is.a.var"));
205 ATF_REQUIRE_EQ(34, tree1.lookup< config::int_node >("this.is.another.var"));
208 ATF_REQUIRE_EQ(123, tree1.lookup< config::int_node >("and.another"));