You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by co...@apache.org on 2018/07/24 11:49:52 UTC
[cxf-fediz] 03/03: Checkstyle fix
This is an automated email from the ASF dual-hosted git repository.
coheigea pushed a commit to branch 1.4.x-fixes
in repository https://gitbox.apache.org/repos/asf/cxf-fediz.git
commit 949c1ea0bf5fb097b8077c6081711542dc2fe862
Author: Colm O hEigeartaigh <co...@apache.org>
AuthorDate: Tue Jul 24 12:49:40 2018 +0100
Checkstyle fix
---
.../org/apache/cxf/fediz/integrationtests/AbstractExpiryTests.java | 6 ++++--
.../java/org/apache/cxf/fediz/integrationtests/HTTPTestUtils.java | 3 ++-
2 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/systests/tests/src/test/java/org/apache/cxf/fediz/integrationtests/AbstractExpiryTests.java b/systests/tests/src/test/java/org/apache/cxf/fediz/integrationtests/AbstractExpiryTests.java
index d2c6ce0..48ec3c3 100644
--- a/systests/tests/src/test/java/org/apache/cxf/fediz/integrationtests/AbstractExpiryTests.java
+++ b/systests/tests/src/test/java/org/apache/cxf/fediz/integrationtests/AbstractExpiryTests.java
@@ -117,7 +117,8 @@ public abstract class AbstractExpiryTests {
CookieManager cookieManager = new CookieManager();
// 1. Login
- HTTPTestUtils.loginWithCookieManager(url, user, password, getIdpHttpsPort(), "signinresponseform", cookieManager);
+ HTTPTestUtils.loginWithCookieManager(url, user, password, getIdpHttpsPort(),
+ "signinresponseform", cookieManager);
// 2. Sign out of the service (but not the Idp)
final WebClient webClient = new WebClient();
@@ -127,7 +128,8 @@ public abstract class AbstractExpiryTests {
webClient.close();
// 3. Sign back in to the service provider. This time it will get a new IdP token due to wfresh=0.
- HTTPTestUtils.loginWithCookieManager(url, user, password, getIdpHttpsPort(), "signinresponseform", cookieManager);
+ HTTPTestUtils.loginWithCookieManager(url, user, password, getIdpHttpsPort(),
+ "signinresponseform", cookieManager);
}
private void verifyApplication(String user, String bodyTextContent) {
diff --git a/systests/tests/src/test/java/org/apache/cxf/fediz/integrationtests/HTTPTestUtils.java b/systests/tests/src/test/java/org/apache/cxf/fediz/integrationtests/HTTPTestUtils.java
index eae6911..7d45e6d 100644
--- a/systests/tests/src/test/java/org/apache/cxf/fediz/integrationtests/HTTPTestUtils.java
+++ b/systests/tests/src/test/java/org/apache/cxf/fediz/integrationtests/HTTPTestUtils.java
@@ -67,7 +67,8 @@ public final class HTTPTestUtils {
}
public static String loginWithCookieManager(String url, String user, String password,
- String idpPort, String formName, CookieManager cookieManager) throws IOException {
+ String idpPort, String formName,
+ CookieManager cookieManager) throws IOException {
final WebClient webClient = new WebClient();
webClient.setCookieManager(cookieManager);
webClient.getOptions().setUseInsecureSSL(true);