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

Side by Side Diff: generated/googleapis/test/playmoviespartner/v1_test.dart

Issue 1797933002: Api-roll 33: 2016-03-14 (Closed) Base URL: git@github.com:dart-lang/googleapis.git@master
Patch Set: Added resources/*/CHANGELOG.md, addresssed comments Created 4 years, 9 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
OLDNEW
1 library googleapis.playmoviespartner.v1.test; 1 library googleapis.playmoviespartner.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;
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 } 44 }
45 } 45 }
46 } 46 }
47 47
48 http.StreamedResponse stringResponse( 48 http.StreamedResponse stringResponse(
49 core.int status, core.Map headers, core.String body) { 49 core.int status, core.Map headers, core.String body) {
50 var stream = new async.Stream.fromIterable([convert.UTF8.encode(body)]); 50 var stream = new async.Stream.fromIterable([convert.UTF8.encode(body)]);
51 return new http.StreamedResponse(stream, status, headers: headers); 51 return new http.StreamedResponse(stream, status, headers: headers);
52 } 52 }
53 53
54 buildUnnamed2681() { 54 buildUnnamed3006() {
55 var o = new core.List<core.String>(); 55 var o = new core.List<core.String>();
56 o.add("foo"); 56 o.add("foo");
57 o.add("foo"); 57 o.add("foo");
58 return o; 58 return o;
59 } 59 }
60 60
61 checkUnnamed2681(core.List<core.String> o) { 61 checkUnnamed3006(core.List<core.String> o) {
62 unittest.expect(o, unittest.hasLength(2)); 62 unittest.expect(o, unittest.hasLength(2));
63 unittest.expect(o[0], unittest.equals('foo')); 63 unittest.expect(o[0], unittest.equals('foo'));
64 unittest.expect(o[1], unittest.equals('foo')); 64 unittest.expect(o[1], unittest.equals('foo'));
65 } 65 }
66 66
67 core.int buildCounterAvail = 0; 67 core.int buildCounterAvail = 0;
68 buildAvail() { 68 buildAvail() {
69 var o = new api.Avail(); 69 var o = new api.Avail();
70 buildCounterAvail++; 70 buildCounterAvail++;
71 if (buildCounterAvail < 3) { 71 if (buildCounterAvail < 3) {
72 o.altId = "foo"; 72 o.altId = "foo";
73 o.captionExemption = "foo"; 73 o.captionExemption = "foo";
74 o.captionIncluded = true; 74 o.captionIncluded = true;
75 o.contentId = "foo"; 75 o.contentId = "foo";
76 o.displayName = "foo"; 76 o.displayName = "foo";
77 o.encodeId = "foo"; 77 o.encodeId = "foo";
78 o.end = "foo"; 78 o.end = "foo";
79 o.episodeAltId = "foo"; 79 o.episodeAltId = "foo";
80 o.episodeNumber = "foo"; 80 o.episodeNumber = "foo";
81 o.episodeTitleInternalAlias = "foo"; 81 o.episodeTitleInternalAlias = "foo";
82 o.formatProfile = "foo"; 82 o.formatProfile = "foo";
83 o.licenseType = "foo"; 83 o.licenseType = "foo";
84 o.pphNames = buildUnnamed2681(); 84 o.pphNames = buildUnnamed3006();
85 o.priceType = "foo"; 85 o.priceType = "foo";
86 o.priceValue = "foo"; 86 o.priceValue = "foo";
87 o.productId = "foo"; 87 o.productId = "foo";
88 o.ratingReason = "foo"; 88 o.ratingReason = "foo";
89 o.ratingSystem = "foo"; 89 o.ratingSystem = "foo";
90 o.ratingValue = "foo"; 90 o.ratingValue = "foo";
91 o.releaseDate = "foo"; 91 o.releaseDate = "foo";
92 o.seasonAltId = "foo"; 92 o.seasonAltId = "foo";
93 o.seasonNumber = "foo"; 93 o.seasonNumber = "foo";
94 o.seasonTitleInternalAlias = "foo"; 94 o.seasonTitleInternalAlias = "foo";
(...skipping 19 matching lines...) Expand all
114 unittest.expect(o.captionIncluded, unittest.isTrue); 114 unittest.expect(o.captionIncluded, unittest.isTrue);
115 unittest.expect(o.contentId, unittest.equals('foo')); 115 unittest.expect(o.contentId, unittest.equals('foo'));
116 unittest.expect(o.displayName, unittest.equals('foo')); 116 unittest.expect(o.displayName, unittest.equals('foo'));
117 unittest.expect(o.encodeId, unittest.equals('foo')); 117 unittest.expect(o.encodeId, unittest.equals('foo'));
118 unittest.expect(o.end, unittest.equals('foo')); 118 unittest.expect(o.end, unittest.equals('foo'));
119 unittest.expect(o.episodeAltId, unittest.equals('foo')); 119 unittest.expect(o.episodeAltId, unittest.equals('foo'));
120 unittest.expect(o.episodeNumber, unittest.equals('foo')); 120 unittest.expect(o.episodeNumber, unittest.equals('foo'));
121 unittest.expect(o.episodeTitleInternalAlias, unittest.equals('foo')); 121 unittest.expect(o.episodeTitleInternalAlias, unittest.equals('foo'));
122 unittest.expect(o.formatProfile, unittest.equals('foo')); 122 unittest.expect(o.formatProfile, unittest.equals('foo'));
123 unittest.expect(o.licenseType, unittest.equals('foo')); 123 unittest.expect(o.licenseType, unittest.equals('foo'));
124 checkUnnamed2681(o.pphNames); 124 checkUnnamed3006(o.pphNames);
125 unittest.expect(o.priceType, unittest.equals('foo')); 125 unittest.expect(o.priceType, unittest.equals('foo'));
126 unittest.expect(o.priceValue, unittest.equals('foo')); 126 unittest.expect(o.priceValue, unittest.equals('foo'));
127 unittest.expect(o.productId, unittest.equals('foo')); 127 unittest.expect(o.productId, unittest.equals('foo'));
128 unittest.expect(o.ratingReason, unittest.equals('foo')); 128 unittest.expect(o.ratingReason, unittest.equals('foo'));
129 unittest.expect(o.ratingSystem, unittest.equals('foo')); 129 unittest.expect(o.ratingSystem, unittest.equals('foo'));
130 unittest.expect(o.ratingValue, unittest.equals('foo')); 130 unittest.expect(o.ratingValue, unittest.equals('foo'));
131 unittest.expect(o.releaseDate, unittest.equals('foo')); 131 unittest.expect(o.releaseDate, unittest.equals('foo'));
132 unittest.expect(o.seasonAltId, unittest.equals('foo')); 132 unittest.expect(o.seasonAltId, unittest.equals('foo'));
133 unittest.expect(o.seasonNumber, unittest.equals('foo')); 133 unittest.expect(o.seasonNumber, unittest.equals('foo'));
134 unittest.expect(o.seasonTitleInternalAlias, unittest.equals('foo')); 134 unittest.expect(o.seasonTitleInternalAlias, unittest.equals('foo'));
135 unittest.expect(o.seriesAltId, unittest.equals('foo')); 135 unittest.expect(o.seriesAltId, unittest.equals('foo'));
136 unittest.expect(o.seriesTitleInternalAlias, unittest.equals('foo')); 136 unittest.expect(o.seriesTitleInternalAlias, unittest.equals('foo'));
137 unittest.expect(o.start, unittest.equals('foo')); 137 unittest.expect(o.start, unittest.equals('foo'));
138 unittest.expect(o.storeLanguage, unittest.equals('foo')); 138 unittest.expect(o.storeLanguage, unittest.equals('foo'));
139 unittest.expect(o.suppressionLiftDate, unittest.equals('foo')); 139 unittest.expect(o.suppressionLiftDate, unittest.equals('foo'));
140 unittest.expect(o.territory, unittest.equals('foo')); 140 unittest.expect(o.territory, unittest.equals('foo'));
141 unittest.expect(o.titleInternalAlias, unittest.equals('foo')); 141 unittest.expect(o.titleInternalAlias, unittest.equals('foo'));
142 unittest.expect(o.videoId, unittest.equals('foo')); 142 unittest.expect(o.videoId, unittest.equals('foo'));
143 unittest.expect(o.workType, unittest.equals('foo')); 143 unittest.expect(o.workType, unittest.equals('foo'));
144 } 144 }
145 buildCounterAvail--; 145 buildCounterAvail--;
146 } 146 }
147 147
148 buildUnnamed2682() { 148 buildUnnamed3007() {
149 var o = new core.List<core.String>(); 149 var o = new core.List<core.String>();
150 o.add("foo"); 150 o.add("foo");
151 o.add("foo"); 151 o.add("foo");
152 return o; 152 return o;
153 } 153 }
154 154
155 checkUnnamed2682(core.List<core.String> o) { 155 checkUnnamed3007(core.List<core.String> o) {
156 unittest.expect(o, unittest.hasLength(2)); 156 unittest.expect(o, unittest.hasLength(2));
157 unittest.expect(o[0], unittest.equals('foo')); 157 unittest.expect(o[0], unittest.equals('foo'));
158 unittest.expect(o[1], unittest.equals('foo')); 158 unittest.expect(o[1], unittest.equals('foo'));
159 } 159 }
160 160
161 buildUnnamed2683() { 161 buildUnnamed3008() {
162 var o = new core.List<core.String>(); 162 var o = new core.List<core.String>();
163 o.add("foo"); 163 o.add("foo");
164 o.add("foo"); 164 o.add("foo");
165 return o; 165 return o;
166 } 166 }
167 167
168 checkUnnamed2683(core.List<core.String> o) { 168 checkUnnamed3008(core.List<core.String> o) {
169 unittest.expect(o, unittest.hasLength(2)); 169 unittest.expect(o, unittest.hasLength(2));
170 unittest.expect(o[0], unittest.equals('foo')); 170 unittest.expect(o[0], unittest.equals('foo'));
171 unittest.expect(o[1], unittest.equals('foo')); 171 unittest.expect(o[1], unittest.equals('foo'));
172 } 172 }
173 173
174 core.int buildCounterExperienceLocale = 0; 174 core.int buildCounterExperienceLocale = 0;
175 buildExperienceLocale() { 175 buildExperienceLocale() {
176 var o = new api.ExperienceLocale(); 176 var o = new api.ExperienceLocale();
177 buildCounterExperienceLocale++; 177 buildCounterExperienceLocale++;
178 if (buildCounterExperienceLocale < 3) { 178 if (buildCounterExperienceLocale < 3) {
179 o.altCutId = "foo"; 179 o.altCutId = "foo";
180 o.approvedTime = "foo"; 180 o.approvedTime = "foo";
181 o.channelId = "foo"; 181 o.channelId = "foo";
182 o.country = "foo"; 182 o.country = "foo";
183 o.createdTime = "foo"; 183 o.createdTime = "foo";
184 o.customIds = buildUnnamed2682(); 184 o.customIds = buildUnnamed3007();
185 o.earliestAvailStartTime = "foo"; 185 o.earliestAvailStartTime = "foo";
186 o.editLevelEidr = "foo"; 186 o.editLevelEidr = "foo";
187 o.elId = "foo"; 187 o.elId = "foo";
188 o.inventoryId = "foo"; 188 o.inventoryId = "foo";
189 o.language = "foo"; 189 o.language = "foo";
190 o.name = "foo"; 190 o.name = "foo";
191 o.normalizedPriority = "foo"; 191 o.normalizedPriority = "foo";
192 o.playableSequenceId = "foo"; 192 o.playableSequenceId = "foo";
193 o.pphNames = buildUnnamed2683(); 193 o.pphNames = buildUnnamed3008();
194 o.presentationId = "foo"; 194 o.presentationId = "foo";
195 o.priority = 42.0; 195 o.priority = 42.0;
196 o.status = "foo"; 196 o.status = "foo";
197 o.studioName = "foo"; 197 o.studioName = "foo";
198 o.titleLevelEidr = "foo"; 198 o.titleLevelEidr = "foo";
199 o.trailerId = "foo"; 199 o.trailerId = "foo";
200 o.type = "foo"; 200 o.type = "foo";
201 o.videoId = "foo"; 201 o.videoId = "foo";
202 } 202 }
203 buildCounterExperienceLocale--; 203 buildCounterExperienceLocale--;
204 return o; 204 return o;
205 } 205 }
206 206
207 checkExperienceLocale(api.ExperienceLocale o) { 207 checkExperienceLocale(api.ExperienceLocale o) {
208 buildCounterExperienceLocale++; 208 buildCounterExperienceLocale++;
209 if (buildCounterExperienceLocale < 3) { 209 if (buildCounterExperienceLocale < 3) {
210 unittest.expect(o.altCutId, unittest.equals('foo')); 210 unittest.expect(o.altCutId, unittest.equals('foo'));
211 unittest.expect(o.approvedTime, unittest.equals('foo')); 211 unittest.expect(o.approvedTime, unittest.equals('foo'));
212 unittest.expect(o.channelId, unittest.equals('foo')); 212 unittest.expect(o.channelId, unittest.equals('foo'));
213 unittest.expect(o.country, unittest.equals('foo')); 213 unittest.expect(o.country, unittest.equals('foo'));
214 unittest.expect(o.createdTime, unittest.equals('foo')); 214 unittest.expect(o.createdTime, unittest.equals('foo'));
215 checkUnnamed2682(o.customIds); 215 checkUnnamed3007(o.customIds);
216 unittest.expect(o.earliestAvailStartTime, unittest.equals('foo')); 216 unittest.expect(o.earliestAvailStartTime, unittest.equals('foo'));
217 unittest.expect(o.editLevelEidr, unittest.equals('foo')); 217 unittest.expect(o.editLevelEidr, unittest.equals('foo'));
218 unittest.expect(o.elId, unittest.equals('foo')); 218 unittest.expect(o.elId, unittest.equals('foo'));
219 unittest.expect(o.inventoryId, unittest.equals('foo')); 219 unittest.expect(o.inventoryId, unittest.equals('foo'));
220 unittest.expect(o.language, unittest.equals('foo')); 220 unittest.expect(o.language, unittest.equals('foo'));
221 unittest.expect(o.name, unittest.equals('foo')); 221 unittest.expect(o.name, unittest.equals('foo'));
222 unittest.expect(o.normalizedPriority, unittest.equals('foo')); 222 unittest.expect(o.normalizedPriority, unittest.equals('foo'));
223 unittest.expect(o.playableSequenceId, unittest.equals('foo')); 223 unittest.expect(o.playableSequenceId, unittest.equals('foo'));
224 checkUnnamed2683(o.pphNames); 224 checkUnnamed3008(o.pphNames);
225 unittest.expect(o.presentationId, unittest.equals('foo')); 225 unittest.expect(o.presentationId, unittest.equals('foo'));
226 unittest.expect(o.priority, unittest.equals(42.0)); 226 unittest.expect(o.priority, unittest.equals(42.0));
227 unittest.expect(o.status, unittest.equals('foo')); 227 unittest.expect(o.status, unittest.equals('foo'));
228 unittest.expect(o.studioName, unittest.equals('foo')); 228 unittest.expect(o.studioName, unittest.equals('foo'));
229 unittest.expect(o.titleLevelEidr, unittest.equals('foo')); 229 unittest.expect(o.titleLevelEidr, unittest.equals('foo'));
230 unittest.expect(o.trailerId, unittest.equals('foo')); 230 unittest.expect(o.trailerId, unittest.equals('foo'));
231 unittest.expect(o.type, unittest.equals('foo')); 231 unittest.expect(o.type, unittest.equals('foo'));
232 unittest.expect(o.videoId, unittest.equals('foo')); 232 unittest.expect(o.videoId, unittest.equals('foo'));
233 } 233 }
234 buildCounterExperienceLocale--; 234 buildCounterExperienceLocale--;
235 } 235 }
236 236
237 buildUnnamed2684() { 237 buildUnnamed3009() {
238 var o = new core.List<api.Avail>(); 238 var o = new core.List<api.Avail>();
239 o.add(buildAvail()); 239 o.add(buildAvail());
240 o.add(buildAvail()); 240 o.add(buildAvail());
241 return o; 241 return o;
242 } 242 }
243 243
244 checkUnnamed2684(core.List<api.Avail> o) { 244 checkUnnamed3009(core.List<api.Avail> o) {
245 unittest.expect(o, unittest.hasLength(2)); 245 unittest.expect(o, unittest.hasLength(2));
246 checkAvail(o[0]); 246 checkAvail(o[0]);
247 checkAvail(o[1]); 247 checkAvail(o[1]);
248 } 248 }
249 249
250 core.int buildCounterListAvailsResponse = 0; 250 core.int buildCounterListAvailsResponse = 0;
251 buildListAvailsResponse() { 251 buildListAvailsResponse() {
252 var o = new api.ListAvailsResponse(); 252 var o = new api.ListAvailsResponse();
253 buildCounterListAvailsResponse++; 253 buildCounterListAvailsResponse++;
254 if (buildCounterListAvailsResponse < 3) { 254 if (buildCounterListAvailsResponse < 3) {
255 o.avails = buildUnnamed2684(); 255 o.avails = buildUnnamed3009();
256 o.nextPageToken = "foo"; 256 o.nextPageToken = "foo";
257 } 257 }
258 buildCounterListAvailsResponse--; 258 buildCounterListAvailsResponse--;
259 return o; 259 return o;
260 } 260 }
261 261
262 checkListAvailsResponse(api.ListAvailsResponse o) { 262 checkListAvailsResponse(api.ListAvailsResponse o) {
263 buildCounterListAvailsResponse++; 263 buildCounterListAvailsResponse++;
264 if (buildCounterListAvailsResponse < 3) { 264 if (buildCounterListAvailsResponse < 3) {
265 checkUnnamed2684(o.avails); 265 checkUnnamed3009(o.avails);
266 unittest.expect(o.nextPageToken, unittest.equals('foo')); 266 unittest.expect(o.nextPageToken, unittest.equals('foo'));
267 } 267 }
268 buildCounterListAvailsResponse--; 268 buildCounterListAvailsResponse--;
269 } 269 }
270 270
271 buildUnnamed2685() { 271 buildUnnamed3010() {
272 var o = new core.List<api.ExperienceLocale>(); 272 var o = new core.List<api.ExperienceLocale>();
273 o.add(buildExperienceLocale()); 273 o.add(buildExperienceLocale());
274 o.add(buildExperienceLocale()); 274 o.add(buildExperienceLocale());
275 return o; 275 return o;
276 } 276 }
277 277
278 checkUnnamed2685(core.List<api.ExperienceLocale> o) { 278 checkUnnamed3010(core.List<api.ExperienceLocale> o) {
279 unittest.expect(o, unittest.hasLength(2)); 279 unittest.expect(o, unittest.hasLength(2));
280 checkExperienceLocale(o[0]); 280 checkExperienceLocale(o[0]);
281 checkExperienceLocale(o[1]); 281 checkExperienceLocale(o[1]);
282 } 282 }
283 283
284 core.int buildCounterListExperienceLocalesResponse = 0; 284 core.int buildCounterListExperienceLocalesResponse = 0;
285 buildListExperienceLocalesResponse() { 285 buildListExperienceLocalesResponse() {
286 var o = new api.ListExperienceLocalesResponse(); 286 var o = new api.ListExperienceLocalesResponse();
287 buildCounterListExperienceLocalesResponse++; 287 buildCounterListExperienceLocalesResponse++;
288 if (buildCounterListExperienceLocalesResponse < 3) { 288 if (buildCounterListExperienceLocalesResponse < 3) {
289 o.experienceLocales = buildUnnamed2685(); 289 o.experienceLocales = buildUnnamed3010();
290 o.nextPageToken = "foo"; 290 o.nextPageToken = "foo";
291 } 291 }
292 buildCounterListExperienceLocalesResponse--; 292 buildCounterListExperienceLocalesResponse--;
293 return o; 293 return o;
294 } 294 }
295 295
296 checkListExperienceLocalesResponse(api.ListExperienceLocalesResponse o) { 296 checkListExperienceLocalesResponse(api.ListExperienceLocalesResponse o) {
297 buildCounterListExperienceLocalesResponse++; 297 buildCounterListExperienceLocalesResponse++;
298 if (buildCounterListExperienceLocalesResponse < 3) { 298 if (buildCounterListExperienceLocalesResponse < 3) {
299 checkUnnamed2685(o.experienceLocales); 299 checkUnnamed3010(o.experienceLocales);
300 unittest.expect(o.nextPageToken, unittest.equals('foo')); 300 unittest.expect(o.nextPageToken, unittest.equals('foo'));
301 } 301 }
302 buildCounterListExperienceLocalesResponse--; 302 buildCounterListExperienceLocalesResponse--;
303 } 303 }
304 304
305 buildUnnamed2686() { 305 buildUnnamed3011() {
306 var o = new core.List<api.Order>(); 306 var o = new core.List<api.Order>();
307 o.add(buildOrder()); 307 o.add(buildOrder());
308 o.add(buildOrder()); 308 o.add(buildOrder());
309 return o; 309 return o;
310 } 310 }
311 311
312 checkUnnamed2686(core.List<api.Order> o) { 312 checkUnnamed3011(core.List<api.Order> o) {
313 unittest.expect(o, unittest.hasLength(2)); 313 unittest.expect(o, unittest.hasLength(2));
314 checkOrder(o[0]); 314 checkOrder(o[0]);
315 checkOrder(o[1]); 315 checkOrder(o[1]);
316 } 316 }
317 317
318 core.int buildCounterListOrdersResponse = 0; 318 core.int buildCounterListOrdersResponse = 0;
319 buildListOrdersResponse() { 319 buildListOrdersResponse() {
320 var o = new api.ListOrdersResponse(); 320 var o = new api.ListOrdersResponse();
321 buildCounterListOrdersResponse++; 321 buildCounterListOrdersResponse++;
322 if (buildCounterListOrdersResponse < 3) { 322 if (buildCounterListOrdersResponse < 3) {
323 o.nextPageToken = "foo"; 323 o.nextPageToken = "foo";
324 o.orders = buildUnnamed2686(); 324 o.orders = buildUnnamed3011();
325 } 325 }
326 buildCounterListOrdersResponse--; 326 buildCounterListOrdersResponse--;
327 return o; 327 return o;
328 } 328 }
329 329
330 checkListOrdersResponse(api.ListOrdersResponse o) { 330 checkListOrdersResponse(api.ListOrdersResponse o) {
331 buildCounterListOrdersResponse++; 331 buildCounterListOrdersResponse++;
332 if (buildCounterListOrdersResponse < 3) { 332 if (buildCounterListOrdersResponse < 3) {
333 unittest.expect(o.nextPageToken, unittest.equals('foo')); 333 unittest.expect(o.nextPageToken, unittest.equals('foo'));
334 checkUnnamed2686(o.orders); 334 checkUnnamed3011(o.orders);
335 } 335 }
336 buildCounterListOrdersResponse--; 336 buildCounterListOrdersResponse--;
337 } 337 }
338 338
339 buildUnnamed2687() { 339 buildUnnamed3012() {
340 var o = new core.List<api.StoreInfo>(); 340 var o = new core.List<api.StoreInfo>();
341 o.add(buildStoreInfo()); 341 o.add(buildStoreInfo());
342 o.add(buildStoreInfo()); 342 o.add(buildStoreInfo());
343 return o; 343 return o;
344 } 344 }
345 345
346 checkUnnamed2687(core.List<api.StoreInfo> o) { 346 checkUnnamed3012(core.List<api.StoreInfo> o) {
347 unittest.expect(o, unittest.hasLength(2)); 347 unittest.expect(o, unittest.hasLength(2));
348 checkStoreInfo(o[0]); 348 checkStoreInfo(o[0]);
349 checkStoreInfo(o[1]); 349 checkStoreInfo(o[1]);
350 } 350 }
351 351
352 core.int buildCounterListStoreInfosResponse = 0; 352 core.int buildCounterListStoreInfosResponse = 0;
353 buildListStoreInfosResponse() { 353 buildListStoreInfosResponse() {
354 var o = new api.ListStoreInfosResponse(); 354 var o = new api.ListStoreInfosResponse();
355 buildCounterListStoreInfosResponse++; 355 buildCounterListStoreInfosResponse++;
356 if (buildCounterListStoreInfosResponse < 3) { 356 if (buildCounterListStoreInfosResponse < 3) {
357 o.nextPageToken = "foo"; 357 o.nextPageToken = "foo";
358 o.storeInfos = buildUnnamed2687(); 358 o.storeInfos = buildUnnamed3012();
359 } 359 }
360 buildCounterListStoreInfosResponse--; 360 buildCounterListStoreInfosResponse--;
361 return o; 361 return o;
362 } 362 }
363 363
364 checkListStoreInfosResponse(api.ListStoreInfosResponse o) { 364 checkListStoreInfosResponse(api.ListStoreInfosResponse o) {
365 buildCounterListStoreInfosResponse++; 365 buildCounterListStoreInfosResponse++;
366 if (buildCounterListStoreInfosResponse < 3) { 366 if (buildCounterListStoreInfosResponse < 3) {
367 unittest.expect(o.nextPageToken, unittest.equals('foo')); 367 unittest.expect(o.nextPageToken, unittest.equals('foo'));
368 checkUnnamed2687(o.storeInfos); 368 checkUnnamed3012(o.storeInfos);
369 } 369 }
370 buildCounterListStoreInfosResponse--; 370 buildCounterListStoreInfosResponse--;
371 } 371 }
372 372
373 buildUnnamed2688() { 373 buildUnnamed3013() {
374 var o = new core.List<core.String>(); 374 var o = new core.List<core.String>();
375 o.add("foo"); 375 o.add("foo");
376 o.add("foo"); 376 o.add("foo");
377 return o; 377 return o;
378 } 378 }
379 379
380 checkUnnamed2688(core.List<core.String> o) { 380 checkUnnamed3013(core.List<core.String> o) {
381 unittest.expect(o, unittest.hasLength(2)); 381 unittest.expect(o, unittest.hasLength(2));
382 unittest.expect(o[0], unittest.equals('foo')); 382 unittest.expect(o[0], unittest.equals('foo'));
383 unittest.expect(o[1], unittest.equals('foo')); 383 unittest.expect(o[1], unittest.equals('foo'));
384 } 384 }
385 385
386 core.int buildCounterOrder = 0; 386 core.int buildCounterOrder = 0;
387 buildOrder() { 387 buildOrder() {
388 var o = new api.Order(); 388 var o = new api.Order();
389 buildCounterOrder++; 389 buildCounterOrder++;
390 if (buildCounterOrder < 3) { 390 if (buildCounterOrder < 3) {
391 o.approvedTime = "foo"; 391 o.approvedTime = "foo";
392 o.channelId = "foo"; 392 o.channelId = "foo";
393 o.channelName = "foo"; 393 o.channelName = "foo";
394 o.countries = buildUnnamed2688(); 394 o.countries = buildUnnamed3013();
395 o.customId = "foo"; 395 o.customId = "foo";
396 o.earliestAvailStartTime = "foo"; 396 o.earliestAvailStartTime = "foo";
397 o.episodeName = "foo"; 397 o.episodeName = "foo";
398 o.legacyPriority = "foo"; 398 o.legacyPriority = "foo";
399 o.name = "foo"; 399 o.name = "foo";
400 o.normalizedPriority = "foo"; 400 o.normalizedPriority = "foo";
401 o.orderId = "foo"; 401 o.orderId = "foo";
402 o.orderedTime = "foo"; 402 o.orderedTime = "foo";
403 o.pphName = "foo"; 403 o.pphName = "foo";
404 o.priority = 42.0; 404 o.priority = 42.0;
(...skipping 10 matching lines...) Expand all
415 buildCounterOrder--; 415 buildCounterOrder--;
416 return o; 416 return o;
417 } 417 }
418 418
419 checkOrder(api.Order o) { 419 checkOrder(api.Order o) {
420 buildCounterOrder++; 420 buildCounterOrder++;
421 if (buildCounterOrder < 3) { 421 if (buildCounterOrder < 3) {
422 unittest.expect(o.approvedTime, unittest.equals('foo')); 422 unittest.expect(o.approvedTime, unittest.equals('foo'));
423 unittest.expect(o.channelId, unittest.equals('foo')); 423 unittest.expect(o.channelId, unittest.equals('foo'));
424 unittest.expect(o.channelName, unittest.equals('foo')); 424 unittest.expect(o.channelName, unittest.equals('foo'));
425 checkUnnamed2688(o.countries); 425 checkUnnamed3013(o.countries);
426 unittest.expect(o.customId, unittest.equals('foo')); 426 unittest.expect(o.customId, unittest.equals('foo'));
427 unittest.expect(o.earliestAvailStartTime, unittest.equals('foo')); 427 unittest.expect(o.earliestAvailStartTime, unittest.equals('foo'));
428 unittest.expect(o.episodeName, unittest.equals('foo')); 428 unittest.expect(o.episodeName, unittest.equals('foo'));
429 unittest.expect(o.legacyPriority, unittest.equals('foo')); 429 unittest.expect(o.legacyPriority, unittest.equals('foo'));
430 unittest.expect(o.name, unittest.equals('foo')); 430 unittest.expect(o.name, unittest.equals('foo'));
431 unittest.expect(o.normalizedPriority, unittest.equals('foo')); 431 unittest.expect(o.normalizedPriority, unittest.equals('foo'));
432 unittest.expect(o.orderId, unittest.equals('foo')); 432 unittest.expect(o.orderId, unittest.equals('foo'));
433 unittest.expect(o.orderedTime, unittest.equals('foo')); 433 unittest.expect(o.orderedTime, unittest.equals('foo'));
434 unittest.expect(o.pphName, unittest.equals('foo')); 434 unittest.expect(o.pphName, unittest.equals('foo'));
435 unittest.expect(o.priority, unittest.equals(42.0)); 435 unittest.expect(o.priority, unittest.equals(42.0));
436 unittest.expect(o.receivedTime, unittest.equals('foo')); 436 unittest.expect(o.receivedTime, unittest.equals('foo'));
437 unittest.expect(o.rejectionNote, unittest.equals('foo')); 437 unittest.expect(o.rejectionNote, unittest.equals('foo'));
438 unittest.expect(o.seasonName, unittest.equals('foo')); 438 unittest.expect(o.seasonName, unittest.equals('foo'));
439 unittest.expect(o.showName, unittest.equals('foo')); 439 unittest.expect(o.showName, unittest.equals('foo'));
440 unittest.expect(o.status, unittest.equals('foo')); 440 unittest.expect(o.status, unittest.equals('foo'));
441 unittest.expect(o.statusDetail, unittest.equals('foo')); 441 unittest.expect(o.statusDetail, unittest.equals('foo'));
442 unittest.expect(o.studioName, unittest.equals('foo')); 442 unittest.expect(o.studioName, unittest.equals('foo'));
443 unittest.expect(o.type, unittest.equals('foo')); 443 unittest.expect(o.type, unittest.equals('foo'));
444 unittest.expect(o.videoId, unittest.equals('foo')); 444 unittest.expect(o.videoId, unittest.equals('foo'));
445 } 445 }
446 buildCounterOrder--; 446 buildCounterOrder--;
447 } 447 }
448 448
449 buildUnnamed2689() { 449 buildUnnamed3014() {
450 var o = new core.List<core.String>(); 450 var o = new core.List<core.String>();
451 o.add("foo"); 451 o.add("foo");
452 o.add("foo"); 452 o.add("foo");
453 return o; 453 return o;
454 } 454 }
455 455
456 checkUnnamed2689(core.List<core.String> o) { 456 checkUnnamed3014(core.List<core.String> o) {
457 unittest.expect(o, unittest.hasLength(2)); 457 unittest.expect(o, unittest.hasLength(2));
458 unittest.expect(o[0], unittest.equals('foo')); 458 unittest.expect(o[0], unittest.equals('foo'));
459 unittest.expect(o[1], unittest.equals('foo')); 459 unittest.expect(o[1], unittest.equals('foo'));
460 } 460 }
461 461
462 buildUnnamed2690() { 462 buildUnnamed3015() {
463 var o = new core.List<core.String>(); 463 var o = new core.List<core.String>();
464 o.add("foo"); 464 o.add("foo");
465 o.add("foo"); 465 o.add("foo");
466 return o; 466 return o;
467 } 467 }
468 468
469 checkUnnamed2690(core.List<core.String> o) { 469 checkUnnamed3015(core.List<core.String> o) {
470 unittest.expect(o, unittest.hasLength(2)); 470 unittest.expect(o, unittest.hasLength(2));
471 unittest.expect(o[0], unittest.equals('foo')); 471 unittest.expect(o[0], unittest.equals('foo'));
472 unittest.expect(o[1], unittest.equals('foo')); 472 unittest.expect(o[1], unittest.equals('foo'));
473 } 473 }
474 474
475 buildUnnamed2691() { 475 buildUnnamed3016() {
476 var o = new core.List<core.String>(); 476 var o = new core.List<core.String>();
477 o.add("foo"); 477 o.add("foo");
478 o.add("foo"); 478 o.add("foo");
479 return o; 479 return o;
480 } 480 }
481 481
482 checkUnnamed2691(core.List<core.String> o) { 482 checkUnnamed3016(core.List<core.String> o) {
483 unittest.expect(o, unittest.hasLength(2)); 483 unittest.expect(o, unittest.hasLength(2));
484 unittest.expect(o[0], unittest.equals('foo')); 484 unittest.expect(o[0], unittest.equals('foo'));
485 unittest.expect(o[1], unittest.equals('foo')); 485 unittest.expect(o[1], unittest.equals('foo'));
486 } 486 }
487 487
488 core.int buildCounterStoreInfo = 0; 488 core.int buildCounterStoreInfo = 0;
489 buildStoreInfo() { 489 buildStoreInfo() {
490 var o = new api.StoreInfo(); 490 var o = new api.StoreInfo();
491 buildCounterStoreInfo++; 491 buildCounterStoreInfo++;
492 if (buildCounterStoreInfo < 3) { 492 if (buildCounterStoreInfo < 3) {
493 o.audioTracks = buildUnnamed2689(); 493 o.audioTracks = buildUnnamed3014();
494 o.country = "foo"; 494 o.country = "foo";
495 o.editLevelEidr = "foo"; 495 o.editLevelEidr = "foo";
496 o.episodeNumber = "foo"; 496 o.episodeNumber = "foo";
497 o.hasAudio51 = true; 497 o.hasAudio51 = true;
498 o.hasEstOffer = true; 498 o.hasEstOffer = true;
499 o.hasHdOffer = true; 499 o.hasHdOffer = true;
500 o.hasInfoCards = true; 500 o.hasInfoCards = true;
501 o.hasSdOffer = true; 501 o.hasSdOffer = true;
502 o.hasVodOffer = true; 502 o.hasVodOffer = true;
503 o.liveTime = "foo"; 503 o.liveTime = "foo";
504 o.mid = "foo"; 504 o.mid = "foo";
505 o.name = "foo"; 505 o.name = "foo";
506 o.pphNames = buildUnnamed2690(); 506 o.pphNames = buildUnnamed3015();
507 o.seasonId = "foo"; 507 o.seasonId = "foo";
508 o.seasonName = "foo"; 508 o.seasonName = "foo";
509 o.seasonNumber = "foo"; 509 o.seasonNumber = "foo";
510 o.showId = "foo"; 510 o.showId = "foo";
511 o.showName = "foo"; 511 o.showName = "foo";
512 o.studioName = "foo"; 512 o.studioName = "foo";
513 o.subtitles = buildUnnamed2691(); 513 o.subtitles = buildUnnamed3016();
514 o.titleLevelEidr = "foo"; 514 o.titleLevelEidr = "foo";
515 o.trailerId = "foo"; 515 o.trailerId = "foo";
516 o.type = "foo"; 516 o.type = "foo";
517 o.videoId = "foo"; 517 o.videoId = "foo";
518 } 518 }
519 buildCounterStoreInfo--; 519 buildCounterStoreInfo--;
520 return o; 520 return o;
521 } 521 }
522 522
523 checkStoreInfo(api.StoreInfo o) { 523 checkStoreInfo(api.StoreInfo o) {
524 buildCounterStoreInfo++; 524 buildCounterStoreInfo++;
525 if (buildCounterStoreInfo < 3) { 525 if (buildCounterStoreInfo < 3) {
526 checkUnnamed2689(o.audioTracks); 526 checkUnnamed3014(o.audioTracks);
527 unittest.expect(o.country, unittest.equals('foo')); 527 unittest.expect(o.country, unittest.equals('foo'));
528 unittest.expect(o.editLevelEidr, unittest.equals('foo')); 528 unittest.expect(o.editLevelEidr, unittest.equals('foo'));
529 unittest.expect(o.episodeNumber, unittest.equals('foo')); 529 unittest.expect(o.episodeNumber, unittest.equals('foo'));
530 unittest.expect(o.hasAudio51, unittest.isTrue); 530 unittest.expect(o.hasAudio51, unittest.isTrue);
531 unittest.expect(o.hasEstOffer, unittest.isTrue); 531 unittest.expect(o.hasEstOffer, unittest.isTrue);
532 unittest.expect(o.hasHdOffer, unittest.isTrue); 532 unittest.expect(o.hasHdOffer, unittest.isTrue);
533 unittest.expect(o.hasInfoCards, unittest.isTrue); 533 unittest.expect(o.hasInfoCards, unittest.isTrue);
534 unittest.expect(o.hasSdOffer, unittest.isTrue); 534 unittest.expect(o.hasSdOffer, unittest.isTrue);
535 unittest.expect(o.hasVodOffer, unittest.isTrue); 535 unittest.expect(o.hasVodOffer, unittest.isTrue);
536 unittest.expect(o.liveTime, unittest.equals('foo')); 536 unittest.expect(o.liveTime, unittest.equals('foo'));
537 unittest.expect(o.mid, unittest.equals('foo')); 537 unittest.expect(o.mid, unittest.equals('foo'));
538 unittest.expect(o.name, unittest.equals('foo')); 538 unittest.expect(o.name, unittest.equals('foo'));
539 checkUnnamed2690(o.pphNames); 539 checkUnnamed3015(o.pphNames);
540 unittest.expect(o.seasonId, unittest.equals('foo')); 540 unittest.expect(o.seasonId, unittest.equals('foo'));
541 unittest.expect(o.seasonName, unittest.equals('foo')); 541 unittest.expect(o.seasonName, unittest.equals('foo'));
542 unittest.expect(o.seasonNumber, unittest.equals('foo')); 542 unittest.expect(o.seasonNumber, unittest.equals('foo'));
543 unittest.expect(o.showId, unittest.equals('foo')); 543 unittest.expect(o.showId, unittest.equals('foo'));
544 unittest.expect(o.showName, unittest.equals('foo')); 544 unittest.expect(o.showName, unittest.equals('foo'));
545 unittest.expect(o.studioName, unittest.equals('foo')); 545 unittest.expect(o.studioName, unittest.equals('foo'));
546 checkUnnamed2691(o.subtitles); 546 checkUnnamed3016(o.subtitles);
547 unittest.expect(o.titleLevelEidr, unittest.equals('foo')); 547 unittest.expect(o.titleLevelEidr, unittest.equals('foo'));
548 unittest.expect(o.trailerId, unittest.equals('foo')); 548 unittest.expect(o.trailerId, unittest.equals('foo'));
549 unittest.expect(o.type, unittest.equals('foo')); 549 unittest.expect(o.type, unittest.equals('foo'));
550 unittest.expect(o.videoId, unittest.equals('foo')); 550 unittest.expect(o.videoId, unittest.equals('foo'));
551 } 551 }
552 buildCounterStoreInfo--; 552 buildCounterStoreInfo--;
553 } 553 }
554 554
555 buildUnnamed2692() { 555 buildUnnamed3017() {
556 var o = new core.List<core.String>(); 556 var o = new core.List<core.String>();
557 o.add("foo"); 557 o.add("foo");
558 o.add("foo"); 558 o.add("foo");
559 return o; 559 return o;
560 } 560 }
561 561
562 checkUnnamed2692(core.List<core.String> o) { 562 checkUnnamed3017(core.List<core.String> o) {
563 unittest.expect(o, unittest.hasLength(2)); 563 unittest.expect(o, unittest.hasLength(2));
564 unittest.expect(o[0], unittest.equals('foo')); 564 unittest.expect(o[0], unittest.equals('foo'));
565 unittest.expect(o[1], unittest.equals('foo')); 565 unittest.expect(o[1], unittest.equals('foo'));
566 } 566 }
567 567
568 buildUnnamed2693() { 568 buildUnnamed3018() {
569 var o = new core.List<core.String>(); 569 var o = new core.List<core.String>();
570 o.add("foo"); 570 o.add("foo");
571 o.add("foo"); 571 o.add("foo");
572 return o; 572 return o;
573 } 573 }
574 574
575 checkUnnamed2693(core.List<core.String> o) { 575 checkUnnamed3018(core.List<core.String> o) {
576 unittest.expect(o, unittest.hasLength(2)); 576 unittest.expect(o, unittest.hasLength(2));
577 unittest.expect(o[0], unittest.equals('foo')); 577 unittest.expect(o[0], unittest.equals('foo'));
578 unittest.expect(o[1], unittest.equals('foo')); 578 unittest.expect(o[1], unittest.equals('foo'));
579 } 579 }
580 580
581 buildUnnamed2694() { 581 buildUnnamed3019() {
582 var o = new core.List<core.String>(); 582 var o = new core.List<core.String>();
583 o.add("foo"); 583 o.add("foo");
584 o.add("foo"); 584 o.add("foo");
585 return o; 585 return o;
586 } 586 }
587 587
588 checkUnnamed2694(core.List<core.String> o) { 588 checkUnnamed3019(core.List<core.String> o) {
589 unittest.expect(o, unittest.hasLength(2)); 589 unittest.expect(o, unittest.hasLength(2));
590 unittest.expect(o[0], unittest.equals('foo')); 590 unittest.expect(o[0], unittest.equals('foo'));
591 unittest.expect(o[1], unittest.equals('foo')); 591 unittest.expect(o[1], unittest.equals('foo'));
592 } 592 }
593 593
594 buildUnnamed2695() { 594 buildUnnamed3020() {
595 var o = new core.List<core.String>(); 595 var o = new core.List<core.String>();
596 o.add("foo"); 596 o.add("foo");
597 o.add("foo"); 597 o.add("foo");
598 return o; 598 return o;
599 } 599 }
600 600
601 checkUnnamed2695(core.List<core.String> o) { 601 checkUnnamed3020(core.List<core.String> o) {
602 unittest.expect(o, unittest.hasLength(2)); 602 unittest.expect(o, unittest.hasLength(2));
603 unittest.expect(o[0], unittest.equals('foo')); 603 unittest.expect(o[0], unittest.equals('foo'));
604 unittest.expect(o[1], unittest.equals('foo')); 604 unittest.expect(o[1], unittest.equals('foo'));
605 } 605 }
606 606
607 buildUnnamed2696() { 607 buildUnnamed3021() {
608 var o = new core.List<core.String>(); 608 var o = new core.List<core.String>();
609 o.add("foo"); 609 o.add("foo");
610 o.add("foo"); 610 o.add("foo");
611 return o; 611 return o;
612 } 612 }
613 613
614 checkUnnamed2696(core.List<core.String> o) { 614 checkUnnamed3021(core.List<core.String> o) {
615 unittest.expect(o, unittest.hasLength(2)); 615 unittest.expect(o, unittest.hasLength(2));
616 unittest.expect(o[0], unittest.equals('foo')); 616 unittest.expect(o[0], unittest.equals('foo'));
617 unittest.expect(o[1], unittest.equals('foo')); 617 unittest.expect(o[1], unittest.equals('foo'));
618 } 618 }
619 619
620 buildUnnamed2697() { 620 buildUnnamed3022() {
621 var o = new core.List<core.String>(); 621 var o = new core.List<core.String>();
622 o.add("foo"); 622 o.add("foo");
623 o.add("foo"); 623 o.add("foo");
624 return o; 624 return o;
625 } 625 }
626 626
627 checkUnnamed2697(core.List<core.String> o) { 627 checkUnnamed3022(core.List<core.String> o) {
628 unittest.expect(o, unittest.hasLength(2)); 628 unittest.expect(o, unittest.hasLength(2));
629 unittest.expect(o[0], unittest.equals('foo')); 629 unittest.expect(o[0], unittest.equals('foo'));
630 unittest.expect(o[1], unittest.equals('foo')); 630 unittest.expect(o[1], unittest.equals('foo'));
631 } 631 }
632 632
633 buildUnnamed2698() { 633 buildUnnamed3023() {
634 var o = new core.List<core.String>(); 634 var o = new core.List<core.String>();
635 o.add("foo"); 635 o.add("foo");
636 o.add("foo"); 636 o.add("foo");
637 return o; 637 return o;
638 } 638 }
639 639
640 checkUnnamed2698(core.List<core.String> o) { 640 checkUnnamed3023(core.List<core.String> o) {
641 unittest.expect(o, unittest.hasLength(2)); 641 unittest.expect(o, unittest.hasLength(2));
642 unittest.expect(o[0], unittest.equals('foo')); 642 unittest.expect(o[0], unittest.equals('foo'));
643 unittest.expect(o[1], unittest.equals('foo')); 643 unittest.expect(o[1], unittest.equals('foo'));
644 } 644 }
645 645
646 buildUnnamed2699() { 646 buildUnnamed3024() {
647 var o = new core.List<core.String>(); 647 var o = new core.List<core.String>();
648 o.add("foo"); 648 o.add("foo");
649 o.add("foo"); 649 o.add("foo");
650 return o; 650 return o;
651 } 651 }
652 652
653 checkUnnamed2699(core.List<core.String> o) { 653 checkUnnamed3024(core.List<core.String> o) {
654 unittest.expect(o, unittest.hasLength(2)); 654 unittest.expect(o, unittest.hasLength(2));
655 unittest.expect(o[0], unittest.equals('foo')); 655 unittest.expect(o[0], unittest.equals('foo'));
656 unittest.expect(o[1], unittest.equals('foo')); 656 unittest.expect(o[1], unittest.equals('foo'));
657 } 657 }
658 658
659 buildUnnamed2700() { 659 buildUnnamed3025() {
660 var o = new core.List<core.String>(); 660 var o = new core.List<core.String>();
661 o.add("foo"); 661 o.add("foo");
662 o.add("foo"); 662 o.add("foo");
663 return o; 663 return o;
664 } 664 }
665 665
666 checkUnnamed2700(core.List<core.String> o) { 666 checkUnnamed3025(core.List<core.String> o) {
667 unittest.expect(o, unittest.hasLength(2)); 667 unittest.expect(o, unittest.hasLength(2));
668 unittest.expect(o[0], unittest.equals('foo')); 668 unittest.expect(o[0], unittest.equals('foo'));
669 unittest.expect(o[1], unittest.equals('foo')); 669 unittest.expect(o[1], unittest.equals('foo'));
670 } 670 }
671 671
672 buildUnnamed2701() { 672 buildUnnamed3026() {
673 var o = new core.List<core.String>(); 673 var o = new core.List<core.String>();
674 o.add("foo"); 674 o.add("foo");
675 o.add("foo"); 675 o.add("foo");
676 return o; 676 return o;
677 } 677 }
678 678
679 checkUnnamed2701(core.List<core.String> o) { 679 checkUnnamed3026(core.List<core.String> o) {
680 unittest.expect(o, unittest.hasLength(2)); 680 unittest.expect(o, unittest.hasLength(2));
681 unittest.expect(o[0], unittest.equals('foo')); 681 unittest.expect(o[0], unittest.equals('foo'));
682 unittest.expect(o[1], unittest.equals('foo')); 682 unittest.expect(o[1], unittest.equals('foo'));
683 } 683 }
684 684
685 buildUnnamed2702() { 685 buildUnnamed3027() {
686 var o = new core.List<core.String>(); 686 var o = new core.List<core.String>();
687 o.add("foo"); 687 o.add("foo");
688 o.add("foo"); 688 o.add("foo");
689 return o; 689 return o;
690 } 690 }
691 691
692 checkUnnamed2702(core.List<core.String> o) { 692 checkUnnamed3027(core.List<core.String> o) {
693 unittest.expect(o, unittest.hasLength(2)); 693 unittest.expect(o, unittest.hasLength(2));
694 unittest.expect(o[0], unittest.equals('foo')); 694 unittest.expect(o[0], unittest.equals('foo'));
695 unittest.expect(o[1], unittest.equals('foo')); 695 unittest.expect(o[1], unittest.equals('foo'));
696 } 696 }
697 697
698 buildUnnamed2703() { 698 buildUnnamed3028() {
699 var o = new core.List<core.String>(); 699 var o = new core.List<core.String>();
700 o.add("foo"); 700 o.add("foo");
701 o.add("foo"); 701 o.add("foo");
702 return o; 702 return o;
703 } 703 }
704 704
705 checkUnnamed2703(core.List<core.String> o) { 705 checkUnnamed3028(core.List<core.String> o) {
706 unittest.expect(o, unittest.hasLength(2)); 706 unittest.expect(o, unittest.hasLength(2));
707 unittest.expect(o[0], unittest.equals('foo')); 707 unittest.expect(o[0], unittest.equals('foo'));
708 unittest.expect(o[1], unittest.equals('foo')); 708 unittest.expect(o[1], unittest.equals('foo'));
709 } 709 }
710 710
711 buildUnnamed2704() { 711 buildUnnamed3029() {
712 var o = new core.List<core.String>(); 712 var o = new core.List<core.String>();
713 o.add("foo"); 713 o.add("foo");
714 o.add("foo"); 714 o.add("foo");
715 return o; 715 return o;
716 } 716 }
717 717
718 checkUnnamed2704(core.List<core.String> o) { 718 checkUnnamed3029(core.List<core.String> o) {
719 unittest.expect(o, unittest.hasLength(2)); 719 unittest.expect(o, unittest.hasLength(2));
720 unittest.expect(o[0], unittest.equals('foo')); 720 unittest.expect(o[0], unittest.equals('foo'));
721 unittest.expect(o[1], unittest.equals('foo')); 721 unittest.expect(o[1], unittest.equals('foo'));
722 } 722 }
723 723
724 buildUnnamed2705() { 724 buildUnnamed3030() {
725 var o = new core.List<core.String>(); 725 var o = new core.List<core.String>();
726 o.add("foo"); 726 o.add("foo");
727 o.add("foo"); 727 o.add("foo");
728 return o; 728 return o;
729 } 729 }
730 730
731 checkUnnamed2705(core.List<core.String> o) { 731 checkUnnamed3030(core.List<core.String> o) {
732 unittest.expect(o, unittest.hasLength(2)); 732 unittest.expect(o, unittest.hasLength(2));
733 unittest.expect(o[0], unittest.equals('foo')); 733 unittest.expect(o[0], unittest.equals('foo'));
734 unittest.expect(o[1], unittest.equals('foo')); 734 unittest.expect(o[1], unittest.equals('foo'));
735 } 735 }
736 736
737 737
738 main() { 738 main() {
739 unittest.group("obj-schema-Avail", () { 739 unittest.group("obj-schema-Avail", () {
740 unittest.test("to-json--from-json", () { 740 unittest.test("to-json--from-json", () {
741 var o = buildAvail(); 741 var o = buildAvail();
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
809 809
810 810
811 unittest.group("resource-AccountsAvailsResourceApi", () { 811 unittest.group("resource-AccountsAvailsResourceApi", () {
812 unittest.test("method--list", () { 812 unittest.test("method--list", () {
813 813
814 var mock = new HttpServerMock(); 814 var mock = new HttpServerMock();
815 api.AccountsAvailsResourceApi res = new api.PlaymoviespartnerApi(mock).acc ounts.avails; 815 api.AccountsAvailsResourceApi res = new api.PlaymoviespartnerApi(mock).acc ounts.avails;
816 var arg_accountId = "foo"; 816 var arg_accountId = "foo";
817 var arg_pageSize = 42; 817 var arg_pageSize = 42;
818 var arg_pageToken = "foo"; 818 var arg_pageToken = "foo";
819 var arg_pphNames = buildUnnamed2692(); 819 var arg_pphNames = buildUnnamed3017();
820 var arg_studioNames = buildUnnamed2693(); 820 var arg_studioNames = buildUnnamed3018();
821 var arg_title = "foo"; 821 var arg_title = "foo";
822 var arg_territories = buildUnnamed2694(); 822 var arg_territories = buildUnnamed3019();
823 var arg_altId = "foo"; 823 var arg_altId = "foo";
824 var arg_videoIds = buildUnnamed2695(); 824 var arg_videoIds = buildUnnamed3020();
825 mock.register(unittest.expectAsync((http.BaseRequest req, json) { 825 mock.register(unittest.expectAsync((http.BaseRequest req, json) {
826 var path = (req.url).path; 826 var path = (req.url).path;
827 var pathOffset = 0; 827 var pathOffset = 0;
828 var index; 828 var index;
829 var subPart; 829 var subPart;
830 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/")); 830 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/"));
831 pathOffset += 1; 831 pathOffset += 1;
832 unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.eq uals("v1/accounts/")); 832 unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.eq uals("v1/accounts/"));
833 pathOffset += 12; 833 pathOffset += 12;
834 index = path.indexOf("/avails", pathOffset); 834 index = path.indexOf("/avails", pathOffset);
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
935 }))); 935 })));
936 }); 936 });
937 937
938 unittest.test("method--list", () { 938 unittest.test("method--list", () {
939 939
940 var mock = new HttpServerMock(); 940 var mock = new HttpServerMock();
941 api.AccountsExperienceLocalesResourceApi res = new api.PlaymoviespartnerAp i(mock).accounts.experienceLocales; 941 api.AccountsExperienceLocalesResourceApi res = new api.PlaymoviespartnerAp i(mock).accounts.experienceLocales;
942 var arg_accountId = "foo"; 942 var arg_accountId = "foo";
943 var arg_pageSize = 42; 943 var arg_pageSize = 42;
944 var arg_pageToken = "foo"; 944 var arg_pageToken = "foo";
945 var arg_pphNames = buildUnnamed2696(); 945 var arg_pphNames = buildUnnamed3021();
946 var arg_studioNames = buildUnnamed2697(); 946 var arg_studioNames = buildUnnamed3022();
947 var arg_titleLevelEidr = "foo"; 947 var arg_titleLevelEidr = "foo";
948 var arg_editLevelEidr = "foo"; 948 var arg_editLevelEidr = "foo";
949 var arg_status = buildUnnamed2698(); 949 var arg_status = buildUnnamed3023();
950 var arg_customId = "foo"; 950 var arg_customId = "foo";
951 var arg_altCutId = "foo"; 951 var arg_altCutId = "foo";
952 mock.register(unittest.expectAsync((http.BaseRequest req, json) { 952 mock.register(unittest.expectAsync((http.BaseRequest req, json) {
953 var path = (req.url).path; 953 var path = (req.url).path;
954 var pathOffset = 0; 954 var pathOffset = 0;
955 var index; 955 var index;
956 var subPart; 956 var subPart;
957 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/")); 957 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/"));
958 pathOffset += 1; 958 pathOffset += 1;
959 unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.eq uals("v1/accounts/")); 959 unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.eq uals("v1/accounts/"));
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
1063 }))); 1063 })));
1064 }); 1064 });
1065 1065
1066 unittest.test("method--list", () { 1066 unittest.test("method--list", () {
1067 1067
1068 var mock = new HttpServerMock(); 1068 var mock = new HttpServerMock();
1069 api.AccountsOrdersResourceApi res = new api.PlaymoviespartnerApi(mock).acc ounts.orders; 1069 api.AccountsOrdersResourceApi res = new api.PlaymoviespartnerApi(mock).acc ounts.orders;
1070 var arg_accountId = "foo"; 1070 var arg_accountId = "foo";
1071 var arg_pageSize = 42; 1071 var arg_pageSize = 42;
1072 var arg_pageToken = "foo"; 1072 var arg_pageToken = "foo";
1073 var arg_pphNames = buildUnnamed2699(); 1073 var arg_pphNames = buildUnnamed3024();
1074 var arg_studioNames = buildUnnamed2700(); 1074 var arg_studioNames = buildUnnamed3025();
1075 var arg_name = "foo"; 1075 var arg_name = "foo";
1076 var arg_status = buildUnnamed2701(); 1076 var arg_status = buildUnnamed3026();
1077 var arg_customId = "foo"; 1077 var arg_customId = "foo";
1078 mock.register(unittest.expectAsync((http.BaseRequest req, json) { 1078 mock.register(unittest.expectAsync((http.BaseRequest req, json) {
1079 var path = (req.url).path; 1079 var path = (req.url).path;
1080 var pathOffset = 0; 1080 var pathOffset = 0;
1081 var index; 1081 var index;
1082 var subPart; 1082 var subPart;
1083 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/")); 1083 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/"));
1084 pathOffset += 1; 1084 pathOffset += 1;
1085 unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.eq uals("v1/accounts/")); 1085 unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.eq uals("v1/accounts/"));
1086 pathOffset += 12; 1086 pathOffset += 12;
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
1132 1132
1133 1133
1134 unittest.group("resource-AccountsStoreInfosResourceApi", () { 1134 unittest.group("resource-AccountsStoreInfosResourceApi", () {
1135 unittest.test("method--list", () { 1135 unittest.test("method--list", () {
1136 1136
1137 var mock = new HttpServerMock(); 1137 var mock = new HttpServerMock();
1138 api.AccountsStoreInfosResourceApi res = new api.PlaymoviespartnerApi(mock) .accounts.storeInfos; 1138 api.AccountsStoreInfosResourceApi res = new api.PlaymoviespartnerApi(mock) .accounts.storeInfos;
1139 var arg_accountId = "foo"; 1139 var arg_accountId = "foo";
1140 var arg_pageSize = 42; 1140 var arg_pageSize = 42;
1141 var arg_pageToken = "foo"; 1141 var arg_pageToken = "foo";
1142 var arg_pphNames = buildUnnamed2702(); 1142 var arg_pphNames = buildUnnamed3027();
1143 var arg_studioNames = buildUnnamed2703(); 1143 var arg_studioNames = buildUnnamed3028();
1144 var arg_videoId = "foo"; 1144 var arg_videoId = "foo";
1145 var arg_countries = buildUnnamed2704(); 1145 var arg_countries = buildUnnamed3029();
1146 var arg_name = "foo"; 1146 var arg_name = "foo";
1147 var arg_videoIds = buildUnnamed2705(); 1147 var arg_videoIds = buildUnnamed3030();
1148 mock.register(unittest.expectAsync((http.BaseRequest req, json) { 1148 mock.register(unittest.expectAsync((http.BaseRequest req, json) {
1149 var path = (req.url).path; 1149 var path = (req.url).path;
1150 var pathOffset = 0; 1150 var pathOffset = 0;
1151 var index; 1151 var index;
1152 var subPart; 1152 var subPart;
1153 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/")); 1153 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/"));
1154 pathOffset += 1; 1154 pathOffset += 1;
1155 unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.eq uals("v1/accounts/")); 1155 unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.eq uals("v1/accounts/"));
1156 pathOffset += 12; 1156 pathOffset += 12;
1157 index = path.indexOf("/storeInfos", pathOffset); 1157 index = path.indexOf("/storeInfos", pathOffset);
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
1264 res.get(arg_accountId, arg_videoId, arg_country).then(unittest.expectAsync (((api.StoreInfo response) { 1264 res.get(arg_accountId, arg_videoId, arg_country).then(unittest.expectAsync (((api.StoreInfo response) {
1265 checkStoreInfo(response); 1265 checkStoreInfo(response);
1266 }))); 1266 })));
1267 }); 1267 });
1268 1268
1269 }); 1269 });
1270 1270
1271 1271
1272 } 1272 }
1273 1273
OLDNEW
« no previous file with comments | « generated/googleapis/test/people/v1_test.dart ('k') | generated/googleapis/test/plus/v1_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698