summaryrefslogtreecommitdiffstats
path: root/appc-adapters/appc-ansible-adapter
diff options
context:
space:
mode:
authorSandeep J <sandeejh@in.ibm.com>2019-04-08 14:57:24 +0530
committerTakamune Cho <takamune.cho@att.com>2019-04-09 16:02:19 +0000
commitb45d4528f2c563cdff2e78837a4164deb4152283 (patch)
treef25de18f6a8ec5f63b99b3371ebf4ed58005975b /appc-adapters/appc-ansible-adapter
parent0ebfaf31a633db693c79e2f8942845aaf83cd873 (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>
Diffstat (limited to 'appc-adapters/appc-ansible-adapter')
-rw-r--r--appc-adapters/appc-ansible-adapter/appc-ansible-adapter-bundle/src/test/java/org/onap/appc/adapter/ansible/impl/TestConnectionBuilder.java6
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();
+ }
}