mirror of
https://github.com/nextcloud/android.git
synced 2024-11-26 23:28:42 +03:00
Use android test orchestrator
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
This commit is contained in:
parent
cbf59eb04a
commit
9fce154e99
1 changed files with 3 additions and 0 deletions
|
@ -131,6 +131,7 @@ android {
|
|||
testInstrumentationRunnerArgument "TEST_SERVER_USERNAME", "${NC_TEST_SERVER_USERNAME}"
|
||||
testInstrumentationRunnerArgument "TEST_SERVER_PASSWORD", "${NC_TEST_SERVER_PASSWORD}"
|
||||
testInstrumentationRunnerArguments disableAnalytics: 'true'
|
||||
testInstrumentationRunnerArguments clearPackageData: 'true'
|
||||
|
||||
multiDexEnabled true
|
||||
|
||||
|
@ -184,6 +185,7 @@ android {
|
|||
|
||||
testOptions {
|
||||
unitTests.returnDefaultValues = true
|
||||
execution 'ANDROIDX_TEST_ORCHESTRATOR'
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -358,6 +360,7 @@ dependencies {
|
|||
androidTestImplementation 'androidx.test:rules:1.2.0'
|
||||
// Android JUnit Runner
|
||||
androidTestImplementation 'androidx.test:runner:1.2.0'
|
||||
androidTestUtil 'androidx.test:orchestrator:1.1.0'
|
||||
|
||||
// Espresso core
|
||||
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
|
||||
|
|
Loading…
Reference in a new issue