Commit Graph

3717 Commits

Author SHA1 Message Date
Jesse McConnell b01c3fb595 Merge branch 'jetty-9' of ssh://git.eclipse.org/gitroot/jetty/org.eclipse.jetty.project into jetty-9 2012-06-28 16:33:01 -05:00
Jesse McConnell 153daf4f3b tossing exceptions on a couple more edgecases and additional tests on close 2012-06-28 16:32:50 -05:00
Joakim Erdfelt 70b9f7245e ByteBuffer vs byte[] array tests 2012-06-28 14:27:51 -07:00
Joakim Erdfelt 9cd2f887d1 Making assert more sane 2012-06-28 14:10:04 -07:00
Joakim Erdfelt daf3fa4ddf Cleaning up logging 2012-06-28 14:09:52 -07:00
Jesse McConnell 03d37b58f2 switch from short to char to sidestep short java signage 2012-06-28 16:06:39 -05:00
Joakim Erdfelt 2c16fe552f Fixing close frame stuff 2012-06-28 14:05:13 -07:00
Joakim Erdfelt 787a87468f Reworking CloseFrame and ClosePayloadParser due to discoveries during testing 2012-06-28 13:52:48 -07:00
Joakim Erdfelt 928baef5d2 Merge branch 'jetty-9' of ssh://git.eclipse.org/gitroot/jetty/org.eclipse.jetty.project into jetty-9 2012-06-28 12:51:03 -07:00
Jesse McConnell 65166e6cc6 annoying hack around close frame logic for parser and generator 2012-06-28 14:50:36 -05:00
Joakim Erdfelt 9b31c35f15 Fixing up (byte[],int,int) vs (ByteBuffer) approaches on events 2012-06-28 12:49:59 -07:00
Joakim Erdfelt deef1a3ac1 First pass at WebSocketEventDriver with tests 2012-06-28 11:59:15 -07:00
Joakim Erdfelt 324431a072 Adding support for discovering annotations from superclass chain 2012-06-28 10:53:57 -07:00
Joakim Erdfelt 106db485ca Adding tests for bad method modifiers and return types 2012-06-28 10:22:27 -07:00
Joakim Erdfelt 891ab0b858 Test Not A Socket 2012-06-28 10:01:46 -07:00
Joakim Erdfelt 7e93c2a409 More duplicate @OnWebSocketBinary testing 2012-06-28 09:57:22 -07:00
Joakim Erdfelt 53425e061a Allowing multiple @OnWebSocketFrame annotations, but preventing duplicate declarations on the same frameType 2012-06-28 09:36:14 -07:00
Joakim Erdfelt 08796a7b37 Working EventMethod/EventMethods/EventMethodsCache with tests 2012-06-27 17:04:37 -07:00
Jesse McConnell 270a04ebd0 rename tests for surefire to pick them up 2012-06-27 15:53:56 -05:00
Joakim Erdfelt 7cda4df7e5 Merge branch 'jetty-9' of ssh://git.eclipse.org/gitroot/jetty/org.eclipse.jetty.project into jetty-9 2012-06-27 13:49:45 -07:00
Joakim Erdfelt 5c9a3d4bd3 API cleanup 2012-06-27 13:49:27 -07:00
Jesse McConnell 1ebc101a13 fix comment 2012-06-27 15:02:32 -05:00
Joakim Erdfelt a6bc9c1845 Merge branch 'jetty-9' of ssh://git.eclipse.org/gitroot/jetty/org.eclipse.jetty.project into jetty-9 2012-06-27 12:42:30 -07:00
Joakim Erdfelt 1e0752f5c8 More work towards API (this time on the server side) 2012-06-27 12:42:17 -07:00
Jesse McConnell 2e9cf50c3a close frame tests, statuscode is now int as it can't be unsigned short as spec requires, payload length parses clean with bad 1 byte payload packet 2012-06-27 14:36:33 -05:00
Jesse McConnell 984166641e tests for unknown control codes 2012-06-27 10:27:36 -05:00
Jesse McConnell 43d048f691 control frames can not set rsv bits + tests 2012-06-27 10:14:51 -05:00
Jesse McConnell fb7b9b2c19 additional testing of ping frames 2012-06-27 10:02:56 -05:00
Jesse McConnell a4ef07443a Merge branch 'jetty-9' of ssh://git.eclipse.org/gitroot/jetty/org.eclipse.jetty.project into jetty-9 2012-06-27 09:10:33 -05:00
Jesse McConnell a0516774c0 empty frames with no constructor will generate correctly 2012-06-27 08:16:27 -05:00
Joakim Erdfelt fabb2e18a2 Cleaning up test cases 2012-06-26 16:41:39 -07:00
Joakim Erdfelt e32249c24f Fixing old testcase as fallout from API updates 2012-06-26 16:36:38 -07:00
Joakim Erdfelt 334b7787cc Removing old generators (no longer used) 2012-06-26 16:35:52 -07:00
Joakim Erdfelt 41094cb685 Cleaning up the API after the discussion with Jesse 2012-06-26 16:35:23 -07:00
Joakim Erdfelt 4eeb433b44 Fixing 4 vs 8 byte payload length testing issue 2012-06-26 12:29:57 -07:00
Jesse McConnell 888314e08a update to new bytebuffer setup 2012-06-26 14:20:51 -05:00
Jesse McConnell 6cadf8ebb9 Merge branch 'jetty-9' of ssh://git.eclipse.org/gitroot/jetty/org.eclipse.jetty.project into jetty-9 2012-06-26 14:16:31 -05:00
Jesse McConnell 88ef0c5428 update to new bytebuffer setup 2012-06-26 14:16:13 -05:00
Joakim Erdfelt e1488f8c92 Cleaning up websocket-server module 2012-06-26 12:15:21 -07:00
Jesse McConnell 604f700a82 revert change 2012-06-26 13:52:20 -05:00
Jesse McConnell 9a9d24ecff binary tests akin to previous text frame tests 2012-06-26 13:48:25 -05:00
Joakim Erdfelt aba59b6dc0 Bumping up JDK requirement to 1.7 with easier to read error message 2012-06-26 11:26:56 -07:00
Joakim Erdfelt f9ef423be2 Eliminating the BufferPool management from the Generator as that's the wrong level to be managing BufferPool.release() 2012-06-26 11:10:29 -07:00
Joakim Erdfelt c5b7ff0fb4 Adding StringUtil.isBlank(String) and StringUtil.isNotBlank(String) with
tests
2012-06-26 10:45:33 -07:00
Joakim Erdfelt bf0c45d790 Merge branch 'jetty-9' of ssh://git.eclipse.org/gitroot/jetty/org.eclipse.jetty.project into jetty-9 2012-06-26 09:17:17 -07:00
Joakim Erdfelt c439bf3882 Fixing 64-bit payload length parsing issue 2012-06-26 09:17:04 -07:00
Jesse McConnell 4daa27b1d8 Merge branch 'jetty-9' of ssh://git.eclipse.org/gitroot/jetty/org.eclipse.jetty.project into jetty-9 2012-06-26 11:14:45 -05:00
Jesse McConnell 89a26e6d75 add note to 64bit length code in frame generator 2012-06-26 11:14:34 -05:00
Joakim Erdfelt d2056f3eb2 Merge branch 'jetty-9' of ssh://git.eclipse.org/gitroot/jetty/org.eclipse.jetty.project into jetty-9 2012-06-26 09:01:36 -07:00
Joakim Erdfelt 79a47e7bcf Now that Connection:Upgrade response header does its thing, re-enabling test for it in websocket 2012-06-26 09:01:29 -07:00