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

Unified Diff: pkg/analysis_server/test/services/correction/status_test.dart

Issue 2939803002: Convert more tests to use the new driver (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
Index: pkg/analysis_server/test/services/correction/status_test.dart
diff --git a/pkg/analysis_server/test/services/correction/status_test.dart b/pkg/analysis_server/test/services/correction/status_test.dart
index 75559f946a607a46d1586a8aa8b36df5e755c2f4..77454d826616f3a533a7d17cffaf7d99ec4039d9 100644
--- a/pkg/analysis_server/test/services/correction/status_test.dart
+++ b/pkg/analysis_server/test/services/correction/status_test.dart
@@ -24,9 +24,6 @@ main() {
@reflectiveTest
class RefactoringLocationTest extends AbstractSingleUnitTest {
- @override
- bool get enableNewAnalysisDriver => false;
-
test_createLocation_forElement() async {
await resolveTestUnit('class MyClass {}');
Element element = findElement('MyClass');
@@ -39,7 +36,9 @@ class RefactoringLocationTest extends AbstractSingleUnitTest {
expect(location.startColumn, 7);
}
+ @failingTest
test_createLocation_forMatch() async {
+ // The class SearchMatchImpl has not been converted to use the new driver.
await resolveTestUnit('class MyClass {}');
Element element = findElement('MyClass');
SourceRange sourceRange = range.elementName(element);
« no previous file with comments | « pkg/analysis_server/test/integration/coverage.md ('k') | pkg/analysis_server/test/services/correction/util_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698