class com.oracle.mxtool.junit.TextRunListener$1 extends org.junit.internal.TextListener
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.oracle.mxtool.junit.TextRunListener$1
super_class: org.junit.internal.TextListener
{
private java.lang.Class<?> lastClass;
descriptor: Ljava/lang/Class;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/lang/Class<*>;
private int passedInLastClass;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int failedInLastClass;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private boolean failed;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private final com.oracle.mxtool.junit.MxRunListener val$l;
descriptor: Lcom/oracle/mxtool/junit/MxRunListener;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
private final java.io.PrintStream val$theWriter;
descriptor: Ljava/io/PrintStream;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
void <init>(java.io.PrintStream, com.oracle.mxtool.junit.MxRunListener, java.io.PrintStream);
descriptor: (Ljava/io/PrintStream;Lcom/oracle/mxtool/junit/MxRunListener;Ljava/io/PrintStream;)V
flags: (0x0000)
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 0: aload 0
aload 2
putfield com.oracle.mxtool.junit.TextRunListener$1.val$l:Lcom/oracle/mxtool/junit/MxRunListener;
aload 0
aload 3
putfield com.oracle.mxtool.junit.TextRunListener$1.val$theWriter:Ljava/io/PrintStream;
aload 0
aload 1
invokespecial org.junit.internal.TextListener.<init>:(Ljava/io/PrintStream;)V
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/mxtool/junit/TextRunListener$1;
0 1 1 $anonymous0 Ljava/io/PrintStream;
MethodParameters:
Name Flags
$anonymous0
val$l final
val$theWriter final
public void testStarted(org.junit.runner.Description);
descriptor: (Lorg/junit/runner/Description;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual org.junit.runner.Description.getTestClass:()Ljava/lang/Class;
astore 2
start local 2 1: aload 2
aload 0
getfield com.oracle.mxtool.junit.TextRunListener$1.lastClass:Ljava/lang/Class;
if_acmpeq 10
2: aload 0
getfield com.oracle.mxtool.junit.TextRunListener$1.lastClass:Ljava/lang/Class;
ifnull 5
3: aload 0
getfield com.oracle.mxtool.junit.TextRunListener$1.val$l:Lcom/oracle/mxtool/junit/MxRunListener;
aload 0
getfield com.oracle.mxtool.junit.TextRunListener$1.lastClass:Ljava/lang/Class;
aload 0
getfield com.oracle.mxtool.junit.TextRunListener$1.passedInLastClass:I
aload 0
getfield com.oracle.mxtool.junit.TextRunListener$1.failedInLastClass:I
invokeinterface com.oracle.mxtool.junit.MxRunListener.testClassFinished:(Ljava/lang/Class;II)V
4: aload 0
getfield com.oracle.mxtool.junit.TextRunListener$1.val$l:Lcom/oracle/mxtool/junit/MxRunListener;
invokeinterface com.oracle.mxtool.junit.MxRunListener.testClassFinishedDelimiter:()V
5: StackMap locals: java.lang.Class
StackMap stack:
aload 0
aload 2
putfield com.oracle.mxtool.junit.TextRunListener$1.lastClass:Ljava/lang/Class;
6: aload 0
iconst_0
putfield com.oracle.mxtool.junit.TextRunListener$1.passedInLastClass:I
7: aload 0
iconst_0
putfield com.oracle.mxtool.junit.TextRunListener$1.failedInLastClass:I
8: aload 0
getfield com.oracle.mxtool.junit.TextRunListener$1.val$l:Lcom/oracle/mxtool/junit/MxRunListener;
aload 2
invokeinterface com.oracle.mxtool.junit.MxRunListener.testClassStarted:(Ljava/lang/Class;)V
9: aload 0
getfield com.oracle.mxtool.junit.TextRunListener$1.val$l:Lcom/oracle/mxtool/junit/MxRunListener;
invokeinterface com.oracle.mxtool.junit.MxRunListener.testClassStartedDelimiter:()V
10: StackMap locals:
StackMap stack:
aload 0
iconst_0
putfield com.oracle.mxtool.junit.TextRunListener$1.failed:Z
11: aload 0
getfield com.oracle.mxtool.junit.TextRunListener$1.val$l:Lcom/oracle/mxtool/junit/MxRunListener;
aload 1
invokeinterface com.oracle.mxtool.junit.MxRunListener.testStarted:(Lorg/junit/runner/Description;)V
12: aload 0
getfield com.oracle.mxtool.junit.TextRunListener$1.val$l:Lcom/oracle/mxtool/junit/MxRunListener;
invokeinterface com.oracle.mxtool.junit.MxRunListener.testStartedDelimiter:()V
13: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lcom/oracle/mxtool/junit/TextRunListener$1;
0 14 1 description Lorg/junit/runner/Description;
1 14 2 currentClass Ljava/lang/Class<*>;
MethodParameters:
Name Flags
description
public void testFailure(org.junit.runner.notification.Failure);
descriptor: (Lorg/junit/runner/notification/Failure;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iconst_1
putfield com.oracle.mxtool.junit.TextRunListener$1.failed:Z
1: aload 0
dup
getfield com.oracle.mxtool.junit.TextRunListener$1.failedInLastClass:I
iconst_1
iadd
putfield com.oracle.mxtool.junit.TextRunListener$1.failedInLastClass:I
2: aload 0
getfield com.oracle.mxtool.junit.TextRunListener$1.val$l:Lcom/oracle/mxtool/junit/MxRunListener;
aload 1
invokeinterface com.oracle.mxtool.junit.MxRunListener.testFailed:(Lorg/junit/runner/notification/Failure;)V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/oracle/mxtool/junit/TextRunListener$1;
0 4 1 failure Lorg/junit/runner/notification/Failure;
MethodParameters:
Name Flags
failure
public void testFinished(org.junit.runner.Description);
descriptor: (Lorg/junit/runner/Description;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.oracle.mxtool.junit.TextRunListener$1.failed:Z
ifne 3
1: aload 0
getfield com.oracle.mxtool.junit.TextRunListener$1.val$l:Lcom/oracle/mxtool/junit/MxRunListener;
aload 1
invokeinterface com.oracle.mxtool.junit.MxRunListener.testSucceeded:(Lorg/junit/runner/Description;)V
2: aload 0
dup
getfield com.oracle.mxtool.junit.TextRunListener$1.passedInLastClass:I
iconst_1
iadd
putfield com.oracle.mxtool.junit.TextRunListener$1.passedInLastClass:I
3: StackMap locals:
StackMap stack:
aload 0
getfield com.oracle.mxtool.junit.TextRunListener$1.val$l:Lcom/oracle/mxtool/junit/MxRunListener;
aload 1
invokeinterface com.oracle.mxtool.junit.MxRunListener.testFinished:(Lorg/junit/runner/Description;)V
4: aload 0
getfield com.oracle.mxtool.junit.TextRunListener$1.val$l:Lcom/oracle/mxtool/junit/MxRunListener;
invokeinterface com.oracle.mxtool.junit.MxRunListener.testFinishedDelimiter:()V
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/oracle/mxtool/junit/TextRunListener$1;
0 6 1 description Lorg/junit/runner/Description;
MethodParameters:
Name Flags
description
public void testIgnored(org.junit.runner.Description);
descriptor: (Lorg/junit/runner/Description;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual com.oracle.mxtool.junit.TextRunListener$1.testStarted:(Lorg/junit/runner/Description;)V
1: aload 0
getfield com.oracle.mxtool.junit.TextRunListener$1.val$l:Lcom/oracle/mxtool/junit/MxRunListener;
aload 1
invokeinterface com.oracle.mxtool.junit.MxRunListener.testIgnored:(Lorg/junit/runner/Description;)V
2: aload 0
getfield com.oracle.mxtool.junit.TextRunListener$1.val$l:Lcom/oracle/mxtool/junit/MxRunListener;
aload 1
invokeinterface com.oracle.mxtool.junit.MxRunListener.testFinished:(Lorg/junit/runner/Description;)V
3: aload 0
getfield com.oracle.mxtool.junit.TextRunListener$1.val$l:Lcom/oracle/mxtool/junit/MxRunListener;
invokeinterface com.oracle.mxtool.junit.MxRunListener.testFinishedDelimiter:()V
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/oracle/mxtool/junit/TextRunListener$1;
0 5 1 description Lorg/junit/runner/Description;
MethodParameters:
Name Flags
description
public void testRunStarted(org.junit.runner.Description);
descriptor: (Lorg/junit/runner/Description;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.oracle.mxtool.junit.TextRunListener$1.val$l:Lcom/oracle/mxtool/junit/MxRunListener;
aload 1
invokeinterface com.oracle.mxtool.junit.MxRunListener.testRunStarted:(Lorg/junit/runner/Description;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/oracle/mxtool/junit/TextRunListener$1;
0 2 1 description Lorg/junit/runner/Description;
MethodParameters:
Name Flags
description
public void testRunFinished(org.junit.runner.Result);
descriptor: (Lorg/junit/runner/Result;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.oracle.mxtool.junit.TextRunListener$1.lastClass:Ljava/lang/Class;
ifnull 2
1: aload 0
getfield com.oracle.mxtool.junit.TextRunListener$1.val$l:Lcom/oracle/mxtool/junit/MxRunListener;
aload 0
getfield com.oracle.mxtool.junit.TextRunListener$1.lastClass:Ljava/lang/Class;
aload 0
getfield com.oracle.mxtool.junit.TextRunListener$1.passedInLastClass:I
aload 0
getfield com.oracle.mxtool.junit.TextRunListener$1.failedInLastClass:I
invokeinterface com.oracle.mxtool.junit.MxRunListener.testClassFinished:(Ljava/lang/Class;II)V
2: StackMap locals:
StackMap stack:
aload 0
getfield com.oracle.mxtool.junit.TextRunListener$1.val$l:Lcom/oracle/mxtool/junit/MxRunListener;
aload 1
invokeinterface com.oracle.mxtool.junit.MxRunListener.testRunFinished:(Lorg/junit/runner/Result;)V
3: aload 0
aload 1
invokespecial org.junit.internal.TextListener.testRunFinished:(Lorg/junit/runner/Result;)V
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/oracle/mxtool/junit/TextRunListener$1;
0 5 1 result Lorg/junit/runner/Result;
MethodParameters:
Name Flags
result
public void testAssumptionFailure(org.junit.runner.notification.Failure);
descriptor: (Lorg/junit/runner/notification/Failure;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.oracle.mxtool.junit.TextRunListener$1.val$l:Lcom/oracle/mxtool/junit/MxRunListener;
aload 1
invokeinterface com.oracle.mxtool.junit.MxRunListener.testAssumptionFailure:(Lorg/junit/runner/notification/Failure;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/oracle/mxtool/junit/TextRunListener$1;
0 2 1 failure Lorg/junit/runner/notification/Failure;
MethodParameters:
Name Flags
failure
protected void printFailure(org.junit.runner.notification.Failure, java.lang.String);
descriptor: (Lorg/junit/runner/notification/Failure;Ljava/lang/String;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: new java.lang.StringBuilder
dup
aload 1
invokevirtual org.junit.runner.notification.Failure.getDescription:()Lorg/junit/runner/Description;
invokevirtual org.junit.runner.Description.getClassName:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "#"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual org.junit.runner.notification.Failure.getDescription:()Lorg/junit/runner/Description;
invokevirtual org.junit.runner.Description.getMethodName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 3
start local 3 1: aload 0
getfield com.oracle.mxtool.junit.TextRunListener$1.val$theWriter:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
aload 2
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ") "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
2: aload 0
getfield com.oracle.mxtool.junit.TextRunListener$1.val$theWriter:Ljava/io/PrintStream;
aload 1
invokevirtual org.junit.runner.notification.Failure.getTrace:()Ljava/lang/String;
invokevirtual java.io.PrintStream.print:(Ljava/lang/String;)V
3: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/oracle/mxtool/junit/TextRunListener$1;
0 4 1 each Lorg/junit/runner/notification/Failure;
0 4 2 prefix Ljava/lang/String;
1 4 3 header Ljava/lang/String;
MethodParameters:
Name Flags
each
prefix
}
SourceFile: "TextRunListener.java"
EnclosingMethod: com.oracle.mxtool.junit.TextRunListener.createRunListener:(Lcom/oracle/mxtool/junit/MxRunListener;)Lorg/junit/runner/notification/RunListener;
NestHost: com.oracle.mxtool.junit.TextRunListener
InnerClasses:
com.oracle.mxtool.junit.TextRunListener$1