public class org.junit.runner.notification.RunNotifier extends java.lang.Object
{
private final java.util.List listeners;
private volatile boolean pleaseStop;
public void <init>()
{
org.junit.runner.notification.RunNotifier v;
java.util.concurrent.CopyOnWriteArrayList v;
v := @this: org.junit.runner.notification.RunNotifier;
specialinvoke v.<java.lang.Object: void <init>()>();
v = new java.util.concurrent.CopyOnWriteArrayList;
specialinvoke v.<java.util.concurrent.CopyOnWriteArrayList: void <init>()>();
v.<org.junit.runner.notification.RunNotifier: java.util.List listeners> = v;
v.<org.junit.runner.notification.RunNotifier: boolean pleaseStop> = 0;
return;
}
public void addListener(org.junit.runner.notification.RunListener)
{
java.util.List v;
org.junit.runner.notification.RunListener v, v;
org.junit.runner.notification.RunNotifier v;
java.lang.NullPointerException v;
v := @this: org.junit.runner.notification.RunNotifier;
v := @parameter: org.junit.runner.notification.RunListener;
if v != null goto label;
v = new java.lang.NullPointerException;
specialinvoke v.<java.lang.NullPointerException: void <init>(java.lang.String)>("Cannot add a null listener");
throw v;
label:
v = v.<org.junit.runner.notification.RunNotifier: java.util.List listeners>;
v = virtualinvoke v.<org.junit.runner.notification.RunNotifier: org.junit.runner.notification.RunListener wrapIfNotThreadSafe(org.junit.runner.notification.RunListener)>(v);
interfaceinvoke v.<java.util.List: boolean add(java.lang.Object)>(v);
return;
}
public void removeListener(org.junit.runner.notification.RunListener)
{
java.util.List v;
org.junit.runner.notification.RunListener v, v;
org.junit.runner.notification.RunNotifier v;
java.lang.NullPointerException v;
v := @this: org.junit.runner.notification.RunNotifier;
v := @parameter: org.junit.runner.notification.RunListener;
if v != null goto label;
v = new java.lang.NullPointerException;
specialinvoke v.<java.lang.NullPointerException: void <init>(java.lang.String)>("Cannot remove a null listener");
throw v;
label:
v = v.<org.junit.runner.notification.RunNotifier: java.util.List listeners>;
v = virtualinvoke v.<org.junit.runner.notification.RunNotifier: org.junit.runner.notification.RunListener wrapIfNotThreadSafe(org.junit.runner.notification.RunListener)>(v);
interfaceinvoke v.<java.util.List: boolean remove(java.lang.Object)>(v);
return;
}
org.junit.runner.notification.RunListener wrapIfNotThreadSafe(org.junit.runner.notification.RunListener)
{
org.junit.runner.notification.RunListener v, v;
java.lang.Class v;
org.junit.runner.notification.RunNotifier v;
org.junit.runner.notification.SynchronizedRunListener v;
boolean v;
v := @this: org.junit.runner.notification.RunNotifier;
v := @parameter: org.junit.runner.notification.RunListener;
v = virtualinvoke v.<java.lang.Object: java.lang.Class getClass()>();
v = virtualinvoke v.<java.lang.Class: boolean isAnnotationPresent(java.lang.Class)>(class "Lorg/junit/runner/notification/RunListener$ThreadSafe;");
if v == 0 goto label;
v = v;
goto label;
label:
v = new org.junit.runner.notification.SynchronizedRunListener;
v = v;
specialinvoke v.<org.junit.runner.notification.SynchronizedRunListener: void <init>(org.junit.runner.notification.RunListener,java.lang.Object)>(v, v);
label:
return v;
}
public void fireTestRunStarted(org.junit.runner.Description)
{
org.junit.runner.Description v;
org.junit.runner.notification.RunNotifier v;
org.junit.runner.notification.RunNotifier$1 v;
v := @this: org.junit.runner.notification.RunNotifier;
v := @parameter: org.junit.runner.Description;
v = new org.junit.runner.notification.RunNotifier$1;
specialinvoke v.<org.junit.runner.notification.RunNotifier$1: void <init>(org.junit.runner.notification.RunNotifier,org.junit.runner.Description)>(v, v);
virtualinvoke v.<org.junit.runner.notification.RunNotifier$1: void run()>();
return;
}
public void fireTestRunFinished(org.junit.runner.Result)
{
org.junit.runner.Result v;
org.junit.runner.notification.RunNotifier v;
org.junit.runner.notification.RunNotifier$2 v;
v := @this: org.junit.runner.notification.RunNotifier;
v := @parameter: org.junit.runner.Result;
v = new org.junit.runner.notification.RunNotifier$2;
specialinvoke v.<org.junit.runner.notification.RunNotifier$2: void <init>(org.junit.runner.notification.RunNotifier,org.junit.runner.Result)>(v, v);
virtualinvoke v.<org.junit.runner.notification.RunNotifier$2: void run()>();
return;
}
public void fireTestSuiteStarted(org.junit.runner.Description)
{
org.junit.runner.Description v;
org.junit.runner.notification.RunNotifier v;
org.junit.runner.notification.RunNotifier$3 v;
v := @this: org.junit.runner.notification.RunNotifier;
v := @parameter: org.junit.runner.Description;
v = new org.junit.runner.notification.RunNotifier$3;
specialinvoke v.<org.junit.runner.notification.RunNotifier$3: void <init>(org.junit.runner.notification.RunNotifier,org.junit.runner.Description)>(v, v);
virtualinvoke v.<org.junit.runner.notification.RunNotifier$3: void run()>();
return;
}
public void fireTestSuiteFinished(org.junit.runner.Description)
{
org.junit.runner.Description v;
org.junit.runner.notification.RunNotifier v;
org.junit.runner.notification.RunNotifier$4 v;
v := @this: org.junit.runner.notification.RunNotifier;
v := @parameter: org.junit.runner.Description;
v = new org.junit.runner.notification.RunNotifier$4;
specialinvoke v.<org.junit.runner.notification.RunNotifier$4: void <init>(org.junit.runner.notification.RunNotifier,org.junit.runner.Description)>(v, v);
virtualinvoke v.<org.junit.runner.notification.RunNotifier$4: void run()>();
return;
}
public void fireTestStarted(org.junit.runner.Description) throws org.junit.runner.notification.StoppedByUserException
{
org.junit.runner.notification.StoppedByUserException v;
org.junit.runner.Description v;
org.junit.runner.notification.RunNotifier v;
boolean v;
org.junit.runner.notification.RunNotifier$5 v;
v := @this: org.junit.runner.notification.RunNotifier;
v := @parameter: org.junit.runner.Description;
v = v.<org.junit.runner.notification.RunNotifier: boolean pleaseStop>;
if v == 0 goto label;
v = new org.junit.runner.notification.StoppedByUserException;
specialinvoke v.<org.junit.runner.notification.StoppedByUserException: void <init>()>();
throw v;
label:
v = new org.junit.runner.notification.RunNotifier$5;
specialinvoke v.<org.junit.runner.notification.RunNotifier$5: void <init>(org.junit.runner.notification.RunNotifier,org.junit.runner.Description)>(v, v);
virtualinvoke v.<org.junit.runner.notification.RunNotifier$5: void run()>();
return;
}
public void fireTestFailure(org.junit.runner.notification.Failure)
{
java.util.List v, v;
org.junit.runner.notification.RunNotifier v;
org.junit.runner.notification.Failure v;
org.junit.runner.notification.Failure[] v;
v := @this: org.junit.runner.notification.RunNotifier;
v := @parameter: org.junit.runner.notification.Failure;
v = v.<org.junit.runner.notification.RunNotifier: java.util.List listeners>;
v = newarray (org.junit.runner.notification.Failure)[1];
v[0] = v;
v = staticinvoke <java.util.Arrays: java.util.List asList(java.lang.Object[])>(v);
specialinvoke v.<org.junit.runner.notification.RunNotifier: void fireTestFailures(java.util.List,java.util.List)>(v, v);
return;
}
private void fireTestFailures(java.util.List, java.util.List)
{
java.util.List v, v;
org.junit.runner.notification.RunNotifier$6 v;
org.junit.runner.notification.RunNotifier v;
boolean v;
v := @this: org.junit.runner.notification.RunNotifier;
v := @parameter: java.util.List;
v := @parameter: java.util.List;
v = interfaceinvoke v.<java.util.List: boolean isEmpty()>();
if v != 0 goto label;
v = new org.junit.runner.notification.RunNotifier$6;
specialinvoke v.<org.junit.runner.notification.RunNotifier$6: void <init>(org.junit.runner.notification.RunNotifier,java.util.List,java.util.List)>(v, v, v);
virtualinvoke v.<org.junit.runner.notification.RunNotifier$6: void run()>();
label:
return;
}
public void fireTestAssumptionFailed(org.junit.runner.notification.Failure)
{
org.junit.runner.notification.RunNotifier$7 v;
org.junit.runner.notification.RunNotifier v;
org.junit.runner.notification.Failure v;
v := @this: org.junit.runner.notification.RunNotifier;
v := @parameter: org.junit.runner.notification.Failure;
v = new org.junit.runner.notification.RunNotifier$7;
specialinvoke v.<org.junit.runner.notification.RunNotifier$7: void <init>(org.junit.runner.notification.RunNotifier,org.junit.runner.notification.Failure)>(v, v);
virtualinvoke v.<org.junit.runner.notification.RunNotifier$7: void run()>();
return;
}
public void fireTestIgnored(org.junit.runner.Description)
{
org.junit.runner.Description v;
org.junit.runner.notification.RunNotifier$8 v;
org.junit.runner.notification.RunNotifier v;
v := @this: org.junit.runner.notification.RunNotifier;
v := @parameter: org.junit.runner.Description;
v = new org.junit.runner.notification.RunNotifier$8;
specialinvoke v.<org.junit.runner.notification.RunNotifier$8: void <init>(org.junit.runner.notification.RunNotifier,org.junit.runner.Description)>(v, v);
virtualinvoke v.<org.junit.runner.notification.RunNotifier$8: void run()>();
return;
}
public void fireTestFinished(org.junit.runner.Description)
{
org.junit.runner.Description v;
org.junit.runner.notification.RunNotifier v;
org.junit.runner.notification.RunNotifier$9 v;
v := @this: org.junit.runner.notification.RunNotifier;
v := @parameter: org.junit.runner.Description;
v = new org.junit.runner.notification.RunNotifier$9;
specialinvoke v.<org.junit.runner.notification.RunNotifier$9: void <init>(org.junit.runner.notification.RunNotifier,org.junit.runner.Description)>(v, v);
virtualinvoke v.<org.junit.runner.notification.RunNotifier$9: void run()>();
return;
}
public void pleaseStop()
{
org.junit.runner.notification.RunNotifier v;
v := @this: org.junit.runner.notification.RunNotifier;
v.<org.junit.runner.notification.RunNotifier: boolean pleaseStop> = 1;
return;
}
public void addFirstListener(org.junit.runner.notification.RunListener)
{
java.util.List v;
org.junit.runner.notification.RunListener v, v;
org.junit.runner.notification.RunNotifier v;
java.lang.NullPointerException v;
v := @this: org.junit.runner.notification.RunNotifier;
v := @parameter: org.junit.runner.notification.RunListener;
if v != null goto label;
v = new java.lang.NullPointerException;
specialinvoke v.<java.lang.NullPointerException: void <init>(java.lang.String)>("Cannot add a null listener");
throw v;
label:
v = v.<org.junit.runner.notification.RunNotifier: java.util.List listeners>;
v = virtualinvoke v.<org.junit.runner.notification.RunNotifier: org.junit.runner.notification.RunListener wrapIfNotThreadSafe(org.junit.runner.notification.RunListener)>(v);
interfaceinvoke v.<java.util.List: void add(int,java.lang.Object)>(0, v);
return;
}
}