summaryrefslogtreecommitdiffstats
path: root/framework/src/test/java/org
diff options
context:
space:
mode:
authorKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>2017-12-25 15:28:52 +0530
committerKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>2017-12-26 10:21:55 +0530
commit8c79df8d4835e2cded87f60d78e5bf05e3cd6b16 (patch)
tree7bd5eb01731762f3717a03f280477f4268b5ee73 /framework/src/test/java/org
parent82b9e1fb1673b2ea2cf16c074ce0c76c200fff8a (diff)
Merge default params files
Issue-ID: CLI-66 Change-Id: I320e21ff3b25d0c38c196b49f2ed320174396e4a 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/schema/ValidateSchemaTest.java11
1 files changed, 11 insertions, 0 deletions
diff --git a/framework/src/test/java/org/onap/cli/fw/schema/ValidateSchemaTest.java b/framework/src/test/java/org/onap/cli/fw/schema/ValidateSchemaTest.java
index 8153b6db..a33b785c 100644
--- a/framework/src/test/java/org/onap/cli/fw/schema/ValidateSchemaTest.java
+++ b/framework/src/test/java/org/onap/cli/fw/schema/ValidateSchemaTest.java
@@ -37,6 +37,17 @@ public class ValidateSchemaTest {
OnapCommandSchemaLoader.loadSchema(cmd, "fdsfds.yaml", true, true);
}
+
+ @Test
+ public void validateTestMerge() throws OnapCommandException {
+
+ OnapCommand cmd = new OnapCommand() {
+ @Override
+ protected void run() throws OnapCommandException {}
+ };
+ cmd.initializeSchema("test-command-to-valdiate-merge.yaml", true);
+ }
+
@Test(expected = OnapCommandInvalidSchema.class)
public void invalidateTest2() throws OnapCommandException {
OnapCommand cmd = new OnapCommand() {