Skip to content

Commit

Permalink
Merge pull request #2967 from square/jakew/robo/2018-11-18
Browse files Browse the repository at this point in the history
Update Robolectric
  • Loading branch information
swankjesse authored Nov 18, 2018
2 parents 23592bc + 7d8dd16 commit 5d6650a
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
<junit.version>4.12</junit.version>
<assertj.version>1.7.0</assertj.version>
<mockito.version>1.9.5</mockito.version>
<robolectric.version>3.2</robolectric.version>
<robolectric.version>3.8</robolectric.version>
</properties>

<scm>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,10 @@
import static org.assertj.core.api.Assertions.assertThat;
import static org.junit.Assert.fail;
import static org.robolectric.annotation.Config.NEWEST_SDK;
import static org.robolectric.annotation.Config.NONE;

@RunWith(RobolectricTestRunner.class)
@Config(sdk = NEWEST_SDK)
@Config(sdk = NEWEST_SDK, manifest = NONE)
public final class CompletableFutureAndroidTest {
@Rule public final MockWebServer server = new MockWebServer();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,10 @@
import static org.assertj.core.api.Assertions.assertThat;
import static org.junit.Assert.fail;
import static org.robolectric.annotation.Config.NEWEST_SDK;
import static org.robolectric.annotation.Config.NONE;

@RunWith(RobolectricTestRunner.class)
@Config(sdk = NEWEST_SDK)
@Config(sdk = NEWEST_SDK, manifest = NONE)
public final class OptionalConverterFactoryAndroidTest {
interface Service {
@GET("/") Call<Optional<Object>> optional();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,11 @@

import static org.assertj.core.api.Assertions.assertThat;
import static org.robolectric.annotation.Config.NEWEST_SDK;
import static org.robolectric.annotation.Config.NONE;
import static retrofit2.RequestFactoryTest.buildRequest;

@RunWith(RobolectricTestRunner.class)
@Config(sdk = NEWEST_SDK)
@Config(sdk = NEWEST_SDK, manifest = NONE)
@SuppressWarnings({"UnusedParameters", "unused"}) // Parameters inspected reflectively.
public final class RequestFactoryAndroidTest {
@Test public void getWithAndroidUriUrl() {
Expand Down

0 comments on commit 5d6650a

Please sign in to comment.