You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by cl...@apache.org on 2017/12/01 19:25:36 UTC

activemq-artemis git commit: NO-JIRA Adding missing @RunWith annotation on tests

Repository: activemq-artemis
Updated Branches:
  refs/heads/master d498cf4cc -> 8f9bab6a1


NO-JIRA Adding missing @RunWith annotation on tests


Project: http://git-wip-us.apache.org/repos/asf/activemq-artemis/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq-artemis/commit/8f9bab6a
Tree: http://git-wip-us.apache.org/repos/asf/activemq-artemis/tree/8f9bab6a
Diff: http://git-wip-us.apache.org/repos/asf/activemq-artemis/diff/8f9bab6a

Branch: refs/heads/master
Commit: 8f9bab6a19d071c6e1179e4e3492017c6fc320b5
Parents: d498cf4
Author: Clebert Suconic <cl...@apache.org>
Authored: Fri Dec 1 14:25:25 2017 -0500
Committer: Clebert Suconic <cl...@apache.org>
Committed: Fri Dec 1 14:25:25 2017 -0500

----------------------------------------------------------------------
 .../tests/integration/persistence/DeleteMessagesOnStartupTest.java | 2 ++
 .../tests/integration/stomp/StompTestPropertiesInterceptor.java    | 2 ++
 .../activemq/artemis/tests/integration/stomp/v12/StompV12Test.java | 2 ++
 3 files changed, 6 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/8f9bab6a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/persistence/DeleteMessagesOnStartupTest.java
----------------------------------------------------------------------
diff --git a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/persistence/DeleteMessagesOnStartupTest.java b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/persistence/DeleteMessagesOnStartupTest.java
index 4819c5d..e69d4d9 100644
--- a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/persistence/DeleteMessagesOnStartupTest.java
+++ b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/persistence/DeleteMessagesOnStartupTest.java
@@ -37,8 +37,10 @@ import org.apache.activemq.artemis.tests.unit.core.server.impl.fakes.FakePostOff
 import org.apache.activemq.artemis.utils.critical.EmptyCriticalAnalyzer;
 import org.junit.Assert;
 import org.junit.Test;
+import org.junit.runner.RunWith;
 import org.junit.runners.Parameterized;
 
+@RunWith(Parameterized.class)
 public class DeleteMessagesOnStartupTest extends StorageManagerTestBase {
 
    ArrayList<Long> deletedMessage = new ArrayList<>();

http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/8f9bab6a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/stomp/StompTestPropertiesInterceptor.java
----------------------------------------------------------------------
diff --git a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/stomp/StompTestPropertiesInterceptor.java b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/stomp/StompTestPropertiesInterceptor.java
index 7fc80a8..62fa1b5 100644
--- a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/stomp/StompTestPropertiesInterceptor.java
+++ b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/stomp/StompTestPropertiesInterceptor.java
@@ -24,6 +24,7 @@ import org.apache.activemq.artemis.tests.integration.stomp.util.StompClientConne
 import org.apache.activemq.artemis.tests.integration.stomp.util.StompClientConnectionFactory;
 import org.apache.felix.resolver.util.ArrayMap;
 import org.junit.Test;
+import org.junit.runner.RunWith;
 import org.junit.runners.Parameterized;
 
 import java.util.ArrayList;
@@ -32,6 +33,7 @@ import java.util.Collection;
 import java.util.List;
 import java.util.Map;
 
+@RunWith(value = Parameterized.class)
 public class StompTestPropertiesInterceptor extends StompTestBase {
 
    @Parameterized.Parameters(name = "{0}")

http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/8f9bab6a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/stomp/v12/StompV12Test.java
----------------------------------------------------------------------
diff --git a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/stomp/v12/StompV12Test.java b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/stomp/v12/StompV12Test.java
index 23a93d4..f80052b 100644
--- a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/stomp/v12/StompV12Test.java
+++ b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/stomp/v12/StompV12Test.java
@@ -48,11 +48,13 @@ import org.junit.After;
 import org.junit.Assert;
 import org.junit.Before;
 import org.junit.Test;
+import org.junit.runner.RunWith;
 import org.junit.runners.Parameterized;
 
 /**
  * Testing Stomp version 1.2 functionalities
  */
+@RunWith(Parameterized.class)
 public class StompV12Test extends StompTestBase {
 
    private static final transient IntegrationTestLogger log = IntegrationTestLogger.LOGGER;