Mike Almond
10da7e4920
[TESTS] Fixing unit tests for versions
...
Adding a unit test for Hixie and fixing the unit test for RFC
2012-02-01 13:17:51 -05:00
Chris Boden
f766278a14
Passing Tests
...
Finally able to do incomplete tests. Ratchet passes (finally).
2012-01-06 22:00:35 -05:00
Chris Boden
8d1b2548e7
Unit test doc
...
Attempting to finish off the two incomplete unit tests but couldn't because of a PECL bug.
2011-12-18 14:36:56 -05:00
Chris Boden
feb6c5ab57
URI verification
...
Added code in handshake to verify the URI
Updated unit testing to reflect this
2011-12-17 15:46:44 -05:00
Chris Boden
5c5f9e558f
Mask unit test
2011-12-05 22:32:33 -05:00
Chris Boden
788b1f66cc
RFC handshake verification + unit tests
...
Went through section 4 of RFC 6455 making sure incoming handshake was valid with accompanying unit tests
2011-12-02 23:58:08 -05:00
Chris Boden
d85ea57ece
Merge branch 'refs/heads/master' into rfc
2011-12-02 19:48:19 -05:00
Chris Boden
1f608f1d3a
Stubs for RFC protocol version
2011-11-30 10:08:11 -05:00
Chris Boden
0670568789
Unit Tests and fixes
...
Set some incomplete tests to pass
Updated an interface bug found from unit tests
2011-11-20 22:36:14 -05:00
Chris Boden
02ffd6f782
Interface change
...
Changed onRecv to onMessage in Interface to match a standard api
Removed Frame::__toString methods - could imply different return expectation
2011-11-20 14:53:13 -05:00
Chris Boden
5653f01f2f
Message buffering & Refactoring
...
Refactored unframe() methods into Message/Frame classes (per protocol version)
Change onRecv of WebSocket App to use new interfaces to test statuses, resulting in reuniting a message fragmented by TCP
Wrote unit test covering most of new HyBi10 Frame class
2011-11-18 16:37:32 -05:00
Chris Boden
e412f574e7
Fixed unit test coverage
2011-11-13 13:48:49 -05:00