Clean up SchemaContextUtilTest 20/86620/1
authorRobert Varga <robert.varga@pantheon.tech>
Sun, 29 Dec 2019 13:09:03 +0000 (14:09 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Sun, 29 Dec 2019 15:29:08 +0000 (16:29 +0100)
commit47709469cc6bb2bceaffac216c3e271160da365d
tree7f352042d49995c799367734641a6f071aaf4100
parenta4845f08c0dfc9b693db2fc3f467e715ce275cf9
Clean up SchemaContextUtilTest

There is no need to parse YANG files multiple times, just use
@BeforeClass to resolve invariants.

JIRA: YANGTOOLS-1052
Change-Id: Id290aec957b5f70bcdaa7e020799783b02b23c28
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
(cherry picked from commit 536a5d80bf67f2630adf7765a2ab83644efff3d4)
yang/yang-model-util-ut/src/test/java/org/opendaylight/yangtools/yang/model/util/ut/SchemaContextUtilTest.java