summaryrefslogtreecommitdiffstats
path: root/framework/src/test/java/org
diff options
context:
space:
mode:
authorKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>2017-10-07 23:23:05 +0530
committerKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>2017-11-20 13:51:04 +0530
commita96cd9cbb9b23f4b7ad4e051a5dad7602ac967f0 (patch)
treecd197c8412b9e31c6b8b85d0eab532e4ab101974 /framework/src/test/java/org
parent7259212791972fc10e41210487ff0f780ab024a6 (diff)
Ignore invalid schema while discovering schema
Issue-Id: CLI-66 Change-Id: I17a367c9277a264b2d3828007af9b42592484ff1 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
Diffstat (limited to 'framework/src/test/java/org')
-rw-r--r--framework/src/test/java/org/onap/cli/fw/utils/OnapCommandUtilsTest.java41
1 files changed, 0 insertions, 41 deletions
diff --git a/framework/src/test/java/org/onap/cli/fw/utils/OnapCommandUtilsTest.java b/framework/src/test/java/org/onap/cli/fw/utils/OnapCommandUtilsTest.java
index 43883ce6..e874dc96 100644
--- a/framework/src/test/java/org/onap/cli/fw/utils/OnapCommandUtilsTest.java
+++ b/framework/src/test/java/org/onap/cli/fw/utils/OnapCommandUtilsTest.java
@@ -380,47 +380,6 @@ public class OnapCommandUtilsTest {
input1 = OnapCommandUtils.populateOutputs(params, output);
}
- @Test(expected = OnapCommandException.class)
- public void zendExceptionTest1() throws OnapCommandException {
-
- mockExternalResources();
- OnapCommandUtils.loadSchema(new OnapSwaggerBasedCommandSample(), "schemaName");
- }
-
- @Test(expected = OnapCommandException.class)
- public void zendExceptionTest2() throws OnapCommandException {
-
- mockExternalResources();
- OnapCommandUtils.loadSchema(new OnapHttpCommandSample(), "schemaName", false, false);
- }
-
- @Test(expected = OnapCommandException.class)
- public void zendExceptionTest3() throws OnapCommandException {
-
- mockExternalResources();
- OnapCommandUtils.validateSchemaVersion("schemaName", "version");
- }
-
- @Test(expected = OnapCommandException.class)
- public void zendExceptionTest4() throws OnapCommandException {
-
- mockExternalResources();
- OnapCommandUtils.discoverOrLoadSchemas();
- }
-
- @Test(expected = OnapCommandException.class)
- public void zendExceptionTest5() throws OnapCommandException {
-
- mockExternalResources();
- OnapCommandUtils.discoverSchemas();
- }
-
- @Test(expected = OnapCommandException.class)
- public void zendExceptionTest6() throws OnapCommandException {
-
- mockExternalResources();
- OnapCommandUtils.persistSchemaInfo(new ArrayList<SchemaInfo>());
- }
@Test(expected = OnapCommandHelpFailed.class)
public void zendExceptionHelpTest1() throws OnapCommandException {