public class ArquillianRuntime extends Object implements org.jacoco.core.runtime.IRuntime
| Modifier and Type | Method and Description |
|---|---|
static void |
generateArgumentArray(long classid,
String classname,
int probecount,
org.objectweb.asm.MethodVisitor mv)
Generates code that creates the argument array for the
getExecutionData() method. |
int |
generateDataAccessor(long classid,
String classname,
int probecount,
org.objectweb.asm.MethodVisitor mv) |
static ArquillianRuntime |
getInstance() |
void |
reset() |
void |
shutdown() |
void |
startup(org.jacoco.core.runtime.RuntimeData rd) |
void |
swapExecutionData(Object[] args)
Retrieves the execution probe array for a given class.
|
public static ArquillianRuntime getInstance()
public void swapExecutionData(Object[] args)
Object array instance is used for parameters and the return value
as follows. Call parameters:
Return value:
boolean[])
args - parameter array of length 3public void startup(org.jacoco.core.runtime.RuntimeData rd)
throws Exception
startup in interface org.jacoco.core.runtime.IRuntimeExceptionpublic void shutdown()
shutdown in interface org.jacoco.core.runtime.IRuntimepublic void reset()
public int generateDataAccessor(long classid,
String classname,
int probecount,
org.objectweb.asm.MethodVisitor mv)
generateDataAccessor in interface org.jacoco.core.runtime.IExecutionDataAccessorGeneratorpublic static void generateArgumentArray(long classid,
String classname,
int probecount,
org.objectweb.asm.MethodVisitor mv)
getExecutionData() method. The array instance is left on the
operand stack. The generated code requires a stack size of 5.classid - class identifierclassname - VM class nameprobecount - probe count for this classmv - visitor to emit generated codeCopyright © 2015 JBoss by Red Hat. All rights reserved.