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

Unified Diff: pkg/analyzer/test/generated/all_the_rest_test.dart

Issue 1150863007: Remove many explicit references to AnalysisContextImpl and enable testing of the new task model (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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/analysis_server/test/context_manager_test.dart ('k') | pkg/analyzer/test/generated/element_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/test/generated/all_the_rest_test.dart
diff --git a/pkg/analyzer/test/generated/all_the_rest_test.dart b/pkg/analyzer/test/generated/all_the_rest_test.dart
index 68cf294354ef0a308d5103262e9b71cf70a0b73f..248ea3d3598e553d2850fb50c540f9f6366cf07d 100644
--- a/pkg/analyzer/test/generated/all_the_rest_test.dart
+++ b/pkg/analyzer/test/generated/all_the_rest_test.dart
@@ -7881,7 +7881,7 @@ class HtmlTagInfoBuilderTest extends HtmlParserTest {
@reflectiveTest
class HtmlUnitBuilderTest extends EngineTestCase {
- AnalysisContextImpl _context;
+ InternalAnalysisContext _context;
@override
void setUp() {
_context = AnalysisContextFactory.contextWithCore();
@@ -8010,14 +8010,9 @@ class HtmlUnitBuilderTest_ExpectedVariable {
@reflectiveTest
class HtmlWarningCodeTest extends EngineTestCase {
/**
- * The source factory used to create the sources to be resolved.
- */
- SourceFactory _sourceFactory;
-
- /**
* The analysis context used to resolve the HTML files.
*/
- AnalysisContextImpl _context;
+ InternalAnalysisContext _context;
/**
* The contents of the 'test.html' file.
@@ -8030,14 +8025,11 @@ class HtmlWarningCodeTest extends EngineTestCase {
List<AnalysisError> _errors;
@override
void setUp() {
- _sourceFactory = new SourceFactory([new FileUriResolver()]);
- _context = new AnalysisContextImpl();
- _context.sourceFactory = _sourceFactory;
+ _context = AnalysisContextFactory.contextWithCore();
}
@override
void tearDown() {
- _sourceFactory = null;
_context = null;
_contents = null;
_errors = null;
« no previous file with comments | « pkg/analysis_server/test/context_manager_test.dart ('k') | pkg/analyzer/test/generated/element_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698