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

Side by Side Diff: pkg/analyzer/test/generated/engine_test.dart

Issue 1155473003: Don't schedule LIBRARY_ERRORS_READY for libraries that should not be analyzed. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 // This code was auto-generated, is not intended to be edited, and is subject to 5 // This code was auto-generated, is not intended to be edited, and is subject to
6 // significant change. Please see the README file for more information. 6 // significant change. Please see the README file for more information.
7 7
8 library engine.engine_test; 8 library engine.engine_test;
9 9
10 import 'dart:async'; 10 import 'dart:async';
(...skipping 5780 matching lines...) Expand 10 before | Expand all | Expand 10 after
5791 int oldLength, int newLength) { 5791 int oldLength, int newLength) {
5792 fail("Unexpected invocation of setChangedContents"); 5792 fail("Unexpected invocation of setChangedContents");
5793 } 5793 }
5794 5794
5795 @override 5795 @override
5796 void setContents(Source source, String contents) { 5796 void setContents(Source source, String contents) {
5797 fail("Unexpected invocation of setContents"); 5797 fail("Unexpected invocation of setContents");
5798 } 5798 }
5799 5799
5800 @override 5800 @override
5801 bool shouldErrorsBeAnalyzed(Source source, Object entry) {
5802 fail("Unexpected invocation of shouldErrorsBeAnalyzed");
5803 return false;
5804 }
5805 @override
5801 void visitCacheItems(void callback(Source source, SourceEntry dartEntry, 5806 void visitCacheItems(void callback(Source source, SourceEntry dartEntry,
5802 DataDescriptor rowDesc, CacheState state)) { 5807 DataDescriptor rowDesc, CacheState state)) {
5803 fail("Unexpected invocation of visitCacheItems"); 5808 fail("Unexpected invocation of visitCacheItems");
5804 } 5809 }
5805 } 5810 }
5806 5811
5807 class TestAnalysisContext_test_applyChanges extends TestAnalysisContext { 5812 class TestAnalysisContext_test_applyChanges extends TestAnalysisContext {
5808 bool invoked = false; 5813 bool invoked = false;
5809 TestAnalysisContext_test_applyChanges(); 5814 TestAnalysisContext_test_applyChanges();
5810 @override 5815 @override
(...skipping 791 matching lines...) Expand 10 before | Expand all | Expand 10 after
6602 @override 6607 @override
6603 bool exists() => true; 6608 bool exists() => true;
6604 } 6609 }
6605 6610
6606 class _UniversalCachePartitionTest_test_setMaxCacheSize 6611 class _UniversalCachePartitionTest_test_setMaxCacheSize
6607 implements CacheRetentionPolicy { 6612 implements CacheRetentionPolicy {
6608 @override 6613 @override
6609 RetentionPriority getAstPriority(Source source, SourceEntry sourceEntry) => 6614 RetentionPriority getAstPriority(Source source, SourceEntry sourceEntry) =>
6610 RetentionPriority.LOW; 6615 RetentionPriority.LOW;
6611 } 6616 }
OLDNEW
« no previous file with comments | « pkg/analyzer/lib/src/task/dart_work_manager.dart ('k') | pkg/analyzer/test/src/task/dart_work_manager_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698