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

Side by Side Diff: pkg/analysis_services/test/search/hierarchy_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 // 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.src.search.hierarchy; 8 library test.services.src.search.hierarchy;
9 9
10 import 'dart:async'; 10 import 'dart:async';
11 11
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/search/hierarchy.dart'; 14 import 'package:analysis_services/search/hierarchy.dart';
15 import 'package:analysis_services/src/search/search_engine.dart'; 15 import 'package:analysis_services/src/search/search_engine.dart';
16 import 'package:analysis_testing/abstract_single_unit.dart'; 16 import 'package:analysis_testing/abstract_single_unit.dart';
17 import 'package:analysis_testing/reflective_tests.dart'; 17 import 'package:analysis_testing/reflective_tests.dart';
18 import 'package:analyzer/src/generated/element.dart'; 18 import 'package:analyzer/src/generated/element.dart';
19 import 'package:unittest/unittest.dart'; 19 import 'package:unittest/unittest.dart';
20 20
21 21
22 main() { 22 main() {
23 groupSep = ' | '; 23 groupSep = ' | ';
24 group('HierarchyTest', () { 24 runReflectiveTests(HierarchyTest);
25 runReflectiveTests(HierarchyTest);
26 });
27 } 25 }
28 26
29 27
30 @ReflectiveTestCase() 28 @ReflectiveTestCase()
31 class HierarchyTest extends AbstractSingleUnitTest { 29 class HierarchyTest extends AbstractSingleUnitTest {
32 Index index; 30 Index index;
33 SearchEngineImpl searchEngine; 31 SearchEngineImpl searchEngine;
34 32
35 void setUp() { 33 void setUp() {
36 super.setUp(); 34 super.setUp();
(...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after
290 Set<ClassElement> supers = getSuperClasses(classF); 288 Set<ClassElement> supers = getSuperClasses(classF);
291 expect(supers, unorderedEquals([objectElement, classA])); 289 expect(supers, unorderedEquals([objectElement, classA]));
292 } 290 }
293 } 291 }
294 292
295 void _indexTestUnit(String code) { 293 void _indexTestUnit(String code) {
296 resolveTestUnit(code); 294 resolveTestUnit(code);
297 index.indexUnit(context, testUnit); 295 index.indexUnit(context, testUnit);
298 } 296 }
299 } 297 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698