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

Summary: PackageViewTest.testCopyPaste fails on Windows
Product: java Reporter: Milan Kubec <mkubec>
Component: ProjectAssignee: Tomas Zezula <tzezula>
Status: CLOSED FIXED    
Severity: blocker Keywords: TEST
Priority: P3    
Version: 4.x   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 41535    

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.