Add initial test and build files for Robolectric unit test suites.
commit88322140efede0360bd1e119ef574cdf78edea39
authormikecase <mikecase@chromium.org>
Fri, 27 Mar 2015 00:46:15 +0000 (26 17:46 -0700)
committerCommit bot <commit-bot@chromium.org>
Fri, 27 Mar 2015 00:47:03 +0000 (27 00:47 +0000)
treeeabe17288dbd3109f8b506d1e4ec96dfce3ae107
parent4c27bf72e93e2649165e0d6a5d7e3e90efe9dc23
Add initial test and build files for Robolectric unit test suites.

Robolectric allows us to run tests that use Android code in the host
JVM. This means faster and more stable tests since we don't have to
deal with a device. This CL has the build file changes to build the
unit test suite, and two example tests that have been converted to
run with Robolectric.

BUG=448030

Review URL: https://codereview.chromium.org/994283006

Cr-Commit-Position: refs/heads/master@{#322512}
chrome/android/BUILD.gn
chrome/android/junit/src/org/chromium/chrome/browser/omaha/ResponseParserTest.java [new file with mode: 0644]
chrome/chrome_tests.gypi
content/content_tests.gypi
content/public/android/BUILD.gn
content/public/android/junit/src/org/chromium/content/browser/input/GamepadMappingsTest.java [new file with mode: 0644]