public class io.vertx.ext.unit.junit.VertxUnitRunner extends org.junit.runners.BlockJUnit4ClassRunner
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.vertx.ext.unit.junit.VertxUnitRunner
super_class: org.junit.runners.BlockJUnit4ClassRunner
{
private static final java.lang.ThreadLocal<io.vertx.ext.unit.junit.VertxUnitRunner> currentRunner;
descriptor: Ljava/lang/ThreadLocal;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/lang/ThreadLocal<Lio/vertx/ext/unit/junit/VertxUnitRunner;>;
private static final java.util.LinkedList<io.vertx.core.Context> contextStack;
descriptor: Ljava/util/LinkedList;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/LinkedList<Lio/vertx/core/Context;>;
private static final java.util.LinkedList<java.lang.Long> timeoutStack;
descriptor: Ljava/util/LinkedList;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/LinkedList<Ljava/lang/Long;>;
private final org.junit.runners.model.TestClass testClass;
descriptor: Lorg/junit/runners/model/TestClass;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private java.util.Map<java.lang.String, java.lang.Object> classAttributes;
descriptor: Ljava/util/Map;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;
private io.vertx.ext.unit.impl.TestContextImpl testContext;
descriptor: Lio/vertx/ext/unit/impl/TestContextImpl;
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new java.lang.ThreadLocal
dup
invokespecial java.lang.ThreadLocal.<init>:()V
putstatic io.vertx.ext.unit.junit.VertxUnitRunner.currentRunner:Ljava/lang/ThreadLocal;
1: new java.util.LinkedList
dup
invokespecial java.util.LinkedList.<init>:()V
putstatic io.vertx.ext.unit.junit.VertxUnitRunner.contextStack:Ljava/util/LinkedList;
2: new java.util.LinkedList
dup
invokespecial java.util.LinkedList.<init>:()V
putstatic io.vertx.ext.unit.junit.VertxUnitRunner.timeoutStack:Ljava/util/LinkedList;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial org.junit.runners.BlockJUnit4ClassRunner.<init>:(Ljava/lang/Class;)V
1: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield io.vertx.ext.unit.junit.VertxUnitRunner.classAttributes:Ljava/util/Map;
2: aload 0
new org.junit.runners.model.TestClass
dup
aload 1
invokespecial org.junit.runners.model.TestClass.<init>:(Ljava/lang/Class;)V
putfield io.vertx.ext.unit.junit.VertxUnitRunner.testClass:Lorg/junit/runners/model/TestClass;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/vertx/ext/unit/junit/VertxUnitRunner;
0 4 1 klass Ljava/lang/Class<*>;
Exceptions:
throws org.junit.runners.model.InitializationError
Signature: (Ljava/lang/Class<*>;)V
MethodParameters:
Name Flags
klass
protected void validatePublicVoidNoArgMethods(java.lang.Class<? extends java.lang.annotation.Annotation>, boolean, java.util.List<java.lang.Throwable>);
descriptor: (Ljava/lang/Class;ZLjava/util/List;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=8, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
ldc Lorg/junit/Test;
if_acmpeq 2
aload 1
ldc Lorg/junit/Before;
if_acmpeq 2
aload 1
ldc Lorg/junit/After;
if_acmpeq 2
1: aload 1
ldc Lorg/junit/BeforeClass;
if_acmpeq 2
aload 1
ldc Lorg/junit/AfterClass;
if_acmpne 12
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual io.vertx.ext.unit.junit.VertxUnitRunner.getTestClass:()Lorg/junit/runners/model/TestClass;
aload 1
invokevirtual org.junit.runners.model.TestClass.getAnnotatedMethods:(Ljava/lang/Class;)Ljava/util/List;
astore 4
start local 4 3: aload 4
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 6
goto 10
StackMap locals: io.vertx.ext.unit.junit.VertxUnitRunner java.lang.Class int java.util.List java.util.List top java.util.Iterator
StackMap stack:
4: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.junit.runners.model.FrameworkMethod
astore 5
start local 5 5: aload 5
iload 2
aload 3
invokevirtual org.junit.runners.model.FrameworkMethod.validatePublicVoid:(ZLjava/util/List;)V
6: aload 0
aload 5
invokevirtual io.vertx.ext.unit.junit.VertxUnitRunner.validateTestMethod:(Lorg/junit/runners/model/FrameworkMethod;)V
7: goto 10
StackMap locals: io.vertx.ext.unit.junit.VertxUnitRunner java.lang.Class int java.util.List java.util.List org.junit.runners.model.FrameworkMethod java.util.Iterator
StackMap stack: java.lang.Exception
8: astore 7
start local 7 9: aload 3
aload 7
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 7 end local 5 10: StackMap locals: io.vertx.ext.unit.junit.VertxUnitRunner java.lang.Class int java.util.List java.util.List top java.util.Iterator
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
end local 4 11: goto 13
12: StackMap locals: io.vertx.ext.unit.junit.VertxUnitRunner java.lang.Class int java.util.List
StackMap stack:
aload 0
aload 1
iload 2
aload 3
invokespecial org.junit.runners.BlockJUnit4ClassRunner.validatePublicVoidNoArgMethods:(Ljava/lang/Class;ZLjava/util/List;)V
13: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lio/vertx/ext/unit/junit/VertxUnitRunner;
0 14 1 annotation Ljava/lang/Class<+Ljava/lang/annotation/Annotation;>;
0 14 2 isStatic Z
0 14 3 errors Ljava/util/List<Ljava/lang/Throwable;>;
3 11 4 fMethods Ljava/util/List<Lorg/junit/runners/model/FrameworkMethod;>;
5 10 5 fMethod Lorg/junit/runners/model/FrameworkMethod;
9 10 7 e Ljava/lang/Exception;
Exception table:
from to target type
6 7 8 Class java.lang.Exception
Signature: (Ljava/lang/Class<+Ljava/lang/annotation/Annotation;>;ZLjava/util/List<Ljava/lang/Throwable;>;)V
MethodParameters:
Name Flags
annotation
isStatic
errors
protected void validateTestMethod(org.junit.runners.model.FrameworkMethod);
descriptor: (Lorg/junit/runners/model/FrameworkMethod;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual org.junit.runners.model.FrameworkMethod.getMethod:()Ljava/lang/reflect/Method;
invokevirtual java.lang.reflect.Method.getParameterTypes:()[Ljava/lang/Class;
astore 2
start local 2 1: aload 2
arraylength
ifeq 5
aload 2
arraylength
iconst_1
if_icmpne 2
aload 2
iconst_0
aaload
ldc Lio/vertx/ext/unit/TestContext;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifne 5
2: StackMap locals: java.lang.Class[]
StackMap stack:
new java.lang.Exception
dup
new java.lang.StringBuilder
dup
ldc "Method "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual org.junit.runners.model.FrameworkMethod.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " should have no parameters or "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
3: ldc "the "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc Lio/vertx/ext/unit/TestContext;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " parameter"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
4: invokespecial java.lang.Exception.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/vertx/ext/unit/junit/VertxUnitRunner;
0 6 1 fMethod Lorg/junit/runners/model/FrameworkMethod;
1 6 2 paramTypes [Ljava/lang/Class;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
fMethod
protected org.junit.runners.model.Statement methodInvoker(org.junit.runners.model.FrameworkMethod, java.lang.Object);
descriptor: (Lorg/junit/runners/model/FrameworkMethod;Ljava/lang/Object;)Lorg/junit/runners/model/Statement;
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield io.vertx.ext.unit.junit.VertxUnitRunner.testContext:Lio/vertx/ext/unit/impl/TestContextImpl;
astore 3
start local 3 1: new io.vertx.ext.unit.junit.VertxUnitRunner$1
dup
aload 0
aload 3
aload 1
aload 2
invokespecial io.vertx.ext.unit.junit.VertxUnitRunner$1.<init>:(Lio/vertx/ext/unit/junit/VertxUnitRunner;Lio/vertx/ext/unit/impl/TestContextImpl;Lorg/junit/runners/model/FrameworkMethod;Ljava/lang/Object;)V
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/ext/unit/junit/VertxUnitRunner;
0 2 1 method Lorg/junit/runners/model/FrameworkMethod;
0 2 2 test Ljava/lang/Object;
1 2 3 ctx Lio/vertx/ext/unit/impl/TestContextImpl;
MethodParameters:
Name Flags
method
test
protected void invokeTestMethod(org.junit.runners.model.FrameworkMethod, java.lang.Object, io.vertx.ext.unit.TestContext);
descriptor: (Lorg/junit/runners/model/FrameworkMethod;Ljava/lang/Object;Lio/vertx/ext/unit/TestContext;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
invokevirtual org.junit.runners.model.FrameworkMethod.getMethod:()Ljava/lang/reflect/Method;
astore 4
start local 4 1: aload 4
invokevirtual java.lang.reflect.Method.getParameterTypes:()[Ljava/lang/Class;
astore 5
start local 5 2: aload 5
arraylength
ifne 5
3: aload 4
aload 2
iconst_0
anewarray java.lang.Object
invokevirtual java.lang.reflect.Method.invoke:(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
pop
4: goto 6
5: StackMap locals: java.lang.reflect.Method java.lang.Class[]
StackMap stack:
aload 4
aload 2
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 3
aastore
invokevirtual java.lang.reflect.Method.invoke:(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
pop
6: StackMap locals:
StackMap stack:
return
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 7 0 this Lio/vertx/ext/unit/junit/VertxUnitRunner;
0 7 1 fMethod Lorg/junit/runners/model/FrameworkMethod;
0 7 2 test Ljava/lang/Object;
0 7 3 context Lio/vertx/ext/unit/TestContext;
1 7 4 method Ljava/lang/reflect/Method;
2 7 5 paramTypes [Ljava/lang/Class;
Exceptions:
throws java.lang.reflect.InvocationTargetException, java.lang.IllegalAccessException
MethodParameters:
Name Flags
fMethod
test
context
private long getTimeout(org.junit.runners.model.FrameworkMethod);
descriptor: (Lorg/junit/runners/model/FrameworkMethod;)J
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: ldc 120000
lstore 2
start local 2 1: getstatic io.vertx.ext.unit.junit.VertxUnitRunner.timeoutStack:Ljava/util/LinkedList;
invokevirtual java.util.LinkedList.size:()I
ifle 3
2: getstatic io.vertx.ext.unit.junit.VertxUnitRunner.timeoutStack:Ljava/util/LinkedList;
invokevirtual java.util.LinkedList.peekLast:()Ljava/lang/Object;
checkcast java.lang.Long
invokevirtual java.lang.Long.longValue:()J
lstore 2
3: StackMap locals: long
StackMap stack:
aload 1
ldc Lorg/junit/Test;
invokevirtual org.junit.runners.model.FrameworkMethod.getAnnotation:(Ljava/lang/Class;)Ljava/lang/annotation/Annotation;
checkcast org.junit.Test
astore 4
start local 4 4: aload 4
ifnull 6
aload 4
invokeinterface org.junit.Test.timeout:()J
lconst_0
lcmp
ifle 6
5: aload 4
invokeinterface org.junit.Test.timeout:()J
lstore 2
6: StackMap locals: org.junit.Test
StackMap stack:
lload 2
lreturn
end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lio/vertx/ext/unit/junit/VertxUnitRunner;
0 7 1 fMethod Lorg/junit/runners/model/FrameworkMethod;
1 7 2 timeout J
4 7 4 annotation Lorg/junit/Test;
MethodParameters:
Name Flags
fMethod
private void invokeExplosively(io.vertx.ext.unit.impl.TestContextImpl, org.junit.runners.model.FrameworkMethod, java.lang.Object);
descriptor: (Lio/vertx/ext/unit/impl/TestContextImpl;Lorg/junit/runners/model/FrameworkMethod;Ljava/lang/Object;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=13, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 2
aload 3
invokedynamic handle(Lio/vertx/ext/unit/junit/VertxUnitRunner;Lorg/junit/runners/model/FrameworkMethod;Ljava/lang/Object;)Lio/vertx/core/Handler;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)V
io/vertx/ext/unit/junit/VertxUnitRunner.lambda$0(Lorg/junit/runners/model/FrameworkMethod;Ljava/lang/Object;Lio/vertx/ext/unit/TestContext;)V (7)
(Lio/vertx/ext/unit/TestContext;)V
astore 4
start local 4 1: aload 0
aload 2
invokevirtual io.vertx.ext.unit.junit.VertxUnitRunner.getTimeout:(Lorg/junit/runners/model/FrameworkMethod;)J
lstore 5
start local 5 2: getstatic io.vertx.ext.unit.junit.VertxUnitRunner.currentRunner:Ljava/lang/ThreadLocal;
aload 0
invokevirtual java.lang.ThreadLocal.set:(Ljava/lang/Object;)V
3: getstatic io.vertx.ext.unit.junit.VertxUnitRunner.contextStack:Ljava/util/LinkedList;
invokevirtual java.util.LinkedList.peekLast:()Ljava/lang/Object;
checkcast io.vertx.core.Context
astore 7
start local 7 4: new java.util.concurrent.CompletableFuture
dup
invokespecial java.util.concurrent.CompletableFuture.<init>:()V
astore 8
start local 8 5: aload 7
ifnull 8
6: aload 7
aload 1
lload 5
aload 4
aload 8
invokedynamic handle(Lio/vertx/ext/unit/impl/TestContextImpl;JLio/vertx/core/Handler;Ljava/util/concurrent/CompletableFuture;)Lio/vertx/core/Handler;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)V
io/vertx/ext/unit/junit/VertxUnitRunner.lambda$1(Lio/vertx/ext/unit/impl/TestContextImpl;JLio/vertx/core/Handler;Ljava/util/concurrent/CompletableFuture;Ljava/lang/Void;)V (6)
(Ljava/lang/Void;)V
invokeinterface io.vertx.core.Context.runOnContext:(Lio/vertx/core/Handler;)V
7: goto 9
8: StackMap locals: io.vertx.ext.unit.junit.VertxUnitRunner io.vertx.ext.unit.impl.TestContextImpl org.junit.runners.model.FrameworkMethod java.lang.Object io.vertx.core.Handler long io.vertx.core.Context java.util.concurrent.CompletableFuture
StackMap stack:
aload 1
aconst_null
lload 5
aload 4
aload 8
dup
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
pop
invokedynamic handle(Ljava/util/concurrent/CompletableFuture;)Lio/vertx/core/Handler;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)V
java/util/concurrent/CompletableFuture.complete(Ljava/lang/Object;)Z (5)
(Ljava/lang/Throwable;)V
invokevirtual io.vertx.ext.unit.impl.TestContextImpl.run:(Ljava/lang/Throwable;JLio/vertx/core/Handler;Lio/vertx/core/Handler;)V
9: StackMap locals:
StackMap stack:
aload 8
invokevirtual java.util.concurrent.CompletableFuture.get:()Ljava/lang/Object;
checkcast java.lang.Throwable
astore 10
start local 10 10: goto 17
end local 10 StackMap locals:
StackMap stack: java.lang.InterruptedException
11: astore 11
start local 11 12: invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
invokevirtual java.lang.Thread.interrupt:()V
13: aload 11
athrow
end local 11 14: StackMap locals:
StackMap stack: java.lang.Throwable
astore 12
15: getstatic io.vertx.ext.unit.junit.VertxUnitRunner.currentRunner:Ljava/lang/ThreadLocal;
aconst_null
invokevirtual java.lang.ThreadLocal.set:(Ljava/lang/Object;)V
16: aload 12
athrow
start local 10 17: StackMap locals: io.vertx.ext.unit.junit.VertxUnitRunner io.vertx.ext.unit.impl.TestContextImpl org.junit.runners.model.FrameworkMethod java.lang.Object io.vertx.core.Handler long io.vertx.core.Context java.util.concurrent.CompletableFuture top java.lang.Throwable
StackMap stack:
getstatic io.vertx.ext.unit.junit.VertxUnitRunner.currentRunner:Ljava/lang/ThreadLocal;
aconst_null
invokevirtual java.lang.ThreadLocal.set:(Ljava/lang/Object;)V
18: aload 10
ifnull 20
19: aload 10
athrow
20: StackMap locals:
StackMap stack:
return
end local 10 end local 8 end local 7 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 21 0 this Lio/vertx/ext/unit/junit/VertxUnitRunner;
0 21 1 testContext Lio/vertx/ext/unit/impl/TestContextImpl;
0 21 2 fMethod Lorg/junit/runners/model/FrameworkMethod;
0 21 3 test Ljava/lang/Object;
1 21 4 callback Lio/vertx/core/Handler<Lio/vertx/ext/unit/TestContext;>;
2 21 5 timeout J
4 21 7 ctx Lio/vertx/core/Context;
5 21 8 future Ljava/util/concurrent/CompletableFuture<Ljava/lang/Throwable;>;
10 11 10 failure Ljava/lang/Throwable;
17 21 10 failure Ljava/lang/Throwable;
12 14 11 e Ljava/lang/InterruptedException;
Exception table:
from to target type
9 10 11 Class java.lang.InterruptedException
9 14 14 any
Exceptions:
throws java.lang.Throwable
MethodParameters:
Name Flags
testContext
fMethod
test
protected org.junit.runners.model.Statement methodBlock(org.junit.runners.model.FrameworkMethod);
descriptor: (Lorg/junit/runners/model/FrameworkMethod;)Lorg/junit/runners/model/Statement;
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=3, args_size=2
start local 0 start local 1 0: aload 0
new io.vertx.ext.unit.impl.TestContextImpl
dup
new java.util.HashMap
dup
aload 0
getfield io.vertx.ext.unit.junit.VertxUnitRunner.classAttributes:Ljava/util/Map;
invokespecial java.util.HashMap.<init>:(Ljava/util/Map;)V
aconst_null
invokespecial io.vertx.ext.unit.impl.TestContextImpl.<init>:(Ljava/util/Map;Lio/vertx/core/Handler;)V
putfield io.vertx.ext.unit.junit.VertxUnitRunner.testContext:Lio/vertx/ext/unit/impl/TestContextImpl;
1: aload 0
aload 1
invokespecial org.junit.runners.BlockJUnit4ClassRunner.methodBlock:(Lorg/junit/runners/model/FrameworkMethod;)Lorg/junit/runners/model/Statement;
astore 2
start local 2 2: aload 0
aconst_null
putfield io.vertx.ext.unit.junit.VertxUnitRunner.testContext:Lio/vertx/ext/unit/impl/TestContextImpl;
3: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/vertx/ext/unit/junit/VertxUnitRunner;
0 4 1 method Lorg/junit/runners/model/FrameworkMethod;
2 4 2 statement Lorg/junit/runners/model/Statement;
MethodParameters:
Name Flags
method
protected org.junit.runners.model.Statement withBefores(org.junit.runners.model.FrameworkMethod, java.lang.Object, org.junit.runners.model.Statement);
descriptor: (Lorg/junit/runners/model/FrameworkMethod;Ljava/lang/Object;Lorg/junit/runners/model/Statement;)Lorg/junit/runners/model/Statement;
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 0
getfield io.vertx.ext.unit.junit.VertxUnitRunner.testContext:Lio/vertx/ext/unit/impl/TestContextImpl;
aload 0
invokevirtual io.vertx.ext.unit.junit.VertxUnitRunner.getTestClass:()Lorg/junit/runners/model/TestClass;
ldc Lorg/junit/Before;
invokevirtual org.junit.runners.model.TestClass.getAnnotatedMethods:(Ljava/lang/Class;)Ljava/util/List;
aload 2
aload 3
invokevirtual io.vertx.ext.unit.junit.VertxUnitRunner.withBefores:(Lio/vertx/ext/unit/impl/TestContextImpl;Ljava/util/List;Ljava/lang/Object;Lorg/junit/runners/model/Statement;)Lorg/junit/runners/model/Statement;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/ext/unit/junit/VertxUnitRunner;
0 1 1 method Lorg/junit/runners/model/FrameworkMethod;
0 1 2 target Ljava/lang/Object;
0 1 3 statement Lorg/junit/runners/model/Statement;
MethodParameters:
Name Flags
method
target
statement
protected org.junit.runners.model.Statement withAfters(org.junit.runners.model.FrameworkMethod, java.lang.Object, org.junit.runners.model.Statement);
descriptor: (Lorg/junit/runners/model/FrameworkMethod;Ljava/lang/Object;Lorg/junit/runners/model/Statement;)Lorg/junit/runners/model/Statement;
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokevirtual io.vertx.ext.unit.junit.VertxUnitRunner.getTestClass:()Lorg/junit/runners/model/TestClass;
ldc Lorg/junit/After;
invokevirtual org.junit.runners.model.TestClass.getAnnotatedMethods:(Ljava/lang/Class;)Ljava/util/List;
astore 4
start local 4 1: aload 0
aload 0
getfield io.vertx.ext.unit.junit.VertxUnitRunner.testContext:Lio/vertx/ext/unit/impl/TestContextImpl;
aload 4
aload 2
aload 3
invokevirtual io.vertx.ext.unit.junit.VertxUnitRunner.withAfters:(Lio/vertx/ext/unit/impl/TestContextImpl;Ljava/util/List;Ljava/lang/Object;Lorg/junit/runners/model/Statement;)Lorg/junit/runners/model/Statement;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/ext/unit/junit/VertxUnitRunner;
0 2 1 method Lorg/junit/runners/model/FrameworkMethod;
0 2 2 target Ljava/lang/Object;
0 2 3 statement Lorg/junit/runners/model/Statement;
1 2 4 afters Ljava/util/List<Lorg/junit/runners/model/FrameworkMethod;>;
MethodParameters:
Name Flags
method
target
statement
protected org.junit.runners.model.Statement withBeforeClasses(org.junit.runners.model.Statement);
descriptor: (Lorg/junit/runners/model/Statement;)Lorg/junit/runners/model/Statement;
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.ext.unit.junit.VertxUnitRunner.testClass:Lorg/junit/runners/model/TestClass;
ldc Lorg/junit/BeforeClass;
invokevirtual org.junit.runners.model.TestClass.getAnnotatedMethods:(Ljava/lang/Class;)Ljava/util/List;
astore 2
start local 2 1: aload 0
new io.vertx.ext.unit.impl.TestContextImpl
dup
aload 0
getfield io.vertx.ext.unit.junit.VertxUnitRunner.classAttributes:Ljava/util/Map;
aconst_null
invokespecial io.vertx.ext.unit.impl.TestContextImpl.<init>:(Ljava/util/Map;Lio/vertx/core/Handler;)V
aload 2
aconst_null
aload 1
invokevirtual io.vertx.ext.unit.junit.VertxUnitRunner.withBefores:(Lio/vertx/ext/unit/impl/TestContextImpl;Ljava/util/List;Ljava/lang/Object;Lorg/junit/runners/model/Statement;)Lorg/junit/runners/model/Statement;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/ext/unit/junit/VertxUnitRunner;
0 2 1 statement Lorg/junit/runners/model/Statement;
1 2 2 befores Ljava/util/List<Lorg/junit/runners/model/FrameworkMethod;>;
MethodParameters:
Name Flags
statement
protected org.junit.runners.model.Statement withAfterClasses(org.junit.runners.model.Statement);
descriptor: (Lorg/junit/runners/model/Statement;)Lorg/junit/runners/model/Statement;
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual io.vertx.ext.unit.junit.VertxUnitRunner.getTestClass:()Lorg/junit/runners/model/TestClass;
ldc Lorg/junit/AfterClass;
invokevirtual org.junit.runners.model.TestClass.getAnnotatedMethods:(Ljava/lang/Class;)Ljava/util/List;
astore 2
start local 2 1: aload 0
new io.vertx.ext.unit.impl.TestContextImpl
dup
aload 0
getfield io.vertx.ext.unit.junit.VertxUnitRunner.classAttributes:Ljava/util/Map;
aconst_null
invokespecial io.vertx.ext.unit.impl.TestContextImpl.<init>:(Ljava/util/Map;Lio/vertx/core/Handler;)V
aload 2
aconst_null
aload 1
invokevirtual io.vertx.ext.unit.junit.VertxUnitRunner.withAfters:(Lio/vertx/ext/unit/impl/TestContextImpl;Ljava/util/List;Ljava/lang/Object;Lorg/junit/runners/model/Statement;)Lorg/junit/runners/model/Statement;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/ext/unit/junit/VertxUnitRunner;
0 2 1 statement Lorg/junit/runners/model/Statement;
1 2 2 afters Ljava/util/List<Lorg/junit/runners/model/FrameworkMethod;>;
MethodParameters:
Name Flags
statement
protected org.junit.runners.model.Statement withPotentialTimeout(org.junit.runners.model.FrameworkMethod, java.lang.Object, org.junit.runners.model.Statement);
descriptor: (Lorg/junit/runners/model/FrameworkMethod;Ljava/lang/Object;Lorg/junit/runners/model/Statement;)Lorg/junit/runners/model/Statement;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/ext/unit/junit/VertxUnitRunner;
0 1 1 method Lorg/junit/runners/model/FrameworkMethod;
0 1 2 test Ljava/lang/Object;
0 1 3 next Lorg/junit/runners/model/Statement;
MethodParameters:
Name Flags
method
test
next
private org.junit.runners.model.Statement withBefores(io.vertx.ext.unit.impl.TestContextImpl, java.util.List<org.junit.runners.model.FrameworkMethod>, , org.junit.runners.model.Statement);
descriptor: (Lio/vertx/ext/unit/impl/TestContextImpl;Ljava/util/List;Ljava/lang/Object;Lorg/junit/runners/model/Statement;)Lorg/junit/runners/model/Statement;
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 2
invokeinterface java.util.List.isEmpty:()Z
ifeq 2
1: aload 4
areturn
2: StackMap locals:
StackMap stack:
new io.vertx.ext.unit.junit.VertxUnitRunner$2
dup
aload 0
aload 2
aload 1
aload 3
aload 4
invokespecial io.vertx.ext.unit.junit.VertxUnitRunner$2.<init>:(Lio/vertx/ext/unit/junit/VertxUnitRunner;Ljava/util/List;Lio/vertx/ext/unit/impl/TestContextImpl;Ljava/lang/Object;Lorg/junit/runners/model/Statement;)V
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/vertx/ext/unit/junit/VertxUnitRunner;
0 3 1 testContext Lio/vertx/ext/unit/impl/TestContextImpl;
0 3 2 befores Ljava/util/List<Lorg/junit/runners/model/FrameworkMethod;>;
0 3 3 target Ljava/lang/Object;
0 3 4 statement Lorg/junit/runners/model/Statement;
Signature: (Lio/vertx/ext/unit/impl/TestContextImpl;Ljava/util/List<Lorg/junit/runners/model/FrameworkMethod;>;Ljava/lang/Object;Lorg/junit/runners/model/Statement;)Lorg/junit/runners/model/Statement;
MethodParameters:
Name Flags
testContext
befores
target
statement
private org.junit.runners.model.Statement withAfters(io.vertx.ext.unit.impl.TestContextImpl, java.util.List<org.junit.runners.model.FrameworkMethod>, , org.junit.runners.model.Statement);
descriptor: (Lio/vertx/ext/unit/impl/TestContextImpl;Ljava/util/List;Ljava/lang/Object;Lorg/junit/runners/model/Statement;)Lorg/junit/runners/model/Statement;
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 2
invokeinterface java.util.List.isEmpty:()Z
ifeq 2
1: aload 4
areturn
2: StackMap locals:
StackMap stack:
new io.vertx.ext.unit.junit.VertxUnitRunner$3
dup
aload 0
aload 2
aload 1
aload 3
aload 4
invokespecial io.vertx.ext.unit.junit.VertxUnitRunner$3.<init>:(Lio/vertx/ext/unit/junit/VertxUnitRunner;Ljava/util/List;Lio/vertx/ext/unit/impl/TestContextImpl;Ljava/lang/Object;Lorg/junit/runners/model/Statement;)V
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/vertx/ext/unit/junit/VertxUnitRunner;
0 3 1 testContext Lio/vertx/ext/unit/impl/TestContextImpl;
0 3 2 afters Ljava/util/List<Lorg/junit/runners/model/FrameworkMethod;>;
0 3 3 target Ljava/lang/Object;
0 3 4 statement Lorg/junit/runners/model/Statement;
Signature: (Lio/vertx/ext/unit/impl/TestContextImpl;Ljava/util/List<Lorg/junit/runners/model/FrameworkMethod;>;Ljava/lang/Object;Lorg/junit/runners/model/Statement;)Lorg/junit/runners/model/Statement;
MethodParameters:
Name Flags
testContext
afters
target
statement
static void pushContext(io.vertx.core.Context);
descriptor: (Lio/vertx/core/Context;)V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic io.vertx.ext.unit.junit.VertxUnitRunner.contextStack:Ljava/util/LinkedList;
aload 0
invokevirtual java.util.LinkedList.push:(Ljava/lang/Object;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 context Lio/vertx/core/Context;
MethodParameters:
Name Flags
context
static void popContext();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic io.vertx.ext.unit.junit.VertxUnitRunner.contextStack:Ljava/util/LinkedList;
invokevirtual java.util.LinkedList.pop:()Ljava/lang/Object;
pop
1: return
LocalVariableTable:
Start End Slot Name Signature
static void pushTimeout(long);
descriptor: (J)V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: getstatic io.vertx.ext.unit.junit.VertxUnitRunner.timeoutStack:Ljava/util/LinkedList;
lload 0
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
invokevirtual java.util.LinkedList.push:(Ljava/lang/Object;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 timeout J
MethodParameters:
Name Flags
timeout
static void popTimeout();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic io.vertx.ext.unit.junit.VertxUnitRunner.timeoutStack:Ljava/util/LinkedList;
invokevirtual java.util.LinkedList.pop:()Ljava/lang/Object;
pop
1: return
LocalVariableTable:
Start End Slot Name Signature
private void lambda$0(org.junit.runners.model.FrameworkMethod, java.lang.Object, io.vertx.ext.unit.TestContext);
descriptor: (Lorg/junit/runners/model/FrameworkMethod;Ljava/lang/Object;Lio/vertx/ext/unit/TestContext;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=4, locals=5, args_size=4
start local 0 start local 3 0: aload 0
aload 1
aload 2
aload 3
invokevirtual io.vertx.ext.unit.junit.VertxUnitRunner.invokeTestMethod:(Lorg/junit/runners/model/FrameworkMethod;Ljava/lang/Object;Lio/vertx/ext/unit/TestContext;)V
1: goto 7
StackMap locals:
StackMap stack: java.lang.reflect.InvocationTargetException
2: astore 4
start local 4 3: aload 4
invokevirtual java.lang.reflect.InvocationTargetException.getCause:()Ljava/lang/Throwable;
invokestatic io.vertx.ext.unit.impl.Helper.uncheckedThrow:(Ljava/lang/Throwable;)V
end local 4 4: goto 7
5: StackMap locals:
StackMap stack: java.lang.IllegalAccessException
astore 4
start local 4 6: aload 4
invokestatic io.vertx.ext.unit.impl.Helper.uncheckedThrow:(Ljava/lang/Throwable;)V
end local 4 7: StackMap locals:
StackMap stack:
return
end local 3 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lio/vertx/ext/unit/junit/VertxUnitRunner;
0 8 3 context Lio/vertx/ext/unit/TestContext;
3 4 4 e Ljava/lang/reflect/InvocationTargetException;
6 7 4 e Ljava/lang/IllegalAccessException;
Exception table:
from to target type
0 1 2 Class java.lang.reflect.InvocationTargetException
0 1 5 Class java.lang.IllegalAccessException
private static void lambda$1(io.vertx.ext.unit.impl.TestContextImpl, long, io.vertx.core.Handler, java.util.concurrent.CompletableFuture, java.lang.Void);
descriptor: (Lio/vertx/ext/unit/impl/TestContextImpl;JLio/vertx/core/Handler;Ljava/util/concurrent/CompletableFuture;Ljava/lang/Void;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=7, locals=6, args_size=5
start local 5 0: aload 0
aconst_null
lload 1
aload 3
aload 4
dup
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
pop
invokedynamic handle(Ljava/util/concurrent/CompletableFuture;)Lio/vertx/core/Handler;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)V
java/util/concurrent/CompletableFuture.complete(Ljava/lang/Object;)Z (5)
(Ljava/lang/Throwable;)V
invokevirtual io.vertx.ext.unit.impl.TestContextImpl.run:(Ljava/lang/Throwable;JLio/vertx/core/Handler;Lio/vertx/core/Handler;)V
1: return
end local 5 LocalVariableTable:
Start End Slot Name Signature
0 2 5 v Ljava/lang/Void;
}
SourceFile: "VertxUnitRunner.java"
NestMembers:
io.vertx.ext.unit.junit.VertxUnitRunner$1 io.vertx.ext.unit.junit.VertxUnitRunner$2 io.vertx.ext.unit.junit.VertxUnitRunner$3
InnerClasses:
io.vertx.ext.unit.junit.VertxUnitRunner$1
io.vertx.ext.unit.junit.VertxUnitRunner$2
io.vertx.ext.unit.junit.VertxUnitRunner$3
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles