OLD | NEW |
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 library unittest.util.remote_exception; | 5 library test.util.remote_exception; |
6 | 6 |
7 import 'dart:async'; | 7 import 'dart:async'; |
8 import 'dart:isolate'; | 8 import 'dart:isolate'; |
9 | 9 |
10 import 'package:stack_trace/stack_trace.dart'; | 10 import 'package:stack_trace/stack_trace.dart'; |
11 | 11 |
12 import '../frontend/expect.dart'; | 12 import '../frontend/expect.dart'; |
13 | 13 |
14 /// An exception that was thrown remotely. | 14 /// An exception that was thrown remotely. |
15 /// | 15 /// |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
102 _RemoteTestFailure(String message, String type, String toString) | 102 _RemoteTestFailure(String message, String type, String toString) |
103 : super._(message, type, toString); | 103 : super._(message, type, toString); |
104 } | 104 } |
105 | 105 |
106 /// A subclass of [RemoteException] that implements [IsolateSpawnException]. | 106 /// A subclass of [RemoteException] that implements [IsolateSpawnException]. |
107 class _RemoteIsolateSpawnException extends RemoteException | 107 class _RemoteIsolateSpawnException extends RemoteException |
108 implements IsolateSpawnException { | 108 implements IsolateSpawnException { |
109 _RemoteIsolateSpawnException(String message, String type, String toString) | 109 _RemoteIsolateSpawnException(String message, String type, String toString) |
110 : super._(message, type, toString); | 110 : super._(message, type, toString); |
111 } | 111 } |
OLD | NEW |