/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue124/ |
D | DumpTest.java | 21 import org.yaml.snakeyaml.DumperOptions.FlowStyle; 45 String output1 = yaml.dumpAs(bean, new Tag("!!foo.bar"), FlowStyle.BLOCK); in testDumperDifferentTag() 52 String output1 = yaml.dumpAs(bean, new Tag("!!foo.bar"), FlowStyle.FLOW); in testDumperFlowStyle() 59 String output1 = yaml.dumpAs(bean, new Tag("!!foo.bar"), FlowStyle.AUTO); in testDumperAutoStyle() 72 options.setDefaultFlowStyle(FlowStyle.BLOCK); in testDumperNullStyle2() 82 String output1 = yaml.dumpAs(bean, null, FlowStyle.BLOCK); in testDumperNullTag()
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/ |
D | EnumTest.java | 40 String output = yaml.dump(DumperOptions.FlowStyle.BLOCK); in testDumpOverriddenToString() 46 options.setDefaultFlowStyle(DumperOptions.FlowStyle.BLOCK); in testDumpEnumArray() 56 options.setDefaultFlowStyle(DumperOptions.FlowStyle.BLOCK); in testDumpEnumList() 67 options.setDefaultFlowStyle(DumperOptions.FlowStyle.BLOCK); in testDumpEnumListNoAnchor() 81 options.setDefaultFlowStyle(DumperOptions.FlowStyle.BLOCK); in testDumpEnumMap() 94 options.setDefaultFlowStyle(DumperOptions.FlowStyle.BLOCK); in testDumpEnumMap2() 107 options.setDefaultFlowStyle(DumperOptions.FlowStyle.BLOCK); in testDumpEnumBean() 131 assertEquals(DumperOptions.FlowStyle.BLOCK, in testLoadOverridenToString()
|
D | DumperOptionsTest.java | 70 options.setDefaultFlowStyle(DumperOptions.FlowStyle.FLOW); in testDefaultFlowStyle() 75 options.setDefaultFlowStyle(DumperOptions.FlowStyle.FLOW); in testDefaultFlowStyle() 81 options.setDefaultFlowStyle(DumperOptions.FlowStyle.BLOCK); in testDefaultFlowStyle() 107 options.setDefaultFlowStyle(DumperOptions.FlowStyle.FLOW); in testDefaultFlowStyleNested() 112 options.setDefaultFlowStyle(DumperOptions.FlowStyle.FLOW); in testDefaultFlowStyleNested() 119 options.setDefaultFlowStyle(DumperOptions.FlowStyle.BLOCK); in testDefaultFlowStyleNested() 328 DumperOptions.FlowStyle flowStyle = DumperOptions.FlowStyle.BLOCK; 339 options.setDefaultFlowStyle(DumperOptions.FlowStyle.BLOCK);
|
D | JavaBeanTimeStampTest.java | 23 import org.yaml.snakeyaml.DumperOptions.FlowStyle; 33 options.setDefaultFlowStyle(FlowStyle.BLOCK); in testLoadDefaultJavaSqlTimestamp()
|
/external/snakeyaml/src/main/java/org/yaml/snakeyaml/representer/ |
D | BaseRepresenter.java | 25 import org.yaml.snakeyaml.DumperOptions.FlowStyle; 50 protected FlowStyle defaultFlowStyle = FlowStyle.AUTO; 140 if (defaultFlowStyle != FlowStyle.AUTO) { in representSequence() 166 if (defaultFlowStyle != FlowStyle.AUTO) { in representMapping() 179 public void setDefaultFlowStyle(FlowStyle defaultFlowStyle) { in setDefaultFlowStyle() 183 public FlowStyle getDefaultFlowStyle() { in getDefaultFlowStyle()
|
D | Representer.java | 27 import org.yaml.snakeyaml.DumperOptions.FlowStyle; 98 if (defaultFlowStyle != FlowStyle.AUTO) { in representJavaBean()
|
/external/snakeyaml/src/main/java/org/yaml/snakeyaml/ |
D | DumperOptions.java | 84 public enum FlowStyle { enum in DumperOptions 89 private FlowStyle(Boolean flowStyle) { in FlowStyle() method in DumperOptions.FlowStyle 161 private FlowStyle defaultFlowStyle = FlowStyle.AUTO; 315 public void setDefaultFlowStyle(FlowStyle defaultFlowStyle) { in setDefaultFlowStyle() 322 public FlowStyle getDefaultFlowStyle() { in getDefaultFlowStyle()
|
D | Yaml.java | 29 import org.yaml.snakeyaml.DumperOptions.FlowStyle; 291 public String dumpAs(Object data, Tag rootTag, FlowStyle flowStyle) { in dumpAs() 292 FlowStyle oldStyle = representer.getDefaultFlowStyle(); in dumpAs() 324 return dumpAs(data, Tag.MAP, FlowStyle.BLOCK); in dumpAsMap()
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/emitter/ |
D | EmitterMultiLineTest.java | 25 import org.yaml.snakeyaml.DumperOptions.FlowStyle; 50 options.setDefaultFlowStyle(FlowStyle.BLOCK); in testWriteMultiLineList() 82 options.setDefaultFlowStyle(FlowStyle.FLOW); in testWriteMultiLineQuotedInFlowContext() 98 options.setDefaultFlowStyle(FlowStyle.BLOCK); in testWriteMultiLineLiteralWithStripChomping()
|
D | EmitterTest.java | 31 import org.yaml.snakeyaml.DumperOptions.FlowStyle; 141 options.setDefaultFlowStyle(DumperOptions.FlowStyle.FLOW); in testSplitLineExpectFirstFlowSequenceItem() 165 options.setDefaultFlowStyle(FlowStyle.BLOCK); in testWriteIndicatorIndent() 178 options.setDefaultFlowStyle(DumperOptions.FlowStyle.FLOW); in testSplitLineExpectFlowSequenceItem() 203 options.setDefaultFlowStyle(DumperOptions.FlowStyle.FLOW); in testSplitLineExpectFirstFlowMappingKey() 236 options.setDefaultFlowStyle(DumperOptions.FlowStyle.FLOW); in testSplitLineExpectFlowMappingKey()
|
/external/snakeyaml/src/test/java/examples/jodatime/ |
D | JodaTimeFlowStylesTest.java | 26 import org.yaml.snakeyaml.DumperOptions.FlowStyle; 48 options.setDefaultFlowStyle(FlowStyle.BLOCK); in testLoadBeanWithBlockFlow() 53 options2.setDefaultFlowStyle(FlowStyle.AUTO); in testLoadBeanWithBlockFlow() 123 options.setDefaultFlowStyle(FlowStyle.AUTO); in testLoadBeanWithAutoFlow()
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/representer/ |
D | SafeRepresenterTest.java | 70 options.setDefaultFlowStyle(DumperOptions.FlowStyle.BLOCK); in testDate() 94 options.setDefaultFlowStyle(DumperOptions.FlowStyle.BLOCK); in testStyle() 112 options.setDefaultFlowStyle(DumperOptions.FlowStyle.FLOW); in testStyle2() 129 options.setDefaultFlowStyle(DumperOptions.FlowStyle.FLOW); in testStyle2Pretty()
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue176/ |
D | SingleQuoteTest.java | 24 import org.yaml.snakeyaml.DumperOptions.FlowStyle; 43 options.setDefaultFlowStyle(FlowStyle.BLOCK); in checkQuotes()
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/constructor/ |
D | ImplicitTagsTest.java | 25 import org.yaml.snakeyaml.DumperOptions.FlowStyle; 62 String carYaml1 = new Yaml().dumpAs(car1, Tag.MAP, FlowStyle.AUTO); in testNoRootTag() 67 String carYaml2 = new Yaml().dumpAs(car2, Tag.MAP, FlowStyle.AUTO); in testNoRootTag()
|
D | ArrayTagsTest.java | 23 import org.yaml.snakeyaml.DumperOptions.FlowStyle; 55 options.setDefaultFlowStyle(FlowStyle.BLOCK); in testFlowBlock()
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue73/ |
D | DumpSetAsSequenceExampleTest.java | 24 import org.yaml.snakeyaml.DumperOptions.FlowStyle; 49 options.setDefaultFlowStyle(FlowStyle.BLOCK); in testDumpBlock()
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/types/ |
D | BoolTagTest.java | 22 import org.yaml.snakeyaml.DumperOptions.FlowStyle; 101 options.setDefaultFlowStyle(FlowStyle.BLOCK); in testBoolOutAsEmpty3()
|
D | NullTagTest.java | 24 import org.yaml.snakeyaml.DumperOptions.FlowStyle; 117 options.setDefaultFlowStyle(FlowStyle.BLOCK); in testBoolOutAsEmpty3()
|
/external/snakeyaml/src/test/java/examples/ |
D | CollectionStyleTest.java | 32 options.setDefaultFlowStyle(DumperOptions.FlowStyle.BLOCK); in testNestedStyle2()
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/javabeans/ |
D | HouseTest.java | 26 import org.yaml.snakeyaml.DumperOptions.FlowStyle; 130 options.setDefaultFlowStyle(FlowStyle.BLOCK); in testDump2()
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue95/ |
D | ArrayInGenericCollectionTest.java | 28 import org.yaml.snakeyaml.DumperOptions.FlowStyle; 141 String dump = yaml2dump.dumpAs(data, Tag.MAP, FlowStyle.AUTO); in testNoTags()
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue173/ |
D | RecursiveAnchorTest.java | 46 yamlOptions.setDefaultFlowStyle(DumperOptions.FlowStyle.BLOCK); in testWithBlockStyle()
|
/external/snakeyaml/src/patches/android/ |
D | Representer.patch | 17 import org.yaml.snakeyaml.DumperOptions.FlowStyle;
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue306/ |
D | UuidSupportTest.java | 84 String output = yaml.dumpAs(bean, Tag.MAP, DumperOptions.FlowStyle.BLOCK); in dumpBean()
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue311/ |
D | BooleanEnumTest.java | 58 String output = yaml.dumpAs(bean, Tag.MAP, DumperOptions.FlowStyle.FLOW); in dumpEnum()
|