Rename integration test ios_app_with_watch_companion -> ios_app_with_extensions (#58458)

This commit is contained in:
Jenn Magder 2020-06-02 11:00:19 -07:00 committed by GitHub
parent 442f9c107c
commit 145d70c197
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
65 changed files with 24 additions and 39 deletions

View File

@ -17,14 +17,14 @@ Future<void> main() async {
String watchDeviceID;
String phoneDeviceID;
final Directory tempDir = Directory.systemTemp
.createTempSync('ios_app_with_watch_companion_test');
.createTempSync('ios_app_with_extensions_test');
final Directory projectDir =
Directory(path.join(tempDir.path, 'app_with_companion'));
Directory(path.join(tempDir.path, 'app_with_extensions'));
try {
mkdir(projectDir);
recursiveCopy(
Directory(path.join(flutterDirectory.path, 'dev', 'integration_tests',
'ios_app_with_watch_companion')),
'ios_app_with_extensions')),
projectDir,
);

View File

@ -683,9 +683,9 @@ tasks:
# required_agent_capabilities: ["mac/ios"]
# flaky: true
ios_app_with_watch_companion:
ios_app_with_extensions_test:
description: >
Checks that an iOS app with a watchOS companion can be build for physical and simulated devices.
Checks that an iOS app with extensions can be built for physical and simulated devices.
stage: devicelab_ios
required_agent_capabilities: ["mac/ios"]

View File

@ -0,0 +1,5 @@
# iOS Extensions Test
Integration test to test building an iOS app with
non-Flutter features:
- watchOS app and extension

View File

@ -436,7 +436,6 @@
/* Begin XCBuildConfiguration section */
249021D3217E4FDB00AE95B9 /* Profile */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_ANALYZER_NONNULL = YES;
@ -506,7 +505,7 @@
"$(inherited)",
"$(PROJECT_DIR)/Flutter",
);
PRODUCT_BUNDLE_IDENTIFIER = com.example.watchCompanionTest;
PRODUCT_BUNDLE_IDENTIFIER = io.flutter.extensionTest;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
SWIFT_VERSION = 5.0;
@ -536,7 +535,7 @@
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
MTL_FAST_MATH = YES;
OTHER_LDFLAGS = "";
PRODUCT_BUNDLE_IDENTIFIER = com.example.watchCompanionTest.watchkitapp.watchkitextension;
PRODUCT_BUNDLE_IDENTIFIER = io.flutter.extensionTest.watchkitapp.watchkitextension;
PRODUCT_NAME = "${TARGET_NAME}";
SDKROOT = watchos;
SKIP_INSTALL = YES;
@ -569,7 +568,7 @@
);
MTL_FAST_MATH = YES;
OTHER_LDFLAGS = "";
PRODUCT_BUNDLE_IDENTIFIER = com.example.watchCompanionTest.watchkitapp.watchkitextension;
PRODUCT_BUNDLE_IDENTIFIER = io.flutter.extensionTest.watchkitapp.watchkitextension;
PRODUCT_NAME = "${TARGET_NAME}";
SDKROOT = watchos;
SKIP_INSTALL = YES;
@ -601,7 +600,7 @@
);
MTL_FAST_MATH = YES;
OTHER_LDFLAGS = "";
PRODUCT_BUNDLE_IDENTIFIER = com.example.watchCompanionTest.watchkitapp.watchkitextension;
PRODUCT_BUNDLE_IDENTIFIER = io.flutter.extensionTest.watchkitapp.watchkitextension;
PRODUCT_NAME = "${TARGET_NAME}";
SDKROOT = watchos;
SKIP_INSTALL = YES;
@ -630,7 +629,7 @@
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
MTL_FAST_MATH = YES;
OTHER_LDFLAGS = "";
PRODUCT_BUNDLE_IDENTIFIER = com.example.watchCompanionTest.watchkitapp;
PRODUCT_BUNDLE_IDENTIFIER = io.flutter.extensionTest.watchkitapp;
PRODUCT_NAME = "$(TARGET_NAME)";
SDKROOT = watchos;
SKIP_INSTALL = YES;
@ -659,7 +658,7 @@
MARKETING_VERSION = 1.0.0;
MTL_FAST_MATH = YES;
OTHER_LDFLAGS = "";
PRODUCT_BUNDLE_IDENTIFIER = com.example.watchCompanionTest.watchkitapp;
PRODUCT_BUNDLE_IDENTIFIER = io.flutter.extensionTest.watchkitapp;
PRODUCT_NAME = "$(TARGET_NAME)";
SDKROOT = watchos;
SKIP_INSTALL = YES;
@ -687,7 +686,7 @@
MARKETING_VERSION = 1.0.0;
MTL_FAST_MATH = YES;
OTHER_LDFLAGS = "";
PRODUCT_BUNDLE_IDENTIFIER = com.example.watchCompanionTest.watchkitapp;
PRODUCT_BUNDLE_IDENTIFIER = io.flutter.extensionTest.watchkitapp;
PRODUCT_NAME = "$(TARGET_NAME)";
SDKROOT = watchos;
SKIP_INSTALL = YES;
@ -700,7 +699,6 @@
};
97C147031CF9000F007C117D /* Debug */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_ANALYZER_NONNULL = YES;
@ -756,7 +754,6 @@
};
97C147041CF9000F007C117D /* Release */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_ANALYZER_NONNULL = YES;
@ -828,7 +825,7 @@
"$(inherited)",
"$(PROJECT_DIR)/Flutter",
);
PRODUCT_BUNDLE_IDENTIFIER = com.example.watchCompanionTest;
PRODUCT_BUNDLE_IDENTIFIER = io.flutter.extensionTest;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
@ -858,7 +855,7 @@
"$(inherited)",
"$(PROJECT_DIR)/Flutter",
);
PRODUCT_BUNDLE_IDENTIFIER = com.example.watchCompanionTest;
PRODUCT_BUNDLE_IDENTIFIER = io.flutter.extensionTest;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
SWIFT_VERSION = 5.0;

View File

@ -11,7 +11,7 @@
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>watchCompanionTest</string>
<string>Flutter Extension Test</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>

View File

@ -25,7 +25,7 @@
<key>NSExtensionAttributes</key>
<dict>
<key>WKAppBundleIdentifier</key>
<string>com.example.watchCompanionTest.watchkitapp</string>
<string>io.flutter.extensionTest.watchkitapp</string>
</dict>
<key>NSExtensionPointIdentifier</key>
<string>com.apple.watchkit</string>

View File

@ -5,7 +5,7 @@
<key>CFBundleDevelopmentRegion</key>
<string>$(DEVELOPMENT_LANGUAGE)</string>
<key>CFBundleDisplayName</key>
<string>watchCompanionTest</string>
<string>Flutter Extension Test</string>
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key>
@ -26,7 +26,7 @@
<string>UIInterfaceOrientationPortraitUpsideDown</string>
</array>
<key>WKCompanionAppBundleIdentifier</key>
<string>com.example.watchCompanionTest</string>
<string>io.flutter.extensionTest</string>
<key>WKWatchKitApp</key>
<true/>
</dict>

View File

@ -1,5 +1,4 @@
name: watchCompanionTest
description: A new Flutter project.
name: ios_app_with_extensions
# The following defines the version and build number for your application.
# A version number is three numbers separated by dots, like 1.2.43

View File

@ -1,16 +0,0 @@
# watchCompanionTest
A new Flutter project.
## Getting Started
This project is a starting point for a Flutter application.
A few resources to get you started if this is your first Flutter project:
- [Lab: Write your first Flutter app](https://flutter.dev/docs/get-started/codelab)
- [Cookbook: Useful Flutter samples](https://flutter.dev/docs/cookbook)
For help getting started with Flutter, view our
[online documentation](https://flutter.dev/docs), which offers tutorials,
samples, guidance on mobile development, and a full API reference.