public class io.vertx.ext.unit.report.impl.EventBusReporter implements io.vertx.ext.unit.report.Reporter<io.vertx.ext.unit.report.impl.EventBusReporter$EventBusReport>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.vertx.ext.unit.report.impl.EventBusReporter
super_class: java.lang.Object
{
private final io.vertx.core.Vertx vertx;
descriptor: Lio/vertx/core/Vertx;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String address;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(io.vertx.core.Vertx, java.lang.String);
descriptor: (Lio/vertx/core/Vertx;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield io.vertx.ext.unit.report.impl.EventBusReporter.vertx:Lio/vertx/core/Vertx;
2: aload 0
aload 2
putfield io.vertx.ext.unit.report.impl.EventBusReporter.address:Ljava/lang/String;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/vertx/ext/unit/report/impl/EventBusReporter;
0 4 1 vertx Lio/vertx/core/Vertx;
0 4 2 address Ljava/lang/String;
MethodParameters:
Name Flags
vertx
address
public io.vertx.ext.unit.report.impl.EventBusReporter$EventBusReport reportBeginTestSuite(java.lang.String);
descriptor: (Ljava/lang/String;)Lio/vertx/ext/unit/report/impl/EventBusReporter$EventBusReport;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: new io.vertx.ext.unit.report.impl.EventBusReporter$EventBusReport
dup
aload 1
invokespecial io.vertx.ext.unit.report.impl.EventBusReporter$EventBusReport.<init>:(Ljava/lang/String;)V
astore 2
start local 2 1: aload 0
getfield io.vertx.ext.unit.report.impl.EventBusReporter.vertx:Lio/vertx/core/Vertx;
invokeinterface io.vertx.core.Vertx.eventBus:()Lio/vertx/core/eventbus/EventBus;
aload 0
getfield io.vertx.ext.unit.report.impl.EventBusReporter.address:Ljava/lang/String;
new io.vertx.core.json.JsonObject
dup
invokespecial io.vertx.core.json.JsonObject.<init>:()V
2: ldc "type"
ldc "testSuiteBegin"
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/String;)Lio/vertx/core/json/JsonObject;
3: ldc "name"
aload 1
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/String;)Lio/vertx/core/json/JsonObject;
4: invokeinterface io.vertx.core.eventbus.EventBus.publish:(Ljava/lang/String;Ljava/lang/Object;)Lio/vertx/core/eventbus/EventBus;
pop
5: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/vertx/ext/unit/report/impl/EventBusReporter;
0 6 1 name Ljava/lang/String;
1 6 2 report Lio/vertx/ext/unit/report/impl/EventBusReporter$EventBusReport;
MethodParameters:
Name Flags
name
public void reportBeginTestCase(io.vertx.ext.unit.report.impl.EventBusReporter$EventBusReport, java.lang.String);
descriptor: (Lio/vertx/ext/unit/report/impl/EventBusReporter$EventBusReport;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield io.vertx.ext.unit.report.impl.EventBusReporter.vertx:Lio/vertx/core/Vertx;
invokeinterface io.vertx.core.Vertx.eventBus:()Lio/vertx/core/eventbus/EventBus;
aload 0
getfield io.vertx.ext.unit.report.impl.EventBusReporter.address:Ljava/lang/String;
new io.vertx.core.json.JsonObject
dup
invokespecial io.vertx.core.json.JsonObject.<init>:()V
1: ldc "type"
ldc "testCaseBegin"
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/String;)Lio/vertx/core/json/JsonObject;
2: ldc "name"
aload 2
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/String;)Lio/vertx/core/json/JsonObject;
3: invokeinterface io.vertx.core.eventbus.EventBus.publish:(Ljava/lang/String;Ljava/lang/Object;)Lio/vertx/core/eventbus/EventBus;
pop
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/vertx/ext/unit/report/impl/EventBusReporter;
0 5 1 report Lio/vertx/ext/unit/report/impl/EventBusReporter$EventBusReport;
0 5 2 name Ljava/lang/String;
MethodParameters:
Name Flags
report
name
public void reportEndTestCase(io.vertx.ext.unit.report.impl.EventBusReporter$EventBusReport, java.lang.String, io.vertx.ext.unit.report.TestResult);
descriptor: (Lio/vertx/ext/unit/report/impl/EventBusReporter$EventBusReport;Ljava/lang/String;Lio/vertx/ext/unit/report/TestResult;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: new io.vertx.core.json.JsonObject
dup
invokespecial io.vertx.core.json.JsonObject.<init>:()V
1: ldc "type"
ldc "testCaseEnd"
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/String;)Lio/vertx/core/json/JsonObject;
2: ldc "name"
aload 3
invokeinterface io.vertx.ext.unit.report.TestResult.name:()Ljava/lang/String;
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/String;)Lio/vertx/core/json/JsonObject;
3: ldc "beginTime"
aload 3
invokeinterface io.vertx.ext.unit.report.TestResult.beginTime:()J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/Long;)Lio/vertx/core/json/JsonObject;
4: ldc "durationTime"
aload 3
invokeinterface io.vertx.ext.unit.report.TestResult.durationTime:()J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/Long;)Lio/vertx/core/json/JsonObject;
5: astore 4
start local 4 6: aload 3
invokeinterface io.vertx.ext.unit.report.TestResult.failed:()Z
ifeq 9
7: aload 3
invokeinterface io.vertx.ext.unit.report.TestResult.failure:()Lio/vertx/ext/unit/report/Failure;
astore 5
start local 5 8: aload 4
ldc "failure"
aload 5
checkcast io.vertx.ext.unit.impl.FailureImpl
invokevirtual io.vertx.ext.unit.impl.FailureImpl.toJson:()Lio/vertx/core/json/JsonObject;
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Lio/vertx/core/json/JsonObject;)Lio/vertx/core/json/JsonObject;
pop
end local 5 9: StackMap locals: io.vertx.core.json.JsonObject
StackMap stack:
aload 0
getfield io.vertx.ext.unit.report.impl.EventBusReporter.vertx:Lio/vertx/core/Vertx;
invokeinterface io.vertx.core.Vertx.eventBus:()Lio/vertx/core/eventbus/EventBus;
aload 0
getfield io.vertx.ext.unit.report.impl.EventBusReporter.address:Ljava/lang/String;
aload 4
invokeinterface io.vertx.core.eventbus.EventBus.publish:(Ljava/lang/String;Ljava/lang/Object;)Lio/vertx/core/eventbus/EventBus;
pop
10: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lio/vertx/ext/unit/report/impl/EventBusReporter;
0 11 1 report Lio/vertx/ext/unit/report/impl/EventBusReporter$EventBusReport;
0 11 2 name Ljava/lang/String;
0 11 3 result Lio/vertx/ext/unit/report/TestResult;
6 11 4 json Lio/vertx/core/json/JsonObject;
8 9 5 failure Lio/vertx/ext/unit/report/Failure;
MethodParameters:
Name Flags
report
name
result
public void reportError(io.vertx.ext.unit.report.impl.EventBusReporter$EventBusReport, java.lang.Throwable);
descriptor: (Lio/vertx/ext/unit/report/impl/EventBusReporter$EventBusReport;Ljava/lang/Throwable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: new io.vertx.core.json.JsonObject
dup
invokespecial io.vertx.core.json.JsonObject.<init>:()V
ldc "type"
ldc "testSuiteError"
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/String;)Lio/vertx/core/json/JsonObject;
astore 3
start local 3 1: aload 3
ldc "failure"
new io.vertx.ext.unit.impl.FailureImpl
dup
aload 2
invokespecial io.vertx.ext.unit.impl.FailureImpl.<init>:(Ljava/lang/Throwable;)V
invokevirtual io.vertx.ext.unit.impl.FailureImpl.toJson:()Lio/vertx/core/json/JsonObject;
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Lio/vertx/core/json/JsonObject;)Lio/vertx/core/json/JsonObject;
pop
2: aload 0
getfield io.vertx.ext.unit.report.impl.EventBusReporter.vertx:Lio/vertx/core/Vertx;
invokeinterface io.vertx.core.Vertx.eventBus:()Lio/vertx/core/eventbus/EventBus;
aload 0
getfield io.vertx.ext.unit.report.impl.EventBusReporter.address:Ljava/lang/String;
aload 3
invokeinterface io.vertx.core.eventbus.EventBus.publish:(Ljava/lang/String;Ljava/lang/Object;)Lio/vertx/core/eventbus/EventBus;
pop
3: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/vertx/ext/unit/report/impl/EventBusReporter;
0 4 1 report Lio/vertx/ext/unit/report/impl/EventBusReporter$EventBusReport;
0 4 2 err Ljava/lang/Throwable;
1 4 3 msg Lio/vertx/core/json/JsonObject;
MethodParameters:
Name Flags
report
err
public void reportEndTestSuite(io.vertx.ext.unit.report.impl.EventBusReporter$EventBusReport);
descriptor: (Lio/vertx/ext/unit/report/impl/EventBusReporter$EventBusReport;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: new io.vertx.core.json.JsonObject
dup
invokespecial io.vertx.core.json.JsonObject.<init>:()V
ldc "type"
ldc "testSuiteEnd"
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/String;)Lio/vertx/core/json/JsonObject;
1: ldc "name"
aload 1
getfield io.vertx.ext.unit.report.impl.EventBusReporter$EventBusReport.name:Ljava/lang/String;
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/String;)Lio/vertx/core/json/JsonObject;
2: astore 2
start local 2 3: aload 0
getfield io.vertx.ext.unit.report.impl.EventBusReporter.vertx:Lio/vertx/core/Vertx;
invokeinterface io.vertx.core.Vertx.eventBus:()Lio/vertx/core/eventbus/EventBus;
aload 0
getfield io.vertx.ext.unit.report.impl.EventBusReporter.address:Ljava/lang/String;
aload 2
invokeinterface io.vertx.core.eventbus.EventBus.publish:(Ljava/lang/String;Ljava/lang/Object;)Lio/vertx/core/eventbus/EventBus;
pop
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/vertx/ext/unit/report/impl/EventBusReporter;
0 5 1 report Lio/vertx/ext/unit/report/impl/EventBusReporter$EventBusReport;
3 5 2 msg Lio/vertx/core/json/JsonObject;
MethodParameters:
Name Flags
report
public void reportEndTestCase(java.lang.Object, java.lang.String, io.vertx.ext.unit.report.TestResult);
descriptor: (Ljava/lang/Object;Ljava/lang/String;Lio/vertx/ext/unit/report/TestResult;)V
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=4, locals=4, args_size=4
0: aload 0
aload 1
checkcast io.vertx.ext.unit.report.impl.EventBusReporter$EventBusReport
aload 2
aload 3
invokevirtual io.vertx.ext.unit.report.impl.EventBusReporter.reportEndTestCase:(Lio/vertx/ext/unit/report/impl/EventBusReporter$EventBusReport;Ljava/lang/String;Lio/vertx/ext/unit/report/TestResult;)V
return
LocalVariableTable:
Start End Slot Name Signature
public void reportError(java.lang.Object, java.lang.Throwable);
descriptor: (Ljava/lang/Object;Ljava/lang/Throwable;)V
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
0: aload 0
aload 1
checkcast io.vertx.ext.unit.report.impl.EventBusReporter$EventBusReport
aload 2
invokevirtual io.vertx.ext.unit.report.impl.EventBusReporter.reportError:(Lio/vertx/ext/unit/report/impl/EventBusReporter$EventBusReport;Ljava/lang/Throwable;)V
return
LocalVariableTable:
Start End Slot Name Signature
public void reportEndTestSuite(java.lang.Object);
descriptor: (Ljava/lang/Object;)V
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast io.vertx.ext.unit.report.impl.EventBusReporter$EventBusReport
invokevirtual io.vertx.ext.unit.report.impl.EventBusReporter.reportEndTestSuite:(Lio/vertx/ext/unit/report/impl/EventBusReporter$EventBusReport;)V
return
LocalVariableTable:
Start End Slot Name Signature
public void reportBeginTestCase(java.lang.Object, java.lang.String);
descriptor: (Ljava/lang/Object;Ljava/lang/String;)V
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
0: aload 0
aload 1
checkcast io.vertx.ext.unit.report.impl.EventBusReporter$EventBusReport
aload 2
invokevirtual io.vertx.ext.unit.report.impl.EventBusReporter.reportBeginTestCase:(Lio/vertx/ext/unit/report/impl/EventBusReporter$EventBusReport;Ljava/lang/String;)V
return
LocalVariableTable:
Start End Slot Name Signature
public java.lang.Object reportBeginTestSuite(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/Object;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
invokevirtual io.vertx.ext.unit.report.impl.EventBusReporter.reportBeginTestSuite:(Ljava/lang/String;)Lio/vertx/ext/unit/report/impl/EventBusReporter$EventBusReport;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljava/lang/Object;Lio/vertx/ext/unit/report/Reporter<Lio/vertx/ext/unit/report/impl/EventBusReporter$EventBusReport;>;
SourceFile: "EventBusReporter.java"
NestMembers:
io.vertx.ext.unit.report.impl.EventBusReporter$EventBusReport
InnerClasses:
public EventBusReport = io.vertx.ext.unit.report.impl.EventBusReporter$EventBusReport of io.vertx.ext.unit.report.impl.EventBusReporter