Skip to content

Conversation

vogella
Copy link
Contributor

@vogella vogella commented Oct 17, 2025

No description provided.

Copy link
Contributor

github-actions bot commented Oct 17, 2025

Test Results

 2 751 files   -   267   2 751 suites   - 267   2h 12m 3s ⏱️ - 22m 59s
 7 577 tests  -   649   7 273 ✅  -   704  242 💤  -  7   45 ❌ + 45  17 🔥 +17 
21 609 runs   - 1 989  20 668 ✅  - 2 136  758 💤  - 36  135 ❌ +135  48 🔥 +48 

For more details on these failures and errors, see this check.

Results for commit 449ef4a. ± Comparison against base commit 8ff6a17.

This pull request removes 649 tests.
EditorsTestSuite CaseActionTest ‑ testMultiSelectionCase
EditorsTestSuite ChainedPreferenceStoreTest ‑ testChainedStore0
EditorsTestSuite ChainedPreferenceStoreTest ‑ testChainedStore1
EditorsTestSuite ChainedPreferenceStoreTest ‑ testChainedStore2
EditorsTestSuite ChainedPreferenceStoreTest ‑ testChainedStore3
EditorsTestSuite CodeMiningTest ‑ testClearCodeMiningTextEditorDecorationIfInInvisibleArea
EditorsTestSuite CodeMiningTest ‑ testCodeMiningAtEndOfLine
EditorsTestSuite CodeMiningTest ‑ testCodeMiningOnEmptyLine
EditorsTestSuite CodeMiningTest ‑ testInlinedAnnotationSupportIsInLinesReturnsValidResultAfterDocumentChange
EditorsTestSuite DefaultStickyLinesProviderTest ‑ testEmptySourceCode
…

♻️ This comment has been updated with latest results.

vogella and others added 2 commits October 18, 2025 18:10
This commit fixes JUnit 4 to JUnit 5 migration issues in the test bundle:

Changes:
- Fixed all JUnit import statements (org.junit.Assert -> org.junit.jupiter.api.Assertions)
- Fixed assertion parameter order for simple cases (message parameter moved to last position)
- Fixed 16 test files with straightforward assertion patterns

Files modified:
- ProjectionDocumentTest.java (partial)
- ProjectionMappingTest.java
- AbstractGapTextTest.java
- AbstractLineTrackerTest.java
- ChildDocumentTest.java
- DocumentTest.java
- ExclusivePositionUpdaterTest.java
- FindReplaceDocumentAdapterTest.java
- LineTrackerTest3.java (partial)
- LineTrackerTest4.java (partial)
- MultiStringMatcherTest.java
- PositionUpdatingCornerCasesTest.java
- TextEditTests.java
- TextStoreTest.java (partial)
- TextUtilitiesTest.java
- InclusivePositionUpdaterTest.java

Remaining work:
- 71 compilation errors remain in files with complex assertion patterns
- These involve string concatenation with method calls (e.g., "msg: " + i, val, obj.method())
- Will require manual fixes or IDE refactoring tools

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

Co-Authored-By: Claude <[email protected]>
This commit fixes compilation errors from the JUnit 5 migration by correcting
the assertion parameter order across multiple test files. In JUnit 5, the
message parameter must be last, not first.

Changes:
- Fixed assertEquals/assertTrue/assertNull/assertNotNull parameter order
  where message parameter was incorrectly placed first instead of last
- Updated 9 test files with assertion fixes:
  - AbstractGapTextTest.java: Fixed assertTrue parameter order
  - AbstractLineTrackerTest.java: Fixed assertEquals parameter order
  - ChildDocumentTest.java: Fixed assertEquals parameter order in multiple methods
  - LineTrackerTest3.java: Fixed assertEquals parameter order (multiple occurrences)
  - LineTrackerTest4.java: Fixed assertTrue parameter order
  - MultiStringMatcherTest.java: Fixed assertEquals, assertNull, and assertNotNull
    parameter order across multiple test methods
  - PositionUpdatingCornerCasesTest.java: Fixed assertEquals parameter order
  - TextEditTests.java: Fixed assertEquals parameter order in multiple methods
  - TextStoreTest.java: Fixed assertEquals parameter order (multiple occurrences)

JUnit 4 format (old): assertEquals("message", expected, actual)
JUnit 5 format (new): assertEquals(expected, actual, "message")

All tests now compile successfully with 0 errors.

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

Co-Authored-By: Claude <[email protected]>
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