Commit Graph

1689 Commits

Author SHA1 Message Date
ricow@google.com adcf26fcab Add --no-first-run to chrome browser controller
This will disable the pop-up that asks if you want to be default browser

R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@22777 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-16 08:15:50 +00:00
ricow@google.com f175c670d8 Don't check for default browser when starting up chrome in the new browser controller
On a fresh install this is needed to avoid a blocking pop up

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@22768 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-16 06:04:40 +00:00
ricow@google.com 9c5346911f Fix driver page for browser controller to not double fetch tests.
R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@22739 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-15 13:50:35 +00:00
ricow@google.com 9b8e1120de Remove some whitespace from the webdriver setup script.
This is a whitespace commit to get a green line on the bot after the git outage

R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@22730 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-15 11:11:44 +00:00
ricow@google.com 36f2f2053d Write debug info from browser controller
This is to enable output on the bot

R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@22682 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-14 15:37:03 +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
ngeoffray@google.com 486669ed20 Update status file for flaky test.
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@22622 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-13 13:00:55 +00:00
johnniwinther@google.com dbac078af5 Fix d8 path for Windows.
BUG=
R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@22361 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-03 11:13:08 +00:00
kustermann@google.com 9c08adf54b Print the number of failed tests
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@22323 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-02 15:17:28 +00:00
kustermann@google.com 15414016c2 Switch to checked-in binary of d8
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@22242 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-01 12:26:21 +00:00
ricow@google.com e7f790dba5 Fix csp flags send to browsers.
We can't send the webkit flag to chrome, it will throw an error.

R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@22178 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-30 12:02:49 +00:00
sgjesse@google.com 921653a087 Add a new test suite 'analyze_tests'
The new test suite 'analyze_tests' will run the analyzer on the
selected tests, and fail if there are static type errors. Currently
only the tests in tests/standalone are included, but that can easily
be expanded.

The reason for starting this was that for M4 we where missing two
'part' files in io.dart (for the HttpBody utility class). This caused
the use of HttpBody in the editor to be complicated. With static type
checking on the tests which tested HttpBody this mistake would have
been caught.

R=ager@google.com, ricow@google.com, kustermann@google.com, ajohnsen@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21944 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-24 12:47:13 +00:00
ricow@google.com c59a8b5b83 Remove special casing for browser timeout
Review URL: https://codereview.chromium.org//13880030

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21878 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-23 12:52:32 +00:00
efortuna@google.com 419c6548fd Fix for Anton.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21584 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-16 22:17:38 +00:00
floitsch@google.com d8930c4ae6 Revert changes in tools/testing while the Dart executable can't handle it.
Review URL: https://codereview.chromium.org//14113018

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21511 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-15 20:26:36 +00:00
floitsch@google.com 5431a5af54 Remove AsyncError with Expando.
Review URL: https://codereview.chromium.org//14251006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21498 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-15 18:58:32 +00:00
floitsch@google.com 759a366cea Remove insertRange.
Review URL: https://codereview.chromium.org//13956006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21464 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-15 15:20:16 +00:00
kustermann@google.com c1df0a5418 Only print the failure summary header if there were failures
Review URL: https://codereview.chromium.org//14251009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21453 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-15 13:57:31 +00:00
kustermann@google.com 19c3cc02f1 Remove proxy-related environment variables when running standalone tests
Review URL: https://codereview.chromium.org//13985009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21360 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-12 14:45:17 +00:00
whesse@google.com 24c4348196 Fix more type errors in test scripts.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21298 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-11 17:18:44 +00:00
whesse@google.com d47b6701ea Fix type error in test scripts
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21292 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-11 16:31:02 +00:00
whesse@google.com 266bada744 Remove use of Expect from test scripts and idlparser_test.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21287 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-11 15:53:44 +00:00
floitsch@google.com aecbeabcac Implement getRange (returning an Iterable).
Review URL: https://codereview.chromium.org//14065011

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21281 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-11 14:14:29 +00:00
ajohnsen@google.com 974a300cad Remove deprecated <, <=, >, and >= of DateTime.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21260 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-11 09:27:54 +00:00
ricow@google.com 00da866b33 Move the dart2js snapshot into bin directory of sdk root.
This is the first step in eliminating lib/_internal.
Review URL: https://codereview.chromium.org//13945008

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21247 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-11 05:47:24 +00:00
devoncarew@google.com d7b8047611 Rename the sdk/bin/dartanalyzer* scripts to dartanalyzer_developer*, and update
the test framework to call the new scripts. This rename will allow us to add
two new scripts to this directory, dartanalyzer and dartanalyzer.bat. These scripts
will be the ones we include in the sdk.
Review URL: https://codereview.chromium.org//13760010

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21213 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-10 16:01:21 +00:00
floitsch@google.com 343fa26d65 Remove deprecated Expect from the libraries.
Review URL: https://codereview.chromium.org//13724021

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21079 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-08 16:07:34 +00:00
floitsch@google.com 8fd6d0aafd Remove Expect from core library.
Committed: https://code.google.com/p/dart/source/detail?r=19755
Reverted: http://code.google.com/p/dart/source/detail?r=19756

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20996 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-05 19:43:16 +00:00
devoncarew@google.com c5c15b0881 Rename the name of the new analyzer jar file from new_analyzer.jar to
dartanalyzer.jar (which I think will be the preferred name for it in
the SDK).

Update the test framework for these renames.
Review URL: https://codereview.chromium.org//12618010

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20994 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-05 19:33:23 +00:00
ahe@google.com 7ccd8ad5ef Wrapping files without library tags is neither necessary nor correct anymore.
Review URL: https://codereview.chromium.org//13674004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20971 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-05 15:11:40 +00:00
kustermann@google.com 1c1590da22 Remove \r in command stdout/stderr when building failure a failure output.
BUG=http://dartbug.com/8704

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20860 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-03 13:20:51 +00:00
kustermann@google.com 78ac77e8c9 Fixed test_progress to print the failure summary even if no stepname was given
Review URL: https://codereview.chromium.org//13432003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20846 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-03 11:32:44 +00:00
ahe@google.com 01fc0fc9d1 Update to co19 r515.
Review URL: https://codereview.chromium.org//13464007

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20841 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-03 07:22:37 +00:00
blois@google.com 6fad216eb7 Expanding WebSocket test
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20797 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-02 16:45:09 +00:00
ahe@google.com e86ae89c64 Revert "Workaround issue 8080:"
This reverts r20486.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20778 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-02 14:10:01 +00:00
efortuna@google.com 1f47bfa1bb Fixed regexp in test.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20644 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-28 21:06:44 +00:00
efortuna@google.com fac7fba1da Re-enable throwing if we try to set the unit test configuration twice.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20624 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-28 17:49:04 +00:00
kevmoo@j832.com 06befdfeb5 better warning in tools/testing/dart/test_options
Less helpful: Warning: combination of none and firefox is invalid.
More helpful: Warning: combination of compiler 'none' and runtime 'firefox' is invalid.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20512 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-26 13:20:41 +00:00
kustermann@google.com ca08052687 Do not close stdout/stderr in CompactProgressIndicator
BUG=http://dartbug.com/9419

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20497 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-25 22:29:25 +00:00
iposva@google.com 390a180a17 Workaround issue 8080:
- Remove the obsolete print of warnings when running tests.
Review URL: https://codereview.chromium.org//12940007

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20486 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-25 21:06:16 +00:00
zra@google.com e1562155b1 Closes stdin after starting a new process for a test.
It is a mistake if a test tries to block to wait for
input on stdin. If we close stdin in the test script
after the test process starts, reading from stdin
will indicate that a test can fail immediately
rather than timing out.
Review URL: https://codereview.chromium.org//12521020

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20386 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-22 16:45:46 +00:00
kustermann@google.com 4c45723e98 Added --failure-summary option to test.dart
Review URL: https://codereview.chromium.org//12902035

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20379 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-22 13:31:06 +00:00
kustermann@google.com c39e900179 Update of co19_test.dart to reflect new API
Review URL: https://codereview.chromium.org//12517015

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20149 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-18 10:26:22 +00:00
blois@google.com e52412a9fd Fixing IE10 CORS test.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20126 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-15 23:35:16 +00:00
sgjesse@google.com b19bfba0b5 Fix manual starting of test runner HTTP servers
R=ager@google.com

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20077 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-15 13:21:38 +00:00
sgjesse@google.com d6955d176c Reapply "Update the test runner to use the new dart:io API"
This reverts r20031.

R=ager@google.com

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20070 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-15 11:13:39 +00:00
lrn@google.com 844cd39fad Change getRange to sublist. Make getRange deprecated.
This changes the exception behavior of getRange. It used to accept
a length of zero, no matter what start value. Now the start value
must be a valid list index.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20064 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-15 09:15:39 +00:00
devoncarew@google.com 0cc0f798ce Tweaks to the new_analyzer test suite to not run the dartc unit tests.
Review URL: https://codereview.chromium.org//12833007

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20044 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-14 19:53:49 +00:00
sgjesse@google.com f5270bf202 Revert "Update the test runner to use the new dart:io API" again
This reverts r20027 and r20029

TBR=ager@google.com

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20031 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-14 15:38:18 +00:00
sgjesse@google.com fdaca2fe83 Revert "Update the test runner to use the new dart:io API" again
This reapplies r20004 and r20008 and fixes a HTTP server issue.

TBR=ager@google.com

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20027 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-14 15:24:36 +00:00