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

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

Issue 695923003: Tweak test for the new resolved/parsed AST management and restore it. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 2 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analysis_server/test/services/refactoring/rename_unit_member_test.dart
diff --git a/pkg/analysis_server/test/services/refactoring/rename_unit_member_test.dart b/pkg/analysis_server/test/services/refactoring/rename_unit_member_test.dart
index b641ae354934eecb4606018523a8f370ab95f762..f78c21ae57686d20d49c1bd127c5d87117cbc6b9 100644
--- a/pkg/analysis_server/test/services/refactoring/rename_unit_member_test.dart
+++ b/pkg/analysis_server/test/services/refactoring/rename_unit_member_test.dart
@@ -172,10 +172,7 @@ class B extends A {
});
}
- xtest_checkFinalConditions_shadowsInSubClass_notImportedLib() {
- indexTestUnit('''
-class Test {}
-''');
+ test_checkFinalConditions_shadowsInSubClass_notImportedLib() {
indexUnit('/lib.dart', '''
library my.lib;
class A {
@@ -187,6 +184,9 @@ class B extends A {
}",
}
''');
+ indexTestUnit('''
+class Test {}
+''');
createRenameRefactoringAtString('Test {}');
// check status
refactoring.newName = 'NewName';
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698