commit | cba0103a4a8954d3d3093f2e4e9f5ca476ee2703 | [log] [tgz] |
---|---|---|
author | cpovirk <cpovirk@google.com> | Fri Jan 05 07:08:33 2018 -0800 |
committer | Chris Povirk <cpovirk@google.com> | Fri Jan 05 07:19:37 2018 -0800 |
tree | 113cff29b46e50d67f9072a58b3ea9b494f01ad4 | |
parent | fd46e4d0d91e97e04660ae627b561fd1a4e3f162 [diff] |
Stop using `foo.super(...)` because javac9 generates Objects.requireNonNull() calls for it. That method isn't available under old versions of Android. Thankfully, the calls are caught by Animal Sniffer. Internally, Bazel eliminates these when targeting Android. Another reason to build with Bazel someday? This appears to be the last blocker for running the Maven tests for Truth under Java 9 (whether internally through TAP or "normally" externally). RELNOTES=n/a ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=180923312
Truth is an assertion framework for Java tests, inspired by FEST, and driven by some extensibility needs, written nearly entirely by Google employees in their spare time or contributing in their capacity as Java core librarians.
Truth can be used in place of JUnit‘s assertions, FEST, or Hamcrest’s matchers, or it can be used alongside where other approaches seem more suitable.
The full documentation for Truth is available at its main website
Truth is licensed under the open-source Apache 2.0 license.
Please see the guidelines for contributing before creating pull requests.
Thanks to Github and Travis-CI for having a strong commitment to open-source, and providing us with tools so we can provide others with code. And thanks to Google for Guava, for taking on the Truth project and making it part of their core-libraries effort, and for encouraging us to try to solve problems in better ways and share that with the world.
Also thanks to the authors of JUnit, TestNG, Hamcrest, FEST, and others for creating testing tools that let us write high-quality code, for inspiring this work and for moving the ball forward in the field of automated software testing. This project works with, works alongside, and sometimes works in competition with the above tools, but owes a debt that everyone owes to those gone before. They paved the way, and we hope this contribution is helpful to the field.