| OLD | NEW |
| 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 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 188 /** | 188 /** |
| 189 * An analysis context whose source factory is [sourceFactory]. | 189 * An analysis context whose source factory is [sourceFactory]. |
| 190 */ | 190 */ |
| 191 AnalysisContextImpl _context; | 191 AnalysisContextImpl _context; |
| 192 | 192 |
| 193 /** | 193 /** |
| 194 * The source factory associated with the analysis [context]. | 194 * The source factory associated with the analysis [context]. |
| 195 */ | 195 */ |
| 196 SourceFactory _sourceFactory; | 196 SourceFactory _sourceFactory; |
| 197 | 197 |
| 198 void fail_extractContext() { | |
| 199 fail("Implement this"); | |
| 200 } | |
| 201 | |
| 202 void fail_mergeContext() { | |
| 203 fail("Implement this"); | |
| 204 } | |
| 205 | |
| 206 void fail_performAnalysisTask_importedLibraryDelete_html() { | 198 void fail_performAnalysisTask_importedLibraryDelete_html() { |
| 207 Source htmlSource = _addSource("/page.html", r''' | 199 Source htmlSource = _addSource("/page.html", r''' |
| 208 <html><body><script type="application/dart"> | 200 <html><body><script type="application/dart"> |
| 209 import 'libB.dart'; | 201 import 'libB.dart'; |
| 210 main() {print('hello dart');} | 202 main() {print('hello dart');} |
| 211 </script></body></html>'''); | 203 </script></body></html>'''); |
| 212 Source libBSource = _addSource("/libB.dart", "library libB;"); | 204 Source libBSource = _addSource("/libB.dart", "library libB;"); |
| 213 _analyzeAll_assertFinished(); | 205 _analyzeAll_assertFinished(); |
| 214 expect(_context.getResolvedHtmlUnit(htmlSource), isNotNull, | 206 expect(_context.getResolvedHtmlUnit(htmlSource), isNotNull, |
| 215 reason: "htmlUnit resolved 1"); | 207 reason: "htmlUnit resolved 1"); |
| (...skipping 6421 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6637 @override | 6629 @override |
| 6638 bool exists() => true; | 6630 bool exists() => true; |
| 6639 } | 6631 } |
| 6640 | 6632 |
| 6641 class _UniversalCachePartitionTest_test_setMaxCacheSize | 6633 class _UniversalCachePartitionTest_test_setMaxCacheSize |
| 6642 implements CacheRetentionPolicy { | 6634 implements CacheRetentionPolicy { |
| 6643 @override | 6635 @override |
| 6644 RetentionPriority getAstPriority(Source source, SourceEntry sourceEntry) => | 6636 RetentionPriority getAstPriority(Source source, SourceEntry sourceEntry) => |
| 6645 RetentionPriority.LOW; | 6637 RetentionPriority.LOW; |
| 6646 } | 6638 } |
| OLD | NEW |