Commit Graph

493 Commits

Author SHA1 Message Date
samhop@google.com 9d08d66b7d added preliminary ShadowDOM tests
BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com//10661039

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9141 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-26 23:16:07 +00:00
ahe@google.com 968159dba8 Revert "Added the ability to filter which tests are run by name, using a --filter argument passed to test.dart."
Review URL: https://chromiumcodereview.appspot.com//10632017

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9018 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-22 09:14:54 +00:00
ahe@google.com d8a395734a Correctly detect unhandled exceptions on Windows.
Review URL: https://chromiumcodereview.appspot.com//10572047

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9015 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-22 08:46:02 +00:00
gram@google.com 2436664bb5 Added the ability to filter which tests are run by name, using a --filter argument passed to test.dart.
Review URL: https://chromiumcodereview.appspot.com//10627008

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9006 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-21 22:03:55 +00:00
efortuna@google.com a539626bb3 Fix webdriver test setup script for windows and add proper path for pip.
Review URL: https://chromiumcodereview.appspot.com//10634013

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9005 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-21 21:54:20 +00:00
iposva@google.com 0fd25118b9 - Move the Timer interface to the dart:isolate library so that it
is accessible from both client and standalone program.
- Enable a way for the embedder to provide the implementation of
  the Timer interface.
- Update tests.
Review URL: https://chromiumcodereview.appspot.com//10532123

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8987 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-21 16:17:21 +00:00
sigmund@google.com 82f6756e91 Listen for on.error events in test_controller.js
Review URL: https://chromiumcodereview.appspot.com//10627004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8983 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-21 15:32:40 +00:00
vsm@google.com 652d9a986d Remove dom from test_options
TBR=sra

Review URL: https://chromiumcodereview.appspot.com//10582023

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8867 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-19 19:53:29 +00:00
efortuna@google.com 75de60eed8 Get Dromaeo benchmarks running again.
Review URL: https://chromiumcodereview.appspot.com//10577010

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8829 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-18 23:20:33 +00:00
whesse@google.com a4d55c1bc6 Test infrastructure: Remove "race condition" bug from restarting batch process runners.
BUG=
TEST=tools/test.py -c dartc -r none

Review URL: https://chromiumcodereview.appspot.com//10566026

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8794 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-18 13:36:10 +00:00
whesse@google.com b080bc440e Drop obsolete special case from test.dart for dartc/samples status file.
BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com//10533106

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8549 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-12 14:01:16 +00:00
efortuna@google.com 17f116fc9a MessageFormat fixup
Review URL: https://chromiumcodereview.appspot.com//10538033

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8413 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-07 23:37:28 +00:00
zundel@google.com 8574e3abdf Renamed the 'dartc' launch script to 'dart_analyzer' and adds it to dart-sdk
Some now unused scripts and files were also removed.

Committed: https://code.google.com/p/dart/source/detail?r=8373

Review URL: https://chromiumcodereview.appspot.com//9950019

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8392 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-07 12:39:38 +00:00
kasperl@google.com 52990c6f01 Try to fix IE issues.
Add <meta> tag to our generated browser test cases to make sure IE does not use IE7 compatibility mode when loading these from the intranet.

R=ngeoffray@google.com
BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com//10542050

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8380 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-07 08:17:53 +00:00
zundel@google.com a45703b87a Reverts r8373 "Renamed the 'dartc' launch script to 'dart_analysis'"
Not all linux builders have same Java configuration.  Browser builds on
windows invoke dart_analyzer build.

Review URL: https://chromiumcodereview.appspot.com//10545048

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8377 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-07 01:57:19 +00:00
zundel@google.com d8e00833f2 merged
executable suffix

Merge branch 'master' into rename-dartc

 added missing line of code from bad merge

merged

 updated

Merge branch 'master' into rename-dartc

 updated

 updated

 committed

 updated test_suite.dart

 updated create_sdk.py

 fixed up dart.gyp

 added dart_analyzer.sh

 added analyzer_series_test.sh

added analyzer_metrics.sh

 added dart_analyzer.xml

BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com//10532046

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8376 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-07 01:35:40 +00:00
zundel@google.com 9f4387bf1e another patch up for windows in test_suite.dart.
Review URL: https://chromiumcodereview.appspot.com//10532045

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8375 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-07 01:28:05 +00:00
zundel@google.com 629ad67b51 Renamed the 'dartc' launch script to 'dart_analyzer' and adds it to dart-sdk
Some now unused scripts and files were also removed.

Review URL: https://chromiumcodereview.appspot.com//9950019

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8373 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-07 01:16:04 +00:00
whesse@google.com dff5549f93 Eliminate standalone timeout_test, pass_test, and fail_test.
These are now built into standalone/io/test_runner_test.

BUG=dart:3216
TEST=tools/test.py standalone/io/test_runner_test

Review URL: https://chromiumcodereview.appspot.com//10521003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8315 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-06 09:18:37 +00:00
efortuna@google.com 4bd7052a8b Get performance tests running without frog in the SDK.
Review URL: https://chromiumcodereview.appspot.com//10510010

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8309 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-05 22:38:54 +00:00
ahe@google.com 96ac4bc26e Remove underscores from configurations.
Underscores don't work in Visual Studio 2010.

Review URL: https://chromiumcodereview.appspot.com//10475003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8235 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-04 07:41:59 +00:00
efortuna@google.com fbc9385f56 Run dart2js browser benchpress tests.
Review URL: https://chromiumcodereview.appspot.com//10458061

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8168 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-31 17:41:49 +00:00
ahe@google.com 725984cf50 Create a unique name for each failure step.
Review URL: https://chromiumcodereview.appspot.com//10456026

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8091 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-30 09:12:51 +00:00
whesse@google.com 823eac8021 Fix erroneous asynchronous code in test scripts (batch runner).
BUG=3286
TEST=

Review URL: https://chromiumcodereview.appspot.com//10440071

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8058 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-29 13:49:27 +00:00
ahe@google.com f6d5547147 Make sure the failing build step is red.
Review URL: https://chromiumcodereview.appspot.com//10448050

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8056 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-29 13:22:13 +00:00
ahe@google.com 857a7108d9 Improve annotated steps output:
* Make sure a step is started before anything is printed (this removes the "preamble" section).

* Create a "failures" step before printing the failures again. This makes it easier to find the failures (especially, from a mobile browser).

Review URL: https://chromiumcodereview.appspot.com//10443057

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8054 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-29 13:01:22 +00:00
whesse@google.com 7cbe0da91d Revert "Add some temporary code to work around an error in test scripts, to fix buildbots."
This reverts commit 40369a8c5e5b32bdcbbbda2c5779ea83369e7d39.

BUG=dart:3286
TEST=

Review URL: https://chromiumcodereview.appspot.com//10448048

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8053 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-29 12:41:58 +00:00
whesse@google.com 4e32a2e22a Add some temporary code to work around an error in test scripts, to fix buildbots.
BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com//10458009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8043 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-29 09:27:23 +00:00
ahe@google.com ec723484c6 Handle native paths in test wrappers.
Review URL: https://chromiumcodereview.appspot.com//10447060

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8041 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-29 09:15:28 +00:00
ngeoffray@google.com 3c29a44d83 Add a browser configuration to avoid repeating (runtime == 'ff' || runtime == 'ie' || ...).
Review URL: https://chromiumcodereview.appspot.com//10451062

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8035 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-29 07:39:36 +00:00
efortuna@google.com c2c8e28e2d Fix typo in webdriver test setup script.
Review URL: https://chromiumcodereview.appspot.com//10443036

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8023 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-26 01:27:38 +00:00
vsm@google.com cb9abc9a4f Suppress dart:dom version of Dromaeo for Dartium
Review URL: https://chromiumcodereview.appspot.com//10441011

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7950 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-24 15:41:37 +00:00
whesse@google.com 820b8e5672 Fix bug in refactoring of string concatenations in test code.
BUG=
TEST=test.py --compiler=dartc --runtime=none dartc/junit

Review URL: https://chromiumcodereview.appspot.com//10407118

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7898 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-23 09:15:46 +00:00
whesse@google.com a4e88c8b3e Remove string concatenation with + from all Dart files in tools directory.
Fix whitespace errors and rename shadowed variable in ddbg.dart.

BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com//10387232

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7897 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-23 08:51:38 +00:00
vsm@google.com 6de0884cb0 Run dart2js compiled Dromaeo on Chrome
Review URL: https://chromiumcodereview.appspot.com//10408075

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7883 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-22 23:05:16 +00:00
vsm@google.com 120b4c94e0 Generate dart2js versions of Dromaeo
Note, this only generates dart2js versions and enables running them in the browser.  Before enabling dart2js in the perf script, I need to debug it.  The dart2js tests currently hang.

Review URL: https://chromiumcodereview.appspot.com//10407099

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7875 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-22 20:13:59 +00:00
efortuna@google.com 2b98dbf338 Deal with different chromedrivers running on for Chrome and Dartium.
Review URL: https://chromiumcodereview.appspot.com//10417025

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7861 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-22 17:07:53 +00:00
whesse@google.com a7ccbaf9ba Remove string concatenation using + from test_suite.dart. Simplify output directory recursive directory creation, removing a TODO.
BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com//10387214

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7845 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-22 11:15:08 +00:00
whesse@google.com dbd1d5b33d Remove system-provided temporary directory usage from test scripts.
BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com//10398056

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7783 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-21 08:00:47 +00:00
hausner@google.com 048b8bde32 More String + elimination in tests
Worst offender was standalone test suite
Review URL: https://chromiumcodereview.appspot.com//10414002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7762 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-18 21:03:59 +00:00
sigmund@google.com a19e8bb1fe test.dart: include _dart2js.status when creating test suites with 'forDirectory'
this will allow dart2js to split their status files to reduce their conflicts.

Review URL: https://chromiumcodereview.appspot.com//10399021

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7663 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-15 17:11:40 +00:00
whesse@google.com b46a7bc2f7 Report total time for multiphase tests, in test script's --test option, not time of last phase.
BUG=
TEST=test.py --time

Review URL: https://chromiumcodereview.appspot.com//10392078

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7607 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-14 13:03:34 +00:00
ager@google.com 0a181379c7 Fix dartc part of test scripts.
R=sgjesse@google.com
BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com//10356125

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7531 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-11 06:19:28 +00:00
ager@google.com 5fb75d3952 Change dart:io to use Future for one-shot operations.
This appears to be what a lot of our users are doing and it is the
style used in our other libraries.

Noteworthy changes:

- File and Directory objects are now immutable.

- Directory.list returns an active lister object.

- Write operations on files return futures and the
  onNoPendingWrites handler is gone. The same
  functionality is there by using 'then' on the
  future returned from the last write operation.

- Process starting is now done with static methods:
  -- Process.start yields an InteractiveProcess.
  -- Process.run yields a Future<ProcessResult>

BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com//10392023

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7529 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-11 06:09:42 +00:00
efortuna@google.com f46f19e0ff Fix dealing with incomplete files as the first set of files encountered.
Review URL: https://chromiumcodereview.appspot.com//10391037

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7477 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-09 23:21:52 +00:00
efortuna@google.com c8f1b44423 Store files locally in a different location after they've been posted.
Review URL: https://chromiumcodereview.appspot.com//10383053

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7424 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-08 16:53:39 +00:00
mattsh@google.com 3ee233c155 updated legpad with new DART2JS_LIBRARY_MAP
BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com//10391007

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7417 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-08 15:06:05 +00:00
ngeoffray@google.com 4e3f5102f9 Start implementing checked mode and tools support for using it.
Review URL: https://chromiumcodereview.appspot.com//10353014

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7375 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-07 13:18:21 +00:00
efortuna@google.com dd900032c4 Make change to actually upload to app engine.
Review URL: https://chromiumcodereview.appspot.com//10360004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7296 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-03 18:23:06 +00:00
ager@google.com e6b2635059 Change Platform members to getters instead of methods.
R=sgjesse@google.com
BUG=dartbug.com/1668
TEST=

Review URL: https://chromiumcodereview.appspot.com//10351011

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7282 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-03 13:16:33 +00:00