From b267dd31fa51c039b316c31566568046cdbdfb0d Mon Sep 17 00:00:00 2001 From: Joss Armstrong Date: Tue, 4 Dec 2018 18:13:22 +0000 Subject: Unit test fixes for APPC-1267 Removed code smell for <65% branch coverage - now 86%. Test cases now cover success scenarios for all methods. Coverage increased to 97%. Removed classloader code and unnecessary resource files Moved construction of objects to protected methods to facilitate testing. Issue-ID: APPC-1267 Change-Id: I07656a5464410ca5ca3cca55cefd54c03a711385 Signed-off-by: Joss Armstrong --- .../provider/src/main/resources/templates/sampleKeyContents | 1 - 1 file changed, 1 deletion(-) delete mode 100755 appc-outbound/appc-network-inventory-client/provider/src/main/resources/templates/sampleKeyContents (limited to 'appc-outbound/appc-network-inventory-client/provider/src/main/resources/templates') diff --git a/appc-outbound/appc-network-inventory-client/provider/src/main/resources/templates/sampleKeyContents b/appc-outbound/appc-network-inventory-client/provider/src/main/resources/templates/sampleKeyContents deleted file mode 100755 index 90e3ec789..000000000 --- a/appc-outbound/appc-network-inventory-client/provider/src/main/resources/templates/sampleKeyContents +++ /dev/null @@ -1 +0,0 @@ -{"name":"LOCAL_ACCESS_IP_ADDR","description":"this is the node0 tacplus server IP address","type":"ipv4_address","required":true,"source":"INSTAR","rule-type":"interface-ip-address","default":null,"request-keys":null,"response-keys":[{"unique-key-name":"addressfqdn","unique-key-value":"00000000000000","field-key-name":"ipaddress-v4"}]} \ No newline at end of file -- cgit 1.2.3-korg