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

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

Issue 1487953002: 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 a9a7ab13bc96ca679c65154d09e3f3835c029ac2..558b7c2bc8cc6ca0fc2335e96dcdf22c385b93df 100644
--- a/pkg/analyzer/test/generated/all_the_rest_test.dart
+++ b/pkg/analyzer/test/generated/all_the_rest_test.dart
@@ -877,14 +877,13 @@ class ConstantEvaluatorTest extends ResolverTestCase {
}
@reflectiveTest
-class ConstantFinderTest extends EngineTestCase {
+class ConstantFinderTest {
AstNode _node;
TypeProvider _typeProvider;
AnalysisContext _context;
Source _source;
void setUp() {
- super.setUp();
_typeProvider = new TestTypeProvider();
_context = new TestAnalysisContext_ConstantFinderTest();
_source = new TestSource();
@@ -8649,17 +8648,15 @@ class HtmlTagInfoBuilderTest extends HtmlParserTest {
}
@reflectiveTest
-class HtmlUnitBuilderTest extends EngineTestCase {
+class HtmlUnitBuilderTest {
InternalAnalysisContext _context;
- @override
+
void setUp() {
_context = AnalysisContextFactory.contextWithCore();
}
- @override
void tearDown() {
_context = null;
- super.tearDown();
}
void test_embedded_script() {
@@ -8794,7 +8791,7 @@ class HtmlUnitBuilderTest_ExpectedVariable {
* Instances of the class `HtmlWarningCodeTest` test the generation of HTML warning codes.
*/
@reflectiveTest
-class HtmlWarningCodeTest extends EngineTestCase {
+class HtmlWarningCodeTest {
/**
* The analysis context used to resolve the HTML files.
*/
@@ -8809,17 +8806,15 @@ class HtmlWarningCodeTest extends EngineTestCase {
* 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() {
@@ -8896,11 +8891,11 @@ class MockDartSdk implements DartSdk {
}
@reflectiveTest
-class ReferenceFinderTest extends EngineTestCase {
+class ReferenceFinderTest {
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