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

Unified Diff: pkg/analysis_server/test/integration/server/shutdown_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/server/shutdown_test.dart
diff --git a/pkg/analysis_server/test/integration/server/shutdown_test.dart b/pkg/analysis_server/test/integration/server/shutdown_test.dart
index c919d4e19d308c69ba797e41c9b0bb454b823540..53a01a9d59e1da9df77746f808cb49b38689d71a 100644
--- a/pkg/analysis_server/test/integration/server/shutdown_test.dart
+++ b/pkg/analysis_server/test/integration/server/shutdown_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.server.shutdown;
-
import 'dart:async';
import 'package:test/test.dart';
@@ -13,12 +11,12 @@ import '../integration_tests.dart';
main() {
defineReflectiveSuite(() {
- defineReflectiveTests(Test);
+ defineReflectiveTests(ShutdownTest);
+ defineReflectiveTests(ShutdownTest_Driver);
});
}
-@reflectiveTest
-class Test extends AbstractAnalysisServerIntegrationTest {
+class AbstractShutdownTest extends AbstractAnalysisServerIntegrationTest {
test_shutdown() {
return sendServerShutdown().then((_) {
return new Future.delayed(new Duration(seconds: 1)).then((_) {
@@ -31,3 +29,12 @@ class Test extends AbstractAnalysisServerIntegrationTest {
});
}
}
+
+@reflectiveTest
+class ShutdownTest extends AbstractShutdownTest {}
+
+@reflectiveTest
+class ShutdownTest_Driver extends AbstractShutdownTest {
+ @override
+ bool get enableNewAnalysisDriver => true;
+}

Powered by Google App Engine
This is Rietveld 408576698