| 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 /** End-to-end tests for the [Compiler] API. */ | 5 /** End-to-end tests for the [Compiler] API. */ |
| 6 library compiler_test; | 6 library compiler_test; |
| 7 | 7 |
| 8 import 'package:logging/logging.dart' show Level; | 8 import 'package:logging/logging.dart' show Level; |
| 9 import 'package:path/path.dart' as path; | 9 import 'package:path/path.dart' as path; |
| 10 import 'package:polymer/src/messages.dart'; | 10 import 'package:polymer/src/messages.dart'; |
| (...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 101 var msgs = messages.messages.where((m) => | 101 var msgs = messages.messages.where((m) => |
| 102 m.message.contains('unable')).toList(); | 102 m.message.contains('unable')).toList(); |
| 103 expect(msgs.length, 0); | 103 expect(msgs.length, 0); |
| 104 MockFileSystem fs = compiler.fileSystem; | 104 MockFileSystem fs = compiler.fileSystem; |
| 105 expect(fs.readCount, | 105 expect(fs.readCount, |
| 106 { 'index.html': 1, 'foo.html': 1 }); | 106 { 'index.html': 1, 'foo.html': 1 }); |
| 107 })); | 107 })); |
| 108 }); | 108 }); |
| 109 }); | 109 }); |
| 110 } | 110 } |
| OLD | NEW |