eclipse-jdt / eclipse-jdt/eclipse.jdt.ui
SemanticHighlightingTest.enumHighlighting test failed
- Dominant language
- Java
- Stars
- 59
- Forks
- 127
- Avg merge
- 23h 30m
- Merged PRs (30d)
- 35
Description
I20240529-1800
win32-java17
org.eclipse.jdt.text.tests.SemanticHighlightingTest
enumHighlighting
The above test failed with this exception:
```
expected:<1> but was:<2>
java.lang.AssertionError: expected:<1> but was:<2>
at org.junit.Assert.fail(Assert.java:89)
at org.junit.Assert.failNotEquals(Assert.java:835)
at org.junit.Assert.assertEquals(Assert.java:647)
at org.junit.Assert.assertEquals(Assert.java:633)
at org.eclipse.jdt.text.tests.AbstractSemanticHighlightingTest.assertEqualPositions(AbstractSemanticHighlightingTest.java:113)
at org.eclipse.jdt.text.tests.SemanticHighlightingTest.enumHighlighting(SemanticHighlightingTest.java:270)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
```
Contributor guide
Research direction
Start by running org.eclipse.jdt.text.tests.SemanticHighlightingTest.enumHighlighting on the win32-java17 configuration. Read SemanticHighlightingTest.java around line 270 and AbstractSemanticHighlightingTest.java around line 113 to identify why two positions are found instead of one; done means the test passes with the expected count.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- desktop, testing
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 38/100