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 50799

Summary: Failures in java/project unit tests
Product: java Reporter: Milan Kubec <mkubec>
Component: ProjectAssignee: Milan Kubec <mkubec>
Status: CLOSED WORKSFORME    
Severity: blocker Keywords: TEST
Priority: P3    
Version: 4.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: exc stack traces
Another failure of PackageViewTest

Description Milan Kubec 2004-10-25 12:40:39 UTC
[200410241800]

Test Failures:
PackageViewTest.testNodeDestroy
PackageViewTest.testFindPath
PackageViewTest.testRename
see attached file for details.
Comment 1 Milan Kubec 2004-10-25 12:44:50 UTC
Created attachment 18481 [details]
exc stack traces
Comment 2 Jesse Glick 2004-10-25 18:57:42 UTC
Petr please look at it.
Comment 3 Petr Hrebejk 2004-10-26 11:13:23 UTC
Should be easy. Will fix it. Later.
Comment 4 Milan Kubec 2004-11-01 13:01:56 UTC
Please, take a look at it or remove those tests from unit/stable
config. Thanks
Comment 5 Milan Kubec 2004-11-04 12:59:57 UTC
I've excluded PackageViewTest from stable unit config for java/project
module.
Comment 6 Petr Hrebejk 2004-11-04 14:18:58 UTC
Cau Milan,

It should be fixed now. Please put the test back and look whether it
works. If yes please close it as fixed. When not reassign the bug back
to me with the new results.

Thanks


Checking in
test/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.21; previous revision: 1.20
Comment 7 Milan Kubec 2004-11-09 13:05:57 UTC
Seems to be really fixed on trunk.
Comment 8 Milan Kubec 2004-11-09 13:06:29 UTC
Verified on test4u
Comment 9 Milan Kubec 2004-11-15 10:15:38 UTC
PackageViewTest class needs to be removed from stable config in
release40 branch.

Index: cfg-unit.xml
===================================================================
RCS file: /cvs/java/project/test/cfg-unit.xml,v
retrieving revision 1.3
diff -u -r1.3 cfg-unit.xml
--- cfg-unit.xml        8 Jul 2004 20:32:40 -0000       1.3
+++ cfg-unit.xml        15 Nov 2004 10:13:30 -0000
@@ -19,6 +19,7 @@
         <testset dir="unit/src">
             <patternset>
                 <include name="**/*Test.class"/>
+                <exclude name="**/PackageViewTest.class"/>
             </patternset>
         </testset>
     </testbag>
Comment 10 Tomas Zezula 2005-01-12 13:08:07 UTC
Created attachment 19641 [details]
Another failure of PackageViewTest
Comment 11 Tomas Zezula 2005-04-25 17:45:51 UTC
There are no fails in the PackageViewTest.
Comment 12 Milan Kubec 2005-08-02 13:44:10 UTC
Closing.