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