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