Home
last modified time | relevance | path

Searched refs:father2 (Results 1 – 3 of 3) sorted by relevance

/external/snakeyaml/src/test/java/org/yaml/snakeyaml/recursive/
DHumanTest.java57 Human father2 = (Human) yaml.load(output); in testNoChildren() local
58 assertNotNull(father2); in testNoChildren()
59 assertEquals("Father", father2.getName()); in testNoChildren()
60 assertEquals("Mother", father2.getPartner().getName()); in testNoChildren()
61 assertEquals("Father", father2.getBankAccountOwner().getName()); in testNoChildren()
62 assertSame(father2, father2.getBankAccountOwner()); in testNoChildren()
86 Human father2 = (Human) yaml.load(output); in testNoChildrenPretty() local
87 assertNotNull(father2); in testNoChildrenPretty()
88 assertEquals("Father", father2.getName()); in testNoChildrenPretty()
89 assertEquals("Mother", father2.getPartner().getName()); in testNoChildrenPretty()
[all …]
DHuman_WithArrayOfChildrenTest.java125 Human_WithArrayOfChildren father2 = son.getFather(); in checkSon() local
126 assertEquals("Father", father2.getName()); in checkSon()
128 assertSame(father2, father2.getBankAccountOwner()); in checkSon()
129 assertSame(father2.getPartner(), son.getMother()); in checkSon()
130 assertSame(father2, son.getMother().getPartner()); in checkSon()
132 Human_WithArrayOfChildren[] fathersChildren = father2.getChildren(); in checkSon()
134 Human_WithArrayOfChildren[] mothersChildren = father2.getPartner().getChildren(); in checkSon()
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/recursive/generics/
DHumanGenericsTest.java63 HumanGen father2 = (HumanGen) yaml.load(output); in testNoChildren() local
64 assertNotNull(father2); in testNoChildren()
65 assertEquals("Father", father2.getName()); in testNoChildren()
66 assertEquals("Mother", father2.getPartner().getName()); in testNoChildren()
67 assertEquals("Father", father2.getBankAccountOwner().getName()); in testNoChildren()
68 assertSame(father2, father2.getBankAccountOwner()); in testNoChildren()
98 HumanGen father2 = (HumanGen) loader.loadAs(etalon, HumanGen.class); in testNoChildren2() local
99 assertNotNull(father2); in testNoChildren2()
100 assertEquals("Father", father2.getName()); in testNoChildren2()
101 assertEquals("Mother", father2.getPartner().getName()); in testNoChildren2()
[all …]