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

Issue 9813012: Add "mock" compilation feature to dart2js and use it to improve test coverage. (Closed)

Created:
8 years, 9 months ago by ahe
Modified:
8 years, 9 months ago
Reviewers:
ngeoffray
CC:
reviews_dartlang.org, compiler-dev_dartlang.org
Visibility:
Public.

Description

Add "mock" compilation feature to dart2js and use it to improve test coverage. Committed: https://code.google.com/p/dart/source/detail?r=5743

Patch Set 1 #

Total comments: 12

Patch Set 2 : Address review comments #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+86 lines, -44 lines) Patch
M dart/client/tests/client/client-leg.status View 1 2 chunks +2 lines, -5 lines 0 comments Download
M dart/frog/frog_options.dart View 1 2 chunks +5 lines, -0 lines 1 comment Download
M dart/frog/leg/api.dart View 1 1 chunk +3 lines, -2 lines 0 comments Download
M dart/frog/leg/apiimpl.dart View 3 chunks +11 lines, -1 line 0 comments Download
M dart/frog/leg/compiler.dart View 1 chunk +2 lines, -0 lines 0 comments Download
M dart/frog/leg/emitter.dart View 1 3 chunks +16 lines, -11 lines 0 comments Download
M dart/frog/leg/frog_leg.dart View 2 chunks +5 lines, -1 line 0 comments Download
M dart/frog/leg/lib/io.dart View 2 chunks +5 lines, -1 line 0 comments Download
M dart/frog/leg/lib/mock.dart View 1 chunk +10 lines, -0 lines 0 comments Download
M dart/frog/scripts/buildbot_annotated_steps.py View 1 1 chunk +3 lines, -1 line 0 comments Download
M dart/samples/tests/samples/samples.status View 1 1 chunk +0 lines, -3 lines 0 comments Download
M dart/samples/tests/samples/samples-leg.status View 1 1 chunk +8 lines, -9 lines 2 comments Download
M dart/tests/isolate/isolate-leg.status View 1 chunk +1 line, -1 line 0 comments Download
M dart/tests/standalone/standalone-leg.status View 1 chunk +12 lines, -9 lines 0 comments Download
M dart/tools/testing/dart/test_suite.dart View 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
ahe
8 years, 9 months ago (2012-03-21 16:47:16 UTC) #1
ngeoffray
LGTM! https://chromiumcodereview.appspot.com/9813012/diff/1/dart/client/tests/client/client-leg.status File dart/client/tests/client/client-leg.status (right): https://chromiumcodereview.appspot.com/9813012/diff/1/dart/client/tests/client/client-leg.status#newcode6 dart/client/tests/client/client-leg.status:6: dom/DOMIsolatesTest: Fail # error: cannot resolve spawnDomIsolate You ...
8 years, 9 months ago (2012-03-22 07:54:03 UTC) #2
ahe
Hi Nicolas, Thank you for your suggestions. I have uploaded a new version with suggested ...
8 years, 9 months ago (2012-03-22 09:59:39 UTC) #3
ngeoffray
LGTM https://chromiumcodereview.appspot.com/9813012/diff/7003/dart/frog/frog_options.dart File dart/frog/frog_options.dart (right): https://chromiumcodereview.appspot.com/9813012/diff/7003/dart/frog/frog_options.dart#newcode30 dart/frog/frog_options.dart:30: bool allowMockCompilation = false; Good catch :) https://chromiumcodereview.appspot.com/9813012/diff/7003/dart/samples/tests/samples/samples-leg.status ...
8 years, 9 months ago (2012-03-22 10:04:38 UTC) #4
ahe
8 years, 9 months ago (2012-03-22 10:06:57 UTC) #5
https://chromiumcodereview.appspot.com/9813012/diff/7003/dart/samples/tests/s...
File dart/samples/tests/samples/samples-leg.status (right):

https://chromiumcodereview.appspot.com/9813012/diff/7003/dart/samples/tests/s...
dart/samples/tests/samples/samples-leg.status:16: proxy/MintMakerRpcTest: Pass #
This test is failing but the test frame work doesn't detect it.
On 2012/03/22 10:04:39, ngeoffray wrote:
> extra space in frame work.

Actually, I'll use:

proxy/MintMakerRpcTest: Pass # Issue 2254.

Powered by Google App Engine
This is Rietveld 408576698