harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aleksey Ignatenko (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-3391) [JDK][EUT] 2 tests fail in org.eclipse.jdt.ui.tests.all suit
Date Wed, 14 Mar 2007 11:02:09 GMT

    [ https://issues.apache.org/jira/browse/HARMONY-3391?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12480719
] 

Aleksey Ignatenko commented on HARMONY-3391:
--------------------------------------------

This issue is to be verified, it is possible that the issue is in wrong written test (Eclipse
bug). 
I investigated the same problem in compiler.regression suit where the string is expected from
the output is initially generated with RI implementation, but the resulting string differs
from expected with 2 words placed in opposite positions. That happens because of list of this
words is generated from some container like HashMap, but iteration order via HashMap elements
is not specified by spec. Therefore we get different parameters order on different VMs.

> [JDK][EUT] 2 tests fail in org.eclipse.jdt.ui.tests.all suit
> ------------------------------------------------------------
>
>                 Key: HARMONY-3391
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3391
>             Project: Harmony
>          Issue Type: Bug
>          Components: JDK
>            Reporter: Aleksey Ignatenko
>
> 2 tests fail in org.eclipse.jdt.ui.tests.all suit of EUT.
> <testcase classname="org.eclipse.jdt.ui.tests.nls.NLSSourceModifierTest" name="testBug95708_2"
time="0.625">
>       <failure message="expected:&lt;...key_0;  private String str2=Accessor.nls...&gt;
but was:&lt;...nls_0;  private String str2=Accessor.key...&gt;"  type="
> junit.framework.ComparisonFailure">junit.framework.ComparisonFailure: expected:&lt;...key_0;
>         private String str2=Accessor.nls...&gt; but was:&lt;...nls_0;
>         private String str2=Accessor.key...&gt;
>         at org.eclipse.jdt.ui.tests.nls.NLSSourceModifierTest.testBug95708_2(NLSSourceModifierTest.java:858)
>         at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
>         at junit.extensions.TestDecorator.basicRun(TestDecorator.java)
>         at junit.extensions.TestSetup$1.protect(TestSetup.java:18)
>         at junit.extensions.TestSetup.run(TestSetup.java:16)
>         at junit.extensions.TestDecorator.basicRun(TestDecorator.java)
>         at junit.extensions.TestSetup$1.protect(TestSetup.java:18)
>         at junit.extensions.TestSetup.run(TestSetup.java:16)
>         at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:326)
>         at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:203)
>         at org.eclipse.test.UITestApplication$3.run(UITestApplication.java:188)
>         at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
>         at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:121)
>         at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java)
>         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2971)
>         at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1912)
>         at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1875)
>         at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:417)
>         at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java)
>         at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:96)
>         at org.eclipse.test.UITestApplication.runApplication(UITestApplication.java:130)
>         at org.eclipse.test.UITestApplication.run(UITestApplication.java:55)
>         at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:77)
>         at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
>         at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:66)
>         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:396)
>         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
>         at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
>         at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
>         at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
>         at org.eclipse.core.launcher.Main.run(Main.java:975)
>         at org.eclipse.core.launcher.Main.main(Main.java:952)
>         at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
>         at org.apache.harmony.vm.JarRunner.main(JarRunner.java:80)
> </failure>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message