From 735e501af462d6a0aaa251cdb4d05cdc163bd815 Mon Sep 17 00:00:00 2001 From: Weiming Dai Date: Thu, 28 Dec 2017 15:01:22 +0800 Subject: [PATCH] Remove the unused py file. --- xctestrunner/Shared/ios_constants.py | 73 ---------------------------- 1 file changed, 73 deletions(-) delete mode 100644 xctestrunner/Shared/ios_constants.py diff --git a/xctestrunner/Shared/ios_constants.py b/xctestrunner/Shared/ios_constants.py deleted file mode 100644 index a004ea9..0000000 --- a/xctestrunner/Shared/ios_constants.py +++ /dev/null @@ -1,73 +0,0 @@ -# Copyright 2017 Google Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -"""The class contains the constants of iOS test runner.""" - - -def enum(**enums): - return type('Enum', (), enums) - - -SDK = enum(IPHONEOS='iphoneos', IPHONESIMULATOR='iphonesimulator') -OS = enum(IOS='iOS', WATCHOS='watchOS', TVOS='tvOS') -TestType = enum(XCUITEST='xcuitest', XCTEST='xctest', LOGIC_TEST='logic_test') -SimState = enum(CREATING='Creating', SHUTDOWN='Shutdown', BOOTED='Booted', - UNKNOWN='Unknown') - -SUPPORTED_SDKS = [SDK.IPHONESIMULATOR, SDK.IPHONEOS] -SUPPORTED_TEST_TYPES = [TestType.XCUITEST, TestType.XCTEST, TestType.LOGIC_TEST] -SUPPORTED_SIM_OSS = [OS.IOS] - -TEST_STARTED_SIGNAL = 'Test Suite' - -LAUNCH_OPTIONS_JSON_HELP = ( - """The path of json file, which contains options of launching test. - -Available keys for the json: - env_vars : dict - Additional environment variables passing to test's process. The key and - value should be string. - args : array - Additional arguments passing to test's process. - app_under_test_env_vars: dict - Additional environment variables passing to app under test's process. The - key and value should be string. - In xctest, the functionality is the same as "env_vars". - In xcuitest, the process of app under test is different with the - process of test. - app_under_test_args: array - Additional arguments passing to app under test's process. - In xctest, the functionality is the same as "args". - In xcuitest, the process of app under test is different with the - process of test. - tests_to_run : array - The specific test classes or test methods to run. Each item should be - string and its format is Test-Class-Name[/Test-Method-Name]. It is supported - in Xcode 8+. - """) - -SIGNING_OPTIONS_JSON_HELP = ( - """The path of json file, which contains options of signing app. - -The signing options only works when running on sdk iphoneos. - -Available keys for the json: - xctrunner_app_provisioning_profile: string - The name/path of the provisioning profile of the generated xctrunner app. - If this field is not set, will use app under test's provisioning profile - for the generated xctrunner app. - xctrunner_app_enable_ui_file_sharing: bool - Whether enable UIFileSharingEnabled field in the generated xctrunner app's - Info.plist. - """)