Skip to content

Commit c1dcaf6

Browse files
committed
Remove UIScene pre-migration test cases
1 parent e599747 commit c1dcaf6

3 files changed

Lines changed: 0 additions & 117 deletions

File tree

‎dev/devicelab/bin/tasks/uiscene_plugin_lifecycle_test_ios.dart‎

Lines changed: 0 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -480,26 +480,6 @@ class Scenarios {
480480
r'$TEMPLATE_DIR/native/UITests-ApplicationEvents-AppMigrated.swift': r'$XCODE_PROJ_DIR/NativeUIKitSwiftExperimentUITests/NativeUIKitSwiftExperimentUITests.swift',
481481
},
482482

483-
// When the app has not migrated, but the plugin supports both, we expect application events.
484-
'AppNotMigrated-FlutterSceneDelegate-PluginMigrated': <String, String>{
485-
...sharedLifecycleFiles,
486-
r'$TEMPLATE_DIR/native/Info-unmigrated.plist':
487-
r'$XCODE_PROJ_DIR/NativeUIKitSwiftExperiment/Info.plist',
488-
r'$TEMPLATE_DIR/flutterplugin/ios/LifecyclePlugin-migrated.swift':
489-
r'$PLUGIN_DIR/ios/my_plugin/Sources/my_plugin/MyPlugin.swift',
490-
r'$TEMPLATE_DIR/native/UITests-ApplicationEvents-AppNotMigrated.swift': r'$XCODE_PROJ_DIR/NativeUIKitSwiftExperimentUITests/NativeUIKitSwiftExperimentUITests.swift',
491-
},
492-
493-
// When the app and plugin have not migrated, we expect application events.
494-
'AppNotMigrated-FlutterSceneDelegate-PluginNotMigrated': <String, String>{
495-
...sharedLifecycleFiles,
496-
r'$TEMPLATE_DIR/native/Info-unmigrated.plist':
497-
r'$XCODE_PROJ_DIR/NativeUIKitSwiftExperiment/Info.plist',
498-
r'$TEMPLATE_DIR/flutterplugin/ios/LifecyclePlugin-unmigrated.swift':
499-
r'$PLUGIN_DIR/ios/my_plugin/Sources/my_plugin/MyPlugin.swift',
500-
r'$TEMPLATE_DIR/native/UITests-ApplicationEvents-AppNotMigrated.swift': r'$XCODE_PROJ_DIR/NativeUIKitSwiftExperimentUITests/NativeUIKitSwiftExperimentUITests.swift',
501-
},
502-
503483
// Single scene app where FlutterViewController is instantiated with the engine,
504484
// but never added to the scene hierarchy. Engine still receives events automatically.
505485
'SingleScene-FlutterViewControllerNotAddedToScene': <String, String>{
@@ -612,11 +592,6 @@ class Scenarios {
612592
late Map<String, Map<String, String>> stateRestorationScenarios = <String, Map<String, String>>{
613593
// State restoration work both when migrated and when not.
614594
'AppMigrated-StateRestoration': <String, String>{...sharedStateRestorationFiles},
615-
'AppNotMigrated-StateRestoration': <String, String>{
616-
...sharedStateRestorationFiles,
617-
r'$TEMPLATE_DIR/native/Info-unmigrated.plist':
618-
r'$XCODE_PROJ_DIR/NativeUIKitSwiftExperiment/Info.plist',
619-
},
620595
};
621596

622597
late Map<String, Map<String, String>>
@@ -655,26 +630,6 @@ class Scenarios {
655630
r'$TEMPLATE_DIR/native/UITests-SceneEvents.swift': r'$XCODE_PROJ_DIR/NativeUIKitSwiftExperimentUITests/NativeUIKitSwiftExperimentUITests.swift',
656631
},
657632

658-
// When the app has not migrated to scenes, storyboard is instantiated earlier in the lifecycle.
659-
// So when using an implicit FlutterEngine created by the storyboard, we expect plugins to
660-
// receive all application events.
661-
'FlutterImplicitEngineDelegate-AppNotMigrated-StoryboardFlutterViewController':
662-
<String, String>{
663-
...sharedAppLifecycleFiles,
664-
...sharedPluginLifecycleFiles,
665-
r'$TEMPLATE_DIR/native/Info-unmigrated.plist':
666-
r'$XCODE_PROJ_DIR/NativeUIKitSwiftExperiment/Info.plist',
667-
r'$TEMPLATE_DIR/native/SceneDelegate-FlutterSceneDelegate.swift':
668-
r'$XCODE_PROJ_DIR/NativeUIKitSwiftExperiment/SceneDelegate.swift',
669-
r'$TEMPLATE_DIR/flutterplugin/ios/LifecyclePlugin-migrated.swift':
670-
r'$PLUGIN_DIR/ios/my_plugin/Sources/my_plugin/MyPlugin.swift',
671-
r'$TEMPLATE_DIR/native/AppDelegate-FlutterImplicitEngineDelegate.swift':
672-
r'$XCODE_PROJ_DIR/NativeUIKitSwiftExperiment/AppDelegate.swift',
673-
r'$TEMPLATE_DIR/native/Main-FlutterViewController.storyboard':
674-
r'$XCODE_PROJ_DIR/NativeUIKitSwiftExperiment/Base.lproj/Main.storyboard',
675-
r'$TEMPLATE_DIR/native/UITests-ApplicationEvents-FlutterImplicitEngineDelegate.swift': r'$XCODE_PROJ_DIR/NativeUIKitSwiftExperimentUITests/NativeUIKitSwiftExperimentUITests.swift',
676-
},
677-
678633
// When using an implicit FlutterEngine, created by the FlutterViewController in another
679634
// ViewController, we expect plugins to be registered after the FlutterViewController is
680635
// created, which results in the `application:didFinishLaunchingWithOptions:`. This is not

‎dev/integration_tests/ios_add2app_uiscene/native/Info-unmigrated.plist‎

Lines changed: 0 additions & 19 deletions
This file was deleted.

‎dev/integration_tests/ios_add2app_uiscene/native/UITests-ApplicationEvents-AppNotMigrated.swift‎

Lines changed: 0 additions & 53 deletions
This file was deleted.

0 commit comments

Comments
 (0)