commit | b45d4528f2c563cdff2e78837a4164deb4152283 | [log] [tgz] |
---|---|---|
author | Sandeep J <sandeejh@in.ibm.com> | Mon Apr 08 14:57:24 2019 +0530 |
committer | Takamune Cho <takamune.cho@att.com> | Tue Apr 09 16:02:19 2019 +0000 |
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>
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 69424f8..32c4ba3 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 @@ AnsibleResult result = connectionBuilder.get(URL); assertEquals(AnsibleResultCodes.IO_EXCEPTION.getValue(), result.getStatusCode()); } + + @Test + public void testClose() throws IOException + { + connectionBuilder.close(); + } }