-
- All Implemented Interfaces:
public final class StepVerifierExtensionsKt
-
-
Method Summary
Modifier and Type Method Description final static StepVerifier
expectError(StepVerifier.LastStep $self, KClass<out Throwable> kClass)
Extension for StepVerifier.LastStep.expectError providing a KClass based variant. final static <T extends Throwable> StepVerifier
expectError(StepVerifier.LastStep $self)
Extension for StepVerifier.LastStep.expectError providing a expectError<Foo>()
variant.final static Duration
verifyError(StepVerifier.LastStep $self, KClass<out Throwable> kClass)
Extension for StepVerifier.LastStep.verifyError providing a KClass based variant. final static <T extends Throwable> Duration
verifyError(StepVerifier.LastStep $self)
Extension for StepVerifier.LastStep.verifyError providing a verifyError<Foo>()
variant.final static StepVerifier.Assertions
hasDroppedErrorOfType(StepVerifier.Assertions $self, KClass<out Throwable> kClass)
Extension for StepVerifier.Assertions.hasDroppedErrorOfType providing a KClass based variant. final static <T extends Throwable> StepVerifier.Assertions
hasDroppedErrorOfType(StepVerifier.Assertions $self)
Extension for StepVerifier.Assertions.hasDroppedErrorOfType providing a hasDroppedErrorOfType<Foo>()
variant.final static StepVerifier.Assertions
hasOperatorErrorOfType(StepVerifier.Assertions $self, KClass<out Throwable> kClass)
Extension for StepVerifier.Assertions.hasOperatorErrorOfType providing a KClass based variant. final static <T extends Throwable> StepVerifier.Assertions
hasOperatorErrorOfType(StepVerifier.Assertions $self)
Extension for StepVerifier.Assertions.hasOperatorErrorOfType providing a hasOperatorErrorOfType<Foo>()
variant.final static <T extends Any> StepVerifier.FirstStep<T>
test(Flux<T> $self)
Extension for testing Flux with StepVerifier API. final static <T extends Any> StepVerifier.FirstStep<T>
test(Flux<T> $self, Long n)
Extension for testing Flux with StepVerifier API. final static <T extends Any> StepVerifier.FirstStep<T>
test(Flux<T> $self, StepVerifierOptions options)
Extension for testing Flux with StepVerifier API. final static <T extends Any> StepVerifier.FirstStep<T>
test(Mono<T> $self)
Extension for testing Mono with StepVerifier API. final static <T extends Any> StepVerifier.FirstStep<T>
test(Mono<T> $self, Long n)
Extension for testing Mono with StepVerifier API. final static <T extends Any> StepVerifier.FirstStep<T>
test(Mono<T> $self, StepVerifierOptions options)
Extension for testing Mono with StepVerifier API. final static <T extends Any> StepVerifier.FirstStep<T>
testUsingVirtualTime(Function0<Publisher<T>> $self)
Extension for testing the supplied Publisher with StepVerifier API, using a VirtualTimeScheduler. final static <T extends Any> StepVerifier.FirstStep<T>
testUsingVirtualTime(Function0<Publisher<T>> $self, Long n)
Extension for testing the supplied Publisher with StepVerifier API, using a VirtualTimeScheduler. final static <T extends Any> StepVerifier.FirstStep<T>
testUsingVirtualTime(Publisher<T> $self, Function0<VirtualTimeScheduler> vtsLookup, Long n)
Extension for testing a Publisher with StepVerifier API, using a VirtualTimeScheduler. final static <T extends Any> StepVerifier.FirstStep<T>
testUsingVirtualTime(Publisher<T> $self, StepVerifierOptions options)
Extension for testing a Publisher with StepVerifier API, using a VirtualTimeScheduler. -
-
Method Detail
-
expectError
final static StepVerifier expectError(StepVerifier.LastStep $self, KClass<out Throwable> kClass)
Extension for StepVerifier.LastStep.expectError providing a KClass based variant.
-
expectError
final static <T extends Throwable> StepVerifier expectError(StepVerifier.LastStep $self)
Extension for StepVerifier.LastStep.expectError providing a
expectError<Foo>()
variant.
-
verifyError
final static Duration verifyError(StepVerifier.LastStep $self, KClass<out Throwable> kClass)
Extension for StepVerifier.LastStep.verifyError providing a KClass based variant.
-
verifyError
final static <T extends Throwable> Duration verifyError(StepVerifier.LastStep $self)
Extension for StepVerifier.LastStep.verifyError providing a
verifyError<Foo>()
variant.
-
hasDroppedErrorOfType
final static StepVerifier.Assertions hasDroppedErrorOfType(StepVerifier.Assertions $self, KClass<out Throwable> kClass)
Extension for StepVerifier.Assertions.hasDroppedErrorOfType providing a KClass based variant.
-
hasDroppedErrorOfType
final static <T extends Throwable> StepVerifier.Assertions hasDroppedErrorOfType(StepVerifier.Assertions $self)
Extension for StepVerifier.Assertions.hasDroppedErrorOfType providing a
hasDroppedErrorOfType<Foo>()
variant.
-
hasOperatorErrorOfType
final static StepVerifier.Assertions hasOperatorErrorOfType(StepVerifier.Assertions $self, KClass<out Throwable> kClass)
Extension for StepVerifier.Assertions.hasOperatorErrorOfType providing a KClass based variant.
-
hasOperatorErrorOfType
final static <T extends Throwable> StepVerifier.Assertions hasOperatorErrorOfType(StepVerifier.Assertions $self)
Extension for StepVerifier.Assertions.hasOperatorErrorOfType providing a
hasOperatorErrorOfType<Foo>()
variant.
-
test
final static <T extends Any> StepVerifier.FirstStep<T> test(Flux<T> $self)
Extension for testing Flux with StepVerifier API.
-
test
final static <T extends Any> StepVerifier.FirstStep<T> test(Flux<T> $self, Long n)
Extension for testing Flux with StepVerifier API.
-
test
final static <T extends Any> StepVerifier.FirstStep<T> test(Flux<T> $self, StepVerifierOptions options)
Extension for testing Flux with StepVerifier API.
-
test
final static <T extends Any> StepVerifier.FirstStep<T> test(Mono<T> $self)
Extension for testing Mono with StepVerifier API.
-
test
final static <T extends Any> StepVerifier.FirstStep<T> test(Mono<T> $self, Long n)
Extension for testing Mono with StepVerifier API.
-
test
final static <T extends Any> StepVerifier.FirstStep<T> test(Mono<T> $self, StepVerifierOptions options)
Extension for testing Mono with StepVerifier API.
-
testUsingVirtualTime
final static <T extends Any> StepVerifier.FirstStep<T> testUsingVirtualTime(Function0<Publisher<T>> $self)
Extension for testing the supplied Publisher with StepVerifier API, using a VirtualTimeScheduler.
-
testUsingVirtualTime
final static <T extends Any> StepVerifier.FirstStep<T> testUsingVirtualTime(Function0<Publisher<T>> $self, Long n)
Extension for testing the supplied Publisher with StepVerifier API, using a VirtualTimeScheduler.
-
testUsingVirtualTime
final static <T extends Any> StepVerifier.FirstStep<T> testUsingVirtualTime(Publisher<T> $self, Function0<VirtualTimeScheduler> vtsLookup, Long n)
Extension for testing a Publisher with StepVerifier API, using a VirtualTimeScheduler.
-
testUsingVirtualTime
final static <T extends Any> StepVerifier.FirstStep<T> testUsingVirtualTime(Publisher<T> $self, StepVerifierOptions options)
Extension for testing a Publisher with StepVerifier API, using a VirtualTimeScheduler.
-
-
-
-