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/analysis_server/test/analysis/get_errors_test.dart

Issue 2936123002: Convert more tests (Closed)
Patch Set: Created 3 years, 6 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
« no previous file with comments | « no previous file | pkg/analysis_server/test/analysis/notification_analysis_options_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analysis_server/test/analysis/get_errors_test.dart
diff --git a/pkg/analysis_server/test/analysis/get_errors_test.dart b/pkg/analysis_server/test/analysis/get_errors_test.dart
index 63779120eddd7026919e98627f771073bb74d418..76ee3f37174368679084bf695fd3b036e9a0cb96 100644
--- a/pkg/analysis_server/test/analysis/get_errors_test.dart
+++ b/pkg/analysis_server/test/analysis/get_errors_test.dart
@@ -24,9 +24,6 @@ class GetErrorsTest extends AbstractAnalysisTest {
static const String requestId = 'test-getError';
@override
- bool get enableNewAnalysisDriver => false;
-
- @override
void setUp() {
super.setUp();
server.handlers = [
@@ -73,12 +70,16 @@ class A {}
}
}
+ @failingTest
test_fileDoesNotExist() {
+ // Broken under the new driver.
String file = '$projectPath/doesNotExist.dart';
return _checkInvalid(file);
}
+ @failingTest
test_fileWithoutContext() {
+ // Broken under the new driver.
String file = '/outside.dart';
addFile(
file,
@@ -117,7 +118,9 @@ main() {
expect(errors, isEmpty);
}
+ @failingTest
test_removeContextAfterRequest() async {
+ // Broken under the new driver.
addTestFile('''
main() {
print(42)
« no previous file with comments | « no previous file | pkg/analysis_server/test/analysis/notification_analysis_options_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698