Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
44 0 0 0 100% 0.34

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.util.test.io 2 0 0 0 100% 0.011
de.smartics.util.test.matcher.io 11 0 0 0 100% 0.12
de.smartics.util.test.theories 31 0 0 0 100% 0.209

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

de.smartics.util.test.io

Class Tests Errors Failures Skipped Success Rate Time
FileTestUtilsTest 2 0 0 0 100% 0.011

de.smartics.util.test.matcher.io

Class Tests Errors Failures Skipped Success Rate Time
ReadsEqualContentTest 5 0 0 0 100% 0.009
StreamsEqualContentTest 6 0 0 0 100% 0.111

de.smartics.util.test.theories

Class Tests Errors Failures Skipped Success Rate Time
CompareToTheoryExceptionFailTest 3 0 0 0 100% 0.027
CompareToTheoryExceptionTest 3 0 0 0 100% 0.025
CompareToTheoryTest 3 0 0 0 100% 0.022
ObjectTheoriesHashCodeOptimizedTest 10 0 0 0 100% 0.066
ObjectTheoriesTest 10 0 0 0 100% 0.059
SerializationTheoryWithEqualsCheckTest 1 0 0 0 100% 0.008
SerializationTheoryWithoutEqualsTest 1 0 0 0 100% 0.002

Test Cases

[Summary] [Package List] [Test Cases]

FileTestUtilsTest

readsResourceFromClassPathRelativeToClassPathRoot 0.01
readsRelativeResourceFromClassPathRelativeToClass 0.001

ReadsEqualContentTest

matchesAsciiContent 0.006
matchesLatin1Content 0
matchesContentWithString 0.001
matchesContentWithStream 0
recognizesFailedMatch 0.002

StreamsEqualContentTest

matchesAsciiContent 0.001
matchesLatin1Content 0
matchesContentWithString 0
recognizesFailedMatch 0
matchesContentWithinAJarFile 0.001
matchesIfUsedWithPassedArgument 0.109

CompareToTheoryExceptionFailTest

compareToIsSymmetric 0.015
compareToIsTransitive 0.008
compareToIsConsistentToEquals 0.004

CompareToTheoryExceptionTest

compareToIsSymmetric 0.001
compareToIsTransitive 0.02
compareToIsConsistentToEquals 0.004

CompareToTheoryTest

compareToIsSymmetric 0.005
compareToIsTransitive 0.013
compareToIsConsistentToEquals 0.004

ObjectTheoriesHashCodeOptimizedTest

equalsIsReflexive 0.003
equalsIsSymmetric 0.007
equalsIsTransitive 0.024
equalsIsConsistent 0.007
equalsReturnFalseOnNull 0.003
equalsReturnFalseOnInstanceOfOtherType 0.003
hashCodeIsConsistent 0.003
hashCodeIsConsistentWithEquals 0.007
hashCodeProducesUnequalHashCodesForUnequalInstances 0.007
toStringRunsWithoutFailure 0.002

ObjectTheoriesTest

equalsIsReflexive 0.002
equalsIsSymmetric 0.007
equalsIsTransitive 0.02
equalsIsConsistent 0.008
equalsReturnFalseOnNull 0.002
equalsReturnFalseOnInstanceOfOtherType 0.002
hashCodeIsConsistent 0.003
hashCodeIsConsistentWithEquals 0.006
hashCodeProducesUnequalHashCodesForUnequalInstances 0.007
toStringRunsWithoutFailure 0.002

SerializationTheoryWithEqualsCheckTest

isSerializable 0.008

SerializationTheoryWithoutEqualsTest

isSerializable 0.002