[jbosstools-issues] [JBoss JIRA] (JBIDE-10778) ClassHyperlink.doHyperlink(IRegion region) fails to execute when region has escaped symbols like \r\n\t
Vlado Pakan (JIRA)
jira-events at lists.jboss.org
Mon Feb 6 08:41:49 EST 2012
[ https://issues.jboss.org/browse/JBIDE-10778?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vlado Pakan closed JBIDE-10778.
-------------------------------
> 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: Denis Maliarevich
> 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
More information about the jbosstools-issues
mailing list