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

Side by Side Diff: pkg/analysis_server/test/services/refactoring/naming_conventions_test.dart

Issue 506433002: Finish modifying analysis server to make use of code generation. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 3 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 library test.services.refactoring.naming_conventions; 5 library test.services.refactoring.naming_conventions;
6 6
7 import 'package:analysis_server/src/protocol2.dart' show 7 import 'package:analysis_server/src/protocol.dart' show
8 RefactoringProblemSeverity; 8 RefactoringProblemSeverity;
9 import 'package:analysis_server/src/services/refactoring/naming_conventions.dart '; 9 import 'package:analysis_server/src/services/refactoring/naming_conventions.dart ';
10 import 'package:analysis_server/src/services/refactoring/refactoring.dart'; 10 import 'package:analysis_server/src/services/refactoring/refactoring.dart';
11 import 'package:analysis_testing/reflective_tests.dart'; 11 import 'package:analysis_testing/reflective_tests.dart';
12 import 'package:unittest/unittest.dart'; 12 import 'package:unittest/unittest.dart';
13 13
14 import 'abstract_refactoring.dart'; 14 import 'abstract_refactoring.dart';
15 15
16 16
17 main() { 17 main() {
(...skipping 702 matching lines...) Expand 10 before | Expand all | Expand 10 after
720 expectedMessage: "Variable name must not be null."); 720 expectedMessage: "Variable name must not be null.");
721 } 721 }
722 722
723 void test_validateVariableName_trailingBlanks() { 723 void test_validateVariableName_trailingBlanks() {
724 assertRefactoringStatus( 724 assertRefactoringStatus(
725 validateVariableName("newName "), 725 validateVariableName("newName "),
726 RefactoringProblemSeverity.ERROR, 726 RefactoringProblemSeverity.ERROR,
727 expectedMessage: "Variable name must not start or end with a blank."); 727 expectedMessage: "Variable name must not start or end with a blank.");
728 } 728 }
729 } 729 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698