diff options
Diffstat (limited to 'I2C/I2CUITests/I2CUITests.swift')
| -rw-r--r-- | I2C/I2CUITests/I2CUITests.swift | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/I2C/I2CUITests/I2CUITests.swift b/I2C/I2CUITests/I2CUITests.swift deleted file mode 100644 index a98bb08..0000000 --- a/I2C/I2CUITests/I2CUITests.swift +++ /dev/null | |||
| @@ -1,42 +0,0 @@ | |||
| 1 | // | ||
| 2 | // I2CUITests.swift | ||
| 3 | // I2CUITests | ||
| 4 | // | ||
| 5 | // Created by nsrddyn on 09/11/2024. | ||
| 6 | |||
| 7 | import XCTest | ||
| 8 | |||
| 9 | final class I2CUITests: XCTestCase { | ||
| 10 | |||
| 11 | override func setUpWithError() throws { | ||
| 12 | // Put setup code here. This method is called before the invocation of each test method in the class. | ||
| 13 | |||
| 14 | // In UI tests it is usually best to stop immediately when a failure occurs. | ||
| 15 | continueAfterFailure = false | ||
| 16 | |||
| 17 | // 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. | ||
| 18 | } | ||
| 19 | |||
| 20 | override func tearDownWithError() throws { | ||
| 21 | // Put teardown code here. This method is called after the invocation of each test method in the class. | ||
| 22 | } | ||
| 23 | |||
| 24 | @MainActor | ||
| 25 | func testExample() throws { | ||
| 26 | // UI tests must launch the application that they test. | ||
| 27 | let app = XCUIApplication() | ||
| 28 | app.launch() | ||
| 29 | |||
| 30 | // Use XCTAssert and related functions to verify your tests produce the correct results. | ||
| 31 | } | ||
| 32 | |||
| 33 | @MainActor | ||
| 34 | func testLaunchPerformance() throws { | ||
| 35 | if #available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 7.0, *) { | ||
| 36 | // This measures how long it takes to launch your application. | ||
| 37 | measure(metrics: [XCTApplicationLaunchMetric()]) { | ||
| 38 | XCUIApplication().launch() | ||
| 39 | } | ||
| 40 | } | ||
| 41 | } | ||
| 42 | } | ||
