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

Issue 84993006: Remove use of deprecated mirror API from pkg/unittest. (Closed)

Created:
7 years ago by rmacnak
Modified:
7 years ago
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Remove use of deprecated mirror API from pkg/unittest. R=gbracha@google.com, sigmund@google.com Committed: https://code.google.com/p/dart/source/detail?r=30650

Patch Set 1 #

Total comments: 3

Patch Set 2 : #

Patch Set 3 : test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+30 lines, -1 line) Patch
M pkg/unittest/lib/mirror_matchers.dart View 1 1 chunk +10 lines, -1 line 0 comments Download
M pkg/unittest/test/mirror_matchers_test.dart View 1 2 2 chunks +20 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
rmacnak
https://codereview.chromium.org/84993006/diff/1/pkg/unittest/lib/mirror_matchers.dart File pkg/unittest/lib/mirror_matchers.dart (right): https://codereview.chromium.org/84993006/diff/1/pkg/unittest/lib/mirror_matchers.dart#newcode56 pkg/unittest/lib/mirror_matchers.dart:56: candidate.isStatic) { This last clause changes the behavior. Presumably ...
7 years ago (2013-11-25 19:54:00 UTC) #1
gbracha
lgtm
7 years ago (2013-11-25 19:55:46 UTC) #2
Siggi Cherem (dart-lang)
https://codereview.chromium.org/84993006/diff/1/pkg/unittest/lib/mirror_matchers.dart File pkg/unittest/lib/mirror_matchers.dart (right): https://codereview.chromium.org/84993006/diff/1/pkg/unittest/lib/mirror_matchers.dart#newcode54 pkg/unittest/lib/mirror_matchers.dart:54: candidate is! MethodMirror || shouldn't we exclude if candidate ...
7 years ago (2013-11-25 20:28:47 UTC) #3
rmacnak
Like so?
7 years ago (2013-11-25 21:44:15 UTC) #4
Siggi Cherem (dart-lang)
looks great. It might be a good idea to add a couple tests for these ...
7 years ago (2013-11-25 22:15:20 UTC) #5
rmacnak
On 2013/11/25 22:15:20, Siggi Cherem (dart-lang) wrote: > looks great. It might be a good ...
7 years ago (2013-11-25 22:34:13 UTC) #6
rmacnak
Committed patchset #3 manually as r30650 (presubmit successful).
7 years ago (2013-11-25 22:34:38 UTC) #7
Siggi Cherem (dart-lang)
7 years ago (2013-11-26 00:29:12 UTC) #8
Message was sent while issue was closed.
On 2013/11/25 22:34:13, Ryan Macnak wrote:
> On 2013/11/25 22:15:20, Siggi Cherem (dart-lang) wrote:
> > looks great. It might be a good idea to add a couple tests for these changes
> in:
> > 
> > pkg/unittest/test/mirror_matchers_test.dart
> 
> Done.

Awesome, thank you! double lgtm :-)

Powered by Google App Engine
This is Rietveld 408576698