mirror of
https://github.com/nix-community/nix-on-droid-app.git
synced 2025-11-08 19:46:10 +01:00
terminal-emulator: tests: avoid error about methods not being mocked
unitTests.returnDefaultValues = true fixes it. More info: http://g.co/androidstudio/not-mocked
This commit is contained in:
parent
538a1d5cdf
commit
a0298285e3
1 changed files with 4 additions and 0 deletions
|
|
@ -52,6 +52,10 @@ android {
|
||||||
sourceCompatibility JavaVersion.VERSION_1_8
|
sourceCompatibility JavaVersion.VERSION_1_8
|
||||||
targetCompatibility JavaVersion.VERSION_1_8
|
targetCompatibility JavaVersion.VERSION_1_8
|
||||||
}
|
}
|
||||||
|
|
||||||
|
testOptions {
|
||||||
|
unitTests.returnDefaultValues = true
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
tasks.withType(Test) {
|
tasks.withType(Test) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue