Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
111 0 0 0 100% 5.372 s

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
net.dapete.exceptional.stream 10 0 0 0 100% 0.107 s
net.dapete.exceptional 9 0 0 0 100% 0.019 s
net.dapete.exceptional.function 48 0 0 0 100% 4.594 s
net.dapete.exceptional.internal 22 0 0 0 100% 0.361 s
net.dapete.exceptional.wrap 22 0 0 0 100% 0.291 s

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

net.dapete.exceptional.stream

- Class Tests Errors Failures Skipped Success Rate Time
ExDoubleStreamTest 2 0 0 0 100% 0.014 s
ExIntStreamTest 2 0 0 0 100% 0.007 s
ExLongStreamTest 2 0 0 0 100% 0.073 s
ExStreamTest 4 0 0 0 100% 0.013 s

net.dapete.exceptional

- Class Tests Errors Failures Skipped Success Rate Time
ExExceptionTest 9 0 0 0 100% 0.019 s

net.dapete.exceptional.function

- Class Tests Errors Failures Skipped Success Rate Time
AllExFunctionalInterfacesTest 48 0 0 0 100% 4.594 s

net.dapete.exceptional.internal

- Class Tests Errors Failures Skipped Success Rate Time
ExUtilsTest 22 0 0 0 100% 0.361 s

net.dapete.exceptional.wrap

- Class Tests Errors Failures Skipped Success Rate Time
ExUnwrapTest 10 0 0 0 100% 0.092 s
ExUnwrapperTest 6 0 0 0 100% 0.038 s
ExWrapTest 6 0 0 0 100% 0.161 s

Test Cases

[Summary] [Package List] [Test Cases]

ExExceptionTest

constructor 0 s
unwrap 0.002 s
constructor_invalidType 0.002 s
throwIfInstance_throw 0.002 s
throwIfInstance_dontThrow 0.001 s
unwrap_class 0.001 s
unwrap_class2 0.001 s
unwrap_class3 0.001 s
getCause_invalidType 0.003 s

AllExFunctionalInterfacesTest

wrap(Class)[1] 1.766 s
wrap(Class)[2] 0.069 s
wrap(Class)[3] 0.055 s
wrap(Class)[4] 0.068 s
wrap(Class)[5] 0.076 s
wrap(Class)[6] 0.064 s
wrap(Class)[7] 0.070 s
wrap(Class)[8] 0.074 s
wrap(Class)[9] 0.071 s
wrap(Class)[10] 0.076 s
wrap(Class)[11] 0.073 s
wrap(Class)[12] 0.051 s
wrap(Class)[13] 0.044 s
wrap(Class)[14] 0.067 s
wrap(Class)[15] 0.053 s
wrap(Class)[16] 0.061 s
wrap(Class)[17] 0.046 s
wrap(Class)[18] 0.045 s
wrap(Class)[19] 0.064 s
wrap(Class)[20] 0.071 s
wrap(Class)[21] 0.070 s
wrap(Class)[22] 0.082 s
wrap(Class)[23] 0.069 s
wrap(Class)[24] 0.056 s
wrap(Class)[25] 0.056 s
wrap(Class)[26] 0.047 s
wrap(Class)[27] 0.045 s
wrap(Class)[28] 0.045 s
wrap(Class)[29] 0.053 s
wrap(Class)[30] 0.056 s
wrap(Class)[31] 0.047 s
wrap(Class)[32] 0.049 s
wrap(Class)[33] 0.052 s
wrap(Class)[34] 0.049 s
wrap(Class)[35] 0.052 s
wrap(Class)[36] 0.052 s
wrap(Class)[37] 0.051 s
wrap(Class)[38] 0.048 s
wrap(Class)[39] 0.054 s
wrap(Class)[40] 0.050 s
wrap(Class)[41] 0.050 s
wrap(Class)[42] 0.047 s
wrap(Class)[43] 0.057 s
wrap(Class)[44] 0.068 s
wrap(Class)[45] 0.056 s
wrap(Class)[46] 0.050 s
wrap(Class)[47] 0.061 s
numberOfExceptionalFunctionalInterfaces 0.004 s

ExUtilsTest

toRuntimeException_unchanged 0.003 s
setOf3(String, String, String, int)[1] 0.045 s
setOf3(String, String, String, int)[2] 0.002 s
setOf3(String, String, String, int)[3] 0.001 s
setOf3(String, String, String, int)[4] 0.002 s
setOf3(String, String, String, int)[5] 0.001 s
setOf3(String, String, String, int)[6] 0.001 s
setOf3(String, String, String, int)[7] 0.002 s
setOf3(String, String, String, int)[8] 0.002 s
setOf3(String, String, String, int)[9] 0.001 s
setOf3(String, String, String, int)[10] 0.001 s
setOf3(String, String, String, int)[11] 0.002 s
setOf3(String, String, String, int)[12] 0.002 s
setOf3(String, String, String, int)[13] 0.001 s
setOf3(String, String, String, int)[14] 0.001 s
setOf3(String, String, String, int)[15] 0.001 s
setOf3(String, String, String, int)[16] 0.001 s
setOf3(String, String, String, int)[17] 0.002 s
setOf3(String, String, String, int)[18] 0.001 s
throwIfInstance_throw 0.001 s
throwIfInstance_dontThrow 0 s
toRuntimeException_wrapped 0 s

ExDoubleStreamTest

exceptionalMap_noExceptionBeforeEndOperation 0.008 s
exceptionalMap_exception 0.003 s

ExIntStreamTest

map_exception 0.002 s
map_noExceptionBeforeEndOperation 0.002 s

ExLongStreamTest

map_exception 0.059 s
map_noExceptionBeforeEndOperation 0.002 s

ExStreamTest

map_exception 0.004 s
unwrapScope 0.002 s
map_noExceptionBeforeEndOperation 0.002 s
unwrapScopeWrongException 0.002 s

ExUnwrapTest

verifyUnwrapActive_notActive 0.003 s
verifyUnwrapActive_activeForOtherClass 0.001 s
verifyExceptionAllowed_active 0.054 s
verifyExceptionAllowed_activeForSubclass 0.002 s
verifyExceptionAllowed_activeForSuperclass 0.001 s
verifyUnwrapActive_activeForSubclass 0.015 s
verifyExceptionAllowed_notActive 0.002 s
verifyUnwrapActive_activeForSuperclass 0.001 s
verifyExceptionAllowed_activeForOtherClass 0.002 s
verifyUnwrapActive_active 0.001 s

ExUnwrapperTest

unwrap_Runnable_nestedThrowingException 0.009 s
unwrap_class_runnable 0.003 s
unwrap_Supplier_nested 0.003 s
unwrap_Supplier_nestedThrowingException 0.003 s
unwrap_class_supplier 0.002 s
unwrap_Runnable_nested 0.001 s

ExWrapTest

wrap_Runnable 0.086 s
wrap_Supplier_exception 0.009 s
unwrap_runnable 0.011 s
wrap_Runnable_exception 0.002 s
wrap_Supplier 0.002 s
unwrap_supplier 0.006 s