Skip to content

Commit d5e3dee

Browse files
committed
[apinotes] Rename a few XCTest APIs.
...as requested by the XCTest team, of course. rdar://problem/26705624
1 parent b3a9656 commit d5e3dee

File tree

2 files changed

+21
-1
lines changed

2 files changed

+21
-1
lines changed

apinotes/CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ set(SWIFT_API_NOTES_INPUTS
1515
TVServices
1616
UIKit
1717
WatchKit
18-
WebKit)
18+
WebKit
19+
XCTest)
1920

2021
if(NOT DEFINED SWIFT_API_NOTES_PATH)
2122
message(FATAL_ERROR "Define SWIFT_API_NOTES_PATH before including this file")

apinotes/XCTest.apinotes

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
Name: XCTest
3+
Classes:
4+
- Name: XCTestSuiteRun
5+
Methods:
6+
- Selector: 'addTestRun:'
7+
MethodKind: Instance
8+
SwiftName: 'addTestRun(_:)'
9+
- Name: XCUIElementQuery
10+
Methods:
11+
- Selector: 'matchingPredicate:'
12+
MethodKind: Instance
13+
SwiftName: 'matching(_:)'
14+
- Selector: 'matchingType:identifier:'
15+
MethodKind: Instance
16+
SwiftName: 'matching(_:identifier:)'
17+
- Selector: 'matchingIdentifier:'
18+
MethodKind: Instance
19+
SwiftName: 'matching(identifier:)'

0 commit comments

Comments
 (0)