Home
last modified time | relevance | path

Searched refs:JavaBeanWithStaticState (Results 1 – 4 of 4) sorted by relevance

/external/snakeyaml/src/test/java/examples/staticstate/
DStaticFieldsTest.java39 JavaBeanWithStaticState bean = new JavaBeanWithStaticState(); in testAsJavaBean()
42 JavaBeanWithStaticState.setType("Represent"); in testAsJavaBean()
43 JavaBeanWithStaticState.color = "Black"; in testAsJavaBean()
50 JavaBeanWithStaticState bean2 = (JavaBeanWithStaticState) yaml.load(output); in testAsJavaBean()
56 JavaBeanWithStaticState bean = new JavaBeanWithStaticState(); in testCustomDump()
59 JavaBeanWithStaticState.setType("Represent"); in testCustomDump()
60 JavaBeanWithStaticState.color = "Black"; in testCustomDump()
72 JavaBeanWithStaticState bean2 = (JavaBeanWithStaticState) yaml.load(output); in testCustomLoad()
75 assertEquals("Oranje", JavaBeanWithStaticState.color); in testCustomLoad()
76 assertEquals("King", JavaBeanWithStaticState.getType()); in testCustomLoad()
[all …]
DStaticFieldsWrapperTest.java35 JavaBeanWithStaticState bean = new JavaBeanWithStaticState(); in testWrapper()
38 JavaBeanWithStaticState.setType("Type3"); in testWrapper()
39 JavaBeanWithStaticState.color = "Violet"; in testWrapper()
48 JavaBeanWithStaticState bean2 = wrapper.createBean(); in testWrapper()
57 JavaBeanWithStaticState bean = new JavaBeanWithStaticState(); in testLocalTag()
60 JavaBeanWithStaticState.setType("Type3"); in testLocalTag()
61 JavaBeanWithStaticState.color = "Violet"; in testLocalTag()
74 JavaBeanWithStaticState bean2 = wrapper.createBean(); in testLocalTag()
83 JavaBeanWithStaticState bean = new JavaBeanWithStaticState(); in testRootBean()
86 JavaBeanWithStaticState.setType("Type3"); in testRootBean()
[all …]
DWrapper.java24 public JavaBeanWithStaticState createBean() { in createBean()
25 JavaBeanWithStaticState bean = new JavaBeanWithStaticState(); in createBean()
28 JavaBeanWithStaticState.color = color; in createBean()
29 JavaBeanWithStaticState.setType(type); in createBean()
34 color = JavaBeanWithStaticState.color; in Wrapper()
35 type = JavaBeanWithStaticState.getType(); in Wrapper()
38 public Wrapper(JavaBeanWithStaticState bean) { in Wrapper()
DJavaBeanWithStaticState.java18 public class JavaBeanWithStaticState { class
45 JavaBeanWithStaticState.type = type; in setType()