whesse@google.com
e545ffef5d
Remove uses of Selenium and webdriver from test scripts.
...
BUG=
R=kustermann@google.com
Review URL: https://codereview.chromium.org//68213016
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30269 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-14 12:30:35 +00:00
blois@google.com
41e8c13ed2
Filtering MutationObserver polyfill messages from test_controller logging
...
Basically the MutationObserver polyfill is using postMessage as a scheduling mechanism when MutationObserver is not supported (IE9,IE10). These messages are getting picked up by the test controller's logging, which is then putting them into the body. This in turn generates new mutation events, generating new messages. Endless loop.
This just filters messages which are random numbers.
BUG=
R=jmesserly@google.com
Review URL: https://codereview.chromium.org//34363005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29107 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-23 18:40:05 +00:00
kustermann@google.com
b24a73c137
Remove unittest-based wrapping from our testing scripts
...
The unittest-based wrapping of tests is completely broken and will be removed
with this CL. ('none-drt' is the last configuration where we currently still do
unittest-based wrapping.)
BUG=
R=ricow@google.com
Review URL: https://codereview.chromium.org//26162007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28501 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-11 09:01:17 +00:00
kustermann@google.com
22d20313b4
Implement testing support for "--compiler=none --runtime=dartium"
...
This is implemented without the broken unittest-based wrapping of tests.
R=kasperl@google.com
Review URL: https://codereview.chromium.org//25514002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28141 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-02 07:37:50 +00:00
blois@google.com
1aa8a7be0e
Adding Element.created constructor and .created constructors to all subclasses. Also ensuring generative constructor for all superclasses.
...
This is for post-construction custom element creation.
Element.created is public, then the base classes of that get private ._created constructors.
BUG=
R=vsm@google.com
Review URL: https://codereview.chromium.org//24653006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28120 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-01 21:26:06 +00:00
ricow@google.com
46302044e2
Only add extra debug info if we are not on drt
...
R=kustermann@google.com
Review URL: https://codereview.chromium.org//23609045
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27474 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-13 11:14:40 +00:00
ricow@google.com
c6379eb7da
Add debug info the test_controller.js
...
This is to get more info on issue 13292
R=kustermann@google.com
Review URL: https://codereview.chromium.org//23609044
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27472 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-13 10:45:29 +00:00
ahe@google.com
a5f62a3902
TestCase times out after 20 seconds.
...
R=gram@google.com
Review URL: https://codereview.chromium.org//22849010
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26974 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-31 09:24:52 +00:00
jmesserly@google.com
7a091dcfca
Turn on Polymer TodoMVC tests on Dart buildbots
...
The biggest changes are to the examples, but there's a small tweak to test_suite.dart as well, so it can load the HTML files.
For now, we only test the development loop (content_shell+Dart VM). I'm working on changes to enable us to test the deploy story with dart2js.
R=kustermann@google.com , sigmund@google.com
Review URL: https://codereview.chromium.org//23539003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26943 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-30 21:09:06 +00:00
ricow@google.com
73826dc6bf
Add support for ie in the browser controller
...
Also, add no caching headers (since IE will cache the task that it gets)
R=kustermann@google.com
Review URL: https://codereview.chromium.org//22420002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26112 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-14 11:30:48 +00:00
ahe@google.com
65fdfb0ad0
dartPrint should propagate unittest-suite-done.
...
R=kustermann@google.com
Review URL: https://codereview.chromium.org//19968003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25282 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-22 16:12:23 +00:00
kustermann@google.com
5689ffe2ae
Do not listen to errors twice in test_controller.js
...
Currently we have two error handlers in test_controller.js. One is using
'window.onerror = ...' and one is using 'window.addEVentListener("error", ...)'.
Doing so will give us the same error twice (i.e. for negative tests / failing
tests, we will get an exception which is caused by both mechanisms.)
R=ricow@google.com
Review URL: https://codereview.chromium.org//16550002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23682 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-06 13:32:45 +00:00
kustermann@google.com
eda01014b4
Support for running tests in an iframe
...
R=ricow@google.com
Review URL: https://codereview.chromium.org//16050006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23400 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-30 12:16:22 +00:00
antonm@google.com
4638137480
Switch from DRT to content shell.
...
R=kustermann@google.com , ricow@google.com
Review URL: https://codereview.chromium.org//15755017
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23328 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-29 08:34:52 +00:00
ricow@google.com
b01abf0301
Update browser controller and unittest lib to use start marker to figure out when to start new tests (and send back the correct id)
...
R=kustermann@google.com
Review URL: https://codereview.chromium.org//15742006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23059 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-23 11:06:46 +00:00
ricow@google.com
75517b7b2e
Add browser controller and allow it to be used under a flag.
...
This is currently chrome and firefox only.
I am still seeing a race condition occasionally, which is the reason
for the rather verbose prints I do when failing.
I have not added prefetching yet, I will do that as a next step.
R=kustermann@google.com
Review URL: https://codereview.chromium.org//14757019
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@22675 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-14 12:32:24 +00:00
ahe@google.com
4791afea54
Provide more information about non-unittest failures.
...
Review URL: https://codereview.chromium.org//12296025
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18679 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-19 12:47:50 +00:00
sigmund@google.com
376c46005e
Move test_controller.js inside unitest/lib so it can be used in external tests
...
too.
Review URL: https://codereview.chromium.org//12217045
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18184 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-06 19:33:55 +00:00