summaryrefslogtreecommitdiffstats
path: root/dcae-analytics/dcae-analytics-web/src/test
diff options
context:
space:
mode:
authorVijay Venkatesh Kumar <vv770d@att.com>2020-01-15 16:16:58 +0000
committerGerrit Code Review <gerrit@onap.org>2020-01-15 16:16:58 +0000
commit49a77d1cce665643164d16695e8392645f3693a8 (patch)
treeeb1bcd1123b2b028fcac88d70d01e5f439f8b713 /dcae-analytics/dcae-analytics-web/src/test
parent22400a9e86aba3aece2ad21dc6f74fa1a14aab42 (diff)
parentc7074933aa8d37823fd5865957ea3ab2242e5d03 (diff)
Merge "modify checkstyle error for tca test"
Diffstat (limited to 'dcae-analytics/dcae-analytics-web/src/test')
-rw-r--r--dcae-analytics/dcae-analytics-web/src/test/java/org/onap/dcae/analytics/web/util/function/MrSubscriberURLFunctionTest.java10
-rw-r--r--dcae-analytics/dcae-analytics-web/src/test/java/org/onap/dcae/analytics/web/validation/GenericValidationResponseTest.java2
2 files changed, 8 insertions, 4 deletions
diff --git a/dcae-analytics/dcae-analytics-web/src/test/java/org/onap/dcae/analytics/web/util/function/MrSubscriberURLFunctionTest.java b/dcae-analytics/dcae-analytics-web/src/test/java/org/onap/dcae/analytics/web/util/function/MrSubscriberURLFunctionTest.java
index 8f0efd6..48d196a 100644
--- a/dcae-analytics/dcae-analytics-web/src/test/java/org/onap/dcae/analytics/web/util/function/MrSubscriberURLFunctionTest.java
+++ b/dcae-analytics/dcae-analytics-web/src/test/java/org/onap/dcae/analytics/web/util/function/MrSubscriberURLFunctionTest.java
@@ -34,9 +34,13 @@ public class MrSubscriberURLFunctionTest {
URL proxyURL = new URL("http://localhost");
MrSubscriberPollingPreferences pollingPreferences = Mockito.mock(MrSubscriberPollingPreferences.class);
HttpHeaders headers = Mockito.mock(HttpHeaders.class);
- MrSubscriberPreferences subscriberPreferences = new MrSubscriberPreferences("http://localhost:8080",
- "TestClientId", headers, "TestUserName", "TestPassword", proxyURL, true, false, "TestGroup",
- Arrays.asList("TestId1", "TestId2"), new Integer(4), new Integer(3), pollingPreferences);
+ MrSubscriberPreferences subscriberPreferences =
+ new MrSubscriberPreferences("http://localhost:8080",
+ "TestClientId", headers,
+ "TestUserName", "TestPassword",
+ proxyURL, true, false, "TestGroup",
+ Arrays.asList("TestId1", "TestId2"),
+ new Integer(4), new Integer(3), pollingPreferences);
final List<URL> urls = new MrSubscriberURLFunction().apply(subscriberPreferences);
}
diff --git a/dcae-analytics/dcae-analytics-web/src/test/java/org/onap/dcae/analytics/web/validation/GenericValidationResponseTest.java b/dcae-analytics/dcae-analytics-web/src/test/java/org/onap/dcae/analytics/web/validation/GenericValidationResponseTest.java
index 8e25cc1..1f790dd 100644
--- a/dcae-analytics/dcae-analytics-web/src/test/java/org/onap/dcae/analytics/web/validation/GenericValidationResponseTest.java
+++ b/dcae-analytics/dcae-analytics-web/src/test/java/org/onap/dcae/analytics/web/validation/GenericValidationResponseTest.java
@@ -29,7 +29,7 @@ import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.Test;
-public class GenericValidationResponseTest{
+public class GenericValidationResponseTest {
public static GenericValidationResponse genericValidationResponse;