OLD | NEW |
1 library googleapis.doubleclickbidmanager.v1.test; | 1 library googleapis.doubleclickbidmanager.v1.test; |
2 | 2 |
3 import "dart:core" as core; | 3 import "dart:core" as core; |
4 import "dart:collection" as collection; | 4 import "dart:collection" as collection; |
5 import "dart:async" as async; | 5 import "dart:async" as async; |
6 import "dart:convert" as convert; | 6 import "dart:convert" as convert; |
7 | 7 |
8 import 'package:http/http.dart' as http; | 8 import 'package:http/http.dart' as http; |
9 import 'package:http/testing.dart' as http_testing; | 9 import 'package:http/testing.dart' as http_testing; |
10 import 'package:unittest/unittest.dart' as unittest; | 10 import 'package:unittest/unittest.dart' as unittest; |
11 import 'package:googleapis/common/common.dart' as common; | 11 import 'package:googleapis/common/common.dart' as common; |
12 import 'package:googleapis/src/common_internal.dart' as common_internal; | 12 import 'package:googleapis/src/common_internal.dart' as common_internal; |
13 import '../common/common_internal_test.dart' as common_test; | 13 import '../common/common_internal_test.dart' as common_test; |
14 | 14 |
15 import 'package:googleapis/doubleclickbidmanager/v1.dart' as api; | 15 import 'package:googleapis/doubleclickbidmanager/v1.dart' as api; |
16 | 16 |
17 | 17 |
18 | 18 |
19 buildUnnamed691() { | 19 buildUnnamed719() { |
20 var o = new core.List<core.String>(); | 20 var o = new core.List<core.String>(); |
21 o.add("foo"); | 21 o.add("foo"); |
22 o.add("foo"); | 22 o.add("foo"); |
23 return o; | 23 return o; |
24 } | 24 } |
25 | 25 |
26 checkUnnamed691(core.List<core.String> o) { | 26 checkUnnamed719(core.List<core.String> o) { |
27 unittest.expect(o, unittest.hasLength(2)); | 27 unittest.expect(o, unittest.hasLength(2)); |
28 unittest.expect(o[0], unittest.equals('foo')); | 28 unittest.expect(o[0], unittest.equals('foo')); |
29 unittest.expect(o[1], unittest.equals('foo')); | 29 unittest.expect(o[1], unittest.equals('foo')); |
30 } | 30 } |
31 | 31 |
32 core.int buildCounterDownloadLineItemsRequest = 0; | 32 core.int buildCounterDownloadLineItemsRequest = 0; |
33 buildDownloadLineItemsRequest() { | 33 buildDownloadLineItemsRequest() { |
34 var o = new api.DownloadLineItemsRequest(); | 34 var o = new api.DownloadLineItemsRequest(); |
35 buildCounterDownloadLineItemsRequest++; | 35 buildCounterDownloadLineItemsRequest++; |
36 if (buildCounterDownloadLineItemsRequest < 3) { | 36 if (buildCounterDownloadLineItemsRequest < 3) { |
37 o.filterIds = buildUnnamed691(); | 37 o.filterIds = buildUnnamed719(); |
38 o.filterType = "foo"; | 38 o.filterType = "foo"; |
39 o.format = "foo"; | 39 o.format = "foo"; |
40 } | 40 } |
41 buildCounterDownloadLineItemsRequest--; | 41 buildCounterDownloadLineItemsRequest--; |
42 return o; | 42 return o; |
43 } | 43 } |
44 | 44 |
45 checkDownloadLineItemsRequest(api.DownloadLineItemsRequest o) { | 45 checkDownloadLineItemsRequest(api.DownloadLineItemsRequest o) { |
46 buildCounterDownloadLineItemsRequest++; | 46 buildCounterDownloadLineItemsRequest++; |
47 if (buildCounterDownloadLineItemsRequest < 3) { | 47 if (buildCounterDownloadLineItemsRequest < 3) { |
48 checkUnnamed691(o.filterIds); | 48 checkUnnamed719(o.filterIds); |
49 unittest.expect(o.filterType, unittest.equals('foo')); | 49 unittest.expect(o.filterType, unittest.equals('foo')); |
50 unittest.expect(o.format, unittest.equals('foo')); | 50 unittest.expect(o.format, unittest.equals('foo')); |
51 } | 51 } |
52 buildCounterDownloadLineItemsRequest--; | 52 buildCounterDownloadLineItemsRequest--; |
53 } | 53 } |
54 | 54 |
55 core.int buildCounterDownloadLineItemsResponse = 0; | 55 core.int buildCounterDownloadLineItemsResponse = 0; |
56 buildDownloadLineItemsResponse() { | 56 buildDownloadLineItemsResponse() { |
57 var o = new api.DownloadLineItemsResponse(); | 57 var o = new api.DownloadLineItemsResponse(); |
58 buildCounterDownloadLineItemsResponse++; | 58 buildCounterDownloadLineItemsResponse++; |
(...skipping 26 matching lines...) Expand all Loading... |
85 | 85 |
86 checkFilterPair(api.FilterPair o) { | 86 checkFilterPair(api.FilterPair o) { |
87 buildCounterFilterPair++; | 87 buildCounterFilterPair++; |
88 if (buildCounterFilterPair < 3) { | 88 if (buildCounterFilterPair < 3) { |
89 unittest.expect(o.type, unittest.equals('foo')); | 89 unittest.expect(o.type, unittest.equals('foo')); |
90 unittest.expect(o.value, unittest.equals('foo')); | 90 unittest.expect(o.value, unittest.equals('foo')); |
91 } | 91 } |
92 buildCounterFilterPair--; | 92 buildCounterFilterPair--; |
93 } | 93 } |
94 | 94 |
95 buildUnnamed692() { | 95 buildUnnamed720() { |
96 var o = new core.List<api.Query>(); | 96 var o = new core.List<api.Query>(); |
97 o.add(buildQuery()); | 97 o.add(buildQuery()); |
98 o.add(buildQuery()); | 98 o.add(buildQuery()); |
99 return o; | 99 return o; |
100 } | 100 } |
101 | 101 |
102 checkUnnamed692(core.List<api.Query> o) { | 102 checkUnnamed720(core.List<api.Query> o) { |
103 unittest.expect(o, unittest.hasLength(2)); | 103 unittest.expect(o, unittest.hasLength(2)); |
104 checkQuery(o[0]); | 104 checkQuery(o[0]); |
105 checkQuery(o[1]); | 105 checkQuery(o[1]); |
106 } | 106 } |
107 | 107 |
108 core.int buildCounterListQueriesResponse = 0; | 108 core.int buildCounterListQueriesResponse = 0; |
109 buildListQueriesResponse() { | 109 buildListQueriesResponse() { |
110 var o = new api.ListQueriesResponse(); | 110 var o = new api.ListQueriesResponse(); |
111 buildCounterListQueriesResponse++; | 111 buildCounterListQueriesResponse++; |
112 if (buildCounterListQueriesResponse < 3) { | 112 if (buildCounterListQueriesResponse < 3) { |
113 o.kind = "foo"; | 113 o.kind = "foo"; |
114 o.queries = buildUnnamed692(); | 114 o.queries = buildUnnamed720(); |
115 } | 115 } |
116 buildCounterListQueriesResponse--; | 116 buildCounterListQueriesResponse--; |
117 return o; | 117 return o; |
118 } | 118 } |
119 | 119 |
120 checkListQueriesResponse(api.ListQueriesResponse o) { | 120 checkListQueriesResponse(api.ListQueriesResponse o) { |
121 buildCounterListQueriesResponse++; | 121 buildCounterListQueriesResponse++; |
122 if (buildCounterListQueriesResponse < 3) { | 122 if (buildCounterListQueriesResponse < 3) { |
123 unittest.expect(o.kind, unittest.equals('foo')); | 123 unittest.expect(o.kind, unittest.equals('foo')); |
124 checkUnnamed692(o.queries); | 124 checkUnnamed720(o.queries); |
125 } | 125 } |
126 buildCounterListQueriesResponse--; | 126 buildCounterListQueriesResponse--; |
127 } | 127 } |
128 | 128 |
129 buildUnnamed693() { | 129 buildUnnamed721() { |
130 var o = new core.List<api.Report>(); | 130 var o = new core.List<api.Report>(); |
131 o.add(buildReport()); | 131 o.add(buildReport()); |
132 o.add(buildReport()); | 132 o.add(buildReport()); |
133 return o; | 133 return o; |
134 } | 134 } |
135 | 135 |
136 checkUnnamed693(core.List<api.Report> o) { | 136 checkUnnamed721(core.List<api.Report> o) { |
137 unittest.expect(o, unittest.hasLength(2)); | 137 unittest.expect(o, unittest.hasLength(2)); |
138 checkReport(o[0]); | 138 checkReport(o[0]); |
139 checkReport(o[1]); | 139 checkReport(o[1]); |
140 } | 140 } |
141 | 141 |
142 core.int buildCounterListReportsResponse = 0; | 142 core.int buildCounterListReportsResponse = 0; |
143 buildListReportsResponse() { | 143 buildListReportsResponse() { |
144 var o = new api.ListReportsResponse(); | 144 var o = new api.ListReportsResponse(); |
145 buildCounterListReportsResponse++; | 145 buildCounterListReportsResponse++; |
146 if (buildCounterListReportsResponse < 3) { | 146 if (buildCounterListReportsResponse < 3) { |
147 o.kind = "foo"; | 147 o.kind = "foo"; |
148 o.reports = buildUnnamed693(); | 148 o.reports = buildUnnamed721(); |
149 } | 149 } |
150 buildCounterListReportsResponse--; | 150 buildCounterListReportsResponse--; |
151 return o; | 151 return o; |
152 } | 152 } |
153 | 153 |
154 checkListReportsResponse(api.ListReportsResponse o) { | 154 checkListReportsResponse(api.ListReportsResponse o) { |
155 buildCounterListReportsResponse++; | 155 buildCounterListReportsResponse++; |
156 if (buildCounterListReportsResponse < 3) { | 156 if (buildCounterListReportsResponse < 3) { |
157 unittest.expect(o.kind, unittest.equals('foo')); | 157 unittest.expect(o.kind, unittest.equals('foo')); |
158 checkUnnamed693(o.reports); | 158 checkUnnamed721(o.reports); |
159 } | 159 } |
160 buildCounterListReportsResponse--; | 160 buildCounterListReportsResponse--; |
161 } | 161 } |
162 | 162 |
163 buildUnnamed694() { | 163 buildUnnamed722() { |
164 var o = new core.List<api.FilterPair>(); | 164 var o = new core.List<api.FilterPair>(); |
165 o.add(buildFilterPair()); | 165 o.add(buildFilterPair()); |
166 o.add(buildFilterPair()); | 166 o.add(buildFilterPair()); |
167 return o; | 167 return o; |
168 } | 168 } |
169 | 169 |
170 checkUnnamed694(core.List<api.FilterPair> o) { | 170 checkUnnamed722(core.List<api.FilterPair> o) { |
171 unittest.expect(o, unittest.hasLength(2)); | 171 unittest.expect(o, unittest.hasLength(2)); |
172 checkFilterPair(o[0]); | 172 checkFilterPair(o[0]); |
173 checkFilterPair(o[1]); | 173 checkFilterPair(o[1]); |
174 } | 174 } |
175 | 175 |
176 buildUnnamed695() { | 176 buildUnnamed723() { |
177 var o = new core.List<core.String>(); | 177 var o = new core.List<core.String>(); |
178 o.add("foo"); | 178 o.add("foo"); |
179 o.add("foo"); | 179 o.add("foo"); |
180 return o; | 180 return o; |
181 } | 181 } |
182 | 182 |
183 checkUnnamed695(core.List<core.String> o) { | 183 checkUnnamed723(core.List<core.String> o) { |
184 unittest.expect(o, unittest.hasLength(2)); | 184 unittest.expect(o, unittest.hasLength(2)); |
185 unittest.expect(o[0], unittest.equals('foo')); | 185 unittest.expect(o[0], unittest.equals('foo')); |
186 unittest.expect(o[1], unittest.equals('foo')); | 186 unittest.expect(o[1], unittest.equals('foo')); |
187 } | 187 } |
188 | 188 |
189 buildUnnamed696() { | 189 buildUnnamed724() { |
190 var o = new core.List<core.String>(); | 190 var o = new core.List<core.String>(); |
191 o.add("foo"); | 191 o.add("foo"); |
192 o.add("foo"); | 192 o.add("foo"); |
193 return o; | 193 return o; |
194 } | 194 } |
195 | 195 |
196 checkUnnamed696(core.List<core.String> o) { | 196 checkUnnamed724(core.List<core.String> o) { |
197 unittest.expect(o, unittest.hasLength(2)); | 197 unittest.expect(o, unittest.hasLength(2)); |
198 unittest.expect(o[0], unittest.equals('foo')); | 198 unittest.expect(o[0], unittest.equals('foo')); |
199 unittest.expect(o[1], unittest.equals('foo')); | 199 unittest.expect(o[1], unittest.equals('foo')); |
200 } | 200 } |
201 | 201 |
202 core.int buildCounterParameters = 0; | 202 core.int buildCounterParameters = 0; |
203 buildParameters() { | 203 buildParameters() { |
204 var o = new api.Parameters(); | 204 var o = new api.Parameters(); |
205 buildCounterParameters++; | 205 buildCounterParameters++; |
206 if (buildCounterParameters < 3) { | 206 if (buildCounterParameters < 3) { |
207 o.filters = buildUnnamed694(); | 207 o.filters = buildUnnamed722(); |
208 o.groupBys = buildUnnamed695(); | 208 o.groupBys = buildUnnamed723(); |
209 o.includeInviteData = true; | 209 o.includeInviteData = true; |
210 o.metrics = buildUnnamed696(); | 210 o.metrics = buildUnnamed724(); |
211 o.type = "foo"; | 211 o.type = "foo"; |
212 } | 212 } |
213 buildCounterParameters--; | 213 buildCounterParameters--; |
214 return o; | 214 return o; |
215 } | 215 } |
216 | 216 |
217 checkParameters(api.Parameters o) { | 217 checkParameters(api.Parameters o) { |
218 buildCounterParameters++; | 218 buildCounterParameters++; |
219 if (buildCounterParameters < 3) { | 219 if (buildCounterParameters < 3) { |
220 checkUnnamed694(o.filters); | 220 checkUnnamed722(o.filters); |
221 checkUnnamed695(o.groupBys); | 221 checkUnnamed723(o.groupBys); |
222 unittest.expect(o.includeInviteData, unittest.isTrue); | 222 unittest.expect(o.includeInviteData, unittest.isTrue); |
223 checkUnnamed696(o.metrics); | 223 checkUnnamed724(o.metrics); |
224 unittest.expect(o.type, unittest.equals('foo')); | 224 unittest.expect(o.type, unittest.equals('foo')); |
225 } | 225 } |
226 buildCounterParameters--; | 226 buildCounterParameters--; |
227 } | 227 } |
228 | 228 |
229 core.int buildCounterQuery = 0; | 229 core.int buildCounterQuery = 0; |
230 buildQuery() { | 230 buildQuery() { |
231 var o = new api.Query(); | 231 var o = new api.Query(); |
232 buildCounterQuery++; | 232 buildCounterQuery++; |
233 if (buildCounterQuery < 3) { | 233 if (buildCounterQuery < 3) { |
(...skipping 18 matching lines...) Expand all Loading... |
252 checkParameters(o.params); | 252 checkParameters(o.params); |
253 unittest.expect(o.queryId, unittest.equals('foo')); | 253 unittest.expect(o.queryId, unittest.equals('foo')); |
254 unittest.expect(o.reportDataEndTimeMs, unittest.equals('foo')); | 254 unittest.expect(o.reportDataEndTimeMs, unittest.equals('foo')); |
255 unittest.expect(o.reportDataStartTimeMs, unittest.equals('foo')); | 255 unittest.expect(o.reportDataStartTimeMs, unittest.equals('foo')); |
256 checkQuerySchedule(o.schedule); | 256 checkQuerySchedule(o.schedule); |
257 unittest.expect(o.timezoneCode, unittest.equals('foo')); | 257 unittest.expect(o.timezoneCode, unittest.equals('foo')); |
258 } | 258 } |
259 buildCounterQuery--; | 259 buildCounterQuery--; |
260 } | 260 } |
261 | 261 |
262 buildUnnamed697() { | 262 buildUnnamed725() { |
263 var o = new core.List<core.String>(); | 263 var o = new core.List<core.String>(); |
264 o.add("foo"); | 264 o.add("foo"); |
265 o.add("foo"); | 265 o.add("foo"); |
266 return o; | 266 return o; |
267 } | 267 } |
268 | 268 |
269 checkUnnamed697(core.List<core.String> o) { | 269 checkUnnamed725(core.List<core.String> o) { |
270 unittest.expect(o, unittest.hasLength(2)); | 270 unittest.expect(o, unittest.hasLength(2)); |
271 unittest.expect(o[0], unittest.equals('foo')); | 271 unittest.expect(o[0], unittest.equals('foo')); |
272 unittest.expect(o[1], unittest.equals('foo')); | 272 unittest.expect(o[1], unittest.equals('foo')); |
273 } | 273 } |
274 | 274 |
275 core.int buildCounterQueryMetadata = 0; | 275 core.int buildCounterQueryMetadata = 0; |
276 buildQueryMetadata() { | 276 buildQueryMetadata() { |
277 var o = new api.QueryMetadata(); | 277 var o = new api.QueryMetadata(); |
278 buildCounterQueryMetadata++; | 278 buildCounterQueryMetadata++; |
279 if (buildCounterQueryMetadata < 3) { | 279 if (buildCounterQueryMetadata < 3) { |
280 o.dataRange = "foo"; | 280 o.dataRange = "foo"; |
281 o.format = "foo"; | 281 o.format = "foo"; |
282 o.googleCloudStoragePathForLatestReport = "foo"; | 282 o.googleCloudStoragePathForLatestReport = "foo"; |
283 o.googleDrivePathForLatestReport = "foo"; | 283 o.googleDrivePathForLatestReport = "foo"; |
284 o.latestReportRunTimeMs = "foo"; | 284 o.latestReportRunTimeMs = "foo"; |
285 o.reportCount = 42; | 285 o.reportCount = 42; |
286 o.running = true; | 286 o.running = true; |
287 o.sendNotification = true; | 287 o.sendNotification = true; |
288 o.shareEmailAddress = buildUnnamed697(); | 288 o.shareEmailAddress = buildUnnamed725(); |
289 o.title = "foo"; | 289 o.title = "foo"; |
290 } | 290 } |
291 buildCounterQueryMetadata--; | 291 buildCounterQueryMetadata--; |
292 return o; | 292 return o; |
293 } | 293 } |
294 | 294 |
295 checkQueryMetadata(api.QueryMetadata o) { | 295 checkQueryMetadata(api.QueryMetadata o) { |
296 buildCounterQueryMetadata++; | 296 buildCounterQueryMetadata++; |
297 if (buildCounterQueryMetadata < 3) { | 297 if (buildCounterQueryMetadata < 3) { |
298 unittest.expect(o.dataRange, unittest.equals('foo')); | 298 unittest.expect(o.dataRange, unittest.equals('foo')); |
299 unittest.expect(o.format, unittest.equals('foo')); | 299 unittest.expect(o.format, unittest.equals('foo')); |
300 unittest.expect(o.googleCloudStoragePathForLatestReport, unittest.equals('fo
o')); | 300 unittest.expect(o.googleCloudStoragePathForLatestReport, unittest.equals('fo
o')); |
301 unittest.expect(o.googleDrivePathForLatestReport, unittest.equals('foo')); | 301 unittest.expect(o.googleDrivePathForLatestReport, unittest.equals('foo')); |
302 unittest.expect(o.latestReportRunTimeMs, unittest.equals('foo')); | 302 unittest.expect(o.latestReportRunTimeMs, unittest.equals('foo')); |
303 unittest.expect(o.reportCount, unittest.equals(42)); | 303 unittest.expect(o.reportCount, unittest.equals(42)); |
304 unittest.expect(o.running, unittest.isTrue); | 304 unittest.expect(o.running, unittest.isTrue); |
305 unittest.expect(o.sendNotification, unittest.isTrue); | 305 unittest.expect(o.sendNotification, unittest.isTrue); |
306 checkUnnamed697(o.shareEmailAddress); | 306 checkUnnamed725(o.shareEmailAddress); |
307 unittest.expect(o.title, unittest.equals('foo')); | 307 unittest.expect(o.title, unittest.equals('foo')); |
308 } | 308 } |
309 buildCounterQueryMetadata--; | 309 buildCounterQueryMetadata--; |
310 } | 310 } |
311 | 311 |
312 core.int buildCounterQuerySchedule = 0; | 312 core.int buildCounterQuerySchedule = 0; |
313 buildQuerySchedule() { | 313 buildQuerySchedule() { |
314 var o = new api.QuerySchedule(); | 314 var o = new api.QuerySchedule(); |
315 buildCounterQuerySchedule++; | 315 buildCounterQuerySchedule++; |
316 if (buildCounterQuerySchedule < 3) { | 316 if (buildCounterQuerySchedule < 3) { |
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
440 buildCounterReportStatus++; | 440 buildCounterReportStatus++; |
441 if (buildCounterReportStatus < 3) { | 441 if (buildCounterReportStatus < 3) { |
442 checkReportFailure(o.failure); | 442 checkReportFailure(o.failure); |
443 unittest.expect(o.finishTimeMs, unittest.equals('foo')); | 443 unittest.expect(o.finishTimeMs, unittest.equals('foo')); |
444 unittest.expect(o.format, unittest.equals('foo')); | 444 unittest.expect(o.format, unittest.equals('foo')); |
445 unittest.expect(o.state, unittest.equals('foo')); | 445 unittest.expect(o.state, unittest.equals('foo')); |
446 } | 446 } |
447 buildCounterReportStatus--; | 447 buildCounterReportStatus--; |
448 } | 448 } |
449 | 449 |
450 buildUnnamed698() { | 450 buildUnnamed726() { |
451 var o = new core.List<core.String>(); | 451 var o = new core.List<core.String>(); |
452 o.add("foo"); | 452 o.add("foo"); |
453 o.add("foo"); | 453 o.add("foo"); |
454 return o; | 454 return o; |
455 } | 455 } |
456 | 456 |
457 checkUnnamed698(core.List<core.String> o) { | 457 checkUnnamed726(core.List<core.String> o) { |
458 unittest.expect(o, unittest.hasLength(2)); | 458 unittest.expect(o, unittest.hasLength(2)); |
459 unittest.expect(o[0], unittest.equals('foo')); | 459 unittest.expect(o[0], unittest.equals('foo')); |
460 unittest.expect(o[1], unittest.equals('foo')); | 460 unittest.expect(o[1], unittest.equals('foo')); |
461 } | 461 } |
462 | 462 |
463 core.int buildCounterRowStatus = 0; | 463 core.int buildCounterRowStatus = 0; |
464 buildRowStatus() { | 464 buildRowStatus() { |
465 var o = new api.RowStatus(); | 465 var o = new api.RowStatus(); |
466 buildCounterRowStatus++; | 466 buildCounterRowStatus++; |
467 if (buildCounterRowStatus < 3) { | 467 if (buildCounterRowStatus < 3) { |
468 o.changed = true; | 468 o.changed = true; |
469 o.entityId = "foo"; | 469 o.entityId = "foo"; |
470 o.entityName = "foo"; | 470 o.entityName = "foo"; |
471 o.errors = buildUnnamed698(); | 471 o.errors = buildUnnamed726(); |
472 o.persisted = true; | 472 o.persisted = true; |
473 o.rowNumber = 42; | 473 o.rowNumber = 42; |
474 } | 474 } |
475 buildCounterRowStatus--; | 475 buildCounterRowStatus--; |
476 return o; | 476 return o; |
477 } | 477 } |
478 | 478 |
479 checkRowStatus(api.RowStatus o) { | 479 checkRowStatus(api.RowStatus o) { |
480 buildCounterRowStatus++; | 480 buildCounterRowStatus++; |
481 if (buildCounterRowStatus < 3) { | 481 if (buildCounterRowStatus < 3) { |
482 unittest.expect(o.changed, unittest.isTrue); | 482 unittest.expect(o.changed, unittest.isTrue); |
483 unittest.expect(o.entityId, unittest.equals('foo')); | 483 unittest.expect(o.entityId, unittest.equals('foo')); |
484 unittest.expect(o.entityName, unittest.equals('foo')); | 484 unittest.expect(o.entityName, unittest.equals('foo')); |
485 checkUnnamed698(o.errors); | 485 checkUnnamed726(o.errors); |
486 unittest.expect(o.persisted, unittest.isTrue); | 486 unittest.expect(o.persisted, unittest.isTrue); |
487 unittest.expect(o.rowNumber, unittest.equals(42)); | 487 unittest.expect(o.rowNumber, unittest.equals(42)); |
488 } | 488 } |
489 buildCounterRowStatus--; | 489 buildCounterRowStatus--; |
490 } | 490 } |
491 | 491 |
492 core.int buildCounterRunQueryRequest = 0; | 492 core.int buildCounterRunQueryRequest = 0; |
493 buildRunQueryRequest() { | 493 buildRunQueryRequest() { |
494 var o = new api.RunQueryRequest(); | 494 var o = new api.RunQueryRequest(); |
495 buildCounterRunQueryRequest++; | 495 buildCounterRunQueryRequest++; |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
549 } | 549 } |
550 | 550 |
551 checkUploadLineItemsResponse(api.UploadLineItemsResponse o) { | 551 checkUploadLineItemsResponse(api.UploadLineItemsResponse o) { |
552 buildCounterUploadLineItemsResponse++; | 552 buildCounterUploadLineItemsResponse++; |
553 if (buildCounterUploadLineItemsResponse < 3) { | 553 if (buildCounterUploadLineItemsResponse < 3) { |
554 checkUploadStatus(o.uploadStatus); | 554 checkUploadStatus(o.uploadStatus); |
555 } | 555 } |
556 buildCounterUploadLineItemsResponse--; | 556 buildCounterUploadLineItemsResponse--; |
557 } | 557 } |
558 | 558 |
559 buildUnnamed699() { | 559 buildUnnamed727() { |
560 var o = new core.List<core.String>(); | 560 var o = new core.List<core.String>(); |
561 o.add("foo"); | 561 o.add("foo"); |
562 o.add("foo"); | 562 o.add("foo"); |
563 return o; | 563 return o; |
564 } | 564 } |
565 | 565 |
566 checkUnnamed699(core.List<core.String> o) { | 566 checkUnnamed727(core.List<core.String> o) { |
567 unittest.expect(o, unittest.hasLength(2)); | 567 unittest.expect(o, unittest.hasLength(2)); |
568 unittest.expect(o[0], unittest.equals('foo')); | 568 unittest.expect(o[0], unittest.equals('foo')); |
569 unittest.expect(o[1], unittest.equals('foo')); | 569 unittest.expect(o[1], unittest.equals('foo')); |
570 } | 570 } |
571 | 571 |
572 buildUnnamed700() { | 572 buildUnnamed728() { |
573 var o = new core.List<api.RowStatus>(); | 573 var o = new core.List<api.RowStatus>(); |
574 o.add(buildRowStatus()); | 574 o.add(buildRowStatus()); |
575 o.add(buildRowStatus()); | 575 o.add(buildRowStatus()); |
576 return o; | 576 return o; |
577 } | 577 } |
578 | 578 |
579 checkUnnamed700(core.List<api.RowStatus> o) { | 579 checkUnnamed728(core.List<api.RowStatus> o) { |
580 unittest.expect(o, unittest.hasLength(2)); | 580 unittest.expect(o, unittest.hasLength(2)); |
581 checkRowStatus(o[0]); | 581 checkRowStatus(o[0]); |
582 checkRowStatus(o[1]); | 582 checkRowStatus(o[1]); |
583 } | 583 } |
584 | 584 |
585 core.int buildCounterUploadStatus = 0; | 585 core.int buildCounterUploadStatus = 0; |
586 buildUploadStatus() { | 586 buildUploadStatus() { |
587 var o = new api.UploadStatus(); | 587 var o = new api.UploadStatus(); |
588 buildCounterUploadStatus++; | 588 buildCounterUploadStatus++; |
589 if (buildCounterUploadStatus < 3) { | 589 if (buildCounterUploadStatus < 3) { |
590 o.errors = buildUnnamed699(); | 590 o.errors = buildUnnamed727(); |
591 o.rowStatus = buildUnnamed700(); | 591 o.rowStatus = buildUnnamed728(); |
592 } | 592 } |
593 buildCounterUploadStatus--; | 593 buildCounterUploadStatus--; |
594 return o; | 594 return o; |
595 } | 595 } |
596 | 596 |
597 checkUploadStatus(api.UploadStatus o) { | 597 checkUploadStatus(api.UploadStatus o) { |
598 buildCounterUploadStatus++; | 598 buildCounterUploadStatus++; |
599 if (buildCounterUploadStatus < 3) { | 599 if (buildCounterUploadStatus < 3) { |
600 checkUnnamed699(o.errors); | 600 checkUnnamed727(o.errors); |
601 checkUnnamed700(o.rowStatus); | 601 checkUnnamed728(o.rowStatus); |
602 } | 602 } |
603 buildCounterUploadStatus--; | 603 buildCounterUploadStatus--; |
604 } | 604 } |
605 | 605 |
606 | 606 |
607 main() { | 607 main() { |
608 unittest.group("obj-schema-DownloadLineItemsRequest", () { | 608 unittest.group("obj-schema-DownloadLineItemsRequest", () { |
609 unittest.test("to-json--from-json", () { | 609 unittest.test("to-json--from-json", () { |
610 var o = buildDownloadLineItemsRequest(); | 610 var o = buildDownloadLineItemsRequest(); |
611 var od = new api.DownloadLineItemsRequest.fromJson(o.toJson()); | 611 var od = new api.DownloadLineItemsRequest.fromJson(o.toJson()); |
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
783 api.LineitemsResourceApi res = new api.DoubleclickbidmanagerApi(mock).line
items; | 783 api.LineitemsResourceApi res = new api.DoubleclickbidmanagerApi(mock).line
items; |
784 var arg_request = buildDownloadLineItemsRequest(); | 784 var arg_request = buildDownloadLineItemsRequest(); |
785 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 785 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
786 var obj = new api.DownloadLineItemsRequest.fromJson(json); | 786 var obj = new api.DownloadLineItemsRequest.fromJson(json); |
787 checkDownloadLineItemsRequest(obj); | 787 checkDownloadLineItemsRequest(obj); |
788 | 788 |
789 var path = (req.url).path; | 789 var path = (req.url).path; |
790 var pathOffset = 0; | 790 var pathOffset = 0; |
791 var index; | 791 var index; |
792 var subPart; | 792 var subPart; |
793 unittest.expect(path.substring(pathOffset, pathOffset + 26), unittest.eq
uals("/doubleclickbidmanager/v1/")); | 793 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
794 pathOffset += 26; | 794 pathOffset += 1; |
| 795 unittest.expect(path.substring(pathOffset, pathOffset + 25), unittest.eq
uals("doubleclickbidmanager/v1/")); |
| 796 pathOffset += 25; |
795 unittest.expect(path.substring(pathOffset, pathOffset + 27), unittest.eq
uals("lineitems/downloadlineitems")); | 797 unittest.expect(path.substring(pathOffset, pathOffset + 27), unittest.eq
uals("lineitems/downloadlineitems")); |
796 pathOffset += 27; | 798 pathOffset += 27; |
797 | 799 |
798 var query = (req.url).query; | 800 var query = (req.url).query; |
799 var queryOffset = 0; | 801 var queryOffset = 0; |
800 var queryMap = {}; | 802 var queryMap = {}; |
801 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); | 803 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); |
802 parseBool(n) { | 804 parseBool(n) { |
803 if (n == "true") return true; | 805 if (n == "true") return true; |
804 if (n == "false") return false; | 806 if (n == "false") return false; |
(...skipping 25 matching lines...) Expand all Loading... |
830 api.LineitemsResourceApi res = new api.DoubleclickbidmanagerApi(mock).line
items; | 832 api.LineitemsResourceApi res = new api.DoubleclickbidmanagerApi(mock).line
items; |
831 var arg_request = buildUploadLineItemsRequest(); | 833 var arg_request = buildUploadLineItemsRequest(); |
832 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 834 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
833 var obj = new api.UploadLineItemsRequest.fromJson(json); | 835 var obj = new api.UploadLineItemsRequest.fromJson(json); |
834 checkUploadLineItemsRequest(obj); | 836 checkUploadLineItemsRequest(obj); |
835 | 837 |
836 var path = (req.url).path; | 838 var path = (req.url).path; |
837 var pathOffset = 0; | 839 var pathOffset = 0; |
838 var index; | 840 var index; |
839 var subPart; | 841 var subPart; |
840 unittest.expect(path.substring(pathOffset, pathOffset + 26), unittest.eq
uals("/doubleclickbidmanager/v1/")); | 842 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
841 pathOffset += 26; | 843 pathOffset += 1; |
| 844 unittest.expect(path.substring(pathOffset, pathOffset + 25), unittest.eq
uals("doubleclickbidmanager/v1/")); |
| 845 pathOffset += 25; |
842 unittest.expect(path.substring(pathOffset, pathOffset + 25), unittest.eq
uals("lineitems/uploadlineitems")); | 846 unittest.expect(path.substring(pathOffset, pathOffset + 25), unittest.eq
uals("lineitems/uploadlineitems")); |
843 pathOffset += 25; | 847 pathOffset += 25; |
844 | 848 |
845 var query = (req.url).query; | 849 var query = (req.url).query; |
846 var queryOffset = 0; | 850 var queryOffset = 0; |
847 var queryMap = {}; | 851 var queryMap = {}; |
848 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); | 852 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); |
849 parseBool(n) { | 853 parseBool(n) { |
850 if (n == "true") return true; | 854 if (n == "true") return true; |
851 if (n == "false") return false; | 855 if (n == "false") return false; |
(...skipping 29 matching lines...) Expand all Loading... |
881 api.QueriesResourceApi res = new api.DoubleclickbidmanagerApi(mock).querie
s; | 885 api.QueriesResourceApi res = new api.DoubleclickbidmanagerApi(mock).querie
s; |
882 var arg_request = buildQuery(); | 886 var arg_request = buildQuery(); |
883 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 887 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
884 var obj = new api.Query.fromJson(json); | 888 var obj = new api.Query.fromJson(json); |
885 checkQuery(obj); | 889 checkQuery(obj); |
886 | 890 |
887 var path = (req.url).path; | 891 var path = (req.url).path; |
888 var pathOffset = 0; | 892 var pathOffset = 0; |
889 var index; | 893 var index; |
890 var subPart; | 894 var subPart; |
891 unittest.expect(path.substring(pathOffset, pathOffset + 26), unittest.eq
uals("/doubleclickbidmanager/v1/")); | 895 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
892 pathOffset += 26; | 896 pathOffset += 1; |
| 897 unittest.expect(path.substring(pathOffset, pathOffset + 25), unittest.eq
uals("doubleclickbidmanager/v1/")); |
| 898 pathOffset += 25; |
893 unittest.expect(path.substring(pathOffset, pathOffset + 5), unittest.equ
als("query")); | 899 unittest.expect(path.substring(pathOffset, pathOffset + 5), unittest.equ
als("query")); |
894 pathOffset += 5; | 900 pathOffset += 5; |
895 | 901 |
896 var query = (req.url).query; | 902 var query = (req.url).query; |
897 var queryOffset = 0; | 903 var queryOffset = 0; |
898 var queryMap = {}; | 904 var queryMap = {}; |
899 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); | 905 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); |
900 parseBool(n) { | 906 parseBool(n) { |
901 if (n == "true") return true; | 907 if (n == "true") return true; |
902 if (n == "false") return false; | 908 if (n == "false") return false; |
(...skipping 22 matching lines...) Expand all Loading... |
925 unittest.test("method--deletequery", () { | 931 unittest.test("method--deletequery", () { |
926 | 932 |
927 var mock = new common_test.HttpServerMock(); | 933 var mock = new common_test.HttpServerMock(); |
928 api.QueriesResourceApi res = new api.DoubleclickbidmanagerApi(mock).querie
s; | 934 api.QueriesResourceApi res = new api.DoubleclickbidmanagerApi(mock).querie
s; |
929 var arg_queryId = "foo"; | 935 var arg_queryId = "foo"; |
930 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 936 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
931 var path = (req.url).path; | 937 var path = (req.url).path; |
932 var pathOffset = 0; | 938 var pathOffset = 0; |
933 var index; | 939 var index; |
934 var subPart; | 940 var subPart; |
935 unittest.expect(path.substring(pathOffset, pathOffset + 26), unittest.eq
uals("/doubleclickbidmanager/v1/")); | 941 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
936 pathOffset += 26; | 942 pathOffset += 1; |
| 943 unittest.expect(path.substring(pathOffset, pathOffset + 25), unittest.eq
uals("doubleclickbidmanager/v1/")); |
| 944 pathOffset += 25; |
937 unittest.expect(path.substring(pathOffset, pathOffset + 6), unittest.equ
als("query/")); | 945 unittest.expect(path.substring(pathOffset, pathOffset + 6), unittest.equ
als("query/")); |
938 pathOffset += 6; | 946 pathOffset += 6; |
939 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset)); | 947 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset)); |
940 pathOffset = path.length; | 948 pathOffset = path.length; |
941 unittest.expect(subPart, unittest.equals("$arg_queryId")); | 949 unittest.expect(subPart, unittest.equals("$arg_queryId")); |
942 | 950 |
943 var query = (req.url).query; | 951 var query = (req.url).query; |
944 var queryOffset = 0; | 952 var queryOffset = 0; |
945 var queryMap = {}; | 953 var queryMap = {}; |
946 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); | 954 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); |
(...skipping 23 matching lines...) Expand all Loading... |
970 unittest.test("method--getquery", () { | 978 unittest.test("method--getquery", () { |
971 | 979 |
972 var mock = new common_test.HttpServerMock(); | 980 var mock = new common_test.HttpServerMock(); |
973 api.QueriesResourceApi res = new api.DoubleclickbidmanagerApi(mock).querie
s; | 981 api.QueriesResourceApi res = new api.DoubleclickbidmanagerApi(mock).querie
s; |
974 var arg_queryId = "foo"; | 982 var arg_queryId = "foo"; |
975 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 983 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
976 var path = (req.url).path; | 984 var path = (req.url).path; |
977 var pathOffset = 0; | 985 var pathOffset = 0; |
978 var index; | 986 var index; |
979 var subPart; | 987 var subPart; |
980 unittest.expect(path.substring(pathOffset, pathOffset + 26), unittest.eq
uals("/doubleclickbidmanager/v1/")); | 988 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
981 pathOffset += 26; | 989 pathOffset += 1; |
| 990 unittest.expect(path.substring(pathOffset, pathOffset + 25), unittest.eq
uals("doubleclickbidmanager/v1/")); |
| 991 pathOffset += 25; |
982 unittest.expect(path.substring(pathOffset, pathOffset + 6), unittest.equ
als("query/")); | 992 unittest.expect(path.substring(pathOffset, pathOffset + 6), unittest.equ
als("query/")); |
983 pathOffset += 6; | 993 pathOffset += 6; |
984 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset)); | 994 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset)); |
985 pathOffset = path.length; | 995 pathOffset = path.length; |
986 unittest.expect(subPart, unittest.equals("$arg_queryId")); | 996 unittest.expect(subPart, unittest.equals("$arg_queryId")); |
987 | 997 |
988 var query = (req.url).query; | 998 var query = (req.url).query; |
989 var queryOffset = 0; | 999 var queryOffset = 0; |
990 var queryMap = {}; | 1000 var queryMap = {}; |
991 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); | 1001 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); |
(...skipping 24 matching lines...) Expand all Loading... |
1016 | 1026 |
1017 unittest.test("method--listqueries", () { | 1027 unittest.test("method--listqueries", () { |
1018 | 1028 |
1019 var mock = new common_test.HttpServerMock(); | 1029 var mock = new common_test.HttpServerMock(); |
1020 api.QueriesResourceApi res = new api.DoubleclickbidmanagerApi(mock).querie
s; | 1030 api.QueriesResourceApi res = new api.DoubleclickbidmanagerApi(mock).querie
s; |
1021 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 1031 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
1022 var path = (req.url).path; | 1032 var path = (req.url).path; |
1023 var pathOffset = 0; | 1033 var pathOffset = 0; |
1024 var index; | 1034 var index; |
1025 var subPart; | 1035 var subPart; |
1026 unittest.expect(path.substring(pathOffset, pathOffset + 26), unittest.eq
uals("/doubleclickbidmanager/v1/")); | 1036 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
1027 pathOffset += 26; | 1037 pathOffset += 1; |
| 1038 unittest.expect(path.substring(pathOffset, pathOffset + 25), unittest.eq
uals("doubleclickbidmanager/v1/")); |
| 1039 pathOffset += 25; |
1028 unittest.expect(path.substring(pathOffset, pathOffset + 7), unittest.equ
als("queries")); | 1040 unittest.expect(path.substring(pathOffset, pathOffset + 7), unittest.equ
als("queries")); |
1029 pathOffset += 7; | 1041 pathOffset += 7; |
1030 | 1042 |
1031 var query = (req.url).query; | 1043 var query = (req.url).query; |
1032 var queryOffset = 0; | 1044 var queryOffset = 0; |
1033 var queryMap = {}; | 1045 var queryMap = {}; |
1034 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); | 1046 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); |
1035 parseBool(n) { | 1047 parseBool(n) { |
1036 if (n == "true") return true; | 1048 if (n == "true") return true; |
1037 if (n == "false") return false; | 1049 if (n == "false") return false; |
(...skipping 26 matching lines...) Expand all Loading... |
1064 var arg_request = buildRunQueryRequest(); | 1076 var arg_request = buildRunQueryRequest(); |
1065 var arg_queryId = "foo"; | 1077 var arg_queryId = "foo"; |
1066 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 1078 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
1067 var obj = new api.RunQueryRequest.fromJson(json); | 1079 var obj = new api.RunQueryRequest.fromJson(json); |
1068 checkRunQueryRequest(obj); | 1080 checkRunQueryRequest(obj); |
1069 | 1081 |
1070 var path = (req.url).path; | 1082 var path = (req.url).path; |
1071 var pathOffset = 0; | 1083 var pathOffset = 0; |
1072 var index; | 1084 var index; |
1073 var subPart; | 1085 var subPart; |
1074 unittest.expect(path.substring(pathOffset, pathOffset + 26), unittest.eq
uals("/doubleclickbidmanager/v1/")); | 1086 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
1075 pathOffset += 26; | 1087 pathOffset += 1; |
| 1088 unittest.expect(path.substring(pathOffset, pathOffset + 25), unittest.eq
uals("doubleclickbidmanager/v1/")); |
| 1089 pathOffset += 25; |
1076 unittest.expect(path.substring(pathOffset, pathOffset + 6), unittest.equ
als("query/")); | 1090 unittest.expect(path.substring(pathOffset, pathOffset + 6), unittest.equ
als("query/")); |
1077 pathOffset += 6; | 1091 pathOffset += 6; |
1078 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset)); | 1092 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset)); |
1079 pathOffset = path.length; | 1093 pathOffset = path.length; |
1080 unittest.expect(subPart, unittest.equals("$arg_queryId")); | 1094 unittest.expect(subPart, unittest.equals("$arg_queryId")); |
1081 | 1095 |
1082 var query = (req.url).query; | 1096 var query = (req.url).query; |
1083 var queryOffset = 0; | 1097 var queryOffset = 0; |
1084 var queryMap = {}; | 1098 var queryMap = {}; |
1085 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); | 1099 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); |
(...skipping 27 matching lines...) Expand all Loading... |
1113 unittest.test("method--listreports", () { | 1127 unittest.test("method--listreports", () { |
1114 | 1128 |
1115 var mock = new common_test.HttpServerMock(); | 1129 var mock = new common_test.HttpServerMock(); |
1116 api.ReportsResourceApi res = new api.DoubleclickbidmanagerApi(mock).report
s; | 1130 api.ReportsResourceApi res = new api.DoubleclickbidmanagerApi(mock).report
s; |
1117 var arg_queryId = "foo"; | 1131 var arg_queryId = "foo"; |
1118 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 1132 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
1119 var path = (req.url).path; | 1133 var path = (req.url).path; |
1120 var pathOffset = 0; | 1134 var pathOffset = 0; |
1121 var index; | 1135 var index; |
1122 var subPart; | 1136 var subPart; |
1123 unittest.expect(path.substring(pathOffset, pathOffset + 26), unittest.eq
uals("/doubleclickbidmanager/v1/")); | 1137 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
1124 pathOffset += 26; | 1138 pathOffset += 1; |
| 1139 unittest.expect(path.substring(pathOffset, pathOffset + 25), unittest.eq
uals("doubleclickbidmanager/v1/")); |
| 1140 pathOffset += 25; |
1125 unittest.expect(path.substring(pathOffset, pathOffset + 8), unittest.equ
als("queries/")); | 1141 unittest.expect(path.substring(pathOffset, pathOffset + 8), unittest.equ
als("queries/")); |
1126 pathOffset += 8; | 1142 pathOffset += 8; |
1127 index = path.indexOf("/reports", pathOffset); | 1143 index = path.indexOf("/reports", pathOffset); |
1128 unittest.expect(index >= 0, unittest.isTrue); | 1144 unittest.expect(index >= 0, unittest.isTrue); |
1129 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 1145 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
1130 pathOffset = index; | 1146 pathOffset = index; |
1131 unittest.expect(subPart, unittest.equals("$arg_queryId")); | 1147 unittest.expect(subPart, unittest.equals("$arg_queryId")); |
1132 unittest.expect(path.substring(pathOffset, pathOffset + 8), unittest.equ
als("/reports")); | 1148 unittest.expect(path.substring(pathOffset, pathOffset + 8), unittest.equ
als("/reports")); |
1133 pathOffset += 8; | 1149 pathOffset += 8; |
1134 | 1150 |
(...skipping 24 matching lines...) Expand all Loading... |
1159 res.listreports(arg_queryId).then(unittest.expectAsync(((api.ListReportsRe
sponse response) { | 1175 res.listreports(arg_queryId).then(unittest.expectAsync(((api.ListReportsRe
sponse response) { |
1160 checkListReportsResponse(response); | 1176 checkListReportsResponse(response); |
1161 }))); | 1177 }))); |
1162 }); | 1178 }); |
1163 | 1179 |
1164 }); | 1180 }); |
1165 | 1181 |
1166 | 1182 |
1167 } | 1183 } |
1168 | 1184 |
OLD | NEW |