[jbosstools-commits] JBoss Tools SVN: r43838 - trunk/jsf/tests/org.jboss.tools.jsf.text.ext.test/src/org/jboss/tools/jsf/text/ext/test.
jbosstools-commits at lists.jboss.org
jbosstools-commits at lists.jboss.org
Wed Sep 19 13:24:37 EDT 2012
Author: scabanovich
Date: 2012-09-19 13:24:37 -0400 (Wed, 19 Sep 2012)
New Revision: 43838
Modified:
trunk/jsf/tests/org.jboss.tools.jsf.text.ext.test/src/org/jboss/tools/jsf/text/ext/test/JSPELHyperlinkUIParamTest.java
Log:
JBIDE-12626
https://issues.jboss.org/browse/JBIDE-12626
Modified: trunk/jsf/tests/org.jboss.tools.jsf.text.ext.test/src/org/jboss/tools/jsf/text/ext/test/JSPELHyperlinkUIParamTest.java
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.text.ext.test/src/org/jboss/tools/jsf/text/ext/test/JSPELHyperlinkUIParamTest.java 2012-09-19 17:23:38 UTC (rev 43837)
+++ trunk/jsf/tests/org.jboss.tools.jsf.text.ext.test/src/org/jboss/tools/jsf/text/ext/test/JSPELHyperlinkUIParamTest.java 2012-09-19 17:24:37 UTC (rev 43838)
@@ -73,7 +73,7 @@
WorkbenchUtils.closeAllEditors();
}
textToFind = "myparam2";
- resultEditor = new String[]{"a.xhtml", "String.java"};
+ resultEditor = new String[]{"a.xhtml", "String."};
try {
doELHyperlinkUIParam(pageName, textToFind, false, resultEditor);
} finally {
@@ -128,7 +128,7 @@
link.open();
IEditorPart resultEditor = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().getActiveEditor();
- assertEquals("Link " + i + " leads to a wrong editor.", editorName[i], resultEditor.getTitle());
+ assertTrue("Link " + i + " leads to a wrong editor: " + resultEditor.getTitle(), resultEditor.getTitle().startsWith(editorName[i]));
}
}
}
\ No newline at end of file
More information about the jbosstools-commits
mailing list