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

Side by Side Diff: tests/os/native_process_test.dart

Issue 1659163007: Rename fletch -> dartino (Closed) Base URL: https://github.com/dartino/sdk.git@master
Patch Set: address comments Created 4 years, 10 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 | « tests/multiprogram_tests/unhandled_signal.dart ('k') | tests/os/sleep_test.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) 2015, the Dartino project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, the Dartino 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.md file. 3 // BSD-style license that can be found in the LICENSE.md file.
4 4
5 import 'dart:fletch.ffi'; 5 import 'dart:dartino.ffi';
6 import 'dart:fletch.os'; 6 import 'dart:dartino.os';
7 7
8 import 'package:expect/expect.dart'; 8 import 'package:expect/expect.dart';
9 import 'package:file/file.dart'; 9 import 'package:file/file.dart';
10 10
11 void main() { 11 void main() {
12 testStartDetachedValid(); 12 testStartDetachedValid();
13 testStartDetachedNullPath(); 13 testStartDetachedNullPath();
14 testStartDetachedEmptyPath(); 14 testStartDetachedEmptyPath();
15 testStartDetachedInvalidPath(); 15 testStartDetachedInvalidPath();
16 testStartDetachedNonExecutablePath(); 16 testStartDetachedNonExecutablePath();
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 } 53 }
54 54
55 void testStartDetachedNonExecutablePath() { 55 void testStartDetachedNonExecutablePath() {
56 // Invalid executable. 56 // Invalid executable.
57 var nonExecFile = new File.temporary('OsTest'); 57 var nonExecFile = new File.temporary('OsTest');
58 Expect.throws(() => NativeProcess.startDetached(nonExecFile.path, null), 58 Expect.throws(() => NativeProcess.startDetached(nonExecFile.path, null),
59 (e) => e == "Failed to start process from path '${nonExecFile.path}'. " 59 (e) => e == "Failed to start process from path '${nonExecFile.path}'. "
60 "Got errno 13"); 60 "Got errno 13");
61 File.delete(nonExecFile.path); 61 File.delete(nonExecFile.path);
62 } 62 }
OLDNEW
« no previous file with comments | « tests/multiprogram_tests/unhandled_signal.dart ('k') | tests/os/sleep_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698