Commit 8cccbcf4 by ibaker Committed by Andrew Lewis

Migrate DefaultHttpDataSourceTest from Mockito to MockWebServer

PiperOrigin-RevId: 317636681
parent 0ff917ad
...@@ -23,6 +23,7 @@ project.ext { ...@@ -23,6 +23,7 @@ project.ext {
junitVersion = '4.13-rc-2' junitVersion = '4.13-rc-2'
guavaVersion = '27.1-android' guavaVersion = '27.1-android'
mockitoVersion = '2.25.0' mockitoVersion = '2.25.0'
mockWebServerVersion = '3.12.0'
robolectricVersion = '4.4-SNAPSHOT' robolectricVersion = '4.4-SNAPSHOT'
checkerframeworkVersion = '2.5.0' checkerframeworkVersion = '2.5.0'
jsr305Version = '3.0.2' jsr305Version = '3.0.2'
......
...@@ -66,6 +66,7 @@ dependencies { ...@@ -66,6 +66,7 @@ dependencies {
exclude module: modulePrefix.substring(1) + 'library-core' exclude module: modulePrefix.substring(1) + 'library-core'
} }
testImplementation 'com.google.guava:guava:' + guavaVersion testImplementation 'com.google.guava:guava:' + guavaVersion
testImplementation 'com.squareup.okhttp3:mockwebserver:' + mockWebServerVersion
testImplementation 'org.robolectric:robolectric:' + robolectricVersion testImplementation 'org.robolectric:robolectric:' + robolectricVersion
testImplementation project(modulePrefix + 'testutils') testImplementation project(modulePrefix + 'testutils')
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment