| OLD | NEW |
| 1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, 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 @TestOn("vm") | 5 @TestOn("vm") |
| 6 | 6 |
| 7 import 'dart:io'; | 7 import 'dart:io'; |
| 8 import 'dart:math' as math; | 8 import 'dart:math' as math; |
| 9 | 9 |
| 10 import 'package:path/path.dart' as p; | 10 import 'package:path/path.dart' as p; |
| 11 import 'package:test/src/util/exit_codes.dart' as exit_codes; |
| 11 import 'package:test/src/util/io.dart'; | 12 import 'package:test/src/util/io.dart'; |
| 12 import 'package:test/test.dart'; | 13 import 'package:test/test.dart'; |
| 13 | 14 |
| 14 import '../io.dart'; | 15 import '../io.dart'; |
| 15 | 16 |
| 16 String _sandbox; | 17 String _sandbox; |
| 17 | 18 |
| 18 final _success = """ | 19 final _success = """ |
| 19 import 'dart:async'; | 20 import 'dart:async'; |
| 20 | 21 |
| (...skipping 417 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 438 }); | 439 }); |
| 439 }); | 440 }); |
| 440 }); | 441 }); |
| 441 } | 442 } |
| 442 | 443 |
| 443 ProcessResult _runUnittest(List<String> args) => | 444 ProcessResult _runUnittest(List<String> args) => |
| 444 runUnittest(args, workingDirectory: _sandbox); | 445 runUnittest(args, workingDirectory: _sandbox); |
| 445 | 446 |
| 446 ProcessResult _runDart(List<String> args) => | 447 ProcessResult _runDart(List<String> args) => |
| 447 runDart(args, workingDirectory: _sandbox); | 448 runDart(args, workingDirectory: _sandbox); |
| OLD | NEW |