Skip to content

Commit

Permalink
am 2f9a77c: Merge "Migrated from Robolectric 2.2 to 3.0"
Browse files Browse the repository at this point in the history
* commit '2f9a77c9ec313fd09eb831c606069f748213f67c':
  Migrated from Robolectric 2.2 to 3.0
  • Loading branch information
wrkben authored and Android Git Automerger committed Aug 24, 2015
2 parents 2068778 + 2f9a77c commit acf866f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
<dependency>
<groupId>org.robolectric</groupId>
<artifactId>robolectric</artifactId>
<version>2.2</version>
<version>3.0</version>
<scope>test</scope>
</dependency>
<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.robolectric.Robolectric;
import org.robolectric.RuntimeEnvironment;
import org.robolectric.RobolectricTestRunner;

import static org.junit.Assert.*;
Expand All @@ -20,7 +20,7 @@ public class NetworkImageViewTest {

@Before public void setUp() throws Exception {
mMockImageLoader = new MockImageLoader();
mNIV = new NetworkImageView(Robolectric.application);
mNIV = new NetworkImageView(RuntimeEnvironment.application);
}

@Test public void setImageUrl_requestsImage() {
Expand Down

0 comments on commit acf866f

Please sign in to comment.