FutureSubject
Open
P3
type=addition
- Dominant language
- Java
- Stars
- 2.8k
- Forks
- 275
- Avg merge
- 7m
- Merged PRs (30d)
- 4
Description
Someone just commented internally that this would be handy for testing `AbstractFuture`. \[edit: Well, maybe not for that specifically, in light of https://github.com/google/truth/issues/268. But it's useful for plenty of other things.\] Someone else has evidently had the same thought, adding a project-local `FutureSubject` with the following API:
- `isDone`
- `isPending`
- `hasValue(Object)`
- `failedWith(Class)`
- `isFailed`
- `isCancelled`
Contributor guide
Assessment
This issue has not been assessed yet.