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

Unified Diff: test/runner/browser/compact_reporter_test.dart

Issue 1056733002: Run test tearDowns and clean up temporary directories when a signal is caught. (Closed) Base URL: git@github.com:dart-lang/test@master
Patch Set: Code review changes Created 5 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « test/io.dart ('k') | test/runner/browser/compiler_pool_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/runner/browser/compact_reporter_test.dart
diff --git a/test/runner/browser/compact_reporter_test.dart b/test/runner/browser/compact_reporter_test.dart
index 24045229d8b888f1d3146c6c7be51d7e9fb4e02f..94b748d2aa7019fc23d58c7735db3648c859dd9b 100644
--- a/test/runner/browser/compact_reporter_test.dart
+++ b/test/runner/browser/compact_reporter_test.dart
@@ -7,6 +7,7 @@
import 'dart:io';
import 'package:path/path.dart' as p;
+import 'package:test/src/util/io.dart';
import 'package:test/test.dart';
import '../../io.dart';
@@ -15,7 +16,7 @@ String _sandbox;
void main() {
setUp(() {
- _sandbox = Directory.systemTemp.createTempSync('test_').path;
+ _sandbox = createTempDir();
});
tearDown(() {
« no previous file with comments | « test/io.dart ('k') | test/runner/browser/compiler_pool_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698