-
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.
Migrate BasicAliasTest and SyncAliasTest to JUnit 5 #903
This change migrates the alias tests (BasicAliasTest and SyncAliasTest) to JUnit 5. It replaces the usage of the WorkspaceTestRule with the WorkspaceResetExtension as. The deletion of files and file stores via the WorkspaceTestRule is replaced with dedicated file delete operations exactly where they are required. The creation of temporary file stores is replaced with the usage of temporary directories that are automatically cleaned up via the according JUnit 5 extension. The recursive folder deletion implementation from the SessionCustomizationUtil is used by generalizing it to the FileSystemHelper class. Contributes to #903
- Loading branch information
1 parent
3c40369
commit e0be5f5
Showing
7 changed files
with
199 additions
and
180 deletions.
There are no files selected for viewing
238 changes: 117 additions & 121 deletions
238
...clipse.core.tests.resources/src/org/eclipse/core/tests/internal/alias/BasicAliasTest.java
Large diffs are not rendered by default.
Oops, something went wrong.
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
50 changes: 0 additions & 50 deletions
50
...ss/src/org/eclipse/core/tests/harness/session/customization/SessionCustomizationUtil.java
This file was deleted.
Oops, something went wrong.