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

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

Issue 16019002: Merge the dart:uri library into dart:core and update the Uri class (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Final cleanup Created 7 years, 6 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 | « sdk/lib/_internal/dartdoc/lib/src/export_map.dart ('k') | sdk/lib/_internal/libraries.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) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, 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 import 'dart:io'; 5 import 'dart:io';
6 import 'dart:uri';
7 6
8 import 'package:pathos/path.dart' as pathos; 7 import 'package:pathos/path.dart' as pathos;
9 import 'package:unittest/unittest.dart'; 8 import 'package:unittest/unittest.dart';
10 9
11 import '../lib/src/export_map.dart'; 10 import '../lib/src/export_map.dart';
12 import '../lib/src/dartdoc/utils.dart'; 11 import '../lib/src/dartdoc/utils.dart';
13 12
14 String tempDir; 13 String tempDir;
15 14
16 main() { 15 main() {
(...skipping 374 matching lines...) Expand 10 before | Expand all | Expand 10 after
391 String libPath(String name) => pathos.normalize(pathos.join(tempDir, name)); 390 String libPath(String name) => pathos.normalize(pathos.join(tempDir, name));
392 391
393 void createTempDir() { 392 void createTempDir() {
394 tempDir = new Directory('').createTempSync().path; 393 tempDir = new Directory('').createTempSync().path;
395 new Directory(pathos.join(tempDir, 'packages')).createSync(); 394 new Directory(pathos.join(tempDir, 'packages')).createSync();
396 } 395 }
397 396
398 void deleteTempDir() { 397 void deleteTempDir() {
399 new Directory(tempDir).deleteSync(recursive: true); 398 new Directory(tempDir).deleteSync(recursive: true);
400 } 399 }
OLDNEW
« no previous file with comments | « sdk/lib/_internal/dartdoc/lib/src/export_map.dart ('k') | sdk/lib/_internal/libraries.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698