mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2025-01-13 03:07:32 +01:00
Update robolectric to 4.2.1
This commit is contained in:
parent
93f288b936
commit
b2f79f3283
@ -63,7 +63,7 @@ dependencies {
|
|||||||
implementation 'com.android.support.constraint:constraint-layout:1.1.3'
|
implementation 'com.android.support.constraint:constraint-layout:1.1.3'
|
||||||
testImplementation "junit:junit:4.12"
|
testImplementation "junit:junit:4.12"
|
||||||
testImplementation "org.mockito:mockito-core:1.10.19"
|
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"
|
testImplementation "com.google.code.gson:gson:2.8.5"
|
||||||
|
|
||||||
implementation fileTree(dir: "libs", include: ["*.jar"])
|
implementation fileTree(dir: "libs", include: ["*.jar"])
|
||||||
|
@ -33,7 +33,7 @@ import static org.junit.Assert.assertNotNull;
|
|||||||
* directory.
|
* directory.
|
||||||
*/
|
*/
|
||||||
@RunWith(RobolectricTestRunner.class)
|
@RunWith(RobolectricTestRunner.class)
|
||||||
@Config(constants = BuildConfig.class, sdk = 19)
|
@Config(sdk = 19)
|
||||||
// need sdk 19 because "WITHOUT ROWID" is not supported in robolectric/sqlite4java
|
// need sdk 19 because "WITHOUT ROWID" is not supported in robolectric/sqlite4java
|
||||||
public abstract class TestBase {
|
public abstract class TestBase {
|
||||||
protected static File logFilesDir;
|
protected static File logFilesDir;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user