commit | 636faf695092cff67b7f4d4b3ca737a3a44350eb | [log] [tgz] |
---|---|---|
author | Yiming Pan <yimingpan@google.com> | Fri Apr 05 07:28:29 2024 +0000 |
committer | Yiming Pan <yimingpan@google.com> | Mon Apr 08 07:43:46 2024 +0000 |
tree | 20fc4a42f3e1b8f013e6c8e3a0d6b54a66c6bdb1 | |
parent | 6f762844ed2bd7a4fb2e43f0ca74ff7f02c67426 [diff] |
Create a build rule for Proto Truth. Proto Truth is used in AOSP/3028380. It makes comparing two Protos much easier. Bug: 331294167 Test: mmm -j external/truth/:truth-proto-extension Change-Id: Ie08f358e935212a8d9e61befd036ddf1d01dae58
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 in the majority of the tests in Google’s own codebase.
Read more at the main website.