259 |
|
assertEquals(g.getNumberOfDependents(), 0); |
260 |
|
} |
261 |
|
|
262 |
– |
|
262 |
|
/** |
263 |
|
* toString indicates current completion state |
264 |
|
*/ |
373 |
|
} |
374 |
|
} |
375 |
|
|
377 |
– |
|
376 |
|
/** |
377 |
|
* exceptionally action completes with function value on source |
378 |
|
* exception; otherwise with source value |
661 |
|
checkCompletedWithWrappedCancellationException(g); |
662 |
|
} |
663 |
|
|
666 |
– |
|
664 |
|
/** |
665 |
|
* thenCombine result completes normally after normal completion |
666 |
|
* of sources |
1168 |
|
checkCompletedWithWrappedCancellationException(g); |
1169 |
|
} |
1170 |
|
|
1174 |
– |
|
1171 |
|
/** |
1172 |
|
* runAfterEither result completes normally after normal completion |
1173 |
|
* of either source |
1316 |
|
checkCompletedWithWrappedCancellationException(g); |
1317 |
|
} |
1318 |
|
|
1323 |
– |
|
1319 |
|
// asyncs |
1320 |
|
|
1321 |
|
/** |
2083 |
|
checkCompletedWithWrappedCancellationException(g); |
2084 |
|
} |
2085 |
|
|
2091 |
– |
|
2086 |
|
// async with explicit executors |
2087 |
|
|
2088 |
|
/** |
3175 |
|
checkCompletedWithWrappedCFException(g); |
3176 |
|
} |
3177 |
|
|
3184 |
– |
|
3178 |
|
/** |
3179 |
|
* handleAsync action completes normally with function value on |
3180 |
|
* either normal or exceptional completion of source |