OLD | NEW |
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 // OtherResources=signal_test_script.dart |
| 6 // OtherResources=signals_test_script.dart |
| 7 |
5 import "dart:io"; | 8 import "dart:io"; |
6 import "dart:convert"; | 9 import "dart:convert"; |
7 | 10 |
8 import "package:expect/expect.dart"; | 11 import "package:expect/expect.dart"; |
9 import "package:async_helper/async_helper.dart"; | 12 import "package:async_helper/async_helper.dart"; |
10 | 13 |
11 void testSignals(int usr1Expect, | 14 void testSignals(int usr1Expect, |
12 int usr2Expect, | 15 int usr2Expect, |
13 [int usr1Send, | 16 [int usr1Send, |
14 int usr2Send, | 17 int usr2Send, |
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
125 testSignal(ProcessSignal.SIGWINCH); | 128 testSignal(ProcessSignal.SIGWINCH); |
126 | 129 |
127 testMultipleSignals([ | 130 testMultipleSignals([ |
128 ProcessSignal.SIGHUP, | 131 ProcessSignal.SIGHUP, |
129 ProcessSignal.SIGINT, | 132 ProcessSignal.SIGINT, |
130 ProcessSignal.SIGTERM, | 133 ProcessSignal.SIGTERM, |
131 ProcessSignal.SIGUSR1, | 134 ProcessSignal.SIGUSR1, |
132 ProcessSignal.SIGUSR2, | 135 ProcessSignal.SIGUSR2, |
133 ProcessSignal.SIGWINCH]); | 136 ProcessSignal.SIGWINCH]); |
134 } | 137 } |
OLD | NEW |