Home
last modified time | relevance | path

Searched refs:bean2 (Results 1 – 10 of 10) 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/jackson-databind/src/test/java/com/fasterxml/jackson/databind/deser/creators/
DSingleArgCreatorTest.java193 ExplicitFactoryBeanB bean2 = MAPPER.readValue(quote("def"), ExplicitFactoryBeanB.class); in testExplicitFactory660b() local
194 assertNotNull(bean2); in testExplicitFactory660b()
195 assertEquals("def", bean2.value()); in testExplicitFactory660b()
DTestCreators.java330 BooleanConstructorBean2 bean2 = MAPPER.readValue(" true ", BooleanConstructorBean2.class); in testSimpleBooleanConstructor() local
331 assertTrue(bean2.b); in testSimpleBooleanConstructor()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/
DTestRootName.java42 RootBeanWithEmpty bean2 = mapper.readValue(json, RootBeanWithEmpty.class); in testRootViaMapper() local
43 assertNotNull(bean2); in testRootViaMapper()
44 assertEquals(2, bean2.a); in testRootViaMapper()
/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()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/type/
DTestTypeFactory.java523 StringListBean bean2 = mapper.readValue("{\"value\":[\"...\"]}", StringListBean.class); in testSneakyBeanProperties() local
524 assertNotNull(bean2); in testSneakyBeanProperties()
525 List<String> list = bean2.value; in testSneakyBeanProperties()