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 48691 - PackageViewTest.testCopyPaste fails on Windows
Summary: PackageViewTest.testCopyPaste fails on Windows
Status: CLOSED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Project (show other bugs)
Version: 4.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: Tomas Zezula
URL:
Keywords: TEST
: 50166 (view as bug list)
Depends on:
Blocks: 41535
  Show dependency tree
 
Reported: 2004-09-08 15:13 UTC by Milan Kubec
Modified: 2006-03-24 10:09 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Milan Kubec 2004-09-08 15:13:39 UTC
[custom 20040908, JDK 1.5.0 RC]

o.n.spi.java.project.support.ui.PackageViewTest.testCopyPaste
fails on windows:

junit.framework.AssertionFailedError: Wrong number
of nodes. expected:<2> but was:<0>
at 
...
org.netbeans.spi.java.project.support.ui.PackageViewTest.assertNodes(PackageViewTest.java:694)
at
org.netbeans.spi.java.project.support.ui.PackageViewTest.assertNodes(PackageViewTest.java:688)
at
org.netbeans.spi.java.project.support.ui.PackageViewTest.testCopyPaste(PackageViewTest.java:488)
...
Comment 1 Jesse Glick 2004-10-08 15:25:04 UTC
*** Issue 50166 has been marked as a duplicate of this issue. ***
Comment 2 Jesse Glick 2004-10-08 15:25:36 UTC
If you do not plan to fix immediately, it should in the meantime be
excluded from the stable test config.
Comment 3 Tomas Zezula 2004-10-11 20:04:24 UTC
Checking in
unit/src/org/netbeans/spi/java/project/support/ui/PackageViewTest.java;
/cvs/java/project/test/unit/src/org/netbeans/spi/java/project/support/ui/PackageViewTest.java,v
 <--  PackageViewTest.java
new revision: 1.19; previous revision: 1.18
done
Comment 4 Milan Kubec 2004-10-26 10:48:42 UTC
Test works OK now.