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

Side by Side Diff: pkg/analysis_services/test/correction/fix_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.fix; 8 library test.services.correction.fix;
9 9
10 import 'package:analysis_services/correction/change.dart'; 10 import 'package:analysis_services/correction/change.dart';
11 import 'package:analysis_services/correction/fix.dart'; 11 import 'package:analysis_services/correction/fix.dart';
12 import 'package:analysis_services/index/index.dart'; 12 import 'package:analysis_services/index/index.dart';
13 import 'package:analysis_services/index/local_memory_index.dart'; 13 import 'package:analysis_services/index/local_memory_index.dart';
14 import 'package:analysis_services/src/search/search_engine.dart'; 14 import 'package:analysis_services/src/search/search_engine.dart';
15 import 'package:analysis_testing/abstract_single_unit.dart';
15 import 'package:analysis_testing/reflective_tests.dart'; 16 import 'package:analysis_testing/reflective_tests.dart';
16 import 'package:analyzer/src/generated/error.dart'; 17 import 'package:analyzer/src/generated/error.dart';
17 import 'package:unittest/unittest.dart'; 18 import 'package:unittest/unittest.dart';
18 19
19 import '../index/abstract_single_unit.dart';
20
21 20
22 main() { 21 main() {
23 groupSep = ' | '; 22 groupSep = ' | ';
24 group('FixProcessorTest', () { 23 group('FixProcessorTest', () {
25 runReflectiveTests(FixProcessorTest); 24 runReflectiveTests(FixProcessorTest);
26 }); 25 });
27 } 26 }
28 27
29 28
30 @ReflectiveTestCase() 29 @ReflectiveTestCase()
(...skipping 485 matching lines...) Expand 10 before | Expand all | Expand 10 after
516 reason: 'Exactly 1 error expected, but ${errors.length} found:\n' + 515 reason: 'Exactly 1 error expected, but ${errors.length} found:\n' +
517 errors.join('\n')); 516 errors.join('\n'));
518 return errors[0]; 517 return errors[0];
519 } 518 }
520 519
521 void _indexTestUnit(String code) { 520 void _indexTestUnit(String code) {
522 resolveTestUnit(code); 521 resolveTestUnit(code);
523 index.indexUnit(context, testUnit); 522 index.indexUnit(context, testUnit);
524 } 523 }
525 } 524 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698