XCTest Xcode 7.0 OS X API Differences

XCAbstractTest.h
Added XCTest.testRun
Added -[XCTest runTest]
Modified XCTest.name
Declaration
From@property (readonly, copy) NSString *name
To@property (readonly, copy, nonnull) NSString *name

Modified XCTest.testRunClass
Declaration
From@property (readonly) Class testRunClass
To@property (readonly, nonnull) Class testRunClass

Modified -[XCTest performTest:]
Declaration
From- (void)performTest:(XCTestRun *)run
To- (void)performTest:(nonnull XCTestRun *)run

Modified -[XCTest run]
DeclarationAvailability
From- (XCTestRun *)runAvailable
To- (nonnull XCTestRun *)runDeprecated

XCTestCase.h
Added -[XCTestCase addUIInterruptionMonitorWithDescription:handler:]
Added -[XCTestCase removeUIInterruptionMonitor:]
Modified +[XCTestCase testCaseWithInvocation:]
Declaration
From+ (id)testCaseWithInvocation:(NSInvocation *)invocation
To+ (nonnull instancetype)testCaseWithInvocation:(nullable NSInvocation *)invocation

Modified -[XCTestCase initWithInvocation:]
Declaration
From- (id)initWithInvocation:(NSInvocation *)invocation
To- (nonnull instancetype)initWithInvocation:(nullable NSInvocation *)invocation

Modified +[XCTestCase testCaseWithSelector:]
Declaration
From+ (id)testCaseWithSelector:(SEL)selector
To+ (nonnull instancetype)testCaseWithSelector:(nonnull SEL)selector

Modified -[XCTestCase initWithSelector:]
Declaration
From- (id)initWithSelector:(SEL)selector
To- (nonnull instancetype)initWithSelector:(nonnull SEL)selector

Modified XCTestCase.invocation
Declaration
From@property (strong) NSInvocation *invocation
To@property (strong, nullable) NSInvocation *invocation

Modified -[XCTestCase recordFailureWithDescription:inFile:atLine:expected:]
Declaration
From- (void)recordFailureWithDescription:(NSString *)description inFile:(NSString *)filePath atLine:(NSUInteger)lineNumber expected:(BOOL)expected
To- (void)recordFailureWithDescription:(nonnull NSString *)description inFile:(nonnull NSString *)filePath atLine:(NSUInteger)lineNumber expected:(BOOL)expected

Modified +[XCTestCase testInvocations]
Declaration
From+ (NSArray *)testInvocations
To+ (nonnull NSArray<NSInvocation *> *)testInvocations

Modified XCTPerformanceMetric_WallClockTime
Declaration
FromNSString *const XCTPerformanceMetric_WallClockTime
ToNSString *const _Nonnull XCTPerformanceMetric_WallClockTime

Modified +[XCTestCase defaultPerformanceMetrics]
Declaration
From+ (NSArray *)defaultPerformanceMetrics
To+ (nonnull NSArray<NSString *> *)defaultPerformanceMetrics

Modified -[XCTestCase measureBlock:]
Declaration
From- (void)measureBlock:(void (^)(void))block
To- (void)measureBlock:(nonnull void (^)(void))block

Modified -[XCTestCase measureMetrics:automaticallyStartMeasuring:forBlock:]
Declaration
From- (void)measureMetrics:(NSArray *)metrics automaticallyStartMeasuring:(BOOL)automaticallyStartMeasuring forBlock:(void (^)(void))block
To- (void)measureMetrics:(nonnull NSArray<NSString *> *)metrics automaticallyStartMeasuring:(BOOL)automaticallyStartMeasuring forBlock:(nonnull void (^)(void))block

Modified +[XCTestCase defaultTestSuite]
Declaration
From+ (XCTestSuite *)defaultTestSuite
To+ (nonnull XCTestSuite *)defaultTestSuite

XCTestCase+AsynchronousTesting.h
Added XCPredicateExpectationHandler
Added -[XCTestCase expectationForPredicate:evaluatedWithObject:handler:]
Modified -[XCTestCase expectationWithDescription:]
Declaration
From- (XCTestExpectation *)expectationWithDescription:(NSString *)description
To- (nonnull XCTestExpectation *)expectationWithDescription:(nonnull NSString *)description

Modified XCWaitCompletionHandler
Declaration
Fromtypedef void (^XCWaitCompletionHandler)(NSError *error)
Totypedef void (^XCWaitCompletionHandler)(NSError * _Nullable error)

