commit | ae6ace3f69cce573cc3b3c7558c039e5e270a1ae | [log] [tgz] |
---|---|---|
author | Taha Tesser <tessertaha@gmail.com> | Fri Feb 11 14:05:14 2022 +0200 |
committer | GitHub <noreply@github.com> | Fri Feb 11 04:05:14 2022 -0800 |
tree | 94749dfe8d1664f2a5de122d0787cccf985dfee0 | |
parent | 81464ff6425edf6b798248eb7d182bf790f34ca0 [diff] |
[integration_test] Fix official example for Android (#98162)
diff --git a/packages/integration_test/example/android/app/src/androidTest/java/com/example/e2e_example/EmbedderV1ActivityTest.java b/packages/integration_test/example/android/app/src/androidTest/java/com/example/e2e_example/EmbedderV1ActivityTest.java deleted file mode 100644 index cf63d2f..0000000 --- a/packages/integration_test/example/android/app/src/androidTest/java/com/example/e2e_example/EmbedderV1ActivityTest.java +++ /dev/null
@@ -1,17 +0,0 @@ -// Copyright 2014 The Flutter Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -package com.example.integration_test_example; - -import androidx.test.rule.ActivityTestRule; -import dev.flutter.plugins.integration_test.FlutterTestRunner; -import org.junit.Rule; -import org.junit.runner.RunWith; - -@RunWith(FlutterTestRunner.class) -public class EmbedderV1ActivityTest { - @Rule - public ActivityTestRule<EmbedderV1Activity> rule = - new ActivityTestRule<>(EmbedderV1Activity.class, true, false); -}
diff --git a/packages/integration_test/example/android/app/src/androidTest/java/com/example/e2e_example/FlutterActivityTest.java b/packages/integration_test/example/android/app/src/androidTest/java/com/example/integration_test_example/FlutterActivityTest.java similarity index 100% rename from packages/integration_test/example/android/app/src/androidTest/java/com/example/e2e_example/FlutterActivityTest.java rename to packages/integration_test/example/android/app/src/androidTest/java/com/example/integration_test_example/FlutterActivityTest.java
diff --git a/packages/integration_test/example/android/app/src/androidTest/java/com/example/e2e_example/FlutterActivityWithPermissionTest.java b/packages/integration_test/example/android/app/src/androidTest/java/com/example/integration_test_example/FlutterActivityWithPermissionTest.java similarity index 100% rename from packages/integration_test/example/android/app/src/androidTest/java/com/example/e2e_example/FlutterActivityWithPermissionTest.java rename to packages/integration_test/example/android/app/src/androidTest/java/com/example/integration_test_example/FlutterActivityWithPermissionTest.java