File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed
drjava/src/edu/rice/cs/drjava/model Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 3434import edu .rice .cs .util .Log ;
3535import 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 */
4242public class JUnitTestRunner extends BaseTestRunner {
Original file line number Diff line number Diff 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 */
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments