Rename ConcurrentMap tests
This commit is contained in:
parent
51427bf70c
commit
071790b1d8
|
@ -14,7 +14,7 @@ import java.util.concurrent.TimeUnit;
|
||||||
import static org.junit.Assert.assertEquals;
|
import static org.junit.Assert.assertEquals;
|
||||||
import static org.junit.Assert.assertNotEquals;
|
import static org.junit.Assert.assertNotEquals;
|
||||||
|
|
||||||
public class ConcurrentMapAggregateStatusTest {
|
public class ConcurrentMapAggregateStatusManualTest {
|
||||||
|
|
||||||
private ExecutorService executorService;
|
private ExecutorService executorService;
|
||||||
private Map<String, Integer> concurrentMap;
|
private Map<String, Integer> concurrentMap;
|
|
@ -10,7 +10,7 @@ import java.util.concurrent.ConcurrentMap;
|
||||||
|
|
||||||
import static org.junit.Assert.assertNull;
|
import static org.junit.Assert.assertNull;
|
||||||
|
|
||||||
public class ConcurrentMapNullKeyValueTest {
|
public class ConcurrentMapNullKeyValueManualTest {
|
||||||
|
|
||||||
ConcurrentMap<String, Object> concurrentMap;
|
ConcurrentMap<String, Object> concurrentMap;
|
||||||
|
|
|
@ -11,7 +11,7 @@ import java.util.concurrent.*;
|
||||||
import static org.junit.Assert.assertEquals;
|
import static org.junit.Assert.assertEquals;
|
||||||
import static org.junit.Assert.assertTrue;
|
import static org.junit.Assert.assertTrue;
|
||||||
|
|
||||||
public class ConcurrentMapPerformanceTest {
|
public class ConcurrentMapPerformanceManualTest {
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void givenMaps_whenGetPut500KTimes_thenConcurrentMapFaster() throws Exception {
|
public void givenMaps_whenGetPut500KTimes_thenConcurrentMapFaster() throws Exception {
|
|
@ -10,7 +10,7 @@ import java.util.concurrent.atomic.AtomicInteger;
|
||||||
|
|
||||||
import static org.testng.Assert.*;
|
import static org.testng.Assert.*;
|
||||||
|
|
||||||
public class ConcurrentNavigableMapTests {
|
public class ConcurrentNavigableMapManualTests {
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void givenSkipListMap_whenAccessInMultiThreads_thenOrderingStable() throws InterruptedException {
|
public void givenSkipListMap_whenAccessInMultiThreads_thenOrderingStable() throws InterruptedException {
|
|
@ -10,7 +10,7 @@ import java.util.concurrent.TimeUnit;
|
||||||
|
|
||||||
import static org.junit.Assert.*;
|
import static org.junit.Assert.*;
|
||||||
|
|
||||||
public class ConcurretMapMemoryConsistencyTest {
|
public class ConcurretMapMemoryConsistencyManualTest {
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void givenConcurrentMap_whenSumParallel_thenCorrect() throws Exception {
|
public void givenConcurrentMap_whenSumParallel_thenCorrect() throws Exception {
|
Loading…
Reference in New Issue