-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
23 changed files
with
955 additions
and
88 deletions.
There are no files selected for viewing
159 changes: 79 additions & 80 deletions
159
Example/ExampleApp.xcodeproj/project.pbxproj → Example/Example.xcodeproj/project.pbxproj
Large diffs are not rendered by default.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions
4
Example/ExampleApp/ContentView.swift → Example/Example/ContentView.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
6 changes: 3 additions & 3 deletions
6
Example/ExampleApp/ExampleApp.swift → Example/Example/ExampleApp.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file was deleted.
Oops, something went wrong.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
// | ||
// UITestsLaunchTests.swift | ||
// OpenSwiftUIUITests | ||
// | ||
// Created by Kyle on 2023/11/9. | ||
// | ||
|
||
import XCTest | ||
|
||
final class UITestsLaunchTests: XCTestCase { | ||
override class var runsForEachTargetApplicationUIConfiguration: Bool { | ||
true | ||
} | ||
|
||
override func setUpWithError() throws { | ||
continueAfterFailure = false | ||
} | ||
|
||
func testLaunch() throws { | ||
let app = XCUIApplication() | ||
app.launch() | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
// | ||
// UITests.swift | ||
// OpenSwiftUIUITests | ||
// | ||
// Created by Kyle on 2023/11/9. | ||
// | ||
|
||
import XCTest | ||
import Hammer | ||
import UIKit | ||
|
||
final class UITests: XCTestCase { | ||
func testExample() throws { | ||
let app = XCUIApplication() | ||
app.launch() | ||
let eventGenerator = EventGenerator(window: app.windows.firstMatch.value as! UIWindow) | ||
eventGenerator.showTouches = true | ||
try eventGenerator.fingerUp() | ||
} | ||
} |
Oops, something went wrong.