一网通办ios
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

43 lines
1.4 KiB

  1. //
  2. // im_client_iosUITests.swift
  3. // im-client-iosUITests
  4. //
  5. // Created by 北京居家科技有限公司 on 2021/12/27.
  6. //
  7. import XCTest
  8. class im_client_iosUITests: XCTestCase {
  9. override func setUpWithError() throws {
  10. // Put setup code here. This method is called before the invocation of each test method in the class.
  11. // In UI tests it is usually best to stop immediately when a failure occurs.
  12. continueAfterFailure = false
  13. // 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.
  14. }
  15. override func tearDownWithError() throws {
  16. // Put teardown code here. This method is called after the invocation of each test method in the class.
  17. }
  18. func testExample() throws {
  19. // UI tests must launch the application that they test.
  20. let app = XCUIApplication()
  21. app.launch()
  22. // Use recording to get started writing UI tests.
  23. // Use XCTAssert and related functions to verify your tests produce the correct results.
  24. }
  25. func testLaunchPerformance() throws {
  26. if #available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 7.0, *) {
  27. // This measures how long it takes to launch your application.
  28. measure(metrics: [XCTApplicationLaunchMetric()]) {
  29. XCUIApplication().launch()
  30. }
  31. }
  32. }
  33. }