diff --git a/iOS/Layover/Layover.xcodeproj/project.pbxproj b/iOS/Layover/Layover.xcodeproj/project.pbxproj index d3de931..e908568 100644 --- a/iOS/Layover/Layover.xcodeproj/project.pbxproj +++ b/iOS/Layover/Layover.xcodeproj/project.pbxproj @@ -54,8 +54,6 @@ FC7E45432AFEB62B004F155A /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = FC7E45422AFEB62B004F155A /* Assets.xcassets */; }; FC7E45462AFEB62B004F155A /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = FC7E45442AFEB62B004F155A /* LaunchScreen.storyboard */; }; FC7E45512AFEB62C004F155A /* LayoverTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = FC7E45502AFEB62C004F155A /* LayoverTests.swift */; }; - FC7E455B2AFEB62C004F155A /* LayoverUITests.swift in Sources */ = {isa = PBXBuildFile; fileRef = FC7E455A2AFEB62C004F155A /* LayoverUITests.swift */; }; - FC7E455D2AFEB62C004F155A /* LayoverUITestsLaunchTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = FC7E455C2AFEB62C004F155A /* LayoverUITestsLaunchTests.swift */; }; FC7E456A2AFEC06E004F155A /* .swiftlint.yml in Resources */ = {isa = PBXBuildFile; fileRef = FC7E45692AFEC06E004F155A /* .swiftlint.yml */; }; FC7E458C2AFF7455004F155A /* DummyModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = FC7E458B2AFF7455004F155A /* DummyModel.swift */; }; FC7E458E2AFF7462004F155A /* DummyService.swift in Sources */ = {isa = PBXBuildFile; fileRef = FC7E458D2AFF7462004F155A /* DummyService.swift */; }; @@ -136,8 +134,6 @@ FC7E454C2AFEB62B004F155A /* LayoverTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = LayoverTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; FC7E45502AFEB62C004F155A /* LayoverTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LayoverTests.swift; sourceTree = ""; }; FC7E45562AFEB62C004F155A /* LayoverUITests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = LayoverUITests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; - FC7E455A2AFEB62C004F155A /* LayoverUITests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LayoverUITests.swift; sourceTree = ""; }; - FC7E455C2AFEB62C004F155A /* LayoverUITestsLaunchTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LayoverUITestsLaunchTests.swift; sourceTree = ""; }; FC7E45692AFEC06E004F155A /* .swiftlint.yml */ = {isa = PBXFileReference; lastKnownFileType = text.yaml; path = .swiftlint.yml; sourceTree = ""; }; FC7E458B2AFF7455004F155A /* DummyModel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DummyModel.swift; sourceTree = ""; }; FC7E458D2AFF7462004F155A /* DummyService.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DummyService.swift; sourceTree = ""; }; @@ -286,7 +282,6 @@ FC7E45692AFEC06E004F155A /* .swiftlint.yml */, FC7E45382AFEB623004F155A /* Layover */, FC7E454F2AFEB62C004F155A /* LayoverTests */, - FC7E45592AFEB62C004F155A /* LayoverUITests */, FC7E45372AFEB623004F155A /* Products */, ); sourceTree = ""; @@ -328,15 +323,6 @@ path = LayoverTests; sourceTree = ""; }; - FC7E45592AFEB62C004F155A /* LayoverUITests */ = { - isa = PBXGroup; - children = ( - FC7E455A2AFEB62C004F155A /* LayoverUITests.swift */, - FC7E455C2AFEB62C004F155A /* LayoverUITestsLaunchTests.swift */, - ); - path = LayoverUITests; - sourceTree = ""; - }; FC7E456E2AFF6EDA004F155A /* Models */ = { isa = PBXGroup; children = ( @@ -627,8 +613,6 @@ isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( - FC7E455B2AFEB62C004F155A /* LayoverUITests.swift in Sources */, - FC7E455D2AFEB62C004F155A /* LayoverUITestsLaunchTests.swift in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; diff --git a/iOS/Layover/LayoverUITests/LayoverUITests.swift b/iOS/Layover/LayoverUITests/LayoverUITests.swift deleted file mode 100644 index ebe20be..0000000 --- a/iOS/Layover/LayoverUITests/LayoverUITests.swift +++ /dev/null @@ -1,41 +0,0 @@ -// -// LayoverUITests.swift -// LayoverUITests -// -// Created by kong on 2023/11/11. -// - -import XCTest - -final class LayoverUITests: 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 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/iOS/Layover/LayoverUITests/LayoverUITestsLaunchTests.swift b/iOS/Layover/LayoverUITests/LayoverUITestsLaunchTests.swift deleted file mode 100644 index e43f366..0000000 --- a/iOS/Layover/LayoverUITests/LayoverUITestsLaunchTests.swift +++ /dev/null @@ -1,32 +0,0 @@ -// -// LayoverUITestsLaunchTests.swift -// LayoverUITests -// -// Created by kong on 2023/11/11. -// - -import XCTest - -final class LayoverUITestsLaunchTests: 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) - } -}