[jbosstools-issues] [JBoss JIRA] (JBIDE-17184) org.jboss.tools.jsf.ui.test failure on Windows

Viacheslav Kabanovich (JIRA) issues at jboss.org
Thu May 8 14:17:56 EDT 2014


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

Viacheslav Kabanovich commented on JBIDE-17184:
-----------------------------------------------

The error is in OpenKeyHelper, because of inconsistency between line 96
{code}
String name = (i < 0) ? bundle : bundle.substring(i + 1);
{code}
and line 100
{code}
String pp = c.getPathPart();
{code}
Windows is case incensitive and for it method getPathPart() returns the string reduced to the lower case. Variable 'name' is obtained from 'bundle' without reducing case.
The correct code will be
{code}
String name = (i < 0) ? bundle : bundle.substring(i + 1);
name = FilePathHelper.toPathPath(name);
{code}
[~dazarov], could you please try it on Windows? 

> org.jboss.tools.jsf.ui.test failure on Windows
> ----------------------------------------------
>
>                 Key: JBIDE-17184
>                 URL: https://issues.jboss.org/browse/JBIDE-17184
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: jsf
>    Affects Versions: 4.2.0.Beta1
>            Reporter: Daniel Azarov
>            Assignee: Viacheslav Kabanovich
>             Fix For: 4.2.0.Beta2
>
>         Attachments: Linux17184.png, org.jboss.tools.jsf.ui.test.JsfUiAllTests.txt, Windows17184.png, Windows17184.png
>
>
> Tests run: 104, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 738.449 sec <<< FAILURE!
> Results :
> Failed tests:   testMessagesInLocalizedBundles(org.jboss.tools.jsf.jsp.ca.test.CAJsfMessagesProposalsTest): The proposal to apply not found.
> Tests run: 104, Failures: 1, Errors: 0, Skipped: 0



--
This message was sent by Atlassian JIRA
(v6.2.3#6260)


More information about the jbosstools-issues mailing list