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

Issue 11368128: Take 2 of splitting html tests into subtests. Had to make two changes to drt to (Closed)

Created:
8 years, 1 month ago by Emily Fortuna
Modified:
8 years, 1 month ago
CC:
reviews_dartlang.org, gram
Visibility:
Public.

Description

Take 2 of splitting html tests into subtests. Had to make two changes to drt to fully work. Committed: https://code.google.com/p/dart/source/detail?r=14703

Patch Set 1 #

Patch Set 2 : #

Total comments: 7
Unified diffs Side-by-side diffs Delta from patch set Stats (+432 lines, -285 lines) Patch
M tests/html/element_test.dart View 9 chunks +193 lines, -189 lines 0 comments Download
M tests/html/html.status View 1 10 chunks +36 lines, -13 lines 1 comment Download
M tests/html/node_test.dart View 2 chunks +2 lines, -2 lines 0 comments Download
M tests/html/svgelement_test.dart View 9 chunks +29 lines, -24 lines 0 comments Download
M tools/testing/dart/test_runner.dart View 5 chunks +44 lines, -8 lines 0 comments Download
M tools/testing/dart/test_suite.dart View 7 chunks +107 lines, -37 lines 6 comments Download
M tools/testing/drt-trampoline.py View 1 1 chunk +1 line, -1 line 0 comments Download
M tools/testing/run_selenium.py View 7 chunks +20 lines, -11 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Emily Fortuna
This is identical to https://codereview.chromium.org//11293019 (which I reverted) with a few exceptions: drt-trampoline.py was added ...
8 years, 1 month ago (2012-11-08 02:19:09 UTC) #1
Siggi Cherem (dart-lang)
the 2 new changes lgtm. https://codereview.chromium.org/11368128/diff/4001/tools/testing/dart/test_suite.dart File tools/testing/dart/test_suite.dart (right): https://codereview.chromium.org/11368128/diff/4001/tools/testing/dart/test_suite.dart#newcode732 tools/testing/dart/test_suite.dart:732: String fullHtmlPath = htmlPath.startsWith('http:')? ...
8 years, 1 month ago (2012-11-08 02:50:14 UTC) #2
Bill Hesse
LGTM. https://codereview.chromium.org/11368128/diff/4001/tools/testing/dart/test_suite.dart File tools/testing/dart/test_suite.dart (right): https://codereview.chromium.org/11368128/diff/4001/tools/testing/dart/test_suite.dart#newcode732 tools/testing/dart/test_suite.dart:732: String fullHtmlPath = htmlPath.startsWith('http:')? htmlPath: Seconded: spacing before ...
8 years, 1 month ago (2012-11-08 09:09:49 UTC) #3
Emily Fortuna
8 years, 1 month ago (2012-11-08 18:33:14 UTC) #4
https://codereview.chromium.org/11368128/diff/4001/tools/testing/dart/test_su...
File tools/testing/dart/test_suite.dart (right):

https://codereview.chromium.org/11368128/diff/4001/tools/testing/dart/test_su...
tools/testing/dart/test_suite.dart:732: String fullHtmlPath =
htmlPath.startsWith('http:')? htmlPath:
On 2012/11/08 09:09:49, Bill Hesse wrote:
> Seconded: spacing before ? and :.
> On 2012/11/08 02:50:14, Siggi Cherem (dart-lang) wrote:
> > nit: spacing - add space between )? and before :
> 

Done.

https://codereview.chromium.org/11368128/diff/4001/tools/testing/dart/test_su...
tools/testing/dart/test_suite.dart:733: 'file://$htmlPath';
We don't want to add a test that htmlPath starts with / if not http:// because
what about Windows paths? 

I'm not sure which/what Resolve() function you're talking about: this one?
http://api.dartlang.org/docs/bleeding_edge/dart_uri/Uri.html#resolve I couldn't
find one that takes two arguments

On 2012/11/08 09:09:49, Bill Hesse wrote:
> This is really Resolve(htmlPath, "file://"), isn't it?  Which doesn't really
> make sense because "file://" is not a complete URL.
> 
> It is too bad that our URL tools can't easily just do resolve htmlPath against
> file:///, because that is what you want.
> 
> Should you add a test that htmlPath starts with / if it does not start with
> http://

Powered by Google App Engine
This is Rietveld 408576698