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

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

Issue 708263002: Clean up references in comments (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 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 unified diff | Download patch | Annotate | Revision Log
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:collection'; 10 import 'dart:collection';
(...skipping 1788 matching lines...) Expand 10 before | Expand all | Expand 10 after
1799 changeSet.removedSource(source); 1799 changeSet.removedSource(source);
1800 _context.applyChanges(changeSet); 1800 _context.applyChanges(changeSet);
1801 } 1801 }
1802 1802
1803 void _setIncrementalAnalysisCache(AnalysisContextImpl context, 1803 void _setIncrementalAnalysisCache(AnalysisContextImpl context,
1804 IncrementalAnalysisCache incrementalCache) { 1804 IncrementalAnalysisCache incrementalCache) {
1805 context.test_incrementalAnalysisCache = incrementalCache; 1805 context.test_incrementalAnalysisCache = incrementalCache;
1806 } 1806 }
1807 1807
1808 /** 1808 /**
1809 * Returns `true` if there is an [AnalysisError] with [ErrorSeverity#ERROR] in 1809 * Returns `true` if there is an [AnalysisError] with [ErrorSeverity.ERROR] in
1810 * the given [AnalysisErrorInfo]. 1810 * the given [AnalysisErrorInfo].
1811 */ 1811 */
1812 static bool _hasAnalysisErrorWithErrorSeverity(AnalysisErrorInfo errorInfo) { 1812 static bool _hasAnalysisErrorWithErrorSeverity(AnalysisErrorInfo errorInfo) {
1813 List<AnalysisError> errors = errorInfo.errors; 1813 List<AnalysisError> errors = errorInfo.errors;
1814 for (AnalysisError analysisError in errors) { 1814 for (AnalysisError analysisError in errors) {
1815 if (analysisError.errorCode.errorSeverity == ErrorSeverity.ERROR) { 1815 if (analysisError.errorCode.errorSeverity == ErrorSeverity.ERROR) {
1816 return true; 1816 return true;
1817 } 1817 }
1818 } 1818 }
1819 return false; 1819 return false;
(...skipping 4915 matching lines...) Expand 10 before | Expand all | Expand 10 after
6735 } 6735 }
6736 } 6736 }
6737 6737
6738 6738
6739 class _UniversalCachePartitionTest_test_setMaxCacheSize implements 6739 class _UniversalCachePartitionTest_test_setMaxCacheSize implements
6740 CacheRetentionPolicy { 6740 CacheRetentionPolicy {
6741 @override 6741 @override
6742 RetentionPriority getAstPriority(Source source, SourceEntry sourceEntry) => 6742 RetentionPriority getAstPriority(Source source, SourceEntry sourceEntry) =>
6743 RetentionPriority.LOW; 6743 RetentionPriority.LOW;
6744 } 6744 }
OLDNEW
« no previous file with comments | « pkg/analyzer/lib/src/generated/source_io.dart ('k') | pkg/analyzer/test/generated/parser_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698