server: http://localhost:9876
load:
- src/main/webapp/js/*.js
- src/main/webapp/js/libs/*.js
- src/main/webapp/js/profiling/*.js
- src/main/webapp/js/mylibs/*.js
test:
- src/test/webapp/js/*.js
Running: java -classpath C:\somepath\.m2\repository\com\googlecode\jstd-maven-plugin\jstd-maven-plugin\1.3.5.1\jstd-maven-plugin-1.3.5.1.jar;C:\somepath\.m2\repository\commons-io\commons-io\2.4\commons-io-2.4.jar;C:\somepath\.m2\repository\commons-lang\commons-lang\2.6\commons-lang-2.6.jar;C:\somepath\.m2\repository\com\google\jstestdriver\jstestdriver\1.3.5\jstestdriver-1.3.5.jar;C:\somepath\.m2\repository\org\codehaus\plexus\plexus-component-annotations\1.5.5\plexus-component-annotations-1.5.5.jar;C:\somepath\.m2\repository\org\sonatype\sisu\sisu-inject-bean\2.3.0\sisu-inject-bean-2.3.0.jar;C:\somepath\.m2\repository\org\sonatype\sisu\sisu-guice\3.1.0\sisu-guice-3.1.0-no_aop.jar;C:\somepath\.m2\repository\org\sonatype\sisu\sisu-guava\0.9.9\sisu-guava-0.9.9.jar;C:\somepath\.m2\repository\org\codehaus\plexus\plexus-utils\2.0.6\plexus-utils-2.0.6.jar;C:\somepath\.m2\repository\org\codehaus\plexus\plexus-interpolation\1.1\plexus-interpolation-1.1.jar;C:\somepath\.m2\repository\org\apache\xbean\xbean-reflect\3.4\xbean-reflect-3.4.jar;C:\somepath\.m2\repository\log4j\log4j\1.2.12\log4j-1.2.12.jar;C:\somepath\.m2\repository\commons-logging\commons-logging-api\1.1\commons-logging-api-1.1.jar;C:\somepath\.m2\repository\com\google\code\google-collections\google-collect\snapshot-20080530\google-collect-snapshot-20080530.jar;C:\somepath\.m2\repository\junit\junit\3.8.2\junit-3.8.2.jar;C:\somepath\.m2\repository\org\codehaus\woodstox\wstx-asl\3.2.6\wstx-asl-3.2.6.jar;C:\somepath\.m2\repository\stax\stax-api\1.0.1\stax-api-1.0.1.jar;C:\somepath\.m2\repository\org\sonatype\spice\model-builder\1.3\model-builder-1.3.jar;C:\somepath\.m2\repository\org\apache\maven\maven-project-builder\3.0-alpha-2\maven-project-builder-3.0-alpha-2.jar -jar C:\somepath\.m2\repository\com\google\jstestdriver\jstestdriver\1.3.5\jstestdriver-1.3.5.jar --basePath C:\somepath\workspace6\SunlightGUI --browser C:/Users/dk068x/AppData/Local/Google/Chrome/Application/chrome.exe --captureConsole --config C:\somepath\workspace6\SunlightGUI\src\test\resources\jsTestDriver.conf --port 9876 --runnerMode QUIET --tests all --verbose
setting runnermode QUIET
Chrome 23.0.1246.0 Windows loaded /test/src/main/webapp/js/libs/dd_belatedpng.js
Chrome 23.0.1246.0 Windows loaded /test/src/main/webapp/js/libs/jquery-1.4.2.js
Chrome 23.0.1246.0 Windows loaded /test/src/main/webapp/js/libs/jquery-1.4.2.min.js
Chrome 23.0.1246.0 Windows loaded /test/src/main/webapp/js/libs/jquery-1.6.4.js
Chrome 23.0.1246.0 Windows loaded /test/src/main/webapp/js/libs/jquery-1.6.4.min.js
Chrome 23.0.1246.0 Windows loaded /test/src/main/webapp/js/libs/jquery.address-1.3.1.js
Chrome 23.0.1246.0 Windows loaded /test/src/main/webapp/js/libs/jquery.address-1.3.1.min.js
Chrome 23.0.1246.0 Windows loaded /test/src/main/webapp/js/libs/jquery.browser.js
Chrome 23.0.1246.0 Windows loaded /test/src/main/webapp/js/libs/jquery.coo.kie.js
Chrome 23.0.1246.0 Windows loaded /test/src/main/webapp/js/libs/jquery.phpdate.js
Chrome 23.0.1246.0 Windows loaded /test/src/main/webapp/js/libs/jstz.min.js
Chrome 23.0.1246.0 Windows loaded /test/src/main/webapp/js/libs/modernizr-1.6.min.js
Chrome 23.0.1246.0 Windows loaded /test/src/main/webapp/js/libs/underscore.js
Chrome 23.0.1246.0 Windows loaded /test/src/main/webapp/js/mylibs/config.js
[ERROR] error loading file: /test/src/main/webapp/js/mylibs/controller.daily.js:1: Uncaught ReferenceError: Controller is not defined
Controller.Daily = {
_isInitialized: false,
var Controller = {
--
You received this message because you are subscribed to the Google Groups "JsTestDriver" group.
To unsubscribe from this group and stop receiving emails from it, send an email to js-test-drive...@googlegroups.com.
To post to this group, send email to js-test...@googlegroups.com.
Visit this group at http://groups.google.com/group/js-test-driver?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
From the look of it, mylibs/controller.js is never loaded. What does the revised conf look like?
server: http://localhost:9876
load:
- src/main/webapp/js/*.js
- src/main/webapp/js/libs/*.js
- src/main/webapp/js/mylibs/controller.js
server: http://localhost:9876
load:
- src/main/webapp/js/*.js
- src/main/webapp/js/libs/*.js
- src/main/webapp/js/profiling/*.js
- src/main/webapp/js/mylibs/config.js
- src/main/webapp/js/mylibs/controller.js
- src/main/webapp/js/mylibs/controller.daily.js
- src/main/webapp/js/mylibs/controller.daily.rate-table.js
- src/main/webapp/js/mylibs/controller.realtime.subway-map.js
- src/main/webapp/js/mylibs/data.daily.js
- src/main/webapp/js/mylibs/html.daily.js
- src/main/webapp/js/mylibs/html.realtime.matrix-view.js
test:
- src/test/webapp/js/*.js
Running: java -classpath C:\Users\dk068x\.m2\repository\com\googlecode\jstd-maven-plugin\jstd-maven-plugin\1.3.5.1\jstd-maven-plugin-1.3.5.1.jar;C:\Users\dk068x\.m2\repository\commons-io\commons-io\2.4\commons-io-2.4.jar;C:\Users\dk068x\.m2\repository\commons-lang\commons-lang\2.6\commons-lang-2.6.jar;C:\Users\dk068x\.m2\repository\com\google\jstestdriver\jstestdriver\1.3.5\jstestdriver-1.3.5.jar;C:\Users\dk068x\.m2\repository\org\codehaus\plexus\plexus-component-annotations\1.5.5\plexus-component-annotations-1.5.5.jar;C:\Users\dk068x\.m2\repository\org\sonatype\sisu\sisu-inject-bean\2.3.0\sisu-inject-bean-2.3.0.jar;C:\Users\dk068x\.m2\repository\org\sonatype\sisu\sisu-guice\3.1.0\sisu-guice-3.1.0-no_aop.jar;C:\Users\dk068x\.m2\repository\org\sonatype\sisu\sisu-guava\0.9.9\sisu-guava-0.9.9.jar;C:\Users\dk068x\.m2\repository\org\codehaus\plexus\plexus-utils\2.0.6\plexus-utils-2.0.6.jar;C:\Users\dk068x\.m2\repository\org\codehaus\plexus\plexus-interpolation\1.1\plexus-interpolation-1.1.jar;C:\Users\dk068x\.m2\repository\org\apache\xbean\xbean-reflect\3.4\xbean-reflect-3.4.jar;C:\Users\dk068x\.m2\repository\log4j\log4j\1.2.12\log4j-1.2.12.jar;C:\Users\dk068x\.m2\repository\commons-logging\commons-logging-api\1.1\commons-logging-api-1.1.jar;C:\Users\dk068x\.m2\repository\com\google\code\google-collections\google-collect\snapshot-20080530\google-collect-snapshot-20080530.jar;C:\Users\dk068x\.m2\repository\junit\junit\3.8.2\junit-3.8.2.jar;C:\Users\dk068x\.m2\repository\org\codehaus\woodstox\wstx-asl\3.2.6\wstx-asl-3.2.6.jar;C:\Users\dk068x\.m2\repository\stax\stax-api\1.0.1\stax-api-1.0.1.jar;C:\Users\dk068x\.m2\repository\org\sonatype\spice\model-builder\1.3\model-builder-1.3.jar;C:\Users\dk068x\.m2\repository\org\apache\maven\maven-project-builder\3.0-alpha-2\maven-project-builder-3.0-alpha-2.jar -jar C:\Users\dk068x\.m2\repository\com\google\jstestdriver\jstestdriver\1.3.5\jstestdriver-1.3.5.jar --basePath C:\Users\dk068x\workspace6\SunlightGUI --browser C:/Users/dk068x/AppData/Local/Google/Chrome/Application/chrome.exe --captureConsole --config C:\Users\dk068x\workspace6\SunlightGUI\src\test\resources\jsTestDriver.conf --port 9876 --runnerMode QUIET --tests all --verbose
setting runnermode QUIET
Chrome 23.0.1246.0 Windows loaded /test/src/main/webapp/js/libs/dd_belatedpng.js
Chrome 23.0.1246.0 Windows loaded /test/src/main/webapp/js/libs/jquery-1.4.2.js
Chrome 23.0.1246.0 Windows loaded /test/src/main/webapp/js/libs/jquery-1.4.2.min.js
Chrome 23.0.1246.0 Windows loaded /test/src/main/webapp/js/libs/jquery-1.6.4.js
Chrome 23.0.1246.0 Windows loaded /test/src/main/webapp/js/libs/jquery-1.6.4.min.js
Chrome 23.0.1246.0 Windows loaded /test/src/main/webapp/js/libs/jquery.address-1.3.1.js
Chrome 23.0.1246.0 Windows loaded /test/src/main/webapp/js/libs/jquery.address-1.3.1.min.js
Chrome 23.0.1246.0 Windows loaded /test/src/main/webapp/js/libs/jquery.browser.js
Chrome 23.0.1246.0 Windows loaded /test/src/main/webapp/js/libs/jquery.coo.kie.js
Chrome 23.0.1246.0 Windows loaded /test/src/main/webapp/js/libs/jquery.phpdate.js
Chrome 23.0.1246.0 Windows loaded /test/src/main/webapp/js/libs/jstz.min.js
Chrome 23.0.1246.0 Windows loaded /test/src/main/webapp/js/libs/modernizr-1.6.min.js
Chrome 23.0.1246.0 Windows loaded /test/src/main/webapp/js/libs/underscore.js
Chrome 23.0.1246.0 Windows loaded /test/src/main/webapp/js/mylibs/config.js
[ERROR] error loading file: /test/src/main/webapp/js/mylibs/controller.daily.js:1: Uncaught ReferenceError: Controller is not defined
[ERROR] error loading file: /test/src/main/webapp/js/mylibs/controller.daily.rate-table.js:4: Uncaught ReferenceError: Controller is not defined
[ERROR] error loading file: /test/src/main/webapp/js/mylibs/controller.diagnostic.page.js:1: Uncaught ReferenceError: Datas is not defined
[ERROR] error loading file: /test/src/main/webapp/js/mylibs/controller.js:28: Uncaught ReferenceError: Util is not defined
--
Looks like '*' is a little to greedy.
--
You received this message because you are subscribed to a topic in the Google Groups "JsTestDriver" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/js-test-driver/5VXbmjvwNUw/unsubscribe?hl=en.
To unsubscribe from this group and all its topics, send an email to js-test-drive...@googlegroups.com.