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

Side by Side Diff: pkg/analysis_server/test/analysis_server_test.dart

Issue 849863002: Replace @ReflectiveTestCase() with @reflectiveTest. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 11 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.analysis_server; 5 library test.analysis_server;
6 6
7 import 'dart:async'; 7 import 'dart:async';
8 8
9 import 'package:analysis_server/src/analysis_server.dart'; 9 import 'package:analysis_server/src/analysis_server.dart';
10 import 'package:analysis_server/src/constants.dart'; 10 import 'package:analysis_server/src/constants.dart';
(...skipping 11 matching lines...) Expand all
22 22
23 import 'mock_sdk.dart'; 23 import 'mock_sdk.dart';
24 import 'mocks.dart'; 24 import 'mocks.dart';
25 import 'reflective_tests.dart'; 25 import 'reflective_tests.dart';
26 26
27 main() { 27 main() {
28 groupSep = ' | '; 28 groupSep = ' | ';
29 runReflectiveTests(AnalysisServerTest); 29 runReflectiveTests(AnalysisServerTest);
30 } 30 }
31 31
32 @ReflectiveTestCase() 32 @reflectiveTest
33 class AnalysisServerTest { 33 class AnalysisServerTest {
34 MockServerChannel channel; 34 MockServerChannel channel;
35 AnalysisServer server; 35 AnalysisServer server;
36 MemoryResourceProvider resourceProvider; 36 MemoryResourceProvider resourceProvider;
37 37
38 /** 38 /**
39 * Verify that getAnalysisContextForSource returns the correct contexts even 39 * Verify that getAnalysisContextForSource returns the correct contexts even
40 * for sources that are included by multiple contexts. 40 * for sources that are included by multiple contexts.
41 * 41 *
42 * See dartbug.com/21898 42 * See dartbug.com/21898
(...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after
332 @override 332 @override
333 Response handleRequest(Request request) { 333 Response handleRequest(Request request) {
334 if (request.method == 'echo') { 334 if (request.method == 'echo') {
335 return new Response(request.id, result: { 335 return new Response(request.id, result: {
336 'echo': true 336 'echo': true
337 }); 337 });
338 } 338 }
339 return null; 339 return null;
340 } 340 }
341 } 341 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698