Home | History | Annotate | Download | only in staticstate

Lines Matching refs:JavaBeanWithStaticState

39         JavaBeanWithStaticState bean = new JavaBeanWithStaticState();
42 JavaBeanWithStaticState.setType("Represent");
43 JavaBeanWithStaticState.color = "Black";
47 assertEquals("!!examples.staticstate.JavaBeanWithStaticState {age: -47, name: Bahrack}\n",
50 JavaBeanWithStaticState bean2 = (JavaBeanWithStaticState) yaml.load(output);
56 JavaBeanWithStaticState bean = new JavaBeanWithStaticState();
59 JavaBeanWithStaticState.setType("Represent");
60 JavaBeanWithStaticState.color = "Black";
65 "!!examples.staticstate.JavaBeanWithStaticState {age: 25, name: Lui, color: Black,\n type: Represent}\n",
71 String output = "!!examples.staticstate.JavaBeanWithStaticState {age: 25, name: Lui, color: Oranje,\n type: King}\n";
72 JavaBeanWithStaticState bean2 = (JavaBeanWithStaticState) yaml.load(output);
75 assertEquals("Oranje", JavaBeanWithStaticState.color);
76 assertEquals("King", JavaBeanWithStaticState.getType());
83 if (javaBean instanceof JavaBeanWithStaticState) {
86 representData(JavaBeanWithStaticState.color)));
88 representData(JavaBeanWithStaticState.getType())));
96 if (node.getType().isAssignableFrom(JavaBeanWithStaticState.class)) {
104 JavaBeanWithStaticState.color = valueNode.getValue();
107 JavaBeanWithStaticState.setType(valueNode.getValue());
112 JavaBeanWithStaticState bean = (JavaBeanWithStaticState) super