Author: vrubezhny
Date: 2010-03-02 06:41:03 -0500 (Tue, 02 Mar 2010)
New Revision: 20553
Modified:
trunk/common/tests/org.jboss.tools.common.text.ext.test/projects/HiperlinksTestProject/.classpath
trunk/common/tests/org.jboss.tools.common.text.ext.test/src/org/jboss/tools/common/text/ext/test/OpenOnsTest.java
Log:
JBIDE-5947 FAILED: CommonExtAllTests
The .classpath properties for JRE_CONTAINER were fixed.
The output format for Assert is updated to be more helpful.
Modified:
trunk/common/tests/org.jboss.tools.common.text.ext.test/projects/HiperlinksTestProject/.classpath
===================================================================
---
trunk/common/tests/org.jboss.tools.common.text.ext.test/projects/HiperlinksTestProject/.classpath 2010-03-02
00:53:19 UTC (rev 20552)
+++
trunk/common/tests/org.jboss.tools.common.text.ext.test/projects/HiperlinksTestProject/.classpath 2010-03-02
11:41:03 UTC (rev 20553)
@@ -3,7 +3,7 @@
<classpathentry kind="src" path="JavaSource"/>
<classpathentry kind="con"
path="org.eclipse.jst.j2ee.internal.web.container"/>
<classpathentry kind="con"
path="org.eclipse.jst.j2ee.internal.module.container"/>
- <classpathentry kind="con"
path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/java-1.5.0-sun-1.5.0.15"/>
+ <classpathentry kind="con"
path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="con"
path="org.eclipse.jst.server.core.container/org.eclipse.jst.server.tomcat.runtimeTarget/Apache
Tomcat v6.0"/>
<classpathentry kind="output"
path="WebContent/WEB-INF/classes"/>
</classpath>
Modified:
trunk/common/tests/org.jboss.tools.common.text.ext.test/src/org/jboss/tools/common/text/ext/test/OpenOnsTest.java
===================================================================
---
trunk/common/tests/org.jboss.tools.common.text.ext.test/src/org/jboss/tools/common/text/ext/test/OpenOnsTest.java 2010-03-02
00:53:19 UTC (rev 20552)
+++
trunk/common/tests/org.jboss.tools.common.text.ext.test/src/org/jboss/tools/common/text/ext/test/OpenOnsTest.java 2010-03-02
11:41:03 UTC (rev 20553)
@@ -544,8 +544,9 @@
links[0].open();
JobUtils.waitForIdle();
editor =
PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().getActiveEditor();
- assertTrue("java.lang.String declaration should be opened",
- editor.getTitle().startsWith("String."));
+ String title = editor.getTitle();
+ assertTrue("java.lang.String declaration should be opened, but \'" +
title + "\' is actially openned in active editor",
+ title.startsWith("String."));
}
public static final String XHTML_STYLE_CLASS_NAME_TEST_FILE = OPENON_TEST_PROJECT +
"/WebContent/xhtmlStyleClassHiperlinkTests.xhtml";