Home
last modified time | relevance | path

Searched refs:getLocalResource (Results 1 – 25 of 61) sorted by relevance

123

/external/snakeyaml/src/test/java/org/yaml/snakeyaml/representer/
DDumpStackTraceTest.java28 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/
DTypeSafeMapImplementationsTest.java47 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()
DTypeSafeSetImplementationsTest.java47 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()
DTypeSafeMapTest.java45 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()
DTypeSafeListWithInterfaceTest.java44 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/
DClassTagsTest.java42 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()
DArrayTagsTest.java40 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()
DImplicitTagsTest.java46 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()
DTypeSafeCollectionsTest.java39 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/
DSetAsSequenceTest.java48 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()
DRecursiveSortedSetTest.java39 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/
DYamlFieldAccessCollectionTest.java35 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()
DJavaBeanListTest.java33 Util.getLocalResource("issues/issue55_2.txt"), BlogBean.class); in testYaml()
40 beanLoader.loadAs(Util.getLocalResource("issues/issue55_2.txt"), BlogBean.class); in testFailureWithoutFieldAccess()
DFieldListTest.java32 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/
DRubyTest.java31 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/
DGlobalDirectivesTest.java30 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/
DFlexibleScalarStyleTest.java57 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/
DHumanTest.java54 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 …]
DHuman_WithArrayOfChildrenTest.java155 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/
DBasicDumpTest.java44 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/
DHumanGenericsTest.java60 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/
DExample2_27Test.java32 .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/
DPerlTest.java38 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/
DMergeValueTest.java42 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/
DHouseTest.java53 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()

123