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

Issue 142023005: throw when group or test is called while unittest system is running (Closed)

Created:
6 years, 10 months ago by kevmoo
Modified:
6 years, 10 months ago
CC:
reviews_dartlang.org
Visibility:
Public.

Description

throw when group or test is called while unittest system is running This is not un-common and makes any future refactoring of unittest more difficult Let's kill it before we rev a v1 R=efortuna@google.com Committed: https://code.google.com/p/dart/source/detail?r=32188

Patch Set 1 #

Patch Set 2 : updated version file #

Total comments: 2

Patch Set 3 : nits #

Total comments: 6

Patch Set 4 : nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+55 lines, -6 lines) Patch
M pkg/unittest/lib/unittest.dart View 1 2 3 12 chunks +27 lines, -5 lines 0 comments Download
M pkg/unittest/pubspec.yaml View 1 1 chunk +1 line, -1 line 0 comments Download
A pkg/unittest/test/unittest_invalid_ops_test.dart View 1 2 1 chunk +27 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
kevmoo
6 years, 10 months ago (2014-01-30 23:17:11 UTC) #1
Emily Fortuna
looks good. can you add a negative test to test the throw? :-D https://codereview.chromium.org/142023005/diff/20001/pkg/unittest/lib/unittest.dart File ...
6 years, 10 months ago (2014-01-30 23:32:15 UTC) #2
Emily Fortuna
lgtm! the test was updated!
6 years, 10 months ago (2014-01-30 23:37:19 UTC) #3
Siggi Cherem (dart-lang)
FWIW, this library has grown to a point where it's been really hard to maintain. ...
6 years, 10 months ago (2014-01-30 23:39:01 UTC) #4
kevmoo
https://codereview.chromium.org/142023005/diff/20001/pkg/unittest/lib/unittest.dart File pkg/unittest/lib/unittest.dart (right): https://codereview.chromium.org/142023005/diff/20001/pkg/unittest/lib/unittest.dart#newcode747 pkg/unittest/lib/unittest.dart:747: var timeout = unittestConfiguration.timeout; On 2014/01/30 23:32:15, Emily Fortuna ...
6 years, 10 months ago (2014-01-30 23:42:04 UTC) #5
Siggi Cherem (dart-lang)
oops forgot one more small nit https://codereview.chromium.org/142023005/diff/40001/pkg/unittest/lib/unittest.dart File pkg/unittest/lib/unittest.dart (right): https://codereview.chromium.org/142023005/diff/40001/pkg/unittest/lib/unittest.dart#newcode748 pkg/unittest/lib/unittest.dart:748: Future f = ...
6 years, 10 months ago (2014-01-30 23:44:29 UTC) #6
Siggi Cherem (dart-lang)
https://codereview.chromium.org/142023005/diff/40001/pkg/unittest/lib/unittest.dart File pkg/unittest/lib/unittest.dart (right): https://codereview.chromium.org/142023005/diff/40001/pkg/unittest/lib/unittest.dart#newcode282 pkg/unittest/lib/unittest.dart:282: int _currentTestCaseIndex = -1; On 2014/01/30 23:42:04, kevmoo wrote: ...
6 years, 10 months ago (2014-01-30 23:46:32 UTC) #7
kevmoo
https://codereview.chromium.org/142023005/diff/40001/pkg/unittest/lib/unittest.dart File pkg/unittest/lib/unittest.dart (right): https://codereview.chromium.org/142023005/diff/40001/pkg/unittest/lib/unittest.dart#newcode282 pkg/unittest/lib/unittest.dart:282: int _currentTestCaseIndex = -1; On 2014/01/30 23:46:33, Siggi Cherem ...
6 years, 10 months ago (2014-01-31 02:27:36 UTC) #8
kevmoo
6 years, 10 months ago (2014-01-31 04:54:36 UTC) #9
Message was sent while issue was closed.
Committed patchset #4 manually as r32188 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698