程序包 | 说明 |
---|---|
reactor.core.publisher | |
reactor.core.scheduler |
Scheduler contract and static
registry and factory methods in Schedulers . |
reactor.test |
Main test components supporting the testing and assertion of publishers.
|
reactor.test.publisher |
Components supporting the creation of test-oriented
Publishers . |
类和说明 |
---|
AutoDisposingExtension
A JUnit
Extension that exposes a way to automatically cleanup arbitrary
Disposable instances after a test, in a fluent fashion. |
ParameterizedTestWithName
Meta-annotation that provides a better default for
ParameterizedTest name. |
类和说明 |
---|
AutoDisposingExtension
A JUnit
Extension that exposes a way to automatically cleanup arbitrary
Disposable instances after a test, in a fluent fashion. |
ParameterizedTestWithName
Meta-annotation that provides a better default for
ParameterizedTest name. |
类和说明 |
---|
MemoryUtils.Tracked
An object emulating off-heap objects that need to be manually
released . |
StepVerifier
A
StepVerifier provides a declarative way of creating a verifiable script for
an async Publisher sequence, by expressing expectations about the events that
will happen upon subscription. |
StepVerifier.Assertions
Exposes post-verification state assertions.
|
StepVerifier.ContextExpectations
Allow to set expectations about the
Context propagated during the Subscription
phase. |
StepVerifier.FirstStep
Define a builder for explicitly expecting an initializing
Subscription as
first signal. |
StepVerifier.LastStep
Define a builder for terminal states.
|
StepVerifier.Step
Define a builder for expecting main sequence individual signals.
|
StepVerifierOptions
Options for a
StepVerifier , including the initial request amount,
VirtualTimeScheduler supplier and toggles for some checks. |
ValueFormatters.Extractor
An extractor of data wrapped in a
BiFunction aiming at producing a customized String
representation of a container type and its contained elements, each element being
potentially itself converted to String using a ValueFormatters.ToStringConverter :
it only considers specific container types, see ValueFormatters.Extractor.getTargetClass()
it can further filter these container instances using ValueFormatters.Extractor.matches(Object)
it can be applied to arbitrary objects, as it will default to String.valueOf(Object)
on non-matching containers
it can apply a ValueFormatters.ToStringConverter to the content, passed as the second
parameter of the BiFunction
it reconstructs the String representation of the container by
exploding it and then joining
it with {#code ", "} delimiter, as well as custom ValueFormatters.Extractor.prefix(Object) and ValueFormatters.Extractor.suffix(Object)
|
ValueFormatters.ToStringConverter
A generic
Object to String conversion Function which is
also a Predicate , and which only applies a custom conversion to targets that
match said Predicate . |
类和说明 |
---|
StepVerifier.Step
Define a builder for expecting main sequence individual signals.
|