diff options
author | Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com> | 2018-05-09 11:32:42 +0000 |
---|---|---|
committer | Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com> | 2018-05-09 11:32:42 +0000 |
commit | 09c6f03be3274446f71cd3f7a07da0f3a79ce9ff (patch) | |
tree | 9219fec8aacfd1cffba00a8312e14b7302c87179 /framework/src/test | |
parent | 3f9fc6aac50fd9d1f4c723cde1e0b8e68a4b8a13 (diff) |
Fix OnapCommandSample with coding std.
Issue-ID: CLI-100
Change-Id: Id0e4d267352feba3e884948251ce5c80902edeb5
Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
Diffstat (limited to 'framework/src/test')
-rw-r--r-- | framework/src/test/java/org/onap/cli/cmd/sample/OnapCommandSample.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/framework/src/test/java/org/onap/cli/cmd/sample/OnapCommandSample.java b/framework/src/test/java/org/onap/cli/cmd/sample/OnapCommandSample.java index b225a3a0..eef0ebc4 100644 --- a/framework/src/test/java/org/onap/cli/cmd/sample/OnapCommandSample.java +++ b/framework/src/test/java/org/onap/cli/cmd/sample/OnapCommandSample.java @@ -40,8 +40,9 @@ public class OnapCommandSample extends OnapCommand { @Override protected void run() throws OnapCommandException { - if (this.failCase) + if (this.failCase) { throw new OnapCommandExecutionFailed("Test case to fail"); + } } } |