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'); |
- } |
-} |