Expand yang-parser-spi unit tests 60/66760/1
authorRobert Varga <robert.varga@pantheon.tech>
Mon, 25 Dec 2017 18:41:05 +0000 (19:41 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Mon, 25 Dec 2017 19:01:55 +0000 (20:01 +0100)
commit40c173a1f6c1472f611770ad8fe8cfe071c4b71f
tree6a55cb54ce061a52d819c2c2cf77d832556e1623
parent2ea7438f6d6ea7e37a3dadc1d647d398d027d9cb
Expand yang-parser-spi unit tests

This patch adds a very basic unit test suite to assert various
aspects of the SPI package.

Change-Id: Ifd68fad33bff3b74579202327b28822b8ce5626d
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
yang/yang-parser-spi/pom.xml
yang/yang-parser-spi/src/test/java/org/opendaylight/yangtools/yang/parser/spi/NamespaceTest.java [new file with mode: 0644]
yang/yang-parser-spi/src/test/java/org/opendaylight/yangtools/yang/parser/spi/meta/ModelProcessingPhaseTest.java [new file with mode: 0644]
yang/yang-parser-spi/src/test/java/org/opendaylight/yangtools/yang/parser/spi/meta/NamespaceTest.java [new file with mode: 0644]
yang/yang-parser-spi/src/test/java/org/opendaylight/yangtools/yang/parser/spi/meta/QNameCacheNamespaceTest.java [new file with mode: 0644]
yang/yang-parser-spi/src/test/java/org/opendaylight/yangtools/yang/parser/spi/source/DeclarationInTextSourceTest.java [new file with mode: 0644]
yang/yang-parser-spi/src/test/java/org/opendaylight/yangtools/yang/parser/spi/source/ImplicitStatementTest.java [new file with mode: 0644]
yang/yang-parser-spi/src/test/java/org/opendaylight/yangtools/yang/parser/spi/source/NamespaceTest.java [new file with mode: 0644]
yang/yang-parser-spi/src/test/java/org/opendaylight/yangtools/yang/parser/spi/source/QNameToStatementDefinitionMapTest.java [new file with mode: 0644]
yang/yang-parser-spi/src/test/java/org/opendaylight/yangtools/yang/parser/spi/source/SourceExceptionTest.java [new file with mode: 0644]
yang/yang-parser-spi/src/test/java/org/opendaylight/yangtools/yang/parser/spi/validation/ValidationBundlesNamespaceTest.java [new file with mode: 0644]