From 5cf32903ef61c098cd239d498cd90c46d17da94c Mon Sep 17 00:00:00 2001 From: Aurimas Liutikas Date: Thu, 30 Nov 2017 14:52:43 -0500 Subject: [PATCH] Update to using newer android.support.test libraries. com.android.support.test:runner:1.0.0 com.android.support.test:rules:1.0.0 com.android.support.test.espresso:espresso-core:3.0.0 com.android.support.test.espresso:espresso-contrib:3.0.0 Additionally: - removed the usage of internal espresso apis. - fixed PostMessageTest that was using ServiceTestRule incorrectly. - added workaround to AndroidManifest.xml for test packages that use mockito Test: ./gradlew assembleAndroidTest works Change-Id: I7a512e00844e9caefc5f26928f87c8441fc1289a PiperOrigin-RevId: 177486346 --- build.gradle | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index d6433a9e8..401f234a4 100644 --- a/build.gradle +++ b/build.gradle @@ -22,8 +22,8 @@ ext { targetSdkVersion = 27 supportVersion = '27.0.2' - testRunnerVersion = '0.6-alpha' - espressoVersion = '2.3-alpha' + testRunnerVersion = '1.0.0' + espressoVersion = '3.0.0' // Enforce the use of prebuilt dependencies in all sub-projects. This is // required for the doclava dependency.