/external/snakeyaml/src/test/java/org/yaml/snakeyaml/representer/ |
D | DumpStackTraceTest.java | 28 String input = Util.getLocalResource("representer/stacktrace1.txt"); in testJavaStackTrace() 38 String input = Util.getLocalResource("representer/stacktrace2.txt"); in testJavaStackTraceWithNoSpecialCharacters() 48 String input = Util.getLocalResource("representer/stacktrace3.txt"); in testJavaStackTraceWithTabs() 58 String input = Util.getLocalResource("representer/stacktrace1.txt"); in testJavaStackTraceWithoutTabs() 61 String etalon = Util.getLocalResource("representer/stacktrace1.yaml"); in testJavaStackTraceWithoutTabs()
|
/external/snakeyaml/src/test/java/examples/collections/ |
D | TypeSafeMapImplementationsTest.java | 47 String etalon = Util.getLocalResource("examples/map-bean-1.yaml"); in testDumpMap() 52 String output = Util.getLocalResource("examples/map-bean-1.yaml"); in testLoadMap() 119 String etalon = Util.getLocalResource("examples/map-bean-2.yaml"); in testNoJavaBeanMap() 145 String etalon = Util.getLocalResource("examples/map-recursive-1.yaml"); in testRecursiveNoJavaBeanMap1() 150 .getLocalResource("examples/map-recursive-1_1.yaml")); in testRecursiveNoJavaBeanMap1() 169 String etalon = Util.getLocalResource("examples/map-recursive-2.yaml"); in testRecursiveNoJavaBeanProperties2() 180 String output = Util.getLocalResource("examples/map-recursive-3.yaml"); in testRecursiveNoJavaBeanMap3() 194 String output = Util.getLocalResource("examples/map-recursive-4.yaml"); in testRecursiveNoJavaBeanProperties4()
|
D | TypeSafeSetImplementationsTest.java | 47 String etalon = Util.getLocalResource("examples/set-bean-1.yaml"); in testDumpSet() 66 String etalon = Util.getLocalResource("examples/set-bean-6.yaml"); in testDumpSet2() 71 String output = Util.getLocalResource("examples/set-bean-1.yaml"); in testLoadSet() 91 String output = Util.getLocalResource("examples/set-bean-2.yaml"); in testLoadSetReversed() 240 String output = Util.getLocalResource("examples/set-bean-4.yaml"); in testNoJavaBeanSet() 257 String output = Util.getLocalResource("examples/set-bean-5.yaml"); in testNoJavaBeanSet2()
|
D | TypeSafeMapTest.java | 45 String etalon = Util.getLocalResource("examples/map-bean-10.yaml"); in testDumpMap() 63 String etalon = Util.getLocalResource("examples/map-bean-11.yaml"); in testDumpMap2() 68 String output = Util.getLocalResource("examples/map-bean-10.yaml"); in testLoadMap() 165 String output = Util.getLocalResource("examples/map-bean-10.yaml"); in testLoadMapWithObject()
|
D | TypeSafeListWithInterfaceTest.java | 44 String etalon = Util.getLocalResource("examples/list-bean-2.yaml"); in testDumpList() 49 String output = Util.getLocalResource("examples/list-bean-1.yaml"); in testLoadWrongList() 61 String output = Util.getLocalResource("examples/list-bean-2.yaml"); in testLoadList()
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/constructor/ |
D | ClassTagsTest.java | 42 assertEquals(Util.getLocalResource("constructor/car-with-tags.yaml"), new Yaml().dump(car)); in testDefaultRepresenter() 60 assertEquals(Util.getLocalResource("constructor/car-without-tags.yaml"), output); in testDumpClassTag() 66 yaml.load(Util.getLocalResource("constructor/car-without-tags.yaml")); in testLoadUnknounClassTag() 78 String source = Util.getLocalResource("constructor/car-without-tags.yaml"); in testLoadClassTag() 99 Car car = (Car) yaml.load(Util.getLocalResource("constructor/car-no-root-class.yaml")); in testLoadClassNoRoot()
|
D | ArrayTagsTest.java | 40 assertEquals(Util.getLocalResource("constructor/cararray-with-tags-flow-auto.yaml"), in testDefaultRepresenter() 57 assertEquals(Util.getLocalResource("constructor/cararray-with-tags.yaml"), yaml.dump(car)); in testFlowBlock() 64 Car car = (Car) yaml.load(Util.getLocalResource("constructor/car-without-tags.yaml")); in testLoadClassTag() 85 .getLocalResource("constructor/car-no-root-class.yaml")); in testLoadClassNoRoot()
|
D | ImplicitTagsTest.java | 46 assertEquals(Util.getLocalResource("constructor/carwheel-without-tags.yaml"), carYaml1); in testDefaultRepresenter() 63 assertEquals(Util.getLocalResource("constructor/car-without-root-tag.yaml"), carYaml1); in testNoRootTag() 84 assertEquals(Util.getLocalResource("constructor/carwheel-root-map.yaml"), carYaml1); in testRootMap() 94 Car car = (Car) yaml.load(Util.getLocalResource("constructor/car-without-tags.yaml")); in testLoadClassTag() 109 assertEquals(Util.getLocalResource("constructor/car-without-tags.yaml"), carYaml2); in testLoadClassTag()
|
D | TypeSafeCollectionsTest.java | 39 Car car = (Car) yaml.load(Util.getLocalResource("constructor/car-no-root-class.yaml")); in testTypeSafeList() 56 .getLocalResource("constructor/car-no-root-class-map.yaml")); in testTypeSafeMap() 85 assertEquals(Util.getLocalResource("javabeans/mycar-with-global-tag1.yaml"), output); in testWithGlobalTag()
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue73/ |
D | SetAsSequenceTest.java | 48 assertEquals(Util.getLocalResource("issues/issue73-1.txt"), output); in testDump() 54 String doc = Util.getLocalResource("issues/issue73-1.txt"); in testLoad() 66 String serialized = Util.getLocalResource("issues/issue73-2.txt"); in testYaml() 86 String doc = Util.getLocalResource("issues/issue73-3.txt"); in testLoadRootSet() 125 String doc = Util.getLocalResource("issues/issue73-6.txt"); in testLoadRootSet6()
|
D | RecursiveSortedSetTest.java | 39 assertEquals(Util.getLocalResource("issues/issue73-recursive9.txt"), doc); in testDumpException() 43 String doc = Util.getLocalResource("issues/issue73-recursive10.txt"); in testLoadException() 58 String doc = Util.getLocalResource("issues/issue73-recursive9.txt"); in testLoadRecursiveTest()
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue55/ |
D | YamlFieldAccessCollectionTest.java | 35 assertEquals(Util.getLocalResource("issues/issue55_1.txt"), serialized); in testYaml() 46 .getLocalResource("issues/issue55_1.txt")); in testYamlWithoutConfiguration() 53 beanLoader.loadAs(Util.getLocalResource("issues/issue55_1.txt"), Blog.class); in testYamlFailure() 65 assertEquals(Util.getLocalResource("issues/issue55_1_rootTag.txt"), serialized); in testYamlDefaultWithFeildAccess()
|
D | JavaBeanListTest.java | 33 Util.getLocalResource("issues/issue55_2.txt"), BlogBean.class); in testYaml() 40 beanLoader.loadAs(Util.getLocalResource("issues/issue55_2.txt"), BlogBean.class); in testFailureWithoutFieldAccess()
|
D | FieldListTest.java | 32 BlogField rehydrated = beanLoader.loadAs(Util.getLocalResource("issues/issue55_2.txt"), in testYaml() 40 beanLoader.loadAs(Util.getLocalResource("issues/issue55_2.txt"), BlogField.class); in testFailureWithoutFieldAccess()
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/ruby/ |
D | RubyTest.java | 31 TestObject result = parseObject(Util.getLocalResource("ruby/ruby1.yaml")); in testParse() 40 TestObject result = parseObject(Util.getLocalResource("ruby/ruby1.yaml")); in testEmitNoTags() 57 TestObject result = parseObject(Util.getLocalResource("ruby/ruby1.yaml")); in testEmitWithTags() 81 TestObject result = parseObject(Util.getLocalResource("ruby/ruby1.yaml")); in testEmitWithTags2WithoutTagForParentJavabean()
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue149/ |
D | GlobalDirectivesTest.java | 30 String input = Util.getLocalResource("issues/issue149-one-document.yaml"); in testOneDocument() 45 String input = Util.getLocalResource("issues/issue149-losing-directives.yaml"); in testDirectives() 63 String input = Util.getLocalResource("issues/issue149-losing-directives-2.yaml"); in testDirectives2()
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue29/ |
D | FlexibleScalarStyleTest.java | 57 String etalon = Util.getLocalResource("representer/scalar-style1.yaml"); in testNoFoldedScalar() 67 String etalon = Util.getLocalResource("representer/scalar-style2.yaml"); in testCustomScalarStyle() 78 String etalon = Util.getLocalResource("representer/scalar-style3.yaml"); in testCustomScalarStyleNoSplitLines()
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/recursive/ |
D | HumanTest.java | 54 String etalon = Util.getLocalResource("recursive/no-children-1.yaml"); in testNoChildren() 83 String etalon = Util.getLocalResource("recursive/no-children-1-pretty.yaml"); in testNoChildrenPretty() 134 String etalon = Util.getLocalResource("recursive/with-children.yaml"); in testChildren() 207 String etalon = Util.getLocalResource("recursive/with-children-pretty.yaml"); in testChildrenPretty() 283 String etalon = Util.getLocalResource("recursive/with-children-2.yaml"); in testChildren2() 350 String etalon = Util.getLocalResource("recursive/with-children-3.yaml"); in testChildren3() 380 String etalon = Util.getLocalResource("recursive/with-children-as-set.yaml"); in testChildrenSetAsRoot() 417 String etalon = Util.getLocalResource("recursive/with-children-as-map.yaml"); in testChildrenMapAsRoot() 495 String etalon = Util.getLocalResource("recursive/with-children-as-list.yaml"); in testChildrenListRoot() 532 String etalon = Util.getLocalResource("recursive/beanring-3.yaml"); in testBeanRing() [all …]
|
D | Human_WithArrayOfChildrenTest.java | 155 String etalon = Util.getLocalResource("recursive/with-childrenArray.yaml"); in testChildrenArray() 167 String etalon = Util.getLocalResource("recursive/with-childrenArray-no-root-tag.yaml"); in testDumpChildrenArrayWithoutRootTag() 179 String doc = Util.getLocalResource("recursive/with-childrenArray-no-root-tag.yaml"); in testParseChildrenArrayWithoutRootTag()
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue10/ |
D | BasicDumpTest.java | 44 String etalon = Util.getLocalResource("javabeans/issue10-1.yaml"); in testTag() 68 String etalon = Util.getLocalResource("javabeans/issue10-2.yaml"); in testTag2() 90 String etalon = Util.getLocalResource("javabeans/issue10-3.yaml"); in testTag3()
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/recursive/generics/ |
D | HumanGenericsTest.java | 60 String etalon = Util.getLocalResource("recursive/generics/no-children-1.yaml"); in testNoChildren() 94 String etalon = Util.getLocalResource("recursive/generics/no-children-2.yaml"); in testNoChildren2() 155 String etalon = Util.getLocalResource("recursive/generics/with-children.yaml"); in testChildren() 224 String etalon = Util.getLocalResource("recursive/generics/with-children-2.yaml"); in testChildren2() 297 String etalon = Util.getLocalResource("recursive/generics/with-children-3.yaml"); in testChildren3() 331 String etalon = Util.getLocalResource("recursive/generics/with-children-as-set.yaml"); in testChildrenSetAsRoot() 369 String etalon = Util.getLocalResource("recursive/generics/with-children-as-map.yaml"); in testChildrenMapAsRoot() 448 String etalon = Util.getLocalResource("recursive/generics/with-children-as-list.yaml"); in testChildrenListRoot() 489 String etalon = Util.getLocalResource("recursive/generics/beanring-3.yaml"); in testBeanRing()
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/ |
D | Example2_27Test.java | 32 .getLocalResource("specification/example2_27.yaml")); in testExample_2_27() 38 String etalon = Util.getLocalResource("specification/example2_27_dumped.yaml"); in testExample_2_27()
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue56/ |
D | PerlTest.java | 38 String input = Util.getLocalResource("issues/issue56-1.yaml"); in testMaps() 76 String input = Util.getLocalResource("issues/issue56-1.yaml"); in testJavaBeanWithTypeDescription() 93 String input = Util.getLocalResource("issues/issue56-1.yaml"); in testJavaBean()
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue139/ |
D | MergeValueTest.java | 42 String input = Util.getLocalResource(name); in check() 60 String input = Util.getLocalResource("issues/issue139-3.yaml"); in testMergeUnlessAlreadyExists()
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/javabeans/ |
D | HouseTest.java | 53 String etalon = Util.getLocalResource("javabeans/house-dump1.yaml"); in testDump1() 85 String etalon = Util.getLocalResource("javabeans/house-dump3.yaml"); in testDump3() 133 String etalon = Util.getLocalResource("javabeans/house-dump2.yaml"); in testDump2()
|