Surefire Report

Summary

[Summary] [Package List] [Test Cases]


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

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
de.smartics.util.test.matcher.io 11 0 0 0 100% 0.131
de.smartics.util.test.theories 31 0 0 0 100% 0.257

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

de.smartics.util.test.matcher.io

Class Tests Errors Failures Skipped Success Rate Time
ReadsEqualContentTest 5 0 0 0 100% 0.012
StreamsEqualContentTest 6 0 0 0 100% 0.119

de.smartics.util.test.theories

Class Tests Errors Failures Skipped Success Rate Time
CompareToTheoryExceptionFailTest 3 0 0 0 100% 0.023
CompareToTheoryExceptionTest 3 0 0 0 100% 0.037
CompareToTheoryTest 3 0 0 0 100% 0.025
ObjectTheoriesHashCodeOptimizedTest 10 0 0 0 100% 0.085
ObjectTheoriesTest 10 0 0 0 100% 0.073
SerializationTheoryWithEqualsCheckTest 1 0 0 0 100% 0.011
SerializationTheoryWithoutEqualsTest 1 0 0 0 100% 0.003

Test Cases

[Summary] [Package List] [Test Cases]

FileTestUtilsTest

readsResourceFromClassPathRelativeToClassPathRoot 0
readsRelativeResourceFromClassPathRelativeToClass 0

ReadsEqualContentTest

matchesAsciiContent 0.007
matchesLatin1Content 0.001
matchesContentWithString 0
matchesContentWithStream 0.001
recognizesFailedMatch 0.003

StreamsEqualContentTest

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

CompareToTheoryExceptionFailTest

compareToIsSymmetric 0.014
compareToIsTransitive 0.006
compareToIsConsistentToEquals 0.003

CompareToTheoryExceptionTest

compareToIsSymmetric 0.009
compareToIsTransitive 0.024
compareToIsConsistentToEquals 0.004

CompareToTheoryTest

compareToIsSymmetric 0.006
compareToIsTransitive 0.014
compareToIsConsistentToEquals 0.005

ObjectTheoriesHashCodeOptimizedTest

equalsIsReflexive 0.003
equalsIsSymmetric 0.008
equalsIsTransitive 0.035
equalsIsConsistent 0.008
equalsReturnFalseOnNull 0.004
equalsReturnFalseOnInstanceOfOtherType 0.003
hashCodeIsConsistent 0.003
hashCodeIsConsistentWithEquals 0.011
hashCodeProducesUnequalHashCodesForUnequalInstances 0.008
toStringRunsWithoutFailure 0.002

ObjectTheoriesTest

equalsIsReflexive 0.003
equalsIsSymmetric 0.007
equalsIsTransitive 0.022
equalsIsConsistent 0.007
equalsReturnFalseOnNull 0.003
equalsReturnFalseOnInstanceOfOtherType 0.002
hashCodeIsConsistent 0.003
hashCodeIsConsistentWithEquals 0.01
hashCodeProducesUnequalHashCodesForUnequalInstances 0.013
toStringRunsWithoutFailure 0.003

SerializationTheoryWithEqualsCheckTest

isSerializable 0.011

SerializationTheoryWithoutEqualsTest

isSerializable 0.003