Project: SWT
Bug 33166 [JUNIT]Combo setLocation fails
Reported: 2003-02-25 17:40:06 | Status: resolved fixed

I20030221 Test_org_eclipse_swt_widgets_Control.test_setLocationII junit.framework.AssertionFailedError: expected:<Point {8, 19}> but was:<Point {11, 22}> 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 junit.framework.Assert.assertEquals(Assert.java:71) at org.eclipse.swt.tests.junit.Test_org_eclipse_swt_widgets_Control.test_setLocationII(Test _org_eclipse_swt_widgets_Control.java:526) at org.eclipse.swt.tests.junit.Test_org_eclipse_swt_widgets_Control.runTest(Test_org_ecli pse_swt_widgets_Control.java:810) at org.eclipse.swt.tests.junit.Test_org_eclipse_swt_widgets_Scrollable.runTest(Test_org_e clipse_swt_widgets_Scrollable.java:70) at org.eclipse.swt.tests.junit.Test_org_eclipse_swt_widgets_Composite.runTest(Test_org_ eclipse_swt_widgets_Composite.java:156) at org.eclipse.swt.tests.junit.Test_org_eclipse_swt_widgets_Combo.runTest(Test_org_ecli pse_swt_widgets_Combo.java:681) at junit.framework.TestCase.runBare(TestCase.java:127) 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 junit.framework.TestSuite.runTest(TestSuite.java:208) at junit.framework.TestSuite.run(TestSuite.java:203) at junit.framework.TestSuite.runTest(TestSuite.java:208) at junit.framework.TestSuite.run(TestSuite.java:203) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.jav a:377) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:261) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:15 2) at java.lang.reflect.Method.invoke(Native Method) at com.apple.buckyball.app.LaunchRunner.run(LaunchRunner.java:82) at com.apple.buckyball.app.LaunchRunner.callMain(LaunchRunner.java:44) at com.apple.buckyball.app.CarbonLibApp.launch(CarbonLibApp.java:67)

Files changed in fix:
bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Control.java bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Widget.java