新增构建OpenSSL镜像相关文件

This commit is contained in:
2024-03-15 14:52:38 +08:00
committed by huty
parent 43337c1a0b
commit 132c17af2d
10119 changed files with 1581963 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
import XCTest
extension XCUIApplication {
var isDisplayingWelcomeScreen: Bool {
otherElements["welcomeView"].waitForExistence(timeout: 2)
}
}

View File

@@ -0,0 +1,23 @@
import XCTest
class MacUILaunchTest: XCTestCase {
var app: XCUIApplication!
override func setUpWithError() throws {
try super.setUpWithError()
continueAfterFailure = false
app = XCUIApplication()
app.launchArguments.append("--uitesting")
app.launch()
}
func testThatWelcomeScreenDisplaysForLoggedOutUser() {
XCTAssertTrue(app.isDisplayingWelcomeScreen)
}
func testLaunchPerformance() throws {
measure(metrics: [XCTApplicationLaunchMetric()]) {
XCUIApplication().launch()
}
}
}

View File

@@ -0,0 +1,23 @@
import XCTest
class IosLaunchTest: XCTestCase {
var app: XCUIApplication!
override func setUpWithError() throws {
try super.setUpWithError()
continueAfterFailure = false
app = XCUIApplication()
app.launchArguments.append("--uitesting")
app.launch()
}
func testThatWelcomeScreenDisplaysForLoggedOutUser() {
XCTAssertTrue(app.isDisplayingWelcomeScreen)
}
func testLaunchPerformance() throws {
measure(metrics: [XCTApplicationLaunchMetric()]) {
XCUIApplication().launch()
}
}
}