Removing the trailing slash from the request to HTTP server
... otherwise it doesn't make sense to do it at registration.
Removing net mock.
It's outdated.
Adding RequireJS text plugin module
In order to facilitate the testing of HTTP requests and XML parsing.
Implementing tests for HTTP request object
... and fixing the implementation according to problems discovered in test.
Updating xml.decode() method
Changing order of replacements since the early replacement of '&' causes further
decoding of characters that are double encoded.
Adding tests for state.lastChange
... and fixtures
Updating state.lastInfo and media.info model objects
... according to results of tests
Adding tests for state.groupVolume
... and fixing the implementation according to problems discovered in test.
Adding tests for HTTP header
... and fixing the implementation according to problems discovered in test.
Refactoring some test fixtures
Adding a HTTP header test data builder to fixtures
Adding some device model tests and test data
Adding builders for HTTP request
Refactoring test fixtures
Refactoring unit tests
Additional device model tests for SONOS:PLAY1
Adding sample XML for media info
Play state for radio and music file (it is the response to the GetPositionInfo
SOAP request)
Removing integration tests from Grunt configuration
... it is not implemented yet
Adding tests for media model
... and fixing the implementation according to problems discovered in test.
Refactoring net module's definitions for XHR