Permalink
Browse files

Replace the old PHP-based test scripts with a Node.js Express app.

  • Loading branch information...
1 parent 4925510 commit 09e96213859556d03913aa5654341959f8bcb4c8 @rgrove committed May 6, 2011
Showing with 14,008 additions and 36 deletions.
  1. +0 −8 test/css.php
  2. +0 −4 test/js.php
  3. +1 −0 test/node_modules/.bin/express
  4. +7 −0 test/node_modules/express/.npmignore
  5. +624 −0 test/node_modules/express/History.md
  6. +22 −0 test/node_modules/express/LICENSE
  7. +39 −0 test/node_modules/express/Makefile
  8. +102 −0 test/node_modules/express/Readme.md
  9. +451 −0 test/node_modules/express/bin/express
  10. +2 −0 test/node_modules/express/index.js
  11. +78 −0 test/node_modules/express/lib/express.js
  12. +503 −0 test/node_modules/express/lib/http.js
  13. +52 −0 test/node_modules/express/lib/https.js
  14. +289 −0 test/node_modules/express/lib/request.js
  15. +423 −0 test/node_modules/express/lib/response.js
  16. +329 −0 test/node_modules/express/lib/router/index.js
  17. +70 −0 test/node_modules/express/lib/router/methods.js
  18. +71 −0 test/node_modules/express/lib/router/route.js
  19. +122 −0 test/node_modules/express/lib/utils.js
  20. +413 −0 test/node_modules/express/lib/view.js
  21. +40 −0 test/node_modules/express/lib/view/partial.js
  22. +206 −0 test/node_modules/express/lib/view/view.js
  23. +11 −0 test/node_modules/express/node_modules/connect/.npmignore
  24. +24 −0 test/node_modules/express/node_modules/connect/LICENSE
  25. +2 −0 test/node_modules/express/node_modules/connect/index.js
  26. +106 −0 test/node_modules/express/node_modules/connect/lib/connect.js
  27. +218 −0 test/node_modules/express/node_modules/connect/lib/http.js
  28. +47 −0 test/node_modules/express/node_modules/connect/lib/https.js
  29. +41 −0 test/node_modules/express/node_modules/connect/lib/index.js
  30. +93 −0 test/node_modules/express/node_modules/connect/lib/middleware/basicAuth.js
  31. +91 −0 test/node_modules/express/node_modules/connect/lib/middleware/bodyParser.js
  32. +163 −0 test/node_modules/express/node_modules/connect/lib/middleware/compiler.js
  33. +46 −0 test/node_modules/express/node_modules/connect/lib/middleware/cookieParser.js
  34. +101 −0 test/node_modules/express/node_modules/connect/lib/middleware/errorHandler.js
  35. +76 −0 test/node_modules/express/node_modules/connect/lib/middleware/favicon.js
  36. +78 −0 test/node_modules/express/node_modules/connect/lib/middleware/limit.js
  37. +169 −0 test/node_modules/express/node_modules/connect/lib/middleware/logger.js
  38. +38 −0 test/node_modules/express/node_modules/connect/lib/middleware/methodOverride.js
  39. +100 −0 test/node_modules/express/node_modules/connect/lib/middleware/profiler.js
  40. +34 −0 test/node_modules/express/node_modules/connect/lib/middleware/responseTime.js
  41. +379 −0 test/node_modules/express/node_modules/connect/lib/middleware/router.js
  42. +329 −0 test/node_modules/express/node_modules/connect/lib/middleware/session.js
  43. +126 −0 test/node_modules/express/node_modules/connect/lib/middleware/session/cookie.js
  44. +131 −0 test/node_modules/express/node_modules/connect/lib/middleware/session/memory.js
  45. +137 −0 test/node_modules/express/node_modules/connect/lib/middleware/session/session.js
  46. +59 −0 test/node_modules/express/node_modules/connect/lib/middleware/session/store.js
  47. +203 −0 test/node_modules/express/node_modules/connect/lib/middleware/static.js
  48. +44 −0 test/node_modules/express/node_modules/connect/lib/middleware/vhost.js
  49. +45 −0 test/node_modules/express/node_modules/connect/lib/patch.js
  50. +13 −0 test/node_modules/express/node_modules/connect/lib/public/error.html
  51. BIN test/node_modules/express/node_modules/connect/lib/public/favicon.ico
  52. +61 −0 test/node_modules/express/node_modules/connect/lib/public/style.css
  53. +405 −0 test/node_modules/express/node_modules/connect/lib/utils.js
  54. +15 −0 test/node_modules/express/node_modules/connect/package.json
  55. +26 −0 test/node_modules/express/node_modules/connect/test.js
  56. +54 −0 test/node_modules/express/node_modules/mime/README.md
  57. +1 −0 test/node_modules/express/node_modules/mime/index.js
  58. +89 −0 test/node_modules/express/node_modules/mime/mime.js
  59. +1,351 −0 test/node_modules/express/node_modules/mime/mime.types
  60. +3 −0 test/node_modules/express/node_modules/mime/node.types
  61. +11 −0 test/node_modules/express/node_modules/mime/package.json
  62. +74 −0 test/node_modules/express/node_modules/mime/test.js
  63. +6 −0 test/node_modules/express/node_modules/qs/.gitmodules
  64. +36 −0 test/node_modules/express/node_modules/qs/History.md
  65. +7 −0 test/node_modules/express/node_modules/qs/Makefile
  66. +38 −0 test/node_modules/express/node_modules/qs/Readme.md
  67. +32 −0 test/node_modules/express/node_modules/qs/benchmark.js
  68. +39 −0 test/node_modules/express/node_modules/qs/examples.js
  69. +2 −0 test/node_modules/express/node_modules/qs/index.js
  70. +123 −0 test/node_modules/express/node_modules/qs/lib/querystring.js
  71. +9 −0 test/node_modules/express/node_modules/qs/package.json
  72. +3 −0 test/node_modules/express/node_modules/qs/support/expresso/.gitignore
  73. +3 −0 test/node_modules/express/node_modules/qs/support/expresso/.gitmodules
  74. +128 −0 test/node_modules/express/node_modules/qs/support/expresso/History.md
  75. +53 −0 test/node_modules/express/node_modules/qs/support/expresso/Makefile
  76. +61 −0 test/node_modules/express/node_modules/qs/support/expresso/Readme.md
  77. +856 −0 test/node_modules/express/node_modules/qs/support/expresso/bin/expresso
  78. +1,080 −0 test/node_modules/express/node_modules/qs/support/expresso/docs/api.html
  79. +377 −0 test/node_modules/express/node_modules/qs/support/expresso/docs/index.html
  80. +290 −0 test/node_modules/express/node_modules/qs/support/expresso/docs/index.md
  81. +3 −0 test/node_modules/express/node_modules/qs/support/expresso/docs/layout/foot.html
  82. +42 −0 test/node_modules/express/node_modules/qs/support/expresso/docs/layout/head.html
  83. +4 −0 test/node_modules/express/node_modules/qs/support/expresso/lib/bar.js
  84. +16 −0 test/node_modules/express/node_modules/qs/support/expresso/lib/foo.js
  85. +12 −0 test/node_modules/express/node_modules/qs/support/expresso/package.json
  86. +91 −0 test/node_modules/express/node_modules/qs/support/expresso/test/assert.test.js
  87. +12 −0 test/node_modules/express/node_modules/qs/support/expresso/test/async.test.js
  88. +13 −0 test/node_modules/express/node_modules/qs/support/expresso/test/bar.test.js
  89. +14 −0 test/node_modules/express/node_modules/qs/support/expresso/test/foo.test.js
  90. +146 −0 test/node_modules/express/node_modules/qs/support/expresso/test/http.test.js
  91. +39 −0 test/node_modules/express/node_modules/qs/support/expresso/test/serial/async.test.js
  92. +48 −0 test/node_modules/express/node_modules/qs/support/expresso/test/serial/http.test.js
  93. +3 −0 test/node_modules/express/node_modules/qs/support/should/.gitmodules
  94. +22 −0 test/node_modules/express/node_modules/qs/support/should/History.md
  95. +6 −0 test/node_modules/express/node_modules/qs/support/should/Makefile
  96. +248 −0 test/node_modules/express/node_modules/qs/support/should/Readme.md
  97. +53 −0 test/node_modules/express/node_modules/qs/support/should/examples/runner.js
  98. +2 −0 test/node_modules/express/node_modules/qs/support/should/index.js
  99. +91 −0 test/node_modules/express/node_modules/qs/support/should/lib/eql.js
  100. +548 −0 test/node_modules/express/node_modules/qs/support/should/lib/should.js
  101. +8 −0 test/node_modules/express/node_modules/qs/support/should/package.json
  102. +358 −0 test/node_modules/express/node_modules/qs/support/should/test/should.test.js
  103. +133 −0 test/node_modules/express/node_modules/qs/test/querystring.test.js
  104. +22 −0 test/node_modules/express/package.json
  105. +54 −24 test/{ → public}/index.html
  106. +1 −0 test/public/lazyload.js
  107. +38 −0 test/test.js
View
@@ -1,8 +0,0 @@
-<?php
-header('Content-Type: text/css');
-sleep(rand(0,5));
-
-$num = (int) $_GET['num'];
-
-echo "#css-status { background-color: " . ($num === 5 ? '#00ff00' : '#ff0000') . "; }\n" .
- "#n" . (int) $_GET['num'] . " { width: 5px; }\n";
View
@@ -1,4 +0,0 @@
-<?php
-header('Content-Type: text/javascript');
-sleep(rand(0,5));
-echo "jslog('script " . (int) $_GET['num'] . " executed');\n";
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.

0 comments on commit 09e9621

Please sign in to comment.