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

Issue 1752023002: Clear static ElementFactory state at the start of all resolver tests. (Closed)

Created:
4 years, 9 months ago by Paul Berry
Modified:
4 years, 9 months ago
Reviewers:
Brian Wilkerson
CC:
reviews_dartlang.org
Base URL:
git@github.com:dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Clear static ElementFactory state at the start of all resolver tests. This prevents the ElementFactory's ClassElement for `Object` (which it stores statically) from getting accidentally shared between separate unit tests in a single test run, which could cause state to leak between the tests. R=brianwilkerson@google.com Committed: https://github.com/dart-lang/sdk/commit/5772408ed0900a9972cd52a566e63b336bd51449

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -0 lines) Patch
M pkg/analyzer/lib/src/generated/testing/element_factory.dart View 1 chunk +9 lines, -0 lines 0 comments Download
M pkg/analyzer/test/generated/resolver_test.dart View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 5 (2 generated)
Paul Berry
4 years, 9 months ago (2016-03-01 18:49:37 UTC) #2
Brian Wilkerson
LGTM
4 years, 9 months ago (2016-03-01 19:04:44 UTC) #3
Paul Berry
4 years, 9 months ago (2016-03-01 19:26:44 UTC) #5
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
5772408ed0900a9972cd52a566e63b336bd51449 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698