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

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

Issue 209003005: utility for manually running all analysis_server tests (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: merge Created 6 years, 8 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
« no previous file with comments | « no previous file | pkg/analysis_server/test/test_all.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/domain_server.dart'; 10 import 'package:analysis_server/src/domain_server.dart';
11 import 'package:analysis_server/src/protocol.dart'; 11 import 'package:analysis_server/src/protocol.dart';
12 import 'package:unittest/unittest.dart'; 12 import 'package:unittest/unittest.dart';
13 13
14 import 'mocks.dart'; 14 import 'mocks.dart';
15 15
16 main(List<String> args) { 16 main() {
17 group('AnalysisServer', () { 17 group('AnalysisServer', () {
18 setUp(AnalysisServerTest.setUp); 18 setUp(AnalysisServerTest.setUp);
19 // test('createContext', AnalysisServerTest.createContext); 19 // test('createContext', AnalysisServerTest.createContext);
20 test('echo', AnalysisServerTest.echo); 20 test('echo', AnalysisServerTest.echo);
21 test('shutdown', AnalysisServerTest.shutdown); 21 test('shutdown', AnalysisServerTest.shutdown);
22 test('unknownRequest', AnalysisServerTest.unknownRequest); 22 test('unknownRequest', AnalysisServerTest.unknownRequest);
23 }); 23 });
24 } 24 }
25 25
26 class AnalysisServerTest { 26 class AnalysisServerTest {
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 @override 86 @override
87 Response handleRequest(Request request) { 87 Response handleRequest(Request request) {
88 if (request.method == 'echo') { 88 if (request.method == 'echo') {
89 var response = new Response(request.id); 89 var response = new Response(request.id);
90 response.setResult('echo', true); 90 response.setResult('echo', true);
91 return response; 91 return response;
92 } 92 }
93 return null; 93 return null;
94 } 94 }
95 } 95 }
OLDNEW
« no previous file with comments | « no previous file | pkg/analysis_server/test/test_all.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698