org.reactivestreams.tck.TestEnvironment Java Examples

The following examples show how to use org.reactivestreams.tck.TestEnvironment. 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: ReactiveStreamsSpiVerification.java    From microprofile-reactive-streams-operators with Apache License 2.0 5 votes vote down vote up
public ReactiveStreamsSpiVerification(TestEnvironment testEnvironment, ReactiveStreamsFactory rs,
    ReactiveStreamsEngine engine, ScheduledExecutorService executorService) {
    this.testEnvironment = testEnvironment;
    this.rs = rs;
    this.engine = engine;
    this.executorService = executorService;
}
 
Example #2
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");

}
 
Example #3
Source File: CombineTckPublisherTest.java    From cyclops with Apache License 2.0 4 votes vote down vote up
public CombineTckPublisherTest(){
	  super(new TestEnvironment(300L));
}
 
Example #4
Source File: MapTckBlackBoxSubscriberTest.java    From cyclops with Apache License 2.0 4 votes vote down vote up
public MapTckBlackBoxSubscriberTest() {
    super(new TestEnvironment(300L));
}
 
Example #5
Source File: ScanLimitTckPublisherTest.java    From cyclops with Apache License 2.0 4 votes vote down vote up
public ScanLimitTckPublisherTest(){
	  super(new TestEnvironment(300L));
}
 
Example #6
Source File: MapTckPublisherTest.java    From cyclops with Apache License 2.0 4 votes vote down vote up
public MapTckPublisherTest(){
	  super(new TestEnvironment(300L));
}
 
Example #7
Source File: FilterRangeLongTckPublisherTest.java    From cyclops with Apache License 2.0 4 votes vote down vote up
public FilterRangeLongTckPublisherTest(){
	  super(new TestEnvironment(300L));
}
 
Example #8
Source File: ValueSubscriberTckBlackBoxSubscriberTest2.java    From cyclops with Apache License 2.0 4 votes vote down vote up
public ValueSubscriberTckBlackBoxSubscriberTest2() {
    super(new TestEnvironment(300L));
}
 
Example #9
Source File: TckSynchronousPublisherTest.java    From cyclops with Apache License 2.0 4 votes vote down vote up
public TckSynchronousPublisherTest(){
	  super(new TestEnvironment(300L));
}
 
Example #10
Source File: MessagePublisherVerificationTckTest.java    From vertx-proton with Apache License 2.0 4 votes vote down vote up
public MessagePublisherVerificationTckTest() {
  super(new TestEnvironment(DEFAULT_TIMEOUT), DEFAULT_GC_TIMEOUT);
}
 
Example #11
Source File: TckWhiteBoxSubscriberTest.java    From cyclops with Apache License 2.0 4 votes vote down vote up
public TckWhiteBoxSubscriberTest() {
    super(new TestEnvironment(300L));
}
 
Example #12
Source File: FilterOpteratorToIterableTckPublisherTest.java    From cyclops with Apache License 2.0 4 votes vote down vote up
public FilterOpteratorToIterableTckPublisherTest(){
	  super(new TestEnvironment(300L));
}
 
Example #13
Source File: MessageSubscriberWhiteboxVerificationTckTest.java    From vertx-proton with Apache License 2.0 4 votes vote down vote up
public MessageSubscriberWhiteboxVerificationTckTest() {
  super(new TestEnvironment(DEFAULT_TIMEOUT));
}
 
Example #14
Source File: HandlerSubscriberBlackboxVerificationTest.java    From netty-reactive-streams with Apache License 2.0 4 votes vote down vote up
public HandlerSubscriberBlackboxVerificationTest() {
    super(new TestEnvironment());
}
 
Example #15
Source File: AbstractProcessorTest.java    From camunda-bpm-reactor with Apache License 2.0 4 votes vote down vote up
public AbstractProcessorTest() {
  super(new TestEnvironment(2000L, envDefaultNoSignalsTimeoutMillis(), true), 3500);
}
 
