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

Side by Side Diff: pkg/analysis_services/test/correction/name_suggestion_test.dart

Issue 402333006: Implementation of the 'edit.getFixes' API in server. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 5 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 // This code was auto-generated, is not intended to be edited, and is subject to 5 // This code was auto-generated, is not intended to be edited, and is subject to
6 // significant change. Please see the README file for more information. 6 // significant change. Please see the README file for more information.
7 7
8 library test.services.correction.name_suggestion; 8 library test.services.correction.name_suggestion;
9 9
10 import 'package:analysis_services/src/correction/name_suggestion.dart'; 10 import 'package:analysis_services/src/correction/name_suggestion.dart';
11 import 'package:analysis_testing/abstract_single_unit.dart';
11 import 'package:analysis_testing/reflective_tests.dart'; 12 import 'package:analysis_testing/reflective_tests.dart';
12 import 'package:analyzer/src/generated/ast.dart'; 13 import 'package:analyzer/src/generated/ast.dart';
13 import 'package:analyzer/src/generated/element.dart'; 14 import 'package:analyzer/src/generated/element.dart';
14 import 'package:unittest/unittest.dart' hide isEmpty; 15 import 'package:unittest/unittest.dart' hide isEmpty;
15 16
16 import '../index/abstract_single_unit.dart';
17
18 17
19 main() { 18 main() {
20 groupSep = ' | '; 19 groupSep = ' | ';
21 group('source_range', () { 20 group('source_range', () {
22 runReflectiveTests(VariableNameSuggestionTest); 21 runReflectiveTests(VariableNameSuggestionTest);
23 }); 22 });
24 } 23 }
25 24
26 25
27 @ReflectiveTestCase() 26 @ReflectiveTestCase()
(...skipping 345 matching lines...) Expand 10 before | Expand all | Expand 10 after
373 void test_getCamelWords_simpleCamel() { 372 void test_getCamelWords_simpleCamel() {
374 expect( 373 expect(
375 getCamelWords('mySimpleText'), 374 getCamelWords('mySimpleText'),
376 unorderedEquals(['my', 'Simple', 'Text'])); 375 unorderedEquals(['my', 'Simple', 'Text']));
377 } 376 }
378 377
379 void test_getCamelWords_simpleName() { 378 void test_getCamelWords_simpleName() {
380 expect(getCamelWords('name'), unorderedEquals(['name'])); 379 expect(getCamelWords('name'), unorderedEquals(['name']));
381 } 380 }
382 } 381 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698