summaryrefslogtreecommitdiffstats
path: root/dcae-analytics/dcae-analytics-web/src/test/java
diff options
context:
space:
mode:
authorKai <lukai@chinamobile.com>2020-01-08 11:02:35 +0800
committerKai <lukai@chinamobile.com>2020-01-08 11:31:28 +0800
commitc7074933aa8d37823fd5865957ea3ab2242e5d03 (patch)
tree71e060f9ae0e9db1a0800c1e0a44e7e9fb5b6961 /dcae-analytics/dcae-analytics-web/src/test/java
parenteac44564ef6a4ca8e7fb9ad05eb76e49f6cf7a7a (diff)
modify checkstyle error for tca test
Issue-ID: DCAEGEN2-2011 Signed-off-by: Kai Lu <lukai@chinamobile.com> Change-Id: Ic62cf14c7a6c2c485aaf506c366d519381784b98
Diffstat (limited to 'dcae-analytics/dcae-analytics-web/src/test/java')
-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;