[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-7902) testExternalizeCommand(org.jboss.tools.jst.jsp.test.ca.ExternalizeCommandTest) failure

Denis Maliarevich (JIRA) jira-events at lists.jboss.org
Thu Dec 30 09:50:18 EST 2010


    [ https://issues.jboss.org/browse/JBIDE-7902?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12572535#comment-12572535 ] 

Denis Maliarevich commented on JBIDE-7902:
------------------------------------------

In some cases selectionChanged event is not fired. Even PostSelectionChangedListener is not always notified when the cursor position is changed, but according to the specification is should be. So I'll try to send a key pressed event manually in addition to (or may be instead of) setSelectedRange method.

> testExternalizeCommand(org.jboss.tools.jst.jsp.test.ca.ExternalizeCommandTest) failure
> --------------------------------------------------------------------------------------
>
>                 Key: JBIDE-7902
>                 URL: https://issues.jboss.org/browse/JBIDE-7902
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: jsp/jsf/xml source editing
>    Affects Versions: 3.2.0.CR1
>            Reporter: Alexey Kazakov
>            Assignee: Denis Maliarevich
>             Fix For: 3.2.0.CR1
>
>
> testExternalizeCommand(org.jboss.tools.jst.jsp.test.ca.ExternalizeCommandTest)  Time elapsed: 7.216 sec  <<< FAILURE!
> junit.framework.AssertionFailedError: Externalize Command has incorrect enabled state expected:<true> but was:<false>
> 	at junit.framework.Assert.fail(Assert.java:47)
> 	at junit.framework.Assert.failNotEquals(Assert.java:283)
> 	at junit.framework.Assert.assertEquals(Assert.java:64)
> 	at junit.framework.Assert.assertEquals(Assert.java:143)
> 	at org.jboss.tools.jst.jsp.test.ca.ExternalizeCommandTest.checkExternalizeCommand(ExternalizeCommandTest.java:79)
> 	at org.jboss.tools.jst.jsp.test.ca.ExternalizeCommandTest.testExternalizeCommand(ExternalizeCommandTest.java:69)

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list