Skip to content

Commit

Permalink
Cleanup and improve NatureTest eclipse-platform#903
Browse files Browse the repository at this point in the history
Simplifies the NatureTest class as preparation to migrate from JUnit 3:
* Removes unnecessary try-catch blocks or replaces them with
assertThrows statements
* Replaces fail() operations called in other threads by passing
exception outside
* Makes test methods rethrow exception rather than calling fail()
* Improves testBug338055() by joining spawned job

Contributes to
eclipse-platform#903
  • Loading branch information
HeikoKlare committed Dec 4, 2023
1 parent bf5a19d commit 85aaca9
Showing 1 changed file with 113 additions and 107 deletions.
Loading

0 comments on commit 85aaca9

Please sign in to comment.