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

Issue 11931025: Unbreak local browser testing. (Closed)

Created:
7 years, 11 months ago by Emily Fortuna
Modified:
7 years, 11 months ago
Reviewers:
ahe, Jennifer Messerly
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Unbreak local browser testing. BUG= Committed: https://code.google.com/p/dart/source/detail?r=17176

Patch Set 1 #

Total comments: 2

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+47 lines, -686 lines) Patch
M tools/testing/dart/http_server.dart View 1 1 chunk +46 lines, -0 lines 0 comments Download
D tools/testing/dart/temp_package_root/path/path.dart View 1 1 chunk +0 lines, -689 lines 0 comments Download
M tools/testing/dart/test_suite.dart View 1 1 chunk +1 line, -1 line 0 comments Download
A tools/testing/dart/vendored_pkg/README.txt View 1 1 chunk +4 lines, -0 lines 0 comments Download
A + tools/testing/dart/vendored_pkg/args/args.dart View 1 0 chunks +-1 lines, --1 lines 0 comments Download
A + tools/testing/dart/vendored_pkg/args/src/parser.dart View 1 0 chunks +-1 lines, --1 lines 0 comments Download
A + tools/testing/dart/vendored_pkg/args/src/usage.dart View 1 0 chunks +-1 lines, --1 lines 0 comments Download
A + tools/testing/dart/vendored_pkg/path/path.dart View 1 0 chunks +-1 lines, --1 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
Emily Fortuna
7 years, 11 months ago (2013-01-16 19:57:54 UTC) #1
Jennifer Messerly
lgtm, but I would like to hear Peter's input https://codereview.chromium.org/11931025/diff/1/tools/testing/dart/http_server.dart File tools/testing/dart/http_server.dart (right): https://codereview.chromium.org/11931025/diff/1/tools/testing/dart/http_server.dart#newcode10 tools/testing/dart/http_server.dart:10: ...
7 years, 11 months ago (2013-01-16 20:03:44 UTC) #2
ahe
7 years, 11 months ago (2013-01-16 20:49:54 UTC) #3
Thank you, Emily!

LGTM

https://codereview.chromium.org/11931025/diff/1/tools/testing/dart/http_serve...
File tools/testing/dart/http_server.dart (right):

https://codereview.chromium.org/11931025/diff/1/tools/testing/dart/http_serve...
tools/testing/dart/http_server.dart:10: import
'temp_package_root/args/args.dart';
On 2013/01/16 20:03:44, John Messerly wrote:
> Shouldn't be done in this change, but I wanted to ask:
> 
> Can we rename this to directory "vendored_pkg" or something similar?

Perhaps we could just rewrite this program to take a fixed number of arguments.
It would simplify updating tools/testing/bin/OS/dart to not also have to update
a copy of pkg.

> Finally, if it is a problem to depend on something outside of "tools/testing",
> how can we get the tests/build bots set up to catch that problem if it is
> introduced again in the future?

I stated in a different conversation that it would be hard to test. But that's
because my natural reaction is to use something like dart2js to find all the
imports. But this could get broken as soon as dart2js got out of sync with
tools/testing/bin/OS/dart.

However, a simple test that just uses dart:io to scan the dart files in
tools/testing/dart would work.

Powered by Google App Engine
This is Rietveld 408576698