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

Unified Diff: pkg/analyzer/test/generated/engine_test.dart

Issue 1127183003: Rename EMPTY_ARRAY to EMPTY_LIST (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 7 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
« no previous file with comments | « pkg/analyzer/lib/task/dart.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/test/generated/engine_test.dart
diff --git a/pkg/analyzer/test/generated/engine_test.dart b/pkg/analyzer/test/generated/engine_test.dart
index 06cafa05676814a95ba89eed417b97ec439cbff2..613a4789a62e8d5c659c28bdfa31bbd4a72bd9b1 100644
--- a/pkg/analyzer/test/generated/engine_test.dart
+++ b/pkg/analyzer/test/generated/engine_test.dart
@@ -5371,7 +5371,7 @@ class SourcesChangedEventTest {
static void assertEvent(SourcesChangedEvent event,
{bool wereSourcesAdded: false,
- List<Source> changedSources: Source.EMPTY_ARRAY,
+ List<Source> changedSources: Source.EMPTY_LIST,
bool wereSourcesRemovedOrDeleted: false}) {
expect(event.wereSourcesAdded, wereSourcesAdded);
expect(event.changedSources, changedSources);
@@ -5383,7 +5383,7 @@ class SourcesChangedListener {
List<SourcesChangedEvent> actualEvents = [];
void assertEvent({bool wereSourcesAdded: false,
- List<Source> changedSources: Source.EMPTY_ARRAY,
+ List<Source> changedSources: Source.EMPTY_LIST,
bool wereSourcesRemovedOrDeleted: false}) {
if (actualEvents.isEmpty) {
fail('Expected event but found none');
@@ -5994,7 +5994,7 @@ class TestAnalysisContext_test_getHtmlFilesReferencing
@override
List<Source> getHtmlFilesReferencing(Source source) {
invoked = true;
- return Source.EMPTY_ARRAY;
+ return Source.EMPTY_LIST;
}
}
@@ -6004,7 +6004,7 @@ class TestAnalysisContext_test_getHtmlSources extends TestAnalysisContext {
@override
List<Source> get htmlSources {
invoked = true;
- return Source.EMPTY_ARRAY;
+ return Source.EMPTY_LIST;
}
}
@@ -6025,7 +6025,7 @@ class TestAnalysisContext_test_getLaunchableClientLibrarySources
@override
List<Source> get launchableClientLibrarySources {
invoked = true;
- return Source.EMPTY_ARRAY;
+ return Source.EMPTY_LIST;
}
}
@@ -6036,7 +6036,7 @@ class TestAnalysisContext_test_getLaunchableServerLibrarySources
@override
List<Source> get launchableServerLibrarySources {
invoked = true;
- return Source.EMPTY_ARRAY;
+ return Source.EMPTY_LIST;
}
}
@@ -6047,7 +6047,7 @@ class TestAnalysisContext_test_getLibrariesContaining
@override
List<Source> getLibrariesContaining(Source source) {
invoked = true;
- return Source.EMPTY_ARRAY;
+ return Source.EMPTY_LIST;
}
}
@@ -6058,7 +6058,7 @@ class TestAnalysisContext_test_getLibrariesDependingOn
@override
List<Source> getLibrariesDependingOn(Source librarySource) {
invoked = true;
- return Source.EMPTY_ARRAY;
+ return Source.EMPTY_LIST;
}
}
@@ -6089,7 +6089,7 @@ class TestAnalysisContext_test_getLibrarySources extends TestAnalysisContext {
@override
List<Source> get librarySources {
invoked = true;
- return Source.EMPTY_ARRAY;
+ return Source.EMPTY_LIST;
}
}
« no previous file with comments | « pkg/analyzer/lib/task/dart.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698