public class TestExecutorExtension<T extends ExecutorService> extends Object implements org.junit.jupiter.api.extension.BeforeAllCallback, org.junit.jupiter.api.extension.AfterAllCallback
ExecutorService
for testing purposes.Constructor and Description |
---|
TestExecutorExtension(java.util.function.Supplier<T> serviceFactory) |
Modifier and Type | Method and Description |
---|---|
void |
afterAll(org.junit.jupiter.api.extension.ExtensionContext context) |
void |
beforeAll(org.junit.jupiter.api.extension.ExtensionContext context) |
T |
getExecutor() |
public TestExecutorExtension(java.util.function.Supplier<T> serviceFactory)
Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.