This is an automated email from the ASF dual-hosted git repository.
veithen pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ws-axiom.git
The following commit(s) were added to refs/heads/master by this push:
new 6eab0a00e Migrate jaxws-tests from JUnit 4/Truth to JUnit 5/AssertJ
6eab0a00e is described below
commit 6eab0a00ef460d35fc0ecad3fedccd56cccc9d4c
Author: Andreas Veithen-Knowles <[email protected]>
AuthorDate: Sun Mar 8 05:03:55 2026 +0000
Migrate jaxws-tests from JUnit 4/Truth to JUnit 5/AssertJ
---
systests/jaxws-tests/pom.xml | 13 ++++---------
systests/jaxws-tests/src/test/java/MTOMTest.java | 4 ++--
2 files changed, 6 insertions(+), 11 deletions(-)
diff --git a/systests/jaxws-tests/pom.xml b/systests/jaxws-tests/pom.xml
index 803271702..15ba03f7d 100644
--- a/systests/jaxws-tests/pom.xml
+++ b/systests/jaxws-tests/pom.xml
@@ -58,18 +58,13 @@
<scope>test</scope>
</dependency>
<dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
+ <groupId>org.junit.jupiter</groupId>
+ <artifactId>junit-jupiter</artifactId>
<scope>test</scope>
</dependency>
<dependency>
- <groupId>org.junit.vintage</groupId>
- <artifactId>junit-vintage-engine</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>com.google.truth</groupId>
- <artifactId>truth</artifactId>
+ <groupId>org.assertj</groupId>
+ <artifactId>assertj-core</artifactId>
<scope>test</scope>
</dependency>
<dependency>
diff --git a/systests/jaxws-tests/src/test/java/MTOMTest.java
b/systests/jaxws-tests/src/test/java/MTOMTest.java
index 5463be9c0..e0c728e7b 100644
--- a/systests/jaxws-tests/src/test/java/MTOMTest.java
+++ b/systests/jaxws-tests/src/test/java/MTOMTest.java
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
-import static com.google.common.truth.Truth.assertThat;
+import static org.assertj.core.api.Assertions.assertThat;
import java.io.IOException;
@@ -39,7 +39,7 @@ import org.eclipse.jetty.server.Server;
import org.eclipse.jetty.server.ServerConnector;
import org.example.ImageService;
import org.example.ImageServicePort;
-import org.junit.Test;
+import org.junit.jupiter.api.Test;
import jakarta.xml.ws.BindingProvider;
import jakarta.xml.ws.soap.MTOMFeature;