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

Issue 25609003: Add missing test coverage for constructor kinds, generic function typedefs and generic mixin applic… (Closed)

Created:
7 years, 2 months ago by rmacnak
Modified:
7 years, 2 months ago
Reviewers:
ahe, gbracha
CC:
reviews_dartlang.org, zarah
Visibility:
Public.

Description

Add missing test coverage for constructor kinds, generic function typedefs, generic mixin applications, delegate, type arguments are type variables. BUG= R=gbracha@google.com Committed: https://code.google.com/p/dart/source/detail?r=28270

Patch Set 1 : #

Total comments: 9

Patch Set 2 : delegate test #

Total comments: 1

Patch Set 3 : address comments, also test type arg is type var #

Patch Set 4 : bug numbers #

Patch Set 5 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+435 lines, -11 lines) Patch
M tests/lib/lib.status View 1 2 3 4 3 chunks +8 lines, -0 lines 0 comments Download
A tests/lib/mirrors/constructor_kinds_test.dart View 1 chunk +104 lines, -0 lines 0 comments Download
M tests/lib/mirrors/constructors_test.dart View 1 chunk +0 lines, -1 line 0 comments Download
A tests/lib/mirrors/delegate_test.dart View 1 1 chunk +52 lines, -0 lines 0 comments Download
A tests/lib/mirrors/generic_function_typedef_test.dart View 1 2 1 chunk +113 lines, -0 lines 0 comments Download
A tests/lib/mirrors/generic_mixin_applications_test.dart View 1 2 1 chunk +96 lines, -0 lines 0 comments Download
M tests/lib/mirrors/generics_test.dart View 4 chunks +10 lines, -10 lines 0 comments Download
A tests/lib/mirrors/type_argument_is_type_variable_test.dart View 1 2 1 chunk +52 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
rmacnak
7 years, 2 months ago (2013-10-02 19:54:55 UTC) #1
rmacnak
Copy over delegate test from abandoned CL.
7 years, 2 months ago (2013-10-02 20:21:49 UTC) #2
gbracha
https://codereview.chromium.org/25609003/diff/5001/tests/lib/mirrors/generic_function_typedef_test.dart File tests/lib/mirrors/generic_function_typedef_test.dart (right): https://codereview.chromium.org/25609003/diff/5001/tests/lib/mirrors/generic_function_typedef_test.dart#newcode63 tests/lib/mirrors/generic_function_typedef_test.dart:63: Expect.isTrue(predicateOfNum.referent.isOriginalDeclaration); Subtle, but correct. It would be worth adding ...
7 years, 2 months ago (2013-10-02 20:57:14 UTC) #3
gbracha
https://codereview.chromium.org/25609003/diff/8001/tests/lib/mirrors/generic_mixin_applications_test.dart File tests/lib/mirrors/generic_mixin_applications_test.dart (right): https://codereview.chromium.org/25609003/diff/8001/tests/lib/mirrors/generic_mixin_applications_test.dart#newcode41 tests/lib/mirrors/generic_mixin_applications_test.dart:41: // Why 2? So the 2 is the VM's ...
7 years, 2 months ago (2013-10-02 21:20:39 UTC) #4
rmacnak
Address comments. Add test for type arguments being type variables.
7 years, 2 months ago (2013-10-02 22:20:33 UTC) #5
rmacnak
+cc Sarah
7 years, 2 months ago (2013-10-02 22:21:31 UTC) #6
gbracha
lgtm
7 years, 2 months ago (2013-10-02 22:36:06 UTC) #7
rmacnak
Added issue numbers
7 years, 2 months ago (2013-10-03 17:55:26 UTC) #8
rmacnak
7 years, 2 months ago (2013-10-04 17:32:29 UTC) #9
Message was sent while issue was closed.
Committed patchset #5 manually as r28270 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698