Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Start work on handling exceptions thrown by Correspondence.compare.
This CL: - Documents the agreed policy in the javadoc for Correspondence.compare. - Adds a package-private helper mechanism to make the policy easier to implement. - Implements the policy for IterableSubject's containsExactly, containsExactlyElementsIn, containsAllOf, and containsAllIn. Implementing the policy for the other assertions is TBD. (We can get away with defining the policy but not fully implementing it since the other assertions will continue to throw any exceptions they encounter, which meets the "must fail" requirement. They're just missing the nicer behaviour which is only a convention, not a rule.) RELNOTES=n/a ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=225990394
- Loading branch information
1 parent
17d39f5
commit ad84f50
Showing
7 changed files
with
454 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.