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

Side by Side Diff: tests/utils/dartdoc_test.dart

Issue 10914265: Fix import paths in dartdoc tests. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 3 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 | « tests/utils/dartdoc_search_test.dart ('k') | tests/utils/markdown_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 /// Unit tests for doc. 5 /// Unit tests for doc.
6 #library('dartdoc_tests'); 6 #library('dartdoc_tests');
7 7
8 #import('../../pkg/dartdoc/dartdoc.dart', prefix: 'dd'); 8 // TODO(rnystrom): Move this test into pkg/dartdoc/test.
9 #import('../../pkg/dartdoc/markdown.dart', prefix: 'md'); 9 #import('../../pkg/dartdoc/lib/dartdoc.dart', prefix: 'dd');
10 #import('../../pkg/dartdoc/lib/markdown.dart', prefix: 'md');
10 11
11 // TODO(rnystrom): Better path to unittest. 12 // TODO(rnystrom): Better path to unittest.
12 #import('../../pkg/unittest/unittest.dart'); 13 #import('../../pkg/unittest/unittest.dart');
13 #import('../../frog/lang.dart'); 14 #import('../../frog/lang.dart');
14 #import('../../frog/file_system_vm.dart'); 15 #import('../../frog/file_system_vm.dart');
15 16
16 main() { 17 main() {
17 var files = new VMFileSystem(); 18 var files = new VMFileSystem();
18 parseOptions('../../frog', [], files); 19 parseOptions('../../frog', [], files);
19 initializeWorld(files); 20 initializeWorld(files);
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after
215 216
216 test('to a named constructor', () { 217 test('to a named constructor', () {
217 expect(render(doc.resolveNameReference('new Class.namedConstructor', 218 expect(render(doc.resolveNameReference('new Class.namedConstructor',
218 library: dummy)), 219 library: dummy)),
219 equals('<a class="crossref" ' + 220 equals('<a class="crossref" ' +
220 'href="../dummy/Class.html#new:Class.namedConstructor">new ' + 221 'href="../dummy/Class.html#new:Class.namedConstructor">new ' +
221 'Class.namedConstructor</a>')); 222 'Class.namedConstructor</a>'));
222 }); 223 });
223 }); 224 });
224 } 225 }
OLDNEW
« no previous file with comments | « tests/utils/dartdoc_search_test.dart ('k') | tests/utils/markdown_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698