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 - failure in testAnnotationProviderIsCalledCorrectly
Summary: failure in testAnnotationProviderIsCalledCorrectly
Status: CLOSED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Text (show other bugs)
Version: 4.x
Hardware: All All
: P2 blocker (vote)
Assignee: Jaroslav Tulach
URL:
Keywords: TEST
: 45277 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-06-18 09:03 UTC by pzajac
Modified: 2008-12-22 20:06 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
exception stacktrace (1.73 KB, text/plain)
2004-06-18 09:04 UTC, pzajac
Details

Note You need to log in before you can comment on or make changes to this bug.
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