Class Verifiers
- java.lang.Object
-
- io.servicetalk.concurrent.api.test.Verifiers
-
@Deprecated public final class Verifiers extends java.lang.Object
Deprecated.UseStepVerifiers
instead.Factory for the first steps that lead toStepVerifier
test utility to verify each step in the lifecycle of asynchronous sourcesPublisher
,Single
, andCompletable
.The steps are typically from the perspective of a
PublisherSource.Subscriber
's lifecycle.
-
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static CompletableFirstStep
stepVerifier(Completable source)
Deprecated.UseStepVerifiers.create(Completable)
instead.static <T> PublisherFirstStep<T>
stepVerifier(Publisher<T> source)
Deprecated.UseStepVerifiers.create(Publisher)
instead.static <T> SingleFirstStep<T>
stepVerifier(Single<T> source)
Deprecated.UseStepVerifiers.create(Single)
instead.static CompletableFirstStep
stepVerifierForSource(CompletableSource source)
Deprecated.UseStepVerifiers.createForSource(CompletableSource)
instead.static <T> PublisherFirstStep<T>
stepVerifierForSource(PublisherSource<T> source)
Deprecated.UseStepVerifiers.createForSource(PublisherSource)
instead.static <T> SingleFirstStep<T>
stepVerifierForSource(SingleSource<T> source)
Deprecated.UseStepVerifiers.createForSource(SingleSource)
instead.
-
-
-
Method Detail
-
stepVerifier
@Deprecated public static <T> PublisherFirstStep<T> stepVerifier(Publisher<T> source)
Deprecated.UseStepVerifiers.create(Publisher)
instead.Create a newPublisherFirstStep
.- Type Parameters:
T
- The type ofPublisher
.- Parameters:
source
- ThePublisher
to verify.- Returns:
- A
PublisherFirstStep
that can be used to verifysource
's signal emission(s).
-
stepVerifierForSource
@Deprecated public static <T> PublisherFirstStep<T> stepVerifierForSource(PublisherSource<T> source)
Deprecated.UseStepVerifiers.createForSource(PublisherSource)
instead.Create a newPublisherFirstStep
.- Type Parameters:
T
- The type ofPublisherSource
.- Parameters:
source
- ThePublisherSource
to verify.- Returns:
- A
PublisherFirstStep
that can be used to verifysource
's signal emission(s).
-
stepVerifier
@Deprecated public static <T> SingleFirstStep<T> stepVerifier(Single<T> source)
Deprecated.UseStepVerifiers.create(Single)
instead.Create a newSingleFirstStep
.- Type Parameters:
T
- The type ofSingle
.- Parameters:
source
- TheSingle
to verify.- Returns:
- A
SingleFirstStep
that can be used to verifysource
's signal emission(s).
-
stepVerifierForSource
@Deprecated public static <T> SingleFirstStep<T> stepVerifierForSource(SingleSource<T> source)
Deprecated.UseStepVerifiers.createForSource(SingleSource)
instead.Create a newSingleFirstStep
.- Type Parameters:
T
- The type ofSingleSource
.- Parameters:
source
- TheSingleSource
to verify.- Returns:
- A
SingleFirstStep
that can be used to verifysource
's signal emission(s).
-
stepVerifier
@Deprecated public static CompletableFirstStep stepVerifier(Completable source)
Deprecated.UseStepVerifiers.create(Completable)
instead.Create a newCompletableFirstStep
.- Parameters:
source
- TheCompletable
to verify.- Returns:
- A
CompletableFirstStep
that can be used to verifysource
's signal emission(s).
-
stepVerifierForSource
@Deprecated public static CompletableFirstStep stepVerifierForSource(CompletableSource source)
Deprecated.UseStepVerifiers.createForSource(CompletableSource)
instead.Create a newCompletableFirstStep
.- Parameters:
source
- TheCompletableSource
to verify.- Returns:
- A
CompletableFirstStep
that can be used to verifysource
's signal emission(s).
-
-