From f2069ecee183a63677588ff12731ee98f2f61ccd Mon Sep 17 00:00:00 2001 From: Theo Mendes Date: Mon, 8 Nov 2021 14:42:04 -0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A5=20[MOB-2586]=20-=20Removed=20Test?= =?UTF-8?q?=20target?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../project.pbxproj | 138 ------------------ .../Tests iOS/Tests_iOS.swift | 42 ------ .../Tests iOS/Tests_iOSLaunchTests.swift | 32 ---- 3 files changed, 212 deletions(-) delete mode 100644 Projects/Challenge Alpha iOS/Tests iOS/Tests_iOS.swift delete mode 100644 Projects/Challenge Alpha iOS/Tests iOS/Tests_iOSLaunchTests.swift diff --git a/Projects/Challenge Alpha iOS/Challenge Alpha iOS.xcodeproj/project.pbxproj b/Projects/Challenge Alpha iOS/Challenge Alpha iOS.xcodeproj/project.pbxproj index fceaf215b..7b3949a77 100644 --- a/Projects/Challenge Alpha iOS/Challenge Alpha iOS.xcodeproj/project.pbxproj +++ b/Projects/Challenge Alpha iOS/Challenge Alpha iOS.xcodeproj/project.pbxproj @@ -7,8 +7,6 @@ objects = { /* Begin PBXBuildFile section */ - 315562572734184C00E1C17C /* Tests_iOS.swift in Sources */ = {isa = PBXBuildFile; fileRef = 315562562734184C00E1C17C /* Tests_iOS.swift */; }; - 315562592734184C00E1C17C /* Tests_iOSLaunchTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 315562582734184C00E1C17C /* Tests_iOSLaunchTests.swift */; }; 315562662734184C00E1C17C /* Challenge_Alpha_iOSApp.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3155623E2734184A00E1C17C /* Challenge_Alpha_iOSApp.swift */; }; 315562682734184C00E1C17C /* ContentView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3155623F2734184A00E1C17C /* ContentView.swift */; }; 3155626A2734184C00E1C17C /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 315562402734184C00E1C17C /* Assets.xcassets */; }; @@ -18,24 +16,11 @@ 315615D32734444A009FF312 /* ResultRenderViewModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 315615D22734444A009FF312 /* ResultRenderViewModel.swift */; }; /* End PBXBuildFile section */ -/* Begin PBXContainerItemProxy section */ - 315562532734184C00E1C17C /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 315562392734184A00E1C17C /* Project object */; - proxyType = 1; - remoteGlobalIDString = 315562442734184C00E1C17C; - remoteInfo = "Challenge Alpha iOS (iOS)"; - }; -/* End PBXContainerItemProxy section */ - /* Begin PBXFileReference section */ 3155623E2734184A00E1C17C /* Challenge_Alpha_iOSApp.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Challenge_Alpha_iOSApp.swift; sourceTree = ""; }; 3155623F2734184A00E1C17C /* ContentView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ContentView.swift; sourceTree = ""; }; 315562402734184C00E1C17C /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; 315562452734184C00E1C17C /* Challenge Alpha iOS.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "Challenge Alpha iOS.app"; sourceTree = BUILT_PRODUCTS_DIR; }; - 315562522734184C00E1C17C /* Tests iOS.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "Tests iOS.xctest"; sourceTree = BUILT_PRODUCTS_DIR; }; - 315562562734184C00E1C17C /* Tests_iOS.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Tests_iOS.swift; sourceTree = ""; }; - 315562582734184C00E1C17C /* Tests_iOSLaunchTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Tests_iOSLaunchTests.swift; sourceTree = ""; }; 315615CA27343C13009FF312 /* HUNetwork */ = {isa = PBXFileReference; lastKnownFileType = folder; name = HUNetwork; path = Modules/HUNetwork; sourceTree = ""; }; 315615CE27343D42009FF312 /* Manager.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Manager.swift; sourceTree = ""; }; 315615D0273441F3009FF312 /* ResultRenderView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ResultRenderView.swift; sourceTree = ""; }; @@ -52,13 +37,6 @@ ); runOnlyForDeploymentPostprocessing = 0; }; - 3155624F2734184C00E1C17C /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; /* End PBXFrameworksBuildPhase section */ /* Begin PBXGroup section */ @@ -68,7 +46,6 @@ 31DB70752739692600F8663E /* README.md */, 3155623D2734184A00E1C17C /* Shared */, 315615C927343C12009FF312 /* Packages */, - 315562552734184C00E1C17C /* Tests iOS */, 315562462734184C00E1C17C /* Products */, 315615CB27343C54009FF312 /* Frameworks */, ); @@ -91,20 +68,10 @@ isa = PBXGroup; children = ( 315562452734184C00E1C17C /* Challenge Alpha iOS.app */, - 315562522734184C00E1C17C /* Tests iOS.xctest */, ); name = Products; sourceTree = ""; }; - 315562552734184C00E1C17C /* Tests iOS */ = { - isa = PBXGroup; - children = ( - 315562562734184C00E1C17C /* Tests_iOS.swift */, - 315562582734184C00E1C17C /* Tests_iOSLaunchTests.swift */, - ); - path = "Tests iOS"; - sourceTree = ""; - }; 315615C927343C12009FF312 /* Packages */ = { isa = PBXGroup; children = ( @@ -143,24 +110,6 @@ productReference = 315562452734184C00E1C17C /* Challenge Alpha iOS.app */; productType = "com.apple.product-type.application"; }; - 315562512734184C00E1C17C /* Tests iOS */ = { - isa = PBXNativeTarget; - buildConfigurationList = 315562742734184C00E1C17C /* Build configuration list for PBXNativeTarget "Tests iOS" */; - buildPhases = ( - 3155624E2734184C00E1C17C /* Sources */, - 3155624F2734184C00E1C17C /* Frameworks */, - 315562502734184C00E1C17C /* Resources */, - ); - buildRules = ( - ); - dependencies = ( - 315562542734184C00E1C17C /* PBXTargetDependency */, - ); - name = "Tests iOS"; - productName = "Tests iOS"; - productReference = 315562522734184C00E1C17C /* Tests iOS.xctest */; - productType = "com.apple.product-type.bundle.ui-testing"; - }; /* End PBXNativeTarget section */ /* Begin PBXProject section */ @@ -174,10 +123,6 @@ 315562442734184C00E1C17C = { CreatedOnToolsVersion = 13.1; }; - 315562512734184C00E1C17C = { - CreatedOnToolsVersion = 13.1; - TestTargetID = 315562442734184C00E1C17C; - }; }; }; buildConfigurationList = 3155623C2734184A00E1C17C /* Build configuration list for PBXProject "Challenge Alpha iOS" */; @@ -194,7 +139,6 @@ projectRoot = ""; targets = ( 315562442734184C00E1C17C /* Challenge Alpha iOS (iOS) */, - 315562512734184C00E1C17C /* Tests iOS */, ); }; /* End PBXProject section */ @@ -208,13 +152,6 @@ ); runOnlyForDeploymentPostprocessing = 0; }; - 315562502734184C00E1C17C /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; /* End PBXResourcesBuildPhase section */ /* Begin PBXSourcesBuildPhase section */ @@ -230,25 +167,8 @@ ); runOnlyForDeploymentPostprocessing = 0; }; - 3155624E2734184C00E1C17C /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 315562592734184C00E1C17C /* Tests_iOSLaunchTests.swift in Sources */, - 315562572734184C00E1C17C /* Tests_iOS.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; /* End PBXSourcesBuildPhase section */ -/* Begin PBXTargetDependency section */ - 315562542734184C00E1C17C /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = 315562442734184C00E1C17C /* Challenge Alpha iOS (iOS) */; - targetProxy = 315562532734184C00E1C17C /* PBXContainerItemProxy */; - }; -/* End PBXTargetDependency section */ - /* Begin XCBuildConfiguration section */ 3155626C2734184C00E1C17C /* Debug */ = { isa = XCBuildConfiguration; @@ -420,55 +340,6 @@ }; name = Release; }; - 315562752734184C00E1C17C /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; - CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 1; - GENERATE_INFOPLIST_FILE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 15.0; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - "@loader_path/Frameworks", - ); - MARKETING_VERSION = 1.0; - PRODUCT_BUNDLE_IDENTIFIER = "hurb.com.Tests-iOS"; - PRODUCT_NAME = "$(TARGET_NAME)"; - SDKROOT = iphoneos; - SWIFT_EMIT_LOC_STRINGS = NO; - SWIFT_VERSION = 5.0; - TARGETED_DEVICE_FAMILY = "1,2"; - TEST_TARGET_NAME = "Challenge Alpha iOS (iOS)"; - }; - name = Debug; - }; - 315562762734184C00E1C17C /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; - CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 1; - GENERATE_INFOPLIST_FILE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 15.0; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - "@loader_path/Frameworks", - ); - MARKETING_VERSION = 1.0; - PRODUCT_BUNDLE_IDENTIFIER = "hurb.com.Tests-iOS"; - PRODUCT_NAME = "$(TARGET_NAME)"; - SDKROOT = iphoneos; - SWIFT_EMIT_LOC_STRINGS = NO; - SWIFT_VERSION = 5.0; - TARGETED_DEVICE_FAMILY = "1,2"; - TEST_TARGET_NAME = "Challenge Alpha iOS (iOS)"; - VALIDATE_PRODUCT = YES; - }; - name = Release; - }; /* End XCBuildConfiguration section */ /* Begin XCConfigurationList section */ @@ -490,15 +361,6 @@ defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; - 315562742734184C00E1C17C /* Build configuration list for PBXNativeTarget "Tests iOS" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 315562752734184C00E1C17C /* Debug */, - 315562762734184C00E1C17C /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; /* End XCConfigurationList section */ /* Begin XCSwiftPackageProductDependency section */ diff --git a/Projects/Challenge Alpha iOS/Tests iOS/Tests_iOS.swift b/Projects/Challenge Alpha iOS/Tests iOS/Tests_iOS.swift deleted file mode 100644 index 2f75a335f..000000000 --- a/Projects/Challenge Alpha iOS/Tests iOS/Tests_iOS.swift +++ /dev/null @@ -1,42 +0,0 @@ -// -// Tests_iOS.swift -// Tests iOS -// -// Created by Theo Mendes on 04/11/21. -// - -import XCTest - -class Tests_iOS: XCTestCase { - - override func setUpWithError() throws { - // Put setup code here. This method is called before the invocation of each test method in the class. - - // In UI tests it is usually best to stop immediately when a failure occurs. - continueAfterFailure = false - - // In UI tests it’s important to set the initial state - such as interface orientation - required for your tests before they run. The setUp method is a good place to do this. - } - - override func tearDownWithError() throws { - // Put teardown code here. This method is called after the invocation of each test method in the class. - } - - func testExample() throws { - // UI tests must launch the application that they test. - let app = XCUIApplication() - app.launch() - - // Use recording to get started writing UI tests. - // Use XCTAssert and related functions to verify your tests produce the correct results. - } - - func testLaunchPerformance() throws { - if #available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 7.0, *) { - // This measures how long it takes to launch your application. - measure(metrics: [XCTApplicationLaunchMetric()]) { - XCUIApplication().launch() - } - } - } -} diff --git a/Projects/Challenge Alpha iOS/Tests iOS/Tests_iOSLaunchTests.swift b/Projects/Challenge Alpha iOS/Tests iOS/Tests_iOSLaunchTests.swift deleted file mode 100644 index 256a8540b..000000000 --- a/Projects/Challenge Alpha iOS/Tests iOS/Tests_iOSLaunchTests.swift +++ /dev/null @@ -1,32 +0,0 @@ -// -// Tests_iOSLaunchTests.swift -// Tests iOS -// -// Created by Theo Mendes on 04/11/21. -// - -import XCTest - -class Tests_iOSLaunchTests: XCTestCase { - - override class var runsForEachTargetApplicationUIConfiguration: Bool { - true - } - - override func setUpWithError() throws { - continueAfterFailure = false - } - - func testLaunch() throws { - let app = XCUIApplication() - app.launch() - - // Insert steps here to perform after app launch but before taking a screenshot, - // such as logging into a test account or navigating somewhere in the app - - let attachment = XCTAttachment(screenshot: app.screenshot()) - attachment.name = "Launch Screen" - attachment.lifetime = .keepAlways - add(attachment) - } -}