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

Issue 10197008: - Add tests/lib to start testing libraries outside of core. (Closed)

Created:
8 years, 8 months ago by Ivan Posva
Modified:
8 years, 8 months ago
CC:
reviews_dartlang.org
Visibility:
Public.

Description

- Add tests/lib to start testing libraries outside of core. Committed: https://code.google.com/p/dart/source/detail?r=6929

Patch Set 1 #

Total comments: 8
Unified diffs Side-by-side diffs Delta from patch set Stats (+585 lines, -0 lines) Patch
A tests/lib/lib.status View 1 chunk +13 lines, -0 lines 4 comments Download
A tests/lib/src/crypto/sha1Test.dart View 1 chunk +547 lines, -0 lines 3 comments Download
A tests/lib/test_config.dart View 1 chunk +17 lines, -0 lines 0 comments Download
M tools/test.dart View 2 chunks +4 lines, -0 lines 1 comment Download
M tools/test-runtime.dart View 2 chunks +4 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Ivan Posva
8 years, 8 months ago (2012-04-24 14:21:19 UTC) #1
Mads Ager (google)
LGTM We should investigate whether the library works when compiled to JavaScript. If it doesn't, ...
8 years, 8 months ago (2012-04-24 18:04:35 UTC) #2
Ivan Posva
https://chromiumcodereview.appspot.com/10197008/diff/1/tests/lib/lib.status File tests/lib/lib.status (right): https://chromiumcodereview.appspot.com/10197008/diff/1/tests/lib/lib.status#newcode6 tests/lib/lib.status:6: [ $compiler == dartc || $compiler == frog || ...
8 years, 8 months ago (2012-04-25 09:14:01 UTC) #3
Mads Ager (google)
Still LGTM https://chromiumcodereview.appspot.com/10197008/diff/1/tests/lib/lib.status File tests/lib/lib.status (right): https://chromiumcodereview.appspot.com/10197008/diff/1/tests/lib/lib.status#newcode6 tests/lib/lib.status:6: [ $compiler == dartc || $compiler == ...
8 years, 8 months ago (2012-04-25 09:31:13 UTC) #4
Bill Hesse
8 years, 8 months ago (2012-04-25 10:19:35 UTC) #5
Oops - my comments were stuck in Draft mode - I never sent them.

https://chromiumcodereview.appspot.com/10197008/diff/1/tests/lib/lib.status
File tests/lib/lib.status (right):

https://chromiumcodereview.appspot.com/10197008/diff/1/tests/lib/lib.status#n...
tests/lib/lib.status:3: # BSD-style license that can be found in the LICENSE
file.
Tests are now supposed to end in _tests.dart, if they follow the standard that
creates them with StandardTestSuite.forDirectory(dir).  Consider doing this, and
the change in test.dart.

https://chromiumcodereview.appspot.com/10197008/diff/1/tools/test.dart
File tools/test.dart (right):

https://chromiumcodereview.appspot.com/10197008/diff/1/tools/test.dart#newcode61
tools/test.dart:61: ];
Can you add the directory tests/lib here, to TEST_SUITE_DIRECTORIES?  This is
the new, easy way to add a StandardTestSuite.

Powered by Google App Engine
This is Rietveld 408576698