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

Issue 247143009: Don't make assumptions about source encoding in analysis server tests (TBR). (Closed)

Created:
6 years, 8 months ago by Paul Berry
Modified:
6 years, 8 months ago
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Don't make assumptions about source encoding in analysis server tests (TBR). On Windows, the encoding of an absolute path like "/foo.dart" contains a drive letter (e.g. "102file:///e:/foo.dart"); on Mac and Linux it doesn't. Call ".encoding" from the test so that we don't depend on the specific file name encoding in use. As a side benefit, this makes the test independent of bug 18379. Committed: https://code.google.com/p/dart/source/detail?r=35327

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M pkg/analysis_server/test/analysis_server_test.dart View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 4 (0 generated)
Paul Berry
6 years, 8 months ago (2014-04-23 20:01:50 UTC) #1
Paul Berry
Committed patchset #1 manually as r35327 (presubmit successful).
6 years, 8 months ago (2014-04-23 20:02:23 UTC) #2
danrubel
lgtm
6 years, 8 months ago (2014-04-23 20:36:41 UTC) #3
Brian Wilkerson
6 years, 8 months ago (2014-04-24 15:45:08 UTC) #4
Message was sent while issue was closed.
LGTM

Powered by Google App Engine
This is Rietveld 408576698