NO-JIRA Adding missing @RunWith annotation on tests

This commit is contained in:
Clebert Suconic 2017-12-01 14:25:25 -05:00
parent d498cf4cc6
commit 8f9bab6a19
3 changed files with 6 additions and 0 deletions

View File

@ -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.apache.activemq.artemis.utils.critical.EmptyCriticalAnalyzer;
import org.junit.Assert; import org.junit.Assert;
import org.junit.Test; import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.Parameterized; import org.junit.runners.Parameterized;
@RunWith(Parameterized.class)
public class DeleteMessagesOnStartupTest extends StorageManagerTestBase { public class DeleteMessagesOnStartupTest extends StorageManagerTestBase {
ArrayList<Long> deletedMessage = new ArrayList<>(); ArrayList<Long> deletedMessage = new ArrayList<>();

View File

@ -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.activemq.artemis.tests.integration.stomp.util.StompClientConnectionFactory;
import org.apache.felix.resolver.util.ArrayMap; import org.apache.felix.resolver.util.ArrayMap;
import org.junit.Test; import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.Parameterized; import org.junit.runners.Parameterized;
import java.util.ArrayList; import java.util.ArrayList;
@ -32,6 +33,7 @@ import java.util.Collection;
import java.util.List; import java.util.List;
import java.util.Map; import java.util.Map;
@RunWith(value = Parameterized.class)
public class StompTestPropertiesInterceptor extends StompTestBase { public class StompTestPropertiesInterceptor extends StompTestBase {
@Parameterized.Parameters(name = "{0}") @Parameterized.Parameters(name = "{0}")

View File

@ -48,11 +48,13 @@ import org.junit.After;
import org.junit.Assert; import org.junit.Assert;
import org.junit.Before; import org.junit.Before;
import org.junit.Test; import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.Parameterized; import org.junit.runners.Parameterized;
/** /**
* Testing Stomp version 1.2 functionalities * Testing Stomp version 1.2 functionalities
*/ */
@RunWith(Parameterized.class)
public class StompV12Test extends StompTestBase { public class StompV12Test extends StompTestBase {
private static final transient IntegrationTestLogger log = IntegrationTestLogger.LOGGER; private static final transient IntegrationTestLogger log = IntegrationTestLogger.LOGGER;