Skip to content

Add constants for XCTest error domain and codes #93

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 8, 2016

Conversation

briancroom
Copy link
Contributor

This introduces error domain and error code constants, match the naming used by Apple XCTest under Swift 3.

Note that the failureWhileWaiting error code is not currently used. I tried to coax Apple XCTest into producing an error with that code, but was unable to, so I filed a radar to help understand what's going on. @mike-ferris-apple do you have any insight here?

These match the naming used by Apple XCTest under Swift 3
@modocache
Copy link
Contributor

Looks good to me! @mike-ferris-apple, care to kick off a test?

And yeah, just what is XCTestErrorCodeFailureWhileWaiting...?

@parkera
Copy link
Contributor

parkera commented Apr 8, 2016

@swift-ci please test

@modocache modocache merged commit 576ed79 into swiftlang:master Apr 8, 2016
@modocache
Copy link
Contributor

Thanks, @briancroom!

@briancroom briancroom deleted the error-constants branch April 8, 2016 12:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants