| OLD | NEW |
| 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, 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 // TODO(ahe): This test is sligthly broken but provides temporary test coverage | 5 // TODO(ahe): This test is sligthly broken but provides temporary test coverage |
| 6 // for dart2js. See http://dartbug.com/12464. | 6 // for dart2js. See http://dartbug.com/12464. |
| 7 | 7 |
| 8 library test.mixin_test; | 8 library test.mixin_test; |
| 9 | 9 |
| 10 @MirrorsUsed(targets: 'test.mixin_test, test.model, Object', override: '*') | |
| 11 import 'dart:mirrors'; | 10 import 'dart:mirrors'; |
| 12 | 11 |
| 13 import 'package:expect/expect.dart'; | 12 import 'package:expect/expect.dart'; |
| 14 | 13 |
| 15 import 'model.dart'; | 14 import 'model.dart'; |
| 16 import 'stringify.dart'; | 15 import 'stringify.dart'; |
| 17 | 16 |
| 18 class Mixin { | 17 class Mixin { |
| 19 int i; | 18 int i; |
| 20 m() {} | 19 m() {} |
| (...skipping 276 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 297 testMixin(); | 296 testMixin(); |
| 298 testMixin2(); | 297 testMixin2(); |
| 299 testMixinApplication(); | 298 testMixinApplication(); |
| 300 testMixinApplicationA(); | 299 testMixinApplicationA(); |
| 301 testUnusedMixinApplication(); | 300 testUnusedMixinApplication(); |
| 302 testSubclass(); | 301 testSubclass(); |
| 303 testSubclass2(); | 302 testSubclass2(); |
| 304 testSubclassA(); | 303 testSubclassA(); |
| 305 testSubclass2A(); | 304 testSubclass2A(); |
| 306 } | 305 } |
| OLD | NEW |