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

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

Issue 1113423003: Remove AnalysisContext.refactoringUnsafeSources. (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
« no previous file with comments | « pkg/analyzer/test/generated/engine_test.dart ('k') | pkg/analyzer/test/src/task/driver_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 2395f81215dc7eed814b1738bdbeb2ecbd8e1e53..f726b3e7d4b8c5e8a471d17027a16e0d837a47cb 100644
--- a/pkg/analyzer/test/src/context/context_test.dart
+++ b/pkg/analyzer/test/src/context/context_test.dart
@@ -1023,21 +1023,6 @@ part 'part.dart';''');
(obj) => obj is ClassElement, ClassElement, namespace.get("A"));
}
- void fail_getRefactoringUnsafeSources() {
- // not sources initially
- List<Source> sources = _context.refactoringUnsafeSources;
- expect(sources, hasLength(0));
- // add new source, unresolved
- Source source = _addSource("/test.dart", "library lib;");
- sources = _context.refactoringUnsafeSources;
- expect(sources, hasLength(1));
- expect(sources[0], source);
- // resolve source
- _context.computeLibraryElement(source);
- sources = _context.refactoringUnsafeSources;
- expect(sources, hasLength(0));
- }
-
void fail_getResolvedCompilationUnit_library() {
_context = contextWithCore();
_sourceFactory = _context.sourceFactory;
« no previous file with comments | « pkg/analyzer/test/generated/engine_test.dart ('k') | pkg/analyzer/test/src/task/driver_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698