| OLD | NEW |
| 1 // Copyright (c) 2015, the Fletch 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 /// Used for testing compiler/debugger session when VM socket is closed | 5 /// Used for testing compiler/debugger session when VM socket is closed |
| 6 /// unexpectedly. | 6 /// unexpectedly. |
| 7 library fletchc.test.client.test_vm_connection; | 7 library fletchc.test.client.test_vm_connection; |
| 8 | 8 |
| 9 import 'dart:async' show | 9 import 'dart:async' show |
| 10 Future; | 10 Future; |
| 11 | 11 |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 75 // TODO(ahe): The actual exit code is TBD. | 75 // TODO(ahe): The actual exit code is TBD. |
| 76 Expect.equals(1, result); | 76 Expect.equals(1, result); |
| 77 } | 77 } |
| 78 | 78 |
| 79 Future<Null> testCloseAfterProcessRun() async { | 79 Future<Null> testCloseAfterProcessRun() async { |
| 80 int result = await new MockVmRunner(closeAfterFirst: VmCommandCode.ProcessRun) | 80 int result = await new MockVmRunner(closeAfterFirst: VmCommandCode.ProcessRun) |
| 81 .run(<String>['tests/language/application_test.dart']); | 81 .run(<String>['tests/language/application_test.dart']); |
| 82 // TODO(ahe): The actual exit code is TBD. | 82 // TODO(ahe): The actual exit code is TBD. |
| 83 Expect.equals(1, result); | 83 Expect.equals(1, result); |
| 84 } | 84 } |
| OLD | NEW |