## Command line test

Tests passed/Failed/Skipped: | 1/0/0
Started on: | Sat Jul 07 17:35:20 CEST 2012
Total time: | 0 seconds (5 ms)
Included groups: |
Excluded groups: |

(Hover the method name to see the test class name)

FAILED CONFIGURATIONS
Test method | Instance | Time (seconds) | Exception
springTestContextAfterTestMethod Test class:Command line test Parameters: public void org.springframework.test.context.testng.FailingBeforeAndAfterMethodsTests$FailingAfterTransactionTestCase.testNothing() | org.springframework.test.context.testng.FailingBeforeAndAfterMethodsTests$FailingAfterTransactionTestCase@58c577cd | 0 |
    java.lang.AssertionError: always failing afterTransaction()
    	at org.springframework.test.context.testng.FailingBeforeAndAfterMethodsTests$FailingAfterTransactionTestCase.afterTransaction(FailingBeforeAndAfterMethodsTests.java:246)
    	at org.springframework.test.context.transaction.TransactionalTestExecutionListener.runAfterTransactionMethods(TransactionalTestExecutionListener.java:239)
    	at org.springframework.test.context.transaction.TransactionalTestExecutionListener.afterTestMethod(TransactionalTestExecutionListener.java:189)
    	at org.springframework.test.context.TestContextManager.afterTestMethod(TestContextManager.java:406)
    	at org.springframework.test.context.testng.AbstractTestNGSpringContextTests.springTestContextAfterTestMethod(AbstractTestNGSpringContextTests.java:179)
    	at org.springframework.test.context.testng.FailingBeforeAndAfterMethodsTests.runTestAndAssertCounters(FailingBeforeAndAfterMethodsTests.java:105)
    	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
    	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
    	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
    	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
    	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)
    	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:69)
    	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:48)
    	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
    	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
    	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
    	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
    	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
    	at org.junit.runners.ParentRunner.run(ParentRunner.java:292)
    	at org.junit.runners.Suite.runChild(Suite.java:128)
    	at org.junit.runners.Suite.runChild(Suite.java:24)
    	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
    	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
    	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
    	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
    	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
    	at org.junit.runners.ParentRunner.run(ParentRunner.java:292)
    	at junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39)
    	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:518)
    	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1052)
    	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:879)
    ... Removed 31 stack frames
Click to show all stack frames
    java.lang.AssertionError: always failing afterTransaction()
    	at org.testng.Assert.fail(Assert.java:89)
    	at org.springframework.test.context.testng.FailingBeforeAndAfterMethodsTests$FailingAfterTransactionTestCase.afterTransaction(FailingBeforeAndAfterMethodsTests.java:246)
    	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.springframework.test.context.transaction.TransactionalTestExecutionListener.runAfterTransactionMethods(TransactionalTestExecutionListener.java:239)
    	at org.springframework.test.context.transaction.TransactionalTestExecutionListener.afterTestMethod(TransactionalTestExecutionListener.java:189)
    	at org.springframework.test.context.TestContextManager.afterTestMethod(TestContextManager.java:406)
    	at org.springframework.test.context.testng.AbstractTestNGSpringContextTests.springTestContextAfterTestMethod(AbstractTestNGSpringContextTests.java:179)
    	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.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:643)
    	at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:446)
    	at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:162)
    	at org.testng.internal.Invoker.invokeMethod(Invoker.java:635)
    	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:723)
    	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1027)
    	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:137)
    	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:121)
    	at org.testng.TestRunner.runWorkers(TestRunner.java:1030)
    	at org.testng.TestRunner.privateRun(TestRunner.java:709)
    	at org.testng.TestRunner.run(TestRunner.java:579)
    	at org.testng.SuiteRunner.runTest(SuiteRunner.java:331)
    	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:326)
    	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:288)
    	at org.testng.SuiteRunner.run(SuiteRunner.java:193)
    	at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:910)
    	at org.testng.TestNG.runSuitesLocally(TestNG.java:879)
    	at org.testng.TestNG.run(TestNG.java:787)
    	at org.springframework.test.context.testng.FailingBeforeAndAfterMethodsTests.runTestAndAssertCounters(FailingBeforeAndAfterMethodsTests.java:105)
    	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.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
    	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
    	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
    	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
    	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)
    	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:69)
    	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:48)
    	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
    	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
    	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
    	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
    	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
    	at org.junit.runners.ParentRunner.run(ParentRunner.java:292)
    	at org.junit.runners.Suite.runChild(Suite.java:128)
    	at org.junit.runners.Suite.runChild(Suite.java:24)
    	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
    	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
    	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
    	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
    	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
    	at org.junit.runners.ParentRunner.run(ParentRunner.java:292)
    	at junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39)
    	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:518)
    	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1052)
    	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:879)

PASSED TESTS
Test method | Instance | Time (seconds) | Exception
testNothing Test class:Command line test | org.springframework.test.context.testng.FailingBeforeAndAfterMethodsTests$FailingAfterTransactionTestCase@58c577cd | 0 |