Home
last modified time | relevance | path

Searched refs:FlowStyle (Results 1 – 25 of 28) sorted by relevance

12

/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue124/
DDumpTest.java21 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/
DEnumTest.java40 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()
DDumperOptionsTest.java70 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);
DJavaBeanTimeStampTest.java23 import org.yaml.snakeyaml.DumperOptions.FlowStyle;
33 options.setDefaultFlowStyle(FlowStyle.BLOCK); in testLoadDefaultJavaSqlTimestamp()
/external/snakeyaml/src/main/java/org/yaml/snakeyaml/representer/
DBaseRepresenter.java25 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()
DRepresenter.java27 import org.yaml.snakeyaml.DumperOptions.FlowStyle;
98 if (defaultFlowStyle != FlowStyle.AUTO) { in representJavaBean()
/external/snakeyaml/src/main/java/org/yaml/snakeyaml/
DDumperOptions.java84 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()
DYaml.java29 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/
DEmitterMultiLineTest.java25 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()
DEmitterTest.java31 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/
DJodaTimeFlowStylesTest.java26 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/
DSafeRepresenterTest.java70 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/
DSingleQuoteTest.java24 import org.yaml.snakeyaml.DumperOptions.FlowStyle;
43 options.setDefaultFlowStyle(FlowStyle.BLOCK); in checkQuotes()
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/constructor/
DImplicitTagsTest.java25 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()
DArrayTagsTest.java23 import org.yaml.snakeyaml.DumperOptions.FlowStyle;
55 options.setDefaultFlowStyle(FlowStyle.BLOCK); in testFlowBlock()
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue73/
DDumpSetAsSequenceExampleTest.java24 import org.yaml.snakeyaml.DumperOptions.FlowStyle;
49 options.setDefaultFlowStyle(FlowStyle.BLOCK); in testDumpBlock()
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/types/
DBoolTagTest.java22 import org.yaml.snakeyaml.DumperOptions.FlowStyle;
101 options.setDefaultFlowStyle(FlowStyle.BLOCK); in testBoolOutAsEmpty3()
DNullTagTest.java24 import org.yaml.snakeyaml.DumperOptions.FlowStyle;
117 options.setDefaultFlowStyle(FlowStyle.BLOCK); in testBoolOutAsEmpty3()
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/javabeans/
DHouseTest.java26 import org.yaml.snakeyaml.DumperOptions.FlowStyle;
130 options.setDefaultFlowStyle(FlowStyle.BLOCK); in testDump2()
/external/snakeyaml/src/test/java/examples/
DCollectionStyleTest.java32 options.setDefaultFlowStyle(DumperOptions.FlowStyle.BLOCK); in testNestedStyle2()
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue95/
DArrayInGenericCollectionTest.java28 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/
DRecursiveAnchorTest.java46 yamlOptions.setDefaultFlowStyle(DumperOptions.FlowStyle.BLOCK); in testWithBlockStyle()
/external/snakeyaml/src/patches/android/
DRepresenter.patch17 import org.yaml.snakeyaml.DumperOptions.FlowStyle;
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue306/
DUuidSupportTest.java84 String output = yaml.dumpAs(bean, Tag.MAP, DumperOptions.FlowStyle.BLOCK); in dumpBean()
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue311/
DBooleanEnumTest.java58 String output = yaml.dumpAs(bean, Tag.MAP, DumperOptions.FlowStyle.FLOW); in dumpEnum()

12