[jbosstools-commits] JBoss Tools SVN: r42653 - 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
Thu Jul 19 12:29:09 EDT 2012
Author: scabanovich
Date: 2012-07-19 12:29:09 -0400 (Thu, 19 Jul 2012)
New Revision: 42653
Modified:
trunk/jsf/tests/org.jboss.tools.jsf.text.ext.test/src/org/jboss/tools/jsf/text/ext/test/JSPELHyperlinkUIParamTest.java
Log:
JBIDE-12295
https://issues.jboss.org/browse/JBIDE-12295
Open-on of multiple declarations of ui:param with the same name are supported.
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-07-19 15:27:02 UTC (rev 42652)
+++ trunk/jsf/tests/org.jboss.tools.jsf.text.ext.test/src/org/jboss/tools/jsf/text/ext/test/JSPELHyperlinkUIParamTest.java 2012-07-19 16:29:09 UTC (rev 42653)
@@ -55,27 +55,27 @@
}
- public void testJSPELHyperlinkUIParam() throws PartInitException, BadLocationException {
+ public void testELHyperlinkUIParam() throws PartInitException, BadLocationException {
//Activate page, include model is lazy.
PageContextFactory.createPageContext(project.getFile(new Path("/WebContent/params/a.xhtml")));
String pageName = PROJECT_NAME+"/WebContent/params/b.xhtml";
String textToFind = "myparam1";
String[] resultEditor = new String[]{"a.xhtml", "Person.java"};
try {
- doJSPELHyperlinkUIParam(pageName, textToFind, resultEditor);
+ doELHyperlinkUIParam(pageName, textToFind, resultEditor);
} finally {
WorkbenchUtils.closeAllEditors();
}
textToFind = "myparam2";
resultEditor = new String[]{"a.xhtml", "String.java"};
try {
- doJSPELHyperlinkUIParam(pageName, textToFind, resultEditor);
+ doELHyperlinkUIParam(pageName, textToFind, resultEditor);
} finally {
WorkbenchUtils.closeAllEditors();
}
}
- private void doJSPELHyperlinkUIParam(String pageName, String template, String... editorName) throws BadLocationException {
+ private void doELHyperlinkUIParam(String pageName, String template, String... editorName) throws BadLocationException {
IEditorPart editor = WorkbenchUtils.openEditor(pageName);
assertTrue(editor instanceof JSPMultiPageEditor);
JSPMultiPageEditor jspMultyPageEditor = (JSPMultiPageEditor) editor;
More information about the jbosstools-commits
mailing list