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

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

Issue 969113002: Reformat (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 10 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_import_test.dart
diff --git a/pkg/analysis_server/test/services/refactoring/rename_import_test.dart b/pkg/analysis_server/test/services/refactoring/rename_import_test.dart
index f0846cfa776e74a41259b20a34039fdfb950b004..b2a54c63f51dec64b232979b24a6a37a5576662a 100644
--- a/pkg/analysis_server/test/services/refactoring/rename_import_test.dart
+++ b/pkg/analysis_server/test/services/refactoring/rename_import_test.dart
@@ -11,13 +11,11 @@ import 'package:unittest/unittest.dart';
import '../../reflective_tests.dart';
import 'abstract_rename.dart';
-
main() {
groupSep = ' | ';
runReflectiveTests(RenameImportTest);
}
-
@reflectiveTest
class RenameImportTest extends RenameRefactoringTest {
test_checkNewName() {
@@ -27,14 +25,12 @@ class RenameImportTest extends RenameRefactoringTest {
// null
refactoring.newName = null;
assertRefactoringStatus(
- refactoring.checkNewName(),
- RefactoringProblemSeverity.FATAL,
+ refactoring.checkNewName(), RefactoringProblemSeverity.FATAL,
expectedMessage: "Import prefix name must not be null.");
// same
refactoring.newName = 'test';
assertRefactoringStatus(
- refactoring.checkNewName(),
- RefactoringProblemSeverity.FATAL,
+ refactoring.checkNewName(), RefactoringProblemSeverity.FATAL,
expectedMessage: "The new name must be different than the current name.");
// empty
refactoring.newName = '';

Powered by Google App Engine
This is Rietveld 408576698