Commit Graph

1007 Commits

Author SHA1 Message Date
floitsch@google.com 7006de6f23 Remove deprecated parts of dart:async.
Attempt to fix most uses of the deprecated features.

R=floitsch@google.com, nweiz@google.com, rnystrom@google.com

Review URL: https://codereview.chromium.org//48483002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29628 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-31 02:24:29 +00:00
kustermann@google.com 6029bd2f44 co19-roll to r651
TBR=ricow@google.com

Review URL: https://codereview.chromium.org//53453003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29596 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-30 22:16:51 +00:00
ngeoffray@google.com 97489a5dcd Implement SharedOptions in test scripts.
R=kustermann@google.com, ricow@google.com

Review URL: https://codereview.chromium.org//47703006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29568 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-30 17:30:10 +00:00
lrn@google.com 41ff075e31 Remove deprecated dart:utf library.
BUG= http://dartbug.com/12843
R=fschneider@google.com, sgjesse@google.com

Review URL: https://codereview.chromium.org//48133002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29537 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-30 12:25:02 +00:00
kustermann@google.com aac5479809 Only generate multitests if content changed, enables us to dart2js compilations for multitests
BUG=
R=ricow@google.com

Review URL: https://codereview.chromium.org//52113003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29528 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-30 10:41:17 +00:00
kustermann@google.com 0456d4136b Run the analyzer on dart files under sdk/ -- even in sdk/_internal, if not ending with _test.dart
R=ricow@google.com

Review URL: https://codereview.chromium.org//48763003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29420 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-29 09:02:14 +00:00
kustermann@google.com b5373a419a Run all tests inside an iframe + restrict number of chrome browser processes on mac
R=ricow@google.com

Review URL: https://codereview.chromium.org//49043003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29367 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-28 16:31:18 +00:00
kustermann@google.com cf822a851a test.py: Run the analyzer on all dart files in the sdk.
BUG=http://dartbug.com/13024
R=ricow@google.com

Review URL: https://codereview.chromium.org//47743005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29362 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-28 14:45:59 +00:00
kustermann@google.com 94ebff2225 Bugfix in test.dart, adding of specialized test outcomes for analyzer
This CL will:
 - fix a bug in the legacy AnalyzerCommandOutputImpl class (in certain cases
   we did not report that the analyzer was missing a warning).
 - make the outcome of running the analyzer on a test be one of:
   * CompileTimeError
   * MissingCompileTimeError
   * StaticWarning
   * MissingStaticWarning
 - Make status file updates using the new Expectation markers
 - Remove support for '@static-clean':
     Previously running the analyer on a test could either result in
     'Pass' or in 'Fail'. The '@static-clean' annotation has been used
     as a (poor) mechanism to distinguish between errors and warnings.
     Having the 4 markers mentioned above means we can remove '@static-clean'
 - Remove 100 lines of rotted legacy code in our testing scripts.
 - Make a status file entry for every test that has analyzer errors or warnings

R=ricow@google.com

Review URL: https://codereview.chromium.org//46163002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29350 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-28 10:39:38 +00:00
scheglov@google.com 7ac0b7d0bd Rename analyzer_experimental to analyzer.
R=jmesserly@google.com, pquitslund@google.com, danrubel@google.com
BUG=

Review URL: https://codereview.chromium.org//45573002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29302 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-25 23:59:38 +00:00
zra@google.com bdc3343090 Adds test target for Dartium on Android.
R=kustermann@google.com

Review URL: https://codereview.chromium.org//43773005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29293 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-25 21:34:25 +00:00
zra@google.com 5572278a23 Changes to run tests on Dartium content shell on Android.
- In browser_controller.dart, adds a drtOnAndroid Browser.
- Adds flags for starting test servers at fixed ports.
  - This is needed so that android reverse port forwarding
    can be set up in advance.
- Adds setProp to android.dart to be used in lieu of
  environment variables when testing on Android.

R=kustermann@google.com

Review URL: https://codereview.chromium.org//29773006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29259 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-25 16:39:48 +00:00
kustermann@google.com 746d924e59 co19-roll to r641
R=ricow@google.com

Review URL: https://codereview.chromium.org//44263003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29255 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-25 15:07:10 +00:00
lrn@google.com 3a01260611 Remove dart:json
BUG= http://dartbug.com/12843
R=floitsch@google.com, fschneider@google.com

Review URL: https://codereview.chromium.org//40323002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29240 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-25 10:30:34 +00:00
amouravski@google.com ea765638fb Updated webdriver setup script to use new location for downloads.
R=efortuna@google.com

Review URL: https://codereview.chromium.org//33003002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29200 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-24 20:01:48 +00:00
kustermann@google.com b3ba5c5c95 test.py: Support for running tests in checked mode on none-dartium with the browser controller
R=ricow@google.com

Review URL: https://codereview.chromium.org//38753008

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29175 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-24 15:37:33 +00:00
jmesserly@google.com ccb7d5304f fix issue 14300 -- polymer tests under CSP
R=ricow@google.com, sigmund@google.com

Review URL: https://codereview.chromium.org//34483003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29020 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-22 18:29:46 +00:00
sigmund@google.com 4d357c5148 Improves how to initialize polymer apps and fixes polymer build and linter to
match Dartium semantics (Issue 14238). In particular:
  - only one script tag is allowed per document
  - initPolymer can be call from init.dart or the users main method, the build
    process knows how to call the user's main given the new Dartium semantics.

R=jmesserly@google.com

Review URL: https://codereview.chromium.org//27903006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28971 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-21 23:30:23 +00:00
kustermann@google.com 006645db9e Capture and report stdout/stderr of the browser while running a test
Currently we have no way of getting stdout/stderr information when using the
browser controller.

This CL will capture stdout/stderr of the browser and tries to align it with the
currently executed test (which might be slightly off due to the fact that
Process.{stderr,stdout} is reported asynchronously).

R=ricow@google.com

Review URL: https://codereview.chromium.org//28533003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28858 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-18 15:28:08 +00:00
kustermann@google.com 24fded56bc test.py: Implement --list option for test.dart
R=ricow@google.com

Review URL: https://codereview.chromium.org//27687002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28845 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-18 08:52:06 +00:00
sigmund@google.com 6c4e38b81e Practically remove boot.js, adds the initialization from the Dart side of
things, and fixes examples to work this way.

R=jmesserly@google.com

Review URL: https://codereview.chromium.org//27518006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28773 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-17 02:43:50 +00:00
kustermann@google.com cf50a507bb Fixed (currently harmless) bug in test_runner and implemented separate dart2js compilation cache
R=ricow@google.com

Review URL: https://codereview.chromium.org//26229005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28634 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-15 11:50:47 +00:00
ricow@google.com a37250df7e Rerun dartium tests until we fixed the flaky crashes in issue 14074
R=kustermann@google.com

Review URL: https://codereview.chromium.org//26986003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28632 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-15 08:36:45 +00:00
kustermann@google.com e6077d093a Remove pixel/layout tests in tests/utils + special casing in the testing scripts for pixel/layout tests
R=ricow@google.com

Review URL: https://codereview.chromium.org//26998002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28502 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-11 10:29:46 +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
ricow@google.com 3a89ab918a Add support for catching rendere crashes in drt
R=kustermann@google.com

Review URL: https://codereview.chromium.org//26793004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28443 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-10 09:30:54 +00:00
kustermann@google.com c9ba1fcbe4 test.py: Propagate the global --dartium option to the browser controller
R=kasperl@google.com

Review URL: https://codereview.chromium.org//25876002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28222 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-03 14:55:09 +00:00
kustermann@google.com b366346004 Disable re-running of ContentShell commands on windows
R=kasperl@google.com

Review URL: https://codereview.chromium.org//25700006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28208 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-03 11:22:23 +00:00
kustermann@google.com 924c46f9ae co19-roll to r607
R=kasperl@google.com

Review URL: https://codereview.chromium.org//25710002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28150 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-02 11:18:31 +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
kustermann@google.com b470d2572a Report MissingCompileTime errors on the VM, status file updates for the remaining issues
R=ricow@google.com

Review URL: https://codereview.chromium.org//25229002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28043 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-30 08:37:59 +00:00
ajohnsen@google.com 7cfda3591f Let test-runner wait for stdout & stderr when running tests.
BUG=
R=kustermann@google.com

Review URL: https://codereview.chromium.org//24989004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28009 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-27 13:19:12 +00:00
kustermann@google.com 55e9dc75b4 test.py: Parse unittest-suite-{wait-for-done,success} messages in output of d8/jsshell/vm
R=ricow@google.com

Review URL: https://codereview.chromium.org//24573003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27953 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-26 14:06:01 +00:00
floitsch@google.com a24014ab08 Automatically append ".js" on spawnUri if we are running in JavaScript.
BUG= http://dartbug.com/9422
R=kasperl@google.com, kustermann@google.com

Review URL: https://codereview.chromium.org//24730002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27941 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-26 11:32:11 +00:00
jwren@google.com 7710f874e8 Add a flag to disable the reporting and generation of hints in the analyzer.
I have a pending cl (24454002) which would break the analyzer bot since hints will be generated on langage and co19 where the output is asserted to be clean.

R=ricow@google.com

Review URL: https://codereview.chromium.org//24449004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27891 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-25 16:37:37 +00:00
kustermann@google.com 766d8c6eea test.py: Use *.precompiled.js in csp mode for customHtml tests as well
R=ahe@google.com

Review URL: https://codereview.chromium.org//24427005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27872 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-25 10:00:40 +00:00
blois@google.com b5bc0e1367 - Fixing analyzer error on legacy custom element polyfill
- Adjsuting IE status (filed bug to investigate)
 - Fixing polymer tests on Dartium

BUG=
R=jmesserly@google.com

Review URL: https://codereview.chromium.org//24168006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27846 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-24 20:11:36 +00:00
blois@google.com 209e413a5c Retry of custom element lifecycle events.
First patch is the original, changes were:
 - Shadow DOM upgrade landed as separate CL
 - CustomElement polyfill wasn't always firing WebComponentsLoaded event (causing timeouts on FF and IE), fixed polyfill.
 - Dartium test exclusions were not working

BUG=
R=jmesserly@google.com

Review URL: https://codereview.chromium.org//23498053

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27841 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-24 19:14:16 +00:00
ahe@google.com 2fa6b681cf Address comments from CL 23721012.
R=kustermann@google.com

Review URL: https://codereview.chromium.org//23726054

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27816 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-24 13:07:02 +00:00
ahe@google.com ab78c663ad Generate out.precompiled.js, not precompiled.js.
BUG=http://dartbug.com/6880
R=kasperl@google.com, kustermann@google.com

Review URL: https://codereview.chromium.org//23721012

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27813 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-24 12:04:49 +00:00
kustermann@google.com ed3fe0161c test.py: Support for CompileTimeError,RuntimeError,MissingRuntimeError,MissingCompiletimeError markers in status files
R=ricow@google.com

Review URL: https://codereview.chromium.org//23702055

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27804 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-24 10:21:15 +00:00
ahe@google.com 05a9a7834e Emit CSP code in separate file.
R=kasperl@google.com

Review URL: https://codereview.chromium.org//24267004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27745 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-23 09:06:14 +00:00
blois@google.com 6def065afd Revert "Dart2js support for custom element lifecycle events"
This reverts commit 27729. Shadow DOM polyfill appears to have regressed some tests and some issues are coming up with the browser controller.

BUG=
R=jmesserly@google.com

Review URL: https://codereview.chromium.org//24251016

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27730 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-21 00:46:48 +00:00
blois@google.com fb8f32bcc4 Dart2js support for custom element lifecycle events
BUG=
R=jmesserly@google.com

Review URL: https://codereview.chromium.org//24096027

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27729 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-20 23:49:12 +00:00
kustermann@google.com be1fc8ad2d co19-roll to r587
R=ricow@google.com

Review URL: https://codereview.chromium.org//23437044

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27657 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-19 11:50:48 +00:00
ricow@google.com 7ff576944f Don't try to get chrome version on windows.
We still make sure that the binary is valid.

Enable the browser controller on windows again

R=kustermann@google.com

Review URL: https://codereview.chromium.org//23815007

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27333 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-10 12:29:43 +00:00
kustermann@google.com 1e32f03118 Disable new browser controller on win-chrome
test.dart is not able to determine the version of chrome when running
'chrome.exe --version'. This causes an open browser window to hang and
makes the bot timeout.

TBR=ricow@google.com

Review URL: https://codereview.chromium.org//23561005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27245 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-06 12:22:32 +00:00
kustermann@google.com 58b33d70e9 test.py: Bugfix in browser_controller. Make sure we always complete even in case of errors
TBR=ricow@google.com

Review URL: https://codereview.chromium.org//24033002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27242 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-06 11:32:34 +00:00
ricow@google.com b4b435faab Add support for chrome on windows to the new browser controller
R=kustermann@google.com

Review URL: https://codereview.chromium.org//23625008

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27239 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-06 09:45:52 +00:00
ricow@google.com 175c3f58e1 Add support for firefox on windows to the browser controller
R=kustermann@google.com

Review URL: https://codereview.chromium.org//23679006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27235 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-06 08:52:43 +00:00