Skip to content

Commit

Permalink
Improve DeltaDataTreeTest and migrate to JUnit 5 eclipse-platform#903
Browse files Browse the repository at this point in the history
This migrates the DeltaDataTreeTest to JUnit 5 and improves the test
cases implementation.

The test case implementations are improved as follows:
- Replace manual exception processing with assertThrows() or having the
method throw the exception to be handles by the JUnit framework
- Replace assertTrue()/assertFalse() with assertThat().matches() to
improve error messages

Contributes to
eclipse-platform#903
  • Loading branch information
HeikoKlare committed Jul 9, 2024
1 parent 12179d8 commit 123acf2
Show file tree
Hide file tree
Showing 2 changed files with 214 additions and 444 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ Require-Bundle: org.eclipse.core.resources,
Import-Package: org.assertj.core.api,
org.junit.jupiter.api,
org.junit.jupiter.api.extension,
org.junit.jupiter.api.function,
org.junit.jupiter.api.io,
org.junit.platform.suite.api,
org.mockito
Expand Down
Loading

0 comments on commit 123acf2

Please sign in to comment.