| OLD | NEW |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, 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 /** Common definitions used for setting up the test environment. */ | 5 /** Common definitions used for setting up the test environment. */ |
| 6 library testing; | 6 library testing; |
| 7 | 7 |
| 8 import 'dart:async'; | 8 import 'dart:async'; |
| 9 import 'dart:io'; | 9 import 'dart:io'; |
| 10 | 10 |
| (...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 102 } else { | 102 } else { |
| 103 return new Future.error( | 103 return new Future.error( |
| 104 new FileException('MockFileSystem: $path not found')); | 104 new FileException('MockFileSystem: $path not found')); |
| 105 } | 105 } |
| 106 } | 106 } |
| 107 | 107 |
| 108 // Compiler doesn't call these | 108 // Compiler doesn't call these |
| 109 void writeString(String outfile, String text) {} | 109 void writeString(String outfile, String text) {} |
| 110 Future flush() {} | 110 Future flush() {} |
| 111 } | 111 } |
| OLD | NEW |