| OLD | NEW |
| 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/abstract_single_unit.dart'; |
| 12 import 'package:analysis_testing/reflective_tests.dart'; | 12 import 'package:analysis_testing/reflective_tests.dart'; |
| 13 import 'package:analyzer/src/generated/ast.dart'; | 13 import 'package:analyzer/src/generated/ast.dart'; |
| 14 import 'package:analyzer/src/generated/element.dart'; | 14 import 'package:analyzer/src/generated/element.dart'; |
| 15 import 'package:unittest/unittest.dart' hide isEmpty; | 15 import 'package:unittest/unittest.dart'; |
| 16 | 16 |
| 17 | 17 |
| 18 main() { | 18 main() { |
| 19 groupSep = ' | '; | 19 groupSep = ' | '; |
| 20 runReflectiveTests(VariableNameSuggestionTest); | 20 runReflectiveTests(VariableNameSuggestionTest); |
| 21 } | 21 } |
| 22 | 22 |
| 23 | 23 |
| 24 @ReflectiveTestCase() | 24 @ReflectiveTestCase() |
| 25 class VariableNameSuggestionTest extends AbstractSingleUnitTest { | 25 class VariableNameSuggestionTest extends AbstractSingleUnitTest { |
| (...skipping 344 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 370 void test_getCamelWords_simpleCamel() { | 370 void test_getCamelWords_simpleCamel() { |
| 371 expect( | 371 expect( |
| 372 getCamelWords('mySimpleText'), | 372 getCamelWords('mySimpleText'), |
| 373 unorderedEquals(['my', 'Simple', 'Text'])); | 373 unorderedEquals(['my', 'Simple', 'Text'])); |
| 374 } | 374 } |
| 375 | 375 |
| 376 void test_getCamelWords_simpleName() { | 376 void test_getCamelWords_simpleName() { |
| 377 expect(getCamelWords('name'), unorderedEquals(['name'])); | 377 expect(getCamelWords('name'), unorderedEquals(['name'])); |
| 378 } | 378 } |
| 379 } | 379 } |
| OLD | NEW |