Skip to content

Commit 12a07e0

Browse files
committed
Finishing previous commit
Changes to be committed: modified: ../../junit/JUnitTestRunner.java modified: InterpreterJVM.java modified: MainJVM.java
1 parent 514e2e5 commit 12a07e0

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

drjava/src/edu/rice/cs/drjava/model/junit/JUnitTestRunner.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@
3434
import edu.rice.cs.util.Log;
3535
import edu.rice.cs.util.UnexpectedException;
3636

37-
/** DrJava's own testrunner. It updates the document in the JUnit pane as error and failure events are fired.
38-
* These methods run inan auxiliary thread. Many methods are synchronized for atomicity to maintain the
39-
* consistency of local state.
37+
/** Runs in the InterpreterJVM. It uses RMI calls to update the the JUnitPanel as test results are reported. Some methods are
38+
* synchronized to maintain the consistency of local state. These methods run in an auxiliary thread.
39+
* GUI actions must be transferred to the event handling thread (DispatchThread).
4040
* @version $Id$
4141
*/
4242
public class JUnitTestRunner extends BaseTestRunner {

drjava/src/edu/rice/cs/drjava/model/repl/newjvm/InterpreterJVM.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -555,7 +555,7 @@ public void classFileError(ClassFileError e) {
555555
catch (RemoteException re) { error.log(re); }
556556
}
557557

558-
/** Notifies that a suite of tests has started running. Unsynchronized because it contains a remote call and does
558+
/** Notifies the Main JVM that a suite of tests has started running. Unsynchronized because it contains a remote call and does
559559
* not involve mutable local state.
560560
* @param numTests The number of tests in the suite to be run.
561561
*/
@@ -564,7 +564,7 @@ public void testSuiteStarted(int numTests) {
564564
catch (RemoteException re) { error.log(re); }
565565
}
566566

567-
/** Notifies that a particular test has started. Unsynchronized because it contains a remote call and does not
567+
/** Notifies the Main JVM that a particular test has started. Unsynchronized because it contains a remote call and does not
568568
* involve mutable local state.
569569
* @param testName The name of the test being started.
570570
*/

drjava/src/edu/rice/cs/drjava/model/repl/newjvm/MainJVM.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ public void testSuiteStarted(int numTests) {
258258
/** Called when a particular test is started. Forwards from the slave JVM to the local JUnit model.
259259
* @param testName The name of the test being started.
260260
*/
261-
public void testStarted(String testName) {;
261+
public void testStarted(String testName) {
262262
_junitModel.testStarted(testName);
263263
}
264264

0 commit comments

Comments
 (0)