diff options
Diffstat (limited to 'framework/src')
-rw-r--r-- | framework/src/test/java/org/onap/cli/fw/error/OnapCommandErrorTest.java | 5 | ||||
-rw-r--r-- | framework/src/test/java/org/onap/cli/fw/input/OnapCommandParameterTest.java | 3 |
2 files changed, 5 insertions, 3 deletions
diff --git a/framework/src/test/java/org/onap/cli/fw/error/OnapCommandErrorTest.java b/framework/src/test/java/org/onap/cli/fw/error/OnapCommandErrorTest.java index 58c0f432..2dcb9ce4 100644 --- a/framework/src/test/java/org/onap/cli/fw/error/OnapCommandErrorTest.java +++ b/framework/src/test/java/org/onap/cli/fw/error/OnapCommandErrorTest.java @@ -182,8 +182,9 @@ public class OnapCommandErrorTest { public void oclipCommandParameterOptionConflictTest() { OnapCommandParameterOptionConflict failed = new OnapCommandParameterOptionConflict("test", "option"); - assertEquals("0x7006::In test, Parameter option option is in conflict, only one option is allowed with given name", - failed.getMessage()); + assertEquals("0x7006::In test, Parameter option option is in conflict, " + + "only one option is allowed with given name", + failed.getMessage()); } @Test diff --git a/framework/src/test/java/org/onap/cli/fw/input/OnapCommandParameterTest.java b/framework/src/test/java/org/onap/cli/fw/input/OnapCommandParameterTest.java index 5a6e6458..18959e8e 100644 --- a/framework/src/test/java/org/onap/cli/fw/input/OnapCommandParameterTest.java +++ b/framework/src/test/java/org/onap/cli/fw/input/OnapCommandParameterTest.java @@ -45,7 +45,8 @@ public class OnapCommandParameterTest { assertTrue(param.getDefaultValue().equals("defaultValue") && param.getDescription().equals("description") && param.getLongOption().equals("longOption") && param.getName().equals("name") && param.getShortOption().equals("shortOption") && param.getValue().equals("value") - && param.isOptional() && !param.isSecured() && param.getParameterType().equals(OnapCommandParameterType.JSON)); + && param.isOptional() && !param.isSecured() + && param.getParameterType().equals(OnapCommandParameterType.JSON)); assertTrue("value".equals(param.getValue())); |