You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by gn...@apache.org on 2020/06/11 03:40:52 UTC
[camel] 10/21: [CAMEL-11807] Upgrade camel-xml-io to junit5
This is an automated email from the ASF dual-hosted git repository.
gnodet pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git
commit cc1df9652decf7149ffafeb0d291ba5d11a54b5e
Author: Guillaume Nodet <gn...@gmail.com>
AuthorDate: Tue Jun 9 17:38:03 2020 +0200
[CAMEL-11807] Upgrade camel-xml-io to junit5
---
core/camel-xml-io/pom.xml | 4 ++--
.../src/test/java/org/apache/camel/xml/in/ModelParserTest.java | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/core/camel-xml-io/pom.xml b/core/camel-xml-io/pom.xml
index 057010f..85faec3 100644
--- a/core/camel-xml-io/pom.xml
+++ b/core/camel-xml-io/pom.xml
@@ -44,8 +44,8 @@
<!-- testing -->
<dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
+ <groupId>org.junit.jupiter</groupId>
+ <artifactId>junit-jupiter</artifactId>
<scope>test</scope>
</dependency>
<dependency>
diff --git a/core/camel-xml-io/src/test/java/org/apache/camel/xml/in/ModelParserTest.java b/core/camel-xml-io/src/test/java/org/apache/camel/xml/in/ModelParserTest.java
index 3f1a1ce..0ddd919 100644
--- a/core/camel-xml-io/src/test/java/org/apache/camel/xml/in/ModelParserTest.java
+++ b/core/camel-xml-io/src/test/java/org/apache/camel/xml/in/ModelParserTest.java
@@ -26,9 +26,9 @@ import java.util.stream.Collectors;
import org.apache.camel.model.RoutesDefinition;
import org.apache.camel.model.rest.RestsDefinition;
-import org.junit.Test;
+import org.junit.jupiter.api.Test;
-import static org.junit.Assert.assertNotNull;
+import static org.junit.jupiter.api.Assertions.assertNotNull;
public class ModelParserTest {