diff options
author | Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com> | 2018-05-09 11:36:37 +0000 |
---|---|---|
committer | Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com> | 2018-05-09 11:36:37 +0000 |
commit | afacc8965fa57b6710905ebf543c9f023a2ed348 (patch) | |
tree | 74671dca7ca213a3733ed4f95104c91ab6bbf347 /framework | |
parent | 998ee2be4b251b48b842d807bb72ddf641db6648 (diff) |
Fix assertness in Result test
Issue-ID: CLI-100
Change-Id: Id02d38b7ca308ed57e6ca601004487bf8e5a706d
Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
Diffstat (limited to 'framework')
-rw-r--r-- | framework/src/test/java/org/onap/cli/fw/output/OnapCommandResultTest.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/framework/src/test/java/org/onap/cli/fw/output/OnapCommandResultTest.java b/framework/src/test/java/org/onap/cli/fw/output/OnapCommandResultTest.java index 667ed02a..8e474635 100644 --- a/framework/src/test/java/org/onap/cli/fw/output/OnapCommandResultTest.java +++ b/framework/src/test/java/org/onap/cli/fw/output/OnapCommandResultTest.java @@ -44,7 +44,8 @@ public class OnapCommandResultTest { res.setDebug(true); assertTrue("debugInfo".equals(res.getDebugInfo()) && res.isIncludeSeparator() - && "Output".equals(res.getOutput()) && OnapCommandPrintDirection.LANDSCAPE.equals(res.getPrintDirection()) + && "Output".equals(res.getOutput()) + && OnapCommandPrintDirection.LANDSCAPE.equals(res.getPrintDirection()) && res.getRecords().isEmpty() && OnapCommandResultAttributeScope.LONG.equals(res.getScope()) && OnapCommandResultType.TABLE.equals(res.getType())); |