You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Migrate org.eclipse.jface.tests.notifications from JUnit 4 to JUnit 5
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]>
Copy file name to clipboardExpand all lines: tests/org.eclipse.jface.tests.notifications/src/org/eclipse/jface/tests/notifications/NotificationPopupTest.java
0 commit comments