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

Side by Side Diff: tests/standalone/io/file_lock_test.dart

Issue 2466363003: Allow Platform.executable for JIT app snapshots. (Closed)
Patch Set: . Created 4 years, 1 month 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
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 // OtherResources=file_lock_script.dart
6
5 import 'dart:async'; 7 import 'dart:async';
6 import 'dart:io'; 8 import 'dart:io';
7 9
8 import "package:async_helper/async_helper.dart"; 10 import "package:async_helper/async_helper.dart";
9 import "package:expect/expect.dart"; 11 import "package:expect/expect.dart";
10 import "package:path/path.dart"; 12 import "package:path/path.dart";
11 13
12 // Check whether the file is locked or not. 14 // Check whether the file is locked or not.
13 check(String path, int start, int end, FileLock mode, {bool locked}) { 15 check(String path, int start, int end, FileLock mode, {bool locked}) {
14 // Client process returns either 'LOCK FAILED' or 'LOCK SUCCEEDED'. 16 // Client process returns either 'LOCK FAILED' or 'LOCK SUCCEEDED'.
(...skipping 301 matching lines...) Expand 10 before | Expand all | Expand 10 after
316 testLockWholeFileAsync(); 318 testLockWholeFileAsync();
317 testLockRange(); 319 testLockRange();
318 testLockRangeAsync(); 320 testLockRangeAsync();
319 testLockEnd(); 321 testLockEnd();
320 testLockEndAsync(); 322 testLockEndAsync();
321 testLockShared(); 323 testLockShared();
322 testLockSharedAsync(); 324 testLockSharedAsync();
323 testLockAfterLength(); 325 testLockAfterLength();
324 testLockAfterLengthAsync(); 326 testLockAfterLengthAsync();
325 } 327 }
OLDNEW
« no previous file with comments | « tests/standalone/io/file_blocking_lock_test.dart ('k') | tests/standalone/io/file_read_special_device_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698