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

Issue 12335113: Unit test changes: (Closed)

Created:
7 years, 9 months ago by gram
Modified:
7 years, 9 months ago
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Unit test changes: - add back KevMoo's assertions now that the bugs they exposed ar efixed - remove onTestResult methods from a couple of configs; these did nothing other than prevent the base class implementation from being called which is wrong. - fix the TestFunction signature - change from ExpectException, which is deprecated, to TestFailure. Committed: https://code.google.com/p/dart/source/detail?r=19166

Patch Set 1 #

Total comments: 4

Patch Set 2 : #

Total comments: 1

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+32 lines, -20 lines) Patch
M pkg/unittest/lib/html_config.dart View 1 2 1 chunk +0 lines, -2 lines 0 comments Download
M pkg/unittest/lib/html_enhanced_config.dart View 1 2 1 chunk +0 lines, -2 lines 0 comments Download
M pkg/unittest/lib/src/config.dart View 1 2 2 chunks +4 lines, -0 lines 0 comments Download
M pkg/unittest/lib/src/expect.dart View 1 2 5 chunks +17 lines, -5 lines 0 comments Download
M pkg/unittest/lib/src/interfaces.dart View 1 2 1 chunk +1 line, -1 line 0 comments Download
M pkg/unittest/lib/unittest.dart View 1 2 3 chunks +3 lines, -3 lines 0 comments Download
M utils/tests/pub/test_pub.dart View 1 2 7 chunks +7 lines, -7 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
gram
Bob, PTAL at the TestFailure stuff, and see if you are okay with it. We ...
7 years, 9 months ago (2013-02-27 00:31:40 UTC) #1
Siggi Cherem (dart-lang)
https://codereview.chromium.org/12335113/diff/1/pkg/unittest/lib/unittest.dart File pkg/unittest/lib/unittest.dart (right): https://codereview.chromium.org/12335113/diff/1/pkg/unittest/lib/unittest.dart#newcode776 pkg/unittest/lib/unittest.dart:776: String message = (e is Exception) ? e.message : ...
7 years, 9 months ago (2013-02-27 00:40:03 UTC) #2
gram
https://codereview.chromium.org/12335113/diff/1/pkg/unittest/lib/unittest.dart File pkg/unittest/lib/unittest.dart (right): https://codereview.chromium.org/12335113/diff/1/pkg/unittest/lib/unittest.dart#newcode776 pkg/unittest/lib/unittest.dart:776: String message = (e is Exception) ? e.message : ...
7 years, 9 months ago (2013-02-27 00:56:13 UTC) #3
Bob Nystrom
Naming quibble but otherwise LGTM. When you check this in, can you grep pub for ...
7 years, 9 months ago (2013-02-27 19:23:56 UTC) #4
gram
7 years, 9 months ago (2013-02-27 19:57:45 UTC) #5
Message was sent while issue was closed.
Committed patchset #3 manually as r19166 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698