mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-05-15 04:59:24 +00:00
Added tests for thread-pool pattern
Fixed concurrency problem in id generation of Task
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
package com.iluwatar.threadpool;
|
||||
|
||||
/**
|
||||
* Date: 12/30/15 - 18:23 PM
|
||||
*
|
||||
* @author Jeroen Meulemeester
|
||||
*/
|
||||
public class CoffeeMakingTaskTest extends TaskTest<CoffeeMakingTask> {
|
||||
|
||||
/**
|
||||
* Create a new test instance
|
||||
*/
|
||||
public CoffeeMakingTaskTest() {
|
||||
super(CoffeeMakingTask::new, 100);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user