程序包 | 说明 |
---|---|
reactor.test.publisher |
Components supporting the creation of test-oriented
Publishers . |
限定符和类型 | 方法和说明 |
---|---|
static TestPublisher.Violation |
TestPublisher.Violation.valueOf(java.lang.String name)
返回带有指定名称的该类型的枚举常量。
|
static TestPublisher.Violation[] |
TestPublisher.Violation.values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
限定符和类型 | 方法和说明 |
---|---|
static <T> TestPublisher<T> |
TestPublisher.createColdNonCompliant(boolean errorOnOverflow,
TestPublisher.Violation firstViolation,
TestPublisher.Violation... otherViolations)
Create a cold
TestPublisher , which can be subscribed to by multiple
subscribers. |
static <T> TestPublisher<T> |
TestPublisher.createColdNonCompliant(boolean errorOnOverflow,
TestPublisher.Violation firstViolation,
TestPublisher.Violation... otherViolations)
Create a cold
TestPublisher , which can be subscribed to by multiple
subscribers. |
static <T> TestPublisher<T> |
TestPublisher.createNoncompliant(TestPublisher.Violation first,
TestPublisher.Violation... rest)
Create a
noncompliant hot TestPublisher
with a given set of reactive streams spec violations that will be overlooked. |
static <T> TestPublisher<T> |
TestPublisher.createNoncompliant(TestPublisher.Violation first,
TestPublisher.Violation... rest)
Create a
noncompliant hot TestPublisher
with a given set of reactive streams spec violations that will be overlooked. |