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

Side by Side Diff: pkg/analysis_server/test/edit/fixes_test.dart

Issue 419563002: Remove any 'group' invocations enclosing 'runReflectiveTests'. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 4 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.edit.fixes; 5 library test.edit.fixes;
6 6
7 import 'dart:async'; 7 import 'dart:async';
8 8
9 import 'package:analysis_server/src/computer/element.dart'; 9 import 'package:analysis_server/src/computer/element.dart';
10 import 'package:analysis_server/src/computer/error.dart'; 10 import 'package:analysis_server/src/computer/error.dart';
11 import 'package:analysis_server/src/constants.dart'; 11 import 'package:analysis_server/src/constants.dart';
12 import 'package:analysis_server/src/edit/edit_domain.dart'; 12 import 'package:analysis_server/src/edit/edit_domain.dart';
13 import 'package:analysis_server/src/edit/fix.dart'; 13 import 'package:analysis_server/src/edit/fix.dart';
14 import 'package:analysis_server/src/protocol.dart'; 14 import 'package:analysis_server/src/protocol.dart';
15 import 'package:analysis_services/constants.dart'; 15 import 'package:analysis_services/constants.dart';
16 import 'package:analysis_services/correction/change.dart'; 16 import 'package:analysis_services/correction/change.dart';
17 import 'package:analysis_testing/reflective_tests.dart'; 17 import 'package:analysis_testing/reflective_tests.dart';
18 import 'package:unittest/unittest.dart'; 18 import 'package:unittest/unittest.dart';
19 19
20 import '../analysis_abstract.dart'; 20 import '../analysis_abstract.dart';
21 21
22 22
23 main() { 23 main() {
24 groupSep = ' | '; 24 groupSep = ' | ';
25 group('getFixes', () { 25 runReflectiveTests(FixesTest);
26 runReflectiveTests(FixesTest);
27 });
28 } 26 }
29 27
30 28
31 @ReflectiveTestCase() 29 @ReflectiveTestCase()
32 class FixesTest extends AbstractAnalysisTest { 30 class FixesTest extends AbstractAnalysisTest {
33 @override 31 @override
34 void setUp() { 32 void setUp() {
35 super.setUp(); 33 super.setUp();
36 createProject(); 34 createProject();
37 handler = new EditDomainHandler(server); 35 handler = new EditDomainHandler(server);
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 expect(fileEdit.file, testFile); 75 expect(fileEdit.file, testFile);
78 expect( 76 expect(
79 fileEdit.edits.toString(), 77 fileEdit.edits.toString(),
80 "[Edit(offset=20, length=0, replacement=:>;<:)]"); 78 "[Edit(offset=20, length=0, replacement=:>;<:)]");
81 } 79 }
82 } 80 }
83 } 81 }
84 }); 82 });
85 } 83 }
86 } 84 }
OLDNEW
« no previous file with comments | « pkg/analysis_server/test/edit/fix_test.dart ('k') | pkg/analysis_server/test/operation/operation_analysis_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698