-
Notifications
You must be signed in to change notification settings - Fork 26
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
Issues noticed while reviewing tests marked as done #140
Comments
Well spec says a token string or a key string, but does not specify a Token in the spec. It's a convenience we have added, see https://github.com/ably/wiki/issues/47 for proposed change.
Simply means no one has looked at it yet so it's not definitely
So please mark the test as
True, in fact that whole |
I'm not sure what you're saying. There's no Token type defined, I guess you're referring to TokenDetails? Anyway, the spec says a token string should be accepted by the AblyRest constructor, but that isn't implemented in iOS, and the docs just specify the constructors As per accepting a TokenRequest in the AblyRest constructor, wouldn't you need to first instantiate an AblyRest to get the TokenRequest?
Everything mentioned as untested has already been marked as WIP.
OK, I've removed RSC14c from the list. |
As with previous note, we will address this more fully in 0.9, however I have updated a bit to reduce duplication.
Well please change it to no then!
As above, please change in the spreadsheet
I don't see any test code?
Simply check the WebSocket endpoint and see if the query param exists
Not sure where you mean it's realtime, but in general, once a client library is instanced, the options like host or clientId are read-only, that is by design as we don't want people interfering with the configuration after it's established a connection. Is that what you mean?
Ok, please amend
Ok, please amend the sheet accordingly
Ok, please amend the sheet so with no then
Ok, please mark as no then
Ok, please mark as no or wip
I think action is described in the docs, see http://docs.ably.io/client-lib-development-guide/features/#RTP7b The array of actions is a convenience, but not part of the spec for now
Ok, please update the sheet with no and wip
Thanks, fixed in ably/docs@d55b74c
Ok, please do that in the sheet
Presence.leave does not detach implicitly, why did you think that?
Ok, please update in the sheet to wip and no
Ok, we need to flag in the sheet, but address later as stats is not important for now.
Yes, that is very old, needs to be updated, please mark as no in the sheet |
Yes,
Ah, you are referring to the client side documentation as opposed to the spec. If you see issues in the client side docs please flag separately, however the client side docs are not your reference point as they are out of date, only the spec is.
Yes, but you could be passed a TokenRequest object from another library or even from a server that |
Also, @mattheworiordan , could you clarify this?
If I just stick to the spec, as you say, then I just should do what Ruby does. (Java is then outdated.) The spec says though that |
(By the way, sorry to have bothered you with stuff which clearly is just "yep, should be fixed". I should have separated the items in a "needs clarification" section and a "ready to be done" section.) |
OK, I see that, the matter is that the test is just this: https://github.com/ably/ably-ios/blob/master/ablySpec/RealtimeClient.swift#L115 @ricardopereira can you clarify?
Yeah, nevermind that. The test is in fact done: https://github.com/ably/ably-ios/blob/5e4def84ad28da10840d521dbb65424c6b31d531/ably-iosTests/ARTRealtimePresenceTest.m#L1006 It was just not properly linked. I've fixed that. |
|
I will close this when everything is merged. |
I've kept a list of notes about different. Some of them are just questions, some of them are are things to be done. I've put a checkbox along with each one to keep track of what's been addressed.
testEchoMessagesFalse
which also doesn't test this.The text was updated successfully, but these errors were encountered: