Code migration to XCTest + Regeneration of the Xcode project to start from a clean slate (because it seemed a bit corrupted maybe?)
Fixing pbxproj small typos
Refactor to migrate to XCTestExpectation (with my own implementation for Xcode5 so it is still compatible)
Fix demo scheme
Prevent redefinition of XCTestExpectation in Xcode6… for OSX SDK 10.10 too (was previously only prevented for iOS SDK 8.0)
+ Validate Build Settings + Increased timing tolerance
Using much faster and efficient OSAtomicCompareAndSwap instead of @synchronize)
--> We now avoid locking the whole object with @synchronize each time, because locking the array each time with @synchronize was slowing down the unit tests a lot — making the timeout expire due to that extra time used for locking
Better Failure Locations (actually shows error on the expectationWithDescription & waitForExpectationsWithTimeout lines :-))
Renamed secret methods to BETTER_FAILURE_EXPECTATIONS to have a more private name
[XCTest RetroCompat] No need to lock the _expectations array when we fulfill an expectation, simply decrementing the counter is enough and faster than useless locking
Merge 'XCTest' into master