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

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

Issue 242363004: pkg/docgen: moved model classes into minilibs (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: cl nits 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
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 single_library_test; 5 library single_library_test;
6 6
7 import 'package:path/path.dart' as p; 7 import 'package:path/path.dart' as p;
8 import 'package:unittest/unittest.dart'; 8 import 'package:unittest/unittest.dart';
9 9
10 import '../lib/docgen.dart'; 10 import '../lib/docgen.dart';
11 import '../../../sdk/lib/_internal/compiler/implementation/mirrors/mirrors_util. dart' 11 import '../lib/src/exports/mirrors_util.dart' as dart2js_util;
12 as dart2js_util;
13 12
14 import 'util.dart'; 13 import 'util.dart';
15 14
16 List<Uri> _writeLibFiles() { 15 List<Uri> _writeLibFiles() {
17 var codePath = getMultiLibraryCodePath(); 16 var codePath = getMultiLibraryCodePath();
18 17
19 codePath = p.join(codePath, 'lib'); 18 codePath = p.join(codePath, 'lib');
20 19
21 return ['test_lib.dart', 'test_lib_bar.dart', 'test_lib_foo.dart'] 20 return ['test_lib.dart', 'test_lib_bar.dart', 'test_lib_foo.dart']
22 .map((name) => p.join(codePath, name)) 21 .map((name) => p.join(codePath, name))
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 expect(methodParameterDocComment, 'test_lib.B'); 84 expect(methodParameterDocComment, 'test_lib.B');
86 85
87 methodParameterDocComment = exportedClass.fixReference( 86 methodParameterDocComment = exportedClass.fixReference(
88 'testFunc').children.first.text; 87 'testFunc').children.first.text;
89 expect(methodParameterDocComment, 'test_lib.testFunc'); 88 expect(methodParameterDocComment, 'test_lib.testFunc');
90 89
91 }); 90 });
92 }); 91 });
93 }); 92 });
94 } 93 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698