Project: SWT
Bug 33164 [JUNIT] Scale setMinimum and setMaximum fail
Reported: 2003-02-25 17:36:13 | Status: resolved fixed

I20030221 1) Test_org_eclipse_swt_widgets_Scale.test_setMinimumI junit.framework.AssertionFailedError: expected:<100> but was:<10> 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:201) at junit.framework.Assert.assertEquals(Assert.java:207) at org.eclipse.swt.tests.junit.Test_org_eclipse_swt_widgets_Scale.check(Test_org_eclipse _swt_widgets_Scale.java:60) at org.eclipse.swt.tests.junit.Test_org_eclipse_swt_widgets_Scale.report(Test_org_eclipse _swt_widgets_Scale.java:55) at org.eclipse.swt.tests.junit.Test_org_eclipse_swt_widgets_Scale.test_setMinimumI(Test_ org_eclipse_swt_widgets_Scale.java:605) at org.eclipse.swt.tests.junit.Test_org_eclipse_swt_widgets_Scale.runTest(Test_org_eclips e_swt_widgets_Scale.java:668) 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) 2) Test_org_eclipse_swt_widgets_Scale.test_setMaximumI junit.framework.AssertionFailedError: expected:<10> but was:<100> 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:201) at junit.framework.Assert.assertEquals(Assert.java:207) at org.eclipse.swt.tests.junit.Test_org_eclipse_swt_widgets_Scale.check(Test_org_eclipse _swt_widgets_Scale.java:59) at org.eclipse.swt.tests.junit.Test_org_eclipse_swt_widgets_Scale.report(Test_org_eclipse _swt_widgets_Scale.java:55) at org.eclipse.swt.tests.junit.Test_org_eclipse_swt_widgets_Scale.test_setMaximumI(Test_ org_eclipse_swt_widgets_Scale.java:586) at org.eclipse.swt.tests.junit.Test_org_eclipse_swt_widgets_Scale.runTest(Test_org_eclips e_swt_widgets_Scale.java:667) 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/ProgressBar.java bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Scale.java