commit | 9599ee2623bb76c0c7f840ba8bfd92a6ecf74390 | [log] [tgz] |
---|---|---|
author | Paul Duffin <paulduffin@google.com> | Wed Jan 25 11:43:10 2017 +0000 |
committer | Paul Duffin <paulduffin@google.com> | Wed Feb 22 11:21:10 2017 +0000 |
tree | 873cd708d3c6fb36684c53bc506ff3940c3ec3f0 | |
parent | 32dc498f7b8622c59d4b77117eb971ed0a553be5 [diff] |
Temporarily add void is(Class) to cause compile time errors The is(Class) method was removed upstream between Hamcrest 1.1 and 1.3 in favour of the instanceOf(Class) method. Unfortunately, existing usages of it could still compile against the is(Object) method instead. Although not every existing usage would compile successfully it is possible that some could and that would result in a change in the runtime behavior that could be difficult to detect and fix. This change aims to turn any significant usage of this method into a compile time error. Bug: 30946317 Test: make checkbuild Change-Id: I48d1c80fb9faae4e4c490f30c9fe0275fd66a58b
Licensed under BSD License.
Hamcrest is a library of matchers, which can be combined in to create flexible expressions of intent in tests. They've also been used for other purposes.
You can obtain Hamcrest binaries from maven central, or from [google code downloads][].
For Hamcrest extension projects see the hamcrest extensions page.
Documentation can be found on the Hamcrest site.
If you find an issue with Java Hamcrest, please report it via the GitHub issue tracker, after first checking that it hasn't been raised already.
To build, please read BUILDING.txt
Developers:
Contributors:
Also, thanks to everyone who has worked on DynaMock, nMock, jMock, EasyMock and MiniMock! These libraries inspired Hamcrest.