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 33b6f345f48751b9e9b2f91decf91065f7953352
Author: Guillaume Nodet <gno...@gmail.com>
AuthorDate: Fri May 29 14:06:49 2020 +0200

    [CAMEL-11807] Upgrade camel-componentdsl to junit5
---
 core/camel-componentdsl/pom.xml                                  | 9 +++++++--
 .../camel/builder/component/ComponentsBuilderFactoryTest.java    | 6 +++++-
 2 files changed, 12 insertions(+), 3 deletions(-)

diff --git a/core/camel-componentdsl/pom.xml b/core/camel-componentdsl/pom.xml
index 9cc6ec4..d297317 100644
--- a/core/camel-componentdsl/pom.xml
+++ b/core/camel-componentdsl/pom.xml
@@ -59,8 +59,13 @@
         </dependency>
         <!-- testing -->
         <dependency>
-            <groupId>junit</groupId>
-            <artifactId>junit</artifactId>
+            <groupId>org.junit.jupiter</groupId>
+            <artifactId>junit-jupiter-api</artifactId>
+            <scope>test</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.junit.jupiter</groupId>
+            <artifactId>junit-jupiter-engine</artifactId>
             <scope>test</scope>
         </dependency>
         <dependency>
diff --git 
a/core/camel-componentdsl/src/test/java/org/apache/camel/builder/component/ComponentsBuilderFactoryTest.java
 
b/core/camel-componentdsl/src/test/java/org/apache/camel/builder/component/ComponentsBuilderFactoryTest.java
index 4d3d5ab..2b13594 100644
--- 
a/core/camel-componentdsl/src/test/java/org/apache/camel/builder/component/ComponentsBuilderFactoryTest.java
+++ 
b/core/camel-componentdsl/src/test/java/org/apache/camel/builder/component/ComponentsBuilderFactoryTest.java
@@ -22,7 +22,11 @@ import org.apache.camel.component.kafka.KafkaComponent;
 import org.apache.camel.component.kafka.KafkaConfiguration;
 import org.apache.camel.component.mock.MockEndpoint;
 import org.apache.camel.component.timer.TimerComponent;
-import org.junit.Test;
+import org.junit.jupiter.api.Test;
+
+import static org.junit.jupiter.api.Assertions.assertEquals;
+import static org.junit.jupiter.api.Assertions.assertNotNull;
+import static org.junit.jupiter.api.Assertions.assertTrue;
 
 public class ComponentsBuilderFactoryTest extends ContextTestSupport {
 

Reply via email to