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

Side by Side Diff: test/pub_uploader_test.dart

Issue 1585513002: Get rid of all the library tags. (Closed) Base URL: git@github.com:dart-lang/pub.git@master
Patch Set: Created 4 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
« no previous file with comments | « test/pub_test.dart ('k') | test/pubspec_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) 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 library pub_uploader_test;
6
7 import 'dart:convert'; 5 import 'dart:convert';
8 6
9 import 'package:pub/src/exit_codes.dart' as exit_codes; 7 import 'package:pub/src/exit_codes.dart' as exit_codes;
10 import 'package:pub/src/utils.dart'; 8 import 'package:pub/src/utils.dart';
11 import 'package:scheduled_test/scheduled_process.dart'; 9 import 'package:scheduled_test/scheduled_process.dart';
12 import 'package:scheduled_test/scheduled_server.dart'; 10 import 'package:scheduled_test/scheduled_server.dart';
13 import 'package:scheduled_test/scheduled_test.dart'; 11 import 'package:scheduled_test/scheduled_test.dart';
14 import 'package:shelf/shelf.dart' as shelf; 12 import 'package:shelf/shelf.dart' as shelf;
15 13
16 import 'descriptor.dart' as d; 14 import 'descriptor.dart' as d;
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 157
160 server.handle('DELETE', '/api/packages/pkg/uploaders/email', 158 server.handle('DELETE', '/api/packages/pkg/uploaders/email',
161 (request) => new shelf.Response.ok("{not json")); 159 (request) => new shelf.Response.ok("{not json"));
162 160
163 pub.stderr.expect(emitsLines( 161 pub.stderr.expect(emitsLines(
164 'Invalid server response:\n' 162 'Invalid server response:\n'
165 '{not json')); 163 '{not json'));
166 pub.shouldExit(1); 164 pub.shouldExit(1);
167 }); 165 });
168 } 166 }
OLDNEW
« no previous file with comments | « test/pub_test.dart ('k') | test/pubspec_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698