XCTest Xcode 6.0 API Differences

XCAbstractTest.h
Removed -[XCTest isEmpty]
Modified -[XCTest testCaseCount]
Declaration
From- (NSUInteger)testCaseCount
To@property (readonly) NSUInteger testCaseCount

Modified -[XCTest name]
Declaration
From- (NSString *)name
To@property (readonly, copy) NSString *name

Modified -[XCTest testRunClass]
Declaration
From- (Class)testRunClass
To@property (readonly) Class testRunClass

XCTestAssertions.h
Added #def XCTAssertGreaterThan
Added #def XCTAssertGreaterThanOrEqual
Added #def XCTAssertLessThan
Added #def XCTAssertLessThanOrEqual
XCTestCase.h
Removed -[XCTestCase selector]
Added XCTPerformanceMetric_WallClockTime
Added +[XCTestCase defaultPerformanceMetrics]
Added -[XCTestCase measureBlock:]
Added -[XCTestCase measureMetrics:automaticallyStartMeasuring:forBlock:]
Added -[XCTestCase startMeasuring]
Added -[XCTestCase stopMeasuring]
Modified -[XCTestCase invocation]
Declaration
From- (NSInvocation *)invocation
To@property (strong) NSInvocation *invocation

Modified -[XCTestCase setInvocation:]
Declaration
From- (void)setInvocation:(NSInvocation *)anInvocation
To@property (strong) NSInvocation *invocation

Modified XCTestCase.continueAfterFailure
Declaration
From@property (readwrite) BOOL continueAfterFailure
To@property BOOL continueAfterFailure

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

XCTestCaseRun.h
Modified -[XCTestCaseRun recordFailureInTest:withDescription:inFile:atLine:expected:]
Availability
FromAvailable
ToDeprecated

XCTestErrors.h
Added XCTestErrorDomain
Added XCTestErrorCode
Added XCTestErrorCodeTimeoutWhileWaiting
Added XCTestErrorCodeFailureWhileWaiting
XCTestLog.h
Modified XCTestLog
Availability
FromAvailable
ToDeprecated

Modified -[XCTestLog logFileHandle]
Declaration
From- (NSFileHandle *)logFileHandle
To@property (readonly, strong) NSFileHandle *logFileHandle

XCTestObserver.h
Modified XCTestObserver
Availability
FromAvailable
ToDeprecated

Modified XCTestObserverClassKey
Availability
FromAvailable
ToDeprecated

XCTestProbe.h
Modified XCTSelfTestMain()
Availability
FromAvailable
ToDeprecated

Modified XCTestProbe
Availability
FromAvailable
ToDeprecated

Modified XCTestedUnitPath
Availability
FromAvailable
ToDeprecated

Modified XCTestScopeKey
Availability
FromAvailable
ToDeprecated

Modified XCTestScopeAll
Availability
FromAvailable
ToDeprecated

Modified XCTestScopeNone
Availability
FromAvailable
ToDeprecated

Modified XCTestScopeSelf
Availability
FromAvailable
ToDeprecated

Modified XCTestToolKey
Availability
FromAvailable
ToDeprecated

XCTestRun.h
Added XCTestRun.executionCount
Added -[XCTestRun recordFailureWithDescription:inFile:atLine:expected:]
Modified -[XCTestRun test]
Declaration
From- (XCTest *)test
To@property (readonly, strong) XCTest *test

Modified -[XCTestRun startDate]
Declaration
From- (NSDate *)startDate
To@property (readonly, copy) NSDate *startDate

Modified -[XCTestRun stopDate]
Declaration
From- (NSDate *)stopDate
To@property (readonly, copy) NSDate *stopDate

Modified -[XCTestRun totalDuration]
Declaration
From- (NSTimeInterval)totalDuration
To@property (readonly) NSTimeInterval totalDuration

Modified -[XCTestRun testDuration]
Declaration
From- (NSTimeInterval)testDuration
To@property (readonly) NSTimeInterval testDuration

Modified -[XCTestRun testCaseCount]
Declaration
From- (NSUInteger)testCaseCount
To@property (readonly) NSUInteger testCaseCount

Modified -[XCTestRun failureCount]
Declaration
From- (NSUInteger)failureCount
To@property (readonly) NSUInteger failureCount

Modified -[XCTestRun unexpectedExceptionCount]
Declaration
From- (NSUInteger)unexpectedExceptionCount
To@property (readonly) NSUInteger unexpectedExceptionCount

Modified -[XCTestRun totalFailureCount]
Declaration
From- (NSUInteger)totalFailureCount
To@property (readonly) NSUInteger totalFailureCount

Modified -[XCTestRun hasSucceeded]
Declaration
From- (BOOL)hasSucceeded
To@property (readonly) BOOL hasSucceeded

XCTestSuite.h
Removed -[XCTestSuite addTestsEnumeratedBy:]
Modified -[XCTestSuite tests]
Declaration
From- (NSArray *)tests
To@property (readonly, copy) NSArray *tests

XCTestSuiteRun.h
Modified -[XCTestSuiteRun testRuns]
Declaration
From- (NSArray *)testRuns
To@property (readonly, copy) NSArray *testRuns

XCTextCase+AsynchronousTesting.h
Added XCTestExpectation
Added -[XCTestExpectation fulfill]
Added XCTestCase (AsynchronousTesting)
Added -[XCTestCase expectationWithDescription:]
Added XCWaitCompletionHandler
Added -[XCTestCase waitForExpectationsWithTimeout:handler:]
Added -[XCTestCase keyValueObservingExpectationForObject:keyPath:expectedValue:]
Added XCKeyValueObservingExpectationHandler
Added -[XCTestCase keyValueObservingExpectationForObject:keyPath:handler:]
Added XCNotificationExpectationHandler
Added -[XCTestCase expectationForNotification:object:handler:]