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

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

Issue 1200913002: Deprecate old HTML support (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: 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 5546 matching lines...) Expand 10 before | Expand all | Expand 10 after
5557 List<AnalysisError> computeErrors(Source source) { 5557 List<AnalysisError> computeErrors(Source source) {
5558 fail("Unexpected invocation of computeErrors"); 5558 fail("Unexpected invocation of computeErrors");
5559 return null; 5559 return null;
5560 } 5560 }
5561 @override 5561 @override
5562 List<Source> computeExportedLibraries(Source source) { 5562 List<Source> computeExportedLibraries(Source source) {
5563 fail("Unexpected invocation of computeExportedLibraries"); 5563 fail("Unexpected invocation of computeExportedLibraries");
5564 return null; 5564 return null;
5565 } 5565 }
5566 @override 5566 @override
5567 @deprecated
5567 HtmlElement computeHtmlElement(Source source) { 5568 HtmlElement computeHtmlElement(Source source) {
5568 fail("Unexpected invocation of computeHtmlElement"); 5569 fail("Unexpected invocation of computeHtmlElement");
5569 return null; 5570 return null;
5570 } 5571 }
5571 @override 5572 @override
5572 List<Source> computeImportedLibraries(Source source) { 5573 List<Source> computeImportedLibraries(Source source) {
5573 fail("Unexpected invocation of computeImportedLibraries"); 5574 fail("Unexpected invocation of computeImportedLibraries");
5574 return null; 5575 return null;
5575 } 5576 }
5576 @override 5577 @override
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
5638 Element getElement(ElementLocation location) { 5639 Element getElement(ElementLocation location) {
5639 fail("Unexpected invocation of getElement"); 5640 fail("Unexpected invocation of getElement");
5640 return null; 5641 return null;
5641 } 5642 }
5642 @override 5643 @override
5643 AnalysisErrorInfo getErrors(Source source) { 5644 AnalysisErrorInfo getErrors(Source source) {
5644 fail("Unexpected invocation of getErrors"); 5645 fail("Unexpected invocation of getErrors");
5645 return null; 5646 return null;
5646 } 5647 }
5647 @override 5648 @override
5649 @deprecated
5648 HtmlElement getHtmlElement(Source source) { 5650 HtmlElement getHtmlElement(Source source) {
5649 fail("Unexpected invocation of getHtmlElement"); 5651 fail("Unexpected invocation of getHtmlElement");
5650 return null; 5652 return null;
5651 } 5653 }
5652 @override 5654 @override
5653 List<Source> getHtmlFilesReferencing(Source source) { 5655 List<Source> getHtmlFilesReferencing(Source source) {
5654 fail("Unexpected invocation of getHtmlFilesReferencing"); 5656 fail("Unexpected invocation of getHtmlFilesReferencing");
5655 return null; 5657 return null;
5656 } 5658 }
5657 @override 5659 @override
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
5705 fail("Unexpected invocation of getResolvedCompilationUnit"); 5707 fail("Unexpected invocation of getResolvedCompilationUnit");
5706 return null; 5708 return null;
5707 } 5709 }
5708 @override 5710 @override
5709 CompilationUnit getResolvedCompilationUnit2( 5711 CompilationUnit getResolvedCompilationUnit2(
5710 Source unitSource, Source librarySource) { 5712 Source unitSource, Source librarySource) {
5711 fail("Unexpected invocation of getResolvedCompilationUnit"); 5713 fail("Unexpected invocation of getResolvedCompilationUnit");
5712 return null; 5714 return null;
5713 } 5715 }
5714 @override 5716 @override
5717 @deprecated
5715 ht.HtmlUnit getResolvedHtmlUnit(Source htmlSource) { 5718 ht.HtmlUnit getResolvedHtmlUnit(Source htmlSource) {
5716 fail("Unexpected invocation of getResolvedHtmlUnit"); 5719 fail("Unexpected invocation of getResolvedHtmlUnit");
5717 return null; 5720 return null;
5718 } 5721 }
5719 @override 5722 @override
5720 List<Source> getSourcesWithFullName(String path) { 5723 List<Source> getSourcesWithFullName(String path) {
5721 fail("Unexpected invocation of getSourcesWithFullName"); 5724 fail("Unexpected invocation of getSourcesWithFullName");
5722 return null; 5725 return null;
5723 } 5726 }
5724 @override 5727 @override
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
5785 } 5788 }
5786 5789
5787 @override 5790 @override
5788 CompilationUnit resolveCompilationUnit2( 5791 CompilationUnit resolveCompilationUnit2(
5789 Source unitSource, Source librarySource) { 5792 Source unitSource, Source librarySource) {
5790 fail("Unexpected invocation of resolveCompilationUnit"); 5793 fail("Unexpected invocation of resolveCompilationUnit");
5791 return null; 5794 return null;
5792 } 5795 }
5793 5796
5794 @override 5797 @override
5798 @deprecated
5795 ht.HtmlUnit resolveHtmlUnit(Source htmlSource) { 5799 ht.HtmlUnit resolveHtmlUnit(Source htmlSource) {
5796 fail("Unexpected invocation of resolveHtmlUnit"); 5800 fail("Unexpected invocation of resolveHtmlUnit");
5797 return null; 5801 return null;
5798 } 5802 }
5799 5803
5800 @override 5804 @override
5801 void setChangedContents(Source source, String contents, int offset, 5805 void setChangedContents(Source source, String contents, int offset,
5802 int oldLength, int newLength) { 5806 int oldLength, int newLength) {
5803 fail("Unexpected invocation of setChangedContents"); 5807 fail("Unexpected invocation of setChangedContents");
5804 } 5808 }
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
5864 List<Source> computeExportedLibraries(Source source) { 5868 List<Source> computeExportedLibraries(Source source) {
5865 invoked = true; 5869 invoked = true;
5866 return null; 5870 return null;
5867 } 5871 }
5868 } 5872 }
5869 5873
5870 class TestAnalysisContext_test_computeHtmlElement extends TestAnalysisContext { 5874 class TestAnalysisContext_test_computeHtmlElement extends TestAnalysisContext {
5871 bool invoked = false; 5875 bool invoked = false;
5872 TestAnalysisContext_test_computeHtmlElement(); 5876 TestAnalysisContext_test_computeHtmlElement();
5873 @override 5877 @override
5878 @deprecated
5874 HtmlElement computeHtmlElement(Source source) { 5879 HtmlElement computeHtmlElement(Source source) {
5875 invoked = true; 5880 invoked = true;
5876 return null; 5881 return null;
5877 } 5882 }
5878 } 5883 }
5879 5884
5880 class TestAnalysisContext_test_computeImportedLibraries 5885 class TestAnalysisContext_test_computeImportedLibraries
5881 extends TestAnalysisContext { 5886 extends TestAnalysisContext {
5882 bool invoked = false; 5887 bool invoked = false;
5883 TestAnalysisContext_test_computeImportedLibraries(); 5888 TestAnalysisContext_test_computeImportedLibraries();
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
5998 AnalysisErrorInfo getErrors(Source source) { 6003 AnalysisErrorInfo getErrors(Source source) {
5999 invoked = true; 6004 invoked = true;
6000 return new AnalysisErrorInfoImpl(AnalysisError.NO_ERRORS, null); 6005 return new AnalysisErrorInfoImpl(AnalysisError.NO_ERRORS, null);
6001 } 6006 }
6002 } 6007 }
6003 6008
6004 class TestAnalysisContext_test_getHtmlElement extends TestAnalysisContext { 6009 class TestAnalysisContext_test_getHtmlElement extends TestAnalysisContext {
6005 bool invoked = false; 6010 bool invoked = false;
6006 TestAnalysisContext_test_getHtmlElement(); 6011 TestAnalysisContext_test_getHtmlElement();
6007 @override 6012 @override
6013 @deprecated
6008 HtmlElement getHtmlElement(Source source) { 6014 HtmlElement getHtmlElement(Source source) {
6009 invoked = true; 6015 invoked = true;
6010 return null; 6016 return null;
6011 } 6017 }
6012 } 6018 }
6013 6019
6014 class TestAnalysisContext_test_getHtmlFilesReferencing 6020 class TestAnalysisContext_test_getHtmlFilesReferencing
6015 extends TestAnalysisContext { 6021 extends TestAnalysisContext {
6016 bool invoked = false; 6022 bool invoked = false;
6017 TestAnalysisContext_test_getHtmlFilesReferencing(); 6023 TestAnalysisContext_test_getHtmlFilesReferencing();
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
6169 Source unitSource, Source librarySource) { 6175 Source unitSource, Source librarySource) {
6170 invoked = true; 6176 invoked = true;
6171 return null; 6177 return null;
6172 } 6178 }
6173 } 6179 }
6174 6180
6175 class TestAnalysisContext_test_getResolvedHtmlUnit extends TestAnalysisContext { 6181 class TestAnalysisContext_test_getResolvedHtmlUnit extends TestAnalysisContext {
6176 bool invoked = false; 6182 bool invoked = false;
6177 TestAnalysisContext_test_getResolvedHtmlUnit(); 6183 TestAnalysisContext_test_getResolvedHtmlUnit();
6178 @override 6184 @override
6185 @deprecated
6179 ht.HtmlUnit getResolvedHtmlUnit(Source htmlSource) { 6186 ht.HtmlUnit getResolvedHtmlUnit(Source htmlSource) {
6180 invoked = true; 6187 invoked = true;
6181 return null; 6188 return null;
6182 } 6189 }
6183 } 6190 }
6184 6191
6185 class TestAnalysisContext_test_getSourceFactory extends TestAnalysisContext { 6192 class TestAnalysisContext_test_getSourceFactory extends TestAnalysisContext {
6186 bool invoked = false; 6193 bool invoked = false;
6187 TestAnalysisContext_test_getSourceFactory(); 6194 TestAnalysisContext_test_getSourceFactory();
6188 @override 6195 @override
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
6304 Source unitSource, LibraryElement library) { 6311 Source unitSource, LibraryElement library) {
6305 invoked = true; 6312 invoked = true;
6306 return null; 6313 return null;
6307 } 6314 }
6308 } 6315 }
6309 6316
6310 class TestAnalysisContext_test_resolveHtmlUnit extends TestAnalysisContext { 6317 class TestAnalysisContext_test_resolveHtmlUnit extends TestAnalysisContext {
6311 bool invoked = false; 6318 bool invoked = false;
6312 TestAnalysisContext_test_resolveHtmlUnit(); 6319 TestAnalysisContext_test_resolveHtmlUnit();
6313 @override 6320 @override
6321 @deprecated
6314 ht.HtmlUnit resolveHtmlUnit(Source htmlSource) { 6322 ht.HtmlUnit resolveHtmlUnit(Source htmlSource) {
6315 invoked = true; 6323 invoked = true;
6316 return null; 6324 return null;
6317 } 6325 }
6318 } 6326 }
6319 6327
6320 class TestAnalysisContext_test_setAnalysisOptions extends TestAnalysisContext { 6328 class TestAnalysisContext_test_setAnalysisOptions extends TestAnalysisContext {
6321 bool invoked = false; 6329 bool invoked = false;
6322 TestAnalysisContext_test_setAnalysisOptions(); 6330 TestAnalysisContext_test_setAnalysisOptions();
6323 @override 6331 @override
(...skipping 300 matching lines...) Expand 10 before | Expand all | Expand 10 after
6624 @override 6632 @override
6625 bool exists() => true; 6633 bool exists() => true;
6626 } 6634 }
6627 6635
6628 class _UniversalCachePartitionTest_test_setMaxCacheSize 6636 class _UniversalCachePartitionTest_test_setMaxCacheSize
6629 implements CacheRetentionPolicy { 6637 implements CacheRetentionPolicy {
6630 @override 6638 @override
6631 RetentionPriority getAstPriority(Source source, SourceEntry sourceEntry) => 6639 RetentionPriority getAstPriority(Source source, SourceEntry sourceEntry) =>
6632 RetentionPriority.LOW; 6640 RetentionPriority.LOW;
6633 } 6641 }
OLDNEW
« no previous file with comments | « pkg/analyzer/lib/src/generated/engine.dart ('k') | pkg/analyzer/test/src/context/context_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698