-
Notifications
You must be signed in to change notification settings - Fork 113
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Most tests in org.eclipse.ant.tests.ui are subclasses of AbstractAntUITest, which is still based on JUnit 3 by implementing the TestCase class. This change does the following: * Migrates AbstractAntUITest and subclasses to JUnit 4 * Introduces TestName rules where necessary * Adds the TestAgainExceptionRule, which handles TestAgainExceptions indicating the necessity of test retries * Adds the RunInSeparateThreadRule, which runs the actual test code in a non-UI thread The newly introduced rules replace the overwritten runBare() method of the JUnit 3 tests in a reusable way.
- Loading branch information
1 parent
4e9eaab
commit 6ed46f8
Showing
28 changed files
with
506 additions
and
211 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.