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

Unified Diff: pkg/analysis_server/test/integration/analysis/lint_test.dart

Issue 2564863003: Get all integration tests running with the new driver (Closed)
Patch Set: Created 4 years 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
Index: pkg/analysis_server/test/integration/analysis/lint_test.dart
diff --git a/pkg/analysis_server/test/integration/analysis/lint_test.dart b/pkg/analysis_server/test/integration/analysis/lint_test.dart
index b8d212eccea7a16440651c2b2d6aeaee3d31d632..0a41fbf25afb5d8081ac1ac0ac0cc57bc58d823b 100644
--- a/pkg/analysis_server/test/integration/analysis/lint_test.dart
+++ b/pkg/analysis_server/test/integration/analysis/lint_test.dart
@@ -2,8 +2,6 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-library test.integration.analysis.lint;
-
import 'package:analysis_server/plugin/protocol/protocol.dart';
import 'package:analyzer/src/generated/engine.dart';
import 'package:test/test.dart';
@@ -14,11 +12,12 @@ import '../integration_tests.dart';
main() {
defineReflectiveSuite(() {
defineReflectiveTests(LintIntegrationTest);
+ defineReflectiveTests(LintIntegrationTest_Driver);
});
}
-@reflectiveTest
-class LintIntegrationTest extends AbstractAnalysisServerIntegrationTest {
+class AbstractLintIntegrationTest
+ extends AbstractAnalysisServerIntegrationTest {
test_no_lints_when_not_specified() async {
String source = sourcePath('test.dart');
writeFile(
@@ -93,3 +92,12 @@ class a { // lint: not CamelCase
expect(error.type, AnalysisErrorType.LINT);
}
}
+
+@reflectiveTest
+class LintIntegrationTest extends AbstractLintIntegrationTest {}
+
+@reflectiveTest
+class LintIntegrationTest_Driver extends AbstractLintIntegrationTest {
+ @override
+ bool get enableNewAnalysisDriver => true;
+}

Powered by Google App Engine
This is Rietveld 408576698