github.com/psiphon-Labs/psiphon-tunnel-core@v2.0.28+incompatible/MobileLibrary/iOS/SampleApps/TunneledWebView/TunneledWebViewUITests/TunneledWebViewUITests.swift (about) 1 // 2 // TunneledWebViewUITests.swift 3 // TunneledWebViewUITests 4 // 5 // Created by Adam Pritchard on 2016-11-03. 6 // Copyright © 2016 Psiphon Inc. All rights reserved. 7 // 8 9 import XCTest 10 11 class TunneledWebViewUITests: XCTestCase { 12 13 override func setUp() { 14 super.setUp() 15 16 // Put setup code here. This method is called before the invocation of each test method in the class. 17 18 // In UI tests it is usually best to stop immediately when a failure occurs. 19 continueAfterFailure = false 20 // UI tests must launch the application that they test. Doing this in setup will make sure it happens for each test method. 21 XCUIApplication().launch() 22 23 // 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. 24 } 25 26 override func tearDown() { 27 // Put teardown code here. This method is called after the invocation of each test method in the class. 28 super.tearDown() 29 } 30 31 func testExample() { 32 // Use recording to get started writing UI tests. 33 // Use XCTAssert and related functions to verify your tests produce the correct results. 34 } 35 36 }