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

Side by Side Diff: sdk/lib/_internal/dartdoc/test/dartdoc_test.dart

Issue 11783009: Big merge from experimental to bleeding edge. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 11 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) 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 dartdocTests; 6 library dartdocTests;
7 7
8 import 'dart:io'; 8 import 'dart:io';
9 9
10 // TODO(rnystrom): Use "package:" URL (#4968). 10 // TODO(rnystrom): Use "package:" URL (#4968).
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 }); 139 });
140 140
141 }); 141 });
142 } 142 }
143 143
144 Future _runDartdoc(List<String> arguments, {int exitCode: 0}) { 144 Future _runDartdoc(List<String> arguments, {int exitCode: 0}) {
145 var dartBin = new Options().executable; 145 var dartBin = new Options().executable;
146 var dartdoc = 'bin/dartdoc.dart'; 146 var dartdoc = 'bin/dartdoc.dart';
147 arguments.insertRange(0, 1, dartdoc); 147 arguments.insertRange(0, 1, dartdoc);
148 return Process.run(dartBin, arguments) 148 return Process.run(dartBin, arguments)
149 .transform((result) { 149 .then((result) {
150 expect(result.exitCode, exitCode); 150 expect(result.exitCode, exitCode);
151 }); 151 });
152 } 152 }
OLDNEW
« no previous file with comments | « sdk/lib/_internal/dartdoc/lib/src/markdown/html_renderer.dart ('k') | sdk/lib/_internal/libraries.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698