/external/snakeyaml/src/test/java/org/yaml/snakeyaml/ |
PropertyUtilsSharingTest.java | 23 import org.yaml.snakeyaml.representer.Representer; 29 assertSame(yaml1.constructor.getPropertyUtils(), yaml1.representer.getPropertyUtils()); 32 assertSame(yaml2.constructor.getPropertyUtils(), yaml2.representer.getPropertyUtils()); 34 Yaml yaml3 = new Yaml(new Representer()); 35 assertSame(yaml3.constructor.getPropertyUtils(), yaml3.representer.getPropertyUtils()); 44 assertSame(pu, yaml.representer.getPropertyUtils()); 48 Representer representer2 = new Representer(); 53 assertSame(pu, yaml.representer.getPropertyUtils()) 61 Representer representer = new Representer(); local [all...] |
/external/snakeyaml/src/patches/android/ |
Representer.patch | 3 diff --git a/src/main/java/org/yaml/snakeyaml/representer/Representer.java b/src/main/java/org/yaml/snakeyaml/representer/Representer.java 4 --- a/src/main/java/org/yaml/snakeyaml/representer/Representer.java 5 +++ b/src/main/java/org/yaml/snakeyaml/representer/Representer.java 8 package org.yaml.snakeyaml.representer;
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue154/ |
MissingPropertyTest.java | 23 import org.yaml.snakeyaml.representer.Representer; 61 Representer representer = new Representer(); local 62 representer.getPropertyUtils().setSkipMissingProperties(true); 63 yaml = new Yaml(new Constructor(), representer); 76 Representer representer = new Representer(); local [all...] |
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue176/ |
SingleQuoteTest.java | 27 import org.yaml.snakeyaml.representer.Representer; 45 Representer representer = new Representer(); local 47 Yaml yaml = new Yaml(new SafeConstructor(), representer, options);
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/immutable/primitives/ |
ImmutablePrimitivesRepresenter.java | 22 import org.yaml.snakeyaml.representer.Represent; 23 import org.yaml.snakeyaml.representer.Representer; 25 public class ImmutablePrimitivesRepresenter extends Representer {
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue171/ |
CustomRepresenter.java | 20 import org.yaml.snakeyaml.representer.Represent; 21 import org.yaml.snakeyaml.representer.Representer; 23 class CustomRepresenter extends Representer {
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue55/ |
YamlFieldAccessCollectionTest.java | 26 import org.yaml.snakeyaml.representer.Representer; 71 Representer representer = new Representer(); local 72 representer.getPropertyUtils().setBeanAccess(BeanAccess.FIELD); 73 Yaml yaml = new Yaml(representer);
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/representer/ |
RepresenterTest.java | 16 package org.yaml.snakeyaml.representer; 33 "!!org.yaml.snakeyaml.representer.RepresenterTest$MyBean {name: Gnome, primitive: true}\n", 72 assertEquals("!!org.yaml.snakeyaml.representer.RepresenterTest$MyBean2 {valid: true}\n", 121 "!!org.yaml.snakeyaml.representer.RepresenterTest$MyBean3 {boolProperty: true, name: Gnome}\n", 159 Representer representer = new Representer(); local 161 representer.addClassTag(EmptyBean.class, (Tag) null); 176 "No JavaBean properties found in org.yaml.snakeyaml.representer.RepresenterTest$EmptyBean",
|
DumpStackTraceTest.java | 16 package org.yaml.snakeyaml.representer; 28 String input = Util.getLocalResource("representer/stacktrace1.txt"); 38 String input = Util.getLocalResource("representer/stacktrace2.txt"); 48 String input = Util.getLocalResource("representer/stacktrace3.txt"); 58 String input = Util.getLocalResource("representer/stacktrace1.txt"); 61 String etalon = Util.getLocalResource("representer/stacktrace1.yaml");
|
RepresentFieldTest.java | 16 package org.yaml.snakeyaml.representer; 32 "!!org.yaml.snakeyaml.representer.WrongJavaBean {publicField: Michael Jackson}\n", 41 yaml.load("!!org.yaml.snakeyaml.representer.WrongJavaBean {packageField: Gnome}\n"); 49 "Unable to find property 'packageField' on class: org.yaml.snakeyaml.representer.WrongJavaBean", 58 yaml.load("!!org.yaml.snakeyaml.representer.WrongJavaBean {staticField: Gnome}\n"); 66 "Unable to find property 'staticField' on class: org.yaml.snakeyaml.representer.WrongJavaBean",
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue60/ |
CustomOrderTest.java | 32 import org.yaml.snakeyaml.representer.Representer; 38 Representer repr = new Representer(); 57 Representer repr = new Representer();
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/constructor/ |
ClassTagsTest.java | 28 import org.yaml.snakeyaml.representer.Representer; 55 Representer representer = new Representer(); local 56 representer.addClassTag(Car.class, new Tag("!car")); 57 representer.addClassTag(Wheel.class, Tag.MAP); 58 Yaml yaml = new Yaml(representer);
|
TypeSafeCollectionsTest.java | 29 import org.yaml.snakeyaml.representer.Representer; 81 Representer representer = new Representer(); local 82 representer.addClassTag(MyWheel.class, Tag.MAP); 83 Yaml yaml = new Yaml(representer);
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue127/ |
NullAliasTest.java | 26 import org.yaml.snakeyaml.representer.Represent; 27 import org.yaml.snakeyaml.representer.Representer; 41 class BeanRepresenter extends Representer {
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue173/ |
RecursiveAnchorTest.java | 25 import org.yaml.snakeyaml.representer.Representer; 48 Representer yamlRepresenter = new Representer();
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue193/ |
AbstractBeanTest.java | 26 import org.yaml.snakeyaml.representer.Representer; 37 Representer r = new Representer();
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue82/ |
PropOrderInfluenceWhenAliasedInGenericCollectionTest.java | 31 import org.yaml.snakeyaml.representer.Representer; 157 Representer representer = new Representer(); local 161 representer.addClassTag(GeneralAccount.class, generalAccountTag); 163 Yaml yaml = new Yaml(constructor, representer); 186 Representer representer = new Representer(); local 211 Representer representer = new Representer(); local [all...] |
/external/snakeyaml/src/test/java/examples/jodatime/ |
JodaTimeRepresenter.java | 22 import org.yaml.snakeyaml.representer.Representer; 24 class JodaTimeRepresenter extends Representer {
|
/external/snakeyaml/src/main/java/org/yaml/snakeyaml/ |
Yaml.java | 44 import org.yaml.snakeyaml.representer.Representer; 55 protected Representer representer; field in class:Yaml 63 this(new Constructor(), new Representer(), new DumperOptions(), new Resolver()); 73 this(new Constructor(), new Representer(), dumperOptions); 80 * @param representer 81 * Representer to emit outgoing objects 83 public Yaml(Representer representer) { [all...] |
/external/snakeyaml/src/main/java/org/yaml/snakeyaml/representer/ |
BaseRepresenter.java | 16 package org.yaml.snakeyaml.representer; 42 * in Java 'null' is not a type. So we have to keep the null representer 43 * separately otherwise it will coincide with the default representer which 87 Represent representer = representers.get(clazz); local 88 node = representer.representData(data); 93 Represent representer = multiRepresenters.get(repr); local 94 node = representer.representData(data); 101 Represent representer = multiRepresenters.get(null); local 102 node = representer.representData(data); 104 Represent representer = representers.get(null) local [all...] |
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue29/ |
FlexibleScalarStyleTest.java | 29 import org.yaml.snakeyaml.representer.Representer; 57 String etalon = Util.getLocalResource("representer/scalar-style1.yaml"); 67 String etalon = Util.getLocalResource("representer/scalar-style2.yaml"); 78 String etalon = Util.getLocalResource("representer/scalar-style3.yaml"); 91 private class MyRepresenter extends Representer {
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue67/ |
NonAsciiCharsInClassNameTest.java | 23 import org.yaml.snakeyaml.representer.Representer; 88 Representer repr = new Representer(); 99 Representer repr = new Representer();
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue48/ |
SkipJavaBeanPropertyTest.java | 24 import org.yaml.snakeyaml.representer.Representer; 45 private class MyRepresenter extends Representer {
|
/external/snakeyaml/src/test/java/examples/resolver/ |
CustomResolverTest.java | 26 import org.yaml.snakeyaml.representer.Representer; 33 Yaml yaml = new Yaml(new Constructor(), new Representer(), new DumperOptions(), 43 Yaml yaml = new Yaml(new Constructor(), new Representer(), new DumperOptions(),
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/immutable/ |
ImmutablesRepresenter.java | 26 import org.yaml.snakeyaml.representer.Represent; 27 import org.yaml.snakeyaml.representer.Representer; 29 public class ImmutablesRepresenter extends Representer {
|