You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by de...@apache.org on 2020/07/22 07:47:02 UTC
[cxf] branch master updated: CXF-8301: replaced deprecated
OutputCapture class to allow compilation with Spring Boot 2.3.x
This is an automated email from the ASF dual-hosted git repository.
deki pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cxf.git
The following commit(s) were added to refs/heads/master by this push:
new bcce011 CXF-8301: replaced deprecated OutputCapture class to allow compilation with Spring Boot 2.3.x
bcce011 is described below
commit bcce0112112ab8c75a339a69e5445eb9a5c2c92f
Author: Dennis Kieselhorst <de...@apache.org>
AuthorDate: Wed Jul 22 09:46:28 2020 +0200
CXF-8301: replaced deprecated OutputCapture class to allow compilation with Spring Boot 2.3.x
---
.../src/test/java/sample/ws/service/SampleWsApplicationTest.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/distribution/src/main/release/samples/jaxws_spring_boot/src/test/java/sample/ws/service/SampleWsApplicationTest.java b/distribution/src/main/release/samples/jaxws_spring_boot/src/test/java/sample/ws/service/SampleWsApplicationTest.java
index 8eb7ea0..944a7f7 100644
--- a/distribution/src/main/release/samples/jaxws_spring_boot/src/test/java/sample/ws/service/SampleWsApplicationTest.java
+++ b/distribution/src/main/release/samples/jaxws_spring_boot/src/test/java/sample/ws/service/SampleWsApplicationTest.java
@@ -32,7 +32,7 @@ import org.junit.runner.RunWith;
import org.springframework.boot.web.server.LocalServerPort;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.boot.test.context.SpringBootTest.WebEnvironment;
-import org.springframework.boot.test.rule.OutputCapture;
+import org.springframework.boot.test.system.OutputCaptureRule;
import org.springframework.test.context.junit4.SpringRunner;
import org.springframework.ws.client.core.WebServiceTemplate;
@@ -48,7 +48,7 @@ public class SampleWsApplicationTest {
//CHECKSTYLE:OFF
@Rule
- public OutputCapture output = new OutputCapture(); // SUPPRESS CHECKSTYLE
+ public OutputCaptureRule output = new OutputCaptureRule(); // SUPPRESS CHECKSTYLE
//CHECKSTYLE:ON
private WebServiceTemplate webServiceTemplate = new WebServiceTemplate();