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

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

Issue 1465983004: Revert "Clean-up the registration of plugins" (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 years, 1 month 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/analyzer/lib/src/generated/engine.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 558b7c2bc8cc6ca0fc2335e96dcdf22c385b93df..a9a7ab13bc96ca679c65154d09e3f3835c029ac2 100644
--- a/pkg/analyzer/test/generated/all_the_rest_test.dart
+++ b/pkg/analyzer/test/generated/all_the_rest_test.dart
@@ -877,13 +877,14 @@ class ConstantEvaluatorTest extends ResolverTestCase {
}
@reflectiveTest
-class ConstantFinderTest {
+class ConstantFinderTest extends EngineTestCase {
AstNode _node;
TypeProvider _typeProvider;
AnalysisContext _context;
Source _source;
void setUp() {
+ super.setUp();
_typeProvider = new TestTypeProvider();
_context = new TestAnalysisContext_ConstantFinderTest();
_source = new TestSource();
@@ -8648,15 +8649,17 @@ class HtmlTagInfoBuilderTest extends HtmlParserTest {
}
@reflectiveTest
-class HtmlUnitBuilderTest {
+class HtmlUnitBuilderTest extends EngineTestCase {
InternalAnalysisContext _context;
-
+ @override
void setUp() {
_context = AnalysisContextFactory.contextWithCore();
}
+ @override
void tearDown() {
_context = null;
+ super.tearDown();
}
void test_embedded_script() {
@@ -8791,7 +8794,7 @@ class HtmlUnitBuilderTest_ExpectedVariable {
* Instances of the class `HtmlWarningCodeTest` test the generation of HTML warning codes.
*/
@reflectiveTest
-class HtmlWarningCodeTest {
+class HtmlWarningCodeTest extends EngineTestCase {
/**
* The analysis context used to resolve the HTML files.
*/
@@ -8806,15 +8809,17 @@ class HtmlWarningCodeTest {
* The list of reported errors.
*/
List<AnalysisError> _errors;
-
+ @override
void setUp() {
_context = AnalysisContextFactory.contextWithCore();
}
+ @override
void tearDown() {
_context = null;
_contents = null;
_errors = null;
+ super.tearDown();
}
void test_invalidUri() {
@@ -8891,11 +8896,11 @@ class MockDartSdk implements DartSdk {
}
@reflectiveTest
-class ReferenceFinderTest {
+class ReferenceFinderTest extends EngineTestCase {
DirectedGraph<ConstantEvaluationTarget> _referenceGraph;
VariableElement _head;
Element _tail;
-
+ @override
void setUp() {
_referenceGraph = new DirectedGraph<ConstantEvaluationTarget>();
_head = ElementFactory.topLevelVariableElement2("v1");
« no previous file with comments | « pkg/analyzer/lib/src/generated/engine.dart ('k') | pkg/analyzer/test/generated/element_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698