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


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

        

Reply via email to