Skip to content

Commit

Permalink
Migrate WorkspacePreferencesTest to JUnit 5 #903
Browse files Browse the repository at this point in the history
This makes the WorkspacePreferencesTest use the SessionTestExtension to
be executed with JUnit 5. It adds a method to the
SessionTestExtensionBuilder to allow setting a workspace directory for a
test class. In addition, this replaces assertions in the test class
using numbers as messages with proper AssertJ assertions.

Contributes to
#903
  • Loading branch information
HeikoKlare committed May 8, 2024
1 parent a1466b8 commit 501eb4b
Show file tree
Hide file tree
Showing 3 changed files with 145 additions and 82 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ Require-Bundle: org.eclipse.core.resources,
org.eclipse.pde.junit.runtime;bundle-version="3.5.0"
Import-Package: org.assertj.core.api,
org.junit.jupiter.api,
org.junit.jupiter.api.extension,
org.junit.jupiter.api.io,
org.junit.platform.suite.api,
org.mockito
Bundle-ActivationPolicy: lazy
Expand Down

0 comments on commit 501eb4b

Please sign in to comment.