summaryrefslogtreecommitdiffstats
path: root/appc-provider/appc-provider-bundle/src/main/java
diff options
context:
space:
mode:
authorJoss Armstrong <joss.armstrong@ericsson.com>2019-02-28 08:10:55 +0000
committerTakamune Cho <takamune.cho@att.com>2019-02-28 14:41:40 +0000
commit86755a65c526dfd8c8bab1235ddf273b7eb64c1f (patch)
tree4f96db502b2f20a43c6e566306ead6d43814b9df /appc-provider/appc-provider-bundle/src/main/java
parent86dd2bc3a4e2316cd20c95f7a85a68ccd2f49894 (diff)
Test coverage in MockQueryHelper
Increased coverage from 17% to 91% Fixed Sonar major issue for branch coverage Issue-ID: APPC-1509 Change-Id: I822053c74db8f16875448206a22048032d30ad45 Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
Diffstat (limited to 'appc-provider/appc-provider-bundle/src/main/java')
-rw-r--r--appc-provider/appc-provider-bundle/src/main/java/org/onap/appc/provider/lcm/mock/query/MockQueryHelper.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/appc-provider/appc-provider-bundle/src/main/java/org/onap/appc/provider/lcm/mock/query/MockQueryHelper.java b/appc-provider/appc-provider-bundle/src/main/java/org/onap/appc/provider/lcm/mock/query/MockQueryHelper.java
index 8276c690c..39d962f63 100644
--- a/appc-provider/appc-provider-bundle/src/main/java/org/onap/appc/provider/lcm/mock/query/MockQueryHelper.java
+++ b/appc-provider/appc-provider-bundle/src/main/java/org/onap/appc/provider/lcm/mock/query/MockQueryHelper.java
@@ -5,6 +5,8 @@
* Copyright (C) 2017-2018 AT&T Intellectual Property. All rights reserved.
* ================================================================================
* Copyright (C) 2017 Amdocs
+ * ================================================================================
+ * Modifications Copyright (C) 2019 Ericsson
* =============================================================================
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -50,7 +52,7 @@ import java.util.Map;
* When backend is implemented, this file should be removed.
*/
public class MockQueryHelper extends AbstractMockHelper {
- private final String MOCK_QUERY_FILENAME = "/tmp/lcm/query";
+ private String MOCK_QUERY_FILENAME = "/tmp/lcm/query";
/** VF_STATE value are listed at https://wiki.openstack.org/wiki/VMState#vm_state */
private final Map<VmState, List<String>> VF_STATE_MAP = new HashMap<VmState, List<String>>() {