
rx.observers.TestSubscriber.class Maven / Gradle / Ivy
???? 2?
o
????????
! "#$
%
&'()#*(+ ,#-.
"/
"0
"1234
"567
"8
9(:
;<=>
?@AB
?C
DEFGH
IJKLM
>NOPQ(RS
TU
VW
X
Y
Z[\]^_`
Qab
Tc
Qd
Defghijklmn
op
q
rs
tu
"vw
"xyz
{(|}
m~ InnerClasses delegate
Lrx/Observer; Signature Lrx/Observer; values Ljava/util/List; Ljava/util/List; errors 'Ljava/util/List; completions I latch %Ljava/util/concurrent/CountDownLatch;
valueCount lastSeenThread Ljava/lang/Thread; INERT !Lrx/Observer; (J)V Code LineNumberTable LocalVariableTable this Lrx/observers/TestSubscriber; initialRequest J LocalVariableTypeTable "Lrx/observers/TestSubscriber; (Lrx/Observer;J)V
StackMapTable (Lrx/Observer;J)V (Lrx/Subscriber;)V Lrx/Subscriber; Lrx/Subscriber; (Lrx/Subscriber;)V (Lrx/Observer;)V (Lrx/Observer;)V ()V create ()Lrx/observers/TestSubscriber; :()Lrx/observers/TestSubscriber; (J)Lrx/observers/TestSubscriber; ;(J)Lrx/observers/TestSubscriber; -(Lrx/Observer;J)Lrx/observers/TestSubscriber; M(Lrx/Observer;J)Lrx/observers/TestSubscriber; .(Lrx/Subscriber;)Lrx/observers/TestSubscriber; N(Lrx/Subscriber;)Lrx/observers/TestSubscriber; ,(Lrx/Observer;)Lrx/observers/TestSubscriber; L(Lrx/Observer;)Lrx/observers/TestSubscriber; onCompletedh getOnCompletedEvents ()Ljava/util/List; i c result (Ljava/util/List;>;?
Deprecated *()Ljava/util/List;>; RuntimeVisibleAnnotations Ljava/lang/Deprecated; getCompletions ()I RuntimeInvisibleAnnotations Lrx/annotations/Experimental; onError (Ljava/lang/Throwable;)V e Ljava/lang/Throwable; getOnErrorEvents )()Ljava/util/List; onNext (Ljava/lang/Object;)V t Ljava/lang/Object; TT; (TT;)V
getValueCount requestMore n getOnNextEvents ()Ljava/util/List; assertReceivedOnNext (Ljava/util/List;)V items (Ljava/util/List;)V
assertItem (Ljava/lang/Object;I)V expected actual?.? (TT;I)V awaitValueCount $(IJLjava/util/concurrent/TimeUnit;)Z Ljava/lang/InterruptedException; timeout unit Ljava/util/concurrent/TimeUnit;K assertTerminalEvent assertUnsubscribed assertNoErrors
onErrorEvents awaitTerminalEvent #(JLjava/util/concurrent/TimeUnit;)V )awaitTerminalEventAndUnsubscribeOnTimeout Z getLastSeenThread ()Ljava/lang/Thread; assertCompleted s assertNotCompleted assertError (Ljava/lang/Class;)V ae Ljava/lang/AssertionError; clazz Ljava/lang/Class; err )Ljava/lang/Class<+Ljava/lang/Throwable;>; ,(Ljava/lang/Class<+Ljava/lang/Throwable;>;)V throwable assertNoTerminalEvent assertNoValues assertValueCount (I)V count assertValues ([Ljava/lang/Object;)V [Ljava/lang/Object; [TT; ([TT;)V assertValue value assertionError (Ljava/lang/String;)V size message Ljava/lang/String; b Ljava/lang/StringBuilder;_ assertValuesAndClear ((Ljava/lang/Object;[Ljava/lang/Object;)V expectedFirstValue expectedRestValues
(TT;[TT;)V *Lrx/Subscriber;
SourceFile TestSubscriber.java ? s ? ? ? ? #java/util/concurrent/CountDownLatch ? ? } ~ java/lang/NullPointerException r s? ? java/util/ArrayList v w y w ? ? rx/observers/TestSubscriber ? ? ? ? { |?? ? ? ? ? ?? ??????? ? ? ? | ? ? java/lang/StringBuilder *Number of items does not match. Provided: ????
Actual: .
Provided values: ??
Actual values: ?? ? ??? ? ? Value at index: ! expected to be [null] but was: [ ]
??? expected to be [ ] (????? ) but was: [ null )
?? ? java/lang/InterruptedException java/lang/IllegalStateException Interrupted ?? Too many onError events: Too many onCompleted events: EReceived both an onError and onCompleted. Should be one or the other.?? No terminal events received.?? Not unsubscribed. ? ? Unexpected onError events? ???? ? Not completed! Completed multiple times:
Completed! No errors java/lang/AssertionError Multiple errors: ? ? rx/exceptions/CompositeException ?????? Exceptions differ; expected:
, actual: java/lang/Throwable Multiple errors Found errors and " completion events instead of none -No onNext events expected yet some received: *Number of onNext events differ; expected: ??? ? ?????? ? ( completion?? (+ error ? ?? ? rx/observers/TestSubscriber$1
rx/Subscriber rx/Observer java/util/List java/lang/Object java/lang/String request java/lang/Thread
currentThread countDown rx/Notification createOnCompleted ()Lrx/Notification; add (Ljava/lang/Object;)Z append -(Ljava/lang/String;)Ljava/lang/StringBuilder; (I)Ljava/lang/StringBuilder; -(Ljava/lang/Object;)Ljava/lang/StringBuilder; toString ()Ljava/lang/String; get (I)Ljava/lang/Object; equals getClass ()Ljava/lang/Class; java/lang/Class
getSimpleName java/util/concurrent/TimeUnit sleep *(Ljava/lang/String;Ljava/lang/Throwable;)V isEmpty ()Z isUnsubscribed await #(JLjava/util/concurrent/TimeUnit;)Z unsubscribe (Ljava/util/Collection;)V initCause ,(Ljava/lang/Throwable;)Ljava/lang/Throwable;
isInstance java/util/Arrays asList %([Ljava/lang/Object;)Ljava/util/List; java/util/Collections
singletonList $(Ljava/lang/Object;)Ljava/util/List; length (C)Ljava/lang/StringBuilder; clear ! o r s t u v w t x y w t z { | } ~ B | B ? ? ? s t ? ) ? ? ? S *? ? ? ?
L M ? ? ? ? ? ? ? ? ? ? ? ? C*? *? Y? ? +? ? Y? ?*+? ?? * ?
*? Y? ?
*? Y? ? ? ? *
X * Y Z \ ! ] ' ^ , a 7 b B c ? C ? ? C r s C ? ? ? C ? ? C r u ? ? ? ? t ? ? ? ? ] *+ ? ? ?
m n ? ? ? r ? ? ? ? r ? t ? ? ? ? ] *+ ? ? ?
x y ? ? ? r s ? ? ? r u t ? ? ? ? H * ? ? ?
? ? ? ? ? ? ? ? ? ? ? Y? ? ? ? t ? ? ? ? 3 ? Y? ? ? ? ? ? ? t ? ? ? ? P
? Y*? ? ? ? ?
r s
? ? ?
r u t ? ? ? ? E ? Y*? ? ? ? ? r ? ? r ? t ? ? ? ? E ? Y*? ? ? ? ? r s ? r u t ? ? ? ? ? /*Y? `? *? ? *? ? *? ? ?
L*? ? +?? $ $ % $ ? ?
? ? ? ! ? $ ? . ? ? / ? ? ? / ? ? ? d ? ? ? ? ? /*?