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

Unified Diff: pkg/analyzer/test/src/context/context_test.dart

Issue 1486663003: Ensure that a complete library element has constants evaluated (issue 24890) (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 years, 1 month 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/analyzer/test/src/context/context_test.dart
diff --git a/pkg/analyzer/test/src/context/context_test.dart b/pkg/analyzer/test/src/context/context_test.dart
index 5fd792612f7a9f60891bf123071420a156fcddb5..f5126c10a66e55597bd282ee45775e122f891b2c 100644
--- a/pkg/analyzer/test/src/context/context_test.dart
+++ b/pkg/analyzer/test/src/context/context_test.dart
@@ -328,7 +328,6 @@ import 'libB.dart';''';
expect(importedLibraries, hasLength(2));
context.computeErrors(libA);
context.computeErrors(libB);
- expect(context.sourcesNeedingProcessing, hasLength(0));
context.setContents(libB, null);
_removeSource(libB);
List<Source> sources = context.sourcesNeedingProcessing;
@@ -398,7 +397,6 @@ import 'libB.dart';''';
context.computeLibraryElement(libA);
context.computeErrors(libA);
context.computeErrors(libB);
- expect(context.sourcesNeedingProcessing, hasLength(0));
ChangeSet changeSet = new ChangeSet();
SourceContainer removedContainer =
new _AnalysisContextImplTest_test_applyChanges_removeContainer(libB);
@@ -1964,7 +1962,6 @@ library expectedToFindSemicolon
addSource('/test.dart', 'main() {}');
_analyzeAll_assertFinished();
// verify
- expect(libraryElementUris, contains('dart:core'));
expect(libraryElementUris, contains('file:///test.dart'));
expect(parsedUnitUris, contains('dart:core'));
expect(parsedUnitUris, contains('file:///test.dart'));

Powered by Google App Engine
This is Rietveld 408576698