Menu

Commit [r4585]  Maximize  Restore  History

This commit fixes the bug

[ 1884764 ] JUnit fails with enumerated type open

When attempting to retrieve the main class name, enums were previously
not considered. Now the function works for classes, interfaces, and enums.
Added unit tests for the method, which had not previously existed at all.

M src/edu/rice/cs/drjava/model/definitions/DefinitionsDocumentTest.java
M src/edu/rice/cs/drjava/model/definitions/DefinitionsDocument.java

mgricken 2008-07-15

changed /trunk/drjava/src/edu/rice/cs/drjava/model/definitions/DefinitionsDocument.java
changed /trunk/drjava/src/edu/rice/cs/drjava/model/definitions/DefinitionsDocumentTest.java
/trunk/drjava/src/edu/rice/cs/drjava/model/definitions/DefinitionsDocument.java Diff Switch to side-by-side view
Loading...
/trunk/drjava/src/edu/rice/cs/drjava/model/definitions/DefinitionsDocumentTest.java Diff Switch to side-by-side view
Loading...
MongoDB Logo MongoDB