[ http://jira.codehaus.org/browse/SUREFIRE-345?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dan Fabulich closed SUREFIRE-345. --------------------------------- Resolution: Duplicate Dupe of SUREFIRE-316, fixed in revision 594580 > TestNG test fail with IllegalARgumentExceptoin > ---------------------------------------------- > > Key: SUREFIRE-345 > URL: http://jira.codehaus.org/browse/SUREFIRE-345 > Project: Maven Surefire > Issue Type: Bug > Components: TestNG support > Affects Versions: 2.4 > Reporter: Ben Sommerville > Assignee: Dan Fabulich > Fix For: 2.4 > > Attachments: SUREFIRE-345-2.patch, SUREFIRE-TestNG.patch > > > Trying to execute testng test with 2.4 snapshot results in: > java.lang.IllegalArgumentException: Unknown parameter type: > java.util.Properties > at > org.apache.maven.surefire.booter.SurefireBooter.constructParamObjects(SurefireBooter.java:793) > at > org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:844) > To reproduce attempt to run any project with TestNG tests. Same error occurs > with TestNG version 5.1 & 5.5 > Attached patch fixes the problem by supporting the passing of Properties > objects (via file/command line) to forked test processes. -- 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