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
Fix LineContentBoundsDrawingTest JUnit 5 parameterized test migration
This commit fixes a compilation error introduced during the JUnit 5 migration
of LineContentBoundsDrawingTest. The test was using a mix of JUnit 4
@RunWith(Parameterized.class) with JUnit 5 annotations, causing:
"No ParameterResolver registered for parameter [java.lang.String arg0]"
Changes:
- Converted from JUnit 4 constructor-based parameterization to JUnit 5
method parameter-based parameterization
- Removed @RunWith(Parameterized.class) and related JUnit 4 imports
- Changed @parameters to provide method source via @MethodSource
- Converted @test to @ParameterizedTest(name = "{0}")
- Removed constructor that accepted String parameter
- Modified test method to accept String parameter directly
- Added required JUnit 5 parameterized test imports to MANIFEST.MF:
- org.junit.jupiter.params
- org.junit.jupiter.params.provider
The test now compiles successfully with 0 errors. Note: 5 pre-existing test
failures remain from before the JUnit 5 migration (verified by checking git
history showing no logic changes to those tests).
🤖 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.text.tests/src/org/eclipse/jface/text/tests/source/inlined/LineContentBoundsDrawingTest.java
0 commit comments