net.groboclown.junit.jpda.v1
Class RemoteAsyncTestInstance
java.lang.Object
|
+--net.groboclown.junit.jpda.v1.RemoteAsyncTestInstance
- public class RemoteAsyncTestInstance
- extends Object
Wrapper for easier access to an AsyncTest instance.
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait |
instance
private ObjectReference instance
ref
private ReferenceType ref
mainThread
private MainThreadHandler mainThread
TRUE
public BooleanValue TRUE
RemoteAsyncTestInstance
public RemoteAsyncTestInstance(MainThreadHandler mainThread,
BooleanValue TRUE)
getRemoteInstance
public ObjectReference getRemoteInstance()
getReferenceType
public ReferenceType getReferenceType()
getIsTestReadyField
public Field getIsTestReadyField(int testIndex)
isTestReady
public boolean isTestReady(int testIndex)
finishedTest
public void finishedTest()
- Tell the tests on the remote VM that they have finished.
findMethod
protected Method findMethod(String name,
String sig)
- Find the method with the given name. If there are more than
one of these methods, the first one is returned.
getAsyncTestReference
protected static ObjectReference getAsyncTestReference(MainThreadHandler mt)
- Find the AsyncTest instance on the remote VM.
Written under the LGPL