File tree Expand file tree Collapse file tree 5 files changed +10
-10
lines changed
messaging/src/android/javatests/com/google/firebase/messaging Expand file tree Collapse file tree 5 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 2323import android .content .Context ;
2424import android .content .Intent ;
2525import com .google .firebase .messaging .cpp .MessageWriter ;
26- import com .google .thirdparty .robolectric .GoogleRobolectricTestRunner ;
2726import org .junit .Before ;
2827import org .junit .Test ;
2928import org .junit .runner .RunWith ;
3029import org .mockito .ArgumentCaptor ;
3130import org .mockito .Mock ;
3231import org .mockito .MockitoAnnotations ;
32+ import org .robolectric .RobolectricTestRunner ;
3333
34- @ RunWith (GoogleRobolectricTestRunner .class )
34+ @ RunWith (RobolectricTestRunner .class )
3535public final class MessageForwardingServiceTest {
3636 @ Mock private Context context ;
3737 @ Mock private MessageWriter messageWriter ;
Original file line number Diff line number Diff line change 2323import android .os .Bundle ;
2424import com .google .firebase .messaging .RemoteMessage ;
2525import com .google .firebase .messaging .RemoteMessageUtil ;
26- import com .google .thirdparty .robolectric .GoogleRobolectricTestRunner ;
2726import org .junit .Before ;
2827import org .junit .Test ;
2928import org .junit .runner .RunWith ;
3029import org .mockito .Mock ;
3130import org .mockito .MockitoAnnotations ;
31+ import org .robolectric .RobolectricTestRunner ;
3232
33- @ RunWith (GoogleRobolectricTestRunner .class )
33+ @ RunWith (RobolectricTestRunner .class )
3434public final class ListenerServiceTest {
3535 @ Mock private MessageWriter messageWriter ;
3636
Original file line number Diff line number Diff line change 2424import com .google .common .io .ByteStreams ;
2525import com .google .firebase .messaging .RemoteMessage ;
2626import com .google .firebase .messaging .RemoteMessageUtil ;
27- import com .google .thirdparty .robolectric .GoogleRobolectricTestRunner ;
2827import java .io .FileInputStream ;
2928import java .io .FileOutputStream ;
3029import java .nio .ByteBuffer ;
3736import org .junit .runner .RunWith ;
3837import org .mockito .Mock ;
3938import org .mockito .MockitoAnnotations ;
39+ import org .robolectric .RobolectricTestRunner ;
4040
41- @ RunWith (GoogleRobolectricTestRunner .class )
41+ @ RunWith (RobolectricTestRunner .class )
4242public final class MessageWriterTest {
4343 private static final Path STORAGE_FILE_PATH = Paths .get ("/tmp/" + MessageWriter .STORAGE_FILE );
4444
Original file line number Diff line number Diff line change 11package com.google.firebase.test;
22
33import android.app.Activity;
4- import com.google.thirdparty. robolectric.GoogleRobolectricTestRunner ;
4+ import org. robolectric.RobolectricTestRunner ;
55import org.junit.Assert;
66import org.junit.Test;
77import org.junit.rules.TemporaryFolder;
@@ -10,7 +10,7 @@ import org.robolectric.Robolectric;
1010import org.robolectric.annotation.Config;
1111
1212/** A test wrapper that wraps around native C++ code that calls RUN_ALL_TESTS(). */
13- @RunWith(GoogleRobolectricTestRunner .class)
13+ @RunWith(RobolectricTestRunner .class)
1414@Config(manifest = Config.NONE)
1515public final class $wrapper_name {
1616 @Test
Original file line number Diff line number Diff line change 11package com.google.firebase.test.runner;
22
33import com.google.firebase.test.$activity_name;
4- import com.google.thirdparty.robolectric.GoogleRobolectricTestRunner;
54import org.junit.Assert;
65import org.junit.Test;
76import org.junit.runner.RunWith;
87import org.robolectric.Robolectric;
8+ import org.robolectric.RobolectricTestRunner;
99import org.robolectric.annotation.Config;
1010
1111/** A test wrapper that wraps around native C++ code that calls RUN_ALL_TESTS(). */
12- @RunWith(GoogleRobolectricTestRunner .class)
12+ @RunWith(RobolectricTestRunner .class)
1313@Config(manifest = Config.NONE)
1414public class $wrapper_name {
1515 @Test
You can’t perform that action at this time.
0 commit comments