Skip to content

Commit ebcfdcb

Browse files
xsterEgor
authored andcommitted
[google_maps_flutter] Fix Android unit test. (flutter#2985)
1 parent 0bde668 commit ebcfdcb

File tree

1 file changed

+0
-7
lines changed
  • packages/google_maps_flutter/google_maps_flutter/example/android/app/src/test/java/io/flutter/plugins/googlemaps

1 file changed

+0
-7
lines changed

packages/google_maps_flutter/google_maps_flutter/example/android/app/src/test/java/io/flutter/plugins/googlemaps/GoogleMapControllerTest.java

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,8 @@
99
import androidx.test.core.app.ApplicationProvider;
1010
import com.google.android.gms.maps.GoogleMap;
1111
import io.flutter.plugin.common.BinaryMessenger;
12-
import io.flutter.view.FlutterMain;
1312
import java.util.concurrent.atomic.AtomicInteger;
1413
import org.junit.Before;
15-
import org.junit.BeforeClass;
1614
import org.junit.Test;
1715
import org.junit.runner.RunWith;
1816
import org.mockito.Mock;
@@ -30,11 +28,6 @@ public class GoogleMapControllerTest {
3028
@Mock GoogleMap mockGoogleMap;
3129
@Mock LifecycleOwner lifecycleOwner;
3230

33-
@BeforeClass()
34-
public static void BeforeClass() {
35-
FlutterMain.setIsRunningInRobolectricTest(true);
36-
}
37-
3831
@Before
3932
public void before() {
4033
MockitoAnnotations.initMocks(this);

0 commit comments

Comments
 (0)