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

Side by Side Diff: app/test/handlers_test_utils.dart

Issue 2341963009: pub site: update dependencies and fix analyzer (Closed)
Patch Set: better Created 4 years, 3 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 | « app/test/backend_test_utils.dart ('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) 2015, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, 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_dartlang_org.handlers_test; 5 library pub_dartlang_org.handlers_test;
6 6
7 import 'dart:async'; 7 import 'dart:async';
8 import 'dart:convert'; 8 import 'dart:convert';
9 9
10 import 'package:unittest/unittest.dart'; 10 import 'package:unittest/unittest.dart';
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 } 153 }
154 154
155 String renderPkgIndexPage(List<Package> packages, 155 String renderPkgIndexPage(List<Package> packages,
156 List<PackageVersion> versions, 156 List<PackageVersion> versions,
157 PageLinks links) { 157 PageLinks links) {
158 return Response; 158 return Response;
159 } 159 }
160 160
161 String renderPkgShowPage(Package package, 161 String renderPkgShowPage(Package package,
162 List<PackageVersion> versions, 162 List<PackageVersion> versions,
163 List<Uri> downloadUris, 163 List<Uri> versionDownloadUrls,
164 PackageVersion latestVersion, 164 PackageVersion selectedVersion,
165 PackageVersion latestStableVersion,
166 PackageVersion latestDevVersion,
165 int totalNumberOfVersions) { 167 int totalNumberOfVersions) {
166 return Response; 168 return Response;
167 } 169 }
168 170
169 String renderPkgVersionsPage(String package, 171 String renderPkgVersionsPage(String package,
170 List<PackageVersion> versions, 172 List<PackageVersion> versions,
171 List<Uri> versionDownloadUrls) { 173 List<Uri> versionDownloadUrls) {
172 return Response; 174 return Response;
173 } 175 }
174 176
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
213 215
214 final Function searchFun; 216 final Function searchFun;
215 217
216 SearchServiceMock(this.searchFun); 218 SearchServiceMock(this.searchFun);
217 219
218 Future<SearchResultPage> search( 220 Future<SearchResultPage> search(
219 String query, int offset, int numResults) async { 221 String query, int offset, int numResults) async {
220 return searchFun(query, offset, numResults); 222 return searchFun(query, offset, numResults);
221 } 223 }
222 } 224 }
OLDNEW
« no previous file with comments | « app/test/backend_test_utils.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698