You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Dan Fabulich (JIRA)" <ji...@codehaus.org> on 2007/11/21 10:43:57 UTC

[jira] Closed: (SUREFIRE-325) when parsing excludedGroups config prop, trim leading and trailing whitespace off of group names

     [ http://jira.codehaus.org/browse/SUREFIRE-325?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dan Fabulich closed SUREFIRE-325.
---------------------------------

    Resolution: Fixed

This was fixed a while back by just passing the string along to TestNG as a configurable property.  (But watch out for SUREFIRE-385 which was just fixed a minute ago.)

> when parsing excludedGroups config prop, trim leading and trailing whitespace off of group names
> ------------------------------------------------------------------------------------------------
>
>                 Key: SUREFIRE-325
>                 URL: http://jira.codehaus.org/browse/SUREFIRE-325
>             Project: Maven Surefire
>          Issue Type: Improvement
>          Components: TestNG support
>    Affects Versions: 2.3
>            Reporter: Ian Springer
>            Priority: Minor
>             Fix For: 2.4
>
>
> If I specify:
> <excludedGroups>agent-comm,  comm-client,  native-system</excludedGroups>
> it gets parsed into:
> "agent-comm", "  comm-client", "  native-system"
> It would be nice if, after tokenizing on commas, leading and trailing whitespace were stripped off of the group names. That is, so results for the above example would be:
> "agent-comm", "comm-client", "native-system"
> I know that TestNG group names technically could truly contain leading or trailing whitespace, but realistically I don't think anyone would ever do such a thing.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira