Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
202 0 0 0 100% 0.506

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
io.earcam.unexceptional 202 0 0 0 100% 0.506

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

io.earcam.unexceptional

Class Tests Errors Failures Skipped Success Rate Time
EmeticStreamTest 33 0 0 0 100% 0.056
CheckedRunnableTest 5 0 0 0 100% 0.013
CheckedConsumerTest 5 0 0 0 100% 0.002
CheckedBiConsumerTest 3 0 0 0 100% 0.066
CheckedFunctionTest 4 0 0 0 100% 0.001
CheckedComparatorTest 5 0 0 0 100% 0.021
ClosingTest 30 0 0 0 100% 0.036
CheckedPredicateTest 13 0 0 0 100% 0.058
UncheckedExceptionTest 3 0 0 0 100% 0
CheckedBinaryOperatorTest 9 0 0 0 100% 0.006
CheckedBiFunctionTest 2 0 0 0 100% 0.016
ExceptionalTest 2 0 0 0 100% 0.146
ExceptionalTest$Rethrow 2 0 0 0 100% 0.004
ExceptionalTest$ForEach 4 0 0 0 100% 0.006
ExceptionalTest$Handler 4 0 0 0 100% 0.002
ExceptionalTest$Earl 8 0 0 0 100% 0.012
ExceptionalTest$Interrupt 5 0 0 0 100% 0.003
ExceptionalTest$Unwrapped 10 0 0 0 100% 0.014
ExceptionalTest$Functions 38 0 0 0 100% 0.027
ExceptionalTest$Suppliers 3 0 0 0 100% 0.003
ExceptionalTest$Consumers 9 0 0 0 100% 0.006
CheckedIntConsumerTest 5 0 0 0 100% 0.008

Test Cases

[Summary] [Package List] [Test Cases]

EmeticStreamTest

reduceWithIdentity 0.001
spliterator 0.008
givenUnderlyingAlreadyParallelThenReturnsSelf 0.001
givenUnderlyingAlreadySequentialThenReturnsSelf 0
flatMapToDouble 0.005
flatMapToInt 0.002
onClose 0.002
filter 0.001
streamFromASourceThatThrows 0.002
reduce 0.001
flatMap 0.001
forEach 0.001
collects 0.002
anyMatch 0.001
map 0.002
max 0.004
min 0.001
peek 0.001
sort 0.001
close 0
mapToInt 0.001
flatMapToLong 0.003
isParallel 0
unordered 0.001
noneMatch 0
forEachOrdered 0
mapToLong 0.001
collect 0.001
toParallel 0
iterator 0
mapToDouble 0.001
allMatch 0
toSequential 0

CheckedRunnableTest

thrownExceptionTerminatesEarly 0
andThenEagerlyThrowsNullPointerWhenAfterIsNull 0
invokesSequentially 0
isSerializable 0.008
invokesSequentiallyThenThrows 0

CheckedConsumerTest

andThenReturnsAnUncheckedConsumer 0
andThenThrowsFirstExceptionWithoutInvokingSubsequentConsumersAccept 0
andThenInvokesAcceptInOrderWhenLastConsumerThrows 0.001
andThenInvokesAcceptOnBothCheckedConsumer 0
andThenRequiresNonNullCheckedConsumer 0.001

CheckedBiConsumerTest

andThenInvokesSequentially 0.055
andThenEagerlyThrowsNullPointerWhenAfterIsNull 0
andThenShortcircuitsOnFirstCheckedExceptionRaised 0.002

CheckedFunctionTest

andThenAppliesAfter 0
andThenEagerlyThrowsNullPointerWhenAfterIsNull 0
composeAppliesBefore 0
composeEagerlyThrowsNullPointerWhenBeforeIsNull 0

CheckedComparatorTest

thenComparingGreaterThan 0.008
thenComparingEqual 0.002
thenComparingArbitraryAmorphous 0.001
reverse 0.002
thenComparingLessThan 0.001

ClosingTest

closesAfterBiApplying 0.001
closesAfterAccepting 0.001
closesAfterBiAcceptingNull 0
closesAfterBiApplyingThrowsOnConsumption 0
closesAfterCreatingThenBiAccepting 0
closesAfterApplyingThrowsOnConsumption 0
closesAfterAcceptingNull 0.001
closesAfterBiApplyingThrowsOnConsumptionAndOnClose 0.001
autoClosingInvokedImplicitlyByTryWithStatementOnError 0.006
cannotConstructWithoutObjenesis 0
closesAfterBiAcceptingThrowsOnClose 0
closesAfterBiAcceptingThrowsOnConsumption 0
closesAfterBiAcceptingThrowsOnCreate 0.002
closesAfterApplyingNull 0.001
closesAfterApplyingThrowsOnCreate 0.001
autoClosingInstanceAvailable 0.001
closesAfterAcceptingThrowsOnCreate 0.002
closesAfterCreatingThenApplying 0.001
closesAfterBiAcceptingThrowsOnConsumptionAndOnClose 0.001
closesAfterAcceptingThrowsOnConsumptionAndOnClose 0
closesAfterAcceptingThrowsOnConsumption 0.001
closesAfterAcceptingThrowsOnClose 0
closesAfterBiApplyingNull 0
closesAfterCreatingThenAccepting 0.001
closesAfterBiApplyingThrowsOnClose 0.001
autoClosingInvokedImplicitlyByTryWithStatementOnSuccess 0
closesAfterApplyingThrowsOnClose 0
closesAfterBiAccepting 0
closesAfterApplying 0
closesAfterApplyingThrowsOnConsumptionAndOnClose 0.001

CheckedPredicateTest

intersectionPredicateIsSerializable 0.019
theNegatedPredicateFromDelmonteSaysNoooooooo 0
andEagerlyThrowsNullPointerWhenOtherIsNull 0.001
orFirstSucceeds 0.012
negatePredicateIsSerializable 0.006
theNegatedPredicateFromDelmonteSaysYes 0.001
unionPredicateIsSerializable 0.007
and 0.001
orEagerlyThrowsNullPointerWhenOtherIsNull 0
andLastFails 0.001
andFirstFails 0.001
orLastSucceeds 0.001
orBothFail 0.001

UncheckedExceptionTest

messageAndCause 0
cause 0
message 0

CheckedBinaryOperatorTest

maxByRequiresNonNull 0
minByReturnsSecondWhenEqual 0
maxBy 0
minBy 0
maxByReturnsSecondWhenEqual 0
maxByReversedToCoverBranching 0
minByArgsReversedToCoverBranching 0
serializableIfComparatorIs 0.001
minByRequiresNonNull 0

CheckedBiFunctionTest

andThenChains 0.001
andThenEagerlyThrowsNullPointerExceptionWhenAfterIsNull 0

ExceptionalTest

cannotConstructWithoutObjenesis 0.011
throwCheckedAsUnchecked 0.001

ExceptionalTest$Rethrow

rethrowDoesNotWrapRuntimeException 0.003
rethrowDoesNotWrapError 0.001

ExceptionalTest$ForEach

iterableForEachThrows 0.002
mapForEach 0.002
mapForEachThrows 0.001
iterableForEach 0.001

ExceptionalTest$Handler

rethrowingUncaughtExceptionHandlerRethrowsWrappedCheckedException 0.001
rethrowingUncaughtExceptionHandlerRethrows 0.001
swallowingUncaughtExceptionHandlerRethrowsErrors 0
swallowingUncaughtExceptionHandlerSwallowsRuntimeExceptions 0

ExceptionalTest$Earl

validUrlToUri 0.005
validUrlString 0.001
validUri 0
validUrl 0.002
invalidUriThrownAsUnchecked 0.001
invalidUrlStringThrownAsUnchecked 0.001
invalidUrlThrownAsUnchecked 0.001
invalidUrlToUri 0.001

ExceptionalTest$Interrupt

throwCheckedResetsInterrupt 0
resetsInterruptException 0.003
doesNotSetInterrupt 0
swallowRethrowsErrors 0
swallowResetsInterruptException 0

ExceptionalTest$Unwrapped

nothingToUnwrapForUncheckedInvocationException 0.002
unUnwrappableWhenIrrelevant 0
unUnwrappableWhenNoCause 0.001
unwrapChain 0.005
unwrapUncheckedException 0
unwrapChainWithCircularReference 0
unwrapCheckedInvocationException 0.002
unwrapUncheckedIOException 0.001
unwrapReflectiveOperationException 0.002
unwrapUndeclaredThrowableException 0.001

ExceptionalTest$Functions

functionThrowsUnchecked 0.001
callableUncheckedThrows 0.001
uncheckedToLongFunctionThrowsError 0.002
uncheckedBinaryOperatorDoesNotThrow 0.002
uncheckedToLongFunctionDoesNotThrow 0.001
nothingIsThrownWhenRunnableExecutesNormally 0
wrapsExceptionFromCheckedRunable 0
wrapsSecurityExceptionFromCheckedRunable 0
uncheckedToIntFunctionThrows 0.001
uncheckedToDoubleFunctionThrows 0.002
callableUncheckedThrowsError 0.001
uncheckedBiFunctionDoesNotThrow 0.001
runnableUncheckedRan 0.001
nothingIsThrownWhenCallableExecutesNormally 0.001
uncheckedToLongFunctionThrows 0.001
uncheckToIntBiFunctionInvoked 0.002
rethrowsRuntimeExceptionFromCallable 0.001
uncheckedBiFunctionThrows 0.001
wrapsIOExceptionFromCallable 0
uncheckedToIntFunctionDoesNotThrow 0
uncheckedFunctionThrows 0
uncheckToIntBiFunctionThrows 0
uncheckedPredicateThrows 0.002
uncheckedToDoubleFunctionThrowsError 0
uncheckToIntBiFunctionThrowsError 0
uncheckedPredicateDoesNotThrow 0.001
functionApplied 0
uncheckedBinaryOperatorThrowsError 0
uncheckedBiFunctionThrowsError 0
uncheckedToIntFunctionThrowsError 0
uncheckedFunctionDoesNotThrow 0.001
runnableUncheckedThrows 0.001
wrapsReflectiveExceptionFromCallable 0.001
uncheckedToDoubleFunctionDoesNotThrow 0.001
uncheckedPredicateThrowsError 0
callableUncheckedCalled 0
uncheckedFunctionThrowsError 0
runnableUncheckedThrowsError 0.001

ExceptionalTest$Suppliers

uncheckedSupplierDoesNotThrow 0.001
uncheckedSupplierThrowsError 0.001
uncheckedSupplierThrows 0.001

ExceptionalTest$Consumers

uncheckedIntConsumerDoesNotThrow 0.001
uncheckedBiConsumerDoesNotThrow 0.002
uncheckedIntConsumerThrowsError 0
uncheckedConsumerDoesNotThrow 0
uncheckedBiConsumerThrowsError 0
uncheckedIntConsumerThrows 0.001
uncheckedBiConsumerThrows 0.001
uncheckedConsumerThrowsError 0.001
uncheckedConsumerThrows 0

CheckedIntConsumerTest

andThenInvokesAcceptOnBothCheckedIntConsumers 0
andThenReturnsAnUncheckedConsumer 0
andThenThrowsFirstExceptionWithoutInvokingSubsequentConsumersAccept 0
andThenInvokesAcceptInOrderWhenLastConsumerThrows 0
andThenRequiresNonNullCheckedConsumer 0.007

Back to top

Version: 1.0.0. Last Published: 2018-07-27.