接口 | 说明 |
---|---|
MockUtils.TestScannableConditionalSubscriber<T> |
An interface that can be used to mock a
Scannable
Fuseable.ConditionalSubscriber . |
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<T> |
Allow to set expectations about the
Context propagated during the Subscription
phase. |
StepVerifier.FirstStep<T> |
Define a builder for explicitly expecting an initializing
Subscription as
first signal. |
StepVerifier.LastStep |
Define a builder for terminal states.
|
StepVerifier.Step<T> |
Define a builder for expecting main sequence individual signals.
|
ValueFormatters.Extractor<CONTAINER> |
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 . |
类 | 说明 |
---|---|
AssertionsUtils |
Utilities around assertions in core tests, eg.
|
AutoDisposingExtension |
A JUnit
Extension that exposes a way to automatically cleanup arbitrary
Disposable instances after a test, in a fluent fashion. |
DefaultContextExpectationsTest | |
DefaultStepVerifierBuilderTests | |
FakeDisposable | |
MemoryUtils |
Test utility around memory, references, leaks and retained object detection.
|
MemoryUtils.OffHeapDetector |
A utility class to check that some
MemoryUtils.Tracked objects (emulating off heap objects)
are explicitly released. |
MemoryUtils.RetainedDetector |
A utility class to check that some tracked object are finalized, by way of tracking
them through a
PhantomReference . |
MemoryUtils.Tracked |
An object emulating off-heap objects that need to be manually
released . |
MessageFormatterTest | |
MockUtils |
Test utilities that helps with mocking.
|
MockUtils.TestScannableConnectableFlux<T> |
An abstract class that can be used to mock a
Scannable ConnectableFlux . |
MockUtils.VirtualClock |
A
Clock that can be manipulated, to be used in tests. |
StepVerifierAssertionsTests | |
StepVerifierDefaultTimeoutTests | |
StepVerifierOptions |
Options for a
StepVerifier , including the initial request amount,
VirtualTimeScheduler supplier and toggles for some checks. |
StepVerifierTests | |
StepVerifierTimeoutTests | |
TestBestPracticesArchTest | |
ValueFormatters |
An utility class to create
ValueFormatters.ToStringConverter Function that convert objects to String . |
ValueFormattersTest |
注释类型 | 说明 |
---|---|
ParameterizedTestWithName |
Meta-annotation that provides a better default for
ParameterizedTest name. |