Surefire Report

Summary

[Summary] [Package List] [Test Cases]


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

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.017
de.smartics.exceptions.context 1 0 0 0 100% 0.056
de.smartics.exceptions.id 23 0 0 0 100% 0.009
de.smartics.exceptions.runtime 2 0 0 0 100% 0.002
de.smartics.exceptions 34 0 0 0 100% 0.169
de.smartics.exceptions.id.code 8 0 0 0 100% 0.002

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.016
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.056

de.smartics.exceptions.id

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

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

de.smartics.exceptions

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

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

Test Cases

[Summary] [Package List] [Test Cases]

DefaultCodeComparatorTest

testBothNull 0.008
testLargerSecondValue 0.008
testSmallerSecondValue 0
testSecondNull 0
testFirstNull 0
testEquals 0

NumberCodeComparatorTest

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

SystemDefaultExceptionContextTest

testConstructor 0.056

CoreExceptionTest

testCreationWithNotNullMessage 0.13
testSerial 0.017
testCreationWithNullMessage 0.001

CoreRuntimeExceptionTest

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

HelperDetermineParentIdTest

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

NumberCodeInfoTest

testConstructionComponentIdMajorMinorNumber 0.001
testConstructionMajorNumberNull 0
testConstructionMajorNumber 0
testConstructionComponentIdMajorNumber 0

TwoNumberCodeInfoTest

testConstructionComponentIdMajorMinorNumber 0
testConstructionMajorNumberNull 0
testConstructionMajorNumber 0.001
testConstructionComponentIdMajorNumber 0

IncrementFactoryTest

testConstructorStartsWithSpecifiedStartValue 0.001
testDefaultConstructorContinuesWith2 0
testConstructorWithIllegalStartValueSmallerThanZero 0
testDefaultConstructorStartsWith1 0
testConstructorWithIllegalStartValueOfZero 0
testOverflow 0.006
testOverflowSecondCreateCall 0.001

LongExceptionIdTest

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

UuidExceptionIdTest

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

NormalThrowableTruncationTest

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

ExceptionContextManagerTest

testGetDefaultContext 0

ExceptionsContextManagerTest

testGetFactory 0.002

TruncateAllThrowableTruncationTest

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

TruncateExternalThrowableTruncationTest

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