Community
Participate
Working Groups
Build: I20031009 This test consistently fails for me on my machine. From looking at the tests, I suspect it is related to the fact that I use extra large fonts (9 pt. Verdana at 125% zoom) on a 1280x960 resolution display. junit.framework.AssertionFailedError: Warning: Button {&Show additional compare information in the status line} Actual Width -> 382 Recommended Width -> 425 at junit.framework.Assert.fail(Assert.java:47) at junit.framework.Assert.assertTrue(Assert.java:20) at org.eclipse.ui.tests.util.DialogCheck.verifyButtonText(DialogCheck.java:183) at org.eclipse.ui.tests.util.DialogCheck.verifyCompositeText(DialogCheck.java:133) at org.eclipse.ui.tests.util.DialogCheck.verifyCompositeText(DialogCheck.java:141) at org.eclipse.ui.tests.util.DialogCheck.verifyCompositeText(DialogCheck.java:141) at org.eclipse.ui.tests.util.DialogCheck.verifyCompositeText(DialogCheck.java:141) at org.eclipse.ui.tests.util.DialogCheck.verifyCompositeText(DialogCheck.java:141) at org.eclipse.ui.tests.util.DialogCheck.verifyCompositeText(DialogCheck.java:141) at org.eclipse.ui.tests.util.DialogCheck.verifyCompositeText(DialogCheck.java:141) at org.eclipse.ui.tests.util.DialogCheck.assertDialogTexts(DialogCheck.java:89) at org.eclipse.ui.tests.compare.UIComparePreferencesAuto.testCompareViewersPref(UIComparePreferencesAuto.java:60) 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 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 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.java:395) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:279) at org.eclipse.pde.internal.junit.runtime.RemotePluginTestRunner.main(RemotePluginTestRunner.java:30) at org.eclipse.pde.internal.junit.runtime.UITestApplication.runEventLoop(UITestApplication.java:35) at org.eclipse.ui.internal.Workbench.run(Workbench.java:2326) at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:858) at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461) 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 org.eclipse.core.launcher.Main.basicRun(Main.java:299) at org.eclipse.core.launcher.Main.run(Main.java:765) at org.eclipse.core.launcher.Main.main(Main.java:599)
Just tested using 20040210 with extra large fonts and it works for me. Please reopen if this is still an issue.
This still fails for me. I now use a 1600x1200 display with 140% Verdana as my font. When I put a breakpoint at the failure, I can see that the test dialog is indeed showing a button that is being clipped in the preference dialog. I don't know if this is really cause for a test failure though since the preference dialog is resizable by the user.
Created attachment 16505 [details] Screen shot of test workbench with clipped button text (second button from top)
same test is failing differently (with 0 button width) in bug #164412
As per http://wiki.eclipse.org/Platform_UI/Bug_Triage_Change_2009
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug. If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. -- The automated Eclipse Genie.