HomeSort by relevance Sort by last modified time
    Searched refs:etalon (Results 1 - 25 of 33) sorted by null

1 2

  /external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue111/
LongUriTest.java 43 String etalon = "!"; local
45 etalon += "A";
47 assertEquals(1025, etalon.length());
48 assertEquals(etalon, scalar.getTag().toString());
  /external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue52/
LineBreakDooubleQuotedTest.java 35 String etalon = "12345678901234567890\n\n123 456"; local
36 String output = yaml.dump(etalon);
40 assertEquals(etalon, parsed);
50 String etalon = "12345678901234567890\n\n123 456"; local
51 String output = yaml.dump(etalon);
55 assertEquals(etalon, parsed);
  /external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue8/
PrattleRepresenterTest.java 30 String etalon = "!!org.yaml.snakeyaml.issues.issue8.Person {firstName: Alan, hatSize: 9, lastName: Gutierrez}\n"; local
31 assertEquals(etalon, yaml.dump(person));
32 assertEquals(etalon, yaml.dump(person));
40 String etalon = "!!org.yaml.snakeyaml.issues.issue8.Person {firstName: Alan, hatSize: 9, lastName: Gutierrez}\n"; local
41 assertEquals(etalon, yaml.dump(person));
  /external/snakeyaml/src/test/java/org/yaml/snakeyaml/
BinaryJavaBeanTest.java 28 String etalon = "!!org.yaml.snakeyaml.BinaryBean\ndata: !!binary |-\n AQcJH0E=\nid: 1\n"; local
29 assertEquals(etalon, output);
Example2_27Test.java 38 String etalon = Util.getLocalResource("specification/example2_27_dumped.yaml"); local
39 assertEquals(etalon, output);
  /external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue10/
BasicDumpTest.java 44 String etalon = Util.getLocalResource("javabeans/issue10-1.yaml"); local
45 assertEquals(etalon.trim(), output.trim());
68 String etalon = Util.getLocalResource("javabeans/issue10-2.yaml"); local
69 assertEquals(etalon.trim(), output.trim());
90 String etalon = Util.getLocalResource("javabeans/issue10-3.yaml"); local
91 assertEquals(etalon.trim(), output.trim());
  /external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue29/
FlexibleScalarStyleTest.java 57 String etalon = Util.getLocalResource("representer/scalar-style1.yaml"); local
58 assertEquals(etalon, output);
67 String etalon = Util.getLocalResource("representer/scalar-style2.yaml"); local
68 assertEquals(etalon, output);
78 String etalon = Util.getLocalResource("representer/scalar-style3.yaml"); local
79 assertEquals(etalon, output);
  /external/snakeyaml/src/test/java/examples/jodatime/
JodaTimeFlowStylesTest.java 45 DateTime etalon = new DateTime(timestamp, DateTimeZone.UTC); local
46 bean.setDate(etalon);
102 assertEquals(etalon, parsed.getDate());
120 DateTime etalon = new DateTime(timestamp, DateTimeZone.UTC); local
121 bean.setDate(etalon);
132 assertEquals(etalon, parsed.getDate());
  /external/snakeyaml/src/test/java/org/yaml/snakeyaml/lowlevel/
