Package | Description |
---|---|
com.github.davidmoten.rx.testing |
Modifier and Type | Method and Description |
---|---|
TestingHelper.Builder<T,R> |
TestingHelper.CaseBuilder.expect(List<R> source) |
TestingHelper.Builder<T,R> |
TestingHelper.CaseBuilder.expect(R... source) |
TestingHelper.Builder<T,R> |
TestingHelper.CaseBuilder.expectAnyOrder(R... source) |
TestingHelper.Builder<T,R> |
TestingHelper.CaseBuilder.expectEmpty() |
TestingHelper.Builder<T,R> |
TestingHelper.CaseBuilder.expectError() |
TestingHelper.Builder<T,R> |
TestingHelper.CaseBuilder.expectError(Class<? extends Throwable> cls) |
TestingHelper.Builder<T,R> |
TestingHelper.CaseBuilder.expectException(Class<? extends RuntimeException> cls) |
TestingHelper.Builder<T,R> |
TestingHelper.CaseBuilder.expectSize(long n) |
TestingHelper.Builder<T,R> |
TestingHelper.Builder.function(rx.functions.Func1<rx.Observable<T>,rx.Observable<R>> function)
Sets transformation to be tested and returns the current builder.
|
static <T,R> TestingHelper.Builder<T,R> |
TestingHelper.function(rx.functions.Func1<rx.Observable<T>,rx.Observable<R>> function)
Sets the transformation to be tested and returns a builder to create test
cases.
|
TestingHelper.Builder<T,R> |
TestingHelper.Builder.waitForMoreTerminalEvents(long duration,
TimeUnit unit)
Sets duration to wait for more terminal events after one has been
received.
|
TestingHelper.Builder<T,R> |
TestingHelper.Builder.waitForTerminalEvent(long duration,
TimeUnit unit)
Sets duration to wait for a terminal event (completed or error) when
one is expected.
|
TestingHelper.Builder<T,R> |
TestingHelper.Builder.waitForUnsubscribe(long duration,
TimeUnit unit)
Sets duration to wait for unusubscription to occur (either of source
or of downstream subscriber).
|
Copyright © 2013–2016. All rights reserved.