Upgrade JUnit to 4.11 again

Change I4359067a downgraded JUnit to 4.10 because the index tests
for gerrit-review's backend use some of the basic testing library
in Gerrit and was unable to upgrade to JUnit 4.11.

According to Dave Borowitz's comment on [1], it is now possible to
upgrade to JUnit 4.11 again.

JUnit used to come bundled with hamcrest, but this is no longer the
case starting with 4.11, so we need to expose the hamcrest as well,
because some of the acceptance tests rely on hamcrest being exposed
via the JUnit dependency.

This reverts commit 29c7028495.

[1] https://gerrit-review.googlesource.com/#/c/68551/

Change-Id: I7f501f4b6a8f600f372f5ee62f0713170bc474fb
This commit is contained in:
Stefan Beller 2015-06-10 13:55:58 -07:00 committed by David Pursehouse
parent 5a3c36da57
commit 6efebfcad8

View File

@ -172,10 +172,10 @@ maven_jar(
maven_jar(
name = 'junit',
id = 'junit:junit:4.10',
sha1 = 'e4f1766ce7404a08f45d859fb9c226fc9e41a861',
id = 'junit:junit:4.11',
sha1 = '4e031bb61df09069aeb2bffb4019e7a5034a4ee0',
license = 'DO_NOT_DISTRIBUTE',
deps = [':hamcrest-core'],
exported_deps = [':hamcrest-core'],
)
maven_jar(