d1f780df0b
also gets the tests running Changes to scripts: * pkg/pkg.gyp: add 'third_party' to list of folders to search * tools/publish_pkg.py: update copyright year * tools/publish_all_pkgs.py: also include pkg/third_party Changes to html5lib: * pubspec.yaml -- removed versions * README.md -- removed some historical notes * added html5lib.status * test/browser -- rename browser_tests to browser_test so test framework finds it * test/parser_test.dart, test/parser_feature_test.dart -- moved dart:io test into parser_test so parser_feature_test can work in browser * test/support.dart -- now finds the data folder relative to entry point script * test/support.dart -- rename "pathos" import to "path" Not changed: * ./test/run.sh still works for testing, in addition to ./tools/test.dart R=dgrove@google.com, ricow@google.com, sigmund@google.com Review URL: https://codereview.chromium.org//22375011 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26152 260f80e4-7a28-3924-810f-c04153c831b5
29 lines
798 B
HTML
29 lines
798 B
HTML
<!DOCTYPE html>
|
|
|
|
<html>
|
|
<head>
|
|
<title>Run the unit tests</title>
|
|
</head>
|
|
<body>
|
|
<script>
|
|
// Webkit is migrating from layoutTestController to testRunner, we use
|
|
// layoutTestController as a fallback until that settles in.
|
|
var runner = window.testRunner || window.layoutTestController;
|
|
if (runner) {
|
|
runner.dumpAsText();
|
|
runner.waitUntilDone();
|
|
window.addEventListener("message", receiveMessage, false);
|
|
}
|
|
|
|
function receiveMessage(e) {
|
|
console.log(e.data);
|
|
if (e.data == 'unittest-suite-done' && runner) {
|
|
runner.notifyDone();
|
|
}
|
|
}
|
|
</script>
|
|
<script type="application/dart" src="browser_test.dart"></script>
|
|
<script src="packages/browser/dart.js"></script>
|
|
</body>
|
|
</html>
|