Permalink
Browse files

Separating unit and integration tests.

  • Loading branch information...
1 parent ef80e14 commit c5cd79c0448ae722c11c3fb96c8c1cb7d15dfe88 @jthomas jthomas committed May 23, 2012
Showing with 801 additions and 1,953 deletions.
  1. +1 −9 README.md
  2. +148 −145 pom.xml
  3. +3 −0 src/main/java/org/dtk/analysis/page/RemoteWebPage.java
  4. +0 −1 src/main/java/org/dtk/analysis/script/BaseScriptParser.java
  5. +1 −1 src/main/java/org/dtk/{resources/dependencies → analysis/script}/ScriptParserErrorReporter.java
  6. +1 −1 src/main/java/org/dtk/analysis/script/dependency/AMDScriptParser.java
  7. +2 −129 src/main/java/org/dtk/resources/Dependencies.java
  8. +0 −1 src/main/java/org/dtk/resources/dependencies/ModuleAnalysisDependenciesResponse.java
  9. +1 −0 src/main/java/org/dtk/resources/dependencies/ScriptParser.java
  10. +0 −389 src/main/java/org/dtk/resources/dependencies/WebPage.java
  11. +2 −109 src/test/java/org/dtk/analysis/page/RemoteWebPageTest.java
  12. +2 −0 src/test/java/org/dtk/analysis/script/config/LoaderConfigParserTest.java
  13. +11 −0 src/test/java/org/dtk/analysis/script/dependency/AMDScriptParserTest.java
  14. +11 −1 src/test/java/org/dtk/analysis/script/dependency/NonAMDScriptParserTest.java
  15. +1 −1 src/test/java/org/dtk/analysis/script/node/ArrayLiteralTest.java
  16. +1 −1 src/test/java/org/dtk/analysis/script/node/ObjectLiteralTest.java
  17. +1 −1 src/test/java/org/dtk/resources/{BuildTest.java → BuildIntegrationTest.java}
  18. +409 −0 src/test/java/org/dtk/resources/DependenciesIntegrationTest.java
  19. +0 −618 src/test/java/org/dtk/resources/DependenciesTest.java
  20. +1 −1 src/test/java/org/dtk/resources/{PackagesTest.java → PackagesIntegrationTest.java}
  21. +0 −115 src/test/java/org/dtk/resources/dependencies/DojoScriptTest.java
  22. +0 −76 src/test/java/org/dtk/resources/dependencies/ScriptParserTest.java
  23. +0 −223 src/test/java/org/dtk/resources/dependencies/WebPageTest.java
  24. +67 −0 src/test/java/org/dtk/util/FileServer.java
  25. +137 −0 src/test/java/org/dtk/util/MockHttpClient.java
  26. +0 −23 src/test/resources/app.js
  27. +0 −38 src/test/resources/baseplus.profile.js
  28. +0 −8 src/test/resources/empty.profile.js
  29. +0 −8 src/test/resources/error.profile.js
  30. +0 −41 src/test/resources/sample.html
  31. BIN src/test/resources/{ → sample_app_archives}/user_app.zip
  32. 0 src/test/resources/{ → sample_build_requests}/custom_layer_build_request.json
  33. 0 src/test/resources/{ → sample_build_requests}/default_build_request.json
  34. 0 src/test/resources/{ → sample_build_requests}/default_build_request_with_theme.json
  35. 0 src/test/resources/{ → sample_build_requests}/dijit_modules_build_request.json
  36. 0 src/test/resources/{ → sample_build_requests}/dtk_modules_build_request.json
  37. 0 src/test/resources/{ → sample_build_requests}/dwb_modules_build_request.json
  38. 0 src/test/resources/{ → sample_build_requests}/invalid_package_name_build_request.json
  39. 0 src/test/resources/{ → sample_build_requests}/invalid_version_for_valid_package_build_request.json
  40. 0 src/test/resources/{ → sample_build_requests}/missing_dojo_build_request.json
  41. 0 src/test/resources/{ → sample_build_requests}/missing_dojo_version_build_request.json
  42. 0 src/test/resources/{ → sample_build_requests}/missing_package_name_request.json
  43. 0 src/test/resources/{ → sample_build_requests}/missing_package_reference_build_request.json
  44. 0 src/test/resources/{ → sample_build_requests}/multi_layer_build_request.json
  45. 0 src/test/resources/{ → sample_build_requests}/package.json
  46. +1 −13 src/test/resources/{sampleNoModules.html → sample_pages/amd/local_with_no_deps/index.html}
  47. 0 src/test/resources/{sampleInvalidHTML.html → sample_pages/non_amd/invalid_html/index.html}
View
@@ -15,8 +15,7 @@ Usage
-----
Maven is used as the build manager for the project. It has been configured for
-quickstart with minimal configuration using either embedded Jetty or Tomcat
-plugins, see details below.
+quickstart with minimal configuration using an embedded Jetty plugin, see details below.
To connect the application, once running, point your web browser
at [http://localhost:8080/](http://localhost:8080/).
@@ -28,19 +27,12 @@ server of your choice.
### Quickstart with Jetty
$ mvn -Ddojo.source=/some/path/to/dojo-1.6-source jetty:run
-### Quickstart with Tomcat
- $ mvn -Ddojo.source=/some/path/to/dojo-1.6-source tomcat:run
-
### Quickstart with Jetty, using older Dojo release
$ mvn -Ddojo.source=/some/path/to/dojo-1.5-source -Ddojo.version=1.5.0 jetty:run
### Quickstart with Jetty, setting build cache path
$ mvn -Dcachepath=/tmp/ -Ddojo.source=/some/path/to/dojo-source jetty:run
-### Deploying to remote Tomcat server
- Edit ~/.m2/settings.xml and fill out server details for server id, "dwb"
- $ mvn -Ddojo.source=/some/path/to/dojo-source tomcat:deploy
-
Configuration
-----
Oops, something went wrong.

0 comments on commit c5cd79c

Please sign in to comment.