public class TestExecutorResource
extends org.junit.rules.ExternalResource
ExecutorService for testing purposes.| Constructor and Description |
|---|
TestExecutorResource(java.util.function.Supplier<ExecutorService> serviceFactory) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
after() |
protected void |
before() |
Executor |
getExecutor() |
public TestExecutorResource(java.util.function.Supplier<ExecutorService> serviceFactory)
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.