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

Issue 1062853006: Use mock ProcessResult in optimizing_pub_package_map_provider_test. (Closed)

Created:
5 years, 8 months ago by Paul Berry
Modified:
5 years, 8 months ago
Reviewers:
scheglov
CC:
reviews_dartlang.org
Target Ref:
refs/remotes/git-svn
Visibility:
Public.

Description

Use mock ProcessResult in optimizing_pub_package_map_provider_test. This will make it feasible to cherry-pick this test into older versions of Dart in which the ProcessResult constructor is private. Also, fix some "unused variable" hints. R=scheglov@google.com Committed: https://code.google.com/p/dart/source/detail?r=45183

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -4 lines) Patch
M pkg/analysis_server/test/source/optimizing_pub_package_map_provider_test.dart View 3 chunks +18 lines, -4 lines 0 comments Download

Messages

Total messages: 6 (1 generated)
Paul Berry
5 years, 8 months ago (2015-04-15 20:30:07 UTC) #2
scheglov
LGTM
5 years, 8 months ago (2015-04-15 20:31:18 UTC) #3
Paul Berry
Committed patchset #1 (id:1) manually as 45183 (presubmit successful).
5 years, 8 months ago (2015-04-15 20:55:27 UTC) #4
kevmoo
On 2015/04/15 20:55:27, Paul Berry wrote: > Committed patchset #1 (id:1) manually as 45183 (presubmit ...
5 years, 8 months ago (2015-04-15 21:28:43 UTC) #5
kevmoo
5 years, 8 months ago (2015-04-15 21:29:16 UTC) #6
Message was sent while issue was closed.
On 2015/04/15 21:28:43, kevmoo wrote:
> On 2015/04/15 20:55:27, Paul Berry wrote:
> > Committed patchset #1 (id:1) manually as 45183 (presubmit successful).
> 
> As of 1.10, you can access the ctor for ProcessResult directly. No mocking
> needed.
> 
> It might be good to add a TODO to remove the mock once the analyzer is happy
to
> use >= 1.10 SDK

I just read your note. User error.

Powered by Google App Engine
This is Rietveld 408576698