Home
last modified time | relevance | path

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

/external/snakeyaml/src/test/java/org/yaml/snakeyaml/recursive/
DHumanTest.java140 Human son2 = beanLoader.loadAs(output, Human.class); in testChildren() local
141 assertNotNull(son2); in testChildren()
144 Human father2 = son2.getFather(); in testChildren()
146 assertEquals("Mother", son2.getMother().getName()); in testChildren()
148 assertSame(father2.getPartner(), son2.getMother()); in testChildren()
149 assertSame(father2, son2.getMother().getPartner()); in testChildren()
213 Human son2 = beanLoader.loadAs(output, Human.class); in testChildrenPretty() local
214 assertNotNull(son2); in testChildrenPretty()
217 Human father2 = son2.getFather(); in testChildrenPretty()
219 assertEquals("Mother", son2.getMother().getName()); in testChildrenPretty()
[all …]
DHuman_WithArrayOfChildrenTest.java158 Human_WithArrayOfChildren son2 = (Human_WithArrayOfChildren) yaml.load(output); in testChildrenArray() local
159 checkSon(son2); in testChildrenArray()
180 Human_WithArrayOfChildren son2 = (Human_WithArrayOfChildren) yaml.load(doc); in testParseChildrenArrayWithoutRootTag() local
181 checkSon(son2); in testParseChildrenArrayWithoutRootTag()
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/recursive/generics/
DHumanGenericsTest.java158 HumanGen son2 = (HumanGen) yaml.load(output); in testChildren() local
159 assertNotNull(son2); in testChildren()
162 HumanGen father2 = son2.getFather(); in testChildren()
164 assertEquals("Mother", son2.getMother().getName()); in testChildren()
166 assertSame(father2.getPartner(), son2.getMother()); in testChildren()
167 assertSame(father2, son2.getMother().getPartner()); in testChildren()
231 HumanGen2 son2 = beanLoader.loadAs(output, HumanGen2.class); in testChildren2() local
232 assertNotNull(son2); in testChildren2()
235 HumanGen2 father2 = son2.getFather(); in testChildren2()
237 assertEquals("Mother", son2.getMother().getName()); in testChildren2()
[all …]