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
TM3 #309
Conversation
…e for Protocol checks
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.
LGTM but we do also have some fixture data for testing encoding generally - do your tests already use that?
https://github.com/ably/ably-common/blob/master/test-resources/messages-encoding.json
RTL11 test regression fix
RTP17b test identification
I don't think I have written test that use that explicitly, but I know there are existing tests (two for RSL6a1, for example) that do make use of it and other data from the ably-common repository. |
Message.FromEncoded and Message.FromEncodedArray
Adding this required quite a bit of refactoring as the message encoders were instanced with in the MessageHandler class and that was initialised with the AblyRealtime instance so I had to move something things around to make it work with the static methods. In addition to enabling the new methods to be added more easily I think the design is simpler now (and thus better).
The tests that I have added are based on those in the Ruby lib.