From e9c94429a8ada3e55854515060df817945b73d87 Mon Sep 17 00:00:00 2001 From: Shwetank Dave Date: Wed, 2 Aug 2017 17:10:38 -0400 Subject: [AAI-26] Adding gizmo data to the repository. Change-Id: I183f837d45acbfe3c673fde1acf8768d5e3fd37b Signed-off-by: Shwetank Dave --- .../org/openecomp/schema/OxmModelLoaderTest.java | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 src/test/java/org/openecomp/schema/OxmModelLoaderTest.java (limited to 'src/test/java/org/openecomp/schema/OxmModelLoaderTest.java') diff --git a/src/test/java/org/openecomp/schema/OxmModelLoaderTest.java b/src/test/java/org/openecomp/schema/OxmModelLoaderTest.java new file mode 100644 index 0000000..bf4d871 --- /dev/null +++ b/src/test/java/org/openecomp/schema/OxmModelLoaderTest.java @@ -0,0 +1,22 @@ +package org.openecomp.schema; + +import org.junit.Test; +import org.openecomp.crud.exception.CrudException; + +import static org.junit.Assert.assertTrue; + + +public class OxmModelLoaderTest { + + @Test + public void loadModels() { + try { + OxmModelLoader.loadModels(); + } catch (CrudException e) { + e.printStackTrace(); + assertTrue(false); + } + + assertTrue(OxmModelLoader.getVersionContextMap().size() == 4); + } +} -- cgit 1.2.3-korg