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

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

Issue 878203002: fix warning (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 10 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 1673 matching lines...) Expand 10 before | Expand all | Expand 10 after
1684 Source libBSource = _addSource("/libB.dart", "library libB;"); 1684 Source libBSource = _addSource("/libB.dart", "library libB;");
1685 _analyzeAll_assertFinished(); 1685 _analyzeAll_assertFinished();
1686 expect( 1686 expect(
1687 _context.getResolvedHtmlUnit(htmlSource), 1687 _context.getResolvedHtmlUnit(htmlSource),
1688 isNotNull, 1688 isNotNull,
1689 reason: "htmlUnit resolved 1"); 1689 reason: "htmlUnit resolved 1");
1690 expect( 1690 expect(
1691 _context.getResolvedCompilationUnit2(libBSource, libBSource), 1691 _context.getResolvedCompilationUnit2(libBSource, libBSource),
1692 isNotNull, 1692 isNotNull,
1693 reason: "libB resolved 2"); 1693 reason: "libB resolved 2");
1694 AnalysisErrorInfo errors = _context.getErrors(htmlSource);
1695 // TODO (danrubel) commented out to fix red bots 1694 // TODO (danrubel) commented out to fix red bots
1695 // AnalysisErrorInfo errors = _context.getErrors(htmlSource);
1696 // expect( 1696 // expect(
1697 // !_hasAnalysisErrorWithErrorSeverity(errors), 1697 // !_hasAnalysisErrorWithErrorSeverity(errors),
1698 // isTrue, 1698 // isTrue,
1699 // reason: "htmlSource doesn't have errors"); 1699 // reason: "htmlSource doesn't have errors");
1700 } 1700 }
1701 1701
1702 void test_performAnalysisTask_importedLibraryDelete() { 1702 void test_performAnalysisTask_importedLibraryDelete() {
1703 Source libASource = 1703 Source libASource =
1704 _addSource("/libA.dart", "library libA; import 'libB.dart';"); 1704 _addSource("/libA.dart", "library libA; import 'libB.dart';");
1705 Source libBSource = _addSource("/libB.dart", "library libB;"); 1705 Source libBSource = _addSource("/libB.dart", "library libB;");
(...skipping 5380 matching lines...) Expand 10 before | Expand all | Expand 10 after
7086 bool contains(Source source) => source == libB; 7086 bool contains(Source source) => source == libB;
7087 } 7087 }
7088 7088
7089 7089
7090 class _UniversalCachePartitionTest_test_setMaxCacheSize implements 7090 class _UniversalCachePartitionTest_test_setMaxCacheSize implements
7091 CacheRetentionPolicy { 7091 CacheRetentionPolicy {
7092 @override 7092 @override
7093 RetentionPriority getAstPriority(Source source, SourceEntry sourceEntry) => 7093 RetentionPriority getAstPriority(Source source, SourceEntry sourceEntry) =>
7094 RetentionPriority.LOW; 7094 RetentionPriority.LOW;
7095 } 7095 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698