Added tests for thread-pool pattern

Fixed concurrency problem in id generation of Task
This commit is contained in:
Jeroen Meulemeester
2015-12-30 19:49:47 +01:00
parent 47709e24b9
commit fd8c05846f
8 changed files with 198 additions and 5 deletions

View File

@@ -0,0 +1,17 @@
package com.iluwatar.threadpool;
/**
* Date: 12/30/15 - 18:23 PM
*
* @author Jeroen Meulemeester
*/
public class PotatoPeelingTaskTest extends TaskTest<PotatoPeelingTask> {
/**
* Create a new test instance
*/
public PotatoPeelingTaskTest() {
super(PotatoPeelingTask::new, 200);
}
}