| 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 /// Mock VM implementation used for testing VM connections. | 5 /// Mock VM implementation used for testing VM connections. |
| 6 library fletchc.test.client.mock_vm; | 6 library fletchc.test.client.mock_vm; |
| 7 | 7 |
| 8 import 'dart:async' show | 8 import 'dart:async' show |
| 9 Future, | 9 Future, |
| 10 StreamIterator; | 10 StreamIterator; |
| 11 | 11 |
| (...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 171 return new CommitChangesResult( | 171 return new CommitChangesResult( |
| 172 true, "Successfully applied program update."); | 172 true, "Successfully applied program update."); |
| 173 | 173 |
| 174 case VmCommandCode.ProcessRun: | 174 case VmCommandCode.ProcessRun: |
| 175 return const ProcessTerminated(); | 175 return const ProcessTerminated(); |
| 176 | 176 |
| 177 default: | 177 default: |
| 178 return null; | 178 return null; |
| 179 } | 179 } |
| 180 } | 180 } |
| OLD | NEW |