LowLevelApiTest.java 42 String etalon = yaml.dump(list); local
43 // System.out.println(etalon);
49 yaml.compose(new StringReader(etalon)).toString(), node.toString());
53 for (Event etalonEvent : yaml.parse(new StringReader(etalon))) {
  /external/snakeyaml/src/test/java/org/yaml/snakeyaml/representer/
RepresentTest.java 31 CustomBean etalon = new CustomBean("A", 1); local
32 String output = yaml.dump(etalon);
37 assertEquals(etalon, bean);
DumpStackTraceTest.java 61 String etalon = Util.getLocalResource("representer/stacktrace1.yaml"); local
63 assertEquals(etalon, result);
  /external/snakeyaml/src/test/java/examples/collections/
TypeSafeMapImplementationsTest.java 47 String etalon = Util.getLocalResource("examples/map-bean-1.yaml"); local
48 assertEquals(etalon, output);
119 String etalon = Util.getLocalResource("examples/map-bean-2.yaml"); local
120 assertEquals(etalon, output);
145 String etalon = Util.getLocalResource("examples/map-recursive-1.yaml"); local
146 assertEquals(etalon, output);
169 String etalon = Util.getLocalResource("examples/map-recursive-2.yaml"); local
170 assertEquals(etalon, output);
TypeSafeMap2Test.java 45 String etalon = Util.getLocalResource("examples/map-bean-12.yaml"); local
46 assertEquals(etalon, output);
64 String etalon = Util.getLocalResource("examples/map-bean-13.yaml"); local
65 assertEquals(etalon, output);
68 MapBean2 parsed = beanLoader.loadAs(etalon, MapBean2.class);
ListFileldBeanTest.java 45 String etalon = Util.getLocalResource("examples/list-bean-1.yaml"); local
46 assertEquals(etalon, output);
TypeSafeListNoGerericsTest.java 45 String etalon = Util.getLocalResource("examples/list-bean-4.yaml"); local
46 assertEquals(etalon, output);
TypeSafeListTest.java 44 String etalon = Util.getLocalResource("examples/list-bean-1.yaml"); local
45 assertEquals(etalon, output);
  /external/snakeyaml/src/test/java/org/yaml/snakeyaml/emitter/
EmitterTest.java 49 String etalon = "\"aaa\": >-\n 0123456789 0123456789\n\n 0123456789 0123456789\n\"bbb\": >2\n\n bla-bla\n"; local
50 assertEquals(etalon, output);
62 String etalon = "\"aaa\": |-\n 0123456789 0123456789 0123456789 0123456789\n\"bbb\": |2\n\n bla-bla\n"; local
63 assertEquals(etalon, output);
75 String etalon = "aaa: |-\n 0123456789 0123456789\n 0123456789 0123456789\nbbb: |2-\n\n bla-bla\n"; local
76 assertEquals(etalon, output);
91 String etalon = "aaa: |-\n 0123456789 0123456789\n 0123456789 0123456789\nbbb: |2-\n\n bla-bla\n"; local
92 assertEquals(etalon, output);
104 String etalon = "'aaa': '0123456789 0123456789\n\n 0123456789 0123456789'\n'bbb': '\n\n bla-bla'\n"; local
105 assertEquals(etalon, output)
117 String etalon = "\\"aaa\\": \\"0123456789 0123456789\\\\n0123456789 0123456789\\"\\n\\"bbb\\": \\"\\\\nbla-bla\\"\\n"; local
170 String etalon = "aaa:\\n - k1: v1\\n - k2: v2\\n"; local
    [all...]
EmitterMultiLineTest.java 54 String etalon = "- |-\n first\n second\n third\n- |\n one\n two\n three\n- !!binary |-\n CA4PCn4gQUFB\n"; local
55 assertEquals(etalon, output);
57 List<Object> parsed = (List<Object>) yaml.load(etalon);
  /external/snakeyaml/src/test/java/org/yaml/snakeyaml/recursive/generics/
HumanGenericsTest.java 60 String etalon = Util.getLocalResource("recursive/generics/no-children-1.yaml"); local
61 assertEquals(etalon, output);
94 String etalon = Util.getLocalResource("recursive/generics/no-children-2.yaml"); local
95 assertEquals(etalon, output);
98 HumanGen father2 = (HumanGen) loader.loadAs(etalon, HumanGen.class);
155 String etalon = Util.getLocalResource("recursive/generics/with-children.yaml"); local
156 assertEquals(etalon, output);
224 String etalon = Util.getLocalResource("recursive/generics/with-children-2.yaml"); local
225 assertEquals(etalon, output);
297 String etalon = Util.getLocalResource("recursive/generics/with-children-3.yaml") local
331 String etalon = Util.getLocalResource("recursive\/generics\/with-children-as-set.yaml"); local
369 String etalon = Util.getLocalResource("recursive\/generics\/with-children-as-map.yaml"); local
448 String etalon = Util.getLocalResource("recursive\/generics\/with-children-as-list.yaml"); local
489 String etalon = Util.getLocalResource("recursive\/generics\/beanring-3.yaml"); local
    [all...]
  /external/snakeyaml/src/test/java/org/yaml/snakeyaml/emitter/template/
VelocityTest.java 57 String etalon = Util.getLocalResource("template/etalon2-template.yaml").trim(); local
58 assertEquals(etalon.length(), output.length());
59 assertEquals(etalon, output);
  /external/snakeyaml/src/test/java/org/yaml/snakeyaml/recursive/
Human_WithArrayOfChildrenTest.java 155 String etalon = Util.getLocalResource("recursive/with-childrenArray.yaml"); local
156 assertEquals(etalon, output);
167 String etalon = Util.getLocalResource("recursive/with-childrenArray-no-root-tag.yaml"); local
168 assertEquals(etalon, output);
HumanTest.java 54 String etalon = Util.getLocalResource("recursive/no-children-1.yaml"); local
55 assertEquals(etalon, output);
83 String etalon = Util.getLocalResource("recursive/no-children-1-pretty.yaml"); local
84 assertEquals(etalon, output);
134 String etalon = Util.getLocalResource("recursive/with-children.yaml"); local
135 assertEquals(etalon, output);
207 String etalon = Util.getLocalResource("recursive/with-children-pretty.yaml"); local
208 assertEquals(etalon, output);
283 String etalon = Util.getLocalResource("recursive/with-children-2.yaml"); local
284 assertEquals(etalon, output)
350 String etalon = Util.getLocalResource("recursive\/with-children-3.yaml"); local
380 String etalon = Util.getLocalResource("recursive\/with-children-as-set.yaml"); local
417 String etalon = Util.getLocalResource("recursive\/with-children-as-map.yaml"); local
495 String etalon = Util.getLocalResource("recursive\/with-children-as-list.yaml"); local
532 String etalon = Util.getLocalResource("recursive\/beanring-3.yaml"); local
629 String etalon = Util.getLocalResource("recursive\/with-children-no-root-tag.yaml"); local
    [all...]
  /external/snakeyaml/src/test/java/org/yaml/snakeyaml/javabeans/
HouseTest.java 53 String etalon = Util.getLocalResource("javabeans/house-dump1.yaml"); local
54 assertEquals(etalon, yaml);
85 String etalon = Util.getLocalResource("javabeans/house-dump3.yaml"); local
86 assertEquals(etalon, yaml);
133 String etalon = Util.getLocalResource("javabeans/house-dump2.yaml"); local
134 assertEquals(etalon, yaml);
  /external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue99/
YamlBase64Test.java 75 int etalon = is.read(); local
77 assertEquals(etalon, jpeg[i] + 256);
79 assertEquals(etalon, jpeg[i]);
  /external/snakeyaml/src/test/java/org/yaml/snakeyaml/generics/
GenericArrayTypeTest.java 32 String etalon = "!!org.yaml.snakeyaml.generics.GenericArrayTypeTest$GenericArray\n" local
34 assertEquals(etalon, doc);

Completed in 300 milliseconds

1 2