From: SourceForge.net <no...@so...> - 2006-02-17 20:55:42
|
Bugs item #1433829, was opened at 2006-02-17 14:55 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=438935&aid=1433829&group_id=44253 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Dan Smith (dlsmith) Assigned to: Nobody/Anonymous (nobody) Summary: Unnecessary "No JUnit test" error dialog Initial Comment: I have a single test class open in DrJava. I modify and save that document. When I click on "Test," two dialog boxes open at the same time. The top one looks like this: Test Works Only On JUnit Test Cases There are no open JUnit test cases. Please make sure that: - The documents containing tests have been compiled. - They are subclasses of junit.framework.TestCase. For more information on writing JUnit Test Cases, view the JUnit chapter in the User Documentation. [OK] The second one looks like this: Must Compile All Files to Continue To unit test all documents, you must first compile all out of sync files. Would you like to compile and then test? [ ] Always compile before testing all files [No] [Yes] Clearly, we shouldn't be showing the first dialog box. I'm not sure the second one is an ideal solution to this problem, either -- what's wrong with just compiling, or displaying status text somewhere that says the class files are out of sync, the way we do with the debugger? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=438935&aid=1433829&group_id=44253 |