OLD | NEW |
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.timing.simple; | 5 library test.timing.simple; |
6 | 6 |
7 import 'dart:async'; | 7 import 'dart:async'; |
8 import 'dart:io'; | 8 import 'dart:io'; |
9 | 9 |
10 import 'package:analysis_server/src/protocol.dart'; | 10 import 'package:analysis_server/plugin/protocol/protocol.dart'; |
11 import 'package:path/path.dart'; | 11 import 'package:path/path.dart'; |
12 | 12 |
13 import '../timing_framework.dart'; | 13 import '../timing_framework.dart'; |
14 | 14 |
15 /** | 15 /** |
16 * Perform the timing test, printing the minimum, average and maximum times, as | 16 * Perform the timing test, printing the minimum, average and maximum times, as |
17 * well as the standard deviation to the output. | 17 * well as the standard deviation to the output. |
18 */ | 18 */ |
19 void main(List<String> args) { | 19 void main(List<String> args) { |
20 SimpleTest test = new SimpleTest(); | 20 SimpleTest test = new SimpleTest(); |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
104 {mainFilePath: new AddContentOverlay(originalContent)}); | 104 {mainFilePath: new AddContentOverlay(originalContent)}); |
105 return new Future.value(); | 105 return new Future.value(); |
106 } | 106 } |
107 | 107 |
108 @override | 108 @override |
109 Future tearDown() { | 109 Future tearDown() { |
110 sendAnalysisSetAnalysisRoots([], []); | 110 sendAnalysisSetAnalysisRoots([], []); |
111 return new Future.value(); | 111 return new Future.value(); |
112 } | 112 } |
113 } | 113 } |
OLD | NEW |