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.
Seems the tests in all freeform projects are broken after improvements allowing delete of the module. Please fix. testBasicActions: junit.framework.AssertionFailedError: right action names expected:<[build, clean, compile.single, debug, javadoc, rebuild, redeploy, run, test]> but was:<[build, clean, compile.single, debug, delete, javadoc, rebuild, redeploy, run, test]> at junit.framework.Assert.fail(Assert.java:47) at junit.framework.Assert.failNotEquals(Assert.java:282) at junit.framework.Assert.assertEquals(Assert.java:64) at org.netbeans.modules.web.freeform.ActionsWebTest.testBasicActions(ActionsWebTest.java:43) 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:324) 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:167) at org.netbeans.xtest.testrunner.JUnitTestRunner.runTests(JUnitTestRunner.java:118) at org.netbeans.xtest.plugin.jvm.JUnitTestRunnerLauncher.main(JUnitTestRunnerLauncher.java:41)
Observed failures were in: ant/freeform java/freeform web/freeform
Fixed for ant/freeform and web/freeform, java/freeform fails are hidden bye #61278, will wait until #61278 is fixed. Checking in org/netbeans/modules/ant/freeform/ActionsTest.java; /cvs/ant/freeform/test/unit/src/org/netbeans/modules/ant/freeform/ActionsTest.java,v <-- ActionsTest.java new revision: 1.6; previous revision: 1.5 done Checking in org/netbeans/modules/ant/freeform/FreeformProjectGeneratorTest.java; /cvs/ant/freeform/test/unit/src/org/netbeans/modules/ant/freeform/FreeformProjectGeneratorTest.java,v <-- FreeformProjectGeneratorTest.java new revision: 1.21; previous revision: 1.20 done RCS file: /cvs/ant/freeform/test/unit/src/META-INF/services/org.netbeans.spi.queries.CollocationQueryImplementation,v done Checking in META-INF/services/org.netbeans.spi.queries.CollocationQueryImplementation; /cvs/ant/freeform/test/unit/src/META-INF/services/org.netbeans.spi.queries.CollocationQueryImplementation,v <-- org.netbeans.spi.queries.CollocationQueryImplementation initial revision: 1.1 done Checking in ActionsWebTest.java; /cvs/web/freeform/test/unit/src/org/netbeans/modules/web/freeform/ActionsWebTest.java,v <-- ActionsWebTest.java new revision: 1.4; previous revision: 1.3 done
After fixing issue #61278, it seems that all java/freeform tests pass.
verified/closed