public class FluxTests extends AbstractReactorTest
构造器和说明 |
---|
FluxTests() |
closeEnv, loadEnv
@Test public void discardLocalMultipleFilters()
@Test public void discardLocalOrder()
@Test public void delayErrorConcatMapVsFlatMap()
@Test public void delayErrorConcatMapVsFlatMapTwoErrors()
@Test public void testDoOnEachSignal()
@Test public void testDoOnEachSignalSingleNextInstance()
@Test public void testDoOnEachSignalWithError()
@Test public void testDoOnEachSignalNullConsumer()
@Test public void testDoOnEachSignalToSubscriber()
@Test public void testThenPublisherVoid() throws java.lang.InterruptedException
java.lang.InterruptedException
@Test public void testComposeFromSingleValue() throws java.lang.InterruptedException
java.lang.InterruptedException
@Test public void testComposeFromMultipleValues() throws java.lang.InterruptedException
java.lang.InterruptedException
@Test public void testComposeFromMultipleFilteredValues() throws java.lang.InterruptedException
java.lang.InterruptedException
@Test public void testComposedErrorHandlingWithMultipleValues() throws java.lang.InterruptedException
java.lang.InterruptedException
@Test public void testReduce() throws java.lang.InterruptedException
java.lang.InterruptedException
@Test public void testMerge() throws java.lang.InterruptedException
java.lang.InterruptedException
@Test public void testStreamBatchesResults()
@Test public void testHandlersErrorsDownstream() throws java.lang.InterruptedException
java.lang.InterruptedException
@Test public void promiseAcceptCountCannotExceedOne()
@Test public void promiseErrorCountCannotExceedOne()
@Test public void promiseAcceptCountAndErrorCountCannotExceedOneInTotal()
@Test public void analyticsTest() throws java.lang.Exception
java.lang.Exception
@Test @Tag(value="slow") public void parallelTests() throws java.lang.InterruptedException
java.lang.InterruptedException
@Test public void partitionByHashCodeShouldNeverCreateMoreStreamsThanSpecified() throws java.lang.Exception
java.lang.Exception
- for conveniencepublic void shouldNotFlushStreamOnTimeoutPrematurelyAndShouldDoItConsistently() throws java.lang.Exception
java.lang.Exception
- for convenience@Test public void shouldNotFlushStreamOnTimeoutPrematurely() throws java.lang.Exception
java.lang.Exception
- for convenience@Test public void prematureFlatMapCompletion() throws java.lang.Exception
java.lang.Exception
@Test public void cancelOn() throws java.lang.Exception
java.lang.Exception
@Test public void sequenceEqual() throws java.lang.Exception
java.lang.Exception
@Test public void zipOfNull()
@Test public void shouldCorrectlyDispatchComplexFlow() throws java.lang.InterruptedException
java.lang.InterruptedException
@Test public void testParallelAsyncStream2() throws java.lang.InterruptedException
java.lang.InterruptedException
@Test public void testParallelWithJava8StreamsInput() throws java.lang.InterruptedException
java.lang.InterruptedException
- on interrupt@Test public void testBeyondLongMaxMicroBatching() throws java.lang.InterruptedException
java.lang.InterruptedException
@Test public void shouldWindowCorrectly() throws java.lang.InterruptedException
java.lang.InterruptedException
@Test public void shouldCorrectlyDispatchBatchedTimeout() throws java.lang.InterruptedException
java.lang.InterruptedException
@Test public void mapLotsOfSubAndCancel() throws java.lang.InterruptedException
java.lang.InterruptedException
public void mapPassThru() throws java.lang.InterruptedException
java.lang.InterruptedException
@Test public void consistentMultithreadingWithPartition() throws java.lang.InterruptedException
java.lang.InterruptedException
@Test public void fluxCreateDemoElasticScheduler() throws java.lang.Exception
java.lang.Exception
@Test public void subscribeOnDispatchOn() throws java.lang.InterruptedException
java.lang.InterruptedException
@Test public void unimplementedErrorCallback(TestLogger testLogger)
@Test public void delayEach() throws java.lang.InterruptedException
java.lang.InterruptedException
@Test public void combineWithOneElement() throws java.lang.InterruptedException, java.util.concurrent.TimeoutException
java.lang.InterruptedException
java.util.concurrent.TimeoutException
@Test @Disabled public void endLessTimer() throws java.lang.InterruptedException, java.util.concurrent.TimeoutException
Flux.interval(Duration)
when a resolution is specified that
is less than the backing Timer
class.java.lang.InterruptedException
- - on failure.java.util.concurrent.TimeoutException
- - on failure. by @masterav10 : https://github.com/reactor/reactor/issues/469
@Test @Timeout(value=10L) public void multiplexUsingDispatchersAndSplit()
forkStream / \ < - - - int v v persistenceStream computationStream \ / < - - - List< String > v v joinStream < - - - String splitStream observedSplitStream
@Test @Disabled public void splitBugEventuallyHappens() throws java.lang.Exception
java.lang.Exception
@Test public void fluxFromFluxSourceDoesntCallAssemblyHook()
@Test public void fluxFromScalarJustCallsAssemblyHook()
@Test public void fluxFromScalarErrorCallsAssemblyHook()
@Test public void fluxFromScalarEmptyCallsAssemblyHook()
@Test public void fluxFromMonoFuseableCallsAssemblyHook()
@Test public void fluxFromMonoNormalCallsAssemblyHook()
@Test public void fluxFromPublisherCallsAssemblyHook()
@Test public void fluxNextScalarEmptyCallsAssemblyHook()
@Test public void fluxNextScalarValuedCallsAssemblyHook()
@Test public void fluxNextScalarErrorCallsAssemblyHook()
@Test public void fluxNextCallableCallsAssemblyHook()
@Test public void fluxNextNormalCallsAssemblyHook()