This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 45139

Summary: failure in testAnnotationProviderIsCalledCorrectly
Product: platform Reporter: pzajac <pzajac>
Component: TextAssignee: Jaroslav Tulach <jtulach>
Status: CLOSED FIXED    
Severity: blocker CC: pnejedly
Priority: P2 Keywords: TEST
Version: 4.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: exception stacktrace

Description pzajac 2004-06-18 09:03:56 UTC
[200406170100]
Test Suite org.openide.text.AnnotationProviderTest

testAnnotationProviderIsCalledCorrectly:

      junit.framework.AssertionFailedError:
Exactly one annotation attached after close
expected:<1> but was:<0>
	at junit.framework.Assert.fail(Assert.java:47)
	at
junit.framework.Assert.failNotEquals(Assert.java:282)
	at
junit.framework.Assert.assertEquals(Assert.java:64)
	at
junit.framework.Assert.assertEquals(Assert.java:201)
	at
org.openide.text.AnnotationProviderTest.testAnnotationProviderIsCalledCorrectly(AnnotationProviderTest.java:116)
Comment 1 pzajac 2004-06-18 09:04:50 UTC
Created attachment 15821 [details]
exception stacktrace
Comment 2 Petr Nejedly 2004-06-21 16:27:28 UTC
Confirming the failing test. Will look at it.
Comment 3 Petr Nejedly 2004-06-21 16:44:08 UTC
The test is failing after your integration of issue 45014.
Comment 4 Petr Nejedly 2004-06-21 18:53:49 UTC
*** Issue 45277 has been marked as a duplicate of this issue. ***
Comment 5 Jaroslav Tulach 2004-06-22 13:47:12 UTC
cvs ci -m "#45139: ESLS.Closed must share the map of lines with other
line sets" src/org/openide/text/EditorSupportLineSet.java
test/unit/src/org/openide/text/AnnotationProviderTest.java
Checking in src/org/openide/text/EditorSupportLineSet.java;
/cvs/openide/src/org/openide/text/EditorSupportLineSet.java,v  <-- 
EditorSupportLineSet.java
new revision: 1.40; previous revision: 1.39
done
Processing log script arguments...
More commits to come...
Checking in test/unit/src/org/openide/text/AnnotationProviderTest.java;
/cvs/openide/test/unit/src/org/openide/text/AnnotationProviderTest.java,v
 <--  AnnotationProviderTest.java
new revision: 1.2; previous revision: 1.1
Comment 6 pzajac 2004-06-28 16:50:17 UTC
v