Lines Matching full:t2
216 const config::tree t1, t2; in ATF_TEST_CASE_BODY() local
217 const config::tree combined = t1.combine(t2); in ATF_TEST_CASE_BODY()
238 config::tree t1, t2; in ATF_TEST_CASE_BODY() local
240 init_tree_for_combine_test(t2); in ATF_TEST_CASE_BODY()
246 const config::tree combined = t1.combine(t2); in ATF_TEST_CASE_BODY()
255 config::tree t1, t2; in ATF_TEST_CASE_BODY() local
257 init_tree_for_combine_test(t2); in ATF_TEST_CASE_BODY()
258 t2.set< config::int_node >("int-node", 3); in ATF_TEST_CASE_BODY()
259 t2.set< config::string_node >("string-node", "foo"); in ATF_TEST_CASE_BODY()
260 t2.set< config::int_node >("deeper.int.node", 15); in ATF_TEST_CASE_BODY()
261 t2.set_string("deeper.dynamic.first", "value1"); in ATF_TEST_CASE_BODY()
262 t2.set_string("deeper.dynamic.second", "value2"); in ATF_TEST_CASE_BODY()
263 const config::tree combined = t1.combine(t2); in ATF_TEST_CASE_BODY()
265 ATF_REQUIRE(t2 == combined); in ATF_TEST_CASE_BODY()
272 config::tree t1, t2; in ATF_TEST_CASE_BODY() local
274 init_tree_for_combine_test(t2); in ATF_TEST_CASE_BODY()
276 t2.set< config::int_node >("int-node", 5); in ATF_TEST_CASE_BODY()
278 t2.set< config::int_node >("deeper.int.node", 15); in ATF_TEST_CASE_BODY()
281 t2.set_string("deeper.dynamic.second", "value2.2"); in ATF_TEST_CASE_BODY()
282 t2.set_string("deeper.dynamic.third", "value3"); in ATF_TEST_CASE_BODY()
283 const config::tree combined = t1.combine(t2); in ATF_TEST_CASE_BODY()
306 config::tree t2; in ATF_TEST_CASE_BODY() local
307 t2.define< config::int_node >("common.base2"); in ATF_TEST_CASE_BODY()
308 t2.define< config::int_node >("common.base3"); in ATF_TEST_CASE_BODY()
309 t2.define_dynamic("dynamic.other"); in ATF_TEST_CASE_BODY()
310 t2.define< config::int_node >("unset.other"); in ATF_TEST_CASE_BODY()
317 t2.set< config::int_node >("common.base2", 4); in ATF_TEST_CASE_BODY()
318 t2.set< config::int_node >("common.base3", 3); in ATF_TEST_CASE_BODY()
319 t2.set_string("dynamic.other.first", "FOO"); in ATF_TEST_CASE_BODY()
320 t2.set_string("dynamic.other.second", "BAR"); in ATF_TEST_CASE_BODY()
322 config::tree combined = t1.combine(t2); in ATF_TEST_CASE_BODY()
357 config::tree t2; in ATF_TEST_CASE_BODY() local
358 t2.define_dynamic("inner"); in ATF_TEST_CASE_BODY()
359 t2.set_string("inner.leaf2", "4"); in ATF_TEST_CASE_BODY()
361 config::tree combined = t1.combine(t2); in ATF_TEST_CASE_BODY()
382 config::tree t2; in ATF_TEST_CASE_BODY() local
383 t2.define< config::int_node >("top.foo"); in ATF_TEST_CASE_BODY()
388 t1.combine(t2)); in ATF_TEST_CASE_BODY()
393 t2.combine(t1)); in ATF_TEST_CASE_BODY()
947 config::tree t2; in ATF_TEST_CASE_BODY() local
948 ATF_REQUIRE( t1 == t2); in ATF_TEST_CASE_BODY()
949 ATF_REQUIRE(!(t1 != t2)); in ATF_TEST_CASE_BODY()
959 config::tree t2 = t1; in ATF_TEST_CASE_BODY() local
960 ATF_REQUIRE( t1 == t2); in ATF_TEST_CASE_BODY()
961 ATF_REQUIRE(!(t1 != t2)); in ATF_TEST_CASE_BODY()
971 config::tree t2 = t1.deep_copy(); in ATF_TEST_CASE_BODY() local
972 ATF_REQUIRE( t1 == t2); in ATF_TEST_CASE_BODY()
973 ATF_REQUIRE(!(t1 != t2)); in ATF_TEST_CASE_BODY()
980 config::tree t1, t2; in ATF_TEST_CASE_BODY() local
984 ATF_REQUIRE(!(t1 == t2)); in ATF_TEST_CASE_BODY()
985 ATF_REQUIRE( t1 != t2); in ATF_TEST_CASE_BODY()
987 t2.define< config::int_node >("root.a.b.c.first"); in ATF_TEST_CASE_BODY()
988 t2.set< config::int_node >("root.a.b.c.first", 1); in ATF_TEST_CASE_BODY()
989 ATF_REQUIRE( t1 == t2); in ATF_TEST_CASE_BODY()
990 ATF_REQUIRE(!(t1 != t2)); in ATF_TEST_CASE_BODY()
993 ATF_REQUIRE(!(t1 == t2)); in ATF_TEST_CASE_BODY()
994 ATF_REQUIRE( t1 != t2); in ATF_TEST_CASE_BODY()
996 t2.set< config::int_node >("root.a.b.c.first", 2); in ATF_TEST_CASE_BODY()
997 ATF_REQUIRE( t1 == t2); in ATF_TEST_CASE_BODY()
998 ATF_REQUIRE(!(t1 != t2)); in ATF_TEST_CASE_BODY()
1002 ATF_REQUIRE(!(t1 == t2)); in ATF_TEST_CASE_BODY()
1003 ATF_REQUIRE( t1 != t2); in ATF_TEST_CASE_BODY()
1005 t2.define< config::string_node >("another.key"); in ATF_TEST_CASE_BODY()
1006 t2.set< config::string_node >("another.key", "some text"); in ATF_TEST_CASE_BODY()
1007 ATF_REQUIRE( t1 == t2); in ATF_TEST_CASE_BODY()
1008 ATF_REQUIRE(!(t1 != t2)); in ATF_TEST_CASE_BODY()