diff options
author | 2018-12-04 18:13:22 +0000 | |
---|---|---|
committer | 2018-12-06 01:28:09 +0000 | |
commit | b267dd31fa51c039b316c31566568046cdbdfb0d (patch) | |
tree | ca1f8554b424681ee173cd63d2491a9fdd267bb6 /appc-outbound/appc-network-inventory-client/provider/src/test/resources/YamlParameter.txt | |
parent | 5b48ccd6a79559967cfcb47addc50c84f9fa7213 (diff) |
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 <joss.armstrong@ericsson.com>
Diffstat (limited to 'appc-outbound/appc-network-inventory-client/provider/src/test/resources/YamlParameter.txt')
-rw-r--r-- | appc-outbound/appc-network-inventory-client/provider/src/test/resources/YamlParameter.txt | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/appc-outbound/appc-network-inventory-client/provider/src/test/resources/YamlParameter.txt b/appc-outbound/appc-network-inventory-client/provider/src/test/resources/YamlParameter.txt deleted file mode 100644 index 1cec7f6d0..000000000 --- a/appc-outbound/appc-network-inventory-client/provider/src/test/resources/YamlParameter.txt +++ /dev/null @@ -1,37 +0,0 @@ -# ============LICENSE_START========================================== -# ONAP : APPC -# =================================================================== -# Copyright (C) 2017-2018 AT&T Intellectual Property. All rights reserved. -# =================================================================== -# -# Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the License); -# you may not use this software except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# ECOMP is a trademark and service mark of AT&T Intellectual Property. -# ============LICENSE_END============================================ -name: "LOCAL_CORE_ALT_IP_ADDR" -description: null -type: null -required: false -source: "A&AI" -rule-type: null -default: "0:0:0:0" -request-keys: -- key-name: "address_fqdn" - key-value: "value" -- key-name: "address_type" - key-value: "v4" -response-keys: -- unique-key-name: "parent-name" -- unique-key-value: "vnf" -- field-key-name: "vnf-name" |