[
https://issues.jboss.org/browse/JBIDE-10778?page=com.atlassian.jira.plugi...
]
Victor Rubezhny commented on JBIDE-10778:
-----------------------------------------
Yes, it's a certainly result of JBIDE-10621
ClassHyperlink.doHyperlink(IRegion region) fails to execute when
region has escaped symbols like \r\n\t
-------------------------------------------------------------------------------------------------------
Key: JBIDE-10778
URL:
https://issues.jboss.org/browse/JBIDE-10778
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: common/jst/core
Affects Versions: 3.3.0.M5
Reporter: Denis Maliarevich
Assignee: Victor Rubezhny
Fix For: 3.3.0.Beta1
Junit fails
{code}
junit.framework.ComparisonFailure: Active page should be
expected:<[IfHandler.java]> but was:<[facelets.taglib.xml]>
at junit.framework.Assert.assertEquals(Assert.java:81)
at org.jboss.tools.vpe.base.test.OpenOnUtil.checkOpenOnInEditor(OpenOnUtil.java:108)
at
org.jboss.tools.jsf.vpe.jsf.test.jbide.JBIDE4509Test.testJBIDE4638OpenOnForHandlerClass(JBIDE4509Test.java:90)
...
{code}
ClassName is "\r\n\t\t\t\tdemo.IfHandler\r\n\t\t\t"
Changing to
{code}
element = searchForClass(className.trim());
{code}
solves the failure.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira