Move SchemaContextUtilTest 15/86615/3
authorRobert Varga <robert.varga@pantheon.tech>
Sun, 29 Dec 2019 12:45:46 +0000 (13:45 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Sun, 29 Dec 2019 13:39:02 +0000 (14:39 +0100)
commit0ba26f769c753bad2e9eabea5ae04a1ffc22305b
tree90cf11bef007c834ee38bbfad8d9da022270ccb4
parentc005231c76c371a4b144993aa90a63d90587925b
Move SchemaContextUtilTest

We now have the proper place to hold this unit test, move it to
yang-model-util. Also split out tests which rely on pure mocking
so that they run in yang-model-util instead.

JIRA: YANGTOOLS-1052
Change-Id: Ic736621c7ec2f55ee45d608866f7a581a6d60ef6
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
yang/yang-model-util-ut/src/test/java/org/opendaylight/yangtools/yang/model/util/ut/SchemaContextUtilTest.java [moved from yang/yang-parser-rfc7950/src/test/java/org/opendaylight/yangtools/yang/parser/rfc7950/repo/SchemaContextUtilTest.java with 81% similarity]
yang/yang-model-util-ut/src/test/resources/schema-context-util/imported-module.yang [moved from yang/yang-parser-rfc7950/src/test/resources/schema-context-util-test/imported-module.yang with 100% similarity]
yang/yang-model-util-ut/src/test/resources/schema-context-util/my-module.yang [moved from yang/yang-parser-rfc7950/src/test/resources/schema-context-util-test/my-module.yang with 100% similarity]
yang/yang-model-util/src/test/java/org/opendaylight/yangtools/yang/model/util/SchemaContextUtilTest.java