Граф коммитов

34 Коммитов

Автор SHA1 Сообщение Дата
Alon Zakai 1a5934a08d disable most websockify-using parts of sockets tests; #2700 2014-10-27 15:23:11 -07:00
Alon Zakai 7046162aa8 run webrtc test on a less-likely-to-be-used port 2014-09-15 13:12:43 -07:00
Jukka Jylanki 5bed7c1a05 Fix native OSX builds in test_sockets.py. For OSX, when our own-compiled fastcomp Clang is invoked to build a native executable, we must pass a command line parameter to it to tell which OSX SDK we are targeting. 2014-08-25 14:21:37 +03:00
Alon Zakai 80779d0c4b update sockets.test_nodejs_sockets_echo 2014-08-19 15:48:38 -07:00
Fraser Adams d7d2fcc94b Feature to enable asynchronous event driven of network events 2014-05-30 17:15:30 +01:00
Alon Zakai 5cd4da6dee comment on webrtc test 2014-03-18 12:25:55 -07:00
Alon Zakai 9158e9917e webrtc test fix 2014-03-18 12:21:15 -07:00
Alon Zakai 5abf3660a6 Merge pull request #2231 from modeswitch/incoming
Add local broker for webrtc p2p test. Fixes #1974.
2014-03-18 10:42:17 -07:00
Alan K cf5307c029 Cleaned up required files (some things aren't needed for this test); Run `npm install` as part of test. 2014-03-17 19:28:04 -04:00
Alon Zakai 4f0e8c3aed Merge pull request #2020 from fadams/improve-websocket-config-options
Provide compile time and run time options for WebSocket URL and subproto...
2014-03-17 15:22:48 -07:00
Alan K 7e22558b8a Add local broker for webrtc p2p test. Fixes #1974. 2014-03-16 20:31:11 -04:00
Alon Zakai e6296aec6e don't forget to set ai_next in getaddrinfo, and use emcc in test_getaddrinfo as it now needs libc 2014-02-10 16:53:59 -08:00
Fraser Adams 4cc63f3c60 Fixed test_sockets.py so that it uses temp directory correctly and cleans up automatically. Changed server port ranges to minimise chance of port collisions 2014-01-31 14:55:17 +00:00
Fraser Adams 3638861ee0 Add the datagram switch to the client as well as the server 2014-01-31 10:49:27 +00:00
Fraser Adams 9ed679c54f Removed capitals from a comment as requested, reinstated UDP test that was accidentally dropped and updated settings.js comment. 2014-01-31 10:36:07 +00:00
Fraser Adams 43ee264bab Provide compile time and run time options for WebSocket URL and subprotocol fields 2014-01-15 17:13:59 +00:00
Fraser Adams 3e4a22b4a9 add getprotobyname and associated functions from netdb.h. Add test_getprotobyname.c test suite and update test_sockets.py to include test_getprotobyname. ./runner.py sockets.test_getprotobyname completes successfully 2013-11-24 11:16:36 +00:00
Fraser Adams 5e49fbbfdc fix a bug in the accept call in library.js whereby if accept was called with non-NULL addr and addrlen parameters a ReferenceError occurs because accept had a parameter of addrp but later used addr. Modified tests_sockets_echo_server.c to use non-NULL addr if TEST_ACCEPT_ADDR is defined and added test case to test_sockets.py 2013-11-18 19:28:21 +00:00
Fraser Adams b1a0b6eddf Removed RunnerCore import as no longer needed and added return self.skip('node is not present') to test_nodejs_sockets_echo if node isn't available 2013-11-04 18:44:08 +00:00
Fraser Adams 398408b7b5 moved nodejs client test case into main sockets test class as requested. Run with ./runner.py sockets.test_nodejs_sockets_echo 2013-11-02 11:51:44 +00:00
Fraser Adams 7a902d9e4d add support for node.js to act as a socket client 2013-10-27 20:30:13 +00:00
Alon Zakai a96b03e9c1 remove temporary enet fix, and define gethostbyname_r in a header, so that we can be sure at compilation time that it is used in the way it is expected to be (that function has more than one possible signature in various unixes) 2013-08-31 15:46:10 -07:00
Anthony Pesch 52dae3e9b2 - temp fix for test_enet
- added debugging info to websocket backend
2013-08-31 12:30:19 -07:00
Anthony Pesch 5cf189f76e don't close client sockets by default in echo server enabling TCP teardown to succeed 2013-08-30 16:53:05 -07:00
Alon Zakai a9029e02d3 fix use of NODE_JS in test_sockets 2013-08-30 11:32:01 -07:00
Anthony Pesch df89e4a8ea don't re-use ports between different harnesses 2013-08-30 01:15:54 -07:00
Anthony Pesch 462875aa0e - created SOCKFS
- added support for node-based listen servers
 - updated tests to also test against compiled listen servers
2013-08-29 01:45:38 -07:00
Anthony Pesch f7744fcb18 - added raw addr / hostname lookup support
- added getaddrinfo, freeaddrinfo, getnameinfo and gai_strerror stub
 - added tests for getaddrinfo and getnameinfo
 - consolidated test_gethostbyname and test_sockets_gethostbyname
2013-08-29 01:45:38 -07:00
Anthony Pesch 54537559f3 - minor refactoring to new address translation functions to support better "raw" functionality
- moved test_inet* tests into sockets test suite
2013-08-29 01:45:38 -07:00
Anthony Pesch 63e5aee15f add USE_IFRAME define to support compiled servers 2013-08-23 18:12:19 -07:00
Anthony Pesch 989ccaf065 fixed server down test 2013-08-23 14:21:41 -07:00
Alan Kligman 2d51d99e4f Minor fixes for webrtc test. 2013-08-14 00:58:28 -04:00
Alan Kligman ddc6000c88 Test for webrtc sockets. 2013-08-14 00:18:34 -04:00
Anthony Pesch 8d3994c9eb initial work on splitting up runner.py 2013-08-11 23:54:37 -07:00