Skip to content

Conversation

@vogella
Copy link
Contributor

@vogella vogella commented Oct 19, 2025

This commit migrates the org.eclipse.jface.tests.notifications test bundle from JUnit 4 to JUnit 5.

Changes:

  • Updated imports from org.junit.* to org.junit.jupiter.api.*
  • Replaced @before with @beforeeach
  • Replaced @after with @AfterEach
  • Changed test class from public to package-private (JUnit 5 best practice)
  • Changed all test methods from public to package-private
  • Removed org.junit dependency from MANIFEST.MF
  • Added org.hamcrest Import-Package (previously provided by org.junit bundle)

Test Results:

  • All 5 tests passing (10 total including suite execution)
  • Compilation successful
  • No functional changes to test logic

Files modified:

  • NotificationPopupTest.java

🤖 Generated with Claude Code

This commit migrates the org.eclipse.jface.tests.notifications test bundle
from JUnit 4 to JUnit 5.

Changes:
- Updated imports from org.junit.* to org.junit.jupiter.api.*
- Replaced @before with @beforeeach
- Replaced @after with @AfterEach
- Changed test class from public to package-private (JUnit 5 best practice)
- Changed all test methods from public to package-private
- Removed org.junit dependency from MANIFEST.MF
- Added org.hamcrest Import-Package (previously provided by org.junit bundle)

Test Results:
- All 5 tests passing (10 total including suite execution)
- Compilation successful
- No functional changes to test logic

Files modified:
- NotificationPopupTest.java

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>
@github-actions
Copy link
Contributor

Test Results

 3 018 files  ±0   3 018 suites  ±0   2h 27m 50s ⏱️ - 7m 12s
 8 226 tests ±0   7 977 ✅ ±0  249 💤 ±0  0 ❌ ±0 
23 598 runs  ±0  22 804 ✅ ±0  794 💤 ±0  0 ❌ ±0 

Results for commit ad81154. ± Comparison against base commit 8ff6a17.

@akurtakov akurtakov merged commit 493d107 into eclipse-platform:master Oct 20, 2025
18 checks passed
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.

2 participants