public abstract class io.reactivex.observers.BaseTestConsumer<T, U extends io.reactivex.observers.BaseTestConsumer<T, U>> implements io.reactivex.disposables.Disposable
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: io.reactivex.observers.BaseTestConsumer
super_class: java.lang.Object
{
protected final java.util.concurrent.CountDownLatch done;
descriptor: Ljava/util/concurrent/CountDownLatch;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected final java.util.List<T> values;
descriptor: Ljava/util/List;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Signature: Ljava/util/List<TT;>;
protected final java.util.List<java.lang.Throwable> errors;
descriptor: Ljava/util/List;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Signature: Ljava/util/List<Ljava/lang/Throwable;>;
protected long completions;
descriptor: J
flags: (0x0004) ACC_PROTECTED
protected java.lang.Thread lastThread;
descriptor: Ljava/lang/Thread;
flags: (0x0004) ACC_PROTECTED
protected boolean checkSubscriptionOnce;
descriptor: Z
flags: (0x0004) ACC_PROTECTED
protected int initialFusionMode;
descriptor: I
flags: (0x0004) ACC_PROTECTED
protected int establishedFusionMode;
descriptor: I
flags: (0x0004) ACC_PROTECTED
protected java.lang.CharSequence tag;
descriptor: Ljava/lang/CharSequence;
flags: (0x0004) ACC_PROTECTED
protected boolean timeout;
descriptor: Z
flags: (0x0004) ACC_PROTECTED
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new io.reactivex.internal.util.VolatileSizeArrayList
dup
invokespecial io.reactivex.internal.util.VolatileSizeArrayList.<init>:()V
putfield io.reactivex.observers.BaseTestConsumer.values:Ljava/util/List;
2: aload 0
new io.reactivex.internal.util.VolatileSizeArrayList
dup
invokespecial io.reactivex.internal.util.VolatileSizeArrayList.<init>:()V
putfield io.reactivex.observers.BaseTestConsumer.errors:Ljava/util/List;
3: aload 0
new java.util.concurrent.CountDownLatch
dup
iconst_1
invokespecial java.util.concurrent.CountDownLatch.<init>:(I)V
putfield io.reactivex.observers.BaseTestConsumer.done:Ljava/util/concurrent/CountDownLatch;
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/reactivex/observers/BaseTestConsumer<TT;TU;>;
public final java.lang.Thread lastThread();
descriptor: ()Ljava/lang/Thread;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.reactivex.observers.BaseTestConsumer.lastThread:Ljava/lang/Thread;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/reactivex/observers/BaseTestConsumer<TT;TU;>;
public final java.util.List<T> values();
descriptor: ()Ljava/util/List;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.reactivex.observers.BaseTestConsumer.values:Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/reactivex/observers/BaseTestConsumer<TT;TU;>;
Signature: ()Ljava/util/List<TT;>;
public final java.util.List<java.lang.Throwable> errors();
descriptor: ()Ljava/util/List;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.reactivex.observers.BaseTestConsumer.errors:Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/reactivex/observers/BaseTestConsumer<TT;TU;>;
Signature: ()Ljava/util/List<Ljava/lang/Throwable;>;
public final long completions();
descriptor: ()J
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield io.reactivex.observers.BaseTestConsumer.completions:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/reactivex/observers/BaseTestConsumer<TT;TU;>;
public final boolean isTerminated();
descriptor: ()Z
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield io.reactivex.observers.BaseTestConsumer.done:Ljava/util/concurrent/CountDownLatch;
invokevirtual java.util.concurrent.CountDownLatch.getCount:()J
lconst_0
lcmp
ifne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/reactivex/observers/BaseTestConsumer<TT;TU;>;
public final int valueCount();
descriptor: ()I
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.reactivex.observers.BaseTestConsumer.values:Ljava/util/List;
invokeinterface java.util.List.size:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/reactivex/observers/BaseTestConsumer<TT;TU;>;
public final int errorCount();
descriptor: ()I
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.reactivex.observers.BaseTestConsumer.errors:Ljava/util/List;
invokeinterface java.util.List.size:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/reactivex/observers/BaseTestConsumer<TT;TU;>;
protected final java.lang.AssertionError fail(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/AssertionError;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=4, locals=6, args_size=2
start local 0 start local 1 0: new java.lang.StringBuilder
dup
bipush 64
aload 1
invokevirtual java.lang.String.length:()I
iadd
invokespecial java.lang.StringBuilder.<init>:(I)V
astore 2
start local 2 1: aload 2
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
2: aload 2
ldc " ("
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
3: ldc "latch = "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield io.reactivex.observers.BaseTestConsumer.done:Ljava/util/concurrent/CountDownLatch;
invokevirtual java.util.concurrent.CountDownLatch.getCount:()J
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
ldc ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
4: ldc "values = "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield io.reactivex.observers.BaseTestConsumer.values:Ljava/util/List;
invokeinterface java.util.List.size:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
5: ldc "errors = "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield io.reactivex.observers.BaseTestConsumer.errors:Ljava/util/List;
invokeinterface java.util.List.size:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
6: ldc "completions = "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield io.reactivex.observers.BaseTestConsumer.completions:J
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
pop
7: aload 0
getfield io.reactivex.observers.BaseTestConsumer.timeout:Z
ifeq 9
8: aload 2
ldc ", timeout!"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
9: StackMap locals: java.lang.StringBuilder
StackMap stack:
aload 0
invokevirtual io.reactivex.observers.BaseTestConsumer.isDisposed:()Z
ifeq 11
10: aload 2
ldc ", disposed!"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
11: StackMap locals:
StackMap stack:
aload 0
getfield io.reactivex.observers.BaseTestConsumer.tag:Ljava/lang/CharSequence;
astore 3
start local 3 12: aload 3
ifnull 15
13: aload 2
ldc ", tag = "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
14: aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/CharSequence;)Ljava/lang/StringBuilder;
pop
15: StackMap locals: java.lang.CharSequence
StackMap stack:
aload 2
16: bipush 41
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
17: new java.lang.AssertionError
dup
aload 2
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
astore 4
start local 4 18: aload 0
getfield io.reactivex.observers.BaseTestConsumer.errors:Ljava/util/List;
invokeinterface java.util.List.isEmpty:()Z
ifne 24
19: aload 0
getfield io.reactivex.observers.BaseTestConsumer.errors:Ljava/util/List;
invokeinterface java.util.List.size:()I
iconst_1
if_icmpne 22
20: aload 4
aload 0
getfield io.reactivex.observers.BaseTestConsumer.errors:Ljava/util/List;
iconst_0
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.Throwable
invokevirtual java.lang.AssertionError.initCause:(Ljava/lang/Throwable;)Ljava/lang/Throwable;
pop
21: goto 24
22: StackMap locals: java.lang.AssertionError
StackMap stack:
new io.reactivex.exceptions.CompositeException
dup
aload 0
getfield io.reactivex.observers.BaseTestConsumer.errors:Ljava/util/List;
invokespecial io.reactivex.exceptions.CompositeException.<init>:(Ljava/lang/Iterable;)V
astore 5
start local 5 23: aload 4
aload 5
invokevirtual java.lang.AssertionError.initCause:(Ljava/lang/Throwable;)Ljava/lang/Throwable;
pop
end local 5 24: StackMap locals:
StackMap stack:
aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 25 0 this Lio/reactivex/observers/BaseTestConsumer<TT;TU;>;
0 25 1 message Ljava/lang/String;
1 25 2 b Ljava/lang/StringBuilder;
12 25 3 tag Ljava/lang/CharSequence;
18 25 4 ae Ljava/lang/AssertionError;
23 24 5 ce Lio/reactivex/exceptions/CompositeException;
MethodParameters:
Name Flags
message
public final U await();
descriptor: ()Lio/reactivex/observers/BaseTestConsumer;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield io.reactivex.observers.BaseTestConsumer.done:Ljava/util/concurrent/CountDownLatch;
invokevirtual java.util.concurrent.CountDownLatch.getCount:()J
lconst_0
lcmp
ifne 2
1: aload 0
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield io.reactivex.observers.BaseTestConsumer.done:Ljava/util/concurrent/CountDownLatch;
invokevirtual java.util.concurrent.CountDownLatch.await:()V
3: aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/reactivex/observers/BaseTestConsumer<TT;TU;>;
Exceptions:
throws java.lang.InterruptedException
Signature: ()TU;
public final boolean await(long, java.util.concurrent.TimeUnit);
descriptor: (JLjava/util/concurrent/TimeUnit;)Z
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=4, locals=5, args_size=3
start local 0 start local 1 start local 3 0: aload 0
getfield io.reactivex.observers.BaseTestConsumer.done:Ljava/util/concurrent/CountDownLatch;
invokevirtual java.util.concurrent.CountDownLatch.getCount:()J
lconst_0
lcmp
ifeq 1
aload 0
getfield io.reactivex.observers.BaseTestConsumer.done:Ljava/util/concurrent/CountDownLatch;
lload 1
aload 3
invokevirtual java.util.concurrent.CountDownLatch.await:(JLjava/util/concurrent/TimeUnit;)Z
ifne 1
iconst_0
goto 2
StackMap locals:
StackMap stack:
1: iconst_1
StackMap locals:
StackMap stack: int
2: istore 4
start local 4 3: aload 0
iload 4
ifeq 4
iconst_0
goto 5
StackMap locals: io.reactivex.observers.BaseTestConsumer long java.util.concurrent.TimeUnit int
StackMap stack: io.reactivex.observers.BaseTestConsumer
4: iconst_1
StackMap locals: io.reactivex.observers.BaseTestConsumer long java.util.concurrent.TimeUnit int
StackMap stack: io.reactivex.observers.BaseTestConsumer int
5: putfield io.reactivex.observers.BaseTestConsumer.timeout:Z
6: iload 4
ireturn
end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lio/reactivex/observers/BaseTestConsumer<TT;TU;>;
0 7 1 time J
0 7 3 unit Ljava/util/concurrent/TimeUnit;
3 7 4 d Z
Exceptions:
throws java.lang.InterruptedException
MethodParameters:
Name Flags
time
unit
public final U assertComplete();
descriptor: ()Lio/reactivex/observers/BaseTestConsumer;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
getfield io.reactivex.observers.BaseTestConsumer.completions:J
lstore 1
start local 1 1: lload 1
lconst_0
lcmp
ifne 3
2: aload 0
ldc "Not completed"
invokevirtual io.reactivex.observers.BaseTestConsumer.fail:(Ljava/lang/String;)Ljava/lang/AssertionError;
athrow
3: StackMap locals: long
StackMap stack:
lload 1
lconst_1
lcmp
ifle 5
4: aload 0
new java.lang.StringBuilder
dup
ldc "Multiple completions: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
lload 1
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual io.reactivex.observers.BaseTestConsumer.fail:(Ljava/lang/String;)Ljava/lang/AssertionError;
athrow
5: StackMap locals:
StackMap stack:
aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/reactivex/observers/BaseTestConsumer<TT;TU;>;
1 6 1 c J
Signature: ()TU;
public final U assertNotComplete();
descriptor: ()Lio/reactivex/observers/BaseTestConsumer;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
getfield io.reactivex.observers.BaseTestConsumer.completions:J
lstore 1
start local 1 1: lload 1
lconst_1
lcmp
ifne 3
2: aload 0
ldc "Completed!"
invokevirtual io.reactivex.observers.BaseTestConsumer.fail:(Ljava/lang/String;)Ljava/lang/AssertionError;
athrow
3: StackMap locals: long
StackMap stack:
lload 1
lconst_1
lcmp
ifle 5
4: aload 0
new java.lang.StringBuilder
dup
ldc "Multiple completions: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
lload 1
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual io.reactivex.observers.BaseTestConsumer.fail:(Ljava/lang/String;)Ljava/lang/AssertionError;
athrow
5: StackMap locals:
StackMap stack:
aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/reactivex/observers/BaseTestConsumer<TT;TU;>;
1 6 1 c J
Signature: ()TU;
public final U assertNoErrors();
descriptor: ()Lio/reactivex/observers/BaseTestConsumer;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
getfield io.reactivex.observers.BaseTestConsumer.errors:Ljava/util/List;
invokeinterface java.util.List.size:()I
istore 1
start local 1 1: iload 1
ifeq 3
2: aload 0
new java.lang.StringBuilder
dup
ldc "Error(s) present: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield io.reactivex.observers.BaseTestConsumer.errors:Ljava/util/List;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual io.reactivex.observers.BaseTestConsumer.fail:(Ljava/lang/String;)Ljava/lang/AssertionError;
athrow
3: StackMap locals: int
StackMap stack:
aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/reactivex/observers/BaseTestConsumer<TT;TU;>;
1 4 1 s I
Signature: ()TU;
public final U assertError(java.lang.Throwable);
descriptor: (Ljava/lang/Throwable;)Lio/reactivex/observers/BaseTestConsumer;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic io.reactivex.internal.functions.Functions.equalsWith:(Ljava/lang/Object;)Lio/reactivex/functions/Predicate;
invokevirtual io.reactivex.observers.BaseTestConsumer.assertError:(Lio/reactivex/functions/Predicate;)Lio/reactivex/observers/BaseTestConsumer;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/reactivex/observers/BaseTestConsumer<TT;TU;>;
0 1 1 error Ljava/lang/Throwable;
Signature: (Ljava/lang/Throwable;)TU;
MethodParameters:
Name Flags
error
public final U assertError(java.lang.Class<? extends java.lang.Throwable>);
descriptor: (Ljava/lang/Class;)Lio/reactivex/observers/BaseTestConsumer;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic io.reactivex.internal.functions.Functions.isInstanceOf:(Ljava/lang/Class;)Lio/reactivex/functions/Predicate;
invokevirtual io.reactivex.observers.BaseTestConsumer.assertError:(Lio/reactivex/functions/Predicate;)Lio/reactivex/observers/BaseTestConsumer;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/reactivex/observers/BaseTestConsumer<TT;TU;>;
0 1 1 errorClass Ljava/lang/Class<+Ljava/lang/Throwable;>;
Signature: (Ljava/lang/Class<+Ljava/lang/Throwable;>;)TU;
MethodParameters:
Name Flags
errorClass
public final U assertError(io.reactivex.functions.Predicate<java.lang.Throwable>);
descriptor: (Lio/reactivex/functions/Predicate;)Lio/reactivex/observers/BaseTestConsumer;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=7, args_size=2
start local 0 start local 1 0: aload 0
getfield io.reactivex.observers.BaseTestConsumer.errors:Ljava/util/List;
invokeinterface java.util.List.size:()I
istore 2
start local 2 1: iload 2
ifne 3
2: aload 0
ldc "No errors"
invokevirtual io.reactivex.observers.BaseTestConsumer.fail:(Ljava/lang/String;)Ljava/lang/AssertionError;
athrow
3: StackMap locals: int
StackMap stack:
iconst_0
istore 3
start local 3 4: aload 0
getfield io.reactivex.observers.BaseTestConsumer.errors:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 5
goto 11
StackMap locals: io.reactivex.observers.BaseTestConsumer io.reactivex.functions.Predicate int int top java.util.Iterator
StackMap stack:
5: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.Throwable
astore 4
start local 4 6: aload 1
aload 4
invokeinterface io.reactivex.functions.Predicate.test:(Ljava/lang/Object;)Z
ifeq 11
7: iconst_1
istore 3
8: goto 12
9: StackMap locals: io.reactivex.observers.BaseTestConsumer io.reactivex.functions.Predicate int int java.lang.Throwable java.util.Iterator
StackMap stack: java.lang.Exception
astore 6
start local 6 10: aload 6
invokestatic io.reactivex.internal.util.ExceptionHelper.wrapOrThrow:(Ljava/lang/Throwable;)Ljava/lang/RuntimeException;
athrow
end local 6 end local 4 11: StackMap locals: io.reactivex.observers.BaseTestConsumer io.reactivex.functions.Predicate int int top java.util.Iterator
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
12: StackMap locals: io.reactivex.observers.BaseTestConsumer io.reactivex.functions.Predicate int int
StackMap stack:
iload 3
ifeq 15
13: iload 2
iconst_1
if_icmpeq 16
14: aload 0
ldc "Error present but other errors as well"
invokevirtual io.reactivex.observers.BaseTestConsumer.fail:(Ljava/lang/String;)Ljava/lang/AssertionError;
athrow
15: StackMap locals:
StackMap stack:
aload 0
ldc "Error not present"
invokevirtual io.reactivex.observers.BaseTestConsumer.fail:(Ljava/lang/String;)Ljava/lang/AssertionError;
athrow
16: StackMap locals:
StackMap stack:
aload 0
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lio/reactivex/observers/BaseTestConsumer<TT;TU;>;
0 17 1 errorPredicate Lio/reactivex/functions/Predicate<Ljava/lang/Throwable;>;
1 17 2 s I
4 17 3 found Z
6 11 4 e Ljava/lang/Throwable;
10 11 6 ex Ljava/lang/Exception;
Exception table:
from to target type
6 8 9 Class java.lang.Exception
Signature: (Lio/reactivex/functions/Predicate<Ljava/lang/Throwable;>;)TU;
MethodParameters:
Name Flags
errorPredicate
public final U assertValue();
descriptor: (Ljava/lang/Object;)Lio/reactivex/observers/BaseTestConsumer;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield io.reactivex.observers.BaseTestConsumer.values:Ljava/util/List;
invokeinterface java.util.List.size:()I
istore 2
start local 2 1: iload 2
iconst_1
if_icmpeq 3
2: aload 0
new java.lang.StringBuilder
dup
ldc "expected: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokestatic io.reactivex.observers.BaseTestConsumer.valueAndClass:(Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " but was: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield io.reactivex.observers.BaseTestConsumer.values:Ljava/util/List;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual io.reactivex.observers.BaseTestConsumer.fail:(Ljava/lang/String;)Ljava/lang/AssertionError;
athrow
3: StackMap locals: int
StackMap stack:
aload 0
getfield io.reactivex.observers.BaseTestConsumer.values:Ljava/util/List;
iconst_0
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
astore 3
start local 3 4: aload 1
aload 3
invokestatic io.reactivex.internal.functions.ObjectHelper.equals:(Ljava/lang/Object;Ljava/lang/Object;)Z
ifne 6
5: aload 0
new java.lang.StringBuilder
dup
ldc "expected: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokestatic io.reactivex.observers.BaseTestConsumer.valueAndClass:(Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " but was: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 3
invokestatic io.reactivex.observers.BaseTestConsumer.valueAndClass:(Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual io.reactivex.observers.BaseTestConsumer.fail:(Ljava/lang/String;)Ljava/lang/AssertionError;
athrow
6: StackMap locals: java.lang.Object
StackMap stack:
aload 0
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lio/reactivex/observers/BaseTestConsumer<TT;TU;>;
0 7 1 value TT;
1 7 2 s I
4 7 3 v TT;
Signature: (TT;)TU;
MethodParameters:
Name Flags
value
public final U assertNever();
descriptor: (Ljava/lang/Object;)Lio/reactivex/observers/BaseTestConsumer;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: aload 0
getfield io.reactivex.observers.BaseTestConsumer.values:Ljava/util/List;
invokeinterface java.util.List.size:()I
istore 2
start local 2 1: iconst_0
istore 3
start local 3 2: goto 7
3: StackMap locals: int int
StackMap stack:
aload 0
getfield io.reactivex.observers.BaseTestConsumer.values:Ljava/util/List;
iload 3
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
astore 4
start local 4 4: aload 4
aload 1
invokestatic io.reactivex.internal.functions.ObjectHelper.equals:(Ljava/lang/Object;Ljava/lang/Object;)Z
ifeq 6
5: aload 0
new java.lang.StringBuilder
dup
ldc "Value at position "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 3
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " is equal to "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokestatic io.reactivex.observers.BaseTestConsumer.valueAndClass:(Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "; Expected them to be different"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual io.reactivex.observers.BaseTestConsumer.fail:(Ljava/lang/String;)Ljava/lang/AssertionError;
athrow
end local 4 6: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
7: iload 3
iload 2
if_icmplt 3
end local 3 8: aload 0
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lio/reactivex/observers/BaseTestConsumer<TT;TU;>;
0 9 1 value TT;
1 9 2 s I
2 8 3 i I
4 6 4 v TT;
Signature: (TT;)TU;
MethodParameters:
Name Flags
value
public final U assertValue(io.reactivex.functions.Predicate<T>);
descriptor: (Lio/reactivex/functions/Predicate;)Lio/reactivex/observers/BaseTestConsumer;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iconst_0
aload 1
invokevirtual io.reactivex.observers.BaseTestConsumer.assertValueAt:(ILio/reactivex/functions/Predicate;)Lio/reactivex/observers/BaseTestConsumer;
pop
1: aload 0
getfield io.reactivex.observers.BaseTestConsumer.values:Ljava/util/List;
invokeinterface java.util.List.size:()I
iconst_1
if_icmple 3
2: aload 0
ldc "Value present but other values as well"
invokevirtual io.reactivex.observers.BaseTestConsumer.fail:(Ljava/lang/String;)Ljava/lang/AssertionError;
athrow
3: StackMap locals:
StackMap stack:
aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/reactivex/observers/BaseTestConsumer<TT;TU;>;
0 4 1 valuePredicate Lio/reactivex/functions/Predicate<TT;>;
Signature: (Lio/reactivex/functions/Predicate<TT;>;)TU;
MethodParameters:
Name Flags
valuePredicate
public final U assertNever(io.reactivex.functions.Predicate<? super T>);
descriptor: (Lio/reactivex/functions/Predicate;)Lio/reactivex/observers/BaseTestConsumer;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=4, locals=6, args_size=2
start local 0 start local 1 0: aload 0
getfield io.reactivex.observers.BaseTestConsumer.values:Ljava/util/List;
invokeinterface java.util.List.size:()I
istore 2
start local 2 1: iconst_0
istore 3
start local 3 2: goto 9
3: StackMap locals: int int
StackMap stack:
aload 0
getfield io.reactivex.observers.BaseTestConsumer.values:Ljava/util/List;
iload 3
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
astore 4
start local 4 4: aload 1
aload 4
invokeinterface io.reactivex.functions.Predicate.test:(Ljava/lang/Object;)Z
ifeq 8
5: aload 0
new java.lang.StringBuilder
dup
ldc "Value at position "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 3
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " matches predicate "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ", which was not expected."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual io.reactivex.observers.BaseTestConsumer.fail:(Ljava/lang/String;)Ljava/lang/AssertionError;
athrow
6: StackMap locals: io.reactivex.observers.BaseTestConsumer io.reactivex.functions.Predicate int int java.lang.Object
StackMap stack: java.lang.Exception
astore 5
start local 5 7: aload 5
invokestatic io.reactivex.internal.util.ExceptionHelper.wrapOrThrow:(Ljava/lang/Throwable;)Ljava/lang/RuntimeException;
athrow
end local 5 end local 4 8: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
9: iload 3
iload 2
if_icmplt 3
end local 3 10: aload 0
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lio/reactivex/observers/BaseTestConsumer<TT;TU;>;
0 11 1 valuePredicate Lio/reactivex/functions/Predicate<-TT;>;
1 11 2 s I
2 10 3 i I
4 8 4 v TT;
7 8 5 ex Ljava/lang/Exception;
Exception table:
from to target type
4 6 6 Class java.lang.Exception
Signature: (Lio/reactivex/functions/Predicate<-TT;>;)TU;
MethodParameters:
Name Flags
valuePredicate
public final U assertValueAt(int, );
descriptor: (ILjava/lang/Object;)Lio/reactivex/observers/BaseTestConsumer;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=4, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield io.reactivex.observers.BaseTestConsumer.values:Ljava/util/List;
invokeinterface java.util.List.size:()I
istore 3
start local 3 1: iload 3
ifne 3
2: aload 0
ldc "No values"
invokevirtual io.reactivex.observers.BaseTestConsumer.fail:(Ljava/lang/String;)Ljava/lang/AssertionError;
athrow
3: StackMap locals: int
StackMap stack:
iload 1
iload 3
if_icmplt 5
4: aload 0
new java.lang.StringBuilder
dup
ldc "Invalid index: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 1
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual io.reactivex.observers.BaseTestConsumer.fail:(Ljava/lang/String;)Ljava/lang/AssertionError;
athrow
5: StackMap locals:
StackMap stack:
aload 0
getfield io.reactivex.observers.BaseTestConsumer.values:Ljava/util/List;
iload 1
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
astore 4
start local 4 6: aload 2
aload 4
invokestatic io.reactivex.internal.functions.ObjectHelper.equals:(Ljava/lang/Object;Ljava/lang/Object;)Z
ifne 8
7: aload 0
new java.lang.StringBuilder
dup
ldc "expected: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokestatic io.reactivex.observers.BaseTestConsumer.valueAndClass:(Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " but was: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 4
invokestatic io.reactivex.observers.BaseTestConsumer.valueAndClass:(Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual io.reactivex.observers.BaseTestConsumer.fail:(Ljava/lang/String;)Ljava/lang/AssertionError;
athrow
8: StackMap locals: java.lang.Object
StackMap stack:
aload 0
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lio/reactivex/observers/BaseTestConsumer<TT;TU;>;
0 9 1 index I
0 9 2 value TT;
1 9 3 s I
6 9 4 v TT;
Signature: (ITT;)TU;
MethodParameters:
Name Flags
index
value
public final U assertValueAt(int, io.reactivex.functions.Predicate<T>);
descriptor: (ILio/reactivex/functions/Predicate;)Lio/reactivex/observers/BaseTestConsumer;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=4, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield io.reactivex.observers.BaseTestConsumer.values:Ljava/util/List;
invokeinterface java.util.List.size:()I
istore 3
start local 3 1: iload 3
ifne 3
2: aload 0
ldc "No values"
invokevirtual io.reactivex.observers.BaseTestConsumer.fail:(Ljava/lang/String;)Ljava/lang/AssertionError;
athrow
3: StackMap locals: int
StackMap stack:
iload 1
aload 0
getfield io.reactivex.observers.BaseTestConsumer.values:Ljava/util/List;
invokeinterface java.util.List.size:()I
if_icmplt 5
4: aload 0
new java.lang.StringBuilder
dup
ldc "Invalid index: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 1
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual io.reactivex.observers.BaseTestConsumer.fail:(Ljava/lang/String;)Ljava/lang/AssertionError;
athrow
5: StackMap locals:
StackMap stack:
iconst_0
istore 4
start local 4 6: aload 2
aload 0
getfield io.reactivex.observers.BaseTestConsumer.values:Ljava/util/List;
iload 1
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
invokeinterface io.reactivex.functions.Predicate.test:(Ljava/lang/Object;)Z
ifeq 11
7: iconst_1
istore 4
8: goto 11
StackMap locals: io.reactivex.observers.BaseTestConsumer int io.reactivex.functions.Predicate int int
StackMap stack: java.lang.Exception
9: astore 5
start local 5 10: aload 5
invokestatic io.reactivex.internal.util.ExceptionHelper.wrapOrThrow:(Ljava/lang/Throwable;)Ljava/lang/RuntimeException;
athrow
end local 5 11: StackMap locals:
StackMap stack:
iload 4
ifne 13
12: aload 0
ldc "Value not present"
invokevirtual io.reactivex.observers.BaseTestConsumer.fail:(Ljava/lang/String;)Ljava/lang/AssertionError;
athrow
13: StackMap locals:
StackMap stack:
aload 0
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lio/reactivex/observers/BaseTestConsumer<TT;TU;>;
0 14 1 index I
0 14 2 valuePredicate Lio/reactivex/functions/Predicate<TT;>;
1 14 3 s I
6 14 4 found Z
10 11 5 ex Ljava/lang/Exception;
Exception table:
from to target type
6 8 9 Class java.lang.Exception
Signature: (ILio/reactivex/functions/Predicate<TT;>;)TU;
MethodParameters:
Name Flags
index
valuePredicate
public static java.lang.String valueAndClass(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
ifnull 2
1: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " (class: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getSimpleName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
2: StackMap locals:
StackMap stack:
ldc "null"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 o Ljava/lang/Object;
MethodParameters:
Name Flags
o
public final U assertValueCount();
descriptor: (I)Lio/reactivex/observers/BaseTestConsumer;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield io.reactivex.observers.BaseTestConsumer.values:Ljava/util/List;
invokeinterface java.util.List.size:()I
istore 2
start local 2 1: iload 2
iload 1
if_icmpeq 3
2: aload 0
new java.lang.StringBuilder
dup
ldc "Value counts differ; expected: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 1
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " but was: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 2
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual io.reactivex.observers.BaseTestConsumer.fail:(Ljava/lang/String;)Ljava/lang/AssertionError;
athrow
3: StackMap locals: int
StackMap stack:
aload 0
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/reactivex/observers/BaseTestConsumer<TT;TU;>;
0 4 1 count I
1 4 2 s I
Signature: (I)TU;
MethodParameters:
Name Flags
count
public final U assertNoValues();
descriptor: ()Lio/reactivex/observers/BaseTestConsumer;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
invokevirtual io.reactivex.observers.BaseTestConsumer.assertValueCount:(I)Lio/reactivex/observers/BaseTestConsumer;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/reactivex/observers/BaseTestConsumer<TT;TU;>;
Signature: ()TU;
public final U assertValues();
descriptor: ([Ljava/lang/Object;)Lio/reactivex/observers/BaseTestConsumer;
flags: (0x0091) ACC_PUBLIC, ACC_FINAL, ACC_VARARGS
Code:
stack=4, locals=6, args_size=2
start local 0 start local 1 0: aload 0
getfield io.reactivex.observers.BaseTestConsumer.values:Ljava/util/List;
invokeinterface java.util.List.size:()I
istore 2
start local 2 1: iload 2
aload 1
arraylength
if_icmpeq 5
2: aload 0
new java.lang.StringBuilder
dup
ldc "Value count differs; expected: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
arraylength
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokestatic java.util.Arrays.toString:([Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
3: ldc " but was: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 2
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield io.reactivex.observers.BaseTestConsumer.values:Ljava/util/List;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
4: invokevirtual io.reactivex.observers.BaseTestConsumer.fail:(Ljava/lang/String;)Ljava/lang/AssertionError;
athrow
5: StackMap locals: int
StackMap stack:
iconst_0
istore 3
start local 3 6: goto 12
7: StackMap locals: int
StackMap stack:
aload 0
getfield io.reactivex.observers.BaseTestConsumer.values:Ljava/util/List;
iload 3
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
astore 4
start local 4 8: aload 1
iload 3
aaload
astore 5
start local 5 9: aload 5
aload 4
invokestatic io.reactivex.internal.functions.ObjectHelper.equals:(Ljava/lang/Object;Ljava/lang/Object;)Z
ifne 11
10: aload 0
new java.lang.StringBuilder
dup
ldc "Values at position "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 3
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " differ; expected: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 5
invokestatic io.reactivex.observers.BaseTestConsumer.valueAndClass:(Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " but was: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 4
invokestatic io.reactivex.observers.BaseTestConsumer.valueAndClass:(Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual io.reactivex.observers.BaseTestConsumer.fail:(Ljava/lang/String;)Ljava/lang/AssertionError;
athrow
end local 5 end local 4 11: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
12: iload 3
iload 2
if_icmplt 7
end local 3 13: aload 0
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lio/reactivex/observers/BaseTestConsumer<TT;TU;>;
0 14 1 values [Ljava/lang/Object;
1 14 2 s I
6 13 3 i I
8 11 4 v TT;
9 11 5 u TT;
Signature: ([TT;)TU;
MethodParameters:
Name Flags
values
public final U assertValuesOnly();
descriptor: ([Ljava/lang/Object;)Lio/reactivex/observers/BaseTestConsumer;
flags: (0x0091) ACC_PUBLIC, ACC_FINAL, ACC_VARARGS
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual io.reactivex.observers.BaseTestConsumer.assertSubscribed:()Lio/reactivex/observers/BaseTestConsumer;
1: aload 1
invokevirtual io.reactivex.observers.BaseTestConsumer.assertValues:([Ljava/lang/Object;)Lio/reactivex/observers/BaseTestConsumer;
2: invokevirtual io.reactivex.observers.BaseTestConsumer.assertNoErrors:()Lio/reactivex/observers/BaseTestConsumer;
3: invokevirtual io.reactivex.observers.BaseTestConsumer.assertNotComplete:()Lio/reactivex/observers/BaseTestConsumer;
4: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/reactivex/observers/BaseTestConsumer<TT;TU;>;
0 5 1 values [Ljava/lang/Object;
Signature: ([TT;)TU;
MethodParameters:
Name Flags
values
public final U assertValueSet(java.util.Collection<? extends T>);
descriptor: (Ljava/util/Collection;)Lio/reactivex/observers/BaseTestConsumer;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface java.util.Collection.isEmpty:()Z
ifeq 3
1: aload 0
invokevirtual io.reactivex.observers.BaseTestConsumer.assertNoValues:()Lio/reactivex/observers/BaseTestConsumer;
pop
2: aload 0
areturn
3: StackMap locals:
StackMap stack:
aload 0
getfield io.reactivex.observers.BaseTestConsumer.values:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 7
StackMap locals: io.reactivex.observers.BaseTestConsumer java.util.Collection top java.util.Iterator
StackMap stack:
4: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.Object
astore 2
start local 2 5: aload 1
aload 2
invokeinterface java.util.Collection.contains:(Ljava/lang/Object;)Z
ifne 7
6: aload 0
new java.lang.StringBuilder
dup
ldc "Value not in the expected collection: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokestatic io.reactivex.observers.BaseTestConsumer.valueAndClass:(Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual io.reactivex.observers.BaseTestConsumer.fail:(Ljava/lang/String;)Ljava/lang/AssertionError;
athrow
end local 2 7: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
8: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lio/reactivex/observers/BaseTestConsumer<TT;TU;>;
0 9 1 expected Ljava/util/Collection<+TT;>;
5 7 2 v TT;
Signature: (Ljava/util/Collection<+TT;>;)TU;
MethodParameters:
Name Flags
expected
public final U assertValueSetOnly(java.util.Collection<? extends T>);
descriptor: (Ljava/util/Collection;)Lio/reactivex/observers/BaseTestConsumer;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual io.reactivex.observers.BaseTestConsumer.assertSubscribed:()Lio/reactivex/observers/BaseTestConsumer;
1: aload 1
invokevirtual io.reactivex.observers.BaseTestConsumer.assertValueSet:(Ljava/util/Collection;)Lio/reactivex/observers/BaseTestConsumer;
2: invokevirtual io.reactivex.observers.BaseTestConsumer.assertNoErrors:()Lio/reactivex/observers/BaseTestConsumer;
3: invokevirtual io.reactivex.observers.BaseTestConsumer.assertNotComplete:()Lio/reactivex/observers/BaseTestConsumer;
4: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/reactivex/observers/BaseTestConsumer<TT;TU;>;
0 5 1 expected Ljava/util/Collection<+TT;>;
Signature: (Ljava/util/Collection<+TT;>;)TU;
MethodParameters:
Name Flags
expected
public final U assertValueSequence(java.lang.Iterable<? extends T>);
descriptor: (Ljava/lang/Iterable;)Lio/reactivex/observers/BaseTestConsumer;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=4, locals=9, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: aload 0
getfield io.reactivex.observers.BaseTestConsumer.values:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
start local 3 2: aload 1
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 4
start local 4 3: StackMap locals: int java.util.Iterator java.util.Iterator
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
istore 6
start local 6 4: aload 3
invokeinterface java.util.Iterator.hasNext:()Z
istore 5
start local 5 5: iload 5
ifeq 13
iload 6
ifne 7
6: goto 13
7: StackMap locals: int int
StackMap stack:
aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
astore 7
start local 7 8: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
astore 8
start local 8 9: aload 7
aload 8
invokestatic io.reactivex.internal.functions.ObjectHelper.equals:(Ljava/lang/Object;Ljava/lang/Object;)Z
ifne 11
10: aload 0
new java.lang.StringBuilder
dup
ldc "Values at position "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 2
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " differ; expected: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 7
invokestatic io.reactivex.observers.BaseTestConsumer.valueAndClass:(Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " but was: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 8
invokestatic io.reactivex.observers.BaseTestConsumer.valueAndClass:(Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual io.reactivex.observers.BaseTestConsumer.fail:(Ljava/lang/String;)Ljava/lang/AssertionError;
athrow
11: StackMap locals: java.lang.Object java.lang.Object
StackMap stack:
iinc 2 1
end local 8 end local 7 end local 6 end local 5 12: goto 3
start local 5 start local 6 13: StackMap locals:
StackMap stack:
iload 5
ifeq 15
14: aload 0
new java.lang.StringBuilder
dup
ldc "More values received than expected ("
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 2
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual io.reactivex.observers.BaseTestConsumer.fail:(Ljava/lang/String;)Ljava/lang/AssertionError;
athrow
15: StackMap locals:
StackMap stack:
iload 6
ifeq 17
16: aload 0
new java.lang.StringBuilder
dup
ldc "Fewer values received than expected ("
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 2
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual io.reactivex.observers.BaseTestConsumer.fail:(Ljava/lang/String;)Ljava/lang/AssertionError;
athrow
17: StackMap locals:
StackMap stack:
aload 0
areturn
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lio/reactivex/observers/BaseTestConsumer<TT;TU;>;
0 18 1 sequence Ljava/lang/Iterable<+TT;>;
1 18 2 i I
2 18 3 actualIterator Ljava/util/Iterator<TT;>;
3 18 4 expectedIterator Ljava/util/Iterator<+TT;>;
5 12 5 actualNext Z
13 18 5 actualNext Z
4 12 6 expectedNext Z
13 18 6 expectedNext Z
8 12 7 u TT;
9 12 8 v TT;
Signature: (Ljava/lang/Iterable<+TT;>;)TU;
MethodParameters:
Name Flags
sequence
public final U assertValueSequenceOnly(java.lang.Iterable<? extends T>);
descriptor: (Ljava/lang/Iterable;)Lio/reactivex/observers/BaseTestConsumer;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual io.reactivex.observers.BaseTestConsumer.assertSubscribed:()Lio/reactivex/observers/BaseTestConsumer;
1: aload 1
invokevirtual io.reactivex.observers.BaseTestConsumer.assertValueSequence:(Ljava/lang/Iterable;)Lio/reactivex/observers/BaseTestConsumer;
2: invokevirtual io.reactivex.observers.BaseTestConsumer.assertNoErrors:()Lio/reactivex/observers/BaseTestConsumer;
3: invokevirtual io.reactivex.observers.BaseTestConsumer.assertNotComplete:()Lio/reactivex/observers/BaseTestConsumer;
4: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/reactivex/observers/BaseTestConsumer<TT;TU;>;
0 5 1 sequence Ljava/lang/Iterable<+TT;>;
Signature: (Ljava/lang/Iterable<+TT;>;)TU;
MethodParameters:
Name Flags
sequence
public final U assertTerminated();
descriptor: ()Lio/reactivex/observers/BaseTestConsumer;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=4, locals=4, args_size=1
start local 0 0: aload 0
getfield io.reactivex.observers.BaseTestConsumer.done:Ljava/util/concurrent/CountDownLatch;
invokevirtual java.util.concurrent.CountDownLatch.getCount:()J
lconst_0
lcmp
ifeq 2
1: aload 0
ldc "Subscriber still running!"
invokevirtual io.reactivex.observers.BaseTestConsumer.fail:(Ljava/lang/String;)Ljava/lang/AssertionError;
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield io.reactivex.observers.BaseTestConsumer.completions:J
lstore 1
start local 1 3: lload 1
lconst_1
lcmp
ifle 5
4: aload 0
new java.lang.StringBuilder
dup
ldc "Terminated with multiple completions: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
lload 1
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual io.reactivex.observers.BaseTestConsumer.fail:(Ljava/lang/String;)Ljava/lang/AssertionError;
athrow
5: StackMap locals: long
StackMap stack:
aload 0
getfield io.reactivex.observers.BaseTestConsumer.errors:Ljava/util/List;
invokeinterface java.util.List.size:()I
istore 3
start local 3 6: iload 3
iconst_1
if_icmple 8
7: aload 0
new java.lang.StringBuilder
dup
ldc "Terminated with multiple errors: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 3
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual io.reactivex.observers.BaseTestConsumer.fail:(Ljava/lang/String;)Ljava/lang/AssertionError;
athrow
8: StackMap locals: int
StackMap stack:
lload 1
lconst_0
lcmp
ifeq 10
iload 3
ifeq 10
9: aload 0
new java.lang.StringBuilder
dup
ldc "Terminated with multiple completions and errors: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
lload 1
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual io.reactivex.observers.BaseTestConsumer.fail:(Ljava/lang/String;)Ljava/lang/AssertionError;
athrow
10: StackMap locals:
StackMap stack:
aload 0
areturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lio/reactivex/observers/BaseTestConsumer<TT;TU;>;
3 11 1 c J
6 11 3 s I
Signature: ()TU;
public final U assertNotTerminated();
descriptor: ()Lio/reactivex/observers/BaseTestConsumer;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield io.reactivex.observers.BaseTestConsumer.done:Ljava/util/concurrent/CountDownLatch;
invokevirtual java.util.concurrent.CountDownLatch.getCount:()J
lconst_0
lcmp
ifne 2
1: aload 0
ldc "Subscriber terminated!"
invokevirtual io.reactivex.observers.BaseTestConsumer.fail:(Ljava/lang/String;)Ljava/lang/AssertionError;
athrow
2: StackMap locals:
StackMap stack:
aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/reactivex/observers/BaseTestConsumer<TT;TU;>;
Signature: ()TU;
public final boolean awaitTerminalEvent();
descriptor: ()Z
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual io.reactivex.observers.BaseTestConsumer.await:()Lio/reactivex/observers/BaseTestConsumer;
pop
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack: java.lang.InterruptedException
pop
3: invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
invokevirtual java.lang.Thread.interrupt:()V
4: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/reactivex/observers/BaseTestConsumer<TT;TU;>;
Exception table:
from to target type
0 1 2 Class java.lang.InterruptedException
public final boolean awaitTerminalEvent(long, java.util.concurrent.TimeUnit);
descriptor: (JLjava/util/concurrent/TimeUnit;)Z
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 3 0: aload 0
lload 1
aload 3
invokevirtual io.reactivex.observers.BaseTestConsumer.await:(JLjava/util/concurrent/TimeUnit;)Z
1: ireturn
2: StackMap locals:
StackMap stack: java.lang.InterruptedException
pop
3: invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
invokevirtual java.lang.Thread.interrupt:()V
4: iconst_0
ireturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/reactivex/observers/BaseTestConsumer<TT;TU;>;
0 5 1 duration J
0 5 3 unit Ljava/util/concurrent/TimeUnit;
Exception table:
from to target type
0 1 2 Class java.lang.InterruptedException
MethodParameters:
Name Flags
duration
unit
public final U assertErrorMessage(java.lang.String);
descriptor: (Ljava/lang/String;)Lio/reactivex/observers/BaseTestConsumer;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: aload 0
getfield io.reactivex.observers.BaseTestConsumer.errors:Ljava/util/List;
invokeinterface java.util.List.size:()I
istore 2
start local 2 1: iload 2
ifne 3
2: aload 0
ldc "No errors"
invokevirtual io.reactivex.observers.BaseTestConsumer.fail:(Ljava/lang/String;)Ljava/lang/AssertionError;
athrow
3: StackMap locals: int
StackMap stack:
iload 2
iconst_1
if_icmpne 8
4: aload 0
getfield io.reactivex.observers.BaseTestConsumer.errors:Ljava/util/List;
iconst_0
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.Throwable
astore 3
start local 3 5: aload 3
invokevirtual java.lang.Throwable.getMessage:()Ljava/lang/String;
astore 4
start local 4 6: aload 1
aload 4
invokestatic io.reactivex.internal.functions.ObjectHelper.equals:(Ljava/lang/Object;Ljava/lang/Object;)Z
ifne 9
7: aload 0
new java.lang.StringBuilder
dup
ldc "Error message differs; exptected: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " but was: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual io.reactivex.observers.BaseTestConsumer.fail:(Ljava/lang/String;)Ljava/lang/AssertionError;
athrow
end local 4 end local 3 8: StackMap locals:
StackMap stack:
aload 0
ldc "Multiple errors"
invokevirtual io.reactivex.observers.BaseTestConsumer.fail:(Ljava/lang/String;)Ljava/lang/AssertionError;
athrow
9: StackMap locals:
StackMap stack:
aload 0
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lio/reactivex/observers/BaseTestConsumer<TT;TU;>;
0 10 1 message Ljava/lang/String;
1 10 2 s I
5 8 3 e Ljava/lang/Throwable;
6 8 4 errorMessage Ljava/lang/String;
Signature: (Ljava/lang/String;)TU;
MethodParameters:
Name Flags
message
public final java.util.List<java.util.List<java.lang.Object>> getEvents();
descriptor: ()Ljava/util/List;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=4, locals=5, args_size=1
start local 0 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 1
start local 1 1: aload 1
aload 0
invokevirtual io.reactivex.observers.BaseTestConsumer.values:()Ljava/util/List;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
2: aload 1
aload 0
invokevirtual io.reactivex.observers.BaseTestConsumer.errors:()Ljava/util/List;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
3: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 2
start local 2 4: lconst_0
lstore 3
start local 3 5: goto 8
6: StackMap locals: java.util.List java.util.List long
StackMap stack:
aload 2
invokestatic io.reactivex.Notification.createOnComplete:()Lio/reactivex/Notification;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
7: lload 3
lconst_1
ladd
lstore 3
StackMap locals:
StackMap stack:
8: lload 3
aload 0
getfield io.reactivex.observers.BaseTestConsumer.completions:J
lcmp
iflt 6
end local 3 9: aload 1
aload 2
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
10: aload 1
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lio/reactivex/observers/BaseTestConsumer<TT;TU;>;
1 11 1 result Ljava/util/List<Ljava/util/List<Ljava/lang/Object;>;>;
4 11 2 completeList Ljava/util/List<Ljava/lang/Object;>;
5 9 3 i J
Signature: ()Ljava/util/List<Ljava/util/List<Ljava/lang/Object;>;>;
public abstract U assertSubscribed();
descriptor: ()Lio/reactivex/observers/BaseTestConsumer;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Signature: ()TU;
public abstract U assertNotSubscribed();
descriptor: ()Lio/reactivex/observers/BaseTestConsumer;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Signature: ()TU;
public final U assertResult();
descriptor: ([Ljava/lang/Object;)Lio/reactivex/observers/BaseTestConsumer;
flags: (0x0091) ACC_PUBLIC, ACC_FINAL, ACC_VARARGS
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual io.reactivex.observers.BaseTestConsumer.assertSubscribed:()Lio/reactivex/observers/BaseTestConsumer;
1: aload 1
invokevirtual io.reactivex.observers.BaseTestConsumer.assertValues:([Ljava/lang/Object;)Lio/reactivex/observers/BaseTestConsumer;
2: invokevirtual io.reactivex.observers.BaseTestConsumer.assertNoErrors:()Lio/reactivex/observers/BaseTestConsumer;
3: invokevirtual io.reactivex.observers.BaseTestConsumer.assertComplete:()Lio/reactivex/observers/BaseTestConsumer;
4: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/reactivex/observers/BaseTestConsumer<TT;TU;>;
0 5 1 values [Ljava/lang/Object;
Signature: ([TT;)TU;
MethodParameters:
Name Flags
values
public final U assertFailure(java.lang.Class<? extends java.lang.Throwable>, );
descriptor: (Ljava/lang/Class;[Ljava/lang/Object;)Lio/reactivex/observers/BaseTestConsumer;
flags: (0x0091) ACC_PUBLIC, ACC_FINAL, ACC_VARARGS
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual io.reactivex.observers.BaseTestConsumer.assertSubscribed:()Lio/reactivex/observers/BaseTestConsumer;
1: aload 2
invokevirtual io.reactivex.observers.BaseTestConsumer.assertValues:([Ljava/lang/Object;)Lio/reactivex/observers/BaseTestConsumer;
2: aload 1
invokevirtual io.reactivex.observers.BaseTestConsumer.assertError:(Ljava/lang/Class;)Lio/reactivex/observers/BaseTestConsumer;
3: invokevirtual io.reactivex.observers.BaseTestConsumer.assertNotComplete:()Lio/reactivex/observers/BaseTestConsumer;
4: areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/reactivex/observers/BaseTestConsumer<TT;TU;>;
0 5 1 error Ljava/lang/Class<+Ljava/lang/Throwable;>;
0 5 2 values [Ljava/lang/Object;
Signature: (Ljava/lang/Class<+Ljava/lang/Throwable;>;[TT;)TU;
MethodParameters:
Name Flags
error
values
public final U assertFailure(io.reactivex.functions.Predicate<java.lang.Throwable>, );
descriptor: (Lio/reactivex/functions/Predicate;[Ljava/lang/Object;)Lio/reactivex/observers/BaseTestConsumer;
flags: (0x0091) ACC_PUBLIC, ACC_FINAL, ACC_VARARGS
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual io.reactivex.observers.BaseTestConsumer.assertSubscribed:()Lio/reactivex/observers/BaseTestConsumer;
1: aload 2
invokevirtual io.reactivex.observers.BaseTestConsumer.assertValues:([Ljava/lang/Object;)Lio/reactivex/observers/BaseTestConsumer;
2: aload 1
invokevirtual io.reactivex.observers.BaseTestConsumer.assertError:(Lio/reactivex/functions/Predicate;)Lio/reactivex/observers/BaseTestConsumer;
3: invokevirtual io.reactivex.observers.BaseTestConsumer.assertNotComplete:()Lio/reactivex/observers/BaseTestConsumer;
4: areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/reactivex/observers/BaseTestConsumer<TT;TU;>;
0 5 1 errorPredicate Lio/reactivex/functions/Predicate<Ljava/lang/Throwable;>;
0 5 2 values [Ljava/lang/Object;
Signature: (Lio/reactivex/functions/Predicate<Ljava/lang/Throwable;>;[TT;)TU;
MethodParameters:
Name Flags
errorPredicate
values
public final U assertFailureAndMessage(java.lang.Class<? extends java.lang.Throwable>, java.lang.String, );
descriptor: (Ljava/lang/Class;Ljava/lang/String;[Ljava/lang/Object;)Lio/reactivex/observers/BaseTestConsumer;
flags: (0x0091) ACC_PUBLIC, ACC_FINAL, ACC_VARARGS
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokevirtual io.reactivex.observers.BaseTestConsumer.assertSubscribed:()Lio/reactivex/observers/BaseTestConsumer;
1: aload 3
invokevirtual io.reactivex.observers.BaseTestConsumer.assertValues:([Ljava/lang/Object;)Lio/reactivex/observers/BaseTestConsumer;
2: aload 1
invokevirtual io.reactivex.observers.BaseTestConsumer.assertError:(Ljava/lang/Class;)Lio/reactivex/observers/BaseTestConsumer;
3: aload 2
invokevirtual io.reactivex.observers.BaseTestConsumer.assertErrorMessage:(Ljava/lang/String;)Lio/reactivex/observers/BaseTestConsumer;
4: invokevirtual io.reactivex.observers.BaseTestConsumer.assertNotComplete:()Lio/reactivex/observers/BaseTestConsumer;
5: areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/reactivex/observers/BaseTestConsumer<TT;TU;>;
0 6 1 error Ljava/lang/Class<+Ljava/lang/Throwable;>;
0 6 2 message Ljava/lang/String;
0 6 3 values [Ljava/lang/Object;
Signature: (Ljava/lang/Class<+Ljava/lang/Throwable;>;Ljava/lang/String;[TT;)TU;
MethodParameters:
Name Flags
error
message
values
public final U awaitDone(long, java.util.concurrent.TimeUnit);
descriptor: (JLjava/util/concurrent/TimeUnit;)Lio/reactivex/observers/BaseTestConsumer;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=4, locals=5, args_size=3
start local 0 start local 1 start local 3 0: aload 0
getfield io.reactivex.observers.BaseTestConsumer.done:Ljava/util/concurrent/CountDownLatch;
lload 1
aload 3
invokevirtual java.util.concurrent.CountDownLatch.await:(JLjava/util/concurrent/TimeUnit;)Z
ifne 7
1: aload 0
iconst_1
putfield io.reactivex.observers.BaseTestConsumer.timeout:Z
2: aload 0
invokevirtual io.reactivex.observers.BaseTestConsumer.dispose:()V
3: goto 7
StackMap locals:
StackMap stack: java.lang.InterruptedException
4: astore 4
start local 4 5: aload 0
invokevirtual io.reactivex.observers.BaseTestConsumer.dispose:()V
6: aload 4
invokestatic io.reactivex.internal.util.ExceptionHelper.wrapOrThrow:(Ljava/lang/Throwable;)Ljava/lang/RuntimeException;
athrow
end local 4 7: StackMap locals:
StackMap stack:
aload 0
areturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lio/reactivex/observers/BaseTestConsumer<TT;TU;>;
0 8 1 time J
0 8 3 unit Ljava/util/concurrent/TimeUnit;
5 7 4 ex Ljava/lang/InterruptedException;
Exception table:
from to target type
0 3 4 Class java.lang.InterruptedException
Signature: (JLjava/util/concurrent/TimeUnit;)TU;
MethodParameters:
Name Flags
time
unit
public final U assertEmpty();
descriptor: ()Lio/reactivex/observers/BaseTestConsumer;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual io.reactivex.observers.BaseTestConsumer.assertSubscribed:()Lio/reactivex/observers/BaseTestConsumer;
1: invokevirtual io.reactivex.observers.BaseTestConsumer.assertNoValues:()Lio/reactivex/observers/BaseTestConsumer;
2: invokevirtual io.reactivex.observers.BaseTestConsumer.assertNoErrors:()Lio/reactivex/observers/BaseTestConsumer;
3: invokevirtual io.reactivex.observers.BaseTestConsumer.assertNotComplete:()Lio/reactivex/observers/BaseTestConsumer;
4: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/reactivex/observers/BaseTestConsumer<TT;TU;>;
Signature: ()TU;
public final U withTag(java.lang.CharSequence);
descriptor: (Ljava/lang/CharSequence;)Lio/reactivex/observers/BaseTestConsumer;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield io.reactivex.observers.BaseTestConsumer.tag:Ljava/lang/CharSequence;
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/reactivex/observers/BaseTestConsumer<TT;TU;>;
0 2 1 tag Ljava/lang/CharSequence;
Signature: (Ljava/lang/CharSequence;)TU;
MethodParameters:
Name Flags
tag
public final U awaitCount();
descriptor: (I)Lio/reactivex/observers/BaseTestConsumer;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
getstatic io.reactivex.observers.BaseTestConsumer$TestWaitStrategy.SLEEP_10MS:Lio/reactivex/observers/BaseTestConsumer$TestWaitStrategy;
ldc 5000
invokevirtual io.reactivex.observers.BaseTestConsumer.awaitCount:(ILjava/lang/Runnable;J)Lio/reactivex/observers/BaseTestConsumer;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/reactivex/observers/BaseTestConsumer<TT;TU;>;
0 1 1 atLeast I
Signature: (I)TU;
MethodParameters:
Name Flags
atLeast
public final U awaitCount(int, java.lang.Runnable);
descriptor: (ILjava/lang/Runnable;)Lio/reactivex/observers/BaseTestConsumer;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 1
aload 2
ldc 5000
invokevirtual io.reactivex.observers.BaseTestConsumer.awaitCount:(ILjava/lang/Runnable;J)Lio/reactivex/observers/BaseTestConsumer;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/reactivex/observers/BaseTestConsumer<TT;TU;>;
0 1 1 atLeast I
0 1 2 waitStrategy Ljava/lang/Runnable;
Signature: (ILjava/lang/Runnable;)TU;
MethodParameters:
Name Flags
atLeast
waitStrategy
public final U awaitCount(int, java.lang.Runnable, );
descriptor: (ILjava/lang/Runnable;J)Lio/reactivex/observers/BaseTestConsumer;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=4, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: invokestatic java.lang.System.currentTimeMillis:()J
lstore 5
start local 5 1: StackMap locals: long
StackMap stack:
lload 3
lconst_0
lcmp
ifle 4
invokestatic java.lang.System.currentTimeMillis:()J
lload 5
lsub
lload 3
lcmp
iflt 4
2: aload 0
iconst_1
putfield io.reactivex.observers.BaseTestConsumer.timeout:Z
3: goto 10
4: StackMap locals:
StackMap stack:
aload 0
getfield io.reactivex.observers.BaseTestConsumer.done:Ljava/util/concurrent/CountDownLatch;
invokevirtual java.util.concurrent.CountDownLatch.getCount:()J
lconst_0
lcmp
ifne 6
5: goto 10
6: StackMap locals:
StackMap stack:
aload 0
getfield io.reactivex.observers.BaseTestConsumer.values:Ljava/util/List;
invokeinterface java.util.List.size:()I
iload 1
if_icmplt 8
7: goto 10
8: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.lang.Runnable.run:()V
9: goto 1
10: StackMap locals:
StackMap stack:
aload 0
areturn
end local 5 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lio/reactivex/observers/BaseTestConsumer<TT;TU;>;
0 11 1 atLeast I
0 11 2 waitStrategy Ljava/lang/Runnable;
0 11 3 timeoutMillis J
1 11 5 start J
Signature: (ILjava/lang/Runnable;J)TU;
MethodParameters:
Name Flags
atLeast
waitStrategy
timeoutMillis
public final boolean isTimeout();
descriptor: ()Z
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.reactivex.observers.BaseTestConsumer.timeout:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/reactivex/observers/BaseTestConsumer<TT;TU;>;
public final U clearTimeout();
descriptor: ()Lio/reactivex/observers/BaseTestConsumer;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
putfield io.reactivex.observers.BaseTestConsumer.timeout:Z
1: aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/reactivex/observers/BaseTestConsumer<TT;TU;>;
Signature: ()TU;
public final U assertTimeout();
descriptor: ()Lio/reactivex/observers/BaseTestConsumer;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield io.reactivex.observers.BaseTestConsumer.timeout:Z
ifne 2
1: aload 0
ldc "No timeout?!"
invokevirtual io.reactivex.observers.BaseTestConsumer.fail:(Ljava/lang/String;)Ljava/lang/AssertionError;
athrow
2: StackMap locals:
StackMap stack:
aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/reactivex/observers/BaseTestConsumer<TT;TU;>;
Signature: ()TU;
public final U assertNoTimeout();
descriptor: ()Lio/reactivex/observers/BaseTestConsumer;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield io.reactivex.observers.BaseTestConsumer.timeout:Z
ifeq 2
1: aload 0
ldc "Timeout?!"
invokevirtual io.reactivex.observers.BaseTestConsumer.fail:(Ljava/lang/String;)Ljava/lang/AssertionError;
athrow
2: StackMap locals:
StackMap stack:
aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/reactivex/observers/BaseTestConsumer<TT;TU;>;
Signature: ()TU;
}
Signature: <T:Ljava/lang/Object;U:Lio/reactivex/observers/BaseTestConsumer<TT;TU;>;>Ljava/lang/Object;Lio/reactivex/disposables/Disposable;
SourceFile: "BaseTestConsumer.java"
NestMembers:
io.reactivex.observers.BaseTestConsumer$TestWaitStrategy io.reactivex.observers.BaseTestConsumer$TestWaitStrategy$1 io.reactivex.observers.BaseTestConsumer$TestWaitStrategy$2 io.reactivex.observers.BaseTestConsumer$TestWaitStrategy$3 io.reactivex.observers.BaseTestConsumer$TestWaitStrategy$4 io.reactivex.observers.BaseTestConsumer$TestWaitStrategy$5 io.reactivex.observers.BaseTestConsumer$TestWaitStrategy$6
InnerClasses:
public abstract TestWaitStrategy = io.reactivex.observers.BaseTestConsumer$TestWaitStrategy of io.reactivex.observers.BaseTestConsumer