1234567891011121314151617181920212223242526272829303132333435363738 |
- //
- // AutoTestProtocal.swift
- // KdanAuto
- //
- // Created by 朱东勇 on 2022/11/22.
- //
- import Foundation
- enum AutoTestStatus : Int {
-
- case Normal = 0
-
- case Wait = 1
-
- case Process = 2
-
- case Finished = 3
-
- }
- protocol AutoTestProtocal : NSObjectProtocol {
- // 类型关键字
- func type() -> String
- func name() -> String
-
- func keys() -> NSArray
- func selectedKeys() -> NSArray
-
- func setSelectedKeys(_ keys:NSArray)
-
- func autoTest()
- func autoCheck()
-
- func testReport() -> NSAttributedString?
-
- func status() -> AutoTestStatus
- }
|