aboutsummaryrefslogtreecommitdiff
path: root/hamcrest-core/src/main/java/org/hamcrest
AgeCommit message (Collapse)Author
2017-02-22Temporarily add void is(Class) to cause compile time errorsPaul Duffin
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
2017-02-22Make it compile in error pronePaul Duffin
Bug: 30946317 Test: make checkbuild Change-Id: If762c67adc8ffd0db9d7ea4dd0e41c5fdb0197f2
2017-02-09Replace org.hamcrest.Factory for backwards compatibilityPaul Duffin
Bug: 30946317 Test: make checkbuild Change-Id: I47a2c30f820a35ceabdcdb3f972b36fd843f7d76
2017-02-09Upgrade to almost 2.0.0.0Paul Duffin
See the README.android for the exact version used and an explanation as to why it was chosen. Bug: 30946317 Test: make checkbuild Change-Id: Icae106f5e4a62d2a34f4cf03506fd63676814c07
2017-02-06Temporarily add void is(Class) to cause compile time errorsPaul Duffin
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: Ib0fac6e944b94ba8f1b5434d64549cc12f20d938
2017-01-20Match upstream file structurePaul Duffin
Bug: 30946317 Test: make checkbuild and run cts CtsTextTestCases Change-Id: I6c1773018f95855eb6599d66f6fb5923c7d48b03