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

Side by Side Diff: pkg/analysis_server/test/timing/timing_framework.dart

Issue 637283008: Fix merge resolution in r41267. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 2 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 | « pkg/analysis_server/test/integration/integration_tests.dart ('k') | no next file » | 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.timing; 5 library test.timing;
6 6
7 import 'dart:async'; 7 import 'dart:async';
8 import 'dart:io'; 8 import 'dart:io';
9 import 'dart:math'; 9 import 'dart:math';
10 10
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 */ 83 */
84 Future oneTimeSetUp() { 84 Future oneTimeSetUp() {
85 initializeInttestMixin(); 85 initializeInttestMixin();
86 server = new Server(); 86 server = new Server();
87 sourceDirectory = Directory.systemTemp.createTempSync('analysisServer'); 87 sourceDirectory = Directory.systemTemp.createTempSync('analysisServer');
88 Completer serverConnected = new Completer(); 88 Completer serverConnected = new Completer();
89 onServerConnected.listen((_) { 89 onServerConnected.listen((_) {
90 serverConnected.complete(); 90 serverConnected.complete();
91 }); 91 });
92 skipShutdown = true; 92 skipShutdown = true;
93 return server.start(dispatchNotification, profileServer: true).then((params) { 93 return server.start(profileServer: true).then((params) {
94 server.listenToOutput(dispatchNotification); 94 server.listenToOutput(dispatchNotification);
95 server.exitCode.then((_) { 95 server.exitCode.then((_) {
96 skipShutdown = true; 96 skipShutdown = true;
97 }); 97 });
98 return serverConnected.future; 98 return serverConnected.future;
99 }); 99 });
100 } 100 }
101 101
102 /** 102 /**
103 * Perform any operations that need to be performed before each iteration. 103 * Perform any operations that need to be performed before each iteration.
104 */ 104 */
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after
311 */ 311 */
312 List<int> toMilliseconds(List<int> times) { 312 List<int> toMilliseconds(List<int> times) {
313 int count = times.length; 313 int count = times.length;
314 List<int> convertedValues = new List<int>(); 314 List<int> convertedValues = new List<int>();
315 for (int i = 0; i < count; i++) { 315 for (int i = 0; i < count; i++) {
316 convertedValues.add(times[i] ~/ NANOSECONDS_PER_MILLISECOND); 316 convertedValues.add(times[i] ~/ NANOSECONDS_PER_MILLISECOND);
317 } 317 }
318 return convertedValues; 318 return convertedValues;
319 } 319 }
320 } 320 }
OLDNEW
« no previous file with comments | « pkg/analysis_server/test/integration/integration_tests.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698