This interface specifies the methods that the Main JVM exposes
for the InterpreterJVM to call.
version: $Id: MainJVMRemoteI.java 4255 2007-08-28 19:17:37Z mgricken $
Called if the slave JVM encounters an illegal class file during testing.
Parameters: e - the ClassFileError object describing the error when loading the class file.
Called when the JUnitTestManager wants to open a file that is not currently open.
Parameters: className - the name of the class for which we want to find the file the file associated with the given class
This method is called by the interpreter JVM if it cannot be exited (likely because of its having a security
manager)
Parameters: th - The Throwable thrown by System.exit
Forwards a call to System.out from InterpreterJVM to the
MainJVM for output to the user.
Parameters: s - String that was printed in the other JVM
testEnded
public void testEnded(String testName, boolean wasSuccessful, boolean causedError) throws RemoteException(Code)
Called when a particular test has ended.
Parameters: testName - The name of the test that has ended. Parameters: wasSuccessful - Whether the test passed or not. Parameters: causedError - If not successful, whether the test caused an erroror simply failed.