Home
last modified time | relevance | path

Searched refs:DumperOptions (Results 1 – 25 of 68) sorted by relevance

123

/external/snakeyaml/src/test/java/org/yaml/snakeyaml/
DDumperOptionsTest.java33 DumperOptions options = new DumperOptions(); in testDefaultStyle()
39 options.setDefaultScalarStyle(DumperOptions.ScalarStyle.DOUBLE_QUOTED); in testDefaultStyle()
43 options.setDefaultScalarStyle(DumperOptions.ScalarStyle.SINGLE_QUOTED); in testDefaultStyle()
47 options.setDefaultScalarStyle(DumperOptions.ScalarStyle.PLAIN); in testDefaultStyle()
68 DumperOptions options = new DumperOptions(); in testDefaultFlowStyle()
69 options = new DumperOptions(); in testDefaultFlowStyle()
70 options.setDefaultFlowStyle(DumperOptions.FlowStyle.FLOW); in testDefaultFlowStyle()
74 options = new DumperOptions(); in testDefaultFlowStyle()
75 options.setDefaultFlowStyle(DumperOptions.FlowStyle.FLOW); in testDefaultFlowStyle()
80 options = new DumperOptions(); in testDefaultFlowStyle()
[all …]
DEnumTest.java40 String output = yaml.dump(DumperOptions.FlowStyle.BLOCK); in testDumpOverriddenToString()
45 DumperOptions options = new DumperOptions(); in testDumpEnumArray()
46 options.setDefaultFlowStyle(DumperOptions.FlowStyle.BLOCK); in testDumpEnumArray()
55 DumperOptions options = new DumperOptions(); in testDumpEnumList()
56 options.setDefaultFlowStyle(DumperOptions.FlowStyle.BLOCK); in testDumpEnumList()
66 DumperOptions options = new DumperOptions(); in testDumpEnumListNoAnchor()
67 options.setDefaultFlowStyle(DumperOptions.FlowStyle.BLOCK); in testDumpEnumListNoAnchor()
80 DumperOptions options = new DumperOptions(); in testDumpEnumMap()
81 options.setDefaultFlowStyle(DumperOptions.FlowStyle.BLOCK); in testDumpEnumMap()
93 DumperOptions options = new DumperOptions(); in testDumpEnumMap2()
[all …]
DJavaBeanWithNullValuesTest.java75 DumperOptions options = new DumperOptions(); in testNullStringAndBoolean()
76 options.setDefaultScalarStyle(DumperOptions.ScalarStyle.DOUBLE_QUOTED); in testNullStringAndBoolean()
100 DumperOptions options = new DumperOptions(); in testNoRootTag()
101 options.setDefaultScalarStyle(DumperOptions.ScalarStyle.DOUBLE_QUOTED); in testNoRootTag()
131 DumperOptions options = new DumperOptions(); in dumpJavaBeanWithNullValues()
132 options.setDefaultScalarStyle(DumperOptions.ScalarStyle.DOUBLE_QUOTED); in dumpJavaBeanWithNullValues()
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/emitter/
DEmitterTest.java29 import org.yaml.snakeyaml.DumperOptions;
31 import org.yaml.snakeyaml.DumperOptions.FlowStyle;
32 import org.yaml.snakeyaml.DumperOptions.ScalarStyle;
41 DumperOptions options = new DumperOptions(); in testWriteFolded()
54 DumperOptions options = new DumperOptions(); in testWriteLiteral()
67 DumperOptions options = new DumperOptions(); in testWritePlain()
80 DumperOptions options = new DumperOptions(); in testWritePlainPretty()
96 DumperOptions options = new DumperOptions(); in testWriteSingleQuoted()
109 DumperOptions options = new DumperOptions(); in testWriteDoubleQuoted()
123 DumperOptions options = new DumperOptions(); in testWriteSupplementaryUnicode()
[all …]
DEmitterMultiLineTest.java24 import org.yaml.snakeyaml.DumperOptions;
25 import org.yaml.snakeyaml.DumperOptions.FlowStyle;
49 DumperOptions options = new DumperOptions(); in testWriteMultiLineList()
81 DumperOptions options = new DumperOptions(); in testWriteMultiLineQuotedInFlowContext()
97 DumperOptions options = new DumperOptions(); in testWriteMultiLineLiteralWithStripChomping()
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/representer/
DSafeRepresenterTest.java29 import org.yaml.snakeyaml.DumperOptions;
69 DumperOptions options = new DumperOptions(); in testDate()
70 options.setDefaultFlowStyle(DumperOptions.FlowStyle.BLOCK); in testDate()
92 DumperOptions options = new DumperOptions(); in testStyle()
93 options.setDefaultScalarStyle(DumperOptions.ScalarStyle.DOUBLE_QUOTED); in testStyle()
94 options.setDefaultFlowStyle(DumperOptions.FlowStyle.BLOCK); in testStyle()
110 DumperOptions options = new DumperOptions(); in testStyle2()
111 options.setDefaultScalarStyle(DumperOptions.ScalarStyle.SINGLE_QUOTED); in testStyle2()
112 options.setDefaultFlowStyle(DumperOptions.FlowStyle.FLOW); in testStyle2()
127 DumperOptions options = new DumperOptions(); in testStyle2Pretty()
[all …]
DRepresenterTest.java20 import org.yaml.snakeyaml.DumperOptions;
69 DumperOptions options = new DumperOptions(); in testRepresenterNoConstructorAvailable()
106 DumperOptions options = new DumperOptions(); in testRepresenterGetterWithException()
/external/snakeyaml/src/test/java/examples/
DDumpExampleTest.java26 import org.yaml.snakeyaml.DumperOptions;
60 DumperOptions options = new DumperOptions(); in testDumpMany()
70 DumperOptions options = new DumperOptions(); in testDumpCustomJavaClass()
86 DumperOptions options = new DumperOptions(); in testDumperOptions()
99 DumperOptions options = new DumperOptions(); in testDumperOptionsCanonical()
113 DumperOptions options = new DumperOptions(); in testDumperOptionsFlowStyle()
114 options.setDefaultFlowStyle(DumperOptions.FlowStyle.BLOCK); in testDumperOptionsFlowStyle()
127 DumperOptions options = new DumperOptions(); in testDumperOptionsStyle()
128 options.setDefaultScalarStyle(DumperOptions.ScalarStyle.DOUBLE_QUOTED); in testDumperOptionsStyle()
DCollectionStyleTest.java20 import org.yaml.snakeyaml.DumperOptions;
31 DumperOptions options = new DumperOptions(); in testNestedStyle2()
32 options.setDefaultFlowStyle(DumperOptions.FlowStyle.BLOCK); in testNestedStyle2()
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue29/
DFlexibleScalarStyleTest.java23 import org.yaml.snakeyaml.DumperOptions;
24 import org.yaml.snakeyaml.DumperOptions.ScalarStyle;
36 DumperOptions options = new DumperOptions(); in testLong()
52 DumperOptions options = new DumperOptions(); in testNoFoldedScalar()
62 DumperOptions options = new DumperOptions(); in testCustomScalarStyle()
72 DumperOptions options = new DumperOptions(); in testCustomScalarStyleNoSplitLines()
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/javabeans/
DLongTest.java20 import org.yaml.snakeyaml.DumperOptions;
27 DumperOptions options = new DumperOptions(); in testLongFail()
28 options.setDefaultScalarStyle(DumperOptions.ScalarStyle.DOUBLE_QUOTED); in testLongFail()
53 DumperOptions options = new DumperOptions(); in testLongRepresenter()
54 options.setDefaultScalarStyle(DumperOptions.ScalarStyle.DOUBLE_QUOTED); in testLongRepresenter()
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue52/
DLineBreakDooubleQuotedTest.java20 import org.yaml.snakeyaml.DumperOptions;
21 import org.yaml.snakeyaml.DumperOptions.ScalarStyle;
30 DumperOptions options = new DumperOptions(); in testDoubleQuotedStyle()
44 DumperOptions options = new DumperOptions(); in testDoubleQuotedStyleNoLineSplit()
/external/snakeyaml/src/test/java/examples/jodatime/
DJodaTimeFlowStylesTest.java25 import org.yaml.snakeyaml.DumperOptions;
26 import org.yaml.snakeyaml.DumperOptions.FlowStyle;
47 DumperOptions options = new DumperOptions(); in testLoadBeanWithBlockFlow()
52 DumperOptions options2 = new DumperOptions(); in testLoadBeanWithBlockFlow()
122 DumperOptions options = new DumperOptions(); in testLoadBeanWithAutoFlow()
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue73/
DDumpSetAsSequenceExampleTest.java23 import org.yaml.snakeyaml.DumperOptions;
24 import org.yaml.snakeyaml.DumperOptions.FlowStyle;
36 DumperOptions options = new DumperOptions(); in testDumpFlow()
47 DumperOptions options = new DumperOptions(); in testDumpBlock()
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/ruby/
DRubyTest.java20 import org.yaml.snakeyaml.DumperOptions;
41 DumperOptions options = new DumperOptions(); in testEmitNoTags()
58 DumperOptions options = new DumperOptions(); in testEmitWithTags()
82 DumperOptions options = new DumperOptions(); in testEmitWithTags2WithoutTagForParentJavabean()
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue51/
DUnicodeStyleTest.java20 import org.yaml.snakeyaml.DumperOptions;
21 import org.yaml.snakeyaml.DumperOptions.ScalarStyle;
37 DumperOptions options = new DumperOptions(); in testDoubleQuotedStyle()
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/nodes/
DTagsTest.java20 import org.yaml.snakeyaml.DumperOptions;
36 DumperOptions options = new DumperOptions(); in testLong()
37 options.setDefaultScalarStyle(DumperOptions.ScalarStyle.DOUBLE_QUOTED); in testLong()
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/types/
DStrTagTest.java28 import org.yaml.snakeyaml.DumperOptions;
29 import org.yaml.snakeyaml.DumperOptions.ScalarStyle;
139 DumperOptions options = new DumperOptions(); in testEmitQuoted()
146 DumperOptions options2 = new DumperOptions(); in testEmitQuoted()
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue173/
DRecursiveAnchorTest.java23 import org.yaml.snakeyaml.DumperOptions;
45 DumperOptions yamlOptions = new DumperOptions(); in testWithBlockStyle()
46 yamlOptions.setDefaultFlowStyle(DumperOptions.FlowStyle.BLOCK); in testWithBlockStyle()
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue176/
DSingleQuoteTest.java23 import org.yaml.snakeyaml.DumperOptions;
24 import org.yaml.snakeyaml.DumperOptions.FlowStyle;
40 DumperOptions options = new DumperOptions(); in checkQuotes()
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue124/
DDumpTest.java20 import org.yaml.snakeyaml.DumperOptions;
21 import org.yaml.snakeyaml.DumperOptions.FlowStyle;
71 DumperOptions options = new DumperOptions(); in testDumperNullStyle2()
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue143/
DGenericMapTest.java20 import org.yaml.snakeyaml.DumperOptions;
29 DumperOptions options = new DumperOptions(); in testMap()
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue141/
DConfigurableTimezoneTest.java23 import org.yaml.snakeyaml.DumperOptions;
35 DumperOptions options = new DumperOptions(); in testTimezone()
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/constructor/
DArrayTagsTest.java22 import org.yaml.snakeyaml.DumperOptions;
23 import org.yaml.snakeyaml.DumperOptions.FlowStyle;
54 DumperOptions options = new DumperOptions(); in testFlowBlock()
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue8/
DPrattleRepresenterTest.java20 import org.yaml.snakeyaml.DumperOptions;
36 DumperOptions options = new DumperOptions(); in test2beans()

123