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

Unified Diff: pkg/analysis_server/test/search/top_level_declarations_test.dart

Issue 2868353002: Enable analysis driver in tests where possible (Closed)
Patch Set: Created 3 years, 7 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/search/top_level_declarations_test.dart
diff --git a/pkg/analysis_server/test/search/top_level_declarations_test.dart b/pkg/analysis_server/test/search/top_level_declarations_test.dart
index a155e0723662c8b1ea675c2131967200e5945833..22216a6b9d8143be9fa552f13c8b70210e5c5478 100644
--- a/pkg/analysis_server/test/search/top_level_declarations_test.dart
+++ b/pkg/analysis_server/test/search/top_level_declarations_test.dart
@@ -56,6 +56,12 @@ class TopLevelDeclarationsTest extends AbstractSearchDomainTest {
return null;
}
+ @override
+ void setUp() {
+ enableNewAnalysisDriver = true;
+ super.setUp();
+ }
+
test_invalidRegex() async {
var result = await findTopLevelDeclarations('[A');
expect(result, new isInstanceOf<RequestError>());

Powered by Google App Engine
This is Rietveld 408576698