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

Unified Diff: pkg/analysis_server/test/abstract_single_unit.dart

Issue 1075773002: Use file/offset/kind triplet as elements id. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: pkg/analysis_server/test/abstract_single_unit.dart
diff --git a/pkg/analysis_server/test/abstract_single_unit.dart b/pkg/analysis_server/test/abstract_single_unit.dart
index 51bd1832e9caf7791eafbe681d6a0740607f08b5..6d0e7a0acebc61116bc518a4d736d2295642e5d9 100644
--- a/pkg/analysis_server/test/abstract_single_unit.dart
+++ b/pkg/analysis_server/test/abstract_single_unit.dart
@@ -23,9 +23,9 @@ class AbstractSingleUnitTest extends AbstractContextTest {
CompilationUnitElement testUnitElement;
LibraryElement testLibraryElement;
- void addTestSource(String code) {
+ void addTestSource(String code, [Uri uri]) {
testCode = code;
- testSource = addSource(testFile, code);
+ testSource = addSource(testFile, code, uri);
}
void assertNoErrorsInSource(Source source) {

Powered by Google App Engine
This is Rietveld 408576698