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

Unified Diff: pkg/analysis_server/test/services/refactoring/rename_library_test.dart

Issue 2935733003: Remove some unnecessary tests for non-driver mode (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/refactoring/rename_library_test.dart
diff --git a/pkg/analysis_server/test/services/refactoring/rename_library_test.dart b/pkg/analysis_server/test/services/refactoring/rename_library_test.dart
index 860d6f4a42791b812c8a4d2fbf98233737a369c3..3d249bc28cdcc1f78316710950181ec5e440f691 100644
--- a/pkg/analysis_server/test/services/refactoring/rename_library_test.dart
+++ b/pkg/analysis_server/test/services/refactoring/rename_library_test.dart
@@ -50,9 +50,6 @@ part of my.app;
library my.app;
part 'part.dart';
''');
- if (!enableNewAnalysisDriver) {
- index.indexUnit(context.resolveCompilationUnit2(unitSource, testSource));
- }
// configure refactoring
_createRenameRefactoring();
expect(refactoring.refactoringName, 'Rename Library');
@@ -80,9 +77,6 @@ part of my . app;
library my . app;
part 'part.dart';
''');
- if (!enableNewAnalysisDriver) {
- index.indexUnit(context.resolveCompilationUnit2(unitSource, testSource));
- }
// configure refactoring
_createRenameRefactoring();
expect(refactoring.refactoringName, 'Rename Library');
« no previous file with comments | « pkg/analysis_server/test/services/correction/fix_test.dart ('k') | pkg/analysis_server/test/stress/utilities/server.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698