Move SchemaContextUtilTest 19/86619/1
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 15:29:08 +0000 (16:29 +0100)
commita4845f08c0dfc9b693db2fc3f467e715ce275cf9
tree327752d6fffef06d7b87ed0e2b30c417bf8b956a
parent1cf6ed2ad0e7d3d0dd4f836d05d9a4d515b000c0
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>
(cherry picked from commit 0ba26f769c753bad2e9eabea5ae04a1ffc22305b)
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