diff options
author | Michael Arrastia <MArrasti@amdocs.com> | 2018-11-28 17:27:31 +0000 |
---|---|---|
committer | Michael Arrastia <MArrasti@amdocs.com> | 2018-11-28 17:27:31 +0000 |
commit | d894ec51a86cfb4d711d3c053d8aa46759584456 (patch) | |
tree | c60a1680d735c5c76bc1e9ec625be6140d4b7667 /src/test/java/org/onap/aai/spike/schema/EdgeRulesLoaderTest.java | |
parent | 9eb82afe62f6891d1e140fd9003e1ceb7df119ee (diff) |
Upgrade version of aai-common
* Configure Spike with schema ingestion beans.
* Update OXMModelLoader and EdgeRulesLoader to make use of schema
ingestion beans. Here there is an acknowledged awkward marrying of
bean creation and static method use.
* Update tests to mock schema ingestion beans and organise test
resources.
Change-Id: I1f043aa5852dbd2737a804ebc282a12afb9fb39f
Issue-ID: AAI-1951
Signed-off-by: Michael Arrastia <MArrasti@amdocs.com>
Diffstat (limited to 'src/test/java/org/onap/aai/spike/schema/EdgeRulesLoaderTest.java')
-rw-r--r-- | src/test/java/org/onap/aai/spike/schema/EdgeRulesLoaderTest.java | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/test/java/org/onap/aai/spike/schema/EdgeRulesLoaderTest.java b/src/test/java/org/onap/aai/spike/schema/EdgeRulesLoaderTest.java index 987e8a3..31f5825 100644 --- a/src/test/java/org/onap/aai/spike/schema/EdgeRulesLoaderTest.java +++ b/src/test/java/org/onap/aai/spike/schema/EdgeRulesLoaderTest.java @@ -24,11 +24,14 @@ import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertNull; import static org.junit.Assert.assertTrue; - import org.junit.Test; +import org.junit.runner.RunWith; +import org.mockito.junit.MockitoJUnitRunner; +import org.onap.aai.spike.OXMModelLoaderSetup; import org.onap.aai.spike.exception.SpikeException; -public class EdgeRulesLoaderTest { +@RunWith(MockitoJUnitRunner.Silent.class) +public class EdgeRulesLoaderTest extends OXMModelLoaderSetup { @Test public void loadModels() throws Exception { |