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.
testRelativizeLocation: java.lang.IllegalArgumentException: Parameter file1 was not normalized. Was \src\app instead of E:\src\app at org.netbeans.api.queries.CollocationQuery.areCollocated(CollocationQuery.java:46) at org.netbeans.modules.ant.freeform.spi.support.Util.relativizeLocation(Util.java:153) at org.netbeans.modules.ant.freeform.spi.support.UtilTest.testRelativizeLocation(UtilTest.java:52) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at junit.framework.TestCase.runTest(TestCase.java:154) at org.netbeans.junit.NbTestCase.runBare(NbTestCase.java:135) at junit.framework.TestResult$1.protect(TestResult.java:106) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.framework.TestResult.run(TestResult.java:109) at junit.framework.TestCase.run(TestCase.java:118) at org.netbeans.junit.NbTestCase.run(NbTestCase.java:122) at junit.framework.TestSuite.runTest(TestSuite.java:208) at junit.framework.TestSuite.run(TestSuite.java:203) at org.netbeans.xtest.testrunner.JUnitTestRunner.runTests(JUnitTestRunner.java:176) at org.netbeans.xtest.testrunner.JUnitTestRunner.runTests(JUnitTestRunner.java:127) at org.netbeans.xtest.plugin.jvm.JUnitTestRunnerLauncher.main(JUnitTestRunnerLauncher.java:41)
Test just needed a slight variant for Windows path names. Cannot test myself, hopefully fixed. UtilTest.java 1.4
Unfortunatelly, it seems that the test is still failing. Last fail: 20050420073.
Jan can you take a look?
It seems to me that the test was fixed in the trunk, but the original version is still in release 4.1 and the fails are from release 4.1. I will take care of it.
I have backported the fix of the test to the release41 branch: Checking in unit/src/org/netbeans/modules/ant/freeform/spi/support/UtilTest.java; /cvs/ant/freeform/test/unit/src/org/netbeans/modules/ant/freeform/spi/support/UtilTest.java,v <-- UtilTest.java new revision: 1.3.2.1; previous revision: 1.3 done