You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by cs...@apache.org on 2022/11/03 19:49:06 UTC

[activemq] branch activemq-5.17.x updated (3bd099f46 -> 304780776)

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

cshannon pushed a change to branch activemq-5.17.x
in repository https://gitbox.apache.org/repos/asf/activemq.git


    from 3bd099f46 AMQ-9156 - fix formatting
     new 81773c85d AMQ-9152: Fix surefire setup to run all tests that are not excluded
     new 304780776 AMQ-9152: Make test classes abstract to fix surefire plugin

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 activemq-unit-tests/pom.xml                                            | 3 ---
 .../test/java/org/apache/activemq/bugs/amq1095/ActiveMQTestCase.java   | 2 +-
 .../src/test/java/org/apache/activemq/usecases/TestSupport.java        | 2 +-
 3 files changed, 2 insertions(+), 5 deletions(-)


[activemq] 02/02: AMQ-9152: Make test classes abstract to fix surefire plugin

Posted by cs...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

cshannon pushed a commit to branch activemq-5.17.x
in repository https://gitbox.apache.org/repos/asf/activemq.git

commit 3047807763f7cf7f9791cb1272273c9161b08908
Author: Christopher L. Shannon (cshannon) <ch...@gmail.com>
AuthorDate: Tue Nov 1 17:49:35 2022 -0400

    AMQ-9152: Make test classes abstract to fix surefire plugin
    
    (cherry picked from commit ea10d984d01c665ca1883cfcc38a66719f997596)
---
 .../test/java/org/apache/activemq/bugs/amq1095/ActiveMQTestCase.java    | 2 +-
 .../src/test/java/org/apache/activemq/usecases/TestSupport.java         | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/activemq-unit-tests/src/test/java/org/apache/activemq/bugs/amq1095/ActiveMQTestCase.java b/activemq-unit-tests/src/test/java/org/apache/activemq/bugs/amq1095/ActiveMQTestCase.java
index 01ecdb1a6..9138da7a9 100644
--- a/activemq-unit-tests/src/test/java/org/apache/activemq/bugs/amq1095/ActiveMQTestCase.java
+++ b/activemq-unit-tests/src/test/java/org/apache/activemq/bugs/amq1095/ActiveMQTestCase.java
@@ -49,7 +49,7 @@ import org.apache.activemq.command.ActiveMQTopic;
  * @since 2007-08-10
  * @version $Id: ActiveMQTestCase.java 12 2007-08-14 12:02:02Z rke $
  */
-public class ActiveMQTestCase extends TestCase
+public abstract class ActiveMQTestCase extends TestCase
 {
     private Context context;
     private BrokerService broker;
diff --git a/activemq-unit-tests/src/test/java/org/apache/activemq/usecases/TestSupport.java b/activemq-unit-tests/src/test/java/org/apache/activemq/usecases/TestSupport.java
index 4858870a0..48bebde93 100644
--- a/activemq-unit-tests/src/test/java/org/apache/activemq/usecases/TestSupport.java
+++ b/activemq-unit-tests/src/test/java/org/apache/activemq/usecases/TestSupport.java
@@ -32,7 +32,7 @@ import org.apache.activemq.command.ActiveMQTopic;
 /**
  * Useful base class for unit test cases
  */
-public class TestSupport extends TestCase {
+public abstract class TestSupport extends TestCase {
 
     protected ActiveMQConnectionFactory connectionFactory;
     protected boolean topic = true;


[activemq] 01/02: AMQ-9152: Fix surefire setup to run all tests that are not excluded

Posted by cs...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

cshannon pushed a commit to branch activemq-5.17.x
in repository https://gitbox.apache.org/repos/asf/activemq.git

commit 81773c85d72373896deb3a5ff7c64a6a55971c98
Author: Christopher L. Shannon (cshannon) <ch...@gmail.com>
AuthorDate: Tue Nov 1 06:37:37 2022 -0400

    AMQ-9152: Fix surefire setup to run all tests that are not excluded
    
    (cherry picked from commit ba0b7a25a0fb8d225147748f28f69ba5abee01b5)
---
 activemq-unit-tests/pom.xml | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/activemq-unit-tests/pom.xml b/activemq-unit-tests/pom.xml
index 8bd4ab4bb..fe069d758 100644
--- a/activemq-unit-tests/pom.xml
+++ b/activemq-unit-tests/pom.xml
@@ -438,9 +438,6 @@
             <org.apache.activemq.AutoFailTestSupport.disableSystemExit>true</org.apache.activemq.AutoFailTestSupport.disableSystemExit>
             <org.apache.activemq.broker.jmx.createConnector>false</org.apache.activemq.broker.jmx.createConnector>
           </systemPropertyVariables>
-          <includes>
-            <include>**/*Test.*</include>
-          </includes>
         </configuration>
       </plugin>
       <plugin>