Example #16
Source File: ReactiveStreamsPublisherTckTest.java    From microprofile-rest-client with Apache License 2.0 4 votes vote down vote up
public ReactiveStreamsPublisherTckTest() {
    super(new TestEnvironment(1000));
}
 
Example #17
Source File: SimpleSubscriberTckTest.java    From aws-sdk-java-v2 with Apache License 2.0 4 votes vote down vote up
public SimpleSubscriberTckTest() {
    super(new TestEnvironment());
}
 
Example #18
Source File: FluxGenerateVerification.java    From reactor-core with Apache License 2.0 4 votes vote down vote up
public FluxGenerateVerification() {
	super(new TestEnvironment(500), 1000);
}
 
Example #19
Source File: PublisherFlatMapTckPublisherTest.java    From cyclops with Apache License 2.0 4 votes vote down vote up
public PublisherFlatMapTckPublisherTest(){
	  super(new TestEnvironment(300L));
}
 
Example #20
Source File: BaosSubscriberTckTest.java    From aws-sdk-java-v2 with Apache License 2.0 4 votes vote down vote up
public BaosSubscriberTckTest() {
    super(new TestEnvironment());
}
 
Example #21
Source File: FileSubscriberTckTest.java    From aws-sdk-java-v2 with Apache License 2.0 4 votes vote down vote up
public FileSubscriberTckTest() {
    super(new TestEnvironment());
}
 
Example #22
Source File: SimpleRequestProviderTckTest.java    From aws-sdk-java-v2 with Apache License 2.0 4 votes vote down vote up
public SimpleRequestProviderTckTest() {
    super(new TestEnvironment());
}
 
Example #23
Source File: PaginatedItemsPublisherTckTest.java    From aws-sdk-java-v2 with Apache License 2.0 4 votes vote down vote up
public PaginatedItemsPublisherTckTest() {
    super(new TestEnvironment());
}
 
Example #24
Source File: FullResponseContentPublisherTckTest.java    From aws-sdk-java-v2 with Apache License 2.0 4 votes vote down vote up
public FullResponseContentPublisherTckTest() {
    super(new TestEnvironment());
}
 
Example #25
Source File: FilterIterableTckPublisherTest.java    From cyclops with Apache License 2.0 4 votes vote down vote up
public FilterIterableTckPublisherTest(){
	  super(new TestEnvironment(300L));
}
 
Example #26
Source File: SlidingTckPublisherTest.java    From cyclops with Apache License 2.0 4 votes vote down vote up
public SlidingTckPublisherTest(){
	  super(new TestEnvironment(300L));
}
 
Example #27
Source File: HandlerSubscriberBlackboxVerificationTest.java    From aws-sdk-java-v2 with Apache License 2.0 4 votes vote down vote up
public HandlerSubscriberBlackboxVerificationTest() {
    super(new TestEnvironment());
}
 
Example #28
Source File: TCKTest.java    From ndbc with Apache License 2.0 4 votes vote down vote up
public TCKTest() {
  super(new TestEnvironment(false));
  System.setProperty("io.trane.ndbc.maxStackDepth", "20");
}
 
Example #29
Source File: FlatMap2TckPublisherTest.java    From cyclops with Apache License 2.0 4 votes vote down vote up
public FlatMap2TckPublisherTest(){
	  super(new TestEnvironment(300L));
}
 
Example #30
Source File: ReactorGrpcPublisherOneToManyVerificationTest.java    From reactive-grpc with BSD 3-Clause "New" or "Revised" License 4 votes vote down vote up
public ReactorGrpcPublisherOneToManyVerificationTest() {
    super(new TestEnvironment(DEFAULT_TIMEOUT_MILLIS, DEFAULT_TIMEOUT_MILLIS), PUBLISHER_REFERENCE_CLEANUP_TIMEOUT_MILLIS);
}