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
Refactoring for Swift 3.1. #3428
Conversation
That test doesn't want to pass on this branch. 😕 |
@@ -8,6 +8,8 @@ import CoreGraphics | |||
|
|||
class InterceptingSpec: QuickSpec { | |||
override func spec() { | |||
ForwardInvocationTestObject.swizzleForTesting() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd put this in beforeAll
. If these tests aren't gonna run there's no point in calling this function.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
beforeAll
is not available in Quick IIRC.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh I think its beforeSpec
now.
@@ -7,6 +7,8 @@ import enum Result.NoError | |||
|
|||
class UIButtonSpec: QuickSpec { | |||
override func spec() { | |||
UIControl.swizzleForTesting() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ditto
@@ -824,13 +828,23 @@ class InterceptingSpec: QuickSpec { | |||
} | |||
} | |||
|
|||
extension DispatchQueue { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This can be private
#3446 seems to have a better approach. Closing for now. |
No description provided.