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

Issue 524153002: Sharing metatest logic between unittest and scheduled_test (Closed)

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

Description

Sharing metatest logic between unittest and scheduled_test R=nweiz@google.com Committed: https://code.google.com/p/dart/source/detail?r=40475

Patch Set 1 #

Patch Set 2 : tweak to status file #

Patch Set 3 : moved to metatest #

Patch Set 4 : consolidated meta test method #

Total comments: 37

Patch Set 5 : CR feedback #

Total comments: 38

Patch Set 6 : more CR feedback #

Patch Set 7 : final tweaks #

Total comments: 6

Patch Set 8 : more cl tweaks #

Total comments: 2

Patch Set 9 : final nit #

Patch Set 10 : final final nit #

Patch Set 11 : status fixes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1071 lines, -1080 lines) Patch
A pkg/metatest/CHANGELOG.md View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
A + pkg/metatest/LICENSE View 1 2 0 chunks +-1 lines, --1 lines 0 comments Download
A + pkg/metatest/lib/metatest.dart View 1 2 3 4 5 6 7 8 9 8 chunks +111 lines, -81 lines 0 comments Download
A pkg/metatest/lib/src/utils.dart View 1 2 3 4 1 chunk +19 lines, -0 lines 0 comments Download
A pkg/metatest/pubspec.yaml View 1 2 1 chunk +8 lines, -0 lines 0 comments Download
M pkg/pkg.status View 1 2 3 4 5 6 7 8 9 10 6 chunks +25 lines, -16 lines 0 comments Download
M pkg/scheduled_test/CHANGELOG.md View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M pkg/scheduled_test/pubspec.yaml View 1 2 2 chunks +3 lines, -1 line 0 comments Download
M pkg/scheduled_test/test/descriptor/async_test.dart View 1 2 3 4 5 6 1 chunk +4 lines, -2 lines 0 comments Download
M pkg/scheduled_test/test/descriptor/directory_test.dart View 1 2 1 chunk +4 lines, -2 lines 0 comments Download
M pkg/scheduled_test/test/descriptor/file_test.dart View 1 2 1 chunk +4 lines, -2 lines 0 comments Download
M pkg/scheduled_test/test/descriptor/nothing_test.dart View 1 2 1 chunk +4 lines, -2 lines 0 comments Download
M pkg/scheduled_test/test/descriptor/pattern_test.dart View 1 2 1 chunk +4 lines, -2 lines 0 comments Download
D pkg/scheduled_test/test/metatest.dart View 1 2 1 chunk +0 lines, -240 lines 0 comments Download
M pkg/scheduled_test/test/scheduled_future_matchers_test.dart View 1 2 1 chunk +4 lines, -2 lines 0 comments Download
M pkg/scheduled_test/test/scheduled_process_test.dart View 1 2 1 chunk +4 lines, -2 lines 0 comments Download
M pkg/scheduled_test/test/scheduled_server_test.dart View 1 2 1 chunk +4 lines, -2 lines 0 comments Download
M pkg/scheduled_test/test/scheduled_stream/stream_matcher_test.dart View 1 2 2 chunks +4 lines, -2 lines 0 comments Download
M pkg/scheduled_test/test/scheduled_test/abort_test.dart View 1 2 1 chunk +4 lines, -2 lines 0 comments Download
M pkg/scheduled_test/test/scheduled_test/current_schedule_current_task_test.dart View 1 2 1 chunk +4 lines, -2 lines 0 comments Download
M pkg/scheduled_test/test/scheduled_test/current_schedule_errors_test.dart View 1 2 3 4 5 6 2 chunks +13 lines, -4 lines 0 comments Download
M pkg/scheduled_test/test/scheduled_test/current_schedule_state_test.dart View 1 2 1 chunk +4 lines, -2 lines 0 comments Download
M pkg/scheduled_test/test/scheduled_test/nested_task_test.dart View 1 2 1 chunk +4 lines, -2 lines 0 comments Download
M pkg/scheduled_test/test/scheduled_test/on_complete_test.dart View 1 2 1 chunk +4 lines, -2 lines 0 comments Download
M pkg/scheduled_test/test/scheduled_test/on_exception_test.dart View 1 2 1 chunk +4 lines, -2 lines 0 comments Download
M pkg/scheduled_test/test/scheduled_test/out_of_band_task_test.dart View 1 2 1 chunk +4 lines, -2 lines 0 comments Download
M pkg/scheduled_test/test/scheduled_test/set_up_test.dart View 1 2 1 chunk +4 lines, -2 lines 0 comments Download
M pkg/scheduled_test/test/scheduled_test/signal_error_test.dart View 1 2 1 chunk +4 lines, -2 lines 0 comments Download
M pkg/scheduled_test/test/scheduled_test/simple_test.dart View 1 2 1 chunk +4 lines, -2 lines 0 comments Download
M pkg/scheduled_test/test/scheduled_test/task_return_value_test.dart View 1 2 1 chunk +4 lines, -2 lines 0 comments Download
M pkg/scheduled_test/test/scheduled_test/tear_down_test.dart View 1 2 1 chunk +4 lines, -2 lines 0 comments Download
M pkg/scheduled_test/test/scheduled_test/timeout_test.dart View 1 2 1 chunk +4 lines, -2 lines 0 comments Download
M pkg/scheduled_test/test/scheduled_test/unhandled_error_test.dart View 1 2 1 chunk +4 lines, -2 lines 0 comments Download
M pkg/scheduled_test/test/scheduled_test/wrap_async_test.dart View 1 2 1 chunk +4 lines, -2 lines 0 comments Download
M pkg/scheduled_test/test/scheduled_test/wrap_future_test.dart View 1 2 1 chunk +4 lines, -2 lines 0 comments Download
M pkg/scheduled_test/test/utils.dart View 1 2 1 chunk +1 line, -1 line 0 comments Download
M pkg/unittest/CHANGELOG.md View 1 chunk +8 lines, -0 lines 0 comments Download
M pkg/unittest/pubspec.yaml View 1 2 2 chunks +3 lines, -1 line 0 comments Download
M pkg/unittest/test/async_exception_test.dart View 1 2 3 4 5 6 7 1 chunk +20 lines, -11 lines 0 comments Download
M pkg/unittest/test/async_exception_with_future_test.dart View 1 2 3 4 5 6 1 chunk +35 lines, -16 lines 0 comments Download
M pkg/unittest/test/async_setup_teardown_test.dart View 1 2 3 4 5 6 5 chunks +25 lines, -26 lines 0 comments Download
M pkg/unittest/test/breath_test.dart View 1 chunk +3 lines, -1 line 0 comments Download
M pkg/unittest/test/completion_test.dart View 1 2 3 4 5 6 1 chunk +21 lines, -17 lines 0 comments Download
M pkg/unittest/test/correct_callback_test.dart View 1 2 3 4 5 6 7 1 chunk +15 lines, -9 lines 0 comments Download
M pkg/unittest/test/exception_test.dart View 1 2 3 4 5 6 1 chunk +14 lines, -11 lines 0 comments Download
M pkg/unittest/test/excess_callback_test.dart View 1 2 3 4 5 6 1 chunk +29 lines, -17 lines 0 comments Download
M pkg/unittest/test/expect_async_args_test.dart View 1 2 3 4 5 6 1 chunk +48 lines, -31 lines 0 comments Download
M pkg/unittest/test/expect_async_test.dart View 1 2 3 4 5 6 7 1 chunk +70 lines, -67 lines 0 comments Download
M pkg/unittest/test/group_name_test.dart View 1 2 3 4 5 6 1 chunk +18 lines, -15 lines 0 comments Download
M pkg/unittest/test/invalid_ops_test.dart View 1 2 1 chunk +17 lines, -18 lines 0 comments Download
M pkg/unittest/test/late_exception_test.dart View 1 2 3 4 5 6 1 chunk +26 lines, -18 lines 0 comments Download
M pkg/unittest/test/middle_exception_test.dart View 1 2 3 4 5 6 1 chunk +25 lines, -16 lines 0 comments Download
M pkg/unittest/test/missing_tick_test.dart View 1 2 3 4 5 6 1 chunk +14 lines, -6 lines 0 comments Download
M pkg/unittest/test/nested_groups_setup_teardown_test.dart View 1 2 3 4 5 6 7 1 chunk +47 lines, -27 lines 0 comments Download
M pkg/unittest/test/protect_async_test.dart View 1 2 3 4 5 6 1 chunk +47 lines, -36 lines 0 comments Download
M pkg/unittest/test/returning_future_test.dart View 1 2 3 4 5 6 1 chunk +58 lines, -48 lines 0 comments Download
M pkg/unittest/test/returning_future_using_runasync_test.dart View 1 2 3 4 5 6 7 1 chunk +70 lines, -54 lines 0 comments Download
M pkg/unittest/test/runtests_without_tests_test.dart View 1 2 1 chunk +9 lines, -10 lines 0 comments Download
M pkg/unittest/test/setup_and_teardown_test.dart View 1 2 3 4 5 6 7 1 chunk +25 lines, -15 lines 0 comments Download
M pkg/unittest/test/setup_test.dart View 1 2 3 4 5 6 7 1 chunk +17 lines, -14 lines 0 comments Download
M pkg/unittest/test/single_correct_test.dart View 1 2 3 4 5 6 1 chunk +9 lines, -10 lines 0 comments Download
M pkg/unittest/test/single_failing_test.dart View 1 2 3 4 5 6 7 1 chunk +9 lines, -11 lines 0 comments Download
M pkg/unittest/test/skipped_soloed_nested_test.dart View 1 2 3 4 5 6 1 chunk +71 lines, -60 lines 0 comments Download
M pkg/unittest/test/teardown_test.dart View 1 2 3 4 5 6 7 1 chunk +20 lines, -14 lines 0 comments Download
M pkg/unittest/test/testcases_immutable_test.dart View 1 2 1 chunk +12 lines, -13 lines 0 comments Download
M pkg/unittest/test/utils.dart View 1 2 5 6 1 chunk +0 lines, -96 lines 0 comments Download

Messages

Total messages: 12 (1 generated)
kevmoo
I've ported some of the code from scheduled_test here. Two big changes: 1) I created ...
6 years, 3 months ago (2014-08-30 20:11:51 UTC) #2
nweiz
Before I look through this whole thing, what do you think about extracting this into ...
6 years, 3 months ago (2014-09-02 18:27:58 UTC) #3
kevmoo
PTAL Also, look at scheduled_test/test/scheduled_server_test – doesn't seem to ever pass
6 years, 3 months ago (2014-09-06 23:37:00 UTC) #4
nweiz
I've just reviewed metatest.dart so far; I want to get that API ironed out before ...
6 years, 3 months ago (2014-09-08 22:44:41 UTC) #5
kevmoo
https://codereview.chromium.org/524153002/diff/60001/pkg/metatest/lib/metatest.dart File pkg/metatest/lib/metatest.dart (right): https://codereview.chromium.org/524153002/diff/60001/pkg/metatest/lib/metatest.dart#newcode17 pkg/metatest/lib/metatest.dart:17: Future defer(void fn()) { On 2014/09/08 22:44:40, nweiz wrote: ...
6 years, 3 months ago (2014-09-10 03:17:29 UTC) #6
nweiz
https://codereview.chromium.org/524153002/diff/60001/pkg/metatest/lib/metatest.dart File pkg/metatest/lib/metatest.dart (right): https://codereview.chromium.org/524153002/diff/60001/pkg/metatest/lib/metatest.dart#newcode156 pkg/metatest/lib/metatest.dart:156: void initTests(void testBody(message)) { On 2014/09/10 03:17:28, kevmoo wrote: ...
6 years, 3 months ago (2014-09-10 21:04:43 UTC) #7
kevmoo
PTAL https://codereview.chromium.org/524153002/diff/80001/pkg/metatest/lib/metatest.dart File pkg/metatest/lib/metatest.dart (right): https://codereview.chromium.org/524153002/diff/80001/pkg/metatest/lib/metatest.dart#newcode17 pkg/metatest/lib/metatest.dart:17: import 'src/util.dart'; On 2014/09/10 21:04:42, nweiz wrote: > ...
6 years, 3 months ago (2014-09-17 21:16:29 UTC) #8
nweiz
https://codereview.chromium.org/524153002/diff/80001/pkg/unittest/test/completion_test.dart File pkg/unittest/test/completion_test.dart (right): https://codereview.chromium.org/524153002/diff/80001/pkg/unittest/test/completion_test.dart#newcode38 pkg/unittest/test/completion_test.dart:38: }]); On 2014/09/17 21:16:29, kevmoo wrote: > On 2014/09/10 ...
6 years, 3 months ago (2014-09-17 22:39:16 UTC) #9
kevmoo
PTAL https://codereview.chromium.org/524153002/diff/80001/pkg/unittest/test/completion_test.dart File pkg/unittest/test/completion_test.dart (right): https://codereview.chromium.org/524153002/diff/80001/pkg/unittest/test/completion_test.dart#newcode38 pkg/unittest/test/completion_test.dart:38: }]); On 2014/09/17 22:39:16, nweiz wrote: > On ...
6 years, 3 months ago (2014-09-18 22:11:33 UTC) #10
nweiz
lgtm https://codereview.chromium.org/524153002/diff/140001/pkg/metatest/lib/metatest.dart File pkg/metatest/lib/metatest.dart (right): https://codereview.chromium.org/524153002/diff/140001/pkg/metatest/lib/metatest.dart#newcode57 pkg/metatest/lib/metatest.dart:57: /// The value of "result" can be one ...
6 years, 3 months ago (2014-09-18 22:16:03 UTC) #11
kevmoo
6 years, 3 months ago (2014-09-18 22:40:37 UTC) #12
Message was sent while issue was closed.
Committed patchset #11 (id:200001) manually as 40475 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698