[jira] Commented: (SUREFIRE-59) Not compatible with TestNG 5.2: java.lang.NoSuchMethodError: org.testng.xml.XmlSuite.setParallel(Z)V

2007-01-11 Thread David Dunwoody (JIRA)
[ http://jira.codehaus.org/browse/SUREFIRE-59?page=comments#action_84775 ] 

David Dunwoody commented on SUREFIRE-59:


Reproduced here with TestNG 5.1+ and the 2.8-SNAPSHOT version of surefire.

 Not compatible with TestNG 5.2:  java.lang.NoSuchMethodError: 
 org.testng.xml.XmlSuite.setParallel(Z)V
 -

 Key: SUREFIRE-59
 URL: http://jira.codehaus.org/browse/SUREFIRE-59
 Project: surefire
  Issue Type: Improvement
  Components: TestNG support
 Environment:   plugin
 artifactIdmaven-surefire-plugin/artifactId
 version2.2/version
   /plugin  
 dependency
   groupIdorg.testng/groupId
   artifactIdtestng/artifactId
   version5.2/version
   classifierjdk15/classifier
   scopetest/scope
 /dependency
Reporter: Damian Golda

 I have project with dependency to testng and surefire plugin as in 
 Environment.
 I run tests and get exception:
 org.apache.maven.surefire.booter.SurefireExecutionException: 
 org.testng.xml.XmlSuite.setParallel(Z)V; nested exception i
 s java.lang.NoSuchMethodError: org.testng.xml.XmlSuite.setParallel(Z)V
 java.lang.NoSuchMethodError: org.testng.xml.XmlSuite.setParallel(Z)V
 at 
 org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:135)
 at org.apache.maven.surefire.Surefire.run(Surefire.java:129)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at 
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at 
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:585)
 at 
 org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:225)
 at 
 org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:747)
 Please, correct surefire to be compatible with new testng.

-- 
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




[jira] Commented: (SUREFIRE-59) Not compatible with TestNG 5.2: java.lang.NoSuchMethodError: org.testng.xml.XmlSuite.setParallel(Z)V

2007-01-11 Thread David Dunwoody (JIRA)
[ http://jira.codehaus.org/browse/SUREFIRE-59?page=comments#action_84776 ] 

David Dunwoody commented on SUREFIRE-59:


^^ Apologies, that should read TestNG 5.2+

 Not compatible with TestNG 5.2:  java.lang.NoSuchMethodError: 
 org.testng.xml.XmlSuite.setParallel(Z)V
 -

 Key: SUREFIRE-59
 URL: http://jira.codehaus.org/browse/SUREFIRE-59
 Project: surefire
  Issue Type: Improvement
  Components: TestNG support
 Environment:   plugin
 artifactIdmaven-surefire-plugin/artifactId
 version2.2/version
   /plugin  
 dependency
   groupIdorg.testng/groupId
   artifactIdtestng/artifactId
   version5.2/version
   classifierjdk15/classifier
   scopetest/scope
 /dependency
Reporter: Damian Golda

 I have project with dependency to testng and surefire plugin as in 
 Environment.
 I run tests and get exception:
 org.apache.maven.surefire.booter.SurefireExecutionException: 
 org.testng.xml.XmlSuite.setParallel(Z)V; nested exception i
 s java.lang.NoSuchMethodError: org.testng.xml.XmlSuite.setParallel(Z)V
 java.lang.NoSuchMethodError: org.testng.xml.XmlSuite.setParallel(Z)V
 at 
 org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:135)
 at org.apache.maven.surefire.Surefire.run(Surefire.java:129)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at 
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at 
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:585)
 at 
 org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:225)
 at 
 org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:747)
 Please, correct surefire to be compatible with new testng.

-- 
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