Skip to content

Conversation

@HeikoKlare
Copy link
Contributor

The superclass of all debug tests manages a preference memento to restore initial preferences after a test case execution. This is, however, only used by two actual tests, such that providing it for every debug test is not necessary and leads to unnecessary complexity in the hierarchy of test classes.
This change moves the preference memento to exactly those two test classes in which it is required, as a prerequisite for simplifying the inheritance hierarchy and moving to JUnit 5.

The superclass of all debug tests manages a preference memento to
restore initial preferences after a test case execution. This is,
however, only used by two actual tests, such that providing it for every
debug test is not necessary and leads to unnecessary complexity in the
hierarchy of test classes.
This change moves the preference memento to exactly those two test
classes in which it is required, as a prerequisite for simplifying the
inheritance hierarchy and moving to JUnit 5.
@github-actions
Copy link
Contributor

github-actions bot commented Jan 3, 2026

Test Results

 1 953 files  ±0   1 953 suites  ±0   1h 26m 2s ⏱️ - 7m 38s
 4 743 tests ±0   4 719 ✅ ±0   24 💤 ±0  0 ❌ ±0 
14 229 runs  ±0  14 047 ✅ ±0  182 💤 ±0  0 ❌ ±0 

Results for commit 3e904b3. ± Comparison against base commit 04f2b2d.

@HeikoKlare HeikoKlare merged commit 8bcfb7a into eclipse-platform:master Jan 3, 2026
18 checks passed
@HeikoKlare HeikoKlare deleted the junit5-debugtests-prefmemento branch January 3, 2026 12:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant