[jbosstools-issues] [JBoss JIRA] (JBIDE-10778) ClassHyperlink.doHyperlink(IRegion region) fails to execute when region has escaped symbols like \r\n\t

Denis Maliarevich (JIRA) jira-events at lists.jboss.org
Wed Feb 1 09:52:48 EST 2012


Denis Maliarevich created JBIDE-10778:
-----------------------------------------

             Summary: 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

        


More information about the jbosstools-issues mailing list