1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-06-20 03:50:43 +02:00

Update robolectric to 4.2.1

This commit is contained in:
Andreas Shimokawa 2019-05-25 00:07:21 +02:00
parent 93f288b936
commit b2f79f3283
2 changed files with 2 additions and 2 deletions

View File

@ -63,7 +63,7 @@ dependencies {
implementation 'com.android.support.constraint:constraint-layout:1.1.3'
testImplementation "junit:junit:4.12"
testImplementation "org.mockito:mockito-core:1.10.19"
testImplementation "org.robolectric:robolectric:3.6.1"
testImplementation "org.robolectric:robolectric:4.2.1"
testImplementation "com.google.code.gson:gson:2.8.5"
implementation fileTree(dir: "libs", include: ["*.jar"])

View File

@ -33,7 +33,7 @@ import static org.junit.Assert.assertNotNull;
* directory.
*/
@RunWith(RobolectricTestRunner.class)
@Config(constants = BuildConfig.class, sdk = 19)
@Config(sdk = 19)
// need sdk 19 because "WITHOUT ROWID" is not supported in robolectric/sqlite4java
public abstract class TestBase {
protected static File logFilesDir;