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 44828 - failure in testModuleDeletion
Summary: failure in testModuleDeletion
Status: CLOSED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Module System (show other bugs)
Version: 4.x
Hardware: PC Windows ME/2000
: P3 blocker (vote)
Assignee: Jaroslav Tulach
URL:
Keywords: TEST
: 44830 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-06-14 15:12 UTC by pzajac
Modified: 2008-12-23 08:41 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
exception stacktrace (1.33 KB, text/plain)
2004-06-14 15:13 UTC, pzajac
Details

Note You need to log in before you can comment on or make changes to this bug.
Description pzajac 2004-06-14 15:12:37 UTC
[200406131800]
Test Suite org.netbeans.core.modules.ModuleManagerTest

estModuleDeletion:

      junit.framework.AssertionFailedError: could
delete JAR file
	at junit.framework.Assert.fail(Assert.java:47)
	at junit.framework.Assert.assertTrue(Assert.java:20)
	at
org.netbeans.core.modules.ModuleManagerTest.testModuleDeletion(ModuleManagerTest.java:1300)
Comment 1 pzajac 2004-06-14 15:13:17 UTC
Created attachment 15686 [details]
exception stacktrace
Comment 2 Jesse Glick 2004-07-14 19:26:58 UTC
Well I don't run Windows so I can't actually check why this fails (it
passes on Unix). But I can guess and I can fix the test based on that
guess.
Comment 3 Jesse Glick 2004-07-14 22:34:28 UTC
committed     Up-To-Date  1.34       
core/test/unit/src/org/netbeans/core/modules/ModuleManagerTest.java
Comment 4 pzajac 2004-07-19 13:52:11 UTC
*** Issue 44830 has been marked as a duplicate of this issue. ***
Comment 5 pzajac 2004-07-19 13:53:41 UTC
verified, the test passed
Comment 6 pzajac 2004-07-20 08:00:25 UTC
the test failed on [200407191800], win 2k.

testModuleDeletion:

      junit.framework.AssertionFailedError: could delete JAR file
	at junit.framework.Assert.fail(Assert.java:47)
	at junit.framework.Assert.assertTrue(Assert.java:20)
	at
org.netbeans.core.modules.ModuleManagerTest.testModuleDeletion(ModuleManagerTest.java:1322)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
Comment 7 Jesse Glick 2004-07-20 16:50:50 UTC
Hmm, well I do not have a Windows installation to test on and I have
no further ideas about it. I don't know if the failure corresponds to
any actual bug. I will just remove this test from the stable test
config. If someone else knowledgeable about Windows wants to look at
it, great.
Comment 8 Jaroslav Tulach 2005-03-19 14:23:28 UTC
I'll be glad to learn more about module system.
Comment 9 Jaroslav Tulach 2005-03-19 14:27:15 UTC
cvs ci -lm "Reenabling the testModuleDeletion to see whether it still fails or not"

Checking in cfg-unit.xml;
/cvs/core/test/cfg-unit.xml,v  <--  cfg-unit.xml
new revision: 1.66; previous revision: 1.65  
/usr/local/home/jarda/src/nb_all/nbbuild/d
Comment 10 Jaroslav Tulach 2005-03-21 13:20:05 UTC
Small improvements to make it pass on windows: 
 
Checking in ModuleManagerTest.java; 
/cvs/core/test/unit/src/org/netbeans/core/modules/ModuleManagerTest.java,v  
<--  ModuleManagerTest.java 
new revision: 1.40; previous revision: 1.39 
done 
 
Comment 11 pzajac 2005-04-13 09:35:38 UTC
verified