Base test classes renamed

pull/6/head
Nikita 11 years ago
parent ec8c312e79
commit a773bb984e

@ -6,7 +6,7 @@ import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.concurrent.TimeUnit;
public abstract class RedissonConcurrentTest {
public abstract class BaseConcurrentTest {
protected void testMultiInstanceConcurrency(int iterations, final RedissonRunnable runnable) throws InterruptedException {
ExecutorService executor = Executors.newFixedThreadPool(Runtime.getRuntime().availableProcessors());

@ -4,7 +4,7 @@ import java.util.Collection;
import org.junit.Assert;
public abstract class BaseRedissonTest {
public abstract class BaseTest {
protected void clear(Collection<?> collection, Redisson redisson) {
collection.clear();

@ -6,7 +6,7 @@ import java.util.concurrent.ConcurrentMap;
import org.junit.Assert;
import org.junit.Test;
public class RedissonConcurrentMapTest extends RedissonConcurrentTest {
public class RedissonConcurrentMapTest extends BaseConcurrentTest {
@Test
public void testSingleReplaceOldValue_SingleInstance() throws InterruptedException {

@ -12,7 +12,7 @@ import org.hamcrest.Matchers;
import org.junit.Assert;
import org.junit.Test;
public class RedissonListTest extends BaseRedissonTest {
public class RedissonListTest extends BaseTest {
@Test(expected = IllegalStateException.class)
public void testListIteratorSetListFail() {

@ -6,7 +6,7 @@ import java.util.concurrent.locks.Lock;
import org.junit.Assert;
import org.junit.Test;
public class RedissonLockTest extends RedissonConcurrentTest {
public class RedissonLockTest extends BaseConcurrentTest {
@Test
public void testLockUnlock() {

@ -9,7 +9,7 @@ import org.hamcrest.Matchers;
import org.junit.Assert;
import org.junit.Test;
public class RedissonSetTest extends BaseRedissonTest {
public class RedissonSetTest extends BaseTest {
@Test
public void testContainsAll() {

Loading…
Cancel
Save