Home
last modified time | relevance | path

Searched refs:bean2 (Results 1 – 6 of 6) sorted by relevance

/external/snakeyaml/src/test/java/examples/staticstate/
DStaticFieldsWrapperTest.java48 JavaBeanWithStaticState bean2 = wrapper.createBean(); in testWrapper() local
49 assertEquals(-47, bean2.getAge()); in testWrapper()
50 assertEquals("Bahrack", bean2.getName()); in testWrapper()
74 JavaBeanWithStaticState bean2 = wrapper.createBean(); in testLocalTag() local
75 assertEquals(-47, bean2.getAge()); in testLocalTag()
76 assertEquals("Bahrack", bean2.getName()); in testLocalTag()
95 JavaBeanWithStaticState bean2 = wrapper.createBean(); in testRootBean() local
96 assertEquals(-47, bean2.getAge()); in testRootBean()
97 assertEquals("Bahrack", bean2.getName()); in testRootBean()
DStaticFieldsTest.java50 JavaBeanWithStaticState bean2 = (JavaBeanWithStaticState) yaml.load(output); in testAsJavaBean() local
51 assertEquals(-47, bean2.getAge()); in testAsJavaBean()
52 assertEquals("Bahrack", bean2.getName()); in testAsJavaBean()
72 JavaBeanWithStaticState bean2 = (JavaBeanWithStaticState) yaml.load(output); in testCustomLoad() local
73 assertEquals(25, bean2.getAge()); in testCustomLoad()
74 assertEquals("Lui", bean2.getName()); in testCustomLoad()
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue149/
DGlobalDirectivesTest.java56 ComponentBean bean2 = (ComponentBean) parsed.next(); in testDirectives() local
57 assertEquals(3, bean2.getProperty1()); in testDirectives()
58 assertEquals("bbb", bean2.getProperty2()); in testDirectives()
74 ComponentBean bean2 = (ComponentBean) parsed.next(); in testDirectives2() local
75 assertEquals(3, bean2.getProperty1()); in testDirectives2()
76 assertEquals("bbb", bean2.getProperty2()); in testDirectives2()
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/
DBinaryJavaBeanTest.java31 BinaryBean bean2 = (BinaryBean) yaml.load(output); in testBeanTest() local
32 assertEquals(1, bean2.getId()); in testBeanTest()
33 assertEquals(new String(bytes), new String(bean2.getData())); in testBeanTest()
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue29/
DFlexibleScalarStylesInJavaBeanTest.java49 BigJavaBean bean2 = new BigJavaBean(1, "second", "line 111\nline 222\nzipcode 12345\n\n", in testDifferentStyles() local
52 bean2.setNumbers(numbers2); in testDifferentStyles()
56 bean2.setData(data2); in testDifferentStyles()
60 list.add(bean2); in testDifferentStyles()
70 assertEquals(bean2, parsed.get(1)); in testDifferentStyles()
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/representer/
DRepresenterTest.java116 MyBean3 bean2 = new MyBean3("Gnome", true); in testRepresenterGetterWithException() local
117 String str = yaml.dump(bean2); in testRepresenterGetterWithException()