Modified -[XCTestCase waitForExpectationsWithTimeout:handler:]
Declaration
From- (void)waitForExpectationsWithTimeout:(NSTimeInterval)timeout handler:(XCWaitCompletionHandler)handlerOrNil
To- (void)waitForExpectationsWithTimeout:(NSTimeInterval)timeout handler:(nullable XCWaitCompletionHandler)handler

Modified -[XCTestCase keyValueObservingExpectationForObject:keyPath:expectedValue:]
Declaration
From- (XCTestExpectation *)keyValueObservingExpectationForObject:(id)objectToObserve keyPath:(NSString *)keyPath expectedValue:(id)expectedValue
To- (nonnull XCTestExpectation *)keyValueObservingExpectationForObject:(nonnull id)objectToObserve keyPath:(nonnull NSString *)keyPath expectedValue:(nullable id)expectedValue

Modified XCKeyValueObservingExpectationHandler
Declaration
Fromtypedef BOOL (^XCKeyValueObservingExpectationHandler)(id observedObject, NSDictionary *change)
Totypedef BOOL (^XCKeyValueObservingExpectationHandler)(id _Nonnull observedObject, NSDictionary * _Nonnull change)

Modified -[XCTestCase keyValueObservingExpectationForObject:keyPath:handler:]
Declaration
From- (XCTestExpectation *)keyValueObservingExpectationForObject:(id)objectToObserve keyPath:(NSString *)keyPath handler:(XCKeyValueObservingExpectationHandler)handlerOrNil
To- (nonnull XCTestExpectation *)keyValueObservingExpectationForObject:(nonnull id)objectToObserve keyPath:(nonnull NSString *)keyPath handler:(nullable XCKeyValueObservingExpectationHandler)handler

Modified XCNotificationExpectationHandler
Declaration
Fromtypedef BOOL (^XCNotificationExpectationHandler)(NSNotification *notification)
Totypedef BOOL (^XCNotificationExpectationHandler)(NSNotification * _Nonnull notification)

Modified -[XCTestCase expectationForNotification:object:handler:]
Declaration
From- (XCTestExpectation *)expectationForNotification:(NSString *)notificationName object:(id)objectToObserve handler:(XCNotificationExpectationHandler)handlerOrNil
To- (nonnull XCTestExpectation *)expectationForNotification:(nonnull NSString *)notificationName object:(nullable id)objectToObserve handler:(nullable XCNotificationExpectationHandler)handler

XCTestCaseRun.h
Modified -[XCTestCaseRun recordFailureInTest:withDescription:inFile:atLine:expected:]
Declaration
From- (void)recordFailureInTest:(XCTestCase *)testCase withDescription:(NSString *)description inFile:(NSString *)filePath atLine:(NSUInteger)lineNumber expected:(BOOL)expected
To- (void)recordFailureInTest:(nonnull XCTestCase *)testCase withDescription:(nonnull NSString *)description inFile:(nonnull NSString *)filePath atLine:(NSUInteger)lineNumber expected:(BOOL)expected

XCTestDefines.h
Added #def XCT_GENERICS_AVAILABLE
Added #def XCT_NULLABLE_AVAILABLE
Added #def XCT_UI_TESTING_AVAILABLE
Added #def XCTEST_SIMULATOR_UNAVAILABLE
XCTestObservation.h
Added XCTestObservation
Added -[XCTestObservation testBundleWillStart:]
Added -[XCTestObservation testBundleDidFinish:]
Added -[XCTestObservation testSuiteWillStart:]
Added -[XCTestObservation testSuite:didFailWithDescription:inFile:atLine:]
Added -[XCTestObservation testSuiteDidFinish:]
Added -[XCTestObservation testCaseWillStart:]
Added -[XCTestObservation testCase:didFailWithDescription:inFile:atLine:]
Added -[XCTestObservation testCaseDidFinish:]
XCTestObservationCenter.h
Added XCTestObservationCenter
Added +[XCTestObservationCenter sharedTestObservationCenter]
Added -[XCTestObservationCenter addTestObserver:]
Added -[XCTestObservationCenter removeTestObserver:]
XCTestRun.h
Modified +[XCTestRun testRunWithTest:]
Declaration
From+ (id)testRunWithTest:(XCTest *)test
To+ (nonnull instancetype)testRunWithTest:(nonnull XCTest *)test

