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 62733 - Action-related test failures
Summary: Action-related test failures
Status: CLOSED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Generic Infrastructure (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker (vote)
Assignee: Jan Lahoda
URL:
Keywords: TEST
Depends on:
Blocks:
 
Reported: 2005-08-21 10:39 UTC by Jaroslav Tulach
Modified: 2005-12-22 13:07 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jaroslav Tulach 2005-08-21 10:39:14 UTC
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)
Comment 1 Jaroslav Tulach 2005-08-21 10:40:15 UTC
Observed failures were in: 
 
ant/freeform 
java/freeform 
web/freeform 
 
Comment 2 Jan Lahoda 2005-09-05 13:33:34 UTC
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

Comment 3 Jan Lahoda 2005-09-05 14:15:43 UTC
After fixing issue #61278, it seems that all java/freeform tests pass.
Comment 4 Marian Mirilovic 2005-12-22 13:07:33 UTC
verified/closed