From abe8ecf4ac4e036a408cd949138f002f7faabc4f Mon Sep 17 00:00:00 2001 From: Michal Bendowski Date: Mon, 28 Sep 2015 11:21:18 +0100 Subject: Fix dependencies block in "Building Local Unit Tests" Change-Id: I47c10cd7013bfacc8285d21fcae35c2a77621fcc --- docs/html/training/testing/unit-testing/local-unit-tests.jd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/html/training/testing/unit-testing/local-unit-tests.jd b/docs/html/training/testing/unit-testing/local-unit-tests.jd index 421709beaacc..caebe4505620 100644 --- a/docs/html/training/testing/unit-testing/local-unit-tests.jd +++ b/docs/html/training/testing/unit-testing/local-unit-tests.jd @@ -72,7 +72,7 @@ dependencies { // Set this dependency if you want to use Mockito testCompile 'org.mockito:mockito-core:1.10.19' // Set this dependency if you want to use Hamcrest matching - androidTestCompile 'org.hamcrest:hamcrest-library:1.1' + testCompile 'org.hamcrest:hamcrest-library:1.1' } @@ -299,4 +299,4 @@ command with the {@code --continue} option.

If there are failing tests, the command will display links to HTML reports (one per build variant). You can find the generated HTML test result reports in the {@code <path_to_your_project>/app/build/reports/tests/} directory, and the corresponding XML -files in the {@code <path_to_your_project>/app/build/test-results/} directory.

\ No newline at end of file +files in the {@code <path_to_your_project>/app/build/test-results/} directory.

-- cgit v1.2.3-59-g8ed1b