From b5de24dc24cda942bae6513b45fe3e42b99ea3f5 Mon Sep 17 00:00:00 2001 From: Stuart Morgan Date: Mon, 13 Jul 2026 16:45:04 -0400 Subject: [PATCH 1/6] Mass-convert DartIntegrationTest files to Kotlin --- .../flutter/plugins/DartIntegrationTest.kt} | 15 +++++-------- .../flutter/plugins/DartIntegrationTest.kt} | 15 +++++-------- .../flutter/plugins/DartIntegrationTest.kt} | 15 +++++-------- .../flutter/plugins/DartIntegrationTest.kt} | 15 +++++-------- .../flutter/plugins/DartIntegrationTest.java | 21 ------------------- .../io/flutter/plugins/DartIntegrationTest.kt | 16 ++++++++++++++ .../flutter/plugins/DartIntegrationTest.java | 21 ------------------- .../io/flutter/plugins/DartIntegrationTest.kt | 16 ++++++++++++++ .../flutter/plugins/DartIntegrationTest.java | 21 ------------------- .../io/flutter/plugins/DartIntegrationTest.kt | 16 ++++++++++++++ .../flutter/plugins/DartIntegrationTest.java | 21 ------------------- .../io/flutter/plugins/DartIntegrationTest.kt | 16 ++++++++++++++ .../flutter/plugins/DartIntegrationTest.java | 21 ------------------- .../io/flutter/plugins/DartIntegrationTest.kt | 16 ++++++++++++++ .../flutter/plugins/DartIntegrationTest.java | 21 ------------------- .../io/flutter/plugins/DartIntegrationTest.kt | 16 ++++++++++++++ .../flutter/plugins/DartIntegrationTest.java | 21 ------------------- .../io/flutter/plugins/DartIntegrationTest.kt | 16 ++++++++++++++ .../flutter/plugins/DartIntegrationTest.java | 21 ------------------- .../io/flutter/plugins/DartIntegrationTest.kt | 16 ++++++++++++++ .../flutter/plugins/DartIntegrationTest.java | 21 ------------------- .../io/flutter/plugins/DartIntegrationTest.kt | 16 ++++++++++++++ .../flutter/plugins/DartIntegrationTest.java | 21 ------------------- .../io/flutter/plugins/DartIntegrationTest.kt | 16 ++++++++++++++ .../flutter/plugins/DartIntegrationTest.java | 21 ------------------- .../io/flutter/plugins/DartIntegrationTest.kt | 16 ++++++++++++++ .../flutter/plugins/DartIntegrationTest.java | 21 ------------------- .../io/flutter/plugins/DartIntegrationTest.kt | 16 ++++++++++++++ .../flutter/plugins/DartIntegrationTest.java | 21 ------------------- .../io/flutter/plugins/DartIntegrationTest.kt | 16 ++++++++++++++ .../flutter/plugins/DartIntegrationTest.java | 21 ------------------- .../io/flutter/plugins/DartIntegrationTest.kt | 16 ++++++++++++++ .../flutter/plugins/DartIntegrationTest.java | 21 ------------------- .../io/flutter/plugins/DartIntegrationTest.kt | 16 ++++++++++++++ .../flutter/plugins/DartIntegrationTest.java | 21 ------------------- .../io/flutter/plugins/DartIntegrationTest.kt | 16 ++++++++++++++ .../flutter/plugins/DartIntegrationTest.java | 21 ------------------- .../io/flutter/plugins/DartIntegrationTest.kt | 16 ++++++++++++++ .../flutter/plugins/DartIntegrationTest.java | 21 ------------------- .../io/flutter/plugins/DartIntegrationTest.kt | 16 ++++++++++++++ .../flutter/plugins/DartIntegrationTest.java | 21 ------------------- .../io/flutter/plugins/DartIntegrationTest.kt | 16 ++++++++++++++ .../flutter/plugins/DartIntegrationTest.java | 14 ------------- .../io/flutter/plugins/DartIntegrationTest.kt | 16 ++++++++++++++ .../flutter/plugins/DartIntegrationTest.java | 21 ------------------- .../io/flutter/plugins/DartIntegrationTest.kt | 16 ++++++++++++++ .../flutter/plugins/DartIntegrationTest.java | 21 ------------------- .../io/flutter/plugins/DartIntegrationTest.kt | 16 ++++++++++++++ .../flutter/plugins/DartIntegrationTest.java | 21 ------------------- .../io/flutter/plugins/DartIntegrationTest.kt | 16 ++++++++++++++ .../flutter/plugins/DartIntegrationTest.java | 21 ------------------- .../io/flutter/plugins/DartIntegrationTest.kt | 16 ++++++++++++++ 52 files changed, 404 insertions(+), 537 deletions(-) rename packages/camera/camera/example/android/app/src/androidTest/{java/io/flutter/plugins/DartIntegrationTest.java => kotlin/io/flutter/plugins/DartIntegrationTest.kt} (59%) rename packages/camera/camera_android/example/android/app/src/androidTest/{java/io/flutter/plugins/DartIntegrationTest.java => kotlin/io/flutter/plugins/DartIntegrationTest.kt} (59%) rename packages/camera/camera_android_camerax/example/android/app/src/androidTest/{java/io/flutter/plugins/DartIntegrationTest.java => kotlin/io/flutter/plugins/DartIntegrationTest.kt} (59%) rename packages/espresso/example/android/app/src/androidTest/{java/io/flutter/plugins/DartIntegrationTest.java => kotlin/io/flutter/plugins/DartIntegrationTest.kt} (59%) delete mode 100644 packages/file_selector/file_selector_android/example/android/app/src/main/java/io/flutter/plugins/DartIntegrationTest.java create mode 100644 packages/file_selector/file_selector_android/example/android/app/src/main/kotlin/io/flutter/plugins/DartIntegrationTest.kt delete mode 100644 packages/flutter_plugin_android_lifecycle/example/android/app/src/androidTest/java/io/flutter/plugins/DartIntegrationTest.java create mode 100644 packages/flutter_plugin_android_lifecycle/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt delete mode 100644 packages/google_maps_flutter/google_maps_flutter/example/android/app/src/androidTest/java/io/flutter/plugins/DartIntegrationTest.java create mode 100644 packages/google_maps_flutter/google_maps_flutter/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt delete mode 100644 packages/google_maps_flutter/google_maps_flutter_android/example/android/app/src/androidTest/java/io/flutter/plugins/DartIntegrationTest.java create mode 100644 packages/google_maps_flutter/google_maps_flutter_android/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt delete mode 100644 packages/google_sign_in/google_sign_in/example/android/app/src/androidTest/java/io/flutter/plugins/DartIntegrationTest.java create mode 100644 packages/google_sign_in/google_sign_in/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt delete mode 100644 packages/google_sign_in/google_sign_in_android/example/android/app/src/androidTest/java/io/flutter/plugins/DartIntegrationTest.java create mode 100644 packages/google_sign_in/google_sign_in_android/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt delete mode 100644 packages/image_picker/image_picker/example/android/app/src/androidTest/java/io/flutter/plugins/DartIntegrationTest.java create mode 100644 packages/image_picker/image_picker/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt delete mode 100644 packages/image_picker/image_picker_android/example/android/app/src/androidTest/java/io/flutter/plugins/DartIntegrationTest.java create mode 100644 packages/image_picker/image_picker_android/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt delete mode 100644 packages/in_app_purchase/in_app_purchase/example/android/app/src/androidTest/java/io/flutter/plugins/DartIntegrationTest.java create mode 100644 packages/in_app_purchase/in_app_purchase/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt delete mode 100644 packages/in_app_purchase/in_app_purchase_android/example/android/app/src/androidTest/java/io/flutter/plugins/DartIntegrationTest.java create mode 100644 packages/in_app_purchase/in_app_purchase_android/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt delete mode 100644 packages/local_auth/local_auth/example/android/app/src/androidTest/java/io/flutter/plugins/DartIntegrationTest.java create mode 100644 packages/local_auth/local_auth/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt delete mode 100644 packages/local_auth/local_auth_android/example/android/app/src/androidTest/java/io/flutter/plugins/DartIntegrationTest.java create mode 100644 packages/local_auth/local_auth_android/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt delete mode 100644 packages/path_provider/path_provider/example/android/app/src/androidTest/java/io/flutter/plugins/DartIntegrationTest.java create mode 100644 packages/path_provider/path_provider/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt delete mode 100644 packages/path_provider/path_provider_android/example/android/app/src/androidTest/java/io/flutter/plugins/DartIntegrationTest.java create mode 100644 packages/path_provider/path_provider_android/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt delete mode 100644 packages/quick_actions/quick_actions/example/android/app/src/androidTest/java/io/flutter/plugins/DartIntegrationTest.java create mode 100644 packages/quick_actions/quick_actions/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt delete mode 100644 packages/quick_actions/quick_actions_android/example/android/app/src/androidTest/java/io/flutter/plugins/DartIntegrationTest.java create mode 100644 packages/quick_actions/quick_actions_android/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt delete mode 100644 packages/shared_preferences/shared_preferences/example/android/app/src/androidTest/java/io/flutter/plugins/DartIntegrationTest.java create mode 100644 packages/shared_preferences/shared_preferences/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt delete mode 100644 packages/shared_preferences/shared_preferences_android/example/android/app/src/main/java/io/flutter/plugins/DartIntegrationTest.java create mode 100644 packages/shared_preferences/shared_preferences_android/example/android/app/src/main/kotlin/io/flutter/plugins/DartIntegrationTest.kt delete mode 100644 packages/url_launcher/url_launcher/example/android/app/src/androidTest/java/io/flutter/plugins/DartIntegrationTest.java create mode 100644 packages/url_launcher/url_launcher/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt delete mode 100644 packages/url_launcher/url_launcher_android/example/android/app/src/androidTest/java/io/flutter/plugins/DartIntegrationTest.java create mode 100644 packages/url_launcher/url_launcher_android/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt delete mode 100644 packages/video_player/video_player/example/android/app/src/androidTest/java/io/flutter/plugins/DartIntegrationTest.java create mode 100644 packages/video_player/video_player/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt delete mode 100644 packages/video_player/video_player_android/example/android/app/src/androidTest/java/io/flutter/plugins/DartIntegrationTest.java create mode 100644 packages/video_player/video_player_android/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt delete mode 100644 packages/webview_flutter/webview_flutter/example/android/app/src/androidTest/java/io/flutter/plugins/DartIntegrationTest.java create mode 100644 packages/webview_flutter/webview_flutter/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt delete mode 100644 packages/webview_flutter/webview_flutter_android/example/android/app/src/androidTest/java/io/flutter/plugins/DartIntegrationTest.java create mode 100644 packages/webview_flutter/webview_flutter_android/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt diff --git a/packages/camera/camera/example/android/app/src/androidTest/java/io/flutter/plugins/DartIntegrationTest.java b/packages/camera/camera/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt similarity index 59% rename from packages/camera/camera/example/android/app/src/androidTest/java/io/flutter/plugins/DartIntegrationTest.java rename to packages/camera/camera/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt index bc81811a048e..be4c65af852c 100644 --- a/packages/camera/camera/example/android/app/src/androidTest/java/io/flutter/plugins/DartIntegrationTest.java +++ b/packages/camera/camera/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt @@ -2,20 +2,15 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -package io.flutter.plugins; +package io.flutter.plugins -import java.lang.annotation.ElementType; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.lang.annotation.Target; - -/* +/** * Annotation to aid repository tooling in determining if a test is * a native java unit test or a java class with a dart integration. * * See: https://github.com/flutter/flutter/blob/master/docs/ecosystem/testing/Plugin-Tests.md#enabling-android-ui-tests * for more information. */ -@Retention(RetentionPolicy.RUNTIME) -@Target(ElementType.TYPE) -public @interface DartIntegrationTest {} +@Retention(AnnotationRetention.RUNTIME) +@Target(AnnotationTarget.CLASS) +annotation class DartIntegrationTest diff --git a/packages/camera/camera_android/example/android/app/src/androidTest/java/io/flutter/plugins/DartIntegrationTest.java b/packages/camera/camera_android/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt similarity index 59% rename from packages/camera/camera_android/example/android/app/src/androidTest/java/io/flutter/plugins/DartIntegrationTest.java rename to packages/camera/camera_android/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt index bc81811a048e..be4c65af852c 100644 --- a/packages/camera/camera_android/example/android/app/src/androidTest/java/io/flutter/plugins/DartIntegrationTest.java +++ b/packages/camera/camera_android/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt @@ -2,20 +2,15 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -package io.flutter.plugins; +package io.flutter.plugins -import java.lang.annotation.ElementType; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.lang.annotation.Target; - -/* +/** * Annotation to aid repository tooling in determining if a test is * a native java unit test or a java class with a dart integration. * * See: https://github.com/flutter/flutter/blob/master/docs/ecosystem/testing/Plugin-Tests.md#enabling-android-ui-tests * for more information. */ -@Retention(RetentionPolicy.RUNTIME) -@Target(ElementType.TYPE) -public @interface DartIntegrationTest {} +@Retention(AnnotationRetention.RUNTIME) +@Target(AnnotationTarget.CLASS) +annotation class DartIntegrationTest diff --git a/packages/camera/camera_android_camerax/example/android/app/src/androidTest/java/io/flutter/plugins/DartIntegrationTest.java b/packages/camera/camera_android_camerax/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt similarity index 59% rename from packages/camera/camera_android_camerax/example/android/app/src/androidTest/java/io/flutter/plugins/DartIntegrationTest.java rename to packages/camera/camera_android_camerax/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt index bc81811a048e..be4c65af852c 100644 --- a/packages/camera/camera_android_camerax/example/android/app/src/androidTest/java/io/flutter/plugins/DartIntegrationTest.java +++ b/packages/camera/camera_android_camerax/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt @@ -2,20 +2,15 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -package io.flutter.plugins; +package io.flutter.plugins -import java.lang.annotation.ElementType; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.lang.annotation.Target; - -/* +/** * Annotation to aid repository tooling in determining if a test is * a native java unit test or a java class with a dart integration. * * See: https://github.com/flutter/flutter/blob/master/docs/ecosystem/testing/Plugin-Tests.md#enabling-android-ui-tests * for more information. */ -@Retention(RetentionPolicy.RUNTIME) -@Target(ElementType.TYPE) -public @interface DartIntegrationTest {} +@Retention(AnnotationRetention.RUNTIME) +@Target(AnnotationTarget.CLASS) +annotation class DartIntegrationTest diff --git a/packages/espresso/example/android/app/src/androidTest/java/io/flutter/plugins/DartIntegrationTest.java b/packages/espresso/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt similarity index 59% rename from packages/espresso/example/android/app/src/androidTest/java/io/flutter/plugins/DartIntegrationTest.java rename to packages/espresso/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt index bc81811a048e..be4c65af852c 100644 --- a/packages/espresso/example/android/app/src/androidTest/java/io/flutter/plugins/DartIntegrationTest.java +++ b/packages/espresso/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt @@ -2,20 +2,15 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -package io.flutter.plugins; +package io.flutter.plugins -import java.lang.annotation.ElementType; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.lang.annotation.Target; - -/* +/** * Annotation to aid repository tooling in determining if a test is * a native java unit test or a java class with a dart integration. * * See: https://github.com/flutter/flutter/blob/master/docs/ecosystem/testing/Plugin-Tests.md#enabling-android-ui-tests * for more information. */ -@Retention(RetentionPolicy.RUNTIME) -@Target(ElementType.TYPE) -public @interface DartIntegrationTest {} +@Retention(AnnotationRetention.RUNTIME) +@Target(AnnotationTarget.CLASS) +annotation class DartIntegrationTest diff --git a/packages/file_selector/file_selector_android/example/android/app/src/main/java/io/flutter/plugins/DartIntegrationTest.java b/packages/file_selector/file_selector_android/example/android/app/src/main/java/io/flutter/plugins/DartIntegrationTest.java deleted file mode 100644 index bc81811a048e..000000000000 --- a/packages/file_selector/file_selector_android/example/android/app/src/main/java/io/flutter/plugins/DartIntegrationTest.java +++ /dev/null @@ -1,21 +0,0 @@ -// Copyright 2013 The Flutter Authors -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -package io.flutter.plugins; - -import java.lang.annotation.ElementType; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.lang.annotation.Target; - -/* - * Annotation to aid repository tooling in determining if a test is - * a native java unit test or a java class with a dart integration. - * - * See: https://github.com/flutter/flutter/blob/master/docs/ecosystem/testing/Plugin-Tests.md#enabling-android-ui-tests - * for more information. - */ -@Retention(RetentionPolicy.RUNTIME) -@Target(ElementType.TYPE) -public @interface DartIntegrationTest {} diff --git a/packages/file_selector/file_selector_android/example/android/app/src/main/kotlin/io/flutter/plugins/DartIntegrationTest.kt b/packages/file_selector/file_selector_android/example/android/app/src/main/kotlin/io/flutter/plugins/DartIntegrationTest.kt new file mode 100644 index 000000000000..be4c65af852c --- /dev/null +++ b/packages/file_selector/file_selector_android/example/android/app/src/main/kotlin/io/flutter/plugins/DartIntegrationTest.kt @@ -0,0 +1,16 @@ +// Copyright 2013 The Flutter Authors +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +package io.flutter.plugins + +/** + * Annotation to aid repository tooling in determining if a test is + * a native java unit test or a java class with a dart integration. + * + * See: https://github.com/flutter/flutter/blob/master/docs/ecosystem/testing/Plugin-Tests.md#enabling-android-ui-tests + * for more information. + */ +@Retention(AnnotationRetention.RUNTIME) +@Target(AnnotationTarget.CLASS) +annotation class DartIntegrationTest diff --git a/packages/flutter_plugin_android_lifecycle/example/android/app/src/androidTest/java/io/flutter/plugins/DartIntegrationTest.java b/packages/flutter_plugin_android_lifecycle/example/android/app/src/androidTest/java/io/flutter/plugins/DartIntegrationTest.java deleted file mode 100644 index bc81811a048e..000000000000 --- a/packages/flutter_plugin_android_lifecycle/example/android/app/src/androidTest/java/io/flutter/plugins/DartIntegrationTest.java +++ /dev/null @@ -1,21 +0,0 @@ -// Copyright 2013 The Flutter Authors -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -package io.flutter.plugins; - -import java.lang.annotation.ElementType; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.lang.annotation.Target; - -/* - * Annotation to aid repository tooling in determining if a test is - * a native java unit test or a java class with a dart integration. - * - * See: https://github.com/flutter/flutter/blob/master/docs/ecosystem/testing/Plugin-Tests.md#enabling-android-ui-tests - * for more information. - */ -@Retention(RetentionPolicy.RUNTIME) -@Target(ElementType.TYPE) -public @interface DartIntegrationTest {} diff --git a/packages/flutter_plugin_android_lifecycle/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt b/packages/flutter_plugin_android_lifecycle/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt new file mode 100644 index 000000000000..be4c65af852c --- /dev/null +++ b/packages/flutter_plugin_android_lifecycle/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt @@ -0,0 +1,16 @@ +// Copyright 2013 The Flutter Authors +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +package io.flutter.plugins + +/** + * Annotation to aid repository tooling in determining if a test is + * a native java unit test or a java class with a dart integration. + * + * See: https://github.com/flutter/flutter/blob/master/docs/ecosystem/testing/Plugin-Tests.md#enabling-android-ui-tests + * for more information. + */ +@Retention(AnnotationRetention.RUNTIME) +@Target(AnnotationTarget.CLASS) +annotation class DartIntegrationTest diff --git a/packages/google_maps_flutter/google_maps_flutter/example/android/app/src/androidTest/java/io/flutter/plugins/DartIntegrationTest.java b/packages/google_maps_flutter/google_maps_flutter/example/android/app/src/androidTest/java/io/flutter/plugins/DartIntegrationTest.java deleted file mode 100644 index bc81811a048e..000000000000 --- a/packages/google_maps_flutter/google_maps_flutter/example/android/app/src/androidTest/java/io/flutter/plugins/DartIntegrationTest.java +++ /dev/null @@ -1,21 +0,0 @@ -// Copyright 2013 The Flutter Authors -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -package io.flutter.plugins; - -import java.lang.annotation.ElementType; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.lang.annotation.Target; - -/* - * Annotation to aid repository tooling in determining if a test is - * a native java unit test or a java class with a dart integration. - * - * See: https://github.com/flutter/flutter/blob/master/docs/ecosystem/testing/Plugin-Tests.md#enabling-android-ui-tests - * for more information. - */ -@Retention(RetentionPolicy.RUNTIME) -@Target(ElementType.TYPE) -public @interface DartIntegrationTest {} diff --git a/packages/google_maps_flutter/google_maps_flutter/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt b/packages/google_maps_flutter/google_maps_flutter/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt new file mode 100644 index 000000000000..be4c65af852c --- /dev/null +++ b/packages/google_maps_flutter/google_maps_flutter/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt @@ -0,0 +1,16 @@ +// Copyright 2013 The Flutter Authors +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +package io.flutter.plugins + +/** + * Annotation to aid repository tooling in determining if a test is + * a native java unit test or a java class with a dart integration. + * + * See: https://github.com/flutter/flutter/blob/master/docs/ecosystem/testing/Plugin-Tests.md#enabling-android-ui-tests + * for more information. + */ +@Retention(AnnotationRetention.RUNTIME) +@Target(AnnotationTarget.CLASS) +annotation class DartIntegrationTest diff --git a/packages/google_maps_flutter/google_maps_flutter_android/example/android/app/src/androidTest/java/io/flutter/plugins/DartIntegrationTest.java b/packages/google_maps_flutter/google_maps_flutter_android/example/android/app/src/androidTest/java/io/flutter/plugins/DartIntegrationTest.java deleted file mode 100644 index bc81811a048e..000000000000 --- a/packages/google_maps_flutter/google_maps_flutter_android/example/android/app/src/androidTest/java/io/flutter/plugins/DartIntegrationTest.java +++ /dev/null @@ -1,21 +0,0 @@ -// Copyright 2013 The Flutter Authors -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -package io.flutter.plugins; - -import java.lang.annotation.ElementType; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.lang.annotation.Target; - -/* - * Annotation to aid repository tooling in determining if a test is - * a native java unit test or a java class with a dart integration. - * - * See: https://github.com/flutter/flutter/blob/master/docs/ecosystem/testing/Plugin-Tests.md#enabling-android-ui-tests - * for more information. - */ -@Retention(RetentionPolicy.RUNTIME) -@Target(ElementType.TYPE) -public @interface DartIntegrationTest {} diff --git a/packages/google_maps_flutter/google_maps_flutter_android/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt b/packages/google_maps_flutter/google_maps_flutter_android/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt new file mode 100644 index 000000000000..be4c65af852c --- /dev/null +++ b/packages/google_maps_flutter/google_maps_flutter_android/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt @@ -0,0 +1,16 @@ +// Copyright 2013 The Flutter Authors +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +package io.flutter.plugins + +/** + * Annotation to aid repository tooling in determining if a test is + * a native java unit test or a java class with a dart integration. + * + * See: https://github.com/flutter/flutter/blob/master/docs/ecosystem/testing/Plugin-Tests.md#enabling-android-ui-tests + * for more information. + */ +@Retention(AnnotationRetention.RUNTIME) +@Target(AnnotationTarget.CLASS) +annotation class DartIntegrationTest diff --git a/packages/google_sign_in/google_sign_in/example/android/app/src/androidTest/java/io/flutter/plugins/DartIntegrationTest.java b/packages/google_sign_in/google_sign_in/example/android/app/src/androidTest/java/io/flutter/plugins/DartIntegrationTest.java deleted file mode 100644 index bc81811a048e..000000000000 --- a/packages/google_sign_in/google_sign_in/example/android/app/src/androidTest/java/io/flutter/plugins/DartIntegrationTest.java +++ /dev/null @@ -1,21 +0,0 @@ -// Copyright 2013 The Flutter Authors -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -package io.flutter.plugins; - -import java.lang.annotation.ElementType; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.lang.annotation.Target; - -/* - * Annotation to aid repository tooling in determining if a test is - * a native java unit test or a java class with a dart integration. - * - * See: https://github.com/flutter/flutter/blob/master/docs/ecosystem/testing/Plugin-Tests.md#enabling-android-ui-tests - * for more information. - */ -@Retention(RetentionPolicy.RUNTIME) -@Target(ElementType.TYPE) -public @interface DartIntegrationTest {} diff --git a/packages/google_sign_in/google_sign_in/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt b/packages/google_sign_in/google_sign_in/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt new file mode 100644 index 000000000000..be4c65af852c --- /dev/null +++ b/packages/google_sign_in/google_sign_in/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt @@ -0,0 +1,16 @@ +// Copyright 2013 The Flutter Authors +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +package io.flutter.plugins + +/** + * Annotation to aid repository tooling in determining if a test is + * a native java unit test or a java class with a dart integration. + * + * See: https://github.com/flutter/flutter/blob/master/docs/ecosystem/testing/Plugin-Tests.md#enabling-android-ui-tests + * for more information. + */ +@Retention(AnnotationRetention.RUNTIME) +@Target(AnnotationTarget.CLASS) +annotation class DartIntegrationTest diff --git a/packages/google_sign_in/google_sign_in_android/example/android/app/src/androidTest/java/io/flutter/plugins/DartIntegrationTest.java b/packages/google_sign_in/google_sign_in_android/example/android/app/src/androidTest/java/io/flutter/plugins/DartIntegrationTest.java deleted file mode 100644 index bc81811a048e..000000000000 --- a/packages/google_sign_in/google_sign_in_android/example/android/app/src/androidTest/java/io/flutter/plugins/DartIntegrationTest.java +++ /dev/null @@ -1,21 +0,0 @@ -// Copyright 2013 The Flutter Authors -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -package io.flutter.plugins; - -import java.lang.annotation.ElementType; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.lang.annotation.Target; - -/* - * Annotation to aid repository tooling in determining if a test is - * a native java unit test or a java class with a dart integration. - * - * See: https://github.com/flutter/flutter/blob/master/docs/ecosystem/testing/Plugin-Tests.md#enabling-android-ui-tests - * for more information. - */ -@Retention(RetentionPolicy.RUNTIME) -@Target(ElementType.TYPE) -public @interface DartIntegrationTest {} diff --git a/packages/google_sign_in/google_sign_in_android/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt b/packages/google_sign_in/google_sign_in_android/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt new file mode 100644 index 000000000000..be4c65af852c --- /dev/null +++ b/packages/google_sign_in/google_sign_in_android/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt @@ -0,0 +1,16 @@ +// Copyright 2013 The Flutter Authors +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +package io.flutter.plugins + +/** + * Annotation to aid repository tooling in determining if a test is + * a native java unit test or a java class with a dart integration. + * + * See: https://github.com/flutter/flutter/blob/master/docs/ecosystem/testing/Plugin-Tests.md#enabling-android-ui-tests + * for more information. + */ +@Retention(AnnotationRetention.RUNTIME) +@Target(AnnotationTarget.CLASS) +annotation class DartIntegrationTest diff --git a/packages/image_picker/image_picker/example/android/app/src/androidTest/java/io/flutter/plugins/DartIntegrationTest.java b/packages/image_picker/image_picker/example/android/app/src/androidTest/java/io/flutter/plugins/DartIntegrationTest.java deleted file mode 100644 index bc81811a048e..000000000000 --- a/packages/image_picker/image_picker/example/android/app/src/androidTest/java/io/flutter/plugins/DartIntegrationTest.java +++ /dev/null @@ -1,21 +0,0 @@ -// Copyright 2013 The Flutter Authors -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -package io.flutter.plugins; - -import java.lang.annotation.ElementType; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.lang.annotation.Target; - -/* - * Annotation to aid repository tooling in determining if a test is - * a native java unit test or a java class with a dart integration. - * - * See: https://github.com/flutter/flutter/blob/master/docs/ecosystem/testing/Plugin-Tests.md#enabling-android-ui-tests - * for more information. - */ -@Retention(RetentionPolicy.RUNTIME) -@Target(ElementType.TYPE) -public @interface DartIntegrationTest {} diff --git a/packages/image_picker/image_picker/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt b/packages/image_picker/image_picker/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt new file mode 100644 index 000000000000..be4c65af852c --- /dev/null +++ b/packages/image_picker/image_picker/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt @@ -0,0 +1,16 @@ +// Copyright 2013 The Flutter Authors +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +package io.flutter.plugins + +/** + * Annotation to aid repository tooling in determining if a test is + * a native java unit test or a java class with a dart integration. + * + * See: https://github.com/flutter/flutter/blob/master/docs/ecosystem/testing/Plugin-Tests.md#enabling-android-ui-tests + * for more information. + */ +@Retention(AnnotationRetention.RUNTIME) +@Target(AnnotationTarget.CLASS) +annotation class DartIntegrationTest diff --git a/packages/image_picker/image_picker_android/example/android/app/src/androidTest/java/io/flutter/plugins/DartIntegrationTest.java b/packages/image_picker/image_picker_android/example/android/app/src/androidTest/java/io/flutter/plugins/DartIntegrationTest.java deleted file mode 100644 index bc81811a048e..000000000000 --- a/packages/image_picker/image_picker_android/example/android/app/src/androidTest/java/io/flutter/plugins/DartIntegrationTest.java +++ /dev/null @@ -1,21 +0,0 @@ -// Copyright 2013 The Flutter Authors -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -package io.flutter.plugins; - -import java.lang.annotation.ElementType; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.lang.annotation.Target; - -/* - * Annotation to aid repository tooling in determining if a test is - * a native java unit test or a java class with a dart integration. - * - * See: https://github.com/flutter/flutter/blob/master/docs/ecosystem/testing/Plugin-Tests.md#enabling-android-ui-tests - * for more information. - */ -@Retention(RetentionPolicy.RUNTIME) -@Target(ElementType.TYPE) -public @interface DartIntegrationTest {} diff --git a/packages/image_picker/image_picker_android/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt b/packages/image_picker/image_picker_android/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt new file mode 100644 index 000000000000..be4c65af852c --- /dev/null +++ b/packages/image_picker/image_picker_android/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt @@ -0,0 +1,16 @@ +// Copyright 2013 The Flutter Authors +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +package io.flutter.plugins + +/** + * Annotation to aid repository tooling in determining if a test is + * a native java unit test or a java class with a dart integration. + * + * See: https://github.com/flutter/flutter/blob/master/docs/ecosystem/testing/Plugin-Tests.md#enabling-android-ui-tests + * for more information. + */ +@Retention(AnnotationRetention.RUNTIME) +@Target(AnnotationTarget.CLASS) +annotation class DartIntegrationTest diff --git a/packages/in_app_purchase/in_app_purchase/example/android/app/src/androidTest/java/io/flutter/plugins/DartIntegrationTest.java b/packages/in_app_purchase/in_app_purchase/example/android/app/src/androidTest/java/io/flutter/plugins/DartIntegrationTest.java deleted file mode 100644 index bc81811a048e..000000000000 --- a/packages/in_app_purchase/in_app_purchase/example/android/app/src/androidTest/java/io/flutter/plugins/DartIntegrationTest.java +++ /dev/null @@ -1,21 +0,0 @@ -// Copyright 2013 The Flutter Authors -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -package io.flutter.plugins; - -import java.lang.annotation.ElementType; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.lang.annotation.Target; - -/* - * Annotation to aid repository tooling in determining if a test is - * a native java unit test or a java class with a dart integration. - * - * See: https://github.com/flutter/flutter/blob/master/docs/ecosystem/testing/Plugin-Tests.md#enabling-android-ui-tests - * for more information. - */ -@Retention(RetentionPolicy.RUNTIME) -@Target(ElementType.TYPE) -public @interface DartIntegrationTest {} diff --git a/packages/in_app_purchase/in_app_purchase/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt b/packages/in_app_purchase/in_app_purchase/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt new file mode 100644 index 000000000000..be4c65af852c --- /dev/null +++ b/packages/in_app_purchase/in_app_purchase/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt @@ -0,0 +1,16 @@ +// Copyright 2013 The Flutter Authors +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +package io.flutter.plugins + +/** + * Annotation to aid repository tooling in determining if a test is + * a native java unit test or a java class with a dart integration. + * + * See: https://github.com/flutter/flutter/blob/master/docs/ecosystem/testing/Plugin-Tests.md#enabling-android-ui-tests + * for more information. + */ +@Retention(AnnotationRetention.RUNTIME) +@Target(AnnotationTarget.CLASS) +annotation class DartIntegrationTest diff --git a/packages/in_app_purchase/in_app_purchase_android/example/android/app/src/androidTest/java/io/flutter/plugins/DartIntegrationTest.java b/packages/in_app_purchase/in_app_purchase_android/example/android/app/src/androidTest/java/io/flutter/plugins/DartIntegrationTest.java deleted file mode 100644 index bc81811a048e..000000000000 --- a/packages/in_app_purchase/in_app_purchase_android/example/android/app/src/androidTest/java/io/flutter/plugins/DartIntegrationTest.java +++ /dev/null @@ -1,21 +0,0 @@ -// Copyright 2013 The Flutter Authors -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -package io.flutter.plugins; - -import java.lang.annotation.ElementType; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.lang.annotation.Target; - -/* - * Annotation to aid repository tooling in determining if a test is - * a native java unit test or a java class with a dart integration. - * - * See: https://github.com/flutter/flutter/blob/master/docs/ecosystem/testing/Plugin-Tests.md#enabling-android-ui-tests - * for more information. - */ -@Retention(RetentionPolicy.RUNTIME) -@Target(ElementType.TYPE) -public @interface DartIntegrationTest {} diff --git a/packages/in_app_purchase/in_app_purchase_android/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt b/packages/in_app_purchase/in_app_purchase_android/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt new file mode 100644 index 000000000000..be4c65af852c --- /dev/null +++ b/packages/in_app_purchase/in_app_purchase_android/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt @@ -0,0 +1,16 @@ +// Copyright 2013 The Flutter Authors +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +package io.flutter.plugins + +/** + * Annotation to aid repository tooling in determining if a test is + * a native java unit test or a java class with a dart integration. + * + * See: https://github.com/flutter/flutter/blob/master/docs/ecosystem/testing/Plugin-Tests.md#enabling-android-ui-tests + * for more information. + */ +@Retention(AnnotationRetention.RUNTIME) +@Target(AnnotationTarget.CLASS) +annotation class DartIntegrationTest diff --git a/packages/local_auth/local_auth/example/android/app/src/androidTest/java/io/flutter/plugins/DartIntegrationTest.java b/packages/local_auth/local_auth/example/android/app/src/androidTest/java/io/flutter/plugins/DartIntegrationTest.java deleted file mode 100644 index bc81811a048e..000000000000 --- a/packages/local_auth/local_auth/example/android/app/src/androidTest/java/io/flutter/plugins/DartIntegrationTest.java +++ /dev/null @@ -1,21 +0,0 @@ -// Copyright 2013 The Flutter Authors -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -package io.flutter.plugins; - -import java.lang.annotation.ElementType; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.lang.annotation.Target; - -/* - * Annotation to aid repository tooling in determining if a test is - * a native java unit test or a java class with a dart integration. - * - * See: https://github.com/flutter/flutter/blob/master/docs/ecosystem/testing/Plugin-Tests.md#enabling-android-ui-tests - * for more information. - */ -@Retention(RetentionPolicy.RUNTIME) -@Target(ElementType.TYPE) -public @interface DartIntegrationTest {} diff --git a/packages/local_auth/local_auth/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt b/packages/local_auth/local_auth/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt new file mode 100644 index 000000000000..be4c65af852c --- /dev/null +++ b/packages/local_auth/local_auth/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt @@ -0,0 +1,16 @@ +// Copyright 2013 The Flutter Authors +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +package io.flutter.plugins + +/** + * Annotation to aid repository tooling in determining if a test is + * a native java unit test or a java class with a dart integration. + * + * See: https://github.com/flutter/flutter/blob/master/docs/ecosystem/testing/Plugin-Tests.md#enabling-android-ui-tests + * for more information. + */ +@Retention(AnnotationRetention.RUNTIME) +@Target(AnnotationTarget.CLASS) +annotation class DartIntegrationTest diff --git a/packages/local_auth/local_auth_android/example/android/app/src/androidTest/java/io/flutter/plugins/DartIntegrationTest.java b/packages/local_auth/local_auth_android/example/android/app/src/androidTest/java/io/flutter/plugins/DartIntegrationTest.java deleted file mode 100644 index bc81811a048e..000000000000 --- a/packages/local_auth/local_auth_android/example/android/app/src/androidTest/java/io/flutter/plugins/DartIntegrationTest.java +++ /dev/null @@ -1,21 +0,0 @@ -// Copyright 2013 The Flutter Authors -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -package io.flutter.plugins; - -import java.lang.annotation.ElementType; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.lang.annotation.Target; - -/* - * Annotation to aid repository tooling in determining if a test is - * a native java unit test or a java class with a dart integration. - * - * See: https://github.com/flutter/flutter/blob/master/docs/ecosystem/testing/Plugin-Tests.md#enabling-android-ui-tests - * for more information. - */ -@Retention(RetentionPolicy.RUNTIME) -@Target(ElementType.TYPE) -public @interface DartIntegrationTest {} diff --git a/packages/local_auth/local_auth_android/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt b/packages/local_auth/local_auth_android/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt new file mode 100644 index 000000000000..be4c65af852c --- /dev/null +++ b/packages/local_auth/local_auth_android/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt @@ -0,0 +1,16 @@ +// Copyright 2013 The Flutter Authors +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +package io.flutter.plugins + +/** + * Annotation to aid repository tooling in determining if a test is + * a native java unit test or a java class with a dart integration. + * + * See: https://github.com/flutter/flutter/blob/master/docs/ecosystem/testing/Plugin-Tests.md#enabling-android-ui-tests + * for more information. + */ +@Retention(AnnotationRetention.RUNTIME) +@Target(AnnotationTarget.CLASS) +annotation class DartIntegrationTest diff --git a/packages/path_provider/path_provider/example/android/app/src/androidTest/java/io/flutter/plugins/DartIntegrationTest.java b/packages/path_provider/path_provider/example/android/app/src/androidTest/java/io/flutter/plugins/DartIntegrationTest.java deleted file mode 100644 index bc81811a048e..000000000000 --- a/packages/path_provider/path_provider/example/android/app/src/androidTest/java/io/flutter/plugins/DartIntegrationTest.java +++ /dev/null @@ -1,21 +0,0 @@ -// Copyright 2013 The Flutter Authors -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -package io.flutter.plugins; - -import java.lang.annotation.ElementType; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.lang.annotation.Target; - -/* - * Annotation to aid repository tooling in determining if a test is - * a native java unit test or a java class with a dart integration. - * - * See: https://github.com/flutter/flutter/blob/master/docs/ecosystem/testing/Plugin-Tests.md#enabling-android-ui-tests - * for more information. - */ -@Retention(RetentionPolicy.RUNTIME) -@Target(ElementType.TYPE) -public @interface DartIntegrationTest {} diff --git a/packages/path_provider/path_provider/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt b/packages/path_provider/path_provider/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt new file mode 100644 index 000000000000..be4c65af852c --- /dev/null +++ b/packages/path_provider/path_provider/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt @@ -0,0 +1,16 @@ +// Copyright 2013 The Flutter Authors +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +package io.flutter.plugins + +/** + * Annotation to aid repository tooling in determining if a test is + * a native java unit test or a java class with a dart integration. + * + * See: https://github.com/flutter/flutter/blob/master/docs/ecosystem/testing/Plugin-Tests.md#enabling-android-ui-tests + * for more information. + */ +@Retention(AnnotationRetention.RUNTIME) +@Target(AnnotationTarget.CLASS) +annotation class DartIntegrationTest diff --git a/packages/path_provider/path_provider_android/example/android/app/src/androidTest/java/io/flutter/plugins/DartIntegrationTest.java b/packages/path_provider/path_provider_android/example/android/app/src/androidTest/java/io/flutter/plugins/DartIntegrationTest.java deleted file mode 100644 index bc81811a048e..000000000000 --- a/packages/path_provider/path_provider_android/example/android/app/src/androidTest/java/io/flutter/plugins/DartIntegrationTest.java +++ /dev/null @@ -1,21 +0,0 @@ -// Copyright 2013 The Flutter Authors -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -package io.flutter.plugins; - -import java.lang.annotation.ElementType; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.lang.annotation.Target; - -/* - * Annotation to aid repository tooling in determining if a test is - * a native java unit test or a java class with a dart integration. - * - * See: https://github.com/flutter/flutter/blob/master/docs/ecosystem/testing/Plugin-Tests.md#enabling-android-ui-tests - * for more information. - */ -@Retention(RetentionPolicy.RUNTIME) -@Target(ElementType.TYPE) -public @interface DartIntegrationTest {} diff --git a/packages/path_provider/path_provider_android/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt b/packages/path_provider/path_provider_android/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt new file mode 100644 index 000000000000..be4c65af852c --- /dev/null +++ b/packages/path_provider/path_provider_android/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt @@ -0,0 +1,16 @@ +// Copyright 2013 The Flutter Authors +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +package io.flutter.plugins + +/** + * Annotation to aid repository tooling in determining if a test is + * a native java unit test or a java class with a dart integration. + * + * See: https://github.com/flutter/flutter/blob/master/docs/ecosystem/testing/Plugin-Tests.md#enabling-android-ui-tests + * for more information. + */ +@Retention(AnnotationRetention.RUNTIME) +@Target(AnnotationTarget.CLASS) +annotation class DartIntegrationTest diff --git a/packages/quick_actions/quick_actions/example/android/app/src/androidTest/java/io/flutter/plugins/DartIntegrationTest.java b/packages/quick_actions/quick_actions/example/android/app/src/androidTest/java/io/flutter/plugins/DartIntegrationTest.java deleted file mode 100644 index bc81811a048e..000000000000 --- a/packages/quick_actions/quick_actions/example/android/app/src/androidTest/java/io/flutter/plugins/DartIntegrationTest.java +++ /dev/null @@ -1,21 +0,0 @@ -// Copyright 2013 The Flutter Authors -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -package io.flutter.plugins; - -import java.lang.annotation.ElementType; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.lang.annotation.Target; - -/* - * Annotation to aid repository tooling in determining if a test is - * a native java unit test or a java class with a dart integration. - * - * See: https://github.com/flutter/flutter/blob/master/docs/ecosystem/testing/Plugin-Tests.md#enabling-android-ui-tests - * for more information. - */ -@Retention(RetentionPolicy.RUNTIME) -@Target(ElementType.TYPE) -public @interface DartIntegrationTest {} diff --git a/packages/quick_actions/quick_actions/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt b/packages/quick_actions/quick_actions/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt new file mode 100644 index 000000000000..be4c65af852c --- /dev/null +++ b/packages/quick_actions/quick_actions/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt @@ -0,0 +1,16 @@ +// Copyright 2013 The Flutter Authors +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +package io.flutter.plugins + +/** + * Annotation to aid repository tooling in determining if a test is + * a native java unit test or a java class with a dart integration. + * + * See: https://github.com/flutter/flutter/blob/master/docs/ecosystem/testing/Plugin-Tests.md#enabling-android-ui-tests + * for more information. + */ +@Retention(AnnotationRetention.RUNTIME) +@Target(AnnotationTarget.CLASS) +annotation class DartIntegrationTest diff --git a/packages/quick_actions/quick_actions_android/example/android/app/src/androidTest/java/io/flutter/plugins/DartIntegrationTest.java b/packages/quick_actions/quick_actions_android/example/android/app/src/androidTest/java/io/flutter/plugins/DartIntegrationTest.java deleted file mode 100644 index bc81811a048e..000000000000 --- a/packages/quick_actions/quick_actions_android/example/android/app/src/androidTest/java/io/flutter/plugins/DartIntegrationTest.java +++ /dev/null @@ -1,21 +0,0 @@ -// Copyright 2013 The Flutter Authors -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -package io.flutter.plugins; - -import java.lang.annotation.ElementType; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.lang.annotation.Target; - -/* - * Annotation to aid repository tooling in determining if a test is - * a native java unit test or a java class with a dart integration. - * - * See: https://github.com/flutter/flutter/blob/master/docs/ecosystem/testing/Plugin-Tests.md#enabling-android-ui-tests - * for more information. - */ -@Retention(RetentionPolicy.RUNTIME) -@Target(ElementType.TYPE) -public @interface DartIntegrationTest {} diff --git a/packages/quick_actions/quick_actions_android/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt b/packages/quick_actions/quick_actions_android/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt new file mode 100644 index 000000000000..be4c65af852c --- /dev/null +++ b/packages/quick_actions/quick_actions_android/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt @@ -0,0 +1,16 @@ +// Copyright 2013 The Flutter Authors +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +package io.flutter.plugins + +/** + * Annotation to aid repository tooling in determining if a test is + * a native java unit test or a java class with a dart integration. + * + * See: https://github.com/flutter/flutter/blob/master/docs/ecosystem/testing/Plugin-Tests.md#enabling-android-ui-tests + * for more information. + */ +@Retention(AnnotationRetention.RUNTIME) +@Target(AnnotationTarget.CLASS) +annotation class DartIntegrationTest diff --git a/packages/shared_preferences/shared_preferences/example/android/app/src/androidTest/java/io/flutter/plugins/DartIntegrationTest.java b/packages/shared_preferences/shared_preferences/example/android/app/src/androidTest/java/io/flutter/plugins/DartIntegrationTest.java deleted file mode 100644 index bc81811a048e..000000000000 --- a/packages/shared_preferences/shared_preferences/example/android/app/src/androidTest/java/io/flutter/plugins/DartIntegrationTest.java +++ /dev/null @@ -1,21 +0,0 @@ -// Copyright 2013 The Flutter Authors -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -package io.flutter.plugins; - -import java.lang.annotation.ElementType; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.lang.annotation.Target; - -/* - * Annotation to aid repository tooling in determining if a test is - * a native java unit test or a java class with a dart integration. - * - * See: https://github.com/flutter/flutter/blob/master/docs/ecosystem/testing/Plugin-Tests.md#enabling-android-ui-tests - * for more information. - */ -@Retention(RetentionPolicy.RUNTIME) -@Target(ElementType.TYPE) -public @interface DartIntegrationTest {} diff --git a/packages/shared_preferences/shared_preferences/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt b/packages/shared_preferences/shared_preferences/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt new file mode 100644 index 000000000000..be4c65af852c --- /dev/null +++ b/packages/shared_preferences/shared_preferences/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt @@ -0,0 +1,16 @@ +// Copyright 2013 The Flutter Authors +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +package io.flutter.plugins + +/** + * Annotation to aid repository tooling in determining if a test is + * a native java unit test or a java class with a dart integration. + * + * See: https://github.com/flutter/flutter/blob/master/docs/ecosystem/testing/Plugin-Tests.md#enabling-android-ui-tests + * for more information. + */ +@Retention(AnnotationRetention.RUNTIME) +@Target(AnnotationTarget.CLASS) +annotation class DartIntegrationTest diff --git a/packages/shared_preferences/shared_preferences_android/example/android/app/src/main/java/io/flutter/plugins/DartIntegrationTest.java b/packages/shared_preferences/shared_preferences_android/example/android/app/src/main/java/io/flutter/plugins/DartIntegrationTest.java deleted file mode 100644 index bc81811a048e..000000000000 --- a/packages/shared_preferences/shared_preferences_android/example/android/app/src/main/java/io/flutter/plugins/DartIntegrationTest.java +++ /dev/null @@ -1,21 +0,0 @@ -// Copyright 2013 The Flutter Authors -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -package io.flutter.plugins; - -import java.lang.annotation.ElementType; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.lang.annotation.Target; - -/* - * Annotation to aid repository tooling in determining if a test is - * a native java unit test or a java class with a dart integration. - * - * See: https://github.com/flutter/flutter/blob/master/docs/ecosystem/testing/Plugin-Tests.md#enabling-android-ui-tests - * for more information. - */ -@Retention(RetentionPolicy.RUNTIME) -@Target(ElementType.TYPE) -public @interface DartIntegrationTest {} diff --git a/packages/shared_preferences/shared_preferences_android/example/android/app/src/main/kotlin/io/flutter/plugins/DartIntegrationTest.kt b/packages/shared_preferences/shared_preferences_android/example/android/app/src/main/kotlin/io/flutter/plugins/DartIntegrationTest.kt new file mode 100644 index 000000000000..be4c65af852c --- /dev/null +++ b/packages/shared_preferences/shared_preferences_android/example/android/app/src/main/kotlin/io/flutter/plugins/DartIntegrationTest.kt @@ -0,0 +1,16 @@ +// Copyright 2013 The Flutter Authors +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +package io.flutter.plugins + +/** + * Annotation to aid repository tooling in determining if a test is + * a native java unit test or a java class with a dart integration. + * + * See: https://github.com/flutter/flutter/blob/master/docs/ecosystem/testing/Plugin-Tests.md#enabling-android-ui-tests + * for more information. + */ +@Retention(AnnotationRetention.RUNTIME) +@Target(AnnotationTarget.CLASS) +annotation class DartIntegrationTest diff --git a/packages/url_launcher/url_launcher/example/android/app/src/androidTest/java/io/flutter/plugins/DartIntegrationTest.java b/packages/url_launcher/url_launcher/example/android/app/src/androidTest/java/io/flutter/plugins/DartIntegrationTest.java deleted file mode 100644 index bc81811a048e..000000000000 --- a/packages/url_launcher/url_launcher/example/android/app/src/androidTest/java/io/flutter/plugins/DartIntegrationTest.java +++ /dev/null @@ -1,21 +0,0 @@ -// Copyright 2013 The Flutter Authors -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -package io.flutter.plugins; - -import java.lang.annotation.ElementType; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.lang.annotation.Target; - -/* - * Annotation to aid repository tooling in determining if a test is - * a native java unit test or a java class with a dart integration. - * - * See: https://github.com/flutter/flutter/blob/master/docs/ecosystem/testing/Plugin-Tests.md#enabling-android-ui-tests - * for more information. - */ -@Retention(RetentionPolicy.RUNTIME) -@Target(ElementType.TYPE) -public @interface DartIntegrationTest {} diff --git a/packages/url_launcher/url_launcher/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt b/packages/url_launcher/url_launcher/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt new file mode 100644 index 000000000000..be4c65af852c --- /dev/null +++ b/packages/url_launcher/url_launcher/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt @@ -0,0 +1,16 @@ +// Copyright 2013 The Flutter Authors +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +package io.flutter.plugins + +/** + * Annotation to aid repository tooling in determining if a test is + * a native java unit test or a java class with a dart integration. + * + * See: https://github.com/flutter/flutter/blob/master/docs/ecosystem/testing/Plugin-Tests.md#enabling-android-ui-tests + * for more information. + */ +@Retention(AnnotationRetention.RUNTIME) +@Target(AnnotationTarget.CLASS) +annotation class DartIntegrationTest diff --git a/packages/url_launcher/url_launcher_android/example/android/app/src/androidTest/java/io/flutter/plugins/DartIntegrationTest.java b/packages/url_launcher/url_launcher_android/example/android/app/src/androidTest/java/io/flutter/plugins/DartIntegrationTest.java deleted file mode 100644 index 237dc9047016..000000000000 --- a/packages/url_launcher/url_launcher_android/example/android/app/src/androidTest/java/io/flutter/plugins/DartIntegrationTest.java +++ /dev/null @@ -1,14 +0,0 @@ -// Copyright 2013 The Flutter Authors -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -package io.flutter.plugins; - -import java.lang.annotation.ElementType; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.lang.annotation.Target; - -@Retention(RetentionPolicy.RUNTIME) -@Target(ElementType.TYPE) -public @interface DartIntegrationTest {} diff --git a/packages/url_launcher/url_launcher_android/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt b/packages/url_launcher/url_launcher_android/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt new file mode 100644 index 000000000000..be4c65af852c --- /dev/null +++ b/packages/url_launcher/url_launcher_android/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt @@ -0,0 +1,16 @@ +// Copyright 2013 The Flutter Authors +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +package io.flutter.plugins + +/** + * Annotation to aid repository tooling in determining if a test is + * a native java unit test or a java class with a dart integration. + * + * See: https://github.com/flutter/flutter/blob/master/docs/ecosystem/testing/Plugin-Tests.md#enabling-android-ui-tests + * for more information. + */ +@Retention(AnnotationRetention.RUNTIME) +@Target(AnnotationTarget.CLASS) +annotation class DartIntegrationTest diff --git a/packages/video_player/video_player/example/android/app/src/androidTest/java/io/flutter/plugins/DartIntegrationTest.java b/packages/video_player/video_player/example/android/app/src/androidTest/java/io/flutter/plugins/DartIntegrationTest.java deleted file mode 100644 index bc81811a048e..000000000000 --- a/packages/video_player/video_player/example/android/app/src/androidTest/java/io/flutter/plugins/DartIntegrationTest.java +++ /dev/null @@ -1,21 +0,0 @@ -// Copyright 2013 The Flutter Authors -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -package io.flutter.plugins; - -import java.lang.annotation.ElementType; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.lang.annotation.Target; - -/* - * Annotation to aid repository tooling in determining if a test is - * a native java unit test or a java class with a dart integration. - * - * See: https://github.com/flutter/flutter/blob/master/docs/ecosystem/testing/Plugin-Tests.md#enabling-android-ui-tests - * for more information. - */ -@Retention(RetentionPolicy.RUNTIME) -@Target(ElementType.TYPE) -public @interface DartIntegrationTest {} diff --git a/packages/video_player/video_player/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt b/packages/video_player/video_player/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt new file mode 100644 index 000000000000..be4c65af852c --- /dev/null +++ b/packages/video_player/video_player/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt @@ -0,0 +1,16 @@ +// Copyright 2013 The Flutter Authors +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +package io.flutter.plugins + +/** + * Annotation to aid repository tooling in determining if a test is + * a native java unit test or a java class with a dart integration. + * + * See: https://github.com/flutter/flutter/blob/master/docs/ecosystem/testing/Plugin-Tests.md#enabling-android-ui-tests + * for more information. + */ +@Retention(AnnotationRetention.RUNTIME) +@Target(AnnotationTarget.CLASS) +annotation class DartIntegrationTest diff --git a/packages/video_player/video_player_android/example/android/app/src/androidTest/java/io/flutter/plugins/DartIntegrationTest.java b/packages/video_player/video_player_android/example/android/app/src/androidTest/java/io/flutter/plugins/DartIntegrationTest.java deleted file mode 100644 index bc81811a048e..000000000000 --- a/packages/video_player/video_player_android/example/android/app/src/androidTest/java/io/flutter/plugins/DartIntegrationTest.java +++ /dev/null @@ -1,21 +0,0 @@ -// Copyright 2013 The Flutter Authors -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -package io.flutter.plugins; - -import java.lang.annotation.ElementType; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.lang.annotation.Target; - -/* - * Annotation to aid repository tooling in determining if a test is - * a native java unit test or a java class with a dart integration. - * - * See: https://github.com/flutter/flutter/blob/master/docs/ecosystem/testing/Plugin-Tests.md#enabling-android-ui-tests - * for more information. - */ -@Retention(RetentionPolicy.RUNTIME) -@Target(ElementType.TYPE) -public @interface DartIntegrationTest {} diff --git a/packages/video_player/video_player_android/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt b/packages/video_player/video_player_android/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt new file mode 100644 index 000000000000..be4c65af852c --- /dev/null +++ b/packages/video_player/video_player_android/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt @@ -0,0 +1,16 @@ +// Copyright 2013 The Flutter Authors +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +package io.flutter.plugins + +/** + * Annotation to aid repository tooling in determining if a test is + * a native java unit test or a java class with a dart integration. + * + * See: https://github.com/flutter/flutter/blob/master/docs/ecosystem/testing/Plugin-Tests.md#enabling-android-ui-tests + * for more information. + */ +@Retention(AnnotationRetention.RUNTIME) +@Target(AnnotationTarget.CLASS) +annotation class DartIntegrationTest diff --git a/packages/webview_flutter/webview_flutter/example/android/app/src/androidTest/java/io/flutter/plugins/DartIntegrationTest.java b/packages/webview_flutter/webview_flutter/example/android/app/src/androidTest/java/io/flutter/plugins/DartIntegrationTest.java deleted file mode 100644 index bc81811a048e..000000000000 --- a/packages/webview_flutter/webview_flutter/example/android/app/src/androidTest/java/io/flutter/plugins/DartIntegrationTest.java +++ /dev/null @@ -1,21 +0,0 @@ -// Copyright 2013 The Flutter Authors -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -package io.flutter.plugins; - -import java.lang.annotation.ElementType; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.lang.annotation.Target; - -/* - * Annotation to aid repository tooling in determining if a test is - * a native java unit test or a java class with a dart integration. - * - * See: https://github.com/flutter/flutter/blob/master/docs/ecosystem/testing/Plugin-Tests.md#enabling-android-ui-tests - * for more information. - */ -@Retention(RetentionPolicy.RUNTIME) -@Target(ElementType.TYPE) -public @interface DartIntegrationTest {} diff --git a/packages/webview_flutter/webview_flutter/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt b/packages/webview_flutter/webview_flutter/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt new file mode 100644 index 000000000000..be4c65af852c --- /dev/null +++ b/packages/webview_flutter/webview_flutter/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt @@ -0,0 +1,16 @@ +// Copyright 2013 The Flutter Authors +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +package io.flutter.plugins + +/** + * Annotation to aid repository tooling in determining if a test is + * a native java unit test or a java class with a dart integration. + * + * See: https://github.com/flutter/flutter/blob/master/docs/ecosystem/testing/Plugin-Tests.md#enabling-android-ui-tests + * for more information. + */ +@Retention(AnnotationRetention.RUNTIME) +@Target(AnnotationTarget.CLASS) +annotation class DartIntegrationTest diff --git a/packages/webview_flutter/webview_flutter_android/example/android/app/src/androidTest/java/io/flutter/plugins/DartIntegrationTest.java b/packages/webview_flutter/webview_flutter_android/example/android/app/src/androidTest/java/io/flutter/plugins/DartIntegrationTest.java deleted file mode 100644 index bc81811a048e..000000000000 --- a/packages/webview_flutter/webview_flutter_android/example/android/app/src/androidTest/java/io/flutter/plugins/DartIntegrationTest.java +++ /dev/null @@ -1,21 +0,0 @@ -// Copyright 2013 The Flutter Authors -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -package io.flutter.plugins; - -import java.lang.annotation.ElementType; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.lang.annotation.Target; - -/* - * Annotation to aid repository tooling in determining if a test is - * a native java unit test or a java class with a dart integration. - * - * See: https://github.com/flutter/flutter/blob/master/docs/ecosystem/testing/Plugin-Tests.md#enabling-android-ui-tests - * for more information. - */ -@Retention(RetentionPolicy.RUNTIME) -@Target(ElementType.TYPE) -public @interface DartIntegrationTest {} diff --git a/packages/webview_flutter/webview_flutter_android/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt b/packages/webview_flutter/webview_flutter_android/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt new file mode 100644 index 000000000000..be4c65af852c --- /dev/null +++ b/packages/webview_flutter/webview_flutter_android/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt @@ -0,0 +1,16 @@ +// Copyright 2013 The Flutter Authors +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +package io.flutter.plugins + +/** + * Annotation to aid repository tooling in determining if a test is + * a native java unit test or a java class with a dart integration. + * + * See: https://github.com/flutter/flutter/blob/master/docs/ecosystem/testing/Plugin-Tests.md#enabling-android-ui-tests + * for more information. + */ +@Retention(AnnotationRetention.RUNTIME) +@Target(AnnotationTarget.CLASS) +annotation class DartIntegrationTest From 16239d6c22693f0f0e342aec2baa49af89e41bb0 Mon Sep 17 00:00:00 2001 From: Stuart Morgan Date: Mon, 13 Jul 2026 16:22:08 -0400 Subject: [PATCH 2/6] Manually convert various trivial files --- .../plugins/cameraxexample/MainActivity.java | 9 --------- .../plugins/cameraxexample/MainActivity.kt | 9 +++++++++ .../espresso_example/MainActivity.java | 16 --------------- .../example/espresso_example/MainActivity.kt | 10 ++++++++++ .../MainActivity.java | 9 --------- .../DriverExtensionActivity.kt} | 6 +++--- .../MainActivity.kt | 9 +++++++++ .../GoogleMapsTestActivity.java | 20 ------------------- .../GoogleMapsTestActivity.kt | 18 +++++++++++++++++ .../GoogleMapsTestActivity.java | 20 ------------------- .../GoogleMapsTestActivity.kt | 18 +++++++++++++++++ .../GoogleSignInTestActivity.java | 20 ------------------- .../GoogleSignInTestActivity.kt | 18 +++++++++++++++++ .../GoogleSignInTestActivity.java | 20 ------------------- .../GoogleSignInTestActivity.kt | 18 +++++++++++++++++ .../ImagePickerTestActivity.java | 20 ------------------- .../ImagePickerTestActivity.kt | 18 +++++++++++++++++ .../DriverExtensionActivity.java | 16 --------------- .../ImagePickerTestActivity.java | 20 ------------------- .../DriverExtensionActivity.kt | 11 ++++++++++ .../ImagePickerTestActivity.kt | 18 +++++++++++++++++ .../MainActivity.java | 9 --------- .../MainActivity.kt | 9 +++++++++ .../QuickActionsTestActivity.java | 20 ------------------- .../QuickActionsTestActivity.kt | 18 +++++++++++++++++ .../QuickActionsTestActivity.java | 20 ------------------- .../QuickActionsTestActivity.kt | 18 +++++++++++++++++ .../DriverExtensionActivity.kt} | 6 +++--- .../WebViewTestActivity.java | 20 ------------------- .../WebViewTestActivity.kt | 18 +++++++++++++++++ .../DriverExtensionActivity.java | 16 --------------- .../WebViewTestActivity.java | 20 ------------------- .../DriverExtensionActivity.kt | 11 ++++++++++ .../WebViewTestActivity.kt | 18 +++++++++++++++++ 34 files changed, 245 insertions(+), 281 deletions(-) delete mode 100644 packages/camera/camera_android_camerax/example/android/app/src/main/java/io/flutter/plugins/cameraxexample/MainActivity.java create mode 100644 packages/camera/camera_android_camerax/example/android/app/src/main/kotlin/io/flutter/plugins/cameraxexample/MainActivity.kt delete mode 100644 packages/espresso/example/android/app/src/main/java/com/example/espresso_example/MainActivity.java create mode 100644 packages/espresso/example/android/app/src/main/kotlin/com/example/espresso_example/MainActivity.kt delete mode 100644 packages/file_selector/file_selector_android/example/android/app/src/main/java/dev/flutter/packages/file_selector_android_example/MainActivity.java rename packages/{video_player/video_player_android/example/android/app/src/main/java/io/flutter/plugins/videoplayerexample/DriverExtensionActivity.java => file_selector/file_selector_android/example/android/app/src/main/kotlin/dev/flutter/packages/file_selector_android_example/DriverExtensionActivity.kt} (58%) create mode 100644 packages/file_selector/file_selector_android/example/android/app/src/main/kotlin/dev/flutter/packages/file_selector_android_example/MainActivity.kt delete mode 100644 packages/google_maps_flutter/google_maps_flutter/example/android/app/src/debug/java/io/flutter/plugins/googlemapsexample/GoogleMapsTestActivity.java create mode 100644 packages/google_maps_flutter/google_maps_flutter/example/android/app/src/debug/kotlin/io/flutter/plugins/googlemapsexample/GoogleMapsTestActivity.kt delete mode 100644 packages/google_maps_flutter/google_maps_flutter_android/example/android/app/src/debug/java/io/flutter/plugins/googlemapsexample/GoogleMapsTestActivity.java create mode 100644 packages/google_maps_flutter/google_maps_flutter_android/example/android/app/src/debug/kotlin/io/flutter/plugins/googlemapsexample/GoogleMapsTestActivity.kt delete mode 100644 packages/google_sign_in/google_sign_in/example/android/app/src/main/java/io/flutter/plugins/googlesigninexample/GoogleSignInTestActivity.java create mode 100644 packages/google_sign_in/google_sign_in/example/android/app/src/main/kotlin/io/flutter/plugins/googlesigninexample/GoogleSignInTestActivity.kt delete mode 100644 packages/google_sign_in/google_sign_in_android/example/android/app/src/main/java/io/flutter/plugins/googlesigninexample/GoogleSignInTestActivity.java create mode 100644 packages/google_sign_in/google_sign_in_android/example/android/app/src/main/kotlin/io/flutter/plugins/googlesigninexample/GoogleSignInTestActivity.kt delete mode 100644 packages/image_picker/image_picker/example/android/app/src/main/java/io/flutter/plugins/imagepickerexample/ImagePickerTestActivity.java create mode 100644 packages/image_picker/image_picker/example/android/app/src/main/kotlin/io/flutter/plugins/imagepickerexample/ImagePickerTestActivity.kt delete mode 100644 packages/image_picker/image_picker_android/example/android/app/src/main/java/io/flutter/plugins/imagepickerexample/DriverExtensionActivity.java delete mode 100644 packages/image_picker/image_picker_android/example/android/app/src/main/java/io/flutter/plugins/imagepickerexample/ImagePickerTestActivity.java create mode 100644 packages/image_picker/image_picker_android/example/android/app/src/main/kotlin/io/flutter/plugins/imagepickerexample/DriverExtensionActivity.kt create mode 100644 packages/image_picker/image_picker_android/example/android/app/src/main/kotlin/io/flutter/plugins/imagepickerexample/ImagePickerTestActivity.kt delete mode 100644 packages/pigeon/platform_tests/alternate_language_test_plugin/example/android/app/src/main/java/com/example/alternate_language_test_plugin_example/MainActivity.java create mode 100644 packages/pigeon/platform_tests/alternate_language_test_plugin/example/android/app/src/main/kotlin/com/example/alternate_language_test_plugin_example/MainActivity.kt delete mode 100644 packages/quick_actions/quick_actions/example/android/app/src/main/java/io/flutter/plugins/quickactionsexample/QuickActionsTestActivity.java create mode 100644 packages/quick_actions/quick_actions/example/android/app/src/main/kotlin/io/flutter/plugins/quickactionsexample/QuickActionsTestActivity.kt delete mode 100644 packages/quick_actions/quick_actions_android/example/android/app/src/main/java/io/flutter/plugins/quickactionsexample/QuickActionsTestActivity.java create mode 100644 packages/quick_actions/quick_actions_android/example/android/app/src/main/kotlin/io/flutter/plugins/quickactionsexample/QuickActionsTestActivity.kt rename packages/{file_selector/file_selector_android/example/android/app/src/main/java/dev/flutter/packages/file_selector_android_example/DriverExtensionActivity.java => video_player/video_player_android/example/android/app/src/main/kotlin/io/flutter/plugins/videoplayerexample/DriverExtensionActivity.kt} (56%) delete mode 100644 packages/webview_flutter/webview_flutter/example/android/app/src/main/java/io/flutter/plugins/webviewflutterexample/WebViewTestActivity.java create mode 100644 packages/webview_flutter/webview_flutter/example/android/app/src/main/kotlin/io/flutter/plugins/webviewflutterexample/WebViewTestActivity.kt delete mode 100644 packages/webview_flutter/webview_flutter_android/example/android/app/src/main/java/io/flutter/plugins/webviewflutterexample/DriverExtensionActivity.java delete mode 100644 packages/webview_flutter/webview_flutter_android/example/android/app/src/main/java/io/flutter/plugins/webviewflutterexample/WebViewTestActivity.java create mode 100644 packages/webview_flutter/webview_flutter_android/example/android/app/src/main/kotlin/io/flutter/plugins/webviewflutterexample/DriverExtensionActivity.kt create mode 100644 packages/webview_flutter/webview_flutter_android/example/android/app/src/main/kotlin/io/flutter/plugins/webviewflutterexample/WebViewTestActivity.kt diff --git a/packages/camera/camera_android_camerax/example/android/app/src/main/java/io/flutter/plugins/cameraxexample/MainActivity.java b/packages/camera/camera_android_camerax/example/android/app/src/main/java/io/flutter/plugins/cameraxexample/MainActivity.java deleted file mode 100644 index e96363d01979..000000000000 --- a/packages/camera/camera_android_camerax/example/android/app/src/main/java/io/flutter/plugins/cameraxexample/MainActivity.java +++ /dev/null @@ -1,9 +0,0 @@ -// Copyright 2013 The Flutter Authors -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -package io.flutter.plugins.cameraxexample; - -import io.flutter.embedding.android.FlutterActivity; - -public class MainActivity extends FlutterActivity {} diff --git a/packages/camera/camera_android_camerax/example/android/app/src/main/kotlin/io/flutter/plugins/cameraxexample/MainActivity.kt b/packages/camera/camera_android_camerax/example/android/app/src/main/kotlin/io/flutter/plugins/cameraxexample/MainActivity.kt new file mode 100644 index 000000000000..546e2fa37654 --- /dev/null +++ b/packages/camera/camera_android_camerax/example/android/app/src/main/kotlin/io/flutter/plugins/cameraxexample/MainActivity.kt @@ -0,0 +1,9 @@ +// Copyright 2013 The Flutter Authors +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +package io.flutter.plugins.cameraxexample + +import io.flutter.embedding.android.FlutterActivity + +class MainActivity : FlutterActivity() diff --git a/packages/espresso/example/android/app/src/main/java/com/example/espresso_example/MainActivity.java b/packages/espresso/example/android/app/src/main/java/com/example/espresso_example/MainActivity.java deleted file mode 100644 index 92e6f47d634d..000000000000 --- a/packages/espresso/example/android/app/src/main/java/com/example/espresso_example/MainActivity.java +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright 2013 The Flutter Authors -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -package com.example.espresso_example; - -import androidx.annotation.NonNull; -import io.flutter.embedding.android.FlutterActivity; -import io.flutter.embedding.engine.FlutterEngine; - -public class MainActivity extends FlutterActivity { - @Override - public void configureFlutterEngine(@NonNull FlutterEngine flutterEngine) { - super.configureFlutterEngine(flutterEngine); - } -} diff --git a/packages/espresso/example/android/app/src/main/kotlin/com/example/espresso_example/MainActivity.kt b/packages/espresso/example/android/app/src/main/kotlin/com/example/espresso_example/MainActivity.kt new file mode 100644 index 000000000000..8c455409c2d4 --- /dev/null +++ b/packages/espresso/example/android/app/src/main/kotlin/com/example/espresso_example/MainActivity.kt @@ -0,0 +1,10 @@ +// Copyright 2013 The Flutter Authors +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +package com.example.espresso_example + +import io.flutter.embedding.android.FlutterActivity +import io.flutter.embedding.engine.FlutterEngine + +class MainActivity : FlutterActivity() {} diff --git a/packages/file_selector/file_selector_android/example/android/app/src/main/java/dev/flutter/packages/file_selector_android_example/MainActivity.java b/packages/file_selector/file_selector_android/example/android/app/src/main/java/dev/flutter/packages/file_selector_android_example/MainActivity.java deleted file mode 100644 index 9814a4e31681..000000000000 --- a/packages/file_selector/file_selector_android/example/android/app/src/main/java/dev/flutter/packages/file_selector_android_example/MainActivity.java +++ /dev/null @@ -1,9 +0,0 @@ -// Copyright 2013 The Flutter Authors -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -package dev.flutter.packages.file_selector_android_example; - -import io.flutter.embedding.android.FlutterActivity; - -public class MainActivity extends FlutterActivity {} diff --git a/packages/video_player/video_player_android/example/android/app/src/main/java/io/flutter/plugins/videoplayerexample/DriverExtensionActivity.java b/packages/file_selector/file_selector_android/example/android/app/src/main/kotlin/dev/flutter/packages/file_selector_android_example/DriverExtensionActivity.kt similarity index 58% rename from packages/video_player/video_player_android/example/android/app/src/main/java/io/flutter/plugins/videoplayerexample/DriverExtensionActivity.java rename to packages/file_selector/file_selector_android/example/android/app/src/main/kotlin/dev/flutter/packages/file_selector_android_example/DriverExtensionActivity.kt index a379692d530a..1acf337d908d 100644 --- a/packages/video_player/video_player_android/example/android/app/src/main/java/io/flutter/plugins/videoplayerexample/DriverExtensionActivity.java +++ b/packages/file_selector/file_selector_android/example/android/app/src/main/kotlin/dev/flutter/packages/file_selector_android_example/DriverExtensionActivity.kt @@ -2,9 +2,9 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -package io.flutter.plugins.videoplayerexample; +package dev.flutter.packages.file_selector_android_example -import io.flutter.embedding.android.FlutterActivity; +import io.flutter.embedding.android.FlutterActivity /** Test Activity that sets the name of the Dart method entrypoint in the manifest. */ -public class DriverExtensionActivity extends FlutterActivity {} +class DriverExtensionActivity : FlutterActivity() diff --git a/packages/file_selector/file_selector_android/example/android/app/src/main/kotlin/dev/flutter/packages/file_selector_android_example/MainActivity.kt b/packages/file_selector/file_selector_android/example/android/app/src/main/kotlin/dev/flutter/packages/file_selector_android_example/MainActivity.kt new file mode 100644 index 000000000000..5351a5519f1f --- /dev/null +++ b/packages/file_selector/file_selector_android/example/android/app/src/main/kotlin/dev/flutter/packages/file_selector_android_example/MainActivity.kt @@ -0,0 +1,9 @@ +// Copyright 2013 The Flutter Authors +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +package dev.flutter.packages.file_selector_android_example + +import io.flutter.embedding.android.FlutterActivity + +class MainActivity : FlutterActivity() diff --git a/packages/google_maps_flutter/google_maps_flutter/example/android/app/src/debug/java/io/flutter/plugins/googlemapsexample/GoogleMapsTestActivity.java b/packages/google_maps_flutter/google_maps_flutter/example/android/app/src/debug/java/io/flutter/plugins/googlemapsexample/GoogleMapsTestActivity.java deleted file mode 100644 index 863918b51caf..000000000000 --- a/packages/google_maps_flutter/google_maps_flutter/example/android/app/src/debug/java/io/flutter/plugins/googlemapsexample/GoogleMapsTestActivity.java +++ /dev/null @@ -1,20 +0,0 @@ -// Copyright 2013 The Flutter Authors -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -package io.flutter.plugins.googlemapsexample; - -import androidx.annotation.NonNull; -import io.flutter.embedding.android.FlutterActivity; -import io.flutter.embedding.engine.FlutterEngine; - -// Makes the FlutterEngine accessible for testing. -public class GoogleMapsTestActivity extends FlutterActivity { - public FlutterEngine engine; - - @Override - public void configureFlutterEngine(@NonNull FlutterEngine flutterEngine) { - super.configureFlutterEngine(flutterEngine); - engine = flutterEngine; - } -} diff --git a/packages/google_maps_flutter/google_maps_flutter/example/android/app/src/debug/kotlin/io/flutter/plugins/googlemapsexample/GoogleMapsTestActivity.kt b/packages/google_maps_flutter/google_maps_flutter/example/android/app/src/debug/kotlin/io/flutter/plugins/googlemapsexample/GoogleMapsTestActivity.kt new file mode 100644 index 000000000000..c755f53a4d9b --- /dev/null +++ b/packages/google_maps_flutter/google_maps_flutter/example/android/app/src/debug/kotlin/io/flutter/plugins/googlemapsexample/GoogleMapsTestActivity.kt @@ -0,0 +1,18 @@ +// Copyright 2013 The Flutter Authors +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +package io.flutter.plugins.googlemapsexample + +import io.flutter.embedding.android.FlutterActivity +import io.flutter.embedding.engine.FlutterEngine + +// Makes the FlutterEngine accessible for testing. +class GoogleMapsTestActivity : FlutterActivity() { + var engine: FlutterEngine? = null + + override fun configureFlutterEngine(flutterEngine: FlutterEngine) { + super.configureFlutterEngine(flutterEngine) + engine = flutterEngine + } +} diff --git a/packages/google_maps_flutter/google_maps_flutter_android/example/android/app/src/debug/java/io/flutter/plugins/googlemapsexample/GoogleMapsTestActivity.java b/packages/google_maps_flutter/google_maps_flutter_android/example/android/app/src/debug/java/io/flutter/plugins/googlemapsexample/GoogleMapsTestActivity.java deleted file mode 100644 index 863918b51caf..000000000000 --- a/packages/google_maps_flutter/google_maps_flutter_android/example/android/app/src/debug/java/io/flutter/plugins/googlemapsexample/GoogleMapsTestActivity.java +++ /dev/null @@ -1,20 +0,0 @@ -// Copyright 2013 The Flutter Authors -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -package io.flutter.plugins.googlemapsexample; - -import androidx.annotation.NonNull; -import io.flutter.embedding.android.FlutterActivity; -import io.flutter.embedding.engine.FlutterEngine; - -// Makes the FlutterEngine accessible for testing. -public class GoogleMapsTestActivity extends FlutterActivity { - public FlutterEngine engine; - - @Override - public void configureFlutterEngine(@NonNull FlutterEngine flutterEngine) { - super.configureFlutterEngine(flutterEngine); - engine = flutterEngine; - } -} diff --git a/packages/google_maps_flutter/google_maps_flutter_android/example/android/app/src/debug/kotlin/io/flutter/plugins/googlemapsexample/GoogleMapsTestActivity.kt b/packages/google_maps_flutter/google_maps_flutter_android/example/android/app/src/debug/kotlin/io/flutter/plugins/googlemapsexample/GoogleMapsTestActivity.kt new file mode 100644 index 000000000000..c755f53a4d9b --- /dev/null +++ b/packages/google_maps_flutter/google_maps_flutter_android/example/android/app/src/debug/kotlin/io/flutter/plugins/googlemapsexample/GoogleMapsTestActivity.kt @@ -0,0 +1,18 @@ +// Copyright 2013 The Flutter Authors +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +package io.flutter.plugins.googlemapsexample + +import io.flutter.embedding.android.FlutterActivity +import io.flutter.embedding.engine.FlutterEngine + +// Makes the FlutterEngine accessible for testing. +class GoogleMapsTestActivity : FlutterActivity() { + var engine: FlutterEngine? = null + + override fun configureFlutterEngine(flutterEngine: FlutterEngine) { + super.configureFlutterEngine(flutterEngine) + engine = flutterEngine + } +} diff --git a/packages/google_sign_in/google_sign_in/example/android/app/src/main/java/io/flutter/plugins/googlesigninexample/GoogleSignInTestActivity.java b/packages/google_sign_in/google_sign_in/example/android/app/src/main/java/io/flutter/plugins/googlesigninexample/GoogleSignInTestActivity.java deleted file mode 100644 index 9599e403e4fc..000000000000 --- a/packages/google_sign_in/google_sign_in/example/android/app/src/main/java/io/flutter/plugins/googlesigninexample/GoogleSignInTestActivity.java +++ /dev/null @@ -1,20 +0,0 @@ -// Copyright 2013 The Flutter Authors -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -package io.flutter.plugins.googlesigninexample; - -import androidx.annotation.NonNull; -import io.flutter.embedding.android.FlutterActivity; -import io.flutter.embedding.engine.FlutterEngine; - -// Makes the FlutterEngine accessible for testing. -public class GoogleSignInTestActivity extends FlutterActivity { - public FlutterEngine engine; - - @Override - public void configureFlutterEngine(@NonNull FlutterEngine flutterEngine) { - super.configureFlutterEngine(flutterEngine); - engine = flutterEngine; - } -} diff --git a/packages/google_sign_in/google_sign_in/example/android/app/src/main/kotlin/io/flutter/plugins/googlesigninexample/GoogleSignInTestActivity.kt b/packages/google_sign_in/google_sign_in/example/android/app/src/main/kotlin/io/flutter/plugins/googlesigninexample/GoogleSignInTestActivity.kt new file mode 100644 index 000000000000..bb4c8edceb5e --- /dev/null +++ b/packages/google_sign_in/google_sign_in/example/android/app/src/main/kotlin/io/flutter/plugins/googlesigninexample/GoogleSignInTestActivity.kt @@ -0,0 +1,18 @@ +// Copyright 2013 The Flutter Authors +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +package io.flutter.plugins.googlesigninexample + +import io.flutter.embedding.android.FlutterActivity +import io.flutter.embedding.engine.FlutterEngine + +// Makes the FlutterEngine accessible for testing. +class GoogleSignInTestActivity : FlutterActivity() { + var engine: FlutterEngine? = null + + override fun configureFlutterEngine(flutterEngine: FlutterEngine) { + super.configureFlutterEngine(flutterEngine) + engine = flutterEngine + } +} diff --git a/packages/google_sign_in/google_sign_in_android/example/android/app/src/main/java/io/flutter/plugins/googlesigninexample/GoogleSignInTestActivity.java b/packages/google_sign_in/google_sign_in_android/example/android/app/src/main/java/io/flutter/plugins/googlesigninexample/GoogleSignInTestActivity.java deleted file mode 100644 index 9599e403e4fc..000000000000 --- a/packages/google_sign_in/google_sign_in_android/example/android/app/src/main/java/io/flutter/plugins/googlesigninexample/GoogleSignInTestActivity.java +++ /dev/null @@ -1,20 +0,0 @@ -// Copyright 2013 The Flutter Authors -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -package io.flutter.plugins.googlesigninexample; - -import androidx.annotation.NonNull; -import io.flutter.embedding.android.FlutterActivity; -import io.flutter.embedding.engine.FlutterEngine; - -// Makes the FlutterEngine accessible for testing. -public class GoogleSignInTestActivity extends FlutterActivity { - public FlutterEngine engine; - - @Override - public void configureFlutterEngine(@NonNull FlutterEngine flutterEngine) { - super.configureFlutterEngine(flutterEngine); - engine = flutterEngine; - } -} diff --git a/packages/google_sign_in/google_sign_in_android/example/android/app/src/main/kotlin/io/flutter/plugins/googlesigninexample/GoogleSignInTestActivity.kt b/packages/google_sign_in/google_sign_in_android/example/android/app/src/main/kotlin/io/flutter/plugins/googlesigninexample/GoogleSignInTestActivity.kt new file mode 100644 index 000000000000..bb4c8edceb5e --- /dev/null +++ b/packages/google_sign_in/google_sign_in_android/example/android/app/src/main/kotlin/io/flutter/plugins/googlesigninexample/GoogleSignInTestActivity.kt @@ -0,0 +1,18 @@ +// Copyright 2013 The Flutter Authors +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +package io.flutter.plugins.googlesigninexample + +import io.flutter.embedding.android.FlutterActivity +import io.flutter.embedding.engine.FlutterEngine + +// Makes the FlutterEngine accessible for testing. +class GoogleSignInTestActivity : FlutterActivity() { + var engine: FlutterEngine? = null + + override fun configureFlutterEngine(flutterEngine: FlutterEngine) { + super.configureFlutterEngine(flutterEngine) + engine = flutterEngine + } +} diff --git a/packages/image_picker/image_picker/example/android/app/src/main/java/io/flutter/plugins/imagepickerexample/ImagePickerTestActivity.java b/packages/image_picker/image_picker/example/android/app/src/main/java/io/flutter/plugins/imagepickerexample/ImagePickerTestActivity.java deleted file mode 100644 index 5cda97345da5..000000000000 --- a/packages/image_picker/image_picker/example/android/app/src/main/java/io/flutter/plugins/imagepickerexample/ImagePickerTestActivity.java +++ /dev/null @@ -1,20 +0,0 @@ -// Copyright 2013 The Flutter Authors -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -package io.flutter.plugins.imagepickerexample; - -import androidx.annotation.NonNull; -import io.flutter.embedding.android.FlutterActivity; -import io.flutter.embedding.engine.FlutterEngine; - -// Makes the FlutterEngine accessible for testing. -public class ImagePickerTestActivity extends FlutterActivity { - public FlutterEngine engine; - - @Override - public void configureFlutterEngine(@NonNull FlutterEngine flutterEngine) { - super.configureFlutterEngine(flutterEngine); - engine = flutterEngine; - } -} diff --git a/packages/image_picker/image_picker/example/android/app/src/main/kotlin/io/flutter/plugins/imagepickerexample/ImagePickerTestActivity.kt b/packages/image_picker/image_picker/example/android/app/src/main/kotlin/io/flutter/plugins/imagepickerexample/ImagePickerTestActivity.kt new file mode 100644 index 000000000000..1a7ec77fe1bb --- /dev/null +++ b/packages/image_picker/image_picker/example/android/app/src/main/kotlin/io/flutter/plugins/imagepickerexample/ImagePickerTestActivity.kt @@ -0,0 +1,18 @@ +// Copyright 2013 The Flutter Authors +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +package io.flutter.plugins.imagepickerexample + +import io.flutter.embedding.android.FlutterActivity +import io.flutter.embedding.engine.FlutterEngine + +// Makes the FlutterEngine accessible for testing. +class ImagePickerTestActivity : FlutterActivity() { + var engine: FlutterEngine? = null + + override fun configureFlutterEngine(flutterEngine: FlutterEngine) { + super.configureFlutterEngine(flutterEngine) + engine = flutterEngine + } +} diff --git a/packages/image_picker/image_picker_android/example/android/app/src/main/java/io/flutter/plugins/imagepickerexample/DriverExtensionActivity.java b/packages/image_picker/image_picker_android/example/android/app/src/main/java/io/flutter/plugins/imagepickerexample/DriverExtensionActivity.java deleted file mode 100644 index a8477f8b2285..000000000000 --- a/packages/image_picker/image_picker_android/example/android/app/src/main/java/io/flutter/plugins/imagepickerexample/DriverExtensionActivity.java +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright 2013 The Flutter Authors -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -package io.flutter.plugins.imagepickerexample; - -import androidx.annotation.NonNull; -import io.flutter.embedding.android.FlutterActivity; - -public class DriverExtensionActivity extends FlutterActivity { - @NonNull - @Override - public String getDartEntrypointFunctionName() { - return "appMain"; - } -} diff --git a/packages/image_picker/image_picker_android/example/android/app/src/main/java/io/flutter/plugins/imagepickerexample/ImagePickerTestActivity.java b/packages/image_picker/image_picker_android/example/android/app/src/main/java/io/flutter/plugins/imagepickerexample/ImagePickerTestActivity.java deleted file mode 100644 index 5cda97345da5..000000000000 --- a/packages/image_picker/image_picker_android/example/android/app/src/main/java/io/flutter/plugins/imagepickerexample/ImagePickerTestActivity.java +++ /dev/null @@ -1,20 +0,0 @@ -// Copyright 2013 The Flutter Authors -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -package io.flutter.plugins.imagepickerexample; - -import androidx.annotation.NonNull; -import io.flutter.embedding.android.FlutterActivity; -import io.flutter.embedding.engine.FlutterEngine; - -// Makes the FlutterEngine accessible for testing. -public class ImagePickerTestActivity extends FlutterActivity { - public FlutterEngine engine; - - @Override - public void configureFlutterEngine(@NonNull FlutterEngine flutterEngine) { - super.configureFlutterEngine(flutterEngine); - engine = flutterEngine; - } -} diff --git a/packages/image_picker/image_picker_android/example/android/app/src/main/kotlin/io/flutter/plugins/imagepickerexample/DriverExtensionActivity.kt b/packages/image_picker/image_picker_android/example/android/app/src/main/kotlin/io/flutter/plugins/imagepickerexample/DriverExtensionActivity.kt new file mode 100644 index 000000000000..26e0e485f656 --- /dev/null +++ b/packages/image_picker/image_picker_android/example/android/app/src/main/kotlin/io/flutter/plugins/imagepickerexample/DriverExtensionActivity.kt @@ -0,0 +1,11 @@ +// Copyright 2013 The Flutter Authors +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +package io.flutter.plugins.imagepickerexample + +import io.flutter.embedding.android.FlutterActivity + +class DriverExtensionActivity : FlutterActivity() { + override fun getDartEntrypointFunctionName(): String = "appMain" +} diff --git a/packages/image_picker/image_picker_android/example/android/app/src/main/kotlin/io/flutter/plugins/imagepickerexample/ImagePickerTestActivity.kt b/packages/image_picker/image_picker_android/example/android/app/src/main/kotlin/io/flutter/plugins/imagepickerexample/ImagePickerTestActivity.kt new file mode 100644 index 000000000000..1a7ec77fe1bb --- /dev/null +++ b/packages/image_picker/image_picker_android/example/android/app/src/main/kotlin/io/flutter/plugins/imagepickerexample/ImagePickerTestActivity.kt @@ -0,0 +1,18 @@ +// Copyright 2013 The Flutter Authors +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +package io.flutter.plugins.imagepickerexample + +import io.flutter.embedding.android.FlutterActivity +import io.flutter.embedding.engine.FlutterEngine + +// Makes the FlutterEngine accessible for testing. +class ImagePickerTestActivity : FlutterActivity() { + var engine: FlutterEngine? = null + + override fun configureFlutterEngine(flutterEngine: FlutterEngine) { + super.configureFlutterEngine(flutterEngine) + engine = flutterEngine + } +} diff --git a/packages/pigeon/platform_tests/alternate_language_test_plugin/example/android/app/src/main/java/com/example/alternate_language_test_plugin_example/MainActivity.java b/packages/pigeon/platform_tests/alternate_language_test_plugin/example/android/app/src/main/java/com/example/alternate_language_test_plugin_example/MainActivity.java deleted file mode 100644 index 33024190db63..000000000000 --- a/packages/pigeon/platform_tests/alternate_language_test_plugin/example/android/app/src/main/java/com/example/alternate_language_test_plugin_example/MainActivity.java +++ /dev/null @@ -1,9 +0,0 @@ -// Copyright 2013 The Flutter Authors -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -package com.example.alternate_language_test_plugin_example; - -import io.flutter.embedding.android.FlutterActivity; - -public class MainActivity extends FlutterActivity {} diff --git a/packages/pigeon/platform_tests/alternate_language_test_plugin/example/android/app/src/main/kotlin/com/example/alternate_language_test_plugin_example/MainActivity.kt b/packages/pigeon/platform_tests/alternate_language_test_plugin/example/android/app/src/main/kotlin/com/example/alternate_language_test_plugin_example/MainActivity.kt new file mode 100644 index 000000000000..b1a5de852caa --- /dev/null +++ b/packages/pigeon/platform_tests/alternate_language_test_plugin/example/android/app/src/main/kotlin/com/example/alternate_language_test_plugin_example/MainActivity.kt @@ -0,0 +1,9 @@ +// Copyright 2013 The Flutter Authors +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +package com.example.alternate_language_test_plugin_example + +import io.flutter.embedding.android.FlutterActivity + +class MainActivity : FlutterActivity() {} diff --git a/packages/quick_actions/quick_actions/example/android/app/src/main/java/io/flutter/plugins/quickactionsexample/QuickActionsTestActivity.java b/packages/quick_actions/quick_actions/example/android/app/src/main/java/io/flutter/plugins/quickactionsexample/QuickActionsTestActivity.java deleted file mode 100644 index e7bec2fd5b90..000000000000 --- a/packages/quick_actions/quick_actions/example/android/app/src/main/java/io/flutter/plugins/quickactionsexample/QuickActionsTestActivity.java +++ /dev/null @@ -1,20 +0,0 @@ -// Copyright 2013 The Flutter Authors -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -package io.flutter.plugins.quickactionsexample; - -import androidx.annotation.NonNull; -import io.flutter.embedding.android.FlutterActivity; -import io.flutter.embedding.engine.FlutterEngine; - -// Makes the FlutterEngine accessible for testing. -public class QuickActionsTestActivity extends FlutterActivity { - public FlutterEngine engine; - - @Override - public void configureFlutterEngine(@NonNull FlutterEngine flutterEngine) { - super.configureFlutterEngine(flutterEngine); - engine = flutterEngine; - } -} diff --git a/packages/quick_actions/quick_actions/example/android/app/src/main/kotlin/io/flutter/plugins/quickactionsexample/QuickActionsTestActivity.kt b/packages/quick_actions/quick_actions/example/android/app/src/main/kotlin/io/flutter/plugins/quickactionsexample/QuickActionsTestActivity.kt new file mode 100644 index 000000000000..cc002432a1d0 --- /dev/null +++ b/packages/quick_actions/quick_actions/example/android/app/src/main/kotlin/io/flutter/plugins/quickactionsexample/QuickActionsTestActivity.kt @@ -0,0 +1,18 @@ +// Copyright 2013 The Flutter Authors +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +package io.flutter.plugins.quickactionsexample + +import io.flutter.embedding.android.FlutterActivity +import io.flutter.embedding.engine.FlutterEngine + +// Makes the FlutterEngine accessible for testing. +class QuickActionsTestActivity : FlutterActivity() { + var engine: FlutterEngine? = null + + override fun configureFlutterEngine(flutterEngine: FlutterEngine) { + super.configureFlutterEngine(flutterEngine) + engine = flutterEngine + } +} diff --git a/packages/quick_actions/quick_actions_android/example/android/app/src/main/java/io/flutter/plugins/quickactionsexample/QuickActionsTestActivity.java b/packages/quick_actions/quick_actions_android/example/android/app/src/main/java/io/flutter/plugins/quickactionsexample/QuickActionsTestActivity.java deleted file mode 100644 index e7bec2fd5b90..000000000000 --- a/packages/quick_actions/quick_actions_android/example/android/app/src/main/java/io/flutter/plugins/quickactionsexample/QuickActionsTestActivity.java +++ /dev/null @@ -1,20 +0,0 @@ -// Copyright 2013 The Flutter Authors -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -package io.flutter.plugins.quickactionsexample; - -import androidx.annotation.NonNull; -import io.flutter.embedding.android.FlutterActivity; -import io.flutter.embedding.engine.FlutterEngine; - -// Makes the FlutterEngine accessible for testing. -public class QuickActionsTestActivity extends FlutterActivity { - public FlutterEngine engine; - - @Override - public void configureFlutterEngine(@NonNull FlutterEngine flutterEngine) { - super.configureFlutterEngine(flutterEngine); - engine = flutterEngine; - } -} diff --git a/packages/quick_actions/quick_actions_android/example/android/app/src/main/kotlin/io/flutter/plugins/quickactionsexample/QuickActionsTestActivity.kt b/packages/quick_actions/quick_actions_android/example/android/app/src/main/kotlin/io/flutter/plugins/quickactionsexample/QuickActionsTestActivity.kt new file mode 100644 index 000000000000..cc002432a1d0 --- /dev/null +++ b/packages/quick_actions/quick_actions_android/example/android/app/src/main/kotlin/io/flutter/plugins/quickactionsexample/QuickActionsTestActivity.kt @@ -0,0 +1,18 @@ +// Copyright 2013 The Flutter Authors +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +package io.flutter.plugins.quickactionsexample + +import io.flutter.embedding.android.FlutterActivity +import io.flutter.embedding.engine.FlutterEngine + +// Makes the FlutterEngine accessible for testing. +class QuickActionsTestActivity : FlutterActivity() { + var engine: FlutterEngine? = null + + override fun configureFlutterEngine(flutterEngine: FlutterEngine) { + super.configureFlutterEngine(flutterEngine) + engine = flutterEngine + } +} diff --git a/packages/file_selector/file_selector_android/example/android/app/src/main/java/dev/flutter/packages/file_selector_android_example/DriverExtensionActivity.java b/packages/video_player/video_player_android/example/android/app/src/main/kotlin/io/flutter/plugins/videoplayerexample/DriverExtensionActivity.kt similarity index 56% rename from packages/file_selector/file_selector_android/example/android/app/src/main/java/dev/flutter/packages/file_selector_android_example/DriverExtensionActivity.java rename to packages/video_player/video_player_android/example/android/app/src/main/kotlin/io/flutter/plugins/videoplayerexample/DriverExtensionActivity.kt index fdf9c0db2660..7c8f727ca81b 100644 --- a/packages/file_selector/file_selector_android/example/android/app/src/main/java/dev/flutter/packages/file_selector_android_example/DriverExtensionActivity.java +++ b/packages/video_player/video_player_android/example/android/app/src/main/kotlin/io/flutter/plugins/videoplayerexample/DriverExtensionActivity.kt @@ -2,9 +2,9 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -package dev.flutter.packages.file_selector_android_example; +package io.flutter.plugins.videoplayerexample -import io.flutter.embedding.android.FlutterActivity; +import io.flutter.embedding.android.FlutterActivity /** Test Activity that sets the name of the Dart method entrypoint in the manifest. */ -public class DriverExtensionActivity extends FlutterActivity {} +class DriverExtensionActivity : FlutterActivity() {} diff --git a/packages/webview_flutter/webview_flutter/example/android/app/src/main/java/io/flutter/plugins/webviewflutterexample/WebViewTestActivity.java b/packages/webview_flutter/webview_flutter/example/android/app/src/main/java/io/flutter/plugins/webviewflutterexample/WebViewTestActivity.java deleted file mode 100644 index 065d7da169f0..000000000000 --- a/packages/webview_flutter/webview_flutter/example/android/app/src/main/java/io/flutter/plugins/webviewflutterexample/WebViewTestActivity.java +++ /dev/null @@ -1,20 +0,0 @@ -// Copyright 2013 The Flutter Authors -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -package io.flutter.plugins.webviewflutterexample; - -import androidx.annotation.NonNull; -import io.flutter.embedding.android.FlutterActivity; -import io.flutter.embedding.engine.FlutterEngine; - -// Extends FlutterActivity to make the FlutterEngine accessible for testing. -public class WebViewTestActivity extends FlutterActivity { - public FlutterEngine engine; - - @Override - public void configureFlutterEngine(@NonNull FlutterEngine flutterEngine) { - super.configureFlutterEngine(flutterEngine); - engine = flutterEngine; - } -} diff --git a/packages/webview_flutter/webview_flutter/example/android/app/src/main/kotlin/io/flutter/plugins/webviewflutterexample/WebViewTestActivity.kt b/packages/webview_flutter/webview_flutter/example/android/app/src/main/kotlin/io/flutter/plugins/webviewflutterexample/WebViewTestActivity.kt new file mode 100644 index 000000000000..8e8ac1b294fd --- /dev/null +++ b/packages/webview_flutter/webview_flutter/example/android/app/src/main/kotlin/io/flutter/plugins/webviewflutterexample/WebViewTestActivity.kt @@ -0,0 +1,18 @@ +// Copyright 2013 The Flutter Authors +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +package io.flutter.plugins.webviewflutterexample + +import io.flutter.embedding.android.FlutterActivity +import io.flutter.embedding.engine.FlutterEngine + +// Extends FlutterActivity to make the FlutterEngine accessible for testing. +class WebViewTestActivity : FlutterActivity() { + var engine: FlutterEngine? = null + + override fun configureFlutterEngine(flutterEngine: FlutterEngine) { + super.configureFlutterEngine(flutterEngine) + engine = flutterEngine + } +} diff --git a/packages/webview_flutter/webview_flutter_android/example/android/app/src/main/java/io/flutter/plugins/webviewflutterexample/DriverExtensionActivity.java b/packages/webview_flutter/webview_flutter_android/example/android/app/src/main/java/io/flutter/plugins/webviewflutterexample/DriverExtensionActivity.java deleted file mode 100644 index 03bd4b52a4b3..000000000000 --- a/packages/webview_flutter/webview_flutter_android/example/android/app/src/main/java/io/flutter/plugins/webviewflutterexample/DriverExtensionActivity.java +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright 2013 The Flutter Authors -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -package io.flutter.plugins.webviewflutterexample; - -import androidx.annotation.NonNull; -import io.flutter.embedding.android.FlutterActivity; - -public class DriverExtensionActivity extends FlutterActivity { - @Override - @NonNull - public String getDartEntrypointFunctionName() { - return "appMain"; - } -} diff --git a/packages/webview_flutter/webview_flutter_android/example/android/app/src/main/java/io/flutter/plugins/webviewflutterexample/WebViewTestActivity.java b/packages/webview_flutter/webview_flutter_android/example/android/app/src/main/java/io/flutter/plugins/webviewflutterexample/WebViewTestActivity.java deleted file mode 100644 index 065d7da169f0..000000000000 --- a/packages/webview_flutter/webview_flutter_android/example/android/app/src/main/java/io/flutter/plugins/webviewflutterexample/WebViewTestActivity.java +++ /dev/null @@ -1,20 +0,0 @@ -// Copyright 2013 The Flutter Authors -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -package io.flutter.plugins.webviewflutterexample; - -import androidx.annotation.NonNull; -import io.flutter.embedding.android.FlutterActivity; -import io.flutter.embedding.engine.FlutterEngine; - -// Extends FlutterActivity to make the FlutterEngine accessible for testing. -public class WebViewTestActivity extends FlutterActivity { - public FlutterEngine engine; - - @Override - public void configureFlutterEngine(@NonNull FlutterEngine flutterEngine) { - super.configureFlutterEngine(flutterEngine); - engine = flutterEngine; - } -} diff --git a/packages/webview_flutter/webview_flutter_android/example/android/app/src/main/kotlin/io/flutter/plugins/webviewflutterexample/DriverExtensionActivity.kt b/packages/webview_flutter/webview_flutter_android/example/android/app/src/main/kotlin/io/flutter/plugins/webviewflutterexample/DriverExtensionActivity.kt new file mode 100644 index 000000000000..0b83cefdfade --- /dev/null +++ b/packages/webview_flutter/webview_flutter_android/example/android/app/src/main/kotlin/io/flutter/plugins/webviewflutterexample/DriverExtensionActivity.kt @@ -0,0 +1,11 @@ +// Copyright 2013 The Flutter Authors +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +package io.flutter.plugins.webviewflutterexample + +import io.flutter.embedding.android.FlutterActivity + +class DriverExtensionActivity : FlutterActivity() { + override fun getDartEntrypointFunctionName(): String = "appMain" +} diff --git a/packages/webview_flutter/webview_flutter_android/example/android/app/src/main/kotlin/io/flutter/plugins/webviewflutterexample/WebViewTestActivity.kt b/packages/webview_flutter/webview_flutter_android/example/android/app/src/main/kotlin/io/flutter/plugins/webviewflutterexample/WebViewTestActivity.kt new file mode 100644 index 000000000000..8e8ac1b294fd --- /dev/null +++ b/packages/webview_flutter/webview_flutter_android/example/android/app/src/main/kotlin/io/flutter/plugins/webviewflutterexample/WebViewTestActivity.kt @@ -0,0 +1,18 @@ +// Copyright 2013 The Flutter Authors +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +package io.flutter.plugins.webviewflutterexample + +import io.flutter.embedding.android.FlutterActivity +import io.flutter.embedding.engine.FlutterEngine + +// Extends FlutterActivity to make the FlutterEngine accessible for testing. +class WebViewTestActivity : FlutterActivity() { + var engine: FlutterEngine? = null + + override fun configureFlutterEngine(flutterEngine: FlutterEngine) { + super.configureFlutterEngine(flutterEngine) + engine = flutterEngine + } +} From ccace1b6d8cb3346f81df56e85dbfec100d531a3 Mon Sep 17 00:00:00 2001 From: Stuart Morgan Date: Tue, 14 Jul 2026 15:56:05 -0400 Subject: [PATCH 3/6] Autoformat --- .../kotlin/io/flutter/plugins/DartIntegrationTest.kt | 7 ++++--- .../kotlin/io/flutter/plugins/DartIntegrationTest.kt | 7 ++++--- .../kotlin/io/flutter/plugins/DartIntegrationTest.kt | 7 ++++--- .../kotlin/io/flutter/plugins/DartIntegrationTest.kt | 7 ++++--- .../kotlin/com/example/espresso_example/MainActivity.kt | 1 - .../main/kotlin/io/flutter/plugins/DartIntegrationTest.kt | 7 ++++--- .../kotlin/io/flutter/plugins/DartIntegrationTest.kt | 7 ++++--- .../kotlin/io/flutter/plugins/DartIntegrationTest.kt | 7 ++++--- .../kotlin/io/flutter/plugins/DartIntegrationTest.kt | 7 ++++--- .../kotlin/io/flutter/plugins/DartIntegrationTest.kt | 7 ++++--- .../kotlin/io/flutter/plugins/DartIntegrationTest.kt | 7 ++++--- .../kotlin/io/flutter/plugins/DartIntegrationTest.kt | 7 ++++--- .../kotlin/io/flutter/plugins/DartIntegrationTest.kt | 7 ++++--- .../kotlin/io/flutter/plugins/DartIntegrationTest.kt | 7 ++++--- .../kotlin/io/flutter/plugins/DartIntegrationTest.kt | 7 ++++--- .../kotlin/io/flutter/plugins/DartIntegrationTest.kt | 7 ++++--- .../kotlin/io/flutter/plugins/DartIntegrationTest.kt | 7 ++++--- .../kotlin/io/flutter/plugins/DartIntegrationTest.kt | 7 ++++--- .../kotlin/io/flutter/plugins/DartIntegrationTest.kt | 7 ++++--- .../kotlin/io/flutter/plugins/DartIntegrationTest.kt | 7 ++++--- .../kotlin/io/flutter/plugins/DartIntegrationTest.kt | 7 ++++--- .../kotlin/io/flutter/plugins/DartIntegrationTest.kt | 7 ++++--- .../main/kotlin/io/flutter/plugins/DartIntegrationTest.kt | 7 ++++--- .../kotlin/io/flutter/plugins/DartIntegrationTest.kt | 7 ++++--- .../kotlin/io/flutter/plugins/DartIntegrationTest.kt | 7 ++++--- .../kotlin/io/flutter/plugins/DartIntegrationTest.kt | 7 ++++--- .../kotlin/io/flutter/plugins/DartIntegrationTest.kt | 7 ++++--- .../kotlin/io/flutter/plugins/DartIntegrationTest.kt | 7 ++++--- .../kotlin/io/flutter/plugins/DartIntegrationTest.kt | 7 ++++--- 29 files changed, 112 insertions(+), 85 deletions(-) diff --git a/packages/camera/camera/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt b/packages/camera/camera/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt index be4c65af852c..6b025ff36fba 100644 --- a/packages/camera/camera/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt +++ b/packages/camera/camera/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt @@ -5,10 +5,11 @@ package io.flutter.plugins /** - * Annotation to aid repository tooling in determining if a test is - * a native java unit test or a java class with a dart integration. + * Annotation to aid repository tooling in determining if a test is a native java unit test or a + * java class with a dart integration. * - * See: https://github.com/flutter/flutter/blob/master/docs/ecosystem/testing/Plugin-Tests.md#enabling-android-ui-tests + * See: + * https://github.com/flutter/flutter/blob/master/docs/ecosystem/testing/Plugin-Tests.md#enabling-android-ui-tests * for more information. */ @Retention(AnnotationRetention.RUNTIME) diff --git a/packages/camera/camera_android/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt b/packages/camera/camera_android/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt index be4c65af852c..6b025ff36fba 100644 --- a/packages/camera/camera_android/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt +++ b/packages/camera/camera_android/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt @@ -5,10 +5,11 @@ package io.flutter.plugins /** - * Annotation to aid repository tooling in determining if a test is - * a native java unit test or a java class with a dart integration. + * Annotation to aid repository tooling in determining if a test is a native java unit test or a + * java class with a dart integration. * - * See: https://github.com/flutter/flutter/blob/master/docs/ecosystem/testing/Plugin-Tests.md#enabling-android-ui-tests + * See: + * https://github.com/flutter/flutter/blob/master/docs/ecosystem/testing/Plugin-Tests.md#enabling-android-ui-tests * for more information. */ @Retention(AnnotationRetention.RUNTIME) diff --git a/packages/camera/camera_android_camerax/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt b/packages/camera/camera_android_camerax/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt index be4c65af852c..6b025ff36fba 100644 --- a/packages/camera/camera_android_camerax/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt +++ b/packages/camera/camera_android_camerax/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt @@ -5,10 +5,11 @@ package io.flutter.plugins /** - * Annotation to aid repository tooling in determining if a test is - * a native java unit test or a java class with a dart integration. + * Annotation to aid repository tooling in determining if a test is a native java unit test or a + * java class with a dart integration. * - * See: https://github.com/flutter/flutter/blob/master/docs/ecosystem/testing/Plugin-Tests.md#enabling-android-ui-tests + * See: + * https://github.com/flutter/flutter/blob/master/docs/ecosystem/testing/Plugin-Tests.md#enabling-android-ui-tests * for more information. */ @Retention(AnnotationRetention.RUNTIME) diff --git a/packages/espresso/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt b/packages/espresso/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt index be4c65af852c..6b025ff36fba 100644 --- a/packages/espresso/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt +++ b/packages/espresso/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt @@ -5,10 +5,11 @@ package io.flutter.plugins /** - * Annotation to aid repository tooling in determining if a test is - * a native java unit test or a java class with a dart integration. + * Annotation to aid repository tooling in determining if a test is a native java unit test or a + * java class with a dart integration. * - * See: https://github.com/flutter/flutter/blob/master/docs/ecosystem/testing/Plugin-Tests.md#enabling-android-ui-tests + * See: + * https://github.com/flutter/flutter/blob/master/docs/ecosystem/testing/Plugin-Tests.md#enabling-android-ui-tests * for more information. */ @Retention(AnnotationRetention.RUNTIME) diff --git a/packages/espresso/example/android/app/src/main/kotlin/com/example/espresso_example/MainActivity.kt b/packages/espresso/example/android/app/src/main/kotlin/com/example/espresso_example/MainActivity.kt index 8c455409c2d4..67d735948cbe 100644 --- a/packages/espresso/example/android/app/src/main/kotlin/com/example/espresso_example/MainActivity.kt +++ b/packages/espresso/example/android/app/src/main/kotlin/com/example/espresso_example/MainActivity.kt @@ -5,6 +5,5 @@ package com.example.espresso_example import io.flutter.embedding.android.FlutterActivity -import io.flutter.embedding.engine.FlutterEngine class MainActivity : FlutterActivity() {} diff --git a/packages/file_selector/file_selector_android/example/android/app/src/main/kotlin/io/flutter/plugins/DartIntegrationTest.kt b/packages/file_selector/file_selector_android/example/android/app/src/main/kotlin/io/flutter/plugins/DartIntegrationTest.kt index be4c65af852c..6b025ff36fba 100644 --- a/packages/file_selector/file_selector_android/example/android/app/src/main/kotlin/io/flutter/plugins/DartIntegrationTest.kt +++ b/packages/file_selector/file_selector_android/example/android/app/src/main/kotlin/io/flutter/plugins/DartIntegrationTest.kt @@ -5,10 +5,11 @@ package io.flutter.plugins /** - * Annotation to aid repository tooling in determining if a test is - * a native java unit test or a java class with a dart integration. + * Annotation to aid repository tooling in determining if a test is a native java unit test or a + * java class with a dart integration. * - * See: https://github.com/flutter/flutter/blob/master/docs/ecosystem/testing/Plugin-Tests.md#enabling-android-ui-tests + * See: + * https://github.com/flutter/flutter/blob/master/docs/ecosystem/testing/Plugin-Tests.md#enabling-android-ui-tests * for more information. */ @Retention(AnnotationRetention.RUNTIME) diff --git a/packages/flutter_plugin_android_lifecycle/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt b/packages/flutter_plugin_android_lifecycle/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt index be4c65af852c..6b025ff36fba 100644 --- a/packages/flutter_plugin_android_lifecycle/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt +++ b/packages/flutter_plugin_android_lifecycle/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt @@ -5,10 +5,11 @@ package io.flutter.plugins /** - * Annotation to aid repository tooling in determining if a test is - * a native java unit test or a java class with a dart integration. + * Annotation to aid repository tooling in determining if a test is a native java unit test or a + * java class with a dart integration. * - * See: https://github.com/flutter/flutter/blob/master/docs/ecosystem/testing/Plugin-Tests.md#enabling-android-ui-tests + * See: + * https://github.com/flutter/flutter/blob/master/docs/ecosystem/testing/Plugin-Tests.md#enabling-android-ui-tests * for more information. */ @Retention(AnnotationRetention.RUNTIME) diff --git a/packages/google_maps_flutter/google_maps_flutter/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt b/packages/google_maps_flutter/google_maps_flutter/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt index be4c65af852c..6b025ff36fba 100644 --- a/packages/google_maps_flutter/google_maps_flutter/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt +++ b/packages/google_maps_flutter/google_maps_flutter/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt @@ -5,10 +5,11 @@ package io.flutter.plugins /** - * Annotation to aid repository tooling in determining if a test is - * a native java unit test or a java class with a dart integration. + * Annotation to aid repository tooling in determining if a test is a native java unit test or a + * java class with a dart integration. * - * See: https://github.com/flutter/flutter/blob/master/docs/ecosystem/testing/Plugin-Tests.md#enabling-android-ui-tests + * See: + * https://github.com/flutter/flutter/blob/master/docs/ecosystem/testing/Plugin-Tests.md#enabling-android-ui-tests * for more information. */ @Retention(AnnotationRetention.RUNTIME) diff --git a/packages/google_maps_flutter/google_maps_flutter_android/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt b/packages/google_maps_flutter/google_maps_flutter_android/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt index be4c65af852c..6b025ff36fba 100644 --- a/packages/google_maps_flutter/google_maps_flutter_android/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt +++ b/packages/google_maps_flutter/google_maps_flutter_android/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt @@ -5,10 +5,11 @@ package io.flutter.plugins /** - * Annotation to aid repository tooling in determining if a test is - * a native java unit test or a java class with a dart integration. + * Annotation to aid repository tooling in determining if a test is a native java unit test or a + * java class with a dart integration. * - * See: https://github.com/flutter/flutter/blob/master/docs/ecosystem/testing/Plugin-Tests.md#enabling-android-ui-tests + * See: + * https://github.com/flutter/flutter/blob/master/docs/ecosystem/testing/Plugin-Tests.md#enabling-android-ui-tests * for more information. */ @Retention(AnnotationRetention.RUNTIME) diff --git a/packages/google_sign_in/google_sign_in/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt b/packages/google_sign_in/google_sign_in/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt index be4c65af852c..6b025ff36fba 100644 --- a/packages/google_sign_in/google_sign_in/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt +++ b/packages/google_sign_in/google_sign_in/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt @@ -5,10 +5,11 @@ package io.flutter.plugins /** - * Annotation to aid repository tooling in determining if a test is - * a native java unit test or a java class with a dart integration. + * Annotation to aid repository tooling in determining if a test is a native java unit test or a + * java class with a dart integration. * - * See: https://github.com/flutter/flutter/blob/master/docs/ecosystem/testing/Plugin-Tests.md#enabling-android-ui-tests + * See: + * https://github.com/flutter/flutter/blob/master/docs/ecosystem/testing/Plugin-Tests.md#enabling-android-ui-tests * for more information. */ @Retention(AnnotationRetention.RUNTIME) diff --git a/packages/google_sign_in/google_sign_in_android/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt b/packages/google_sign_in/google_sign_in_android/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt index be4c65af852c..6b025ff36fba 100644 --- a/packages/google_sign_in/google_sign_in_android/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt +++ b/packages/google_sign_in/google_sign_in_android/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt @@ -5,10 +5,11 @@ package io.flutter.plugins /** - * Annotation to aid repository tooling in determining if a test is - * a native java unit test or a java class with a dart integration. + * Annotation to aid repository tooling in determining if a test is a native java unit test or a + * java class with a dart integration. * - * See: https://github.com/flutter/flutter/blob/master/docs/ecosystem/testing/Plugin-Tests.md#enabling-android-ui-tests + * See: + * https://github.com/flutter/flutter/blob/master/docs/ecosystem/testing/Plugin-Tests.md#enabling-android-ui-tests * for more information. */ @Retention(AnnotationRetention.RUNTIME) diff --git a/packages/image_picker/image_picker/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt b/packages/image_picker/image_picker/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt index be4c65af852c..6b025ff36fba 100644 --- a/packages/image_picker/image_picker/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt +++ b/packages/image_picker/image_picker/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt @@ -5,10 +5,11 @@ package io.flutter.plugins /** - * Annotation to aid repository tooling in determining if a test is - * a native java unit test or a java class with a dart integration. + * Annotation to aid repository tooling in determining if a test is a native java unit test or a + * java class with a dart integration. * - * See: https://github.com/flutter/flutter/blob/master/docs/ecosystem/testing/Plugin-Tests.md#enabling-android-ui-tests + * See: + * https://github.com/flutter/flutter/blob/master/docs/ecosystem/testing/Plugin-Tests.md#enabling-android-ui-tests * for more information. */ @Retention(AnnotationRetention.RUNTIME) diff --git a/packages/image_picker/image_picker_android/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt b/packages/image_picker/image_picker_android/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt index be4c65af852c..6b025ff36fba 100644 --- a/packages/image_picker/image_picker_android/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt +++ b/packages/image_picker/image_picker_android/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt @@ -5,10 +5,11 @@ package io.flutter.plugins /** - * Annotation to aid repository tooling in determining if a test is - * a native java unit test or a java class with a dart integration. + * Annotation to aid repository tooling in determining if a test is a native java unit test or a + * java class with a dart integration. * - * See: https://github.com/flutter/flutter/blob/master/docs/ecosystem/testing/Plugin-Tests.md#enabling-android-ui-tests + * See: + * https://github.com/flutter/flutter/blob/master/docs/ecosystem/testing/Plugin-Tests.md#enabling-android-ui-tests * for more information. */ @Retention(AnnotationRetention.RUNTIME) diff --git a/packages/in_app_purchase/in_app_purchase/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt b/packages/in_app_purchase/in_app_purchase/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt index be4c65af852c..6b025ff36fba 100644 --- a/packages/in_app_purchase/in_app_purchase/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt +++ b/packages/in_app_purchase/in_app_purchase/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt @@ -5,10 +5,11 @@ package io.flutter.plugins /** - * Annotation to aid repository tooling in determining if a test is - * a native java unit test or a java class with a dart integration. + * Annotation to aid repository tooling in determining if a test is a native java unit test or a + * java class with a dart integration. * - * See: https://github.com/flutter/flutter/blob/master/docs/ecosystem/testing/Plugin-Tests.md#enabling-android-ui-tests + * See: + * https://github.com/flutter/flutter/blob/master/docs/ecosystem/testing/Plugin-Tests.md#enabling-android-ui-tests * for more information. */ @Retention(AnnotationRetention.RUNTIME) diff --git a/packages/in_app_purchase/in_app_purchase_android/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt b/packages/in_app_purchase/in_app_purchase_android/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt index be4c65af852c..6b025ff36fba 100644 --- a/packages/in_app_purchase/in_app_purchase_android/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt +++ b/packages/in_app_purchase/in_app_purchase_android/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt @@ -5,10 +5,11 @@ package io.flutter.plugins /** - * Annotation to aid repository tooling in determining if a test is - * a native java unit test or a java class with a dart integration. + * Annotation to aid repository tooling in determining if a test is a native java unit test or a + * java class with a dart integration. * - * See: https://github.com/flutter/flutter/blob/master/docs/ecosystem/testing/Plugin-Tests.md#enabling-android-ui-tests + * See: + * https://github.com/flutter/flutter/blob/master/docs/ecosystem/testing/Plugin-Tests.md#enabling-android-ui-tests * for more information. */ @Retention(AnnotationRetention.RUNTIME) diff --git a/packages/local_auth/local_auth/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt b/packages/local_auth/local_auth/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt index be4c65af852c..6b025ff36fba 100644 --- a/packages/local_auth/local_auth/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt +++ b/packages/local_auth/local_auth/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt @@ -5,10 +5,11 @@ package io.flutter.plugins /** - * Annotation to aid repository tooling in determining if a test is - * a native java unit test or a java class with a dart integration. + * Annotation to aid repository tooling in determining if a test is a native java unit test or a + * java class with a dart integration. * - * See: https://github.com/flutter/flutter/blob/master/docs/ecosystem/testing/Plugin-Tests.md#enabling-android-ui-tests + * See: + * https://github.com/flutter/flutter/blob/master/docs/ecosystem/testing/Plugin-Tests.md#enabling-android-ui-tests * for more information. */ @Retention(AnnotationRetention.RUNTIME) diff --git a/packages/local_auth/local_auth_android/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt b/packages/local_auth/local_auth_android/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt index be4c65af852c..6b025ff36fba 100644 --- a/packages/local_auth/local_auth_android/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt +++ b/packages/local_auth/local_auth_android/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt @@ -5,10 +5,11 @@ package io.flutter.plugins /** - * Annotation to aid repository tooling in determining if a test is - * a native java unit test or a java class with a dart integration. + * Annotation to aid repository tooling in determining if a test is a native java unit test or a + * java class with a dart integration. * - * See: https://github.com/flutter/flutter/blob/master/docs/ecosystem/testing/Plugin-Tests.md#enabling-android-ui-tests + * See: + * https://github.com/flutter/flutter/blob/master/docs/ecosystem/testing/Plugin-Tests.md#enabling-android-ui-tests * for more information. */ @Retention(AnnotationRetention.RUNTIME) diff --git a/packages/path_provider/path_provider/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt b/packages/path_provider/path_provider/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt index be4c65af852c..6b025ff36fba 100644 --- a/packages/path_provider/path_provider/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt +++ b/packages/path_provider/path_provider/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt @@ -5,10 +5,11 @@ package io.flutter.plugins /** - * Annotation to aid repository tooling in determining if a test is - * a native java unit test or a java class with a dart integration. + * Annotation to aid repository tooling in determining if a test is a native java unit test or a + * java class with a dart integration. * - * See: https://github.com/flutter/flutter/blob/master/docs/ecosystem/testing/Plugin-Tests.md#enabling-android-ui-tests + * See: + * https://github.com/flutter/flutter/blob/master/docs/ecosystem/testing/Plugin-Tests.md#enabling-android-ui-tests * for more information. */ @Retention(AnnotationRetention.RUNTIME) diff --git a/packages/path_provider/path_provider_android/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt b/packages/path_provider/path_provider_android/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt index be4c65af852c..6b025ff36fba 100644 --- a/packages/path_provider/path_provider_android/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt +++ b/packages/path_provider/path_provider_android/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt @@ -5,10 +5,11 @@ package io.flutter.plugins /** - * Annotation to aid repository tooling in determining if a test is - * a native java unit test or a java class with a dart integration. + * Annotation to aid repository tooling in determining if a test is a native java unit test or a + * java class with a dart integration. * - * See: https://github.com/flutter/flutter/blob/master/docs/ecosystem/testing/Plugin-Tests.md#enabling-android-ui-tests + * See: + * https://github.com/flutter/flutter/blob/master/docs/ecosystem/testing/Plugin-Tests.md#enabling-android-ui-tests * for more information. */ @Retention(AnnotationRetention.RUNTIME) diff --git a/packages/quick_actions/quick_actions/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt b/packages/quick_actions/quick_actions/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt index be4c65af852c..6b025ff36fba 100644 --- a/packages/quick_actions/quick_actions/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt +++ b/packages/quick_actions/quick_actions/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt @@ -5,10 +5,11 @@ package io.flutter.plugins /** - * Annotation to aid repository tooling in determining if a test is - * a native java unit test or a java class with a dart integration. + * Annotation to aid repository tooling in determining if a test is a native java unit test or a + * java class with a dart integration. * - * See: https://github.com/flutter/flutter/blob/master/docs/ecosystem/testing/Plugin-Tests.md#enabling-android-ui-tests + * See: + * https://github.com/flutter/flutter/blob/master/docs/ecosystem/testing/Plugin-Tests.md#enabling-android-ui-tests * for more information. */ @Retention(AnnotationRetention.RUNTIME) diff --git a/packages/quick_actions/quick_actions_android/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt b/packages/quick_actions/quick_actions_android/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt index be4c65af852c..6b025ff36fba 100644 --- a/packages/quick_actions/quick_actions_android/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt +++ b/packages/quick_actions/quick_actions_android/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt @@ -5,10 +5,11 @@ package io.flutter.plugins /** - * Annotation to aid repository tooling in determining if a test is - * a native java unit test or a java class with a dart integration. + * Annotation to aid repository tooling in determining if a test is a native java unit test or a + * java class with a dart integration. * - * See: https://github.com/flutter/flutter/blob/master/docs/ecosystem/testing/Plugin-Tests.md#enabling-android-ui-tests + * See: + * https://github.com/flutter/flutter/blob/master/docs/ecosystem/testing/Plugin-Tests.md#enabling-android-ui-tests * for more information. */ @Retention(AnnotationRetention.RUNTIME) diff --git a/packages/shared_preferences/shared_preferences/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt b/packages/shared_preferences/shared_preferences/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt index be4c65af852c..6b025ff36fba 100644 --- a/packages/shared_preferences/shared_preferences/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt +++ b/packages/shared_preferences/shared_preferences/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt @@ -5,10 +5,11 @@ package io.flutter.plugins /** - * Annotation to aid repository tooling in determining if a test is - * a native java unit test or a java class with a dart integration. + * Annotation to aid repository tooling in determining if a test is a native java unit test or a + * java class with a dart integration. * - * See: https://github.com/flutter/flutter/blob/master/docs/ecosystem/testing/Plugin-Tests.md#enabling-android-ui-tests + * See: + * https://github.com/flutter/flutter/blob/master/docs/ecosystem/testing/Plugin-Tests.md#enabling-android-ui-tests * for more information. */ @Retention(AnnotationRetention.RUNTIME) diff --git a/packages/shared_preferences/shared_preferences_android/example/android/app/src/main/kotlin/io/flutter/plugins/DartIntegrationTest.kt b/packages/shared_preferences/shared_preferences_android/example/android/app/src/main/kotlin/io/flutter/plugins/DartIntegrationTest.kt index be4c65af852c..6b025ff36fba 100644 --- a/packages/shared_preferences/shared_preferences_android/example/android/app/src/main/kotlin/io/flutter/plugins/DartIntegrationTest.kt +++ b/packages/shared_preferences/shared_preferences_android/example/android/app/src/main/kotlin/io/flutter/plugins/DartIntegrationTest.kt @@ -5,10 +5,11 @@ package io.flutter.plugins /** - * Annotation to aid repository tooling in determining if a test is - * a native java unit test or a java class with a dart integration. + * Annotation to aid repository tooling in determining if a test is a native java unit test or a + * java class with a dart integration. * - * See: https://github.com/flutter/flutter/blob/master/docs/ecosystem/testing/Plugin-Tests.md#enabling-android-ui-tests + * See: + * https://github.com/flutter/flutter/blob/master/docs/ecosystem/testing/Plugin-Tests.md#enabling-android-ui-tests * for more information. */ @Retention(AnnotationRetention.RUNTIME) diff --git a/packages/url_launcher/url_launcher/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt b/packages/url_launcher/url_launcher/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt index be4c65af852c..6b025ff36fba 100644 --- a/packages/url_launcher/url_launcher/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt +++ b/packages/url_launcher/url_launcher/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt @@ -5,10 +5,11 @@ package io.flutter.plugins /** - * Annotation to aid repository tooling in determining if a test is - * a native java unit test or a java class with a dart integration. + * Annotation to aid repository tooling in determining if a test is a native java unit test or a + * java class with a dart integration. * - * See: https://github.com/flutter/flutter/blob/master/docs/ecosystem/testing/Plugin-Tests.md#enabling-android-ui-tests + * See: + * https://github.com/flutter/flutter/blob/master/docs/ecosystem/testing/Plugin-Tests.md#enabling-android-ui-tests * for more information. */ @Retention(AnnotationRetention.RUNTIME) diff --git a/packages/url_launcher/url_launcher_android/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt b/packages/url_launcher/url_launcher_android/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt index be4c65af852c..6b025ff36fba 100644 --- a/packages/url_launcher/url_launcher_android/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt +++ b/packages/url_launcher/url_launcher_android/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt @@ -5,10 +5,11 @@ package io.flutter.plugins /** - * Annotation to aid repository tooling in determining if a test is - * a native java unit test or a java class with a dart integration. + * Annotation to aid repository tooling in determining if a test is a native java unit test or a + * java class with a dart integration. * - * See: https://github.com/flutter/flutter/blob/master/docs/ecosystem/testing/Plugin-Tests.md#enabling-android-ui-tests + * See: + * https://github.com/flutter/flutter/blob/master/docs/ecosystem/testing/Plugin-Tests.md#enabling-android-ui-tests * for more information. */ @Retention(AnnotationRetention.RUNTIME) diff --git a/packages/video_player/video_player/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt b/packages/video_player/video_player/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt index be4c65af852c..6b025ff36fba 100644 --- a/packages/video_player/video_player/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt +++ b/packages/video_player/video_player/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt @@ -5,10 +5,11 @@ package io.flutter.plugins /** - * Annotation to aid repository tooling in determining if a test is - * a native java unit test or a java class with a dart integration. + * Annotation to aid repository tooling in determining if a test is a native java unit test or a + * java class with a dart integration. * - * See: https://github.com/flutter/flutter/blob/master/docs/ecosystem/testing/Plugin-Tests.md#enabling-android-ui-tests + * See: + * https://github.com/flutter/flutter/blob/master/docs/ecosystem/testing/Plugin-Tests.md#enabling-android-ui-tests * for more information. */ @Retention(AnnotationRetention.RUNTIME) diff --git a/packages/video_player/video_player_android/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt b/packages/video_player/video_player_android/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt index be4c65af852c..6b025ff36fba 100644 --- a/packages/video_player/video_player_android/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt +++ b/packages/video_player/video_player_android/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt @@ -5,10 +5,11 @@ package io.flutter.plugins /** - * Annotation to aid repository tooling in determining if a test is - * a native java unit test or a java class with a dart integration. + * Annotation to aid repository tooling in determining if a test is a native java unit test or a + * java class with a dart integration. * - * See: https://github.com/flutter/flutter/blob/master/docs/ecosystem/testing/Plugin-Tests.md#enabling-android-ui-tests + * See: + * https://github.com/flutter/flutter/blob/master/docs/ecosystem/testing/Plugin-Tests.md#enabling-android-ui-tests * for more information. */ @Retention(AnnotationRetention.RUNTIME) diff --git a/packages/webview_flutter/webview_flutter/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt b/packages/webview_flutter/webview_flutter/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt index be4c65af852c..6b025ff36fba 100644 --- a/packages/webview_flutter/webview_flutter/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt +++ b/packages/webview_flutter/webview_flutter/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt @@ -5,10 +5,11 @@ package io.flutter.plugins /** - * Annotation to aid repository tooling in determining if a test is - * a native java unit test or a java class with a dart integration. + * Annotation to aid repository tooling in determining if a test is a native java unit test or a + * java class with a dart integration. * - * See: https://github.com/flutter/flutter/blob/master/docs/ecosystem/testing/Plugin-Tests.md#enabling-android-ui-tests + * See: + * https://github.com/flutter/flutter/blob/master/docs/ecosystem/testing/Plugin-Tests.md#enabling-android-ui-tests * for more information. */ @Retention(AnnotationRetention.RUNTIME) diff --git a/packages/webview_flutter/webview_flutter_android/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt b/packages/webview_flutter/webview_flutter_android/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt index be4c65af852c..6b025ff36fba 100644 --- a/packages/webview_flutter/webview_flutter_android/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt +++ b/packages/webview_flutter/webview_flutter_android/example/android/app/src/androidTest/kotlin/io/flutter/plugins/DartIntegrationTest.kt @@ -5,10 +5,11 @@ package io.flutter.plugins /** - * Annotation to aid repository tooling in determining if a test is - * a native java unit test or a java class with a dart integration. + * Annotation to aid repository tooling in determining if a test is a native java unit test or a + * java class with a dart integration. * - * See: https://github.com/flutter/flutter/blob/master/docs/ecosystem/testing/Plugin-Tests.md#enabling-android-ui-tests + * See: + * https://github.com/flutter/flutter/blob/master/docs/ecosystem/testing/Plugin-Tests.md#enabling-android-ui-tests * for more information. */ @Retention(AnnotationRetention.RUNTIME) From 7e68800eec64230eb532fbefb60e34a91942e3e6 Mon Sep 17 00:00:00 2001 From: Stuart Morgan Date: Tue, 14 Jul 2026 16:05:43 -0400 Subject: [PATCH 4/6] Add JvmField annotations --- .../flutter/plugins/googlemapsexample/GoogleMapsTestActivity.kt | 2 +- .../flutter/plugins/googlemapsexample/GoogleMapsTestActivity.kt | 2 +- .../plugins/googlesigninexample/GoogleSignInTestActivity.kt | 2 +- .../plugins/googlesigninexample/GoogleSignInTestActivity.kt | 2 +- .../plugins/imagepickerexample/ImagePickerTestActivity.kt | 2 +- .../plugins/imagepickerexample/ImagePickerTestActivity.kt | 2 +- .../plugins/quickactionsexample/QuickActionsTestActivity.kt | 2 +- .../plugins/quickactionsexample/QuickActionsTestActivity.kt | 2 +- .../plugins/webviewflutterexample/WebViewTestActivity.kt | 2 +- .../plugins/webviewflutterexample/WebViewTestActivity.kt | 2 +- 10 files changed, 10 insertions(+), 10 deletions(-) diff --git a/packages/google_maps_flutter/google_maps_flutter/example/android/app/src/debug/kotlin/io/flutter/plugins/googlemapsexample/GoogleMapsTestActivity.kt b/packages/google_maps_flutter/google_maps_flutter/example/android/app/src/debug/kotlin/io/flutter/plugins/googlemapsexample/GoogleMapsTestActivity.kt index c755f53a4d9b..7a4c7e392c13 100644 --- a/packages/google_maps_flutter/google_maps_flutter/example/android/app/src/debug/kotlin/io/flutter/plugins/googlemapsexample/GoogleMapsTestActivity.kt +++ b/packages/google_maps_flutter/google_maps_flutter/example/android/app/src/debug/kotlin/io/flutter/plugins/googlemapsexample/GoogleMapsTestActivity.kt @@ -9,7 +9,7 @@ import io.flutter.embedding.engine.FlutterEngine // Makes the FlutterEngine accessible for testing. class GoogleMapsTestActivity : FlutterActivity() { - var engine: FlutterEngine? = null + @JvmField var engine: FlutterEngine? = null override fun configureFlutterEngine(flutterEngine: FlutterEngine) { super.configureFlutterEngine(flutterEngine) diff --git a/packages/google_maps_flutter/google_maps_flutter_android/example/android/app/src/debug/kotlin/io/flutter/plugins/googlemapsexample/GoogleMapsTestActivity.kt b/packages/google_maps_flutter/google_maps_flutter_android/example/android/app/src/debug/kotlin/io/flutter/plugins/googlemapsexample/GoogleMapsTestActivity.kt index c755f53a4d9b..7a4c7e392c13 100644 --- a/packages/google_maps_flutter/google_maps_flutter_android/example/android/app/src/debug/kotlin/io/flutter/plugins/googlemapsexample/GoogleMapsTestActivity.kt +++ b/packages/google_maps_flutter/google_maps_flutter_android/example/android/app/src/debug/kotlin/io/flutter/plugins/googlemapsexample/GoogleMapsTestActivity.kt @@ -9,7 +9,7 @@ import io.flutter.embedding.engine.FlutterEngine // Makes the FlutterEngine accessible for testing. class GoogleMapsTestActivity : FlutterActivity() { - var engine: FlutterEngine? = null + @JvmField var engine: FlutterEngine? = null override fun configureFlutterEngine(flutterEngine: FlutterEngine) { super.configureFlutterEngine(flutterEngine) diff --git a/packages/google_sign_in/google_sign_in/example/android/app/src/main/kotlin/io/flutter/plugins/googlesigninexample/GoogleSignInTestActivity.kt b/packages/google_sign_in/google_sign_in/example/android/app/src/main/kotlin/io/flutter/plugins/googlesigninexample/GoogleSignInTestActivity.kt index bb4c8edceb5e..da85db04dfb5 100644 --- a/packages/google_sign_in/google_sign_in/example/android/app/src/main/kotlin/io/flutter/plugins/googlesigninexample/GoogleSignInTestActivity.kt +++ b/packages/google_sign_in/google_sign_in/example/android/app/src/main/kotlin/io/flutter/plugins/googlesigninexample/GoogleSignInTestActivity.kt @@ -9,7 +9,7 @@ import io.flutter.embedding.engine.FlutterEngine // Makes the FlutterEngine accessible for testing. class GoogleSignInTestActivity : FlutterActivity() { - var engine: FlutterEngine? = null + @JvmField var engine: FlutterEngine? = null override fun configureFlutterEngine(flutterEngine: FlutterEngine) { super.configureFlutterEngine(flutterEngine) diff --git a/packages/google_sign_in/google_sign_in_android/example/android/app/src/main/kotlin/io/flutter/plugins/googlesigninexample/GoogleSignInTestActivity.kt b/packages/google_sign_in/google_sign_in_android/example/android/app/src/main/kotlin/io/flutter/plugins/googlesigninexample/GoogleSignInTestActivity.kt index bb4c8edceb5e..da85db04dfb5 100644 --- a/packages/google_sign_in/google_sign_in_android/example/android/app/src/main/kotlin/io/flutter/plugins/googlesigninexample/GoogleSignInTestActivity.kt +++ b/packages/google_sign_in/google_sign_in_android/example/android/app/src/main/kotlin/io/flutter/plugins/googlesigninexample/GoogleSignInTestActivity.kt @@ -9,7 +9,7 @@ import io.flutter.embedding.engine.FlutterEngine // Makes the FlutterEngine accessible for testing. class GoogleSignInTestActivity : FlutterActivity() { - var engine: FlutterEngine? = null + @JvmField var engine: FlutterEngine? = null override fun configureFlutterEngine(flutterEngine: FlutterEngine) { super.configureFlutterEngine(flutterEngine) diff --git a/packages/image_picker/image_picker/example/android/app/src/main/kotlin/io/flutter/plugins/imagepickerexample/ImagePickerTestActivity.kt b/packages/image_picker/image_picker/example/android/app/src/main/kotlin/io/flutter/plugins/imagepickerexample/ImagePickerTestActivity.kt index 1a7ec77fe1bb..ffba8a58af71 100644 --- a/packages/image_picker/image_picker/example/android/app/src/main/kotlin/io/flutter/plugins/imagepickerexample/ImagePickerTestActivity.kt +++ b/packages/image_picker/image_picker/example/android/app/src/main/kotlin/io/flutter/plugins/imagepickerexample/ImagePickerTestActivity.kt @@ -9,7 +9,7 @@ import io.flutter.embedding.engine.FlutterEngine // Makes the FlutterEngine accessible for testing. class ImagePickerTestActivity : FlutterActivity() { - var engine: FlutterEngine? = null + @JvmField var engine: FlutterEngine? = null override fun configureFlutterEngine(flutterEngine: FlutterEngine) { super.configureFlutterEngine(flutterEngine) diff --git a/packages/image_picker/image_picker_android/example/android/app/src/main/kotlin/io/flutter/plugins/imagepickerexample/ImagePickerTestActivity.kt b/packages/image_picker/image_picker_android/example/android/app/src/main/kotlin/io/flutter/plugins/imagepickerexample/ImagePickerTestActivity.kt index 1a7ec77fe1bb..ffba8a58af71 100644 --- a/packages/image_picker/image_picker_android/example/android/app/src/main/kotlin/io/flutter/plugins/imagepickerexample/ImagePickerTestActivity.kt +++ b/packages/image_picker/image_picker_android/example/android/app/src/main/kotlin/io/flutter/plugins/imagepickerexample/ImagePickerTestActivity.kt @@ -9,7 +9,7 @@ import io.flutter.embedding.engine.FlutterEngine // Makes the FlutterEngine accessible for testing. class ImagePickerTestActivity : FlutterActivity() { - var engine: FlutterEngine? = null + @JvmField var engine: FlutterEngine? = null override fun configureFlutterEngine(flutterEngine: FlutterEngine) { super.configureFlutterEngine(flutterEngine) diff --git a/packages/quick_actions/quick_actions/example/android/app/src/main/kotlin/io/flutter/plugins/quickactionsexample/QuickActionsTestActivity.kt b/packages/quick_actions/quick_actions/example/android/app/src/main/kotlin/io/flutter/plugins/quickactionsexample/QuickActionsTestActivity.kt index cc002432a1d0..9f7056f50974 100644 --- a/packages/quick_actions/quick_actions/example/android/app/src/main/kotlin/io/flutter/plugins/quickactionsexample/QuickActionsTestActivity.kt +++ b/packages/quick_actions/quick_actions/example/android/app/src/main/kotlin/io/flutter/plugins/quickactionsexample/QuickActionsTestActivity.kt @@ -9,7 +9,7 @@ import io.flutter.embedding.engine.FlutterEngine // Makes the FlutterEngine accessible for testing. class QuickActionsTestActivity : FlutterActivity() { - var engine: FlutterEngine? = null + @JvmField var engine: FlutterEngine? = null override fun configureFlutterEngine(flutterEngine: FlutterEngine) { super.configureFlutterEngine(flutterEngine) diff --git a/packages/quick_actions/quick_actions_android/example/android/app/src/main/kotlin/io/flutter/plugins/quickactionsexample/QuickActionsTestActivity.kt b/packages/quick_actions/quick_actions_android/example/android/app/src/main/kotlin/io/flutter/plugins/quickactionsexample/QuickActionsTestActivity.kt index cc002432a1d0..9f7056f50974 100644 --- a/packages/quick_actions/quick_actions_android/example/android/app/src/main/kotlin/io/flutter/plugins/quickactionsexample/QuickActionsTestActivity.kt +++ b/packages/quick_actions/quick_actions_android/example/android/app/src/main/kotlin/io/flutter/plugins/quickactionsexample/QuickActionsTestActivity.kt @@ -9,7 +9,7 @@ import io.flutter.embedding.engine.FlutterEngine // Makes the FlutterEngine accessible for testing. class QuickActionsTestActivity : FlutterActivity() { - var engine: FlutterEngine? = null + @JvmField var engine: FlutterEngine? = null override fun configureFlutterEngine(flutterEngine: FlutterEngine) { super.configureFlutterEngine(flutterEngine) diff --git a/packages/webview_flutter/webview_flutter/example/android/app/src/main/kotlin/io/flutter/plugins/webviewflutterexample/WebViewTestActivity.kt b/packages/webview_flutter/webview_flutter/example/android/app/src/main/kotlin/io/flutter/plugins/webviewflutterexample/WebViewTestActivity.kt index 8e8ac1b294fd..28ef871de927 100644 --- a/packages/webview_flutter/webview_flutter/example/android/app/src/main/kotlin/io/flutter/plugins/webviewflutterexample/WebViewTestActivity.kt +++ b/packages/webview_flutter/webview_flutter/example/android/app/src/main/kotlin/io/flutter/plugins/webviewflutterexample/WebViewTestActivity.kt @@ -9,7 +9,7 @@ import io.flutter.embedding.engine.FlutterEngine // Extends FlutterActivity to make the FlutterEngine accessible for testing. class WebViewTestActivity : FlutterActivity() { - var engine: FlutterEngine? = null + @JvmField var engine: FlutterEngine? = null override fun configureFlutterEngine(flutterEngine: FlutterEngine) { super.configureFlutterEngine(flutterEngine) diff --git a/packages/webview_flutter/webview_flutter_android/example/android/app/src/main/kotlin/io/flutter/plugins/webviewflutterexample/WebViewTestActivity.kt b/packages/webview_flutter/webview_flutter_android/example/android/app/src/main/kotlin/io/flutter/plugins/webviewflutterexample/WebViewTestActivity.kt index 8e8ac1b294fd..28ef871de927 100644 --- a/packages/webview_flutter/webview_flutter_android/example/android/app/src/main/kotlin/io/flutter/plugins/webviewflutterexample/WebViewTestActivity.kt +++ b/packages/webview_flutter/webview_flutter_android/example/android/app/src/main/kotlin/io/flutter/plugins/webviewflutterexample/WebViewTestActivity.kt @@ -9,7 +9,7 @@ import io.flutter.embedding.engine.FlutterEngine // Extends FlutterActivity to make the FlutterEngine accessible for testing. class WebViewTestActivity : FlutterActivity() { - var engine: FlutterEngine? = null + @JvmField var engine: FlutterEngine? = null override fun configureFlutterEngine(flutterEngine: FlutterEngine) { super.configureFlutterEngine(flutterEngine) From 658131169501f821f137d8a4f5b3d9d4221c0b58 Mon Sep 17 00:00:00 2001 From: Stuart Morgan Date: Wed, 15 Jul 2026 10:02:25 -0400 Subject: [PATCH 5/6] Add Java version to path provider example app --- .../example/android/app/build.gradle.kts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/packages/path_provider/path_provider_android/example/android/app/build.gradle.kts b/packages/path_provider/path_provider_android/example/android/app/build.gradle.kts index 38233e1b2442..07a643d04e59 100644 --- a/packages/path_provider/path_provider_android/example/android/app/build.gradle.kts +++ b/packages/path_provider/path_provider_android/example/android/app/build.gradle.kts @@ -7,6 +7,11 @@ android { namespace = "io.flutter.plugins.pathproviderexample" compileSdk = flutter.compileSdkVersion + compileOptions { + sourceCompatibility = JavaVersion.VERSION_17 + targetCompatibility = JavaVersion.VERSION_17 + } + defaultConfig { applicationId = "io.flutter.plugins.pathproviderexample" minSdk = flutter.minSdkVersion From 7e1682bedb666ae8062250ab7cf4439d0a2b32b4 Mon Sep 17 00:00:00 2001 From: Stuart Morgan Date: Wed, 15 Jul 2026 10:08:12 -0400 Subject: [PATCH 6/6] Gemini review --- .../main/kotlin/com/example/espresso_example/MainActivity.kt | 2 +- .../dev/flutter/plugins/file_selector_example/MainActivity.kt | 2 +- .../alternate_language_test_plugin_example/MainActivity.kt | 2 +- .../main/kotlin/com/example/test_plugin_example/MainActivity.kt | 2 +- .../plugins/videoplayerexample/DriverExtensionActivity.kt | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/espresso/example/android/app/src/main/kotlin/com/example/espresso_example/MainActivity.kt b/packages/espresso/example/android/app/src/main/kotlin/com/example/espresso_example/MainActivity.kt index 67d735948cbe..8006df4299a0 100644 --- a/packages/espresso/example/android/app/src/main/kotlin/com/example/espresso_example/MainActivity.kt +++ b/packages/espresso/example/android/app/src/main/kotlin/com/example/espresso_example/MainActivity.kt @@ -6,4 +6,4 @@ package com.example.espresso_example import io.flutter.embedding.android.FlutterActivity -class MainActivity : FlutterActivity() {} +class MainActivity : FlutterActivity() diff --git a/packages/file_selector/file_selector/example/android/app/src/main/kotlin/dev/flutter/plugins/file_selector_example/MainActivity.kt b/packages/file_selector/file_selector/example/android/app/src/main/kotlin/dev/flutter/plugins/file_selector_example/MainActivity.kt index 83755ddc1eac..beab21cf55b9 100644 --- a/packages/file_selector/file_selector/example/android/app/src/main/kotlin/dev/flutter/plugins/file_selector_example/MainActivity.kt +++ b/packages/file_selector/file_selector/example/android/app/src/main/kotlin/dev/flutter/plugins/file_selector_example/MainActivity.kt @@ -6,4 +6,4 @@ package dev.flutter.plugins.file_selector_example import io.flutter.embedding.android.FlutterActivity -class MainActivity : FlutterActivity() {} +class MainActivity : FlutterActivity() diff --git a/packages/pigeon/platform_tests/alternate_language_test_plugin/example/android/app/src/main/kotlin/com/example/alternate_language_test_plugin_example/MainActivity.kt b/packages/pigeon/platform_tests/alternate_language_test_plugin/example/android/app/src/main/kotlin/com/example/alternate_language_test_plugin_example/MainActivity.kt index b1a5de852caa..eb3467876e6c 100644 --- a/packages/pigeon/platform_tests/alternate_language_test_plugin/example/android/app/src/main/kotlin/com/example/alternate_language_test_plugin_example/MainActivity.kt +++ b/packages/pigeon/platform_tests/alternate_language_test_plugin/example/android/app/src/main/kotlin/com/example/alternate_language_test_plugin_example/MainActivity.kt @@ -6,4 +6,4 @@ package com.example.alternate_language_test_plugin_example import io.flutter.embedding.android.FlutterActivity -class MainActivity : FlutterActivity() {} +class MainActivity : FlutterActivity() diff --git a/packages/pigeon/platform_tests/test_plugin/example/android/app/src/main/kotlin/com/example/test_plugin_example/MainActivity.kt b/packages/pigeon/platform_tests/test_plugin/example/android/app/src/main/kotlin/com/example/test_plugin_example/MainActivity.kt index 97a28981c1b6..6d59e01bc5e1 100644 --- a/packages/pigeon/platform_tests/test_plugin/example/android/app/src/main/kotlin/com/example/test_plugin_example/MainActivity.kt +++ b/packages/pigeon/platform_tests/test_plugin/example/android/app/src/main/kotlin/com/example/test_plugin_example/MainActivity.kt @@ -6,4 +6,4 @@ package com.example.test_plugin_example import io.flutter.embedding.android.FlutterActivity -class MainActivity : FlutterActivity() {} +class MainActivity : FlutterActivity() diff --git a/packages/video_player/video_player_android/example/android/app/src/main/kotlin/io/flutter/plugins/videoplayerexample/DriverExtensionActivity.kt b/packages/video_player/video_player_android/example/android/app/src/main/kotlin/io/flutter/plugins/videoplayerexample/DriverExtensionActivity.kt index 7c8f727ca81b..3dd6db861208 100644 --- a/packages/video_player/video_player_android/example/android/app/src/main/kotlin/io/flutter/plugins/videoplayerexample/DriverExtensionActivity.kt +++ b/packages/video_player/video_player_android/example/android/app/src/main/kotlin/io/flutter/plugins/videoplayerexample/DriverExtensionActivity.kt @@ -7,4 +7,4 @@ package io.flutter.plugins.videoplayerexample import io.flutter.embedding.android.FlutterActivity /** Test Activity that sets the name of the Dart method entrypoint in the manifest. */ -class DriverExtensionActivity : FlutterActivity() {} +class DriverExtensionActivity : FlutterActivity()