Permalink
Browse files

Merge pull request #873 from lzhan/runjs

Functional test changes to support SD
  • Loading branch information...
lzhan
lzhan committed Jan 7, 2013
2 parents 42eb08d + f11943d commit f6d7becb58d99a9ae035faf141046da69b9f31b0
Showing with 1,971 additions and 1,461 deletions.
  1. +0 −12 tests/base/staticServer.js
  2. +0 −349 tests/func/applications/apps.json
  3. +414 −3 tests/func/common/{commonservertest_descriptor.json → common_descriptor.json}
  4. +0 −425 tests/func/common/commonclienttest_descriptor.json
  5. +6 −1 tests/func/common/html5apptest_descriptor.json
  6. +51 −0 tests/func/config/configtest0_descriptor.json
  7. +38 −0 tests/func/config/configtest1_descriptor.json
  8. +66 −0 tests/func/config/configtest2_descriptor.json
  9. +38 −0 tests/func/config/configtest3_descriptor.json
  10. +38 −0 tests/func/config/configtest4_descriptor.json
  11. +31 −0 tests/func/config/configtest5_descriptor.json
  12. +31 −0 tests/func/config/configtest6_descriptor.json
  13. +0 −145 tests/func/config/configtest_descriptor.json
  14. +54 −0 tests/func/examples/developerguide/binding_events_descriptor.json
  15. +30 −0 tests/func/examples/developerguide/configure_routing_descriptor.json
  16. +0 −254 tests/func/examples/developerguide/developerguide_descriptor.json
  17. +30 −0 tests/func/examples/developerguide/device_assets_descriptor.json
  18. +50 −0 tests/func/examples/developerguide/device_views_descriptor.json
  19. +30 −0 tests/func/examples/developerguide/framed_assets_descriptor.json
  20. +30 −0 tests/func/examples/developerguide/framed_config_descriptor.json
  21. +30 −0 tests/func/examples/developerguide/global_assets_descriptor.json
  22. +30 −0 tests/func/examples/developerguide/hello_descriptor.json
  23. +30 −0 tests/func/examples/developerguide/htmlframe_mojit_descriptor.json
  24. +30 −0 tests/func/examples/developerguide/inter-mojit_descriptor.json
  25. +45 −0 tests/func/examples/developerguide/locale_i18n_descriptor.json
  26. +44 −0 tests/func/examples/developerguide/model_yql_descriptor.json
  27. +30 −0 tests/func/examples/developerguide/multiple_mojits_descriptor.json
  28. +30 −0 tests/func/examples/developerguide/scroll_views_descriptor.json
  29. +30 −0 tests/func/examples/developerguide/simple_assets_descriptor.json
  30. +30 −0 tests/func/examples/developerguide/simple_config_descriptor.json
  31. +30 −0 tests/func/examples/developerguide/simple_logging_descriptor.json
  32. +30 −0 tests/func/examples/developerguide/simple_view_descriptor.json
  33. +30 −0 tests/func/examples/developerguide/unittest_model_controller_descriptor.json
  34. +38 −0 tests/func/examples/developerguide/using_configs_descriptor.json
  35. +30 −0 tests/func/examples/developerguide/using_parameters_descriptor.json
  36. +30 −0 tests/func/examples/developerguide/yui_module_descriptor.json
  37. +42 −0 tests/func/examples/input/get_descriptor.json
  38. +0 −89 tests/func/examples/input/input_descriptor.json
  39. +45 −0 tests/func/examples/input/merge_descriptor.json
  40. +45 −0 tests/func/examples/input/post_descriptor.json
  41. +30 −0 tests/func/examples/input/route_descriptor.json
  42. +6 −2 tests/func/examples/newsboxes/newsboxes_descriptor.json
  43. +30 −0 tests/func/examples/simple/part1_descriptor.json
  44. +30 −0 tests/func/examples/simple/part2_descriptor.json
  45. +30 −0 tests/func/examples/simple/part3_descriptor.json
  46. +30 −0 tests/func/examples/simple/part4_descriptor.json
  47. +30 −0 tests/func/examples/simple/part5_descriptor.json
  48. +30 −0 tests/func/examples/simple/part6_descriptor.json
  49. +45 −0 tests/func/examples/simple/part7_descriptor.json
  50. +30 −0 tests/func/examples/simple/part8_descriptor.json
  51. +0 −90 tests/func/examples/simple/simple_descriptor.json
  52. +6 −1 tests/func/routing/routingtest_descriptor.json
  53. +5 −1 tests/func/serveronly/serveronlytest_descriptor.json
  54. +5 −1 tests/func/usecases/usecasestest_descriptor.json
  55. +78 −88 tests/run.js
View
@@ -1,12 +0,0 @@
-var staticServer = require('node-static').Server;
-
-//
-// Create a node-static server instance to serve the current folder
-//
-var file = new staticServer('.');
-
-require('http').createServer(function (request, response) {
- request.addListener('end', function () {
- file.serve(request, response);
- });
-}).listen(process.argv[2]);
@@ -1,349 +0,0 @@
-{
- "applications": [
- {
- "name":"yaml-config",
- "path": "./frameworkapp/yaml-config",
- "enabled": false, "//":"see trello mojito-perf card #204",
- "group": "qeapp"
- },
- {
- "name":"usecase",
- "path": "./frameworkapp/usecase",
- "port": 4085,
- "enabled": true,
- "group": "qeapp"
- },
- {
- "name":"common",
- "path": "./frameworkapp/common",
- "port": 4081,
- "enabled": true,
- "group": "qeapp"
- },
- {
- "name":"routing",
- "path": "./frameworkapp/routing",
- "port": 4082,
- "enabled": true,
- "group": "qeapp"
- },
- {
- "name":"serveronly",
- "path": "./frameworkapp/serveronly",
- "port": 4083,
- "enabled": true,
- "group": "qeapp"
- },
- {
- "name":"flatfile",
- "path": "./frameworkapp/flatfile",
- "port": 4084,
- "enabled": true,
- "group": "qeapp",
- "type": "static"
- },
- {
- "name":"commandline",
- "path": "./frameworkapp/commandline",
- "port": 4080,
- "enabled": false,
- "group": "qeapp"
- },
- {
- "name":"configapp",
- "path": "./frameworkapp/configapp",
- "port": null,
- "enabled": true,
- "group": "qeapp",
- "tests": [
- {
- "port": 5000,
- "param": ""
- },
- {
- "port": 5001,
- "param": "environment:production"
- },
- {
- "port": 5002,
- "param": "environment:testing"
- },
- {
- "port": 5003,
- "param": "environment:testing,subject:math"
- },
- {
- "port": 5004,
- "param": "environment:testing,subject:bc-100"
- },
- {
- "port": 5005,
- "param": "environment:testing,lang:de,subject:math"
- },
- {
- "port": 5006,
- "param": "environment:testing,lang:fr"
- }
- ]
- },
- {
- "name":"hello",
- "path": "../../../examples/developer-guide/hello",
- "port": 4086,
- "enabled": true,
- "group": "example"
- },
- {
- "name":"simple_view",
- "path": "../../../examples/developer-guide/simple_view",
- "port": 4087,
- "enabled": true,
- "group": "example"
- },
- {
- "name":"htmlframe_mojit",
- "path": "../../../examples/developer-guide/htmlframe_mojit",
- "port": 4089,
- "enabled": true,
- "group": "example"
- },
- {
- "name":"scroll_views",
- "path": "../../../examples/developer-guide/scroll_views",
- "port": 4090,
- "enabled": true,
- "group": "example"
- },
- {
- "name":"simple_assets",
- "path": "../../../examples/developer-guide/simple_assets",
- "port": 4091,
- "enabled": true,
- "group": "example"
- },
- {
- "name":"framed_assets",
- "path": "../../../examples/developer-guide/framed_assets",
- "port": 4092,
- "enabled": true,
- "group": "example"
- },
- {
- "name":"device_assets",
- "path": "../../../examples/developer-guide/device_assets",
- "port": 4093,
- "enabled": true,
- "group": "example"
- },
- {
- "name":"model_yql",
- "path": "../../../examples/developer-guide/model_yql",
- "port": 4094,
- "enabled": true,
- "group": "example"
- },
- {
- "name":"inter-mojit",
- "path": "../../../examples/developer-guide/inter-mojit",
- "port": 4095,
- "enabled": true,
- "group": "example"
- },
- {
- "name":"multiple_mojits",
- "path": "../../../examples/developer-guide/multiple_mojits",
- "port": 4096,
- "enabled": true,
- "group": "example"
- },
- {
- "name":"simple_config",
- "path": "../../../examples/developer-guide/simple_config",
- "port": 4097,
- "enabled": true,
- "group": "example"
- },
- {
- "name":"configure_routing",
- "path": "../../../examples/developer-guide/configure_routing",
- "port": 4098,
- "enabled": true,
- "group": "example"
- },
- {
- "name":"using_parameters",
- "path": "../../../examples/developer-guide/using_parameters",
- "port": 4100,
- "enabled": true,
- "group": "example"
- },
- {
- "name":"locale_i18n",
- "path": "../../../examples/developer-guide/locale_i18n",
- "port": 4101,
- "enabled": true,
- "group": "example"
- },
- {
- "name":"generating_urls",
- "path": "../../../examples/developer-guide/generating_urls",
- "port": 4102,
- "enabled": true,
- "group": "example"
- },
- {
- "name":"binding_events",
- "path": "../../../examples/developer-guide/binding_events",
- "port": 4103,
- "enabled": true,
- "group": "example"
- },
- {
- "name":"part1",
- "path": "../../../examples/simple/part1",
- "port": 4104,
- "enabled": true,
- "group": "example"
- },
- {
- "name":"part2",
- "path": "../../../examples/simple/part2",
- "port": 4105,
- "enabled": true,
- "group": "example"
- },
- {
- "name":"part3",
- "path": "../../../examples/simple/part3",
- "port": 4106,
- "enabled": true,
- "group": "example"
- },
- {
- "name":"part4",
- "path": "../../../examples/simple/part4",
- "port": 4107,
- "enabled": true,
- "group": "example"
- },
- {
- "name":"part5",
- "path": "../../../examples/simple/part5",
- "port": 4108,
- "enabled": true,
- "group": "example"
- },
- {
- "name":"part7",
- "path": "../../../examples/simple/part7",
- "port": 4109,
- "enabled": true,
- "group": "example"
- },
- {
- "name":"part8",
- "path": "../../../examples/simple/part8",
- "port": 4110,
- "enabled": true,
- "group": "example"
- },
- {
- "name":"get",
- "path": "../../../examples/input/get",
- "port": 4111,
- "enabled": true,
- "group": "example"
- },
- {
- "name":"merged",
- "path": "../../../examples/input/merged",
- "port": 4112,
- "enabled": true,
- "group": "example"
- },
- {
- "name":"post",
- "path": "../../../examples/input/post",
- "port": 4113,
- "enabled": true,
- "group": "example"
- },
- {
- "name":"route",
- "path": "../../../examples/input/route",
- "port": 4114,
- "enabled": true,
- "group": "example"
- },
- {
- "name":"part6",
- "path": "../../../examples/simple/part6",
- "port": 4115,
- "enabled": true,
- "group": "example"
- },
- {
- "name":"device_views",
- "path": "../../../examples/developer-guide/device_views",
- "port": 4117,
- "enabled": true,
- "group": "example"
- },
- {
- "name":"framed_config",
- "path": "../../../examples/developer-guide/framed_config",
- "port": 4118,
- "enabled": true,
- "group": "example"
- },
- {
- "name":"yui_module",
- "path": "../../../examples/developer-guide/yui_module",
- "port": 4119,
- "enabled": true,
- "group": "example"
- },
- {
- "name":"simple_logging",
- "path": "../../../examples/developer-guide/simple_logging",
- "port": 4120,
- "enabled": true,
- "group": "example"
- },
- {
- "name":"adding_view_engines",
- "path": "../../../examples/developer-guide/adding_view_engines",
- "port": 4121,
- "enabled": true,
- "group": "example"
- },
- {
- "name":"global_assets",
- "path": "../../../examples/developer-guide/global_assets",
- "port": 4122,
- "enabled": true,
- "group": "example"
- },
- {
- "name":"unittest_model_controller",
- "path": "../../../examples/developer-guide/unittest_model_controller",
- "port": 4123,
- "enabled": true,
- "group": "example"
- },
- {
- "name":"using_configs",
- "path": "../../../examples/developer-guide/using_configs",
- "port": 4124,
- "enabled": true,
- "group": "example"
- },
- {
- "name":"newsboxes",
- "path": "../../../examples/newsboxes",
- "port": 4125,
- "enabled": true,
- "group": "example"
- }
- ]
-}
Oops, something went wrong.

0 comments on commit f6d7bec

Please sign in to comment.