E - The type of the Reactive Streams engine.public abstract class ReactiveStreamsTck<E extends ReactiveStreamsEngine> extends Object
A concrete class that extends this class is all that is needed to verify a ReactiveStreamsEngine against this
TCK.
It produces a number of TestNG test classes via the TestNG Factory annotated allTests() method.
| Constructor and Description |
|---|
ReactiveStreamsTck(org.reactivestreams.tck.TestEnvironment testEnvironment) |
| Modifier and Type | Method and Description |
|---|---|
Object[] |
allTests() |
protected abstract E |
createEngine()
Override to provide the reactive streams engine.
|
protected ReactiveStreamsFactory |
createFactory()
Create the reactive streams factory to use.
|
protected boolean |
isEnabled(Object test)
Override this to disable/enable tests, useful for debugging one test at a time.
|
void |
shutdownEngine() |
protected void |
shutdownEngine(E engine)
Override to implement custom shutdown logic for the Reactive Streams engine.
|
public ReactiveStreamsTck(org.reactivestreams.tck.TestEnvironment testEnvironment)
protected abstract E createEngine()
protected ReactiveStreamsFactory createFactory()
protected void shutdownEngine(E engine)
protected boolean isEnabled(Object test)
@AfterSuite(alwaysRun=true) public void shutdownEngine()
@Factory public Object[] allTests()
Copyright © 2018 – 2022 Eclipse Foundation. All rights reserved.
Use is subject to license terms.