diff options
author | Sandeep J <sandeejh@in.ibm.com> | 2019-04-08 14:57:24 +0530 |
---|---|---|
committer | Takamune Cho <takamune.cho@att.com> | 2019-04-09 16:02:19 +0000 |
commit | b45d4528f2c563cdff2e78837a4164deb4152283 (patch) | |
tree | f25de18f6a8ec5f63b99b3371ebf4ed58005975b | |
parent | 0ebfaf31a633db693c79e2f8942845aaf83cd873 (diff) |
added test case to TestConnectionBuilder.java
to increase code coverage
Issue-ID: APPC-1086
Change-Id: Ie7d84cc28ebd112c2ce224cd6c544939ef376ed1
Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
-rw-r--r-- | appc-adapters/appc-ansible-adapter/appc-ansible-adapter-bundle/src/test/java/org/onap/appc/adapter/ansible/impl/TestConnectionBuilder.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/appc-adapters/appc-ansible-adapter/appc-ansible-adapter-bundle/src/test/java/org/onap/appc/adapter/ansible/impl/TestConnectionBuilder.java b/appc-adapters/appc-ansible-adapter/appc-ansible-adapter-bundle/src/test/java/org/onap/appc/adapter/ansible/impl/TestConnectionBuilder.java index 69424f8c2..32c4ba33a 100644 --- a/appc-adapters/appc-ansible-adapter/appc-ansible-adapter-bundle/src/test/java/org/onap/appc/adapter/ansible/impl/TestConnectionBuilder.java +++ b/appc-adapters/appc-ansible-adapter/appc-ansible-adapter-bundle/src/test/java/org/onap/appc/adapter/ansible/impl/TestConnectionBuilder.java @@ -257,5 +257,11 @@ public class TestConnectionBuilder { AnsibleResult result = connectionBuilder.get(URL); assertEquals(AnsibleResultCodes.IO_EXCEPTION.getValue(), result.getStatusCode()); } + + @Test + public void testClose() throws IOException + { + connectionBuilder.close(); + } } |