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

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

Issue 2884593003: Reverse the sense of the flag to make it easier to find test that need to be converted (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/element_references_test.dart
diff --git a/pkg/analysis_server/test/search/element_references_test.dart b/pkg/analysis_server/test/search/element_references_test.dart
index 71c29f993e2eec835e20bfe5e4af4db5e521853b..e21ec9a39a6c7dd700cf9d3e27c3459966e95bc0 100644
--- a/pkg/analysis_server/test/search/element_references_test.dart
+++ b/pkg/analysis_server/test/search/element_references_test.dart
@@ -21,6 +21,9 @@ main() {
class ElementReferencesTest extends AbstractSearchDomainTest {
Element searchElement;
+ @override
+ bool get enableNewAnalysisDriver => false;
+
void assertHasRef(SearchResultKind kind, String search, bool isPotential) {
assertHasResult(kind, search);
expect(result.isPotential, isPotential);
@@ -43,12 +46,6 @@ class ElementReferencesTest extends AbstractSearchDomainTest {
expect(serverErrors, isEmpty);
}
- @override
- void setUp() {
- enableNewAnalysisDriver = false;
- super.setUp();
- }
-
test_constructor_named() async {
addTestFile('''
class A {

Powered by Google App Engine
This is Rietveld 408576698