From 4528bbf05f2a3c91f1be004a07057e8f0d3cea31 Mon Sep 17 00:00:00 2001 From: cketti Date: Thu, 8 Mar 2018 22:43:28 +0100 Subject: [PATCH] Update test dependencies --- ckChangeLog-core/build.gradle | 4 ++-- .../test/java/de/cketti/library/changelog/ChangeLogTest.java | 1 - .../cketti/library/changelog/MergedChangeLogProviderTest.java | 1 - .../test/java/de/cketti/library/changelog/XmlParserTest.java | 1 - 4 files changed, 2 insertions(+), 5 deletions(-) diff --git a/ckChangeLog-core/build.gradle b/ckChangeLog-core/build.gradle index 609bd40..a51a8a4 100644 --- a/ckChangeLog-core/build.gradle +++ b/ckChangeLog-core/build.gradle @@ -15,9 +15,9 @@ android { dependencies { implementation 'com.android.support:support-annotations:27.1.0' - testImplementation 'org.robolectric:robolectric:3.1.4' + testImplementation 'org.robolectric:robolectric:3.7.1' testImplementation 'junit:junit:4.12' - testImplementation 'org.mockito:mockito-core:1.10.19' + testImplementation 'org.mockito:mockito-core:2.8.9' } project.ext.pom = rootProject.pom diff --git a/ckChangeLog-core/src/test/java/de/cketti/library/changelog/ChangeLogTest.java b/ckChangeLog-core/src/test/java/de/cketti/library/changelog/ChangeLogTest.java index 3508f52..0445b0b 100644 --- a/ckChangeLog-core/src/test/java/de/cketti/library/changelog/ChangeLogTest.java +++ b/ckChangeLog-core/src/test/java/de/cketti/library/changelog/ChangeLogTest.java @@ -27,7 +27,6 @@ @RunWith(RobolectricTestRunner.class) -@Config(constants = BuildConfig.class, sdk = 23) public class ChangeLogTest { private static final int APP_VERSION_CODE = 3; private static final String APP_VERSION_NAME = "1.2"; diff --git a/ckChangeLog-core/src/test/java/de/cketti/library/changelog/MergedChangeLogProviderTest.java b/ckChangeLog-core/src/test/java/de/cketti/library/changelog/MergedChangeLogProviderTest.java index 80d0d35..f605a8b 100644 --- a/ckChangeLog-core/src/test/java/de/cketti/library/changelog/MergedChangeLogProviderTest.java +++ b/ckChangeLog-core/src/test/java/de/cketti/library/changelog/MergedChangeLogProviderTest.java @@ -16,7 +16,6 @@ @RunWith(RobolectricTestRunner.class) -@Config(constants = BuildConfig.class, sdk = 23) public class MergedChangeLogProviderTest { @Test public void getChangeLog_shouldReturnMergedChangeLog() throws Exception { diff --git a/ckChangeLog-core/src/test/java/de/cketti/library/changelog/XmlParserTest.java b/ckChangeLog-core/src/test/java/de/cketti/library/changelog/XmlParserTest.java index e859b58..7b7aa30 100644 --- a/ckChangeLog-core/src/test/java/de/cketti/library/changelog/XmlParserTest.java +++ b/ckChangeLog-core/src/test/java/de/cketti/library/changelog/XmlParserTest.java @@ -19,7 +19,6 @@ @RunWith(RobolectricTestRunner.class) -@Config(constants = BuildConfig.class, sdk = 23) public class XmlParserTest { @Test public void parse_withEmptyChangeLog() throws Exception {