diff options
author | Sandeep J <sandeejh@in.ibm.com> | 2018-07-25 18:36:49 +0530 |
---|---|---|
committer | Patrick Brady <pb071s@att.com> | 2018-07-26 21:36:57 +0000 |
commit | fdf7e648663e5770a431e9ba8088be6c3bbf1f5a (patch) | |
tree | b89082af0541cb1839eca48b73d895b61825ae4d /appc-dispatcher/appc-command-executor/appc-command-executor-api | |
parent | 85838e1d38aa022b3a8b04047d772d3c40c34271 (diff) |
added test case to TestCommandExecuterInput.java
added test case to increase code coverage
Issue-ID: APPC-1086
Change-Id: Iad87297e2f52c7a14bfa178ab6be4a841604715d
Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
Diffstat (limited to 'appc-dispatcher/appc-command-executor/appc-command-executor-api')
-rw-r--r-- | appc-dispatcher/appc-command-executor/appc-command-executor-api/src/test/java/org/onap/appc/executor/objects/TestCommandExecutorInput.java | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/appc-dispatcher/appc-command-executor/appc-command-executor-api/src/test/java/org/onap/appc/executor/objects/TestCommandExecutorInput.java b/appc-dispatcher/appc-command-executor/appc-command-executor-api/src/test/java/org/onap/appc/executor/objects/TestCommandExecutorInput.java index fd1511415..3d31310b7 100644 --- a/appc-dispatcher/appc-command-executor/appc-command-executor-api/src/test/java/org/onap/appc/executor/objects/TestCommandExecutorInput.java +++ b/appc-dispatcher/appc-command-executor/appc-command-executor-api/src/test/java/org/onap/appc/executor/objects/TestCommandExecutorInput.java @@ -22,6 +22,7 @@ import static org.junit.Assert.*; import org.junit.Before; import org.junit.Test; +import org.onap.appc.domainmodel.lcm.RuntimeContext; public class TestCommandExecutorInput { @@ -48,5 +49,13 @@ public class TestCommandExecutorInput { assertNotEquals(commandExecutorInput.toString(), null); } + + @Test + public void testGetRuntimeContext() { + RuntimeContext runtime= new RuntimeContext(); + commandExecutorInput.setRuntimeContext(runtime); + assertEquals(runtime, commandExecutorInput.getRuntimeContext()); + } + } |