| OLD | NEW |
| 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 Loading... |
| 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 |
| OLD | NEW |