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

Side by Side Diff: tests/lib_strong/mirrors/class_declarations_test.dart

Issue 2765893003: Fix warnings_checker.dart handling of multitests (Closed)
Patch Set: Created 3 years, 9 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
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 library test.declarations_test; 5 library test.declarations_test;
6 6
7 import 'dart:mirrors'; 7 import 'dart:mirrors';
8 import 'package:expect/expect.dart'; 8 import 'package:expect/expect.dart';
9 9
10 import 'stringify.dart'; 10 import 'stringify.dart';
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 Expect.setEquals( 43 Expect.setEquals(
44 ['Method(s(_instanceSetter=) in s(Class), private, setter)', 44 ['Method(s(_instanceSetter=) in s(Class), private, setter)',
45 'Method(s(_staticSetter=) in s(Class), private, static, setter)', 45 'Method(s(_staticSetter=) in s(Class), private, static, setter)',
46 'Method(s(instanceSetter=) in s(Class), setter)', 46 'Method(s(instanceSetter=) in s(Class), setter)',
47 'Method(s(staticSetter=) in s(Class), static, setter)'], 47 'Method(s(staticSetter=) in s(Class), static, setter)'],
48 cm.declarations.values 48 cm.declarations.values
49 .where((dm) => dm is MethodMirror && dm.isSetter).map(stringify), 49 .where((dm) => dm is MethodMirror && dm.isSetter).map(stringify),
50 'setters'); 50 'setters');
51 51
52 // dart2js stops testing here. 52 // dart2js stops testing here.
53 return; // /// 01: ok 53 return; // //# 01: ok
54 54
55 Expect.setEquals( 55 Expect.setEquals(
56 ['Method(s(+) in s(Class))', 56 ['Method(s(+) in s(Class))',
57 'Method(s(_instanceMethod) in s(Class), private)', 57 'Method(s(_instanceMethod) in s(Class), private)',
58 'Method(s(_staticMethod) in s(Class), private, static)', 58 'Method(s(_staticMethod) in s(Class), private, static)',
59 'Method(s(abstractMethod) in s(Class), abstract)', 59 'Method(s(abstractMethod) in s(Class), abstract)',
60 'Method(s(instanceMethod) in s(Class))', 60 'Method(s(instanceMethod) in s(Class))',
61 'Method(s(staticMethod) in s(Class), static)'], 61 'Method(s(staticMethod) in s(Class), static)'],
62 cm.declarations.values 62 cm.declarations.values
63 .where((dm) => dm is MethodMirror && dm.isRegularMethod).map(stringify), 63 .where((dm) => dm is MethodMirror && dm.isRegularMethod).map(stringify),
(...skipping 271 matching lines...) Expand 10 before | Expand all | Expand 10 after
335 'Method(s(_mixinStaticGetter) in s(Mixin), private, static, getter)', 335 'Method(s(_mixinStaticGetter) in s(Mixin), private, static, getter)',
336 'Method(s(_mixinStaticSetter=) in s(Mixin), private, static, setter)', 336 'Method(s(_mixinStaticSetter=) in s(Mixin), private, static, setter)',
337 'Method(s(_mixinStaticMethod) in s(Mixin), private, static)'], 337 'Method(s(_mixinStaticMethod) in s(Mixin), private, static)'],
338 inheritedDeclarations(cm) 338 inheritedDeclarations(cm)
339 .difference(reflectClass(Object).declarations.values.toSet()) 339 .difference(reflectClass(Object).declarations.values.toSet())
340 .map(stringify), 340 .map(stringify),
341 'transitive less Object'); 341 'transitive less Object');
342 // The private members of Object may vary across implementations, so we 342 // The private members of Object may vary across implementations, so we
343 // exclude the declarations of Object in this test case. 343 // exclude the declarations of Object in this test case.
344 } 344 }
OLDNEW
« no previous file with comments | « tests/lib_strong/mirrors/circular_factory_redirection_test.dart ('k') | tests/lib_strong/mirrors/constructor_kinds_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698