/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue183/ |
D | NumberBeanTest.java | 31 NumberBean loaded = yaml.loadAs(dump, NumberBean.class); in testNumberBean() 41 NumberBean loaded = yaml.loadAs(dump, NumberBean.class); in testNumberAsFloatInfinity() 51 NumberBean loaded = yaml.loadAs(dump, NumberBean.class); in testNumberAsDoubleInfinity() 61 NumberBean loaded = yaml.loadAs(dump, NumberBean.class); in testNumberAsNegativeFloatInfinity() 71 NumberBean loaded = yaml.loadAs(dump, NumberBean.class); in testNumberAsNegativeDoubleInfinity() 81 NumberBean loaded = yaml.loadAs(dump, NumberBean.class); in testNumberAsFloatNaN() 91 NumberBean loaded = yaml.loadAs(dump, NumberBean.class); in testNumberAsDoubleNaN()
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/javabeans/ |
D | ConstructEmptyBeanTest.java | 42 EmptyBean bean = beanLoader.loadAs( in testEmptyBean1() 55 EmptyBean bean = beanLoader.loadAs("!!Bla-bla-bla {}", EmptyBean.class); in testEmptyBean2() 66 EmptyBean bean = beanLoader.loadAs("{ }", EmptyBean.class); in testEmptyBean3() 77 EmptyBean bean = beanLoader.loadAs("", EmptyBean.class); in testEmptyBean4() 86 EmptyBean bean = beanLoader.loadAs("!Bla-bla-bla {}", EmptyBean.class); in testEmptyBean5() 98 beanLoader.loadAs("{", EmptyBean.class); in testEmptyBean6()
|
D | TriangleBeanTest.java | 36 TriangleBean loadedBean = beanLoader.loadAs(output, TriangleBean.class); in testGetTriangle() 46 beanLoader.loadAs(output, TriangleBean.class); in testClassNotFound() 63 beanLoader.loadAs(output, TriangleBean.class); in testClassAndTag()
|
D | HouseTest.java | 57 House loadedHouse = beanLoader.loadAs(yaml, House.class); in testDump1() 92 House loadedHouse2 = (House) beanLoader.loadAs(yaml, House.class); in testDump3() 137 House loadedHouse = beanLoader.loadAs(yaml, House.class); in testDump2()
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue154/ |
D | MissingPropertyTest.java | 38 TestBean bean = yaml.loadAs(doc, TestBean.class); in testPublicField() 49 yaml.loadAs(doc, TestBean.class); in testUnknownField() 65 TestBean bean = yaml.loadAs(doc, TestBean.class); in testSkipMissingProperties() 80 yaml.loadAs(doc, TestBean.class); in testNoSkipMissingProperties()
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/stress/ |
D | StressTest.java | 51 loader.loadAs(doc, Invoice.class); in testPerformance() 62 loader.loadAs(doc, Invoice.class); in testPerformance() 79 loader.loadAs(doc, Invoice.class); in testPerformance()
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue49/ |
D | CalendarTest.java | 44 CalendarBean parsed = loader.loadAs(output, CalendarBean.class); in testDumpDstIgnored() 94 CalendarBean parsed = loader.loadAs(output, CalendarBean.class); in check() 101 CalendarBean bean = beanLoader.loadAs( in testLoadBean()
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue55/ |
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()
|
D | JavaBeanListTest.java | 32 BlogBean rehydrated = (BlogBean) beanLoader.loadAs( in testYaml() 40 beanLoader.loadAs(Util.getLocalResource("issues/issue55_2.txt"), BlogBean.class); in testFailureWithoutFieldAccess()
|
D | YamlFieldAccessCollectionTest.java | 38 Blog rehydrated = blogLoader.loadAs(serialized, Blog.class); in testYaml() 53 beanLoader.loadAs(Util.getLocalResource("issues/issue55_1.txt"), Blog.class); in testYamlFailure()
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/generics/ |
D | BirdTest.java | 43 parsed = loader.loadAs(output, Bird.class); in testHome() 52 parsed = loader.loadAs(output, Bird.class); in testHome()
|
D | ObjectValuesTest.java | 50 ObjectValues ov2 = loader.loadAs(dumpedStr, ObjectValues.class); in testObjectValues() 80 ObjectValuesWithParam<String, Integer> ov2 = loader.loadAs(dumpedStr, in testObjectValuesWithParam()
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue47/ |
D | ReadOnlyPropertiesTest.java | 34 IncompleteBean parsed = loader.loadAs(output, IncompleteBean.class); in testBean1() 50 loader.loadAs(output, IncompleteBean.class); in testBean2()
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/ |
D | JavaBeanTimeStampTest.java | 40 JavaBeanWithSqlTimestamp javaBeanToLoad = loader.loadAs(dumpStr, in testLoadDefaultJavaSqlTimestamp() 56 JavaBeanWithSqlTimestamp javaBeanToLoad = loader.loadAs(dumpStr, in testLoadDefaultJavaSqlTimestampNoGlobalTag()
|
D | JavaBeanWithNullValuesTest.java | 51 parsed = loader.loadAs(dumpStr, JavaBeanWithNullValues.class); in testNotNull() 69 parsed = loader.loadAs(dumpStr, JavaBeanWithNullValues.class); in testNull() 120 JavaBeanWithNullValues parsed = loader.loadAs(dumpStr, JavaBeanWithNullValues.class); in testNoRootTag()
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue310/ |
D | PropertyWithPrivateCostructorTest.java | 49 Person loadedPerson = yaml().loadAs(yamlStr, Person.class); in loadFromString() 63 Person loadedPerson = yaml().loadAs(dump, Person.class); in dumpNload()
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue72/ |
D | CollectionTest.java | 34 CollectionList parsed = beanLoader.loadAs(doc, CollectionList.class); in testCollectionList() 64 CollectionSet parsed = beanLoader.loadAs(doc, CollectionSet.class); in testCollectionSet()
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue311/ |
D | BooleanEnumTest.java | 37 …BeanWithEnum parsed = yaml.loadAs("{boolField: true, enumField: true, name: '10'}", BeanWithEnum.c… in loadEnum() 47 …BeanWithEnum parsed = yaml.loadAs("{boolField: true, enumField: nonsense, name: bar}", BeanWithEnu… in loadEnumUndefined()
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue61/ |
D | GenericListBeanTest.java | 38 ListProvider<String> listProvider2 = loader.loadAs(s, ListProvider.class); in testGenericList() 61 ListProvider listProvider2 = loader.loadAs(s, ListProvider.class); in testGenericBean()
|
D | GenericMapBeanTest.java | 39 MapProvider<String, Integer> listProvider2 = loader.loadAs(s, MapProvider.class); in testGenericMap() 62 MapProvider listProvider2 = loader.loadAs(s, MapProvider.class); in testGenericBean()
|
/external/snakeyaml/src/test/java/examples/collections/ |
D | TypeSafeListWithInterfaceTest.java | 53 beanLoader.loadAs(output, ListBean.class); in testLoadWrongList() 64 ListBean parsed = beanLoader.loadAs(output, ListBean.class); in testLoadList()
|
D | TypeSafeMapTest.java | 71 MapBean parsed = beanLoader.loadAs(output, MapBean.class); in testLoadMap() 168 MapBeanNoGenerics parsed = beanLoader.loadAs(output, MapBeanNoGenerics.class); in testLoadMapWithObject()
|
/external/snakeyaml/src/test/java8/org/yaml/snakeyaml/issues/issue310/ |
D | OptionalTest.java | 136 final Person pFromStr = yamlParser.loadAs(yamlStr, Person.class); in testOptionaStringLoad() 153 final Person pFromDump = yamlParser.loadAs(pDump, Person.class); in testOptionalDumpLoad()
|
/external/snakeyaml/src/main/java/org/yaml/snakeyaml/ |
D | Yaml.java | 409 public <T> T loadAs(Reader io, Class<T> type) { in loadAs() method in Yaml 426 public <T> T loadAs(String yaml, Class<T> type) { in loadAs() method in Yaml 443 public <T> T loadAs(InputStream input, Class<T> type) { in loadAs() method in Yaml
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue182/ |
D | InfinityFloatBeanTest.java | 32 InfinityFloatBean loadedBean = yaml.loadAs(yamled, InfinityFloatBean.class); in testInfinityFloatBean()
|