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

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

Issue 1182303006: Re-enable and add new HTML support (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Move a private constant Created 5 years, 6 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 17 matching lines...) Expand all
28 import 'package:analyzer/src/generated/sdk.dart'; 28 import 'package:analyzer/src/generated/sdk.dart';
29 import 'package:analyzer/src/generated/sdk_io.dart'; 29 import 'package:analyzer/src/generated/sdk_io.dart';
30 import 'package:analyzer/src/generated/source_io.dart'; 30 import 'package:analyzer/src/generated/source_io.dart';
31 import 'package:analyzer/src/generated/testing/ast_factory.dart'; 31 import 'package:analyzer/src/generated/testing/ast_factory.dart';
32 import 'package:analyzer/src/generated/testing/element_factory.dart'; 32 import 'package:analyzer/src/generated/testing/element_factory.dart';
33 import 'package:analyzer/src/generated/utilities_collection.dart'; 33 import 'package:analyzer/src/generated/utilities_collection.dart';
34 import 'package:analyzer/src/services/lint.dart'; 34 import 'package:analyzer/src/services/lint.dart';
35 import 'package:analyzer/src/string_source.dart'; 35 import 'package:analyzer/src/string_source.dart';
36 import 'package:analyzer/src/task/task_dart.dart'; 36 import 'package:analyzer/src/task/task_dart.dart';
37 import 'package:analyzer/task/model.dart' hide AnalysisTask; 37 import 'package:analyzer/task/model.dart' hide AnalysisTask;
38 import 'package:html/dom.dart' show Document;
38 import 'package:path/path.dart' as pathos; 39 import 'package:path/path.dart' as pathos;
39 import 'package:typed_mock/typed_mock.dart'; 40 import 'package:typed_mock/typed_mock.dart';
40 import 'package:unittest/unittest.dart'; 41 import 'package:unittest/unittest.dart';
41 import 'package:watcher/src/utils.dart'; 42 import 'package:watcher/src/utils.dart';
42 43
43 import '../reflective_tests.dart'; 44 import '../reflective_tests.dart';
44 import 'all_the_rest_test.dart'; 45 import 'all_the_rest_test.dart';
45 import 'resolver_test.dart'; 46 import 'resolver_test.dart';
46 import 'test_support.dart'; 47 import 'test_support.dart';
47 48
(...skipping 5696 matching lines...) Expand 10 before | Expand all | Expand 10 after
5744 Stream<ComputedResult> onResultComputed(ResultDescriptor descriptor) { 5745 Stream<ComputedResult> onResultComputed(ResultDescriptor descriptor) {
5745 fail("Unexpected invocation of onResultComputed"); 5746 fail("Unexpected invocation of onResultComputed");
5746 return null; 5747 return null;
5747 } 5748 }
5748 @override 5749 @override
5749 CompilationUnit parseCompilationUnit(Source source) { 5750 CompilationUnit parseCompilationUnit(Source source) {
5750 fail("Unexpected invocation of parseCompilationUnit"); 5751 fail("Unexpected invocation of parseCompilationUnit");
5751 return null; 5752 return null;
5752 } 5753 }
5753 @override 5754 @override
5755 Document parseDocument(Source source) {
5756 fail("Unexpected invocation of analysisCache");
Paul Berry 2015/06/15 21:34:39 s/analysisCache/parseDocument/
Brian Wilkerson 2015/06/16 16:28:08 Done
5757 return null;
5758 }
5759 @override
5754 ht.HtmlUnit parseHtmlUnit(Source source) { 5760 ht.HtmlUnit parseHtmlUnit(Source source) {
5755 fail("Unexpected invocation of parseHtmlUnit"); 5761 fail("Unexpected invocation of parseHtmlUnit");
5756 return null; 5762 return null;
5757 } 5763 }
5758 @override 5764 @override
5759 AnalysisResult performAnalysisTask() { 5765 AnalysisResult performAnalysisTask() {
5760 fail("Unexpected invocation of performAnalysisTask"); 5766 fail("Unexpected invocation of performAnalysisTask");
5761 return null; 5767 return null;
5762 } 5768 }
5769
5763 @override 5770 @override
5764 void recordLibraryElements(Map<Source, LibraryElement> elementMap) { 5771 void recordLibraryElements(Map<Source, LibraryElement> elementMap) {
5765 fail("Unexpected invocation of recordLibraryElements"); 5772 fail("Unexpected invocation of recordLibraryElements");
5766 } 5773 }
5767 5774
5768 @override 5775 @override
5769 void removeListener(AnalysisListener listener) { 5776 void removeListener(AnalysisListener listener) {
5770 fail("Unexpected invocation of removeListener"); 5777 fail("Unexpected invocation of removeListener");
5771 } 5778 }
5772 5779
(...skipping 20 matching lines...) Expand all
5793 @override 5800 @override
5794 void setChangedContents(Source source, String contents, int offset, 5801 void setChangedContents(Source source, String contents, int offset,
5795 int oldLength, int newLength) { 5802 int oldLength, int newLength) {
5796 fail("Unexpected invocation of setChangedContents"); 5803 fail("Unexpected invocation of setChangedContents");
5797 } 5804 }
5798 5805
5799 @override 5806 @override
5800 void setContents(Source source, String contents) { 5807 void setContents(Source source, String contents) {
5801 fail("Unexpected invocation of setContents"); 5808 fail("Unexpected invocation of setContents");
5802 } 5809 }
5803
5804 @override 5810 @override
5805 bool shouldErrorsBeAnalyzed(Source source, Object entry) { 5811 bool shouldErrorsBeAnalyzed(Source source, Object entry) {
5806 fail("Unexpected invocation of shouldErrorsBeAnalyzed"); 5812 fail("Unexpected invocation of shouldErrorsBeAnalyzed");
5807 return false; 5813 return false;
5808 } 5814 }
5815
5809 @override 5816 @override
5810 void visitCacheItems(void callback(Source source, SourceEntry dartEntry, 5817 void visitCacheItems(void callback(Source source, SourceEntry dartEntry,
5811 DataDescriptor rowDesc, CacheState state)) { 5818 DataDescriptor rowDesc, CacheState state)) {
5812 fail("Unexpected invocation of visitCacheItems"); 5819 fail("Unexpected invocation of visitCacheItems");
5813 } 5820 }
5814 } 5821 }
5815 5822
5816 class TestAnalysisContext_test_applyChanges extends TestAnalysisContext { 5823 class TestAnalysisContext_test_applyChanges extends TestAnalysisContext {
5817 bool invoked = false; 5824 bool invoked = false;
5818 TestAnalysisContext_test_applyChanges(); 5825 TestAnalysisContext_test_applyChanges();
(...skipping 792 matching lines...) Expand 10 before | Expand all | Expand 10 after
6611 @override 6618 @override
6612 bool exists() => true; 6619 bool exists() => true;
6613 } 6620 }
6614 6621
6615 class _UniversalCachePartitionTest_test_setMaxCacheSize 6622 class _UniversalCachePartitionTest_test_setMaxCacheSize
6616 implements CacheRetentionPolicy { 6623 implements CacheRetentionPolicy {
6617 @override 6624 @override
6618 RetentionPriority getAstPriority(Source source, SourceEntry sourceEntry) => 6625 RetentionPriority getAstPriority(Source source, SourceEntry sourceEntry) =>
6619 RetentionPriority.LOW; 6626 RetentionPriority.LOW;
6620 } 6627 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698