commit | db5db242941b3308f1a988bcc0cb1185c7f24225 | [log] [tgz] |
---|---|---|
author | cpovirk <cpovirk@google.com> | Mon Aug 02 11:34:34 2021 -0700 |
committer | Google Java Core Libraries <java-libraries-firehose+copybara@google.com> | Mon Aug 02 11:35:11 2021 -0700 |
tree | e203ccad09b2acac778d0b5f8e24b7dcb1391193 | |
parent | 8bd81e1c767bbae13e35c3dab81480265115f433 [diff] |
Build Truth with `-source 8 -target 8`, updating annotations appropriately. This is a small step in the general direction of https://github.com/google/truth/issues/746 While there, improve the documentation of deprecated `LiteProtoSubject.isEqualTo(MessageLite.Builder)` and `isNotEqualTo(MessageLite.Builder)`, and add a TODO about possible future steps. RELNOTES=Truth is now built with `-source 8 -target 8`. This means that it no longer runs under Java 7 VMs. It continues to run under Android, even old versions, for all apps that have [enabled support for Java 8 language features](https://developer.android.com/studio/write/java8-support#supported_features). PiperOrigin-RevId: 388266403
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.