Skip to content
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

RTL4: Fix test that was doing nothing. #147

Merged
merged 1 commit into from
Jan 21, 2016
Merged

RTL4: Fix test that was doing nothing. #147

merged 1 commit into from
Jan 21, 2016

Conversation

tcard
Copy link
Contributor

@tcard tcard commented Jan 20, 2016

hasAttached was never being written. Also, now expectation is
fullfilled when the channel is closed so that the no-op
[channel attach] calls can have an observable effect if they're
wrong, ie. if they transition again to ATTACHED.

@ricardopereira
Copy link
Contributor

LGTM

@ricardopereira
Copy link
Contributor

Doesn't compile:

/Users/travis/build/ably/ably-ios/ably-iosTests/ARTRealtimeAttachTest.m:63:38: no visible @interface for 'ARTRealtimeChannel' declares the selector 'close'

hasAttached was never being written. Also, now expectation is
fullfilled when the channel is closed so that the no-op
`[channel attach]` calls can have an observable effect if they're
wrong, ie. if they transition again to ATTACHED.
@tcard
Copy link
Contributor Author

tcard commented Jan 20, 2016

Sorry, I forgot to run the Obj-C suite on my machine. PTAL

@mattheworiordan
Copy link
Member

Ok, bit of a messy test but it's legacy so looks good in that at least it's fixed

@tcard
Copy link
Contributor Author

tcard commented Jan 21, 2016

Pretty much all the Obj-C tests are like this. Each of them is huge, and test several things. IMHO it's not worth fixing most of them, they should be superseded by proper unit tests in the Swift suite.

tcard added a commit that referenced this pull request Jan 21, 2016
RTL4: Fix test that was doing nothing.
@tcard tcard merged commit b9a4d70 into master Jan 21, 2016
@mattheworiordan
Copy link
Member

Agreed, not worth fixing, we have bigger fish to fry!

@tcard tcard deleted the fix-rtl4 branch January 21, 2016 11:22
maratal pushed a commit that referenced this pull request Jul 19, 2023
Re-add RTN16d (accidentally removed)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants