Menu

Commit [r4530]  Maximize  Restore  History

This commit is an attempt to fix an occasional

ArrayOutOfBoundsException bug in the setUp method for ProjectMenuTest.
This attempted fix probably does not address the real problem since the
exception was thrown in the bowels of Swing library code invoked from
MainFrame.<init> and this fix simply moves the subsequent frame.pack()
operation to the event thread. Why not move MainFrame <init> to the event
thread? It slows down unit testing considerably.

I don't know what the event thread is doing between tests in a unit
testing suite. Is is already running when the test starts?

The following file was updated:

M src/edu/rice/cs/drjava/ui/ProjectMenuTest.java

rcartwright 2008-06-26

changed /trunk/drjava/src/edu/rice/cs/drjava/ui/ProjectMenuTest.java
/trunk/drjava/src/edu/rice/cs/drjava/ui/ProjectMenuTest.java Diff Switch to side-by-side view
Loading...
MongoDB Logo MongoDB