/external/snakeyaml/src/test/java/org/yaml/snakeyaml/ |
D | DumperOptionsTest.java | 33 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 …]
|
D | EnumTest.java | 40 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 …]
|
D | JavaBeanWithNullValuesTest.java | 75 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/ |
D | EmitterTest.java | 29 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 …]
|
D | EmitterMultiLineTest.java | 24 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/ |
D | SafeRepresenterTest.java | 29 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 …]
|
D | RepresenterTest.java | 20 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/ |
D | DumpExampleTest.java | 26 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()
|
D | CollectionStyleTest.java | 20 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/ |
D | FlexibleScalarStyleTest.java | 23 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/ |
D | LongTest.java | 20 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/ |
D | LineBreakDooubleQuotedTest.java | 20 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/ |
D | JodaTimeFlowStylesTest.java | 25 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/ |
D | DumpSetAsSequenceExampleTest.java | 23 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/ |
D | RubyTest.java | 20 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/ |
D | UnicodeStyleTest.java | 20 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/ |
D | TagsTest.java | 20 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/ |
D | StrTagTest.java | 28 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/ |
D | RecursiveAnchorTest.java | 23 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/ |
D | SingleQuoteTest.java | 23 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/ |
D | DumpTest.java | 20 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/ |
D | GenericMapTest.java | 20 import org.yaml.snakeyaml.DumperOptions; 29 DumperOptions options = new DumperOptions(); in testMap()
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/constructor/ |
D | ArrayTagsTest.java | 22 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/issue141/ |
D | ConfigurableTimezoneTest.java | 23 import org.yaml.snakeyaml.DumperOptions; 35 DumperOptions options = new DumperOptions(); in testTimezone()
|
/external/snakeyaml/src/main/java/org/yaml/snakeyaml/ |
D | Yaml.java | 29 import org.yaml.snakeyaml.DumperOptions.FlowStyle; 56 protected DumperOptions dumperOptions; 63 this(new Constructor(), new Representer(), new DumperOptions(), new Resolver()); in Yaml() 72 public Yaml(DumperOptions dumperOptions) { in Yaml() 108 this(constructor, representer, new DumperOptions()); in Yaml() 120 public Yaml(Representer representer, DumperOptions dumperOptions) { in Yaml() 135 public Yaml(BaseConstructor constructor, Representer representer, DumperOptions dumperOptions) { in Yaml() 152 public Yaml(BaseConstructor constructor, Representer representer, DumperOptions dumperOptions, in Yaml()
|