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

Side by Side Diff: tools/testing/dart/record_and_replay.dart

Issue 748773004: tools/testing: move code into individual libraries (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years 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 | « tools/testing/dart/path.dart ('k') | tools/testing/dart/status_file_parser.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) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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 record_and_replay; 5 library record_and_replay;
6 6
7 import 'dart:io'; 7 import 'dart:io';
8 import 'dart:convert'; 8 import 'dart:convert';
9 9
10 import 'path.dart';
10 import 'test_runner.dart'; 11 import 'test_runner.dart';
11 import 'utils.dart' show Path;
12 12
13 /* 13 /*
14 * Json files look like this: 14 * Json files look like this:
15 * 15 *
16 * [ 16 * [
17 * { 17 * {
18 * 'name' : '...', 18 * 'name' : '...',
19 * 'command' : { 19 * 'command' : {
20 * 'timeout_limit' : 60, 20 * 'timeout_limit' : 60,
21 * 'executable' : '...', 21 * 'executable' : '...',
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 duration, 127 duration,
128 false); 128 false);
129 return commandOutput; 129 return commandOutput;
130 } 130 }
131 131
132 String _indexKey(String executable, String arguments) { 132 String _indexKey(String executable, String arguments) {
133 return "${executable}__$arguments"; 133 return "${executable}__$arguments";
134 } 134 }
135 } 135 }
136 136
OLDNEW
« no previous file with comments | « tools/testing/dart/path.dart ('k') | tools/testing/dart/status_file_parser.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698