Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(368)

Side by Side Diff: dart/tests/lib/mirrors/mixin_test.dart

Issue 22859016: Fix problem that caused anonymous mixin applications to be named "null". (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698