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

Side by Side Diff: pkg/scheduled_test/test/scheduled_process_test.dart

Issue 93143002: Make pkg/stack_trace use stack chains. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 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 | « pkg/scheduled_test/test/metatest.dart ('k') | pkg/scheduled_test/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) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, 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 scheduled_process_test; 5 library scheduled_process_test;
6 6
7 import 'dart:async'; 7 import 'dart:async';
8 import 'dart:convert';
9 import 'dart:io'; 8 import 'dart:io';
10 9
11 import 'package:path/path.dart' as path; 10 import 'package:path/path.dart' as path;
12 import 'package:scheduled_test/scheduled_process.dart'; 11 import 'package:scheduled_test/scheduled_process.dart';
13 import 'package:scheduled_test/scheduled_test.dart'; 12 import 'package:scheduled_test/scheduled_test.dart';
14 13
15 import 'metatest.dart'; 14 import 'metatest.dart';
16 import 'utils.dart'; 15 import 'utils.dart';
17 16
18 void main(_, message) { 17 void main(_, message) {
(...skipping 365 matching lines...) Expand 10 before | Expand all | Expand 10 after
384 currentSchedule.onComplete.schedule(() { 383 currentSchedule.onComplete.schedule(() {
385 return tempDir.catchError((_) => null).then((dir) { 384 return tempDir.catchError((_) => null).then((dir) {
386 if (dir == null) return null; 385 if (dir == null) return null;
387 return new Directory(dir).delete(recursive: true); 386 return new Directory(dir).delete(recursive: true);
388 }); 387 });
389 }, 'clean up temp dir'); 388 }, 'clean up temp dir');
390 389
391 return new ScheduledProcess.start(Platform.executable, 390 return new ScheduledProcess.start(Platform.executable,
392 ['--checked', dartPath]); 391 ['--checked', dartPath]);
393 } 392 }
OLDNEW
« no previous file with comments | « pkg/scheduled_test/test/metatest.dart ('k') | pkg/scheduled_test/test/utils.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698