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 98767 - Failures in CategoryTest and DragAndDropHandlerTest
Summary: Failures in CategoryTest and DragAndDropHandlerTest
Status: VERIFIED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Palette (show other bugs)
Version: 6.x
Hardware: All Windows XP
: P2 blocker (vote)
Assignee: Stanislav Aubrecht
URL:
Keywords: REGRESSION, TEST
Depends on:
Blocks:
 
Reported: 2007-03-23 10:04 UTC by pzajac
Modified: 2008-12-22 11:00 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 pzajac 2007-03-23 10:04:59 UTC
Regression from 200703141900

It's 7 builds... 
http://beetle.czech:8080/unittest/TestCase.jsp?issues=39102
http://beetle.czech:8080/unittest/TestCase.jsp?issues=39101
http://beetle.czech:8080/unittest/TestCase.jsp?issues=39099

testDropItemBefore:

      junit.framework.AssertionFailedError: expected:<10> but was:<9>
	at junit.framework.Assert.fail(Assert.java:47)
	at junit.framework.Assert.failNotEquals(Assert.java:280)
	at junit.framework.Assert.assertEquals(Assert.java:64)
	at junit.framework.Assert.assertEquals(Assert.java:198)
	at junit.framework.Assert.assertEquals(Assert.java:204)
	at org.netbeans.spi.palette.CategoryTest.testDropItemBefore(CategoryTest.java:284)
	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:164)
	at junit.framework.TestCase.runBare(TestCase.java:130)
	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:120)
	at junit.framework.TestSuite.runTest(TestSuite.java:230)
	at junit.framework.TestSuite.run(TestSuite.java:225)
	at org.netbeans.xtest.testrunner.JUnitTestRunner.runTests(JUnitTestRunner.java:169)
	at org.netbeans.xtest.testrunner.JUnitTestRunner.runTests(JUnitTestRunner.java:124)
	at
org.netbeans.xtest.plugin.jvm.JUnitTestRunnerLauncher.main(JUnitTestRunnerLauncher.java:60)

   

testDropItemAfter:

      junit.framework.AssertionFailedError: expected:<10> but was:<9>
	at junit.framework.Assert.fail(Assert.java:47)
	at junit.framework.Assert.failNotEquals(Assert.java:280)
	at junit.framework.Assert.assertEquals(Assert.java:64)
	at junit.framework.Assert.assertEquals(Assert.java:198)
	at junit.framework.Assert.assertEquals(Assert.java:204)
	at org.netbeans.spi.palette.CategoryTest.testDropItemAfter(CategoryTest.java:320)
	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:164)
	at junit.framework.TestCase.runBare(TestCase.java:130)
	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:120)
	at junit.framework.TestSuite.runTest(TestSuite.java:230)
	at junit.framework.TestSuite.run(TestSuite.java:225)
	at org.netbeans.xtest.testrunner.JUnitTestRunner.runTests(JUnitTestRunner.java:169)
	at org.netbeans.xtest.testrunner.JUnitTestRunner.runTests(JUnitTestRunner.java:124)
	at
org.netbeans.xtest.plugin.jvm.JUnitTestRunnerLauncher.main(JUnitTestRunnerLauncher.java:60)
Comment 1 Stanislav Aubrecht 2007-04-26 16:35:00 UTC
fixed

Checking in AbstractPaletteTestHid.java;
/cvs/core/palette/test/unit/src/org/netbeans/spi/palette/AbstractPaletteTestHid.java,v
 <--  AbstractPaletteTestHid.java
new revision: 1.6; previous revision: 1.5
done
Checking in PaletteSwitchTest.java;
/cvs/core/palette/test/unit/src/org/netbeans/spi/palette/PaletteSwitchTest.java,v
 <--  PaletteSwitchTest.java
new revision: 1.2; previous revision: 1.1
Comment 2 pzajac 2007-05-02 14:35:16 UTC
v