Increase unit test coverage for Yangtools 34/46334/2
authorIgor Foltin <ifoltin@cisco.com>
Sun, 2 Oct 2016 10:19:10 +0000 (12:19 +0200)
committerRobert Varga <nite@hq.sk>
Tue, 4 Oct 2016 11:42:50 +0000 (11:42 +0000)
commit8334a5740c7ca75c70d7fd0521a1dcd1bb6aecbc
treee9a7a49b6c0d84954600e4b3e266d600435959f2
parentbaa1b88aaf83bc2917a3b0859f950c1e8daf40ba
Increase unit test coverage for Yangtools

Added test for YangTextSchemaContextResolver.
Extended test for declared statements.

Change-Id: Ibdf7e416287240cae8f673c3ecf817faaf275d5f
Signed-off-by: Igor Foltin <ifoltin@cisco.com>
yang/yang-parser-impl/src/test/java/org/opendaylight/yangtools/yang/parser/repo/YangTextSchemaContextResolverTest.java [new file with mode: 0644]
yang/yang-parser-impl/src/test/java/org/opendaylight/yangtools/yang/stmt/DeclaredStatementsTest.java
yang/yang-parser-impl/src/test/resources/declared-statements-test/imported-module-declared-test.yang [new file with mode: 0644]
yang/yang-parser-impl/src/test/resources/declared-statements-test/root-module-declared-test.yang [new file with mode: 0644]
yang/yang-parser-impl/src/test/resources/yang-text-schema-context-resolver-test/bar.yang [new file with mode: 0644]
yang/yang-parser-impl/src/test/resources/yang-text-schema-context-resolver-test/baz.yang [new file with mode: 0644]
yang/yang-parser-impl/src/test/resources/yang-text-schema-context-resolver-test/foo.yang [new file with mode: 0644]