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

Side by Side Diff: test/runner_test.dart

Issue 955543002: Move a bunch of src/ files into subdirectories. (Closed) Base URL: git@github.com:dart-lang/unittest@master
Patch Set: Fix library tags Created 5 years, 10 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
« no previous file with comments | « test/loader_test.dart ('k') | test/utils.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) 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 import 'dart:io'; 5 import 'dart:io';
6 6
7 import 'package:path/path.dart' as p; 7 import 'package:path/path.dart' as p;
8 import 'package:unittest/src/exit_codes.dart' as exit_codes; 8 import 'package:unittest/src/util/exit_codes.dart' as exit_codes;
9 import 'package:unittest/unittest.dart'; 9 import 'package:unittest/unittest.dart';
10 10
11 import 'io.dart'; 11 import 'io.dart';
12 12
13 String _sandbox; 13 String _sandbox;
14 14
15 final _success = """ 15 final _success = """
16 import 'dart:async'; 16 import 'dart:async';
17 17
18 import 'package:unittest/unittest.dart'; 18 import 'package:unittest/unittest.dart';
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after
215 expect(result.stdout, contains("Some tests failed.")); 215 expect(result.stdout, contains("Some tests failed."));
216 }); 216 });
217 }); 217 });
218 } 218 }
219 219
220 ProcessResult _runUnittest(List<String> args) => 220 ProcessResult _runUnittest(List<String> args) =>
221 runUnittest(args, workingDirectory: _sandbox); 221 runUnittest(args, workingDirectory: _sandbox);
222 222
223 ProcessResult _runDart(List<String> args) => 223 ProcessResult _runDart(List<String> args) =>
224 runDart(args, workingDirectory: _sandbox); 224 runDart(args, workingDirectory: _sandbox);
OLDNEW
« no previous file with comments | « test/loader_test.dart ('k') | test/utils.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698