-
Notifications
You must be signed in to change notification settings - Fork 83
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Simplify/Clean-up code of o.e.pde.junit.runtime
- Loading branch information
1 parent
fcb15cb
commit 76625c5
Showing
8 changed files
with
107 additions
and
208 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
This PDE JUnit runtime is added to test-runtimes launched from an Eclipse workspace and allows JUnit tests to be run with an OSGi runtime. | ||
It supports the following use cases: | ||
1. Headless tests (no UI, no workbench) | ||
Runs NonUIThreadTestApplication with no testable object | ||
2. e4 UI tests (e4 UI, no workbench) | ||
Runs NonUIThreadTestApplication with a testable object from e4 service | ||
3. UI tests run in the non UI thread (UI, workbench) | ||
Runs NonUIThreadTestApplication with a testable object from e4 service or PlatformUI | ||
4. UI tests run in the UI thread (UI, workbench) | ||
Runs UITestApplication with a testable object from e4 service or PlatformUI | ||
5. Headless tests with no application (no UI, no workbench, no application) | ||
Runs directly with no application | ||
|
||
If no pde.junit.runtime is available in the Target-Platform the one from the running Eclipse is added to the test-runtime. | ||
Of course users can target older Eclipse versions (which for example require older Java-versions), | ||
which is why the requirements of this Plug-in should be as low as possible to make it resolve even in older runtimes. | ||
|
||
If changes are made, one should ensure that the requirement's lower-bounds specified in the MANIFEST.MF are still valid. |
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
113 changes: 0 additions & 113 deletions
113
...e.pde.junit.runtime/src/org/eclipse/pde/internal/junit/runtime/PDEJUnitRuntimePlugin.java
This file was deleted.
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
Oops, something went wrong.