org.eclipse.microprofile.reactive.streams.operators.tck.ReactiveStreamsTck Java Examples

The following examples show how to use org.eclipse.microprofile.reactive.streams.operators.tck.ReactiveStreamsTck. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: ReactiveStreamsArquillianTck.java    From microprofile-reactive-streams-operators with Apache License 2.0 5 votes vote down vote up
@Deployment
public static JavaArchive tckDeployment() {
    return ShrinkWrap.create(JavaArchive.class)
        // Add everything from the TCK
        .addPackages(true, ReactiveStreamsTck.class.getPackage())
        // And add the reactive streams TCK
        .addPackages(true, TestEnvironment.class.getPackage())
        .addPackages(true, AsyncIterablePublisher.class.getPackage())
        // And we need a CDI descriptor
        .addAsManifestResource(EmptyAsset.INSTANCE, "beans.xml");

}