Fix unit test names

This commit is contained in:
mthomas 2020-02-08 04:54:27 -06:00
parent f7697918f2
commit 4ab52b0e37
1 changed files with 3 additions and 3 deletions

View File

@ -55,7 +55,7 @@ public class ThreadPoolTaskExecutorUnitTest {
}
@Test
public void whenCorePoolSizeFive_andMaxPoolSizeTen_thenFiveThreads() {
public void whenCorePoolSizeFiveAndMaxPoolSizeTen_thenFiveThreads() {
ThreadPoolTaskExecutor taskExecutor = new ThreadPoolTaskExecutor();
taskExecutor.setCorePoolSize(5);
taskExecutor.setMaxPoolSize(10);
@ -79,7 +79,7 @@ public class ThreadPoolTaskExecutorUnitTest {
}
@Test
public void whenCorePoolSizeFive_andMaxPoolSizeTen_andQueueCapacityZero_thenTenThreads() {
public void whenCorePoolSizeFiveAndMaxPoolSizeTenAndQueueCapacityZero_thenTenThreads() {
ThreadPoolTaskExecutor taskExecutor = new ThreadPoolTaskExecutor();
taskExecutor.setCorePoolSize(5);
taskExecutor.setMaxPoolSize(10);
@ -104,7 +104,7 @@ public class ThreadPoolTaskExecutorUnitTest {
}
@Test
public void whenCorePoolSizeFive_andMaxPoolSizeTen_andQueueCapacityTen_thenTenThreads() {
public void whenCorePoolSizeFiveAndMaxPoolSizeTenAndQueueCapacityTen_thenTenThreads() {
ThreadPoolTaskExecutor taskExecutor = new ThreadPoolTaskExecutor();
taskExecutor.setCorePoolSize(5);
taskExecutor.setMaxPoolSize(10);