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

Side by Side Diff: utils/tests/pub/validator_test.dart

Issue 12782016: Switch pkg packages, pub, and dartdoc to use package: imports. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Code review changes. Created 7 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
« no previous file with comments | « utils/tests/pub/update/pub_update_test.dart ('k') | utils/tests/pub/version_solver_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 library validator_test; 5 library validator_test;
6 6
7 import 'dart:async'; 7 import 'dart:async';
8 import 'dart:io'; 8 import 'dart:io';
9 import 'dart:json' as json; 9 import 'dart:json' as json;
10 import 'dart:math' as math; 10 import 'dart:math' as math;
11 11
12 import '../../../pkg/http/lib/http.dart' as http; 12 import 'package:http/http.dart' as http;
13 import '../../../pkg/http/lib/testing.dart'; 13 import 'package:http/testing.dart';
14 import '../../../pkg/pathos/lib/path.dart' as path; 14 import 'package:pathos/path.dart' as path;
15 import '../../../pkg/scheduled_test/lib/scheduled_test.dart'; 15 import 'package:scheduled_test/scheduled_test.dart';
16 16
17 import '../../pub/entrypoint.dart'; 17 import '../../pub/entrypoint.dart';
18 import '../../pub/io.dart'; 18 import '../../pub/io.dart';
19 import '../../pub/validator.dart'; 19 import '../../pub/validator.dart';
20 import '../../pub/validator/compiled_dartdoc.dart'; 20 import '../../pub/validator/compiled_dartdoc.dart';
21 import '../../pub/validator/dependency.dart'; 21 import '../../pub/validator/dependency.dart';
22 import '../../pub/validator/directory.dart'; 22 import '../../pub/validator/directory.dart';
23 import '../../pub/validator/lib.dart'; 23 import '../../pub/validator/lib.dart';
24 import '../../pub/validator/license.dart'; 24 import '../../pub/validator/license.dart';
25 import '../../pub/validator/name.dart'; 25 import '../../pub/validator/name.dart';
(...skipping 549 matching lines...) Expand 10 before | Expand all | Expand 10 after
575 }); 575 });
576 576
577 integration('has a README with invalid utf-8', () { 577 integration('has a README with invalid utf-8', () {
578 d.dir(appPath, [ 578 d.dir(appPath, [
579 d.binaryFile("README", [192]) 579 d.binaryFile("README", [192])
580 ]).create(); 580 ]).create();
581 expectValidationWarning(utf8Readme); 581 expectValidationWarning(utf8Readme);
582 }); 582 });
583 }); 583 });
584 } 584 }
OLDNEW
« no previous file with comments | « utils/tests/pub/update/pub_update_test.dart ('k') | utils/tests/pub/version_solver_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698