Fork me on GitHub

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
93 0 0 0 100% 0.598

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
com.spotify.futures 93 0 0 0 100% 0.598

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

com.spotify.futures

Class Tests Errors Failures Skipped Success Rate Time
FunctionsTest 8 0 0 0 100% 0.146
ConcurrencyReducerTest 11 0 0 0 100% 0.051
CompletableFuturesTest 74 0 0 0 100% 0.401

Test Cases

[Summary] [Package List] [Test Cases]

FunctionsTest

function6_andThen 0.107
function3_andThen 0.002
function5_andThen 0.004
function6_andThenNull 0.007
function5_andThenNull 0.001
function4_andThenNull 0.001
function3_andThenNull 0.001
function4_andThen 0.002

ConcurrencyReducerTest

testTooLowConcurrency 0.003
testJobReturnsNull 0.013
testQueueSize 0.002
testLongRunning 0.003
testCancellation 0.001
testQueueSizeCounter 0
testJobReturnsFailure 0
testSimple 0.003
testJobThrows 0.001
testNullJob 0
testTooLowQueueSize 0.001

CompletableFuturesTest

combineFutures2_exceptional 0.009
combine2_exceptional 0.001
handleCompose_failure 0.001
exceptionallyCompose_returnsNull 0.001
getException_returnsNullIfImplementationDoesNotThrow 0
combine3_completed 0.005
poll_taskThrows 0.006
poll_notRunningAfterCancel 0.001
joinList_mixedValueTypes 0.012
joinList_containsNull 0
allAsList_multiple 0.002
getException_pending 0
joinList_empty 0.002
allAsList_containsNull 0
poll_resultFutureCanceled 0.26
combine5_completed 0.002
getException_completedNormally 0
combineFutures2_completed 0.002
exceptionallyCompletedFuture_null 0
getException_completedExceptionally 0
exceptionallyCompose_complete 0
poll_taskReturnsNull 0.002
dereference_exceptional 0
poll_scheduled 0.001
combineFutures4_completed 0.002
poll_twice 0.001
poll_done 0.001
joinList_one 0.001
joinList_two 0
combine2_completed 0.001
combine4_incomplete 0.002
ctor_preventInstantiation 0.021
combineFutures6_completed 0.003
combine5_incomplete 0.001
joinList_exceptional 0
combine6_incomplete 0.002
exceptionallyCompletedFuture_throws 0
dereference_null 0.001
allAsList_exceptional 0
combine4_completed 0.001
allAsList_null 0
getCompleted_pending 0
combineFutures2_incomplete 0.001
successfulAsList_exceptionalAndNull 0.001
dereference_completed 0.001
combineFutures6_exceptional 0.001
combineFutures3_incomplete 0.001
combine6_exceptional 0.001
handleCompose_completed 0.001
combineFutures4_incomplete 0.001
exceptionallyCompletedFuture_completed 0
getCompleted_nilResult 0
getCompleted_done 0
combineFutures5_incomplete 0.006
combineFutures5_exceptional 0.001
getCompleted_exceptional 0
combine5_exceptional 0.001
combine6_completed 0.002
combineFutures3_completed 0
combineFutures6_incomplete 0.001
combineFutures4_exceptional 0.001
getException_cancelled 0
combine4_exceptional 0.001
allAsList_one 0
joinList_mixedStageTypes 0.001
allAsList_empty 0
exceptionallyCompose_exceptional 0.001
exceptionallyCompose_throws 0.001
combineFutures3_exceptional 0.001
handleCompose_returnsNull 0.001
exceptionallyCompose_unused 0.001
combine3_exceptional 0.001
combineFutures5_completed 0.001
handleCompose_throws 0.001