Uses of Class
io.reactivex.rxjava3.observers.TestObserver
-
Packages that use TestObserver Package Description io.reactivex.rxjava3.core Base reactive classes:Flowable,Observable,Single,MaybeandCompletable; base reactive consumers; other common base interfaces.io.reactivex.rxjava3.observers Default wrappers and implementations for observer-based consumer classes and interfaces, including disposable and resource-tracking variants and theTestObserverthat allows unit testingObservable-,Single-,Maybe- andCompletable-based flows. -
-
Uses of TestObserver in io.reactivex.rxjava3.core
Methods in io.reactivex.rxjava3.core that return TestObserver Modifier and Type Method Description @NonNull TestObserver<java.lang.Void>Completable. test()Creates aTestObserverand subscribes it to thisCompletable.@NonNull TestObserver<java.lang.Void>Completable. test(boolean dispose)Creates aTestObserveroptionally in cancelled state, then subscribes it to thisCompletable.@NonNull TestObserver<T>Maybe. test()Creates aTestObserverand subscribes it to thisMaybe.@NonNull TestObserver<T>Maybe. test(boolean dispose)Creates aTestObserveroptionally in cancelled state, then subscribes it to thisMaybe.@NonNull TestObserver<T>Observable. test()Creates aTestObserverand subscribes it to the currentObservable.@NonNull TestObserver<T>Observable. test(boolean dispose)Creates aTestObserver, optionally disposes it and then subscribes it to the currentObservable.@NonNull TestObserver<T>Single. test()Creates aTestObserverand subscribes it to thisSingle.@NonNull TestObserver<T>Single. test(boolean dispose)Creates aTestObserveroptionally in cancelled state, then subscribes it to thisSingle. -
Uses of TestObserver in io.reactivex.rxjava3.observers
Methods in io.reactivex.rxjava3.observers that return TestObserver Modifier and Type Method Description protected @NonNull TestObserver<T>TestObserver. assertSubscribed()Assert that theonSubscribe(Disposable)method was called exactly once.static <T> @NonNull TestObserver<T>TestObserver. create()Constructs a non-forwardingTestObserver.static <T> @NonNull TestObserver<T>TestObserver. create(@NonNull Observer<? super T> delegate)Constructs a forwardingTestObserver.
-