Modified -[XCTestRun initWithTest:]
Declaration
From- (id)initWithTest:(XCTest *)test
To- (nonnull instancetype)initWithTest:(nonnull XCTest *)test

Modified XCTestRun.test
Declaration
From@property (readonly, strong) XCTest *test
To@property (readonly, strong, nonnull) XCTest *test

Modified XCTestRun.startDate
Declaration
From@property (readonly, copy) NSDate *startDate
To@property (readonly, copy, nullable) NSDate *startDate

Modified XCTestRun.stopDate
Declaration
From@property (readonly, copy) NSDate *stopDate
To@property (readonly, copy, nullable) NSDate *stopDate

Modified -[XCTestRun recordFailureWithDescription:inFile:atLine:expected:]
Declaration
From- (void)recordFailureWithDescription:(NSString *)description inFile:(NSString *)filePath atLine:(NSUInteger)lineNumber expected:(BOOL)expected
To- (void)recordFailureWithDescription:(nonnull NSString *)description inFile:(nullable NSString *)filePath atLine:(NSUInteger)lineNumber expected:(BOOL)expected

XCTestSuite.h
Modified +[XCTestSuite defaultTestSuite]
Declaration
From+ (id)defaultTestSuite
To+ (nonnull instancetype)defaultTestSuite

Modified +[XCTestSuite testSuiteForBundlePath:]
Declaration
From+ (id)testSuiteForBundlePath:(NSString *)bundlePath
To+ (nonnull instancetype)testSuiteForBundlePath:(nonnull NSString *)bundlePath

Modified +[XCTestSuite testSuiteForTestCaseWithName:]
Declaration
From+ (id)testSuiteForTestCaseWithName:(NSString *)name
To+ (nonnull instancetype)testSuiteForTestCaseWithName:(nonnull NSString *)name

Modified +[XCTestSuite testSuiteForTestCaseClass:]
Declaration
From+ (id)testSuiteForTestCaseClass:(Class)testCaseClass
To+ (nonnull instancetype)testSuiteForTestCaseClass:(nonnull Class)testCaseClass

Modified +[XCTestSuite testSuiteWithName:]
Declaration
From+ (id)testSuiteWithName:(NSString *)name
To+ (nonnull instancetype)testSuiteWithName:(nonnull NSString *)name

Modified -[XCTestSuite initWithName:]
Declaration
From- (id)initWithName:(NSString *)name
To- (nonnull instancetype)initWithName:(nonnull NSString *)name

Modified -[XCTestSuite addTest:]
Declaration
From- (void)addTest:(XCTest *)test
To- (void)addTest:(nonnull XCTest *)test

Modified XCTestSuite.tests
Declaration
From@property (readonly, copy) NSArray *tests
To@property (readonly, copy, nonnull) NSArray<__kindof XCTest *> *tests

XCTestSuiteRun.h
Modified XCTestSuiteRun.testRuns
Declaration
From@property (readonly, copy) NSArray *testRuns
To@property (readonly, copy, nonnull) NSArray<XCTestRun *> *testRuns

Modified -[XCTestSuiteRun addTestRun:]
Declaration
From- (void)addTestRun:(XCTestRun *)testRun
To- (void)addTestRun:(nonnull XCTestRun *)testRun

XCUIApplication.h
Added XCUIApplication
Added -[XCUIApplication launch]
Added -[XCUIApplication terminate]
Added XCUIApplication.launchArguments
Added XCUIApplication.launchEnvironment
XCUICoordinate.h
Added XCUICoordinate
Added XCUICoordinate.referencedElement
Added XCUICoordinate.screenPoint
Added -[XCUICoordinate coordinateWithOffset:]
Added -[XCUICoordinate hover]
Added -[XCUICoordinate click]
Added -[XCUICoordinate doubleClick]
Added -[XCUICoordinate rightClick]
Added -[XCUICoordinate clickForDuration:thenDragToCoordinate:]
Added -[XCUICoordinate scrollByDeltaX:deltaY:]
XCUIElement.h
Added XCUIKeyModifierFlags
Added XCUIKeyModifierNone
Added XCUIKeyModifierAlphaShift
Added XCUIKeyModifierShift
Added XCUIKeyModifierControl
Added XCUIKeyModifierAlternate
Added XCUIKeyModifierOption
Added XCUIKeyModifierCommand
Added XCUIElement
Added XCUIElement.exists
Added XCUIElement.hittable
Added -[XCUIElement descendantsMatchingType:]
Added -[XCUIElement childrenMatchingType:]
Added -[XCUIElement coordinateWithNormalizedOffset:]
Added XCUIElement.debugDescription
Added XCUIElement (XCUIElementEventSynthesis)
Added -[XCUIElement typeText:]
Added -[XCUIElement hover]
Added -[XCUIElement click]
Added -[XCUIElement doubleClick]
Added -[XCUIElement rightClick]
Added -[XCUIElement clickForDuration:thenDragToElement:]
Added +[XCUIElement performWithKeyModifiers:block:]
Added -[XCUIElement typeKey:modifierFlags:]
Added -[XCUIElement scrollByDeltaX:deltaY:]
Added XCUIElement (XCUIElementTypeSlider)
Added -[XCUIElement adjustToNormalizedSliderPosition:]
Added XCUIElement.normalizedSliderPosition
XCUIElementAttributes.h
Added XCUIUserInterfaceSizeClass
Added XCUIUserInterfaceSizeClassUnspecified
Added XCUIElementAttributes
Added XCUIElementAttributes.identifier
Added XCUIElementAttributes.frame
Added XCUIElementAttributes.value
Added XCUIElementAttributes.title
Added XCUIElementAttributes.label
Added XCUIElementAttributes.elementType
Added XCUIElementAttributes.enabled
Added XCUIElementAttributes.horizontalSizeClass
Added XCUIElementAttributes.verticalSizeClass
Added XCUIElementAttributes.placeholderValue
Added XCUIElementAttributes.selected
XCUIElementQuery.h
Added XCUIIdentifierCloseWindow
Added XCUIIdentifierMinimizeWindow
Added XCUIIdentifierZoomWindow
Added XCUIIdentifierFullScreenWindow
Added XCUIElementQuery
Added XCUIElementQuery.element
Added XCUIElementQuery.count
Added -[XCUIElementQuery elementAtIndex:]
Added -[XCUIElementQuery elementBoundByIndex:]
Added -[XCUIElementQuery elementMatchingPredicate:]
Added -[XCUIElementQuery elementMatchingType:identifier:]
Added -[XCUIElementQuery objectForKeyedSubscript:]
Added XCUIElementQuery.allElementsBoundByAccessibilityElement
Added XCUIElementQuery.allElementsBoundByIndex
Added -[XCUIElementQuery descendantsMatchingType:]
Added -[XCUIElementQuery childrenMatchingType:]
Added -[XCUIElementQuery matchingPredicate:]
Added -[XCUIElementQuery matchingType:identifier:]
Added -[XCUIElementQuery matchingIdentifier:]
Added -[XCUIElementQuery containingPredicate:]
Added -[XCUIElementQuery containingType:identifier:]
Added XCUIElementQuery.debugDescription
XCUIElementTypeQueryProvider.h
Added XCUIElementTypeQueryProvider
Added XCUIElementTypeQueryProvider.groups
Added XCUIElementTypeQueryProvider.windows
Added XCUIElementTypeQueryProvider.sheets
Added XCUIElementTypeQueryProvider.drawers
Added XCUIElementTypeQueryProvider.alerts
Added XCUIElementTypeQueryProvider.dialogs
Added XCUIElementTypeQueryProvider.buttons
Added XCUIElementTypeQueryProvider.radioButtons
Added XCUIElementTypeQueryProvider.radioGroups
Added XCUIElementTypeQueryProvider.checkBoxes
Added XCUIElementTypeQueryProvider.disclosureTriangles
Added XCUIElementTypeQueryProvider.popUpButtons
Added XCUIElementTypeQueryProvider.comboBoxes
Added XCUIElementTypeQueryProvider.menuButtons
Added XCUIElementTypeQueryProvider.toolbarButtons
Added XCUIElementTypeQueryProvider.popovers
Added XCUIElementTypeQueryProvider.keyboards
Added XCUIElementTypeQueryProvider.keys
Added XCUIElementTypeQueryProvider.navigationBars
Added XCUIElementTypeQueryProvider.tabBars
Added XCUIElementTypeQueryProvider.tabGroups
Added XCUIElementTypeQueryProvider.toolbars
Added XCUIElementTypeQueryProvider.statusBars
Added XCUIElementTypeQueryProvider.tables
Added XCUIElementTypeQueryProvider.tableRows
Added XCUIElementTypeQueryProvider.tableColumns
Added XCUIElementTypeQueryProvider.outlines
Added XCUIElementTypeQueryProvider.outlineRows
Added XCUIElementTypeQueryProvider.browsers
Added XCUIElementTypeQueryProvider.collectionViews
Added XCUIElementTypeQueryProvider.sliders
Added XCUIElementTypeQueryProvider.pageIndicators
Added XCUIElementTypeQueryProvider.progressIndicators
Added XCUIElementTypeQueryProvider.activityIndicators
Added XCUIElementTypeQueryProvider.segmentedControls
Added XCUIElementTypeQueryProvider.pickers
Added XCUIElementTypeQueryProvider.pickerWheels
Added XCUIElementTypeQueryProvider.switches
Added XCUIElementTypeQueryProvider.toggles
Added XCUIElementTypeQueryProvider.links
Added XCUIElementTypeQueryProvider.images
Added XCUIElementTypeQueryProvider.icons
Added XCUIElementTypeQueryProvider.searchFields
Added XCUIElementTypeQueryProvider.scrollViews
Added XCUIElementTypeQueryProvider.scrollBars
Added XCUIElementTypeQueryProvider.staticTexts
Added XCUIElementTypeQueryProvider.textFields
Added XCUIElementTypeQueryProvider.secureTextFields
Added XCUIElementTypeQueryProvider.datePickers
Added XCUIElementTypeQueryProvider.textViews
Added XCUIElementTypeQueryProvider.menus
Added XCUIElementTypeQueryProvider.menuItems
Added XCUIElementTypeQueryProvider.menuBars
Added XCUIElementTypeQueryProvider.menuBarItems
Added XCUIElementTypeQueryProvider.maps
Added XCUIElementTypeQueryProvider.webViews
Added XCUIElementTypeQueryProvider.steppers
Added XCUIElementTypeQueryProvider.incrementArrows
Added XCUIElementTypeQueryProvider.decrementArrows
Added XCUIElementTypeQueryProvider.tabs
Added XCUIElementTypeQueryProvider.timelines
Added XCUIElementTypeQueryProvider.ratingIndicators
Added XCUIElementTypeQueryProvider.valueIndicators
Added XCUIElementTypeQueryProvider.splitGroups
Added XCUIElementTypeQueryProvider.splitters
Added XCUIElementTypeQueryProvider.relevanceIndicators
Added XCUIElementTypeQueryProvider.colorWells
Added XCUIElementTypeQueryProvider.helpTags
Added XCUIElementTypeQueryProvider.mattes
Added XCUIElementTypeQueryProvider.dockItems
Added XCUIElementTypeQueryProvider.rulers
Added XCUIElementTypeQueryProvider.rulerMarkers
Added XCUIElementTypeQueryProvider.grids
Added XCUIElementTypeQueryProvider.levelIndicators
Added XCUIElementTypeQueryProvider.cells
Added XCUIElementTypeQueryProvider.layoutAreas
Added XCUIElementTypeQueryProvider.layoutItems
Added XCUIElementTypeQueryProvider.handles
Added XCUIElementTypeQueryProvider.otherElements
XCUIElementTypes.h
Added XCUIElementType
Added XCUIElementTypeAny
Added XCUIElementTypeOther
Added XCUIElementTypeApplication
Added XCUIElementTypeGroup
Added XCUIElementTypeWindow
Added XCUIElementTypeSheet
Added XCUIElementTypeDrawer
Added XCUIElementTypeAlert
Added XCUIElementTypeDialog
Added XCUIElementTypeButton
Added XCUIElementTypeRadioButton
Added XCUIElementTypeRadioGroup
Added XCUIElementTypeCheckBox
Added XCUIElementTypeDisclosureTriangle
Added XCUIElementTypePopUpButton
Added XCUIElementTypeComboBox
Added XCUIElementTypeMenuButton
Added XCUIElementTypeToolbarButton
Added XCUIElementTypePopover
Added XCUIElementTypeKeyboard
Added XCUIElementTypeKey
Added XCUIElementTypeNavigationBar
Added XCUIElementTypeTabBar
Added XCUIElementTypeTabGroup
Added XCUIElementTypeToolbar
Added XCUIElementTypeStatusBar
Added XCUIElementTypeTable
Added XCUIElementTypeTableRow
Added XCUIElementTypeTableColumn
Added XCUIElementTypeOutline
Added XCUIElementTypeOutlineRow
Added XCUIElementTypeBrowser
Added XCUIElementTypeCollectionView
Added XCUIElementTypeSlider
Added XCUIElementTypePageIndicator
Added XCUIElementTypeProgressIndicator
Added XCUIElementTypeActivityIndicator
Added XCUIElementTypeSegmentedControl
Added XCUIElementTypePicker
Added XCUIElementTypePickerWheel
Added XCUIElementTypeSwitch
Added XCUIElementTypeToggle
Added XCUIElementTypeLink
Added XCUIElementTypeImage
Added XCUIElementTypeIcon
Added XCUIElementTypeSearchField
Added XCUIElementTypeScrollView
Added XCUIElementTypeScrollBar
Added XCUIElementTypeStaticText
Added XCUIElementTypeTextField
Added XCUIElementTypeSecureTextField
Added XCUIElementTypeDatePicker
Added XCUIElementTypeTextView
Added XCUIElementTypeMenu
Added XCUIElementTypeMenuItem
Added XCUIElementTypeMenuBar
Added XCUIElementTypeMenuBarItem
Added XCUIElementTypeMap
Added XCUIElementTypeWebView
Added XCUIElementTypeIncrementArrow
Added XCUIElementTypeDecrementArrow
Added XCUIElementTypeTimeline
Added XCUIElementTypeRatingIndicator
Added XCUIElementTypeValueIndicator
Added XCUIElementTypeSplitGroup
Added XCUIElementTypeSplitter
Added XCUIElementTypeRelevanceIndicator
Added XCUIElementTypeColorWell
Added XCUIElementTypeHelpTag
Added XCUIElementTypeMatte
Added XCUIElementTypeDockItem
Added XCUIElementTypeRuler
Added XCUIElementTypeRulerMarker
Added XCUIElementTypeGrid
Added XCUIElementTypeLevelIndicator
Added XCUIElementTypeCell
Added XCUIElementTypeLayoutArea
Added XCUIElementTypeLayoutItem
Added XCUIElementTypeHandle
Added XCUIElementTypeStepper
Added XCUIElementTypeTab
XCUIKeyboardKeys.h
Added XCUIKeyboardKeyDelete
Added XCUIKeyboardKeyReturn
Added XCUIKeyboardKeyEnter
Added XCUIKeyboardKeyTab
Added XCUIKeyboardKeySpace
Added XCUIKeyboardKeyEscape
Added XCUIKeyboardKeyUpArrow
Added XCUIKeyboardKeyDownArrow
Added XCUIKeyboardKeyLeftArrow
Added XCUIKeyboardKeyRightArrow
Added XCUIKeyboardKeyF1
Added XCUIKeyboardKeyF2
Added XCUIKeyboardKeyF3
Added XCUIKeyboardKeyF4
Added XCUIKeyboardKeyF5
Added XCUIKeyboardKeyF6
Added XCUIKeyboardKeyF7
Added XCUIKeyboardKeyF8
Added XCUIKeyboardKeyF9
Added XCUIKeyboardKeyF10
Added XCUIKeyboardKeyF11
Added XCUIKeyboardKeyF12
Added XCUIKeyboardKeyF13
Added XCUIKeyboardKeyF14
Added XCUIKeyboardKeyF15
Added XCUIKeyboardKeyF16
Added XCUIKeyboardKeyF17
Added XCUIKeyboardKeyF18
Added XCUIKeyboardKeyF19
Added XCUIKeyboardKeyForwardDelete
Added XCUIKeyboardKeyHome
Added XCUIKeyboardKeyEnd
Added XCUIKeyboardKeyPageUp
Added XCUIKeyboardKeyPageDown
Added XCUIKeyboardKeyClear
Added XCUIKeyboardKeyHelp
Added XCUIKeyboardKeyCapsLock
Added XCUIKeyboardKeyShift
Added XCUIKeyboardKeyControl
Added XCUIKeyboardKeyOption
Added XCUIKeyboardKeyCommand
Added XCUIKeyboardKeyRightShift
Added XCUIKeyboardKeyRightControl
Added XCUIKeyboardKeyRightOption
Added XCUIKeyboardKeyRightCommand
Added XCUIKeyboardKeySecondaryFn