E
- The type of the Reactive Streams engine.public abstract class ReactiveStreamsTck<E extends ReactiveStreamsEngine>
extends java.lang.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 |
---|---|
java.lang.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(java.lang.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(java.lang.Object test)
public void shutdownEngine()
public java.lang.Object[] allTests()
Copyright © 2021 Eclipse Foundation. All rights reserved.