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

Issue 9960012: Remove temporary directories created by standalone/FileErrorTest. (Closed)

Created:
8 years, 8 months ago by Bill Hesse
Modified:
8 years, 8 months ago
Reviewers:
floitsch
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Remove temporary directories created by standalone/FileErrorTest. BUG=dart:2396 TEST=standalone/FileErrorTest Committed: https://code.google.com/p/dart/source/detail?r=6171

Patch Set 1 #

Total comments: 4

Patch Set 2 : Address comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+94 lines, -22 lines) Patch
M tests/standalone/src/io/FileErrorTest.dart View 1 9 chunks +94 lines, -22 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
Bill Hesse
8 years, 8 months ago (2012-04-04 15:47:10 UTC) #1
floitsch
LGTM, but consider refactoring to share code. https://chromiumcodereview.appspot.com/9960012/diff/1/tests/standalone/src/io/FileErrorTest.dart File tests/standalone/src/io/FileErrorTest.dart (right): https://chromiumcodereview.appspot.com/9960012/diff/1/tests/standalone/src/io/FileErrorTest.dart#newcode38 tests/standalone/src/io/FileErrorTest.dart:38: Directory temp ...
8 years, 8 months ago (2012-04-04 15:59:06 UTC) #2
Bill Hesse
8 years, 8 months ago (2012-04-04 16:11:06 UTC) #3
https://chromiumcodereview.appspot.com/9960012/diff/1/tests/standalone/src/io...
File tests/standalone/src/io/FileErrorTest.dart (right):

https://chromiumcodereview.appspot.com/9960012/diff/1/tests/standalone/src/io...
tests/standalone/src/io/FileErrorTest.dart:38: Directory temp = tempDir();
There are some cases below where the onError handler is more complicated, so
this refactoring would not work, without being extended.  I want to get this in
so buildbot doesn't keep breaking, so I won't refactor now.

https://chromiumcodereview.appspot.com/9960012/diff/1/tests/standalone/src/io...
tests/standalone/src/io/FileErrorTest.dart:369: p.receive((x,y) {
On 2012/04/04 15:59:06, floitsch wrote:
> space after comma. Also for all the copies.

Done.

But it sure seems natural to write two dummy arguments this way, without a
space.

Powered by Google App Engine
This is Rietveld 408576698