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

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

Issue 2820893002: Make the analysis server integration tests driver only. (Closed)
Patch Set: uncomment test code Created 3 years, 8 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
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 b43679ede2ba12dd5b49290a0e5694e528bb38cb..f8cda5df48e046d6e617b6a4ec2bed3043cc6fb6 100644
--- a/pkg/analysis_server/test/integration/analysis/analysis_options_test.dart
+++ b/pkg/analysis_server/test/integration/analysis/analysis_options_test.dart
@@ -12,13 +12,18 @@ import '../integration_tests.dart';
main() {
defineReflectiveSuite(() {
defineReflectiveTests(OptionsIntegrationTest);
- defineReflectiveTests(OptionsIntegrationTest_Driver);
});
}
-class AbstractOptionsIntegrationTest
- extends AbstractAnalysisServerIntegrationTest {
+@reflectiveTest
+class OptionsIntegrationTest extends AbstractAnalysisServerIntegrationTest {
+ @failingTest
test_option_warning_newOptionFile() async {
+ // TimeoutException after 0:00:30.000000: Test timed out after 30 seconds
+ // (#28868).
+
+ fail('test timeout expected - #28868');
+
String options = sourcePath(AnalysisEngine.ANALYSIS_OPTIONS_YAML_FILE);
writeFile(
options,
@@ -45,7 +50,13 @@ linter:
expect(error.location.startColumn, 7);
}
+ @failingTest
test_option_warning_oldOptionFile() async {
+ // TimeoutException after 0:00:30.000000: Test timed out after 30 seconds
+ // (#28868).
+
+ fail('test timeout expected - #28868');
+
String options = sourcePath(AnalysisEngine.ANALYSIS_OPTIONS_FILE);
writeFile(
options,
@@ -72,28 +83,3 @@ 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
- // (#28868).
- //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
- // (#28868).
- //return super.test_option_warning_oldOptionFile();
- fail('Test timed out');
- }
-}
« no previous file with comments | « pkg/analysis_server/analysis_server.iml ('k') | pkg/analysis_server/test/integration/analysis/error_driver_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698