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

Side by Side Diff: test/runner/signal_test.dart

Issue 1101773002: Add Windows support. (Closed) Base URL: git@github.com:dart-lang/test@master
Patch Set: Unused import Created 5 years, 8 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/runner/pub_serve_test.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) 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 // Windows doesn't support sending signals.
6 @TestOn("vm && !windows")
6 7
7 import 'dart:async'; 8 import 'dart:async';
8 import 'dart:convert'; 9 import 'dart:convert';
9 import 'dart:io'; 10 import 'dart:io';
10 11
11 import 'package:path/path.dart' as p; 12 import 'package:path/path.dart' as p;
12 import 'package:test/test.dart'; 13 import 'package:test/test.dart';
13 import 'package:test/src/util/io.dart'; 14 import 'package:test/src/util/io.dart';
14 15
15 import '../io.dart'; 16 import '../io.dart';
(...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after
268 }); 269 });
269 }); 270 });
270 }); 271 });
271 } 272 }
272 273
273 Future<Process> _startTest(List<String> args) { 274 Future<Process> _startTest(List<String> args) {
274 new Directory(_tempDir).create(); 275 new Directory(_tempDir).create();
275 return startTest(args, workingDirectory: _sandbox, 276 return startTest(args, workingDirectory: _sandbox,
276 environment: {"_UNITTEST_TEMP_DIR": _tempDir}); 277 environment: {"_UNITTEST_TEMP_DIR": _tempDir});
277 } 278 }
OLDNEW
« no previous file with comments | « test/runner/pub_serve_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698