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

Issue 10683009: Adds support for layout tests. (Closed)

Created:
8 years, 5 months ago by Siggi Cherem (dart-lang)
Modified:
8 years, 5 months ago
Reviewers:
Bill Hesse
CC:
reviews_dartlang.org, samhop
Visibility:
Public.

Description

Adds support for layout tests. Committed: https://code.google.com/p/dart/source/detail?r=9207

Patch Set 1 : #

Total comments: 4

Patch Set 2 : addressing bill's comments #

Patch Set 3 : #

Patch Set 4 : merge changes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+220 lines, -9 lines) Patch
A tests/utils/png_layout_test.dart View 1 1 chunk +28 lines, -0 lines 0 comments Download
A tests/utils/png_layout_test.png View 1 0 chunks +-1 lines, --1 lines 0 comments Download
A tests/utils/txt_layout_test.dart View 1 1 chunk +28 lines, -0 lines 0 comments Download
A tests/utils/txt_layout_test.txt View 1 1 chunk +11 lines, -0 lines 0 comments Download
M tests/utils/utils.status View 2 chunks +4 lines, -2 lines 0 comments Download
M tools/testing/dart/browser_test.dart View 1 2 3 2 chunks +19 lines, -3 lines 0 comments Download
M tools/testing/dart/test_suite.dart View 1 2 3 4 chunks +75 lines, -4 lines 0 comments Download
M tools/testing/drt-trampoline.py View 1 2 3 2 chunks +56 lines, -1 line 0 comments Download

Messages

Total messages: 4 (0 generated)
Siggi Cherem (dart-lang)
This adds support for running layout tests with test.dart and adds a sample layout test. ...
8 years, 5 months ago (2012-06-27 01:50:42 UTC) #1
Bill Hesse
LGTM. I know some people don't want to add more comments to the tests, and ...
8 years, 5 months ago (2012-06-27 09:24:37 UTC) #2
Siggi Cherem (dart-lang)
PTAL I changed it so that the comment is not necessary. But kept some documentation ...
8 years, 5 months ago (2012-06-27 20:21:05 UTC) #3
Bill Hesse
8 years, 5 months ago (2012-06-28 11:51:27 UTC) #4
Thanks, I like this a lot better.  LGTM.


On 2012/06/27 20:21:05, sigmund wrote:
> PTAL 
> 
> I changed it so that the comment is not necessary. But kept some documentation
> around for future reference.
> 
> I also used Path for the path manipulations I was doing.
> 
> It seems that the dart binary under tools/testing/bin is not up to date (it
> doesn't have "Path" in its snapshot of dart:io). Is there a plan to update it
> soon (otherwise I can remporarily rewrite things using _dirFromFile...)
> 
>
https://chromiumcodereview.appspot.com/10683009/diff/6001/tools/testing/dart/...
> File tools/testing/dart/test_suite.dart (right):
> 
>
https://chromiumcodereview.appspot.com/10683009/diff/6001/tools/testing/dart/...
> tools/testing/dart/test_suite.dart:905: *   By default tests are run without
> expectation files: test.dart assumes
> On 2012/06/27 09:24:37, Bill Hesse wrote:
> > Say "web tests" here, not just "tests".  This only applies to browser tests,
> > right?
> 
> Done.

Powered by Google App Engine
This is Rietveld 408576698