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

Side by Side Diff: test/mirror_matchers_test.dart

Issue 1584563003: Get rid of all the library tags. (Closed) Base URL: git@github.com:dart-lang/matcher@master
Patch Set: Created 4 years, 11 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
« no previous file with comments | « test/iterable_matchers_test.dart ('k') | test/numeric_matchers_test.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 library matcher.mirror_test;
6
7 import 'package:matcher/mirror_matchers.dart'; 5 import 'package:matcher/mirror_matchers.dart';
8 import 'package:test/test.dart' show test; 6 import 'package:test/test.dart' show test;
9 7
10 import 'test_utils.dart'; 8 import 'test_utils.dart';
11 9
12 class C { 10 class C {
13 var instanceField = 1; 11 var instanceField = 1;
14 get instanceGetter => 2; 12 get instanceGetter => 2;
15 static var staticField = 3; 13 static var staticField = 3;
16 static get staticGetter => 4; 14 static get staticGetter => 4;
(...skipping 18 matching lines...) Expand all
35 'Actual: <Instance of \'C\'> ' 33 'Actual: <Instance of \'C\'> '
36 'Which: has a member named "staticField",' 34 'Which: has a member named "staticField",'
37 ' but it is not an instance property'); 35 ' but it is not an instance property');
38 shouldFail(c, hasProperty('staticGetter'), 36 shouldFail(c, hasProperty('staticGetter'),
39 'Expected: has property "staticGetter" ' 37 'Expected: has property "staticGetter" '
40 'Actual: <Instance of \'C\'> ' 38 'Actual: <Instance of \'C\'> '
41 'Which: has a member named "staticGetter",' 39 'Which: has a member named "staticGetter",'
42 ' but it is not an instance property'); 40 ' but it is not an instance property');
43 }); 41 });
44 } 42 }
OLDNEW
« no previous file with comments | « test/iterable_matchers_test.dart ('k') | test/numeric_matchers_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698