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

Side by Side Diff: utils/apidoc/apidoc.dart

Issue 10389223: Add unittest to apidoc and fix readme. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 7 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
« lib/unittest/unittest.dart ('K') | « utils/apidoc/README.txt ('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) 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 /** 5 /**
6 * This generates the reference documentation for the core libraries that come 6 * This generates the reference documentation for the core libraries that come
7 * with dart. It is built on top of dartdoc, which is a general-purpose library 7 * with dart. It is built on top of dartdoc, which is a general-purpose library
8 * for generating docs from any Dart code. This library extends that to include 8 * for generating docs from any Dart code. This library extends that to include
9 * additional information and styling specific to our standard library. 9 * additional information and styling specific to our standard library.
10 * 10 *
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 world.reset(); 108 world.reset();
109 109
110 // Add all of the core libraries. 110 // Add all of the core libraries.
111 world.getOrAddLibrary('dart:core'); 111 world.getOrAddLibrary('dart:core');
112 world.getOrAddLibrary('dart:coreimpl'); 112 world.getOrAddLibrary('dart:coreimpl');
113 world.getOrAddLibrary('dart:crypto'); 113 world.getOrAddLibrary('dart:crypto');
114 world.getOrAddLibrary('dart:html'); 114 world.getOrAddLibrary('dart:html');
115 world.getOrAddLibrary('dart:io'); 115 world.getOrAddLibrary('dart:io');
116 world.getOrAddLibrary('dart:isolate'); 116 world.getOrAddLibrary('dart:isolate');
117 world.getOrAddLibrary('dart:json'); 117 world.getOrAddLibrary('dart:json');
118 world.getOrAddLibrary('lib/unittest/unittest.dart');
118 world.getOrAddLibrary('dart:uri'); 119 world.getOrAddLibrary('dart:uri');
119 world.getOrAddLibrary('dart:utf'); 120 world.getOrAddLibrary('dart:utf');
120 world.process(); 121 world.process();
121 122
122 print('Generating docs...'); 123 print('Generating docs...');
123 final apidoc = new Apidoc(mdn, outputDir, mode, generateAppCache); 124 final apidoc = new Apidoc(mdn, outputDir, mode, generateAppCache);
124 125
125 Futures.wait([scriptCompiled, copiedStatic, copiedApiDocStatic]).then((_) { 126 Futures.wait([scriptCompiled, copiedStatic, copiedApiDocStatic]).then((_) {
126 apidoc.document(); 127 apidoc.document();
127 }); 128 });
(...skipping 380 matching lines...) Expand 10 before | Expand all | Expand 10 after
508 ''' 509 '''
509 <p class="correspond">This corresponds to $domTypesText in the 510 <p class="correspond">This corresponds to $domTypesText in the
510 ${a("dom.html", "dart:dom_deprecated")} library.</p> 511 ${a("dom.html", "dart:dom_deprecated")} library.</p>
511 '''; 512 ''';
512 } 513 }
513 514
514 return ''; 515 return '';
515 } 516 }
516 517
517 } 518 }
OLDNEW
« lib/unittest/unittest.dart ('K') | « utils/apidoc/README.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698