You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by or...@apache.org on 2023/09/18 10:40:49 UTC

[camel] branch main updated: (chores) fixed incorrectly named tests (#11443)

This is an automated email from the ASF dual-hosted git repository.

orpiske pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/main by this push:
     new f31642c0168 (chores) fixed incorrectly named tests (#11443)
f31642c0168 is described below

commit f31642c0168bc57be67b4c16d023f1d921589706
Author: Otavio Rodolfo Piske <or...@users.noreply.github.com>
AuthorDate: Mon Sep 18 12:40:41 2023 +0200

    (chores) fixed incorrectly named tests (#11443)
    
    These tests were skipped because their names did not match the convention setup on surefire
---
 ...xceptionTransacted.java => AdviceWithOnExceptionTransactedTest.java} | 2 +-
 .../issues/{TwoTimerWithJMXIssue.java => TwoTimerWithJMXIssueTest.java} | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/components/camel-test/camel-test-spring-junit5/src/test/java/org/apache/camel/test/issues/AdviceWithOnExceptionTransacted.java b/components/camel-test/camel-test-spring-junit5/src/test/java/org/apache/camel/test/issues/AdviceWithOnExceptionTransactedTest.java
similarity index 97%
rename from components/camel-test/camel-test-spring-junit5/src/test/java/org/apache/camel/test/issues/AdviceWithOnExceptionTransacted.java
rename to components/camel-test/camel-test-spring-junit5/src/test/java/org/apache/camel/test/issues/AdviceWithOnExceptionTransactedTest.java
index 5265bd3848b..0f8b9db59dd 100644
--- a/components/camel-test/camel-test-spring-junit5/src/test/java/org/apache/camel/test/issues/AdviceWithOnExceptionTransacted.java
+++ b/components/camel-test/camel-test-spring-junit5/src/test/java/org/apache/camel/test/issues/AdviceWithOnExceptionTransactedTest.java
@@ -30,7 +30,7 @@ import org.springframework.transaction.TransactionStatus;
 
 import static org.apache.camel.builder.Builder.constant;
 
-public class AdviceWithOnExceptionTransacted extends CamelSpringTestSupport {
+public class AdviceWithOnExceptionTransactedTest extends CamelSpringTestSupport {
 
     @Override
     protected AbstractApplicationContext createApplicationContext() {
diff --git a/core/camel-core/src/test/java/org/apache/camel/issues/TwoTimerWithJMXIssue.java b/core/camel-core/src/test/java/org/apache/camel/issues/TwoTimerWithJMXIssueTest.java
similarity index 97%
rename from core/camel-core/src/test/java/org/apache/camel/issues/TwoTimerWithJMXIssue.java
rename to core/camel-core/src/test/java/org/apache/camel/issues/TwoTimerWithJMXIssueTest.java
index a2b2a7e76bb..175cc5f9a5a 100644
--- a/core/camel-core/src/test/java/org/apache/camel/issues/TwoTimerWithJMXIssue.java
+++ b/core/camel-core/src/test/java/org/apache/camel/issues/TwoTimerWithJMXIssueTest.java
@@ -31,7 +31,7 @@ import static org.junit.jupiter.api.Assertions.assertTrue;
 /**
  * Trying to reproduce CAMEL-927.
  */
-public class TwoTimerWithJMXIssue extends ContextTestSupport {
+public class TwoTimerWithJMXIssueTest extends ContextTestSupport {
 
     private static int counter;