From 132e298335ccdbaffb894921b3fc3ec7507793e2 Mon Sep 17 00:00:00 2001 From: Matan Lurey Date: Wed, 8 Jan 2025 12:28:38 -0800 Subject: [PATCH] Rename `native_driver` to `android_{driver_extensions|engine_test}` (#161263) Towards https://github.com/flutter/flutter/issues/161261 (before I add more tests). This is a 1:1 move, with massaging of `run_flutter_driver_android_tests.dart` to be more automated as tests are added. /cc @reidbaker --- .../run_flutter_driver_android_tests.dart | 56 +- .../.metadata | 0 .../README.md | 8 +- .../android/.gitignore | 0 .../android/app/build.gradle | 4 +- .../android/app/src/debug/AndroidManifest.xml | 0 .../android/app/src/main/AndroidManifest.xml | 2 +- .../native_driver_test/MainActivity.kt | 10 +- .../extensions/NativeDriverSupportPlugin.kt | 2 +- .../extensions/NativeSelector.kt | 2 +- .../BlueOrangeGradientPlatformViewFactory.kt | 2 +- .../ChangingColorButtonPlatformViewFactory.kt | 2 +- .../fixtures/SmileyFaceTexturePlugin.kt | 2 +- .../res/drawable-v21/launch_background.xml | 0 .../main/res/drawable/launch_background.xml | 0 .../src/main/res/mipmap-hdpi/ic_launcher.png | Bin .../src/main/res/mipmap-mdpi/ic_launcher.png | Bin .../src/main/res/mipmap-xhdpi/ic_launcher.png | Bin .../main/res/mipmap-xxhdpi/ic_launcher.png | Bin .../main/res/mipmap-xxxhdpi/ic_launcher.png | Bin .../app/src/main/res/values-night/styles.xml | 0 .../app/src/main/res/values/styles.xml | 0 .../app/src/profile/AndroidManifest.xml | 0 .../android/build.gradle | 0 .../android/gradle.properties | 0 .../gradle/wrapper/gradle-wrapper.properties | 0 .../android/settings.gradle | 0 .../external_texture_smiley_face_main.dart | 2 +- .../flutter_rendered_blue_rectangle_main.dart | 2 +- ...atform_view_blue_orange_gradient_main.dart | 2 +- .../platform_view_tap_color_change_main.dart | 2 +- .../lib/src/allow_list_devices.dart | 0 .../pubspec.yaml | 6 +- .../test_driver/.gitignore | 0 .../test_driver/_luci_skia_gold_prelude.dart | 0 ...xternal_texture_smiley_face_main_test.dart | 6 +- ...ter_rendered_blue_rectangle_main_test.dart | 4 +- ...m_view_blue_orange_gradient_main_test.dart | 4 +- ...tform_view_tap_color_change_main_test.dart | 4 +- .../native_driver_test/ios/.gitignore | 34 - .../ios/Flutter/AppFrameworkInfo.plist | 26 - .../ios/Flutter/Debug.xcconfig | 1 - .../ios/Flutter/Release.xcconfig | 1 - .../ios/Runner.xcodeproj/project.pbxproj | 619 ------------------ .../contents.xcworkspacedata | 7 - .../xcshareddata/IDEWorkspaceChecks.plist | 8 - .../xcshareddata/WorkspaceSettings.xcsettings | 8 - .../xcshareddata/xcschemes/Runner.xcscheme | 98 --- .../contents.xcworkspacedata | 7 - .../xcshareddata/IDEWorkspaceChecks.plist | 8 - .../xcshareddata/WorkspaceSettings.xcsettings | 8 - .../ios/Runner/AppDelegate.swift | 17 - .../AppIcon.appiconset/Contents.json | 7 - .../LaunchImage.imageset/Contents.json | 7 - .../Runner/Base.lproj/LaunchScreen.storyboard | 37 -- .../ios/Runner/Base.lproj/Main.storyboard | 26 - .../native_driver_test/ios/Runner/Info.plist | 49 -- .../ios/Runner/Runner-Bridging-Header.h | 5 - .../README.md | 10 +- .../lib/extension.dart | 0 .../lib/native_driver.dart | 0 .../lib/skia_gold.dart | 0 .../lib/src/backend/android.dart | 0 .../lib/src/backend/android/adb.dart | 0 .../lib/src/backend/android/driver.dart | 0 .../lib/src/common.dart | 0 .../lib/src/driver.dart | 0 .../lib/src/goldens.dart | 0 .../pubspec.yaml | 2 +- .../test/adb_fake_io_test.dart | 2 +- .../test/android_driver_fake_test.dart | 2 +- .../test/src/fake_adb.dart | 2 +- .../test/src/fake_driver.dart | 0 .../test/src/fake_process_manager.dart | 0 74 files changed, 62 insertions(+), 1051 deletions(-) rename dev/integration_tests/{native_driver_test => android_engine_test}/.metadata (100%) rename dev/integration_tests/{native_driver_test => android_engine_test}/README.md (84%) rename dev/integration_tests/{native_driver_test => android_engine_test}/android/.gitignore (100%) rename dev/integration_tests/{native_driver_test => android_engine_test}/android/app/build.gradle (94%) rename dev/integration_tests/{native_driver_test => android_engine_test}/android/app/src/debug/AndroidManifest.xml (100%) rename dev/integration_tests/{native_driver_test => android_engine_test}/android/app/src/main/AndroidManifest.xml (98%) rename dev/integration_tests/{native_driver_test => android_engine_test}/android/app/src/main/kotlin/com/example/native_driver_test/MainActivity.kt (82%) rename dev/integration_tests/{native_driver_test => android_engine_test}/android/app/src/main/kotlin/com/example/native_driver_test/extensions/NativeDriverSupportPlugin.kt (98%) rename dev/integration_tests/{native_driver_test => android_engine_test}/android/app/src/main/kotlin/com/example/native_driver_test/extensions/NativeSelector.kt (97%) rename dev/integration_tests/{native_driver_test => android_engine_test}/android/app/src/main/kotlin/com/example/native_driver_test/fixtures/BlueOrangeGradientPlatformViewFactory.kt (97%) rename dev/integration_tests/{native_driver_test => android_engine_test}/android/app/src/main/kotlin/com/example/native_driver_test/fixtures/ChangingColorButtonPlatformViewFactory.kt (97%) rename dev/integration_tests/{native_driver_test => android_engine_test}/android/app/src/main/kotlin/com/example/native_driver_test/fixtures/SmileyFaceTexturePlugin.kt (98%) rename dev/integration_tests/{native_driver_test => android_engine_test}/android/app/src/main/res/drawable-v21/launch_background.xml (100%) rename dev/integration_tests/{native_driver_test => android_engine_test}/android/app/src/main/res/drawable/launch_background.xml (100%) rename dev/integration_tests/{native_driver_test => android_engine_test}/android/app/src/main/res/mipmap-hdpi/ic_launcher.png (100%) rename dev/integration_tests/{native_driver_test => android_engine_test}/android/app/src/main/res/mipmap-mdpi/ic_launcher.png (100%) rename dev/integration_tests/{native_driver_test => android_engine_test}/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png (100%) rename dev/integration_tests/{native_driver_test => android_engine_test}/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png (100%) rename dev/integration_tests/{native_driver_test => android_engine_test}/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png (100%) rename dev/integration_tests/{native_driver_test => android_engine_test}/android/app/src/main/res/values-night/styles.xml (100%) rename dev/integration_tests/{native_driver_test => android_engine_test}/android/app/src/main/res/values/styles.xml (100%) rename dev/integration_tests/{native_driver_test => android_engine_test}/android/app/src/profile/AndroidManifest.xml (100%) rename dev/integration_tests/{native_driver_test => android_engine_test}/android/build.gradle (100%) rename dev/integration_tests/{native_driver_test => android_engine_test}/android/gradle.properties (100%) rename dev/integration_tests/{native_driver_test => android_engine_test}/android/gradle/wrapper/gradle-wrapper.properties (100%) rename dev/integration_tests/{native_driver_test => android_engine_test}/android/settings.gradle (100%) rename dev/integration_tests/{native_driver_test => android_engine_test}/lib/external_texture_smiley_face_main.dart (96%) rename dev/integration_tests/{native_driver_test => android_engine_test}/lib/flutter_rendered_blue_rectangle_main.dart (93%) rename dev/integration_tests/{native_driver_test => android_engine_test}/lib/platform_view_blue_orange_gradient_main.dart (93%) rename dev/integration_tests/{native_driver_test => android_engine_test}/lib/platform_view_tap_color_change_main.dart (93%) rename dev/integration_tests/{native_driver_test => android_engine_test}/lib/src/allow_list_devices.dart (100%) rename dev/integration_tests/{native_driver_test => android_engine_test}/pubspec.yaml (98%) rename dev/integration_tests/{native_driver_test => android_engine_test}/test_driver/.gitignore (100%) rename dev/integration_tests/{native_driver_test => android_engine_test}/test_driver/_luci_skia_gold_prelude.dart (100%) rename dev/integration_tests/{native_driver_test => android_engine_test}/test_driver/external_texture_smiley_face_main_test.dart (89%) rename dev/integration_tests/{native_driver_test => android_engine_test}/test_driver/flutter_rendered_blue_rectangle_main_test.dart (90%) rename dev/integration_tests/{native_driver_test => android_engine_test}/test_driver/platform_view_blue_orange_gradient_main_test.dart (93%) rename dev/integration_tests/{native_driver_test => android_engine_test}/test_driver/platform_view_tap_color_change_main_test.dart (92%) delete mode 100644 dev/integration_tests/native_driver_test/ios/.gitignore delete mode 100644 dev/integration_tests/native_driver_test/ios/Flutter/AppFrameworkInfo.plist delete mode 100644 dev/integration_tests/native_driver_test/ios/Flutter/Debug.xcconfig delete mode 100644 dev/integration_tests/native_driver_test/ios/Flutter/Release.xcconfig delete mode 100644 dev/integration_tests/native_driver_test/ios/Runner.xcodeproj/project.pbxproj delete mode 100644 dev/integration_tests/native_driver_test/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata delete mode 100644 dev/integration_tests/native_driver_test/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist delete mode 100644 dev/integration_tests/native_driver_test/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings delete mode 100644 dev/integration_tests/native_driver_test/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme delete mode 100644 dev/integration_tests/native_driver_test/ios/Runner.xcworkspace/contents.xcworkspacedata delete mode 100644 dev/integration_tests/native_driver_test/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist delete mode 100644 dev/integration_tests/native_driver_test/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings delete mode 100644 dev/integration_tests/native_driver_test/ios/Runner/AppDelegate.swift delete mode 100644 dev/integration_tests/native_driver_test/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json delete mode 100644 dev/integration_tests/native_driver_test/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json delete mode 100644 dev/integration_tests/native_driver_test/ios/Runner/Base.lproj/LaunchScreen.storyboard delete mode 100644 dev/integration_tests/native_driver_test/ios/Runner/Base.lproj/Main.storyboard delete mode 100644 dev/integration_tests/native_driver_test/ios/Runner/Info.plist delete mode 100644 dev/integration_tests/native_driver_test/ios/Runner/Runner-Bridging-Header.h rename dev/tools/{native_driver => android_driver_extensions}/README.md (65%) rename dev/tools/{native_driver => android_driver_extensions}/lib/extension.dart (100%) rename dev/tools/{native_driver => android_driver_extensions}/lib/native_driver.dart (100%) rename dev/tools/{native_driver => android_driver_extensions}/lib/skia_gold.dart (100%) rename dev/tools/{native_driver => android_driver_extensions}/lib/src/backend/android.dart (100%) rename dev/tools/{native_driver => android_driver_extensions}/lib/src/backend/android/adb.dart (100%) rename dev/tools/{native_driver => android_driver_extensions}/lib/src/backend/android/driver.dart (100%) rename dev/tools/{native_driver => android_driver_extensions}/lib/src/common.dart (100%) rename dev/tools/{native_driver => android_driver_extensions}/lib/src/driver.dart (100%) rename dev/tools/{native_driver => android_driver_extensions}/lib/src/goldens.dart (100%) rename dev/tools/{native_driver => android_driver_extensions}/pubspec.yaml (99%) rename dev/tools/{native_driver => android_driver_extensions}/test/adb_fake_io_test.dart (97%) rename dev/tools/{native_driver => android_driver_extensions}/test/android_driver_fake_test.dart (95%) rename dev/tools/{native_driver => android_driver_extensions}/test/src/fake_adb.dart (97%) rename dev/tools/{native_driver => android_driver_extensions}/test/src/fake_driver.dart (100%) rename dev/tools/{native_driver => android_driver_extensions}/test/src/fake_process_manager.dart (100%) diff --git a/dev/bots/suite_runners/run_flutter_driver_android_tests.dart b/dev/bots/suite_runners/run_flutter_driver_android_tests.dart index 8a13a67cdc..78107d5cc5 100644 --- a/dev/bots/suite_runners/run_flutter_driver_android_tests.dart +++ b/dev/bots/suite_runners/run_flutter_driver_android_tests.dart @@ -2,7 +2,11 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +import 'package:file/file.dart'; +import 'package:glob/glob.dart'; +import 'package:glob/list_local_fs.dart'; import 'package:path/path.dart' as path; + import '../run_command.dart'; import '../utils.dart'; @@ -17,44 +21,24 @@ import '../utils.dart'; /// ``` /// /// For debugging, you need to instead run and launch these tests -/// individually _in_ the `dev/integration_tests/native_driver_test` directory. +/// individually _in_ the `dev/integration_tests/android_engine_test` directory. /// Comparisons against goldens cant happen locally. Future runFlutterDriverAndroidTests() async { print('Running Flutter Driver Android tests...'); - await runCommand('flutter', [ - 'drive', - 'lib/flutter_rendered_blue_rectangle_main.dart', - // There are no reason to enable development flags for this test. - // Disable them to work around flakiness issues, and in general just - // make less things start up unnecessarily. - '--no-dds', - '--no-enable-dart-profiling', - '--test-arguments=test', - '--test-arguments=--reporter=expanded', - ], workingDirectory: path.join('dev', 'integration_tests', 'native_driver_test')); - - await runCommand('flutter', [ - 'drive', - 'lib/platform_view_blue_orange_gradient_main.dart', - // There are no reason to enable development flags for this test. - // Disable them to work around flakiness issues, and in general just - // make less things start up unnecessarily. - '--no-dds', - '--no-enable-dart-profiling', - '--test-arguments=test', - '--test-arguments=--reporter=expanded', - ], workingDirectory: path.join('dev', 'integration_tests', 'native_driver_test')); - - await runCommand('flutter', [ - 'drive', - 'lib/external_texture_smiley_face_main.dart', - // There are no reason to enable development flags for this test. - // Disable them to work around flakiness issues, and in general just - // make less things start up unnecessarily. - '--no-dds', - '--no-enable-dart-profiling', - '--test-arguments=test', - '--test-arguments=--reporter=expanded', - ], workingDirectory: path.join('dev', 'integration_tests', 'native_driver_test')); + final String androidEngineTestPath = path.join('dev', 'integration_tests', 'android_engine_test'); + final List mains = Glob('$androidEngineTestPath/lib/**_main.dart').listSync(); + for (final FileSystemEntity file in mains) { + await runCommand('flutter', [ + 'drive', + path.relative(file.path, from: androidEngineTestPath), + // There are no reason to enable development flags for this test. + // Disable them to work around flakiness issues, and in general just + // make less things start up unnecessarily. + '--no-dds', + '--no-enable-dart-profiling', + '--test-arguments=test', + '--test-arguments=--reporter=expanded', + ], workingDirectory: androidEngineTestPath); + } } diff --git a/dev/integration_tests/native_driver_test/.metadata b/dev/integration_tests/android_engine_test/.metadata similarity index 100% rename from dev/integration_tests/native_driver_test/.metadata rename to dev/integration_tests/android_engine_test/.metadata diff --git a/dev/integration_tests/native_driver_test/README.md b/dev/integration_tests/android_engine_test/README.md similarity index 84% rename from dev/integration_tests/native_driver_test/README.md rename to dev/integration_tests/android_engine_test/README.md index 09c03721d5..5e02cd956b 100644 --- a/dev/integration_tests/native_driver_test/README.md +++ b/dev/integration_tests/android_engine_test/README.md @@ -1,14 +1,14 @@ -# native_driver_test +# android_engine_test This directory contains a sample app and tests that demonstrate how to use the (experimental) _native_ Flutter Driver API to drive Flutter apps that run on -Android or iOS devices or emulators, interact with and capture screenshots of -the app, and compare the screenshots against golden images. +Android devices or emulators, interact with and capture screenshots of the app, +and compare the screenshots against golden images. ## Running the apps and tests Each `lib/{prefix}_main.dart` file is a standalone Flutter app that you can run -on an Android or iOS device or emulator: +on an Android device or emulator: ### `flutter_rendered_blue_rectangle` diff --git a/dev/integration_tests/native_driver_test/android/.gitignore b/dev/integration_tests/android_engine_test/android/.gitignore similarity index 100% rename from dev/integration_tests/native_driver_test/android/.gitignore rename to dev/integration_tests/android_engine_test/android/.gitignore diff --git a/dev/integration_tests/native_driver_test/android/app/build.gradle b/dev/integration_tests/android_engine_test/android/app/build.gradle similarity index 94% rename from dev/integration_tests/native_driver_test/android/app/build.gradle rename to dev/integration_tests/android_engine_test/android/app/build.gradle index 4734c2bdd7..84a39cb242 100644 --- a/dev/integration_tests/native_driver_test/android/app/build.gradle +++ b/dev/integration_tests/android_engine_test/android/app/build.gradle @@ -10,7 +10,7 @@ plugins { } android { - namespace = "com.example.native_driver_test" + namespace = "com.example.android_engine_test" compileSdk = flutter.compileSdkVersion // Flutter's CI installs the NDK at a non-standard path. @@ -33,7 +33,7 @@ android { defaultConfig { // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html). - applicationId = "com.example.native_driver_test" + applicationId = "com.example.android_engine_test" // You can update the following values to match your application needs. // For more information, see: https://flutter.dev/to/review-gradle-config. minSdk = flutter.minSdkVersion diff --git a/dev/integration_tests/native_driver_test/android/app/src/debug/AndroidManifest.xml b/dev/integration_tests/android_engine_test/android/app/src/debug/AndroidManifest.xml similarity index 100% rename from dev/integration_tests/native_driver_test/android/app/src/debug/AndroidManifest.xml rename to dev/integration_tests/android_engine_test/android/app/src/debug/AndroidManifest.xml diff --git a/dev/integration_tests/native_driver_test/android/app/src/main/AndroidManifest.xml b/dev/integration_tests/android_engine_test/android/app/src/main/AndroidManifest.xml similarity index 98% rename from dev/integration_tests/native_driver_test/android/app/src/main/AndroidManifest.xml rename to dev/integration_tests/android_engine_test/android/app/src/main/AndroidManifest.xml index c66599875d..9439ec6c91 100644 --- a/dev/integration_tests/native_driver_test/android/app/src/main/AndroidManifest.xml +++ b/dev/integration_tests/android_engine_test/android/app/src/main/AndroidManifest.xml @@ -4,7 +4,7 @@ found in the LICENSE file. --> - - - - CFBundleDevelopmentRegion - en - CFBundleExecutable - App - CFBundleIdentifier - io.flutter.flutter.app - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - App - CFBundlePackageType - FMWK - CFBundleShortVersionString - 1.0 - CFBundleSignature - ???? - CFBundleVersion - 1.0 - MinimumOSVersion - 12.0 - - diff --git a/dev/integration_tests/native_driver_test/ios/Flutter/Debug.xcconfig b/dev/integration_tests/native_driver_test/ios/Flutter/Debug.xcconfig deleted file mode 100644 index 592ceee85b..0000000000 --- a/dev/integration_tests/native_driver_test/ios/Flutter/Debug.xcconfig +++ /dev/null @@ -1 +0,0 @@ -#include "Generated.xcconfig" diff --git a/dev/integration_tests/native_driver_test/ios/Flutter/Release.xcconfig b/dev/integration_tests/native_driver_test/ios/Flutter/Release.xcconfig deleted file mode 100644 index 592ceee85b..0000000000 --- a/dev/integration_tests/native_driver_test/ios/Flutter/Release.xcconfig +++ /dev/null @@ -1 +0,0 @@ -#include "Generated.xcconfig" diff --git a/dev/integration_tests/native_driver_test/ios/Runner.xcodeproj/project.pbxproj b/dev/integration_tests/native_driver_test/ios/Runner.xcodeproj/project.pbxproj deleted file mode 100644 index 8ca05f97f7..0000000000 --- a/dev/integration_tests/native_driver_test/ios/Runner.xcodeproj/project.pbxproj +++ /dev/null @@ -1,619 +0,0 @@ -// !$*UTF8*$! -{ - archiveVersion = 1; - classes = { - }; - objectVersion = 54; - objects = { - -/* Begin PBXBuildFile section */ - 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */ = {isa = PBXBuildFile; fileRef = 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */; }; - 331C808B294A63AB00263BE5 /* RunnerTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 331C807B294A618700263BE5 /* RunnerTests.swift */; }; - 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */ = {isa = PBXBuildFile; fileRef = 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */; }; - 74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 74858FAE1ED2DC5600515810 /* AppDelegate.swift */; }; - 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FA1CF9000F007C117D /* Main.storyboard */; }; - 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FD1CF9000F007C117D /* Assets.xcassets */; }; - 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */; }; -/* End PBXBuildFile section */ - -/* Begin PBXContainerItemProxy section */ - 331C8085294A63A400263BE5 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 97C146E61CF9000F007C117D /* Project object */; - proxyType = 1; - remoteGlobalIDString = 97C146ED1CF9000F007C117D; - remoteInfo = Runner; - }; -/* End PBXContainerItemProxy section */ - -/* Begin PBXCopyFilesBuildPhase section */ - 9705A1C41CF9048500538489 /* Embed Frameworks */ = { - isa = PBXCopyFilesBuildPhase; - buildActionMask = 2147483647; - dstPath = ""; - dstSubfolderSpec = 10; - files = ( - ); - name = "Embed Frameworks"; - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXCopyFilesBuildPhase section */ - -/* Begin PBXFileReference section */ - 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GeneratedPluginRegistrant.h; sourceTree = ""; }; - 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GeneratedPluginRegistrant.m; sourceTree = ""; }; - 331C807B294A618700263BE5 /* RunnerTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = RunnerTests.swift; sourceTree = ""; }; - 331C8081294A63A400263BE5 /* RunnerTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = RunnerTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; - 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = AppFrameworkInfo.plist; path = Flutter/AppFrameworkInfo.plist; sourceTree = ""; }; - 74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Runner-Bridging-Header.h"; sourceTree = ""; }; - 74858FAE1ED2DC5600515810 /* AppDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; - 7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = Release.xcconfig; path = Flutter/Release.xcconfig; sourceTree = ""; }; - 9740EEB21CF90195004384FC /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Debug.xcconfig; path = Flutter/Debug.xcconfig; sourceTree = ""; }; - 9740EEB31CF90195004384FC /* Generated.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Generated.xcconfig; path = Flutter/Generated.xcconfig; sourceTree = ""; }; - 97C146EE1CF9000F007C117D /* Runner.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Runner.app; sourceTree = BUILT_PRODUCTS_DIR; }; - 97C146FB1CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; - 97C146FD1CF9000F007C117D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; - 97C147001CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; - 97C147021CF9000F007C117D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; -/* End PBXFileReference section */ - -/* Begin PBXFrameworksBuildPhase section */ - 97C146EB1CF9000F007C117D /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXFrameworksBuildPhase section */ - -/* Begin PBXGroup section */ - 331C8082294A63A400263BE5 /* RunnerTests */ = { - isa = PBXGroup; - children = ( - 331C807B294A618700263BE5 /* RunnerTests.swift */, - ); - path = RunnerTests; - sourceTree = ""; - }; - 9740EEB11CF90186004384FC /* Flutter */ = { - isa = PBXGroup; - children = ( - 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */, - 9740EEB21CF90195004384FC /* Debug.xcconfig */, - 7AFA3C8E1D35360C0083082E /* Release.xcconfig */, - 9740EEB31CF90195004384FC /* Generated.xcconfig */, - ); - name = Flutter; - sourceTree = ""; - }; - 97C146E51CF9000F007C117D = { - isa = PBXGroup; - children = ( - 9740EEB11CF90186004384FC /* Flutter */, - 97C146F01CF9000F007C117D /* Runner */, - 97C146EF1CF9000F007C117D /* Products */, - 331C8082294A63A400263BE5 /* RunnerTests */, - ); - sourceTree = ""; - }; - 97C146EF1CF9000F007C117D /* Products */ = { - isa = PBXGroup; - children = ( - 97C146EE1CF9000F007C117D /* Runner.app */, - 331C8081294A63A400263BE5 /* RunnerTests.xctest */, - ); - name = Products; - sourceTree = ""; - }; - 97C146F01CF9000F007C117D /* Runner */ = { - isa = PBXGroup; - children = ( - 97C146FA1CF9000F007C117D /* Main.storyboard */, - 97C146FD1CF9000F007C117D /* Assets.xcassets */, - 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */, - 97C147021CF9000F007C117D /* Info.plist */, - 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */, - 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */, - 74858FAE1ED2DC5600515810 /* AppDelegate.swift */, - 74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */, - ); - path = Runner; - sourceTree = ""; - }; -/* End PBXGroup section */ - -/* Begin PBXNativeTarget section */ - 331C8080294A63A400263BE5 /* RunnerTests */ = { - isa = PBXNativeTarget; - buildConfigurationList = 331C8087294A63A400263BE5 /* Build configuration list for PBXNativeTarget "RunnerTests" */; - buildPhases = ( - 331C807D294A63A400263BE5 /* Sources */, - 331C807F294A63A400263BE5 /* Resources */, - ); - buildRules = ( - ); - dependencies = ( - 331C8086294A63A400263BE5 /* PBXTargetDependency */, - ); - name = RunnerTests; - productName = RunnerTests; - productReference = 331C8081294A63A400263BE5 /* RunnerTests.xctest */; - productType = "com.apple.product-type.bundle.unit-test"; - }; - 97C146ED1CF9000F007C117D /* Runner */ = { - isa = PBXNativeTarget; - buildConfigurationList = 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */; - buildPhases = ( - 9740EEB61CF901F6004384FC /* Run Script */, - 97C146EA1CF9000F007C117D /* Sources */, - 97C146EB1CF9000F007C117D /* Frameworks */, - 97C146EC1CF9000F007C117D /* Resources */, - 9705A1C41CF9048500538489 /* Embed Frameworks */, - 3B06AD1E1E4923F5004D2608 /* Thin Binary */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = Runner; - productName = Runner; - productReference = 97C146EE1CF9000F007C117D /* Runner.app */; - productType = "com.apple.product-type.application"; - }; -/* End PBXNativeTarget section */ - -/* Begin PBXProject section */ - 97C146E61CF9000F007C117D /* Project object */ = { - isa = PBXProject; - attributes = { - BuildIndependentTargetsInParallel = YES; - LastUpgradeCheck = 1510; - ORGANIZATIONNAME = ""; - TargetAttributes = { - 331C8080294A63A400263BE5 = { - CreatedOnToolsVersion = 14.0; - TestTargetID = 97C146ED1CF9000F007C117D; - }; - 97C146ED1CF9000F007C117D = { - CreatedOnToolsVersion = 7.3.1; - LastSwiftMigration = 1100; - }; - }; - }; - buildConfigurationList = 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */; - compatibilityVersion = "Xcode 9.3"; - developmentRegion = en; - hasScannedForEncodings = 0; - knownRegions = ( - en, - Base, - ); - mainGroup = 97C146E51CF9000F007C117D; - productRefGroup = 97C146EF1CF9000F007C117D /* Products */; - projectDirPath = ""; - projectRoot = ""; - targets = ( - 97C146ED1CF9000F007C117D /* Runner */, - 331C8080294A63A400263BE5 /* RunnerTests */, - ); - }; -/* End PBXProject section */ - -/* Begin PBXResourcesBuildPhase section */ - 331C807F294A63A400263BE5 /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 97C146EC1CF9000F007C117D /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */, - 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */, - 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */, - 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXResourcesBuildPhase section */ - -/* Begin PBXShellScriptBuildPhase section */ - 3B06AD1E1E4923F5004D2608 /* Thin Binary */ = { - isa = PBXShellScriptBuildPhase; - alwaysOutOfDate = 1; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - "${TARGET_BUILD_DIR}/${INFOPLIST_PATH}", - ); - name = "Thin Binary"; - outputPaths = ( - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" embed_and_thin"; - }; - 9740EEB61CF901F6004384FC /* Run Script */ = { - isa = PBXShellScriptBuildPhase; - alwaysOutOfDate = 1; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - ); - name = "Run Script"; - outputPaths = ( - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" build"; - }; -/* End PBXShellScriptBuildPhase section */ - -/* Begin PBXSourcesBuildPhase section */ - 331C807D294A63A400263BE5 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 331C808B294A63AB00263BE5 /* RunnerTests.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 97C146EA1CF9000F007C117D /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */, - 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXSourcesBuildPhase section */ - -/* Begin PBXTargetDependency section */ - 331C8086294A63A400263BE5 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = 97C146ED1CF9000F007C117D /* Runner */; - targetProxy = 331C8085294A63A400263BE5 /* PBXContainerItemProxy */; - }; -/* End PBXTargetDependency section */ - -/* Begin PBXVariantGroup section */ - 97C146FA1CF9000F007C117D /* Main.storyboard */ = { - isa = PBXVariantGroup; - children = ( - 97C146FB1CF9000F007C117D /* Base */, - ); - name = Main.storyboard; - sourceTree = ""; - }; - 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */ = { - isa = PBXVariantGroup; - children = ( - 97C147001CF9000F007C117D /* Base */, - ); - name = LaunchScreen.storyboard; - sourceTree = ""; - }; -/* End PBXVariantGroup section */ - -/* Begin XCBuildConfiguration section */ - 249021D3217E4FDB00AE95B9 /* Profile */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES; - CLANG_ANALYZER_NONNULL = YES; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_USER_SCRIPT_SANDBOXING = NO; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_NO_COMMON_BLOCKS = YES; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 12.0; - MTL_ENABLE_DEBUG_INFO = NO; - SDKROOT = iphoneos; - SUPPORTED_PLATFORMS = iphoneos; - TARGETED_DEVICE_FAMILY = "1,2"; - VALIDATE_PRODUCT = YES; - }; - name = Profile; - }; - 249021D4217E4FDB00AE95B9 /* Profile */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - CLANG_ENABLE_MODULES = YES; - CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; - DEVELOPMENT_TEAM = QA3N6G4XTH; - ENABLE_BITCODE = NO; - INFOPLIST_FILE = Runner/Info.plist; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - ); - PRODUCT_BUNDLE_IDENTIFIER = com.example.nativeDriverTest; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; - SWIFT_VERSION = 5.0; - VERSIONING_SYSTEM = "apple-generic"; - }; - name = Profile; - }; - 331C8088294A63A400263BE5 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - BUNDLE_LOADER = "$(TEST_HOST)"; - CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 1; - GENERATE_INFOPLIST_FILE = YES; - MARKETING_VERSION = 1.0; - PRODUCT_BUNDLE_IDENTIFIER = com.example.nativeDriverTest.RunnerTests; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - SWIFT_VERSION = 5.0; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Runner.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/Runner"; - }; - name = Debug; - }; - 331C8089294A63A400263BE5 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - BUNDLE_LOADER = "$(TEST_HOST)"; - CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 1; - GENERATE_INFOPLIST_FILE = YES; - MARKETING_VERSION = 1.0; - PRODUCT_BUNDLE_IDENTIFIER = com.example.nativeDriverTest.RunnerTests; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 5.0; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Runner.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/Runner"; - }; - name = Release; - }; - 331C808A294A63A400263BE5 /* Profile */ = { - isa = XCBuildConfiguration; - buildSettings = { - BUNDLE_LOADER = "$(TEST_HOST)"; - CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 1; - GENERATE_INFOPLIST_FILE = YES; - MARKETING_VERSION = 1.0; - PRODUCT_BUNDLE_IDENTIFIER = com.example.nativeDriverTest.RunnerTests; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 5.0; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Runner.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/Runner"; - }; - name = Profile; - }; - 97C147031CF9000F007C117D /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES; - CLANG_ANALYZER_NONNULL = YES; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = dwarf; - ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_TESTABILITY = YES; - ENABLE_USER_SCRIPT_SANDBOXING = NO; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_DYNAMIC_NO_PIC = NO; - GCC_NO_COMMON_BLOCKS = YES; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 12.0; - MTL_ENABLE_DEBUG_INFO = YES; - ONLY_ACTIVE_ARCH = YES; - SDKROOT = iphoneos; - TARGETED_DEVICE_FAMILY = "1,2"; - }; - name = Debug; - }; - 97C147041CF9000F007C117D /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES; - CLANG_ANALYZER_NONNULL = YES; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_USER_SCRIPT_SANDBOXING = NO; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_NO_COMMON_BLOCKS = YES; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 12.0; - MTL_ENABLE_DEBUG_INFO = NO; - SDKROOT = iphoneos; - SUPPORTED_PLATFORMS = iphoneos; - SWIFT_COMPILATION_MODE = wholemodule; - SWIFT_OPTIMIZATION_LEVEL = "-O"; - TARGETED_DEVICE_FAMILY = "1,2"; - VALIDATE_PRODUCT = YES; - }; - name = Release; - }; - 97C147061CF9000F007C117D /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - CLANG_ENABLE_MODULES = YES; - CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; - DEVELOPMENT_TEAM = QA3N6G4XTH; - ENABLE_BITCODE = NO; - INFOPLIST_FILE = Runner/Info.plist; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - ); - PRODUCT_BUNDLE_IDENTIFIER = com.example.nativeDriverTest; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - SWIFT_VERSION = 5.0; - VERSIONING_SYSTEM = "apple-generic"; - }; - name = Debug; - }; - 97C147071CF9000F007C117D /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - CLANG_ENABLE_MODULES = YES; - CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; - DEVELOPMENT_TEAM = QA3N6G4XTH; - ENABLE_BITCODE = NO; - INFOPLIST_FILE = Runner/Info.plist; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - ); - PRODUCT_BUNDLE_IDENTIFIER = com.example.nativeDriverTest; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; - SWIFT_VERSION = 5.0; - VERSIONING_SYSTEM = "apple-generic"; - }; - name = Release; - }; -/* End XCBuildConfiguration section */ - -/* Begin XCConfigurationList section */ - 331C8087294A63A400263BE5 /* Build configuration list for PBXNativeTarget "RunnerTests" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 331C8088294A63A400263BE5 /* Debug */, - 331C8089294A63A400263BE5 /* Release */, - 331C808A294A63A400263BE5 /* Profile */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 97C147031CF9000F007C117D /* Debug */, - 97C147041CF9000F007C117D /* Release */, - 249021D3217E4FDB00AE95B9 /* Profile */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 97C147061CF9000F007C117D /* Debug */, - 97C147071CF9000F007C117D /* Release */, - 249021D4217E4FDB00AE95B9 /* Profile */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; -/* End XCConfigurationList section */ - }; - rootObject = 97C146E61CF9000F007C117D /* Project object */; -} diff --git a/dev/integration_tests/native_driver_test/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/dev/integration_tests/native_driver_test/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata deleted file mode 100644 index 919434a625..0000000000 --- a/dev/integration_tests/native_driver_test/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata +++ /dev/null @@ -1,7 +0,0 @@ - - - - - diff --git a/dev/integration_tests/native_driver_test/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/dev/integration_tests/native_driver_test/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist deleted file mode 100644 index 18d981003d..0000000000 --- a/dev/integration_tests/native_driver_test/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +++ /dev/null @@ -1,8 +0,0 @@ - - - - - IDEDidComputeMac32BitWarning - - - diff --git a/dev/integration_tests/native_driver_test/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings b/dev/integration_tests/native_driver_test/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings deleted file mode 100644 index f9b0d7c5ea..0000000000 --- a/dev/integration_tests/native_driver_test/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings +++ /dev/null @@ -1,8 +0,0 @@ - - - - - PreviewsEnabled - - - diff --git a/dev/integration_tests/native_driver_test/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme b/dev/integration_tests/native_driver_test/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme deleted file mode 100644 index 8e3ca5dfe1..0000000000 --- a/dev/integration_tests/native_driver_test/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme +++ /dev/null @@ -1,98 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/dev/integration_tests/native_driver_test/ios/Runner.xcworkspace/contents.xcworkspacedata b/dev/integration_tests/native_driver_test/ios/Runner.xcworkspace/contents.xcworkspacedata deleted file mode 100644 index 1d526a16ed..0000000000 --- a/dev/integration_tests/native_driver_test/ios/Runner.xcworkspace/contents.xcworkspacedata +++ /dev/null @@ -1,7 +0,0 @@ - - - - - diff --git a/dev/integration_tests/native_driver_test/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/dev/integration_tests/native_driver_test/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist deleted file mode 100644 index 18d981003d..0000000000 --- a/dev/integration_tests/native_driver_test/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +++ /dev/null @@ -1,8 +0,0 @@ - - - - - IDEDidComputeMac32BitWarning - - - diff --git a/dev/integration_tests/native_driver_test/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings b/dev/integration_tests/native_driver_test/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings deleted file mode 100644 index f9b0d7c5ea..0000000000 --- a/dev/integration_tests/native_driver_test/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings +++ /dev/null @@ -1,8 +0,0 @@ - - - - - PreviewsEnabled - - - diff --git a/dev/integration_tests/native_driver_test/ios/Runner/AppDelegate.swift b/dev/integration_tests/native_driver_test/ios/Runner/AppDelegate.swift deleted file mode 100644 index 58f3ea9b92..0000000000 --- a/dev/integration_tests/native_driver_test/ios/Runner/AppDelegate.swift +++ /dev/null @@ -1,17 +0,0 @@ -// Copyright 2014 The Flutter Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -import Flutter -import UIKit - -@main -@objc class AppDelegate: FlutterAppDelegate { - override func application( - _ application: UIApplication, - didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]? - ) -> Bool { - GeneratedPluginRegistrant.register(with: self) - return super.application(application, didFinishLaunchingWithOptions: launchOptions) - } -} diff --git a/dev/integration_tests/native_driver_test/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json b/dev/integration_tests/native_driver_test/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json deleted file mode 100644 index 94bc3d9f63..0000000000 --- a/dev/integration_tests/native_driver_test/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "images" : [], - "info" : { - "version" : 1, - "author" : "xcode" - } -} diff --git a/dev/integration_tests/native_driver_test/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json b/dev/integration_tests/native_driver_test/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json deleted file mode 100644 index 94bc3d9f63..0000000000 --- a/dev/integration_tests/native_driver_test/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "images" : [], - "info" : { - "version" : 1, - "author" : "xcode" - } -} diff --git a/dev/integration_tests/native_driver_test/ios/Runner/Base.lproj/LaunchScreen.storyboard b/dev/integration_tests/native_driver_test/ios/Runner/Base.lproj/LaunchScreen.storyboard deleted file mode 100644 index f2e259c7c9..0000000000 --- a/dev/integration_tests/native_driver_test/ios/Runner/Base.lproj/LaunchScreen.storyboard +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/dev/integration_tests/native_driver_test/ios/Runner/Base.lproj/Main.storyboard b/dev/integration_tests/native_driver_test/ios/Runner/Base.lproj/Main.storyboard deleted file mode 100644 index f3c28516fb..0000000000 --- a/dev/integration_tests/native_driver_test/ios/Runner/Base.lproj/Main.storyboard +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/dev/integration_tests/native_driver_test/ios/Runner/Info.plist b/dev/integration_tests/native_driver_test/ios/Runner/Info.plist deleted file mode 100644 index 240bbf6750..0000000000 --- a/dev/integration_tests/native_driver_test/ios/Runner/Info.plist +++ /dev/null @@ -1,49 +0,0 @@ - - - - - CFBundleDevelopmentRegion - $(DEVELOPMENT_LANGUAGE) - CFBundleDisplayName - Native Driver Test - CFBundleExecutable - $(EXECUTABLE_NAME) - CFBundleIdentifier - $(PRODUCT_BUNDLE_IDENTIFIER) - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - native_driver_test - CFBundlePackageType - APPL - CFBundleShortVersionString - $(FLUTTER_BUILD_NAME) - CFBundleSignature - ???? - CFBundleVersion - $(FLUTTER_BUILD_NUMBER) - LSRequiresIPhoneOS - - UILaunchStoryboardName - LaunchScreen - UIMainStoryboardFile - Main - UISupportedInterfaceOrientations - - UIInterfaceOrientationPortrait - UIInterfaceOrientationLandscapeLeft - UIInterfaceOrientationLandscapeRight - - UISupportedInterfaceOrientations~ipad - - UIInterfaceOrientationPortrait - UIInterfaceOrientationPortraitUpsideDown - UIInterfaceOrientationLandscapeLeft - UIInterfaceOrientationLandscapeRight - - CADisableMinimumFrameDurationOnPhone - - UIApplicationSupportsIndirectInputEvents - - - diff --git a/dev/integration_tests/native_driver_test/ios/Runner/Runner-Bridging-Header.h b/dev/integration_tests/native_driver_test/ios/Runner/Runner-Bridging-Header.h deleted file mode 100644 index 95b7baf386..0000000000 --- a/dev/integration_tests/native_driver_test/ios/Runner/Runner-Bridging-Header.h +++ /dev/null @@ -1,5 +0,0 @@ -// Copyright 2014 The Flutter Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -#import "GeneratedPluginRegistrant.h" diff --git a/dev/tools/native_driver/README.md b/dev/tools/android_driver_extensions/README.md similarity index 65% rename from dev/tools/native_driver/README.md rename to dev/tools/android_driver_extensions/README.md index d604596e86..de626a092e 100644 --- a/dev/tools/native_driver/README.md +++ b/dev/tools/android_driver_extensions/README.md @@ -1,14 +1,14 @@ -# Flutter Native Driver +# Android Extensions for Flutter Driver This a minimal library on top of `flutter_driver` that provides extensions for -interacting with the native platform, to otherwise perform actions that are not -possible purely through Flutter Driver, and would want to run as an _external_ -test (run on the host, not on the device): +interacting with the native Android platform, to otherwise perform actions that +are not possible purely through Flutter Driver, and would want to run as an +_external_ test (run on the host, not on the device): - Take a screenshot, including of _native_ widgets (platform views, textures) - Tap on a native widget - Rotate the device -- (Android Only) Background an app and send a "trim memory" signal to the device +- Background an app and send a "trim memory" signal to the device > [!NOTE] > diff --git a/dev/tools/native_driver/lib/extension.dart b/dev/tools/android_driver_extensions/lib/extension.dart similarity index 100% rename from dev/tools/native_driver/lib/extension.dart rename to dev/tools/android_driver_extensions/lib/extension.dart diff --git a/dev/tools/native_driver/lib/native_driver.dart b/dev/tools/android_driver_extensions/lib/native_driver.dart similarity index 100% rename from dev/tools/native_driver/lib/native_driver.dart rename to dev/tools/android_driver_extensions/lib/native_driver.dart diff --git a/dev/tools/native_driver/lib/skia_gold.dart b/dev/tools/android_driver_extensions/lib/skia_gold.dart similarity index 100% rename from dev/tools/native_driver/lib/skia_gold.dart rename to dev/tools/android_driver_extensions/lib/skia_gold.dart diff --git a/dev/tools/native_driver/lib/src/backend/android.dart b/dev/tools/android_driver_extensions/lib/src/backend/android.dart similarity index 100% rename from dev/tools/native_driver/lib/src/backend/android.dart rename to dev/tools/android_driver_extensions/lib/src/backend/android.dart diff --git a/dev/tools/native_driver/lib/src/backend/android/adb.dart b/dev/tools/android_driver_extensions/lib/src/backend/android/adb.dart similarity index 100% rename from dev/tools/native_driver/lib/src/backend/android/adb.dart rename to dev/tools/android_driver_extensions/lib/src/backend/android/adb.dart diff --git a/dev/tools/native_driver/lib/src/backend/android/driver.dart b/dev/tools/android_driver_extensions/lib/src/backend/android/driver.dart similarity index 100% rename from dev/tools/native_driver/lib/src/backend/android/driver.dart rename to dev/tools/android_driver_extensions/lib/src/backend/android/driver.dart diff --git a/dev/tools/native_driver/lib/src/common.dart b/dev/tools/android_driver_extensions/lib/src/common.dart similarity index 100% rename from dev/tools/native_driver/lib/src/common.dart rename to dev/tools/android_driver_extensions/lib/src/common.dart diff --git a/dev/tools/native_driver/lib/src/driver.dart b/dev/tools/android_driver_extensions/lib/src/driver.dart similarity index 100% rename from dev/tools/native_driver/lib/src/driver.dart rename to dev/tools/android_driver_extensions/lib/src/driver.dart diff --git a/dev/tools/native_driver/lib/src/goldens.dart b/dev/tools/android_driver_extensions/lib/src/goldens.dart similarity index 100% rename from dev/tools/native_driver/lib/src/goldens.dart rename to dev/tools/android_driver_extensions/lib/src/goldens.dart diff --git a/dev/tools/native_driver/pubspec.yaml b/dev/tools/android_driver_extensions/pubspec.yaml similarity index 99% rename from dev/tools/native_driver/pubspec.yaml rename to dev/tools/android_driver_extensions/pubspec.yaml index 165194b822..e87036b2c0 100644 --- a/dev/tools/native_driver/pubspec.yaml +++ b/dev/tools/android_driver_extensions/pubspec.yaml @@ -1,4 +1,4 @@ -name: native_driver +name: android_driver_extensions environment: sdk: ^3.7.0-0 diff --git a/dev/tools/native_driver/test/adb_fake_io_test.dart b/dev/tools/android_driver_extensions/test/adb_fake_io_test.dart similarity index 97% rename from dev/tools/native_driver/test/adb_fake_io_test.dart rename to dev/tools/android_driver_extensions/test/adb_fake_io_test.dart index 2a7aeb292d..145d296c19 100644 --- a/dev/tools/native_driver/test/adb_fake_io_test.dart +++ b/dev/tools/android_driver_extensions/test/adb_fake_io_test.dart @@ -4,7 +4,7 @@ import 'dart:typed_data'; -import 'package:native_driver/src/backend/android/adb.dart'; +import 'package:android_driver_extensions/src/backend/android/adb.dart'; import 'package:process/process.dart'; import 'package:test/test.dart'; diff --git a/dev/tools/native_driver/test/android_driver_fake_test.dart b/dev/tools/android_driver_extensions/test/android_driver_fake_test.dart similarity index 95% rename from dev/tools/native_driver/test/android_driver_fake_test.dart rename to dev/tools/android_driver_extensions/test/android_driver_fake_test.dart index 5d6986f083..b054b1ca3f 100644 --- a/dev/tools/native_driver/test/android_driver_fake_test.dart +++ b/dev/tools/android_driver_extensions/test/android_driver_fake_test.dart @@ -5,7 +5,7 @@ import 'dart:io' as io; import 'dart:typed_data'; -import 'package:native_driver/native_driver.dart'; +import 'package:android_driver_extensions/native_driver.dart'; import 'package:test/test.dart'; import 'src/fake_adb.dart'; diff --git a/dev/tools/native_driver/test/src/fake_adb.dart b/dev/tools/android_driver_extensions/test/src/fake_adb.dart similarity index 97% rename from dev/tools/native_driver/test/src/fake_adb.dart rename to dev/tools/android_driver_extensions/test/src/fake_adb.dart index fc4cd60f39..aaec55bd26 100644 --- a/dev/tools/native_driver/test/src/fake_adb.dart +++ b/dev/tools/android_driver_extensions/test/src/fake_adb.dart @@ -4,7 +4,7 @@ import 'dart:typed_data'; -import 'package:native_driver/src/backend/android.dart'; +import 'package:android_driver_extensions/src/backend/android.dart'; /// A stub of [Adb] that allows overriding its methods. /// diff --git a/dev/tools/native_driver/test/src/fake_driver.dart b/dev/tools/android_driver_extensions/test/src/fake_driver.dart similarity index 100% rename from dev/tools/native_driver/test/src/fake_driver.dart rename to dev/tools/android_driver_extensions/test/src/fake_driver.dart diff --git a/dev/tools/native_driver/test/src/fake_process_manager.dart b/dev/tools/android_driver_extensions/test/src/fake_process_manager.dart similarity index 100% rename from dev/tools/native_driver/test/src/fake_process_manager.dart rename to dev/tools/android_driver_extensions/test/src/fake_process_manager.dart