/external/snakeyaml/src/test/java/org/yaml/snakeyaml/javabeans/ |
D | ConstructEmptyBeanTest.java | 41 Yaml beanLoader = new Yaml(); in testEmptyBean1() local 42 EmptyBean bean = beanLoader.loadAs( in testEmptyBean1() 54 Yaml beanLoader = new Yaml(); in testEmptyBean2() local 55 EmptyBean bean = beanLoader.loadAs("!!Bla-bla-bla {}", EmptyBean.class); in testEmptyBean2() 65 Yaml beanLoader = new Yaml(); in testEmptyBean3() local 66 EmptyBean bean = beanLoader.loadAs("{ }", EmptyBean.class); in testEmptyBean3() 76 Yaml beanLoader = new Yaml(); in testEmptyBean4() local 77 EmptyBean bean = beanLoader.loadAs("", EmptyBean.class); in testEmptyBean4() 85 Yaml beanLoader = new Yaml(); in testEmptyBean5() local 86 EmptyBean bean = beanLoader.loadAs("!Bla-bla-bla {}", EmptyBean.class); in testEmptyBean5() [all …]
|
D | TriangleBeanTest.java | 35 Yaml beanLoader = new Yaml(); in testGetTriangle() local 36 TriangleBean loadedBean = beanLoader.loadAs(output, TriangleBean.class); in testGetTriangle() 44 Yaml beanLoader = new Yaml(); in testClassNotFound() local 46 beanLoader.loadAs(output, TriangleBean.class); in testClassNotFound() 61 Yaml beanLoader = new Yaml(); in testClassAndTag() local 63 beanLoader.loadAs(output, TriangleBean.class); in testClassAndTag()
|
D | HouseTest.java | 56 Yaml beanLoader = new Yaml(); in testDump1() local 57 House loadedHouse = beanLoader.loadAs(yaml, House.class); in testDump1() 90 Yaml beanLoader = new Yaml(new Constructor(description)); in testDump3() local 91 House loadedHouse = (House) beanLoader.load(yaml); in testDump3() 92 House loadedHouse2 = (House) beanLoader.loadAs(yaml, House.class); in testDump3() 136 Yaml beanLoader = new Yaml(); in testDump2() local 137 House loadedHouse = beanLoader.loadAs(yaml, House.class); in testDump2()
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue55/ |
D | FieldListTest.java | 30 Yaml beanLoader = new Yaml(); in testYaml() local 31 beanLoader.setBeanAccess(BeanAccess.FIELD); in testYaml() 32 BlogField rehydrated = beanLoader.loadAs(Util.getLocalResource("issues/issue55_2.txt"), in testYaml() 38 Yaml beanLoader = new Yaml(); in testFailureWithoutFieldAccess() local 40 beanLoader.loadAs(Util.getLocalResource("issues/issue55_2.txt"), BlogField.class); in testFailureWithoutFieldAccess()
|
D | JavaBeanListTest.java | 30 Yaml beanLoader = new Yaml(); in testYaml() local 31 beanLoader.setBeanAccess(BeanAccess.FIELD); in testYaml() 32 BlogBean rehydrated = (BlogBean) beanLoader.loadAs( in testYaml() 38 Yaml beanLoader = new Yaml(); in testFailureWithoutFieldAccess() local 40 beanLoader.loadAs(Util.getLocalResource("issues/issue55_2.txt"), BlogBean.class); in testFailureWithoutFieldAccess()
|
D | YamlFieldAccessCollectionTest.java | 51 Yaml beanLoader = new Yaml(); in testYamlFailure() local 53 beanLoader.loadAs(Util.getLocalResource("issues/issue55_1.txt"), Blog.class); in testYamlFailure()
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue72/ |
D | CollectionTest.java | 33 Yaml beanLoader = new Yaml(); in testCollectionList() local 34 CollectionList parsed = beanLoader.loadAs(doc, CollectionList.class); in testCollectionList() 63 Yaml beanLoader = new Yaml(); in testCollectionSet() local 64 CollectionSet parsed = beanLoader.loadAs(doc, CollectionSet.class); in testCollectionSet()
|
/external/snakeyaml/src/test/java/examples/collections/ |
D | TypeSafeListWithInterfaceTest.java | 51 Yaml beanLoader = new Yaml(); in testLoadWrongList() local 53 beanLoader.loadAs(output, ListBean.class); in testLoadWrongList() 63 Yaml beanLoader = new Yaml(); in testLoadList() local 64 ListBean parsed = beanLoader.loadAs(output, ListBean.class); in testLoadList()
|
D | TypeSafeMapTest.java | 70 Yaml beanLoader = new Yaml(); in testLoadMap() local 71 MapBean parsed = beanLoader.loadAs(output, MapBean.class); in testLoadMap() 167 Yaml beanLoader = new Yaml(); in testLoadMapWithObject() local 168 MapBeanNoGenerics parsed = beanLoader.loadAs(output, MapBeanNoGenerics.class); in testLoadMapWithObject()
|
D | TypeSafeMap2Test.java | 67 Yaml beanLoader = new Yaml(); in testMap2() local 68 MapBean2 parsed = beanLoader.loadAs(etalon, MapBean2.class); in testMap2() 83 Yaml beanLoader = new Yaml(); in testLoadMap() local 84 MapBean2 parsed = beanLoader.loadAs(output, MapBean2.class); in testLoadMap()
|
D | TypeSafeSetImplementationsTest.java | 73 Yaml beanLoader = new Yaml(); in testLoadSet() local 74 SetBean parsed = beanLoader.loadAs(output, SetBean.class); in testLoadSet() 93 Yaml beanLoader = new Yaml(); in testLoadSetReversed() local 94 SetBean parsed = beanLoader.loadAs(output, SetBean.class); in testLoadSetReversed()
|
D | TypeSafePriorityTest.java | 42 Yaml beanLoader = new Yaml(new Constructor(descr)); in testLoadList2() local 43 ListBean parsed = beanLoader.loadAs(output, ListBean.class); in testLoadList2()
|
D | ListFileldBeanTest.java | 52 Yaml beanLoader = new Yaml(); in testLoadList() local 53 ListFieldBean parsed = beanLoader.loadAs(output, ListFieldBean.class); in testLoadList()
|
D | TypeSafeListTest.java | 51 Yaml beanLoader = new Yaml(); in testLoadList() local 52 ListBean1 parsed = beanLoader.loadAs(output, ListBean1.class); in testLoadList()
|
D | TypeSafeListNoGerericsTest.java | 53 Yaml beanLoader = new Yaml(); in testLoadList() local 54 ListBean parsed = beanLoader.loadAs(output, ListBean.class); in testLoadList()
|
D | TypeSafeMapImplementationsTest.java | 54 Yaml beanLoader = new Yaml(); in testLoadMap() local 55 MapBean parsed = beanLoader.loadAs(output, MapBean.class); in testLoadMap()
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/generics/ |
D | GenericArrayTypeTest.java | 82 Yaml beanLoader = new Yaml(); in testJavaBean() local 84 ArrayBean loaded = beanLoader.loadAs(doc, ArrayBean.class); in testJavaBean() 90 beanLoader.load(doc); in testJavaBean()
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue73/ |
D | SetAsSequenceTest.java | 68 Yaml beanLoader = new Yaml(); in testYaml() local 69 beanLoader.setBeanAccess(BeanAccess.FIELD); in testYaml() 70 Blog rehydrated = beanLoader.loadAs(serialized, Blog.class); in testYaml()
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue74/ |
D | ArrayBeanTest.java | 47 Yaml beanLoader = new Yaml(); in testArrayProperty() local 48 ArrayBean parsed = beanLoader.loadAs(output, ArrayBean.class); in testArrayProperty()
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue49/ |
D | CalendarTest.java | 100 Yaml beanLoader = new Yaml(); in testLoadBean() local 101 CalendarBean bean = beanLoader.loadAs( in testLoadBean()
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue10/ |
D | BasicDumpTest.java | 93 Yaml beanLoader = new Yaml(); in testTag3() local 94 DataSources bean = beanLoader.loadAs(output, DataSources.class); in testTag3()
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/immutable/ |
D | ShapeImmutableTest.java | 141 Yaml beanLoader = new Yaml(); in testShapeNoTags() local 142 Shape loaded = beanLoader.loadAs(source, Shape.class); in testShapeNoTags()
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/constructor/ |
D | TypeSafeCollectionsTest.java | 87 Yaml beanLoader = new Yaml(); in testWithGlobalTag() local 88 MyCar car = beanLoader.loadAs(output, MyCar.class); in testWithGlobalTag()
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/ruby/ |
D | RubyTest.java | 48 Yaml beanLoader = new Yaml(); in testEmitNoTags() local 49 TestObject result2 = beanLoader.loadAs(output, TestObject.class); in testEmitNoTags()
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/recursive/ |
D | HumanTest.java | 138 Yaml beanLoader = new Yaml(new Constructor(humanDescription)); in testChildren() local 140 Human son2 = beanLoader.loadAs(output, Human.class); in testChildren() 211 Yaml beanLoader = new Yaml(new Constructor(humanDescription)); in testChildrenPretty() local 213 Human son2 = beanLoader.loadAs(output, Human.class); in testChildrenPretty() 633 Yaml beanLoader = new Yaml(new Constructor(humanDescription)); in testChildrenWithoutRootTag() local 635 Human son2 = beanLoader.loadAs(output, Human.class); in testChildrenWithoutRootTag()
|