Permalink
Browse files

initial 1.0 commit

  • Loading branch information...
1 parent 3af1ad9 commit b6a48996898a5cc4112373e91e56d4d1afc46cdf @rauchg rauchg committed Dec 13, 2012
Showing with 604 additions and 17,466 deletions.
  1. +5 −27 Makefile
  2. +8 −355 Readme.md
  3. +0 −64 benchmarks/decode.bench.js
  4. +0 −90 benchmarks/encode.bench.js
  5. +0 −55 benchmarks/runner.js
  6. +0 −80 examples/chat/app.js
  7. +0 −83 examples/chat/index.jade
  8. +0 −11 examples/chat/package.json
  9. +0 −96 examples/chat/public/stylesheets/mixins.styl
  10. +0 −188 examples/chat/public/stylesheets/style.css
  11. +0 −118 examples/chat/public/stylesheets/style.styl
  12. +0 −74 examples/irc-output/app.js
  13. +0 −28 examples/irc-output/index.jade
  14. +0 −164 examples/irc-output/irc.js
  15. +0 −10 examples/irc-output/package.json
  16. +0 −69 examples/irc-output/public/stylesheets/style.styl
  17. +3 −7 index.js
  18. +163 −0 lib/client.js
  19. +119 −0 lib/index.js
  20. +0 −97 lib/logger.js
  21. +0 −1,020 lib/manager.js
  22. +109 −264 lib/namespace.js
  23. +0 −249 lib/parser.js
  24. +0 −143 lib/socket.io.js
  25. +175 −233 lib/socket.js
  26. +0 −395 lib/static.js
  27. +0 −98 lib/store.js
  28. +0 −143 lib/stores/memory.js
  29. +0 −267 lib/stores/redis.js
  30. +0 −536 lib/transport.js
  31. +0 −129 lib/transports/flashsocket.js
  32. +0 −80 lib/transports/htmlfile.js
  33. +0 −147 lib/transports/http-polling.js
  34. +0 −121 lib/transports/http.js
  35. +0 −12 lib/transports/index.js
  36. +0 −97 lib/transports/jsonp-polling.js
  37. +0 −76 lib/transports/websocket.js
  38. +0 −363 lib/transports/websocket/default.js
  39. +0 −622 lib/transports/websocket/hybi-07-12.js
  40. +0 −638 lib/transports/websocket/hybi-16.js
  41. +0 −11 lib/transports/websocket/index.js
  42. +0 −68 lib/transports/xhr-polling.js
  43. +0 −50 lib/util.js
  44. +22 −36 package.json
  45. +0 −27 support/node-websocket-client/LICENSE
  46. +0 −22 support/node-websocket-client/Makefile
  47. +0 −41 support/node-websocket-client/README.md
  48. +0 −12 support/node-websocket-client/examples/client-unix.js
  49. +0 −10 support/node-websocket-client/examples/client.js
  50. +0 −13 support/node-websocket-client/examples/server-unix.js
  51. +0 −617 support/node-websocket-client/lib/websocket.js
  52. +0 −22 support/node-websocket-client/package.json
  53. +0 −68 support/node-websocket-client/test/test-basic.js
  54. +0 −43 support/node-websocket-client/test/test-client-close.js
  55. +0 −43 support/node-websocket-client/test/test-readonly-attrs.js
  56. +0 −26 support/node-websocket-client/test/test-ready-state.js
  57. +0 −41 support/node-websocket-client/test/test-server-close.js
  58. +0 −63 support/node-websocket-client/test/test-unix-send-fd.js
  59. +0 −46 support/node-websocket-client/test/test-unix-sockets.js
  60. +0 −278 test/common.js
  61. +0 −21 test/fixtures/cert.crt
  62. +0 −27 test/fixtures/key.key
  63. +0 −99 test/hybi-common.js
  64. +0 −125 test/io.test.js
  65. +0 −54 test/leaks/socket.leaktest.js
  66. +0 −589 test/manager.test.js
  67. +0 −327 test/namespace.test.js
  68. +0 −356 test/parser.test.js
  69. +0 −549 test/static.test.js
  70. +0 −190 test/stores.memory.test.js
  71. +0 −240 test/stores.redis.test.js
  72. +0 −187 test/transports.flashsocket.test.js
  73. +0 −458 test/transports.htmlfile.test.js
  74. +0 −774 test/transports.jsonp-polling.test.js
  75. +0 −1,891 test/transports.websocket.test.js
  76. +0 −2,793 test/transports.xhr-polling.test.js
View
@@ -1,31 +1,9 @@
-ALL_TESTS = $(shell find test/ -name '*.test.js')
-ALL_BENCH = $(shell find benchmarks -name '*.bench.js')
-
-run-tests:
- @./node_modules/.bin/expresso \
- -t 3000 \
- -I support \
- --serial \
- $(TESTFLAGS) \
- $(TESTS)
+REPORTER = dot
test:
- @$(MAKE) NODE_PATH=lib TESTS="$(ALL_TESTS)" run-tests
-
-test-cov:
- @TESTFLAGS=--cov $(MAKE) test
-
-test-leaks:
- @ls test/leaks/* | xargs node --expose_debug_as=debug --expose_gc
-
-run-bench:
- @node $(PROFILEFLAGS) benchmarks/runner.js
-
-bench:
- @$(MAKE) BENCHMARKS="$(ALL_BENCH)" run-bench
-
-profile:
- @PROFILEFLAGS='--prof --trace-opt --trace-bailout --trace-deopt' $(MAKE) bench
+ @./node_modules/.bin/mocha \
+ --reporter $(REPORTER) \
+ --bail
-.PHONY: test bench profile
+.PHONY: test
Oops, something went wrong.

2 comments on commit b6a4899

comment landed /cc @3rd-Eden

Contributor

3rd-Eden replied Dec 13, 2012

Please sign in to comment.