Author: vrubezhny
Date: 2010-03-02 08:40:28 -0500 (Tue, 02 Mar 2010)
New Revision: 20560
Modified:
branches/jbosstools-3.1.x/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 output format for Assert is updated to be more helpful.
Modified:
branches/jbosstools-3.1.x/common/tests/org.jboss.tools.common.text.ext.test/src/org/jboss/tools/common/text/ext/test/OpenOnsTest.java
===================================================================
---
branches/jbosstools-3.1.x/common/tests/org.jboss.tools.common.text.ext.test/src/org/jboss/tools/common/text/ext/test/OpenOnsTest.java 2010-03-02
13:15:23 UTC (rev 20559)
+++
branches/jbosstools-3.1.x/common/tests/org.jboss.tools.common.text.ext.test/src/org/jboss/tools/common/text/ext/test/OpenOnsTest.java 2010-03-02
13:40:28 UTC (rev 20560)
@@ -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";
Show replies by date