-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixed #112: Current suite is still run if AbortExecutionException thrown
- Loading branch information
Showing
4 changed files
with
110 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
40 changes: 40 additions & 0 deletions
40
...ntegrity.tests/results/integrity.basic.exceptions.abortExceptions.abortDependentSuite.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<integrity name="Integrity JUnit Testing" timestamp="20.06.16 10:37" isotimestamp="2016-06-20T10:37:41" duration="20.596" abortMessage="This is an abort exception in a call"> | ||
<variables /> | ||
<suite id="0" name="integrity.basic.exceptions.abortExceptions.abortDependentSuite" timestamp="20.06.16 10:37:41.0534"> | ||
<setup /> | ||
<variables /> | ||
<statements> | ||
<suite id="1" line="97" name="integrity.basic.exceptions.abortExceptions.abortDependentSuiteDependingSuite" timestamp="20.06.16 10:37:41.0534"> | ||
<setup> | ||
<suite id="2" line="104" name="integrity.basic.exceptions.abortExceptions.abortDependentSuiteRequiredSuite1" timestamp="20.06.16 10:37:41.0534"> | ||
<setup /> | ||
<variables /> | ||
<statements> | ||
<call id="3" line="105" name="noOp" description="Do absolutely nothing." fixture="de.gebit.integrity.tests.fixtures.basic.NoOpFixture#noOp" timestamp="20.06.16 10:37:41.0550"> | ||
<parameters /> | ||
<result duration="0.839" type="success" /> | ||
</call> | ||
<call id="4" line="106" name="throwAbortException" description="Throws an abortion exception" fixture="de.gebit.integrity.tests.fixtures.basic.NoOpFixture#throwAbortException" timestamp="20.06.16 10:37:41.0550"> | ||
<parameters> | ||
<parameter name="message" value="This is an abort exception in a call" /> | ||
</parameters> | ||
<result duration="1.631" type="exception" exceptionMessage="This is an abort exception in a call" exceptionTrace="de.gebit.integrity.exceptions.AbortExecutionException: This is an abort exception in a call
	at de.gebit.integrity.tests.fixtures.basic.NoOpFixture.throwAbortException(NoOpFixture.java:202)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at de.gebit.integrity.fixtures.FixtureWrapper.execute(FixtureWrapper.java:313)
	at de.gebit.integrity.runner.DefaultTestRunner.executeCallSingle(DefaultTestRunner.java:1743)
	at de.gebit.integrity.runner.DefaultTestRunner.executeCall(DefaultTestRunner.java:1686)
	at de.gebit.integrity.runner.DefaultTestRunner.executeSuite(DefaultTestRunner.java:1040)
	at de.gebit.integrity.runner.DefaultTestRunner.executeSetupSuites(DefaultTestRunner.java:935)
	at de.gebit.integrity.runner.DefaultTestRunner.callSuiteSingle(DefaultTestRunner.java:768)
	at de.gebit.integrity.runner.DefaultTestRunner.callSuite(DefaultTestRunner.java:682)
	at de.gebit.integrity.runner.DefaultTestRunner.executeSuite(DefaultTestRunner.java:1028)
	at de.gebit.integrity.runner.DefaultTestRunner.callSuiteSingle(DefaultTestRunner.java:809)
	at de.gebit.integrity.runner.DefaultTestRunner.runInternal(DefaultTestRunner.java:635)
	at de.gebit.integrity.runner.DefaultTestRunner.run(DefaultTestRunner.java:513)
	at de.gebit.integrity.runner.DefaultTestRunner.run(DefaultTestRunner.java:448)
	at de.gebit.integrity.tests.junit.IntegrityJUnitTest.executeIntegritySuite(IntegrityJUnitTest.java:99)
	at de.gebit.integrity.tests.junit.basic.exceptions.AbortExceptions.abortDependentSuite(AbortExceptions.java:172)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
	at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:86)
	at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:459)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:675)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:382)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:192)
" /> | ||
</call> | ||
</statements> | ||
<result duration="14.034" successCount="0" failureCount="0" exceptionCount="1" testExceptionCount="0" callExceptionCount="1" /> | ||
</suite> | ||
</setup> | ||
<variables /> | ||
<statements /> | ||
<returns /> | ||
<teardown /> | ||
<result duration="0.001" successCount="0" failureCount="0" exceptionCount="1" testExceptionCount="0" callExceptionCount="1" /> | ||
</suite> | ||
</statements> | ||
<returns /> | ||
<teardown /> | ||
<result duration="15.538" successCount="0" failureCount="0" exceptionCount="1" testExceptionCount="0" callExceptionCount="1" /> | ||
</suite> | ||
</integrity> | ||
|