Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
80 0 0 0 100% 0.265

Note: failures are anticipated and checked for with assertions while errors are unanticipated.


Package List

[Summary] [Package List] [Test Cases]


Package Tests Errors Failures Skipped Success Rate Time
de.smartics.exceptions.code 12 0 0 0 100% 0.02
de.smartics.exceptions.context 1 0 0 0 100% 0.062
de.smartics.exceptions.id 23 0 0 0 100% 0.019
de.smartics.exceptions.runtime 2 0 0 0 100% 0.004
de.smartics.exceptions 34 0 0 0 100% 0.151
de.smartics.exceptions.id.code 8 0 0 0 100% 0.009

Note: package statistics are not computed recursively, they only sum up all of its testsuites numbers.

de.smartics.exceptions.code

Class Tests Errors Failures Skipped Success Rate Time
DefaultCodeComparatorTest 6 0 0 0 100% 0.019
NumberCodeComparatorTest 6 0 0 0 100% 0.001

de.smartics.exceptions.context

Class Tests Errors Failures Skipped Success Rate Time
SystemDefaultExceptionContextTest 1 0 0 0 100% 0.062

de.smartics.exceptions.id

Class Tests Errors Failures Skipped Success Rate Time
IncrementFactoryTest 7 0 0 0 100% 0.018
LongExceptionIdTest 8 0 0 0 100% 0
UuidExceptionIdTest 8 0 0 0 100% 0.001

de.smartics.exceptions.runtime

Class Tests Errors Failures Skipped Success Rate Time
ExceptionContextManagerTest 1 0 0 0 100% 0
ExceptionsContextManagerTest 1 0 0 0 100% 0.004

de.smartics.exceptions

Class Tests Errors Failures Skipped Success Rate Time
CoreExceptionTest 3 0 0 0 100% 0.126
CoreRuntimeExceptionTest 6 0 0 0 100% 0.013
HelperDetermineParentIdTest 7 0 0 0 100% 0.004
NormalThrowableTruncationTest 6 0 0 0 100% 0.004
TruncateAllThrowableTruncationTest 6 0 0 0 100% 0.003
TruncateExternalThrowableTruncationTest 6 0 0 0 100% 0.001

de.smartics.exceptions.id.code

Class Tests Errors Failures Skipped Success Rate Time
NumberCodeInfoTest 4 0 0 0 100% 0.001
TwoNumberCodeInfoTest 4 0 0 0 100% 0.008

Test Cases

[Summary] [Package List] [Test Cases]

DefaultCodeComparatorTest

testBothNull 0.009
testLargerSecondValue 0.009
testSmallerSecondValue 0
testSecondNull 0.001
testFirstNull 0
testEquals 0

NumberCodeComparatorTest

testBothNull 0
testLargerSecondValue 0
testSmallerSecondValue 0
testSecondNull 0
testFirstNull 0
testEquals 0.001

SystemDefaultExceptionContextTest

testConstructor 0.062

CoreExceptionTest

testCreationWithNotNullMessage 0.107
testSerial 0.018
testCreationWithNullMessage 0.001

CoreRuntimeExceptionTest

testCreationWithNullCode 0.002
testCreationWithCodeOnly 0.002
testCreationWithNotNullMessage 0.001
testCreationWithCauseAndCode 0.001
testSerial 0.005
testCreationWithNullMessage 0.002

HelperDetermineParentIdTest

testCoreException 0
testClassicExceptionWithCause 0.001
testNull 0
testRootCauseCoreException 0.001
testSeveralStepsRootCauseCoreException 0.001
testRootCauseCoreExceptionWithCauses 0.001
testClassicException 0

NumberCodeInfoTest

testConstructionComponentIdMajorMinorNumber 0
testConstructionMajorNumberNull 0
testConstructionMajorNumber 0.001
testConstructionComponentIdMajorNumber 0

TwoNumberCodeInfoTest

testConstructionComponentIdMajorMinorNumber 0.007
testConstructionMajorNumberNull 0
testConstructionMajorNumber 0
testConstructionComponentIdMajorNumber 0.001

IncrementFactoryTest

testConstructorStartsWithSpecifiedStartValue 0.01
testDefaultConstructorContinuesWith2 0
testConstructorWithIllegalStartValueSmallerThanZero 0.001
testDefaultConstructorStartsWith1 0
testConstructorWithIllegalStartValueOfZero 0
testOverflow 0.007
testOverflowSecondCreateCall 0

LongExceptionIdTest

testEqualsOtherClass 0
testEqualsFalse 0
testEqualsIdentity 0
testToString 0
testConstruction 0
testEqualsNull 0
testEqualsTrue 0
testHashCode 0

UuidExceptionIdTest

testEqualsOtherClass 0
testEqualsFalse 0
testEqualsIdentity 0.001
testToString 0
testConstruction 0
testEqualsNull 0
testEqualsTrue 0
testHashCode 0

NormalThrowableTruncationTest

testTruncateExternalExceptionDepth1 0.001
testTruncateExternalExceptionDepth2 0.001
testTruncateExternalExceptionDepth3 0
testTruncateFrameworkException 0.001
testRuntimeTruncateNull 0
testTruncateNull 0.001

ExceptionContextManagerTest

testGetDefaultContext 0

ExceptionsContextManagerTest

testGetFactory 0.004

TruncateAllThrowableTruncationTest

testTruncateExternalExceptionDepth1 0
testTruncateExternalExceptionDepth2 0.001
testTruncateExternalExceptionDepth3 0.001
testTruncateFrameworkException 0
testRuntimeTruncateNull 0.001
testTruncateNull 0

TruncateExternalThrowableTruncationTest

testTruncateExternalExceptionDepth1 0.001
testTruncateExternalExceptionDepth2 0
testTruncateExternalExceptionDepth3 0
testTruncateFrameworkException 0
testRuntimeTruncateNull 0
testTruncateNull 0