Home
last modified time | relevance | path

Searched refs:ScalarStyle (Results 1 – 16 of 16) sorted by relevance

/external/snakeyaml/src/test/java/org/yaml/snakeyaml/
DDumperOptionsTest.java39 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()
325 DumperOptions.ScalarStyle scalarStyle = DumperOptions.ScalarStyle.LITERAL;
353 options.setDefaultScalarStyle(DumperOptions.ScalarStyle.DOUBLE_QUOTED);
373 options.setDefaultScalarStyle(DumperOptions.ScalarStyle.SINGLE_QUOTED);
393 options.setDefaultScalarStyle(DumperOptions.ScalarStyle.FOLDED);
413 options.setDefaultScalarStyle(DumperOptions.ScalarStyle.LITERAL);
426 options.setDefaultScalarStyle(DumperOptions.ScalarStyle.PLAIN);
459 DumperOptions.ScalarStyle.createStyle(' ');
[all …]
DJavaBeanWithNullValuesTest.java76 options.setDefaultScalarStyle(DumperOptions.ScalarStyle.DOUBLE_QUOTED); in testNullStringAndBoolean()
101 options.setDefaultScalarStyle(DumperOptions.ScalarStyle.DOUBLE_QUOTED); in testNoRootTag()
132 options.setDefaultScalarStyle(DumperOptions.ScalarStyle.DOUBLE_QUOTED); in dumpJavaBeanWithNullValues()
DChapter2_3Test.java23 import org.yaml.snakeyaml.DumperOptions.ScalarStyle;
49 options.setDefaultScalarStyle(ScalarStyle.FOLDED); in testExample_2_15()
/external/snakeyaml/src/main/java/org/yaml/snakeyaml/
DDumperOptions.java38 public enum ScalarStyle { enum in DumperOptions
43 private ScalarStyle(Character style) { in ScalarStyle() method in DumperOptions.ScalarStyle
56 public static ScalarStyle createStyle(Character style) { in createStyle()
160 private ScalarStyle defaultStyle = ScalarStyle.PLAIN;
197 public ScalarStyle getDefaultScalarStyle() { in getDefaultScalarStyle()
208 public void setDefaultScalarStyle(ScalarStyle defaultStyle) { in setDefaultScalarStyle()
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/emitter/
DEmitterTest.java32 import org.yaml.snakeyaml.DumperOptions.ScalarStyle;
42 options.setDefaultScalarStyle(ScalarStyle.FOLDED); in testWriteFolded()
55 options.setDefaultScalarStyle(ScalarStyle.LITERAL); in testWriteLiteral()
68 options.setDefaultScalarStyle(ScalarStyle.PLAIN); in testWritePlain()
81 options.setDefaultScalarStyle(ScalarStyle.PLAIN); in testWritePlainPretty()
97 options.setDefaultScalarStyle(ScalarStyle.SINGLE_QUOTED); in testWriteSingleQuoted()
110 options.setDefaultScalarStyle(ScalarStyle.DOUBLE_QUOTED); in testWriteDoubleQuoted()
140 options.setDefaultScalarStyle(DumperOptions.ScalarStyle.DOUBLE_QUOTED); in testSplitLineExpectFirstFlowSequenceItem()
177 options.setDefaultScalarStyle(DumperOptions.ScalarStyle.DOUBLE_QUOTED); in testSplitLineExpectFlowSequenceItem()
202 options.setDefaultScalarStyle(DumperOptions.ScalarStyle.DOUBLE_QUOTED); in testSplitLineExpectFirstFlowMappingKey()
[all …]
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue52/
DLineBreakDooubleQuotedTest.java21 import org.yaml.snakeyaml.DumperOptions.ScalarStyle;
31 options.setDefaultScalarStyle(ScalarStyle.DOUBLE_QUOTED); in testDoubleQuotedStyle()
45 options.setDefaultScalarStyle(ScalarStyle.DOUBLE_QUOTED); in testDoubleQuotedStyleNoLineSplit()
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue51/
DUnicodeStyleTest.java21 import org.yaml.snakeyaml.DumperOptions.ScalarStyle;
38 options.setDefaultScalarStyle(ScalarStyle.DOUBLE_QUOTED); in testDoubleQuotedStyle()
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/types/
DStrTagTest.java29 import org.yaml.snakeyaml.DumperOptions.ScalarStyle;
140 options.setDefaultScalarStyle(ScalarStyle.SINGLE_QUOTED); in testEmitQuoted()
147 options2.setDefaultScalarStyle(ScalarStyle.DOUBLE_QUOTED); in testEmitQuoted()
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/representer/
DSafeRepresenterTest.java93 options.setDefaultScalarStyle(DumperOptions.ScalarStyle.DOUBLE_QUOTED); in testStyle()
111 options.setDefaultScalarStyle(DumperOptions.ScalarStyle.SINGLE_QUOTED); in testStyle2()
128 options.setDefaultScalarStyle(DumperOptions.ScalarStyle.SINGLE_QUOTED); in testStyle2Pretty()
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/javabeans/
DLongTest.java28 options.setDefaultScalarStyle(DumperOptions.ScalarStyle.DOUBLE_QUOTED); in testLongFail()
54 options.setDefaultScalarStyle(DumperOptions.ScalarStyle.DOUBLE_QUOTED); in testLongRepresenter()
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue29/
DFlexibleScalarStyleTest.java24 import org.yaml.snakeyaml.DumperOptions.ScalarStyle;
37 options.setDefaultScalarStyle(ScalarStyle.FOLDED); in testLong()
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue148/
DPrintableUnicodeTest.java23 import org.yaml.snakeyaml.DumperOptions.ScalarStyle;
108 options.setDefaultScalarStyle(ScalarStyle.DOUBLE_QUOTED); in createYaml()
/external/snakeyaml/src/main/java/org/yaml/snakeyaml/representer/
DBaseRepresenter.java26 import org.yaml.snakeyaml.DumperOptions.ScalarStyle;
175 public void setDefaultScalarStyle(ScalarStyle defaultStyle) { in setDefaultScalarStyle()
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/nodes/
DTagsTest.java37 options.setDefaultScalarStyle(DumperOptions.ScalarStyle.DOUBLE_QUOTED); in testLong()
/external/snakeyaml/src/test/java/org/pyyaml/
DPyEmitterTest.java141 for (DumperOptions.ScalarStyle style : DumperOptions.ScalarStyle.values()) { in testEmitterStyles()
/external/snakeyaml/src/test/java/examples/
DDumpExampleTest.java128 options.setDefaultScalarStyle(DumperOptions.ScalarStyle.DOUBLE_QUOTED); in testDumperOptionsStyle()