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

Issue 8394043: Start adding files for Dart version of test script test.py. (Closed)

Created:
9 years, 1 month ago by William Hesse
Modified:
9 years, 1 month ago
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Start adding files for Dart version of test script test.py. BUG= TEST= Committed: https://code.google.com/p/dart/source/detail?r=885

Patch Set 1 #

Total comments: 38

Patch Set 2 : Addressed comments, added and tested boolean variables. #

Total comments: 19

Patch Set 3 : Use CamelCase, test evaluation, move tests to right directory. #

Patch Set 4 : Rename file #

Unified diffs Side-by-side diffs Delta from patch set Stats (+445 lines, -0 lines) Patch
A tests/standalone/src/StatusExpressionTest.dart View 1 2 3 1 chunk +147 lines, -0 lines 0 comments Download
A tools/testing/dart/status_expression.dart View 1 2 3 1 chunk +298 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
William Hesse
I may remove the toString methods on the expression AST classes. To make toString print ...
9 years, 1 month ago (2011-10-26 11:55:13 UTC) #1
ngeoffray
DBC http://codereview.chromium.org/8394043/diff/1/tools/testing/dart/status_expressions_lib.dart File tools/testing/dart/status_expressions_lib.dart (right): http://codereview.chromium.org/8394043/diff/1/tools/testing/dart/status_expressions_lib.dart#newcode8 tools/testing/dart/status_expressions_lib.dart:8: * Parse and evaluate expressions in a .status ...
9 years, 1 month ago (2011-10-26 12:01:36 UTC) #2
Mads Ager (google)
http://codereview.chromium.org/8394043/diff/1/tools/testing/dart/status_expressions_lib.dart File tools/testing/dart/status_expressions_lib.dart (right): http://codereview.chromium.org/8394043/diff/1/tools/testing/dart/status_expressions_lib.dart#newcode21 tools/testing/dart/status_expressions_lib.dart:21: * Production are listed in order of precedence, and ...
9 years, 1 month ago (2011-10-26 12:37:47 UTC) #3
Søren Gjesse
http://codereview.chromium.org/8394043/diff/1/tools/testing/dart/status_expressions_lib.dart File tools/testing/dart/status_expressions_lib.dart (right): http://codereview.chromium.org/8394043/diff/1/tools/testing/dart/status_expressions_lib.dart#newcode37 tools/testing/dart/status_expressions_lib.dart:37: Tokenizer(String this.expression) Fit on one line? http://codereview.chromium.org/8394043/diff/1/tools/testing/dart/status_expressions_lib.dart#newcode41 tools/testing/dart/status_expressions_lib.dart:41: * ...
9 years, 1 month ago (2011-10-26 13:36:24 UTC) #4
William Hesse
Addressed all comments, making all suggested changes. Added standalone boolean variables, such as in $arch ...
9 years, 1 month ago (2011-10-26 15:15:03 UTC) #5
Mads Ager (google)
We are getting there. The code is looking good. We need to get the test ...
9 years, 1 month ago (2011-10-27 07:07:47 UTC) #6
Søren Gjesse
http://codereview.chromium.org/8394043/diff/6001/tools/testing/dart/status_expressions_lib.dart File tools/testing/dart/status_expressions_lib.dart (right): http://codereview.chromium.org/8394043/diff/6001/tools/testing/dart/status_expressions_lib.dart#newcode211 tools/testing/dart/status_expressions_lib.dart:211: if (scanner.current == "(") { Token for (. http://codereview.chromium.org/8394043/diff/6001/tools/testing/dart/status_expressions_lib.dart#newcode214 ...
9 years, 1 month ago (2011-10-27 10:22:20 UTC) #7
kasperl
Drive-by nits: http://codereview.chromium.org/8394043/diff/6001/tools/testing/dart/status_expressions_lib.dart File tools/testing/dart/status_expressions_lib.dart (right): http://codereview.chromium.org/8394043/diff/6001/tools/testing/dart/status_expressions_lib.dart#newcode11 tools/testing/dart/status_expressions_lib.dart:11: * BooleanExpression := $variable_name == value | ...
9 years, 1 month ago (2011-10-27 10:43:31 UTC) #8
William Hesse
Tests moved to test directory, evaluation of expressions tested, and CamelCase used everywhere. http://codereview.chromium.org/8394043/diff/6001/tools/testing/dart/test_status_expressions.dart File ...
9 years, 1 month ago (2011-10-27 15:04:34 UTC) #9
Mads Ager (google)
9 years, 1 month ago (2011-10-28 08:47:54 UTC) #10
LGTM when final comment addressed.

You should change the library implementation file back to using lower-case and
underscores. We really should be using that for the file names in the test
directory as well. The file name used to be used to find the name of the class
on which to invoke a method. This is no longer the case and all the test files
should change names to use lower-case and underscores. But that should be done
in a separate change.

Sorry about that, I wasn't clear in my last round of comments.

Powered by Google App Engine
This is Rietveld 408576698