Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(454)

Issue 11035027: Add in-process http server to the dart test scripts. (Closed)

Created:
8 years, 2 months ago by Mads Ager (google)
Modified:
8 years, 1 month ago
CC:
reviews_dartlang.org, siva
Visibility:
Public.

Description

Add in-process http server to the dart test scripts. Removed support for extra commands. Change pkg/intl test to use builtin http server. Fixed regression in test runner so the test script terminates when passing in an unknown selector. BUG= Committed: https://code.google.com/p/dart/source/detail?r=13217

Patch Set 1 #

Patch Set 2 : Minor updates #

Patch Set 3 : Add a comment. #

Patch Set 4 : Fix Windows #

Total comments: 8

Patch Set 5 : Fix runtime test runner as well. #

Total comments: 2

Patch Set 6 : Address Peter's comments. #

Patch Set 7 : Address more comments. #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+103 lines, -171 lines) Patch
M pkg/intl/test/date_time_format_http_request_test.dart View 1 2 3 4 5 6 3 chunks +2 lines, -11 lines 0 comments Download
D pkg/intl/test/start_web_server.dart View 1 chunk +0 lines, -26 lines 0 comments Download
D pkg/intl/test/web_server.dart View 1 chunk +0 lines, -55 lines 0 comments Download
M pkg/pkg.status View 1 chunk +1 line, -6 lines 0 comments Download
M tools/test.dart View 1 2 3 chunks +17 lines, -13 lines 1 comment Download
M tools/test-runtime.dart View 1 2 3 4 3 chunks +17 lines, -13 lines 0 comments Download
A tools/testing/dart/http_server.dart View 1 2 3 4 5 6 1 chunk +48 lines, -0 lines 0 comments Download
M tools/testing/dart/test_progress.dart View 2 chunks +2 lines, -2 lines 0 comments Download
M tools/testing/dart/test_runner.dart View 1 2 3 4 6 chunks +14 lines, -5 lines 0 comments Download
M tools/testing/dart/test_suite.dart View 1 2 3 4 5 6 chunks +2 lines, -40 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
Mads Ager (google)
8 years, 2 months ago (2012-10-04 09:34:21 UTC) #1
ahe
LGTM, but I'll come by your desk and ask if you can walk me through ...
8 years, 2 months ago (2012-10-04 10:06:43 UTC) #2
Mads Ager (google)
https://codereview.chromium.org/11035027/diff/6001/tools/testing/dart/http_server.dart File tools/testing/dart/http_server.dart (right): https://codereview.chromium.org/11035027/diff/6001/tools/testing/dart/http_server.dart#newcode1 tools/testing/dart/http_server.dart:1: #library('http_server'); On 2012/10/04 10:06:43, ahe wrote: > Missing copyright. ...
8 years, 2 months ago (2012-10-04 10:21:51 UTC) #3
ricow1
LGTM https://codereview.chromium.org/11035027/diff/6001/pkg/intl/test/date_time_format_http_request_test.dart File pkg/intl/test/date_time_format_http_request_test.dart (right): https://codereview.chromium.org/11035027/diff/6001/pkg/intl/test/date_time_format_http_request_test.dart#newcode10 pkg/intl/test/date_time_format_http_request_test.dart:10: // TODO(alanknight): It would be nice if there ...
8 years, 2 months ago (2012-10-04 10:28:05 UTC) #4
Søren Gjesse
lgtm https://codereview.chromium.org/11035027/diff/6002/tools/testing/dart/http_server.dart File tools/testing/dart/http_server.dart (right): https://codereview.chromium.org/11035027/diff/6002/tools/testing/dart/http_server.dart#newcode29 tools/testing/dart/http_server.dart:29: if (exists) { How about adding a Content-Type ...
8 years, 2 months ago (2012-10-04 10:34:24 UTC) #5
Mads Ager (google)
https://codereview.chromium.org/11035027/diff/6001/pkg/intl/test/date_time_format_http_request_test.dart File pkg/intl/test/date_time_format_http_request_test.dart (right): https://codereview.chromium.org/11035027/diff/6001/pkg/intl/test/date_time_format_http_request_test.dart#newcode10 pkg/intl/test/date_time_format_http_request_test.dart:10: // TODO(alanknight): It would be nice if there were ...
8 years, 2 months ago (2012-10-04 10:41:42 UTC) #6
Alan Knight
lgtm
8 years, 2 months ago (2012-10-04 18:04:54 UTC) #7
Ivan Posva
I filed bug 6410 to track the resolution of this issue. -Ivan https://codereview.chromium.org/11035027/diff/12001/tools/test.dart File tools/test.dart ...
8 years, 1 month ago (2012-10-30 21:27:04 UTC) #8
Mads Ager (google)
8 years, 1 month ago (2012-10-31 06:40:52 UTC) #9
On 2012/10/30 21:27:04, Ivan Posva wrote:
> I filed bug 6410 to track the resolution of this issue.
> 
> -Ivan
> 
> https://codereview.chromium.org/11035027/diff/12001/tools/test.dart
> File tools/test.dart (right):
> 
> https://codereview.chromium.org/11035027/diff/12001/tools/test.dart#newcode130
> tools/test.dart:130: startHttpServer('127.0.0.1', 9876);
> How is this supposed to work when two people on the same machine are running
> tests or when a user attempts to run tests in two clients concurrently?

It is not.

Powered by Google App Engine
This is Rietveld 408576698