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

Side by Side Diff: pkg/analysis_server/test/stress/utilities/server.dart

Issue 2844273003: Unify the server and plugin versions of the generators (Closed)
Patch Set: add missed files Created 3 years, 7 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
OLDNEW
1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, 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 /** 5 /**
6 * Support for interacting with an analysis server that is running in a separate 6 * Support for interacting with an analysis server that is running in a separate
7 * process. 7 * process.
8 */ 8 */
9 import 'dart:async'; 9 import 'dart:async';
10 import 'dart:collection'; 10 import 'dart:collection';
11 import 'dart:convert' hide JsonDecoder; 11 import 'dart:convert' hide JsonDecoder;
12 import 'dart:io'; 12 import 'dart:io';
13 import 'dart:math' as math; 13 import 'dart:math' as math;
14 14
15 import 'package:analysis_server/plugin/protocol/protocol.dart'; 15 import 'package:analysis_server/protocol/protocol.dart';
16 import 'package:analysis_server/protocol/protocol_generated.dart';
16 import 'package:path/path.dart' as path; 17 import 'package:path/path.dart' as path;
17 18
18 import 'logger.dart'; 19 import 'logger.dart';
19 20
20 /** 21 /**
21 * Return the current time expressed as milliseconds since the epoch. 22 * Return the current time expressed as milliseconds since the epoch.
22 */ 23 */
23 int get currentTime => new DateTime.now().millisecondsSinceEpoch; 24 int get currentTime => new DateTime.now().millisecondsSinceEpoch;
24 25
25 /** 26 /**
(...skipping 1051 matching lines...) Expand 10 before | Expand all | Expand 10 after
1077 if (buffer.length > 0) { 1078 if (buffer.length > 0) {
1078 buffer.writeln(); 1079 buffer.writeln();
1079 buffer.writeln(); 1080 buffer.writeln();
1080 } 1081 }
1081 buffer.writeln(filePath); 1082 buffer.writeln(filePath);
1082 _writeErrors(' Expected ', expectedErrors); 1083 _writeErrors(' Expected ', expectedErrors);
1083 buffer.writeln(); 1084 buffer.writeln();
1084 _writeErrors(' Found ', actualErrors); 1085 _writeErrors(' Found ', actualErrors);
1085 } 1086 }
1086 } 1087 }
OLDNEW
« no previous file with comments | « pkg/analysis_server/test/stress/replay/replay.dart ('k') | pkg/analysis_server/test/timing/completion/completion_simple.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698