Created
March 26, 2011 14:56
-
-
Save skilldrick/888344 to your computer and use it in GitHub Desktop.
jsautotest not resetting runner
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#This happens after saving src/request.js | |
2011-03-26 14:54:19 Running GetRequestTest,ReadyStateHandlerTest,RequestTest,PostRequestTest | |
Chrome: Runner reset. | |
................ | |
Total 16 tests (Passed: 16; Fails: 0; Errors: 0) (6.00 ms) | |
Chrome 10.0.648.133 Linux: Run 16 tests (Passed: 16; Fails: 0; Errors 0) (6.00 ms) | |
#This happens after saving test/request_test.js | |
2011-03-26 14:54:26 Running GetRequestTest,ReadyStateHandlerTest,RequestTest,PostRequestTest | |
null | |
com.google.jstestdriver.FailureException | |
at com.google.jstestdriver.FailureCheckerAction.run(Unknown Source) | |
at com.google.jstestdriver.ActionRunner.runActions(Unknown Source) | |
at com.google.jstestdriver.JsTestDriverServer.main(Unknown Source) | |
.EEF.EEE.FFFF.E. | |
Total 16 tests (Passed: 5; Fails: 5; Errors: 6) (9.00 ms) | |
Chrome 10.0.648.133 Linux: Run 16 tests (Passed: 5; Fails: 5; Errors 6) (9.00 ms) | |
ReadyStateHandlerTest.test should call success handler for status 200 error (1.00 ms): Object #<Object> has no method 'onreadystatechange' | |
at Object.readyStateChange (http://localhost:4224/test//home/nick/prog/tddjs/ajax/lib/fake_xhr.js:7:10) | |
at forceStatusAndReadyState (http://localhost:4224/test//home/nick/prog/tddjs/ajax/test/request_test.js:14:9) | |
at Object.test should call success handler for status 200 (http://localhost:4224/test//home/nick/prog/tddjs/ajax/test/request_test.js:52:21) | |
ReadyStateHandlerTest.test should call success handler for status 304 error (1.00 ms): Object #<Object> has no method 'onreadystatechange' | |
at Object.readyStateChange (http://localhost:4224/test//home/nick/prog/tddjs/ajax/lib/fake_xhr.js:7:10) | |
at forceStatusAndReadyState (http://localhost:4224/test//home/nick/prog/tddjs/ajax/test/request_test.js:14:9) | |
at Object.test should call success handler for status 304 (http://localhost:4224/test//home/nick/prog/tddjs/ajax/test/request_test.js:59:21) | |
ReadyStateHandlerTest.test should not throw error without success handler failed (2.00 ms): expected not to throw exception, but threw TypeError (Object #<Object> has no method 'onreadystatechange') | |
at Object.test should not throw error without success handler (http://localhost:4224/test//home/nick/prog/tddjs/ajax/test/request_test.js:71:7) | |
ReadyStateHandlerTest.test should reset onreadystatechange when complete error (1.00 ms): Object #<Object> has no method 'onreadystatechange' | |
at Object.test should reset onreadystatechange when complete (http://localhost:4224/test//home/nick/prog/tddjs/ajax/test/request_test.js:87:16) | |
ReadyStateHandlerTest.test should call success handler for local requests error (1.00 ms): Object #<Object> has no method 'onreadystatechange' | |
at Object.readyStateChange (http://localhost:4224/test//home/nick/prog/tddjs/ajax/lib/fake_xhr.js:7:10) | |
at forceStatusAndReadyState (http://localhost:4224/test//home/nick/prog/tddjs/ajax/test/request_test.js:14:9) | |
at Object.test should call success handler for local requests (http://localhost:4224/test//home/nick/prog/tddjs/ajax/test/request_test.js:96:21) | |
ReadyStateHandlerTest.test should call failure handler for bad status codes error (0.00 ms): Object #<Object> has no method 'onreadystatechange' | |
at Object.readyStateChange (http://localhost:4224/test//home/nick/prog/tddjs/ajax/lib/fake_xhr.js:7:10) | |
at forceStatusAndReadyState (http://localhost:4224/test//home/nick/prog/tddjs/ajax/test/request_test.js:14:9) | |
at Object.test should call failure handler for bad status codes (http://localhost:4224/test//home/nick/prog/tddjs/ajax/test/request_test.js:103:21) | |
RequestTest.test should throw error without url failed (1.00 ms): expected to throw exception | |
at Object.test should throw error without url (http://localhost:4224/test//home/nick/prog/tddjs/ajax/test/request_test.js:120:7) | |
RequestTest.test should obtain an XMLHttpRequest object failed (0.00 ms): expected true but was false | |
at Object.test should obtain an XMLHttpRequest object (http://localhost:4224/test//home/nick/prog/tddjs/ajax/test/request_test.js:128:7) | |
RequestTest.test should call open with method, url, async flag failed (1.00 ms): expected ["GET","/url",true] but was {"0":"POST","1":"/url","2":true} | |
at Object.test should call open with method, url, async flag (http://localhost:4224/test//home/nick/prog/tddjs/ajax/test/request_test.js:136:7) | |
RequestTest.test should add onreadystatechange handler failed (0.00 ms): expected to be function but was undefined | |
at Object.test should add onreadystatechange handler (http://localhost:4224/test//home/nick/prog/tddjs/ajax/test/request_test.js:142:7) | |
RequestTest.test should encode data error (0.00 ms): Cannot read property '0' of undefined | |
at Object.test should encode data (http://localhost:4224/test//home/nick/prog/tddjs/ajax/test/request_test.js:157:51) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment