Home
last modified time | relevance | path

Searched full:snakeyaml (Results 1 – 25 of 609) sorted by relevance

12345678910>>...25

/external/snakeyaml/src/test/java/org/yaml/snakeyaml/
DEnumTest.java2 * Copyright (c) 2008, http://www.snakeyaml.org
16 package org.yaml.snakeyaml;
27 import org.yaml.snakeyaml.constructor.Constructor;
35 assertEquals("!!org.yaml.snakeyaml.Suit 'CLUBS'\n", output); in testDumpEnum()
41 assertEquals("!!org.yaml.snakeyaml.DumperOptions$FlowStyle 'BLOCK'\n", output); in testDumpOverriddenToString()
50 …"- !!org.yaml.snakeyaml.Suit 'CLUBS'\n- !!org.yaml.snakeyaml.Suit 'DIAMONDS'\n- !!org.yaml.snakeya… in testDumpEnumArray()
61 …"- !!org.yaml.snakeyaml.Suit 'CLUBS'\n- !!org.yaml.snakeyaml.Suit 'DIAMONDS'\n- !!org.yaml.snakeya… in testDumpEnumList()
75 …"- !!org.yaml.snakeyaml.Suit 'CLUBS'\n- !!org.yaml.snakeyaml.Suit 'DIAMONDS'\n- !!org.yaml.snakeya… in testDumpEnumListNoAnchor()
88 "c: !!org.yaml.snakeyaml.Suit 'CLUBS'\nd: !!org.yaml.snakeyaml.Suit 'DIAMONDS'\n", in testDumpEnumMap()
101 "!!org.yaml.snakeyaml.Suit 'CLUBS': 0\n!!org.yaml.snakeyaml.Suit 'DIAMONDS': 123\n", in testDumpEnumMap2()
[all …]
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/immutable/
DShapeImmutableTest.java2 * Copyright (c) 2008, http://www.snakeyaml.org
16 package org.yaml.snakeyaml.immutable;
20 import org.yaml.snakeyaml.Util;
21 import org.yaml.snakeyaml.Yaml;
27 Color loaded = (Color) yaml.load("!!org.yaml.snakeyaml.immutable.Color BLACK"); in testColor()
33 Code loaded = (Code) yaml.load("!!org.yaml.snakeyaml.immutable.Code 123"); in testCode()
40 … .load("!!org.yaml.snakeyaml.immutable.SuperColor [!!org.yaml.snakeyaml.immutable.Color BLACK]"); in testSuperColor()
47 yaml.load("!!org.yaml.snakeyaml.immutable.SuperColor BLACK"); in testSuperColorFail()
53 …ct for tag:yaml.org,2002:org.yaml.snakeyaml.immutable.SuperColor; exception=Unsupported class: cla… in testSuperColorFail()
59 Code2 code2 = (Code2) yaml.load("!!org.yaml.snakeyaml.immutable.Code2 555"); in testCode2()
[all …]
/external/snakeyaml/src/etc/
Dannouncement.msg3 Subject: [ANN] SnakeYAML-1.17 final is available
6 Announcing SnakeYAML-1.17
9 A new release of SnakeYAML is now available:
11 http://www.snakeyaml.org
15 The complete list of changes is here: https://bitbucket.org/asomov/snakeyaml/wiki/Changes
20 SnakeYAML homepage: http://www.snakeyaml.org
21 SnakeYAML documentation: https://bitbucket.org/asomov/snakeyaml/wiki/Home
23 JAR package: http://repo2.maven.org/maven2/org/yaml/snakeyaml/1.17/snakeyaml-1.17.jar
28 About SnakeYAML
31 SnakeYAML is a YAML parser and emitter for Java 6.
[all …]
/external/snakeyaml/src/test/java/org/pyyaml/
DPyTokensTest.java2 * Copyright (c) 2008, http://www.snakeyaml.org
28 import org.yaml.snakeyaml.reader.StreamReader;
29 import org.yaml.snakeyaml.reader.UnicodeReader;
30 import org.yaml.snakeyaml.scanner.Scanner;
31 import org.yaml.snakeyaml.scanner.ScannerImpl;
32 import org.yaml.snakeyaml.tokens.AliasToken;
33 import org.yaml.snakeyaml.tokens.AnchorToken;
34 import org.yaml.snakeyaml.tokens.BlockEndToken;
35 import org.yaml.snakeyaml.tokens.BlockEntryToken;
36 import org.yaml.snakeyaml.tokens.BlockMappingStartToken;
[all …]
DCanonicalParser.java2 * Copyright (c) 2008, http://www.snakeyaml.org
20 import org.yaml.snakeyaml.DumperOptions.Version;
21 import org.yaml.snakeyaml.events.AliasEvent;
22 import org.yaml.snakeyaml.events.DocumentEndEvent;
23 import org.yaml.snakeyaml.events.DocumentStartEvent;
24 import org.yaml.snakeyaml.events.Event;
25 import org.yaml.snakeyaml.events.ImplicitTuple;
26 import org.yaml.snakeyaml.events.MappingEndEvent;
27 import org.yaml.snakeyaml.events.MappingStartEvent;
28 import org.yaml.snakeyaml.events.ScalarEvent;
[all …]
DCanonicalScanner.java2 * Copyright (c) 2008, http://www.snakeyaml.org
22 import org.yaml.snakeyaml.error.Mark;
23 import org.yaml.snakeyaml.nodes.Tag;
24 import org.yaml.snakeyaml.scanner.Scanner;
25 import org.yaml.snakeyaml.scanner.ScannerImpl;
26 import org.yaml.snakeyaml.tokens.AliasToken;
27 import org.yaml.snakeyaml.tokens.AnchorToken;
28 import org.yaml.snakeyaml.tokens.DirectiveToken;
29 import org.yaml.snakeyaml.tokens.DocumentStartToken;
30 import org.yaml.snakeyaml.tokens.FlowEntryToken;
[all …]
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/emitter/
DEventConstructor.java2 * Copyright (c) 2008, http://www.snakeyaml.org
16 package org.yaml.snakeyaml.emitter;
22 import org.yaml.snakeyaml.DumperOptions.Version;
23 import org.yaml.snakeyaml.constructor.AbstractConstruct;
24 import org.yaml.snakeyaml.constructor.Constructor;
25 import org.yaml.snakeyaml.error.YAMLException;
26 import org.yaml.snakeyaml.events.AliasEvent;
27 import org.yaml.snakeyaml.events.DocumentEndEvent;
28 import org.yaml.snakeyaml.events.DocumentStartEvent;
29 import org.yaml.snakeyaml.events.Event;
[all …]
/external/snakeyaml/src/main/java/org/yaml/snakeyaml/serializer/
DSerializer.java2 * Copyright (c) 2008, http://www.snakeyaml.org
16 package org.yaml.snakeyaml.serializer;
26 import org.yaml.snakeyaml.DumperOptions;
27 import org.yaml.snakeyaml.DumperOptions.Version;
28 import org.yaml.snakeyaml.emitter.Emitable;
29 import org.yaml.snakeyaml.events.AliasEvent;
30 import org.yaml.snakeyaml.events.DocumentEndEvent;
31 import org.yaml.snakeyaml.events.DocumentStartEvent;
32 import org.yaml.snakeyaml.events.ImplicitTuple;
33 import org.yaml.snakeyaml.events.MappingEndEvent;
[all …]
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue9/
DNopropTest.java2 * Copyright (c) 2008, http://www.snakeyaml.org
16 package org.yaml.snakeyaml.issues.issue9;
22 import org.yaml.snakeyaml.Yaml;
27 …String yaml = "--- !!org.yaml.snakeyaml.issues.issue9.BeanHolder\nbean : !!org.yaml.snakeyaml.issu… in testOK01()
36 …String yaml = "--- !!org.yaml.snakeyaml.issues.issue9.BeanHolder\nbean : !!org.yaml.snakeyaml.issu… in testOK02()
45 …String yaml = "--- !!org.yaml.snakeyaml.issues.issue9.BeanHolder\nbean : !!org.yaml.snakeyaml.issu… in testOK03()
54 …String yaml = "--- !!org.yaml.snakeyaml.issues.issue9.BeanHolder\nbean : !!org.yaml.snakeyaml.issu… in testOK04()
63 …String yaml = "--- !!org.yaml.snakeyaml.issues.issue9.BeanHolder\nbean : !!org.yaml.snakeyaml.issu… in testOK05()
72 …String yaml = "--- !!org.yaml.snakeyaml.issues.issue9.BeanHolder\nbean : !!org.yaml.snakeyaml.issu… in testOK06()
81 …String yaml = "--- !!org.yaml.snakeyaml.issues.issue9.BeanHolder\nbean : !!org.yaml.snakeyaml.issu… in testEmptyBean()
[all …]
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/parser/
DParserImplTest.java2 * Copyright (c) 2008, http://www.snakeyaml.org
16 package org.yaml.snakeyaml.parser;
22 import org.yaml.snakeyaml.error.Mark;
23 import org.yaml.snakeyaml.events.DocumentEndEvent;
24 import org.yaml.snakeyaml.events.DocumentStartEvent;
25 import org.yaml.snakeyaml.events.Event;
26 import org.yaml.snakeyaml.events.ImplicitTuple;
27 import org.yaml.snakeyaml.events.MappingEndEvent;
28 import org.yaml.snakeyaml.events.MappingStartEvent;
29 import org.yaml.snakeyaml.events.ScalarEvent;
[all …]
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/scanner/
DScannerImplTest.java2 * Copyright (c) 2008, http://www.snakeyaml.org
16 package org.yaml.snakeyaml.scanner;
22 import org.yaml.snakeyaml.Yaml;
23 import org.yaml.snakeyaml.error.Mark;
24 import org.yaml.snakeyaml.reader.StreamReader;
25 import org.yaml.snakeyaml.tokens.BlockEndToken;
26 import org.yaml.snakeyaml.tokens.BlockMappingStartToken;
27 import org.yaml.snakeyaml.tokens.KeyToken;
28 import org.yaml.snakeyaml.tokens.ScalarToken;
29 import org.yaml.snakeyaml.tokens.StreamEndToken;
[all …]
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/extensions/compactnotation/
DCompactConstructorErrorsTest.java2 * Copyright (c) 2008, http://www.snakeyaml.org
16 package org.yaml.snakeyaml.extensions.compactnotation;
23 import org.yaml.snakeyaml.Util;
24 import org.yaml.snakeyaml.Yaml;
25 import org.yaml.snakeyaml.constructor.BaseConstructor;
26 import org.yaml.snakeyaml.error.YAMLException;
44 "org.yaml.snakeyaml.extensions.compactnotation"); in load()
82 …"java.lang.NoSuchMethodException: org.yaml.snakeyaml.extensions.compactnotation.Table.<init>(java.… in test2()
88 …"org.yaml.snakeyaml.error.YAMLException: Cannot set property='size' with value='17' (class java.la… in test3()
125 …"org.yaml.snakeyaml.error.YAMLException: Unable to find property 'foo' on class: org.yaml.snakeyam… in test6()
[all …]
/external/snakeyaml/
DREADME.md6 SnakeYAML is a YAML processor for the Java Virtual Machine.
8 ## SnakeYAML features ##
10 …L 1.1 processor](http://yaml.org/spec/1.1/current.html). In particular, SnakeYAML can parse all ex…
17 * [Changes](https://bitbucket.org/asomov/snakeyaml/wiki/Changes)
18 * [Documentation](https://bitbucket.org/asomov/snakeyaml/wiki/Documentation)
21 * Mercurial DVCS is used to dance with the [source code](https://bitbucket.org/asomov/snakeyaml/src…
22 * If you find a bug in SnakeYAML, please [file a bug report](https://bitbucket.org/asomov/snakeyaml
23 * You may discuss SnakeYAML at
24 [the mailing list](http://groups.google.com/group/snakeyaml-core).
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue60/
DSkipBeanTest.java2 * Copyright (c) 2008, http://www.snakeyaml.org
16 package org.yaml.snakeyaml.issues.issue60;
22 import org.yaml.snakeyaml.Util;
23 import org.yaml.snakeyaml.Yaml;
24 import org.yaml.snakeyaml.introspector.Property;
25 import org.yaml.snakeyaml.nodes.CollectionNode;
26 import org.yaml.snakeyaml.nodes.MappingNode;
27 import org.yaml.snakeyaml.nodes.Node;
28 import org.yaml.snakeyaml.nodes.NodeTuple;
29 import org.yaml.snakeyaml.nodes.SequenceNode;
[all …]
/external/snakeyaml/src/patches/android/
DRepresenter.patch3 diff --git a/src/main/java/org/yaml/snakeyaml/representer/Representer.java b/src/main/java/org/yaml…
4 --- a/src/main/java/org/yaml/snakeyaml/representer/Representer.java
5 +++ b/src/main/java/org/yaml/snakeyaml/representer/Representer.java
8 package org.yaml.snakeyaml.representer;
17 import org.yaml.snakeyaml.DumperOptions.FlowStyle;
18 -import org.yaml.snakeyaml.error.YAMLException;
19 import org.yaml.snakeyaml.introspector.Property;
20 import org.yaml.snakeyaml.nodes.MappingNode;
21 import org.yaml.snakeyaml.nodes.Node;
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue73/
DDumpSetAsSequenceExampleTest.java2 * Copyright (c) 2008, http://www.snakeyaml.org
16 package org.yaml.snakeyaml.issues.issue73;
23 import org.yaml.snakeyaml.DumperOptions;
24 import org.yaml.snakeyaml.DumperOptions.FlowStyle;
25 import org.yaml.snakeyaml.Util;
26 import org.yaml.snakeyaml.Yaml;
27 import org.yaml.snakeyaml.introspector.BeanAccess;
28 import org.yaml.snakeyaml.nodes.Node;
29 import org.yaml.snakeyaml.nodes.Tag;
30 import org.yaml.snakeyaml.representer.Represent;
[all …]
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue64/
DParameterizedTypeTest.java2 * Copyright (c) 2008, http://www.snakeyaml.org
16 package org.yaml.snakeyaml.issues.issue64;
23 import org.yaml.snakeyaml.Yaml;
24 import org.yaml.snakeyaml.constructor.AbstractConstruct;
25 import org.yaml.snakeyaml.constructor.Constructor;
26 import org.yaml.snakeyaml.nodes.Node;
27 import org.yaml.snakeyaml.nodes.ScalarNode;
28 import org.yaml.snakeyaml.nodes.Tag;
29 import org.yaml.snakeyaml.representer.Represent;
30 import org.yaml.snakeyaml.representer.Representer;
[all …]
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue97/
DYamlSortedSetTest.java2 * Copyright (c) 2008, http://www.snakeyaml.org
16 package org.yaml.snakeyaml.issues.issue97;
25 import org.yaml.snakeyaml.Yaml;
26 import org.yaml.snakeyaml.constructor.Constructor;
27 import org.yaml.snakeyaml.error.YAMLException;
28 import org.yaml.snakeyaml.introspector.BeanAccess;
29 import org.yaml.snakeyaml.nodes.Node;
30 import org.yaml.snakeyaml.nodes.NodeId;
31 import org.yaml.snakeyaml.nodes.SequenceNode;
37 String serialized = "!!org.yaml.snakeyaml.issues.issue97.Blog\n" + "posts:\n" in testYaml()
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue193/
DAbstractBeanTest.java2 * Copyright (c) 2008, http://www.snakeyaml.org
16 package org.yaml.snakeyaml.issues.issue193;
20 import org.yaml.snakeyaml.DumperOptions;
21 import org.yaml.snakeyaml.Yaml;
22 import org.yaml.snakeyaml.constructor.BaseConstructor;
23 import org.yaml.snakeyaml.constructor.Constructor;
24 import org.yaml.snakeyaml.introspector.BeanAccess;
25 import org.yaml.snakeyaml.introspector.PropertyUtils;
26 import org.yaml.snakeyaml.representer.Representer;
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/partialconstruct/
DFragmentComposer.java2 * Copyright (c) 2008, http://www.snakeyaml.org
16 package org.yaml.snakeyaml.partialconstruct;
18 import org.yaml.snakeyaml.composer.Composer;
19 import org.yaml.snakeyaml.nodes.MappingNode;
20 import org.yaml.snakeyaml.nodes.Node;
21 import org.yaml.snakeyaml.nodes.NodeTuple;
22 import org.yaml.snakeyaml.nodes.ScalarNode;
23 import org.yaml.snakeyaml.parser.Parser;
24 import org.yaml.snakeyaml.resolver.Resolver;
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue311/
DBooleanEnumTest.java2 * Copyright (c) 2008, http://www.snakeyaml.org
16 package org.yaml.snakeyaml.issues.issue311;
19 import org.yaml.snakeyaml.DumperOptions;
20 import org.yaml.snakeyaml.Yaml;
21 import org.yaml.snakeyaml.constructor.Constructor;
22 import org.yaml.snakeyaml.nodes.Node;
23 import org.yaml.snakeyaml.nodes.NodeId;
24 import org.yaml.snakeyaml.nodes.ScalarNode;
25 import org.yaml.snakeyaml.nodes.Tag;
26 import org.yaml.snakeyaml.representer.Represent;
[all …]
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/resolver/
DImplicitResolverTest.java2 * Copyright (c) 2008, http://www.snakeyaml.org
16 package org.yaml.snakeyaml.resolver;
24 import org.yaml.snakeyaml.TypeDescription;
25 import org.yaml.snakeyaml.Yaml;
26 import org.yaml.snakeyaml.constructor.AbstractConstruct;
27 import org.yaml.snakeyaml.constructor.Construct;
28 import org.yaml.snakeyaml.constructor.Constructor;
29 import org.yaml.snakeyaml.nodes.Node;
30 import org.yaml.snakeyaml.nodes.ScalarNode;
31 import org.yaml.snakeyaml.nodes.Tag;
[all …]
/external/snakeyaml/src/main/java/org/yaml/snakeyaml/composer/
DComposer.java2 * Copyright (c) 2008, http://www.snakeyaml.org
16 package org.yaml.snakeyaml.composer;
25 import org.yaml.snakeyaml.events.AliasEvent;
26 import org.yaml.snakeyaml.events.Event;
27 import org.yaml.snakeyaml.events.MappingStartEvent;
28 import org.yaml.snakeyaml.events.NodeEvent;
29 import org.yaml.snakeyaml.events.ScalarEvent;
30 import org.yaml.snakeyaml.events.SequenceStartEvent;
31 import org.yaml.snakeyaml.nodes.MappingNode;
32 import org.yaml.snakeyaml.nodes.Node;
[all …]
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue116/
DNoFieldsTest.java2 * Copyright (c) 2008, http://www.snakeyaml.org
16 package org.yaml.snakeyaml.issues.issue116;
20 import org.yaml.snakeyaml.Yaml;
21 import org.yaml.snakeyaml.error.YAMLException;
29 assertEquals("!!org.yaml.snakeyaml.issues.issue116.Empty {}\n", result); in testEmptyClass()
42 "No JavaBean properties found in org.yaml.snakeyaml.issues.issue116.Hidden"); in testHiddenParameter()
44 Object hiddenParsed = yaml.load("!!org.yaml.snakeyaml.issues.issue116.Hidden {}\n"); in testHiddenParameter()
56 … "No JavaBean properties found in org.yaml.snakeyaml.issues.issue116.HiddenSpecial"); in testSpecialHiddenParameter()
59 .load("!!org.yaml.snakeyaml.issues.issue116.HiddenSpecial foo\n"); in testSpecialHiddenParameter()
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue133/
DStackOverflowTest.java2 * Copyright (c) 2008, http://www.snakeyaml.org
16 package org.yaml.snakeyaml.issues.issue133;
22 import org.yaml.snakeyaml.Yaml;
23 import org.yaml.snakeyaml.introspector.Property;
24 import org.yaml.snakeyaml.nodes.NodeTuple;
25 import org.yaml.snakeyaml.nodes.Tag;
26 import org.yaml.snakeyaml.representer.Representer;
29 * to test http://code.google.com/p/snakeyaml/issues/detail?id=133
47 * SnakeYAML will fail to dump an instance of Point if 'getLocation()' is

12345678910>>...25