mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-17 02:58:07 +00:00
36 lines
801 B
Swift
36 lines
801 B
Swift
import XCTest
|
|
|
|
class IncomingCallUITests: XCTestCase {
|
|
var methods: IncomingOutgoingCallViewUITestsMethods!
|
|
|
|
override func setUpWithError() throws {
|
|
continueAfterFailure = true
|
|
UITestsUtils.testAppSetup()
|
|
methods = IncomingOutgoingCallViewUITestsMethods() //to reload accounts infos if testAppSetup changes them
|
|
}
|
|
|
|
func testViewDisplay() throws {
|
|
methods.startIncomingCall()
|
|
methods.endCall()
|
|
}
|
|
|
|
func testNoAnswer() throws {
|
|
methods.startIncomingCall()
|
|
methods.noAnswerIncomingCall()
|
|
}
|
|
|
|
func testDecline() throws {
|
|
methods.startIncomingCall()
|
|
methods.declineIncomingCall()
|
|
methods.endCall()
|
|
}
|
|
|
|
func testAccept() throws {
|
|
methods.startIncomingCall()
|
|
methods.acceptIncomingCall()
|
|
methods.endCall()
|
|
}
|
|
}
|
|
|
|
|
|
|