You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Igor Petruk (JIRA)" <ji...@codehaus.org> on 2011/04/19 17:09:22 UTC
[jira] Commented: (SUREFIRE-728) Surefire 2.8, surefire-junit4-2.8,
junit 4.6, Spring 3.0.5 - AbstractMethodError
[ http://jira.codehaus.org/browse/SUREFIRE-728?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=263939#action_263939 ]
Igor Petruk commented on SUREFIRE-728:
--------------------------------------
I cannot use JUnit 4.7+ with the according provider, because it does not see my tests at all. It is probably is also a bug.
Everything works just fine in Eclipse.
> Surefire 2.8, surefire-junit4-2.8, junit 4.6, Spring 3.0.5 - AbstractMethodError
> --------------------------------------------------------------------------------
>
> Key: SUREFIRE-728
> URL: http://jira.codehaus.org/browse/SUREFIRE-728
> Project: Maven Surefire
> Issue Type: Bug
> Components: Maven Surefire Plugin
> Affects Versions: 2.8
> Environment: Surefire 2.8, surefire-junit4-2.8, junit 4.6, Spring 3.0.5, Windows XP
> Reporter: Igor Petruk
>
> When used the following versions of the software I get the following report on each test
> -------------------------------------------------------------------------------
> Test set: somepackage.SomeTest
> -------------------------------------------------------------------------------
> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.016 sec <<< FAILURE!
> somepackage.SomeTest Time elapsed: 0 sec <<< ERROR!
> java.lang.AbstractMethodError
> at org.springframework.test.context.TestContextManager.afterTestClass(TestContextManager.java:448)
> at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:77)
> at org.junit.runners.ParentRunner.run(ParentRunner.java:220)
> at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:180)
> at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:59)
> at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:120)
> at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:103)
> at org.apache.maven.surefire.Surefire.run(Surefire.java:169)
> 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:597)
> at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:350)
> at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1021)
--
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