public class TestExecutors
extends java.lang.Object
TestRule that validates that all submitted tasks finished and were completed. This
 allows for testing that tasks have exercised the appropriate shutdown logic.| Modifier and Type | Class and Description | 
|---|---|
| static interface  | TestExecutors.TestExecutorServiceA union of the  ExecutorServiceandTestRuleinterfaces. | 
| Constructor and Description | 
|---|
| TestExecutors() | 
| Modifier and Type | Method and Description | 
|---|---|
| static TestExecutors.TestExecutorService | from(java.util.concurrent.ExecutorService staticExecutorService) | 
| static TestExecutors.TestExecutorService | from(java.util.function.Supplier<java.util.concurrent.ExecutorService> executorServiceSuppler) | 
public static TestExecutors.TestExecutorService from(java.util.concurrent.ExecutorService staticExecutorService)
public static TestExecutors.TestExecutorService from(java.util.function.Supplier<java.util.concurrent.ExecutorService> executorServiceSuppler)