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

Unified Diff: pkg/analysis_server/test/integration/analysis/analysis_options_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
« no previous file with comments | « no previous file | pkg/analysis_server/test/integration/analysis/error_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analysis_server/test/integration/analysis/analysis_options_test.dart
diff --git a/pkg/analysis_server/test/integration/analysis/analysis_options_test.dart b/pkg/analysis_server/test/integration/analysis/analysis_options_test.dart
index a2ea8e729836c3bc27ecaaf4c08a51cb490ee8e4..3216977f944b100eb3935687865bcc60315f6d09 100644
--- a/pkg/analysis_server/test/integration/analysis/analysis_options_test.dart
+++ b/pkg/analysis_server/test/integration/analysis/analysis_options_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.analysis_options_test;
-
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(OptionsIntegrationTest);
+ defineReflectiveTests(OptionsIntegrationTest_Driver);
});
}
-@reflectiveTest
-class OptionsIntegrationTest extends AbstractAnalysisServerIntegrationTest {
+class AbstractOptionsIntegrationTest
+ extends AbstractAnalysisServerIntegrationTest {
test_option_warning_newOptionFile() async {
String options = sourcePath(AnalysisEngine.ANALYSIS_OPTIONS_YAML_FILE);
writeFile(
@@ -73,3 +72,26 @@ linter:
expect(error.location.startColumn, 7);
}
}
+
+@reflectiveTest
+class OptionsIntegrationTest extends AbstractOptionsIntegrationTest {}
+
+@reflectiveTest
+class OptionsIntegrationTest_Driver extends AbstractOptionsIntegrationTest {
+ @override
+ bool get enableNewAnalysisDriver => true;
+
+ @failingTest
+ test_option_warning_newOptionFile() async {
+ // TimeoutException after 0:00:30.000000: Test timed out after 30 seconds.
+ //return super.test_option_warning_newOptionFile();
+ fail('Test timed out');
+ }
+
+ @failingTest
+ test_option_warning_oldOptionFile() async {
+ // TimeoutException after 0:00:30.000000: Test timed out after 30 seconds.
+ //return super.test_option_warning_oldOptionFile();
+ fail('Test timed out');
+ }
+}
« no previous file with comments | « no previous file | pkg/analysis_server/test/integration/analysis/error_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698