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

Side by Side Diff: pkg/unittest/test/mirror_matchers_test.dart

Issue 145403005: pkg/unittest: formatter spin (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: review nits Created 6 years, 10 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
« no previous file with comments | « pkg/unittest/lib/unittest.dart ('k') | pkg/unittest/test/mock_stepwise_negative_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 import 'package:unittest/unittest.dart'; 5 import 'package:unittest/unittest.dart';
6 import 'package:unittest/mirror_matchers.dart'; 6 import 'package:unittest/mirror_matchers.dart';
7 7
8 import 'test_utils.dart'; 8 import 'test_utils.dart';
9 9
10 class C { 10 class C {
(...skipping 24 matching lines...) Expand all
35 'Expected: has property "staticField" ' 35 'Expected: has property "staticField" '
36 'Actual: <Instance of \'C\'> ' 36 'Actual: <Instance of \'C\'> '
37 'Which: has a member named "staticField",' 37 'Which: has a member named "staticField",'
38 ' but it is not an instance property'); 38 ' but it is not an instance property');
39 shouldFail(c, hasProperty('staticGetter'), 39 shouldFail(c, hasProperty('staticGetter'),
40 'Expected: has property "staticGetter" ' 40 'Expected: has property "staticGetter" '
41 'Actual: <Instance of \'C\'> ' 41 'Actual: <Instance of \'C\'> '
42 'Which: has a member named "staticGetter",' 42 'Which: has a member named "staticGetter",'
43 ' but it is not an instance property'); 43 ' but it is not an instance property');
44 }); 44 });
45 } 45 }
OLDNEW
« no previous file with comments | « pkg/unittest/lib/unittest.dart ('k') | pkg/unittest/test/mock_stepwise_negative_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698