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

Side by Side Diff: pkg/docgen/test/typedef_test.dart

Issue 216743005: pkg/docgen: fixes for unittest deprecations (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 8 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/docgen/test/only_lib_content_in_pkg_test.dart ('k') | no next file » | 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) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, 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 docgen.test.typedef; 5 library docgen.test.typedef;
6 6
7 import 'dart:convert'; 7 import 'dart:convert';
8 import 'dart:io'; 8 import 'dart:io';
9 9
10 import 'package:path/path.dart' as p; 10 import 'package:path/path.dart' as p;
11 import 'package:scheduled_test/descriptor.dart' as d; 11 import 'package:scheduled_test/descriptor.dart' as d;
12 import 'package:scheduled_test/scheduled_test.dart'; 12 import 'package:scheduled_test/scheduled_test.dart';
13 import 'package:unittest/matcher.dart';
14 13
15 import 'util.dart'; 14 import 'util.dart';
16 import '../lib/docgen.dart' as dg; 15 import '../lib/docgen.dart' as dg;
17 16
18 void main() { 17 void main() {
19 18
20 setUp(() { 19 setUp(() {
21 scheduleTempDir(); 20 scheduleTempDir();
22 }); 21 });
23 22
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 56
58 expect(comparator['preview'], expectedPreview); 57 expect(comparator['preview'], expectedPreview);
59 58
60 var expectedComment = expectedPreview + '\n' 59 var expectedComment = expectedPreview + '\n'
61 '<p>To eliminate import warnings for [A] and to test typedefs.</p>'; 60 '<p>To eliminate import warnings for [A] and to test typedefs.</p>';
62 61
63 expect(comparator['comment'], expectedComment); 62 expect(comparator['comment'], expectedComment);
64 }); 63 });
65 }); 64 });
66 } 65 }
OLDNEW
« no previous file with comments | « pkg/docgen/test/only_lib_content_in_pkg_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698