| OLD | NEW |
| 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, 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 // Test of LibraryUpdater. | 5 // Test of LibraryUpdater (one compilation unit per library). |
| 6 library trydart.library_updater_test; | 6 library trydart.library_updater_test; |
| 7 | 7 |
| 8 import 'dart:convert' show | 8 import 'dart:convert' show |
| 9 UTF8; | 9 UTF8; |
| 10 | 10 |
| 11 import 'package:dart2js_incremental/library_updater.dart' show | 11 import 'package:dart2js_incremental/library_updater.dart' show |
| 12 IncrementalCompilerContext, | 12 IncrementalCompilerContext, |
| 13 LibraryUpdater, | 13 LibraryUpdater, |
| 14 Update; | 14 Update; |
| 15 | 15 |
| (...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 121 new LibraryUpdaterTestCase( | 121 new LibraryUpdaterTestCase( |
| 122 before: 'main() => null;', | 122 before: 'main() => null;', |
| 123 after: 'main() {}', | 123 after: 'main() {}', |
| 124 canReuse: true, | 124 canReuse: true, |
| 125 updates: ['main']), | 125 updates: ['main']), |
| 126 | 126 |
| 127 // TODO(ahe): When supporting class members, test abstract methods. | 127 // TODO(ahe): When supporting class members, test abstract methods. |
| 128 ] | 128 ] |
| 129 ); | 129 ); |
| 130 } | 130 } |
| OLD | NEW |