commit | fec8c4f5123d557eb3b0cfd238e0ecc673bb6840 | [log] [tgz] |
---|---|---|
author | peteg <peteg@google.com> | Thu Mar 14 13:03:55 2019 -0700 |
committer | Ron Shapiro <shapiro.rd@gmail.com> | Tue Apr 02 10:07:20 2019 -0400 |
tree | 87f1d51d79bd4e64e62a2c6224e6be7adbbb1c29 | |
parent | 8bd19b47f8c49c57de3c8481c795ac588a3d20a7 [diff] |
Change all Correspondence instances within Truth to use the new factory methods. These aren't as neat as they would be if we were able to use lambdas and method references, but it still seems like a good idea to follow best practice ourselves in case anyone is watching, and we can leave comments showing what it would look like if we could (and perhaps one day we will be able to, which will be trivial with these comments in place). RELNOTES=n/a ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=238501804
Truth makes your test assertions and failure messages more readable. Similar to AssertJ, it natively supports many JDK and Guava types, and it is extensible to others.
Truth is owned and maintained by the Guava team. It is used from the majority of the tests in Google’s own codebase.
Read more at the main website.