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

Side by Side Diff: generated/googleapis/test/analytics/v3_test.dart

Issue 2281923002: Api-roll 41: 2016-08-26 (Closed) Base URL: git@github.com:dart-lang/googleapis.git@master
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 library googleapis.analytics.v3.test; 1 library googleapis.analytics.v3.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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 65
66 checkAccountChildLink(api.AccountChildLink o) { 66 checkAccountChildLink(api.AccountChildLink o) {
67 buildCounterAccountChildLink++; 67 buildCounterAccountChildLink++;
68 if (buildCounterAccountChildLink < 3) { 68 if (buildCounterAccountChildLink < 3) {
69 unittest.expect(o.href, unittest.equals('foo')); 69 unittest.expect(o.href, unittest.equals('foo'));
70 unittest.expect(o.type, unittest.equals('foo')); 70 unittest.expect(o.type, unittest.equals('foo'));
71 } 71 }
72 buildCounterAccountChildLink--; 72 buildCounterAccountChildLink--;
73 } 73 }
74 74
75 buildUnnamed299() { 75 buildUnnamed1088() {
76 var o = new core.List<core.String>(); 76 var o = new core.List<core.String>();
77 o.add("foo"); 77 o.add("foo");
78 o.add("foo"); 78 o.add("foo");
79 return o; 79 return o;
80 } 80 }
81 81
82 checkUnnamed299(core.List<core.String> o) { 82 checkUnnamed1088(core.List<core.String> o) {
83 unittest.expect(o, unittest.hasLength(2)); 83 unittest.expect(o, unittest.hasLength(2));
84 unittest.expect(o[0], unittest.equals('foo')); 84 unittest.expect(o[0], unittest.equals('foo'));
85 unittest.expect(o[1], unittest.equals('foo')); 85 unittest.expect(o[1], unittest.equals('foo'));
86 } 86 }
87 87
88 core.int buildCounterAccountPermissions = 0; 88 core.int buildCounterAccountPermissions = 0;
89 buildAccountPermissions() { 89 buildAccountPermissions() {
90 var o = new api.AccountPermissions(); 90 var o = new api.AccountPermissions();
91 buildCounterAccountPermissions++; 91 buildCounterAccountPermissions++;
92 if (buildCounterAccountPermissions < 3) { 92 if (buildCounterAccountPermissions < 3) {
93 o.effective = buildUnnamed299(); 93 o.effective = buildUnnamed1088();
94 } 94 }
95 buildCounterAccountPermissions--; 95 buildCounterAccountPermissions--;
96 return o; 96 return o;
97 } 97 }
98 98
99 checkAccountPermissions(api.AccountPermissions o) { 99 checkAccountPermissions(api.AccountPermissions o) {
100 buildCounterAccountPermissions++; 100 buildCounterAccountPermissions++;
101 if (buildCounterAccountPermissions < 3) { 101 if (buildCounterAccountPermissions < 3) {
102 checkUnnamed299(o.effective); 102 checkUnnamed1088(o.effective);
103 } 103 }
104 buildCounterAccountPermissions--; 104 buildCounterAccountPermissions--;
105 } 105 }
106 106
107 core.int buildCounterAccount = 0; 107 core.int buildCounterAccount = 0;
108 buildAccount() { 108 buildAccount() {
109 var o = new api.Account(); 109 var o = new api.Account();
110 buildCounterAccount++; 110 buildCounterAccount++;
111 if (buildCounterAccount < 3) { 111 if (buildCounterAccount < 3) {
112 o.childLink = buildAccountChildLink(); 112 o.childLink = buildAccountChildLink();
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 buildCounterAccountRef++; 157 buildCounterAccountRef++;
158 if (buildCounterAccountRef < 3) { 158 if (buildCounterAccountRef < 3) {
159 unittest.expect(o.href, unittest.equals('foo')); 159 unittest.expect(o.href, unittest.equals('foo'));
160 unittest.expect(o.id, unittest.equals('foo')); 160 unittest.expect(o.id, unittest.equals('foo'));
161 unittest.expect(o.kind, unittest.equals('foo')); 161 unittest.expect(o.kind, unittest.equals('foo'));
162 unittest.expect(o.name, unittest.equals('foo')); 162 unittest.expect(o.name, unittest.equals('foo'));
163 } 163 }
164 buildCounterAccountRef--; 164 buildCounterAccountRef--;
165 } 165 }
166 166
167 buildUnnamed300() { 167 buildUnnamed1089() {
168 var o = new core.List<api.AccountSummary>(); 168 var o = new core.List<api.AccountSummary>();
169 o.add(buildAccountSummary()); 169 o.add(buildAccountSummary());
170 o.add(buildAccountSummary()); 170 o.add(buildAccountSummary());
171 return o; 171 return o;
172 } 172 }
173 173
174 checkUnnamed300(core.List<api.AccountSummary> o) { 174 checkUnnamed1089(core.List<api.AccountSummary> o) {
175 unittest.expect(o, unittest.hasLength(2)); 175 unittest.expect(o, unittest.hasLength(2));
176 checkAccountSummary(o[0]); 176 checkAccountSummary(o[0]);
177 checkAccountSummary(o[1]); 177 checkAccountSummary(o[1]);
178 } 178 }
179 179
180 core.int buildCounterAccountSummaries = 0; 180 core.int buildCounterAccountSummaries = 0;
181 buildAccountSummaries() { 181 buildAccountSummaries() {
182 var o = new api.AccountSummaries(); 182 var o = new api.AccountSummaries();
183 buildCounterAccountSummaries++; 183 buildCounterAccountSummaries++;
184 if (buildCounterAccountSummaries < 3) { 184 if (buildCounterAccountSummaries < 3) {
185 o.items = buildUnnamed300(); 185 o.items = buildUnnamed1089();
186 o.itemsPerPage = 42; 186 o.itemsPerPage = 42;
187 o.kind = "foo"; 187 o.kind = "foo";
188 o.nextLink = "foo"; 188 o.nextLink = "foo";
189 o.previousLink = "foo"; 189 o.previousLink = "foo";
190 o.startIndex = 42; 190 o.startIndex = 42;
191 o.totalResults = 42; 191 o.totalResults = 42;
192 o.username = "foo"; 192 o.username = "foo";
193 } 193 }
194 buildCounterAccountSummaries--; 194 buildCounterAccountSummaries--;
195 return o; 195 return o;
196 } 196 }
197 197
198 checkAccountSummaries(api.AccountSummaries o) { 198 checkAccountSummaries(api.AccountSummaries o) {
199 buildCounterAccountSummaries++; 199 buildCounterAccountSummaries++;
200 if (buildCounterAccountSummaries < 3) { 200 if (buildCounterAccountSummaries < 3) {
201 checkUnnamed300(o.items); 201 checkUnnamed1089(o.items);
202 unittest.expect(o.itemsPerPage, unittest.equals(42)); 202 unittest.expect(o.itemsPerPage, unittest.equals(42));
203 unittest.expect(o.kind, unittest.equals('foo')); 203 unittest.expect(o.kind, unittest.equals('foo'));
204 unittest.expect(o.nextLink, unittest.equals('foo')); 204 unittest.expect(o.nextLink, unittest.equals('foo'));
205 unittest.expect(o.previousLink, unittest.equals('foo')); 205 unittest.expect(o.previousLink, unittest.equals('foo'));
206 unittest.expect(o.startIndex, unittest.equals(42)); 206 unittest.expect(o.startIndex, unittest.equals(42));
207 unittest.expect(o.totalResults, unittest.equals(42)); 207 unittest.expect(o.totalResults, unittest.equals(42));
208 unittest.expect(o.username, unittest.equals('foo')); 208 unittest.expect(o.username, unittest.equals('foo'));
209 } 209 }
210 buildCounterAccountSummaries--; 210 buildCounterAccountSummaries--;
211 } 211 }
212 212
213 buildUnnamed301() { 213 buildUnnamed1090() {
214 var o = new core.List<api.WebPropertySummary>(); 214 var o = new core.List<api.WebPropertySummary>();
215 o.add(buildWebPropertySummary()); 215 o.add(buildWebPropertySummary());
216 o.add(buildWebPropertySummary()); 216 o.add(buildWebPropertySummary());
217 return o; 217 return o;
218 } 218 }
219 219
220 checkUnnamed301(core.List<api.WebPropertySummary> o) { 220 checkUnnamed1090(core.List<api.WebPropertySummary> o) {
221 unittest.expect(o, unittest.hasLength(2)); 221 unittest.expect(o, unittest.hasLength(2));
222 checkWebPropertySummary(o[0]); 222 checkWebPropertySummary(o[0]);
223 checkWebPropertySummary(o[1]); 223 checkWebPropertySummary(o[1]);
224 } 224 }
225 225
226 core.int buildCounterAccountSummary = 0; 226 core.int buildCounterAccountSummary = 0;
227 buildAccountSummary() { 227 buildAccountSummary() {
228 var o = new api.AccountSummary(); 228 var o = new api.AccountSummary();
229 buildCounterAccountSummary++; 229 buildCounterAccountSummary++;
230 if (buildCounterAccountSummary < 3) { 230 if (buildCounterAccountSummary < 3) {
231 o.id = "foo"; 231 o.id = "foo";
232 o.kind = "foo"; 232 o.kind = "foo";
233 o.name = "foo"; 233 o.name = "foo";
234 o.starred = true; 234 o.starred = true;
235 o.webProperties = buildUnnamed301(); 235 o.webProperties = buildUnnamed1090();
236 } 236 }
237 buildCounterAccountSummary--; 237 buildCounterAccountSummary--;
238 return o; 238 return o;
239 } 239 }
240 240
241 checkAccountSummary(api.AccountSummary o) { 241 checkAccountSummary(api.AccountSummary o) {
242 buildCounterAccountSummary++; 242 buildCounterAccountSummary++;
243 if (buildCounterAccountSummary < 3) { 243 if (buildCounterAccountSummary < 3) {
244 unittest.expect(o.id, unittest.equals('foo')); 244 unittest.expect(o.id, unittest.equals('foo'));
245 unittest.expect(o.kind, unittest.equals('foo')); 245 unittest.expect(o.kind, unittest.equals('foo'));
246 unittest.expect(o.name, unittest.equals('foo')); 246 unittest.expect(o.name, unittest.equals('foo'));
247 unittest.expect(o.starred, unittest.isTrue); 247 unittest.expect(o.starred, unittest.isTrue);
248 checkUnnamed301(o.webProperties); 248 checkUnnamed1090(o.webProperties);
249 } 249 }
250 buildCounterAccountSummary--; 250 buildCounterAccountSummary--;
251 } 251 }
252 252
253 core.int buildCounterAccountTicket = 0; 253 core.int buildCounterAccountTicket = 0;
254 buildAccountTicket() { 254 buildAccountTicket() {
255 var o = new api.AccountTicket(); 255 var o = new api.AccountTicket();
256 buildCounterAccountTicket++; 256 buildCounterAccountTicket++;
257 if (buildCounterAccountTicket < 3) { 257 if (buildCounterAccountTicket < 3) {
258 o.account = buildAccount(); 258 o.account = buildAccount();
(...skipping 13 matching lines...) Expand all
272 checkAccount(o.account); 272 checkAccount(o.account);
273 unittest.expect(o.id, unittest.equals('foo')); 273 unittest.expect(o.id, unittest.equals('foo'));
274 unittest.expect(o.kind, unittest.equals('foo')); 274 unittest.expect(o.kind, unittest.equals('foo'));
275 checkProfile(o.profile); 275 checkProfile(o.profile);
276 unittest.expect(o.redirectUri, unittest.equals('foo')); 276 unittest.expect(o.redirectUri, unittest.equals('foo'));
277 checkWebproperty(o.webproperty); 277 checkWebproperty(o.webproperty);
278 } 278 }
279 buildCounterAccountTicket--; 279 buildCounterAccountTicket--;
280 } 280 }
281 281
282 buildUnnamed302() { 282 buildUnnamed1091() {
283 var o = new core.List<api.Account>(); 283 var o = new core.List<api.Account>();
284 o.add(buildAccount()); 284 o.add(buildAccount());
285 o.add(buildAccount()); 285 o.add(buildAccount());
286 return o; 286 return o;
287 } 287 }
288 288
289 checkUnnamed302(core.List<api.Account> o) { 289 checkUnnamed1091(core.List<api.Account> o) {
290 unittest.expect(o, unittest.hasLength(2)); 290 unittest.expect(o, unittest.hasLength(2));
291 checkAccount(o[0]); 291 checkAccount(o[0]);
292 checkAccount(o[1]); 292 checkAccount(o[1]);
293 } 293 }
294 294
295 core.int buildCounterAccounts = 0; 295 core.int buildCounterAccounts = 0;
296 buildAccounts() { 296 buildAccounts() {
297 var o = new api.Accounts(); 297 var o = new api.Accounts();
298 buildCounterAccounts++; 298 buildCounterAccounts++;
299 if (buildCounterAccounts < 3) { 299 if (buildCounterAccounts < 3) {
300 o.items = buildUnnamed302(); 300 o.items = buildUnnamed1091();
301 o.itemsPerPage = 42; 301 o.itemsPerPage = 42;
302 o.kind = "foo"; 302 o.kind = "foo";
303 o.nextLink = "foo"; 303 o.nextLink = "foo";
304 o.previousLink = "foo"; 304 o.previousLink = "foo";
305 o.startIndex = 42; 305 o.startIndex = 42;
306 o.totalResults = 42; 306 o.totalResults = 42;
307 o.username = "foo"; 307 o.username = "foo";
308 } 308 }
309 buildCounterAccounts--; 309 buildCounterAccounts--;
310 return o; 310 return o;
311 } 311 }
312 312
313 checkAccounts(api.Accounts o) { 313 checkAccounts(api.Accounts o) {
314 buildCounterAccounts++; 314 buildCounterAccounts++;
315 if (buildCounterAccounts < 3) { 315 if (buildCounterAccounts < 3) {
316 checkUnnamed302(o.items); 316 checkUnnamed1091(o.items);
317 unittest.expect(o.itemsPerPage, unittest.equals(42)); 317 unittest.expect(o.itemsPerPage, unittest.equals(42));
318 unittest.expect(o.kind, unittest.equals('foo')); 318 unittest.expect(o.kind, unittest.equals('foo'));
319 unittest.expect(o.nextLink, unittest.equals('foo')); 319 unittest.expect(o.nextLink, unittest.equals('foo'));
320 unittest.expect(o.previousLink, unittest.equals('foo')); 320 unittest.expect(o.previousLink, unittest.equals('foo'));
321 unittest.expect(o.startIndex, unittest.equals(42)); 321 unittest.expect(o.startIndex, unittest.equals(42));
322 unittest.expect(o.totalResults, unittest.equals(42)); 322 unittest.expect(o.totalResults, unittest.equals(42));
323 unittest.expect(o.username, unittest.equals('foo')); 323 unittest.expect(o.username, unittest.equals('foo'));
324 } 324 }
325 buildCounterAccounts--; 325 buildCounterAccounts--;
326 } 326 }
(...skipping 14 matching lines...) Expand all
341 checkAdWordsAccount(api.AdWordsAccount o) { 341 checkAdWordsAccount(api.AdWordsAccount o) {
342 buildCounterAdWordsAccount++; 342 buildCounterAdWordsAccount++;
343 if (buildCounterAdWordsAccount < 3) { 343 if (buildCounterAdWordsAccount < 3) {
344 unittest.expect(o.autoTaggingEnabled, unittest.isTrue); 344 unittest.expect(o.autoTaggingEnabled, unittest.isTrue);
345 unittest.expect(o.customerId, unittest.equals('foo')); 345 unittest.expect(o.customerId, unittest.equals('foo'));
346 unittest.expect(o.kind, unittest.equals('foo')); 346 unittest.expect(o.kind, unittest.equals('foo'));
347 } 347 }
348 buildCounterAdWordsAccount--; 348 buildCounterAdWordsAccount--;
349 } 349 }
350 350
351 buildUnnamed303() { 351 buildUnnamed1092() {
352 var o = new core.List<core.String>(); 352 var o = new core.List<core.String>();
353 o.add("foo"); 353 o.add("foo");
354 o.add("foo"); 354 o.add("foo");
355 return o; 355 return o;
356 } 356 }
357 357
358 checkUnnamed303(core.List<core.String> o) { 358 checkUnnamed1092(core.List<core.String> o) {
359 unittest.expect(o, unittest.hasLength(2)); 359 unittest.expect(o, unittest.hasLength(2));
360 unittest.expect(o[0], unittest.equals('foo')); 360 unittest.expect(o[0], unittest.equals('foo'));
361 unittest.expect(o[1], unittest.equals('foo')); 361 unittest.expect(o[1], unittest.equals('foo'));
362 } 362 }
363 363
364 core.int buildCounterAnalyticsDataimportDeleteUploadDataRequest = 0; 364 core.int buildCounterAnalyticsDataimportDeleteUploadDataRequest = 0;
365 buildAnalyticsDataimportDeleteUploadDataRequest() { 365 buildAnalyticsDataimportDeleteUploadDataRequest() {
366 var o = new api.AnalyticsDataimportDeleteUploadDataRequest(); 366 var o = new api.AnalyticsDataimportDeleteUploadDataRequest();
367 buildCounterAnalyticsDataimportDeleteUploadDataRequest++; 367 buildCounterAnalyticsDataimportDeleteUploadDataRequest++;
368 if (buildCounterAnalyticsDataimportDeleteUploadDataRequest < 3) { 368 if (buildCounterAnalyticsDataimportDeleteUploadDataRequest < 3) {
369 o.customDataImportUids = buildUnnamed303(); 369 o.customDataImportUids = buildUnnamed1092();
370 } 370 }
371 buildCounterAnalyticsDataimportDeleteUploadDataRequest--; 371 buildCounterAnalyticsDataimportDeleteUploadDataRequest--;
372 return o; 372 return o;
373 } 373 }
374 374
375 checkAnalyticsDataimportDeleteUploadDataRequest(api.AnalyticsDataimportDeleteUpl oadDataRequest o) { 375 checkAnalyticsDataimportDeleteUploadDataRequest(api.AnalyticsDataimportDeleteUpl oadDataRequest o) {
376 buildCounterAnalyticsDataimportDeleteUploadDataRequest++; 376 buildCounterAnalyticsDataimportDeleteUploadDataRequest++;
377 if (buildCounterAnalyticsDataimportDeleteUploadDataRequest < 3) { 377 if (buildCounterAnalyticsDataimportDeleteUploadDataRequest < 3) {
378 checkUnnamed303(o.customDataImportUids); 378 checkUnnamed1092(o.customDataImportUids);
379 } 379 }
380 buildCounterAnalyticsDataimportDeleteUploadDataRequest--; 380 buildCounterAnalyticsDataimportDeleteUploadDataRequest--;
381 } 381 }
382 382
383 buildUnnamed304() { 383 buildUnnamed1093() {
384 var o = new core.Map<core.String, core.String>(); 384 var o = new core.Map<core.String, core.String>();
385 o["x"] = "foo"; 385 o["x"] = "foo";
386 o["y"] = "foo"; 386 o["y"] = "foo";
387 return o; 387 return o;
388 } 388 }
389 389
390 checkUnnamed304(core.Map<core.String, core.String> o) { 390 checkUnnamed1093(core.Map<core.String, core.String> o) {
391 unittest.expect(o, unittest.hasLength(2)); 391 unittest.expect(o, unittest.hasLength(2));
392 unittest.expect(o["x"], unittest.equals('foo')); 392 unittest.expect(o["x"], unittest.equals('foo'));
393 unittest.expect(o["y"], unittest.equals('foo')); 393 unittest.expect(o["y"], unittest.equals('foo'));
394 } 394 }
395 395
396 core.int buildCounterColumn = 0; 396 core.int buildCounterColumn = 0;
397 buildColumn() { 397 buildColumn() {
398 var o = new api.Column(); 398 var o = new api.Column();
399 buildCounterColumn++; 399 buildCounterColumn++;
400 if (buildCounterColumn < 3) { 400 if (buildCounterColumn < 3) {
401 o.attributes = buildUnnamed304(); 401 o.attributes = buildUnnamed1093();
402 o.id = "foo"; 402 o.id = "foo";
403 o.kind = "foo"; 403 o.kind = "foo";
404 } 404 }
405 buildCounterColumn--; 405 buildCounterColumn--;
406 return o; 406 return o;
407 } 407 }
408 408
409 checkColumn(api.Column o) { 409 checkColumn(api.Column o) {
410 buildCounterColumn++; 410 buildCounterColumn++;
411 if (buildCounterColumn < 3) { 411 if (buildCounterColumn < 3) {
412 checkUnnamed304(o.attributes); 412 checkUnnamed1093(o.attributes);
413 unittest.expect(o.id, unittest.equals('foo')); 413 unittest.expect(o.id, unittest.equals('foo'));
414 unittest.expect(o.kind, unittest.equals('foo')); 414 unittest.expect(o.kind, unittest.equals('foo'));
415 } 415 }
416 buildCounterColumn--; 416 buildCounterColumn--;
417 } 417 }
418 418
419 buildUnnamed305() { 419 buildUnnamed1094() {
420 var o = new core.List<core.String>(); 420 var o = new core.List<core.String>();
421 o.add("foo"); 421 o.add("foo");
422 o.add("foo"); 422 o.add("foo");
423 return o; 423 return o;
424 } 424 }
425 425
426 checkUnnamed305(core.List<core.String> o) { 426 checkUnnamed1094(core.List<core.String> o) {
427 unittest.expect(o, unittest.hasLength(2)); 427 unittest.expect(o, unittest.hasLength(2));
428 unittest.expect(o[0], unittest.equals('foo')); 428 unittest.expect(o[0], unittest.equals('foo'));
429 unittest.expect(o[1], unittest.equals('foo')); 429 unittest.expect(o[1], unittest.equals('foo'));
430 } 430 }
431 431
432 buildUnnamed306() { 432 buildUnnamed1095() {
433 var o = new core.List<api.Column>(); 433 var o = new core.List<api.Column>();
434 o.add(buildColumn()); 434 o.add(buildColumn());
435 o.add(buildColumn()); 435 o.add(buildColumn());
436 return o; 436 return o;
437 } 437 }
438 438
439 checkUnnamed306(core.List<api.Column> o) { 439 checkUnnamed1095(core.List<api.Column> o) {
440 unittest.expect(o, unittest.hasLength(2)); 440 unittest.expect(o, unittest.hasLength(2));
441 checkColumn(o[0]); 441 checkColumn(o[0]);
442 checkColumn(o[1]); 442 checkColumn(o[1]);
443 } 443 }
444 444
445 core.int buildCounterColumns = 0; 445 core.int buildCounterColumns = 0;
446 buildColumns() { 446 buildColumns() {
447 var o = new api.Columns(); 447 var o = new api.Columns();
448 buildCounterColumns++; 448 buildCounterColumns++;
449 if (buildCounterColumns < 3) { 449 if (buildCounterColumns < 3) {
450 o.attributeNames = buildUnnamed305(); 450 o.attributeNames = buildUnnamed1094();
451 o.etag = "foo"; 451 o.etag = "foo";
452 o.items = buildUnnamed306(); 452 o.items = buildUnnamed1095();
453 o.kind = "foo"; 453 o.kind = "foo";
454 o.totalResults = 42; 454 o.totalResults = 42;
455 } 455 }
456 buildCounterColumns--; 456 buildCounterColumns--;
457 return o; 457 return o;
458 } 458 }
459 459
460 checkColumns(api.Columns o) { 460 checkColumns(api.Columns o) {
461 buildCounterColumns++; 461 buildCounterColumns++;
462 if (buildCounterColumns < 3) { 462 if (buildCounterColumns < 3) {
463 checkUnnamed305(o.attributeNames); 463 checkUnnamed1094(o.attributeNames);
464 unittest.expect(o.etag, unittest.equals('foo')); 464 unittest.expect(o.etag, unittest.equals('foo'));
465 checkUnnamed306(o.items); 465 checkUnnamed1095(o.items);
466 unittest.expect(o.kind, unittest.equals('foo')); 466 unittest.expect(o.kind, unittest.equals('foo'));
467 unittest.expect(o.totalResults, unittest.equals(42)); 467 unittest.expect(o.totalResults, unittest.equals(42));
468 } 468 }
469 buildCounterColumns--; 469 buildCounterColumns--;
470 } 470 }
471 471
472 core.int buildCounterCustomDataSourceChildLink = 0; 472 core.int buildCounterCustomDataSourceChildLink = 0;
473 buildCustomDataSourceChildLink() { 473 buildCustomDataSourceChildLink() {
474 var o = new api.CustomDataSourceChildLink(); 474 var o = new api.CustomDataSourceChildLink();
475 buildCounterCustomDataSourceChildLink++; 475 buildCounterCustomDataSourceChildLink++;
(...skipping 28 matching lines...) Expand all
504 504
505 checkCustomDataSourceParentLink(api.CustomDataSourceParentLink o) { 505 checkCustomDataSourceParentLink(api.CustomDataSourceParentLink o) {
506 buildCounterCustomDataSourceParentLink++; 506 buildCounterCustomDataSourceParentLink++;
507 if (buildCounterCustomDataSourceParentLink < 3) { 507 if (buildCounterCustomDataSourceParentLink < 3) {
508 unittest.expect(o.href, unittest.equals('foo')); 508 unittest.expect(o.href, unittest.equals('foo'));
509 unittest.expect(o.type, unittest.equals('foo')); 509 unittest.expect(o.type, unittest.equals('foo'));
510 } 510 }
511 buildCounterCustomDataSourceParentLink--; 511 buildCounterCustomDataSourceParentLink--;
512 } 512 }
513 513
514 buildUnnamed307() { 514 buildUnnamed1096() {
515 var o = new core.List<core.String>(); 515 var o = new core.List<core.String>();
516 o.add("foo"); 516 o.add("foo");
517 o.add("foo"); 517 o.add("foo");
518 return o; 518 return o;
519 } 519 }
520 520
521 checkUnnamed307(core.List<core.String> o) { 521 checkUnnamed1096(core.List<core.String> o) {
522 unittest.expect(o, unittest.hasLength(2)); 522 unittest.expect(o, unittest.hasLength(2));
523 unittest.expect(o[0], unittest.equals('foo')); 523 unittest.expect(o[0], unittest.equals('foo'));
524 unittest.expect(o[1], unittest.equals('foo')); 524 unittest.expect(o[1], unittest.equals('foo'));
525 } 525 }
526 526
527 core.int buildCounterCustomDataSource = 0; 527 core.int buildCounterCustomDataSource = 0;
528 buildCustomDataSource() { 528 buildCustomDataSource() {
529 var o = new api.CustomDataSource(); 529 var o = new api.CustomDataSource();
530 buildCounterCustomDataSource++; 530 buildCounterCustomDataSource++;
531 if (buildCounterCustomDataSource < 3) { 531 if (buildCounterCustomDataSource < 3) {
532 o.accountId = "foo"; 532 o.accountId = "foo";
533 o.childLink = buildCustomDataSourceChildLink(); 533 o.childLink = buildCustomDataSourceChildLink();
534 o.created = core.DateTime.parse("2002-02-27T14:01:02"); 534 o.created = core.DateTime.parse("2002-02-27T14:01:02");
535 o.description = "foo"; 535 o.description = "foo";
536 o.id = "foo"; 536 o.id = "foo";
537 o.importBehavior = "foo"; 537 o.importBehavior = "foo";
538 o.kind = "foo"; 538 o.kind = "foo";
539 o.name = "foo"; 539 o.name = "foo";
540 o.parentLink = buildCustomDataSourceParentLink(); 540 o.parentLink = buildCustomDataSourceParentLink();
541 o.profilesLinked = buildUnnamed307(); 541 o.profilesLinked = buildUnnamed1096();
542 o.selfLink = "foo"; 542 o.selfLink = "foo";
543 o.type = "foo"; 543 o.type = "foo";
544 o.updated = core.DateTime.parse("2002-02-27T14:01:02"); 544 o.updated = core.DateTime.parse("2002-02-27T14:01:02");
545 o.uploadType = "foo"; 545 o.uploadType = "foo";
546 o.webPropertyId = "foo"; 546 o.webPropertyId = "foo";
547 } 547 }
548 buildCounterCustomDataSource--; 548 buildCounterCustomDataSource--;
549 return o; 549 return o;
550 } 550 }
551 551
552 checkCustomDataSource(api.CustomDataSource o) { 552 checkCustomDataSource(api.CustomDataSource o) {
553 buildCounterCustomDataSource++; 553 buildCounterCustomDataSource++;
554 if (buildCounterCustomDataSource < 3) { 554 if (buildCounterCustomDataSource < 3) {
555 unittest.expect(o.accountId, unittest.equals('foo')); 555 unittest.expect(o.accountId, unittest.equals('foo'));
556 checkCustomDataSourceChildLink(o.childLink); 556 checkCustomDataSourceChildLink(o.childLink);
557 unittest.expect(o.created, unittest.equals(core.DateTime.parse("2002-02-27T1 4:01:02"))); 557 unittest.expect(o.created, unittest.equals(core.DateTime.parse("2002-02-27T1 4:01:02")));
558 unittest.expect(o.description, unittest.equals('foo')); 558 unittest.expect(o.description, unittest.equals('foo'));
559 unittest.expect(o.id, unittest.equals('foo')); 559 unittest.expect(o.id, unittest.equals('foo'));
560 unittest.expect(o.importBehavior, unittest.equals('foo')); 560 unittest.expect(o.importBehavior, unittest.equals('foo'));
561 unittest.expect(o.kind, unittest.equals('foo')); 561 unittest.expect(o.kind, unittest.equals('foo'));
562 unittest.expect(o.name, unittest.equals('foo')); 562 unittest.expect(o.name, unittest.equals('foo'));
563 checkCustomDataSourceParentLink(o.parentLink); 563 checkCustomDataSourceParentLink(o.parentLink);
564 checkUnnamed307(o.profilesLinked); 564 checkUnnamed1096(o.profilesLinked);
565 unittest.expect(o.selfLink, unittest.equals('foo')); 565 unittest.expect(o.selfLink, unittest.equals('foo'));
566 unittest.expect(o.type, unittest.equals('foo')); 566 unittest.expect(o.type, unittest.equals('foo'));
567 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1 4:01:02"))); 567 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1 4:01:02")));
568 unittest.expect(o.uploadType, unittest.equals('foo')); 568 unittest.expect(o.uploadType, unittest.equals('foo'));
569 unittest.expect(o.webPropertyId, unittest.equals('foo')); 569 unittest.expect(o.webPropertyId, unittest.equals('foo'));
570 } 570 }
571 buildCounterCustomDataSource--; 571 buildCounterCustomDataSource--;
572 } 572 }
573 573
574 buildUnnamed308() { 574 buildUnnamed1097() {
575 var o = new core.List<api.CustomDataSource>(); 575 var o = new core.List<api.CustomDataSource>();
576 o.add(buildCustomDataSource()); 576 o.add(buildCustomDataSource());
577 o.add(buildCustomDataSource()); 577 o.add(buildCustomDataSource());
578 return o; 578 return o;
579 } 579 }
580 580
581 checkUnnamed308(core.List<api.CustomDataSource> o) { 581 checkUnnamed1097(core.List<api.CustomDataSource> o) {
582 unittest.expect(o, unittest.hasLength(2)); 582 unittest.expect(o, unittest.hasLength(2));
583 checkCustomDataSource(o[0]); 583 checkCustomDataSource(o[0]);
584 checkCustomDataSource(o[1]); 584 checkCustomDataSource(o[1]);
585 } 585 }
586 586
587 core.int buildCounterCustomDataSources = 0; 587 core.int buildCounterCustomDataSources = 0;
588 buildCustomDataSources() { 588 buildCustomDataSources() {
589 var o = new api.CustomDataSources(); 589 var o = new api.CustomDataSources();
590 buildCounterCustomDataSources++; 590 buildCounterCustomDataSources++;
591 if (buildCounterCustomDataSources < 3) { 591 if (buildCounterCustomDataSources < 3) {
592 o.items = buildUnnamed308(); 592 o.items = buildUnnamed1097();
593 o.itemsPerPage = 42; 593 o.itemsPerPage = 42;
594 o.kind = "foo"; 594 o.kind = "foo";
595 o.nextLink = "foo"; 595 o.nextLink = "foo";
596 o.previousLink = "foo"; 596 o.previousLink = "foo";
597 o.startIndex = 42; 597 o.startIndex = 42;
598 o.totalResults = 42; 598 o.totalResults = 42;
599 o.username = "foo"; 599 o.username = "foo";
600 } 600 }
601 buildCounterCustomDataSources--; 601 buildCounterCustomDataSources--;
602 return o; 602 return o;
603 } 603 }
604 604
605 checkCustomDataSources(api.CustomDataSources o) { 605 checkCustomDataSources(api.CustomDataSources o) {
606 buildCounterCustomDataSources++; 606 buildCounterCustomDataSources++;
607 if (buildCounterCustomDataSources < 3) { 607 if (buildCounterCustomDataSources < 3) {
608 checkUnnamed308(o.items); 608 checkUnnamed1097(o.items);
609 unittest.expect(o.itemsPerPage, unittest.equals(42)); 609 unittest.expect(o.itemsPerPage, unittest.equals(42));
610 unittest.expect(o.kind, unittest.equals('foo')); 610 unittest.expect(o.kind, unittest.equals('foo'));
611 unittest.expect(o.nextLink, unittest.equals('foo')); 611 unittest.expect(o.nextLink, unittest.equals('foo'));
612 unittest.expect(o.previousLink, unittest.equals('foo')); 612 unittest.expect(o.previousLink, unittest.equals('foo'));
613 unittest.expect(o.startIndex, unittest.equals(42)); 613 unittest.expect(o.startIndex, unittest.equals(42));
614 unittest.expect(o.totalResults, unittest.equals(42)); 614 unittest.expect(o.totalResults, unittest.equals(42));
615 unittest.expect(o.username, unittest.equals('foo')); 615 unittest.expect(o.username, unittest.equals('foo'));
616 } 616 }
617 buildCounterCustomDataSources--; 617 buildCounterCustomDataSources--;
618 } 618 }
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
672 unittest.expect(o.name, unittest.equals('foo')); 672 unittest.expect(o.name, unittest.equals('foo'));
673 checkCustomDimensionParentLink(o.parentLink); 673 checkCustomDimensionParentLink(o.parentLink);
674 unittest.expect(o.scope, unittest.equals('foo')); 674 unittest.expect(o.scope, unittest.equals('foo'));
675 unittest.expect(o.selfLink, unittest.equals('foo')); 675 unittest.expect(o.selfLink, unittest.equals('foo'));
676 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1 4:01:02"))); 676 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1 4:01:02")));
677 unittest.expect(o.webPropertyId, unittest.equals('foo')); 677 unittest.expect(o.webPropertyId, unittest.equals('foo'));
678 } 678 }
679 buildCounterCustomDimension--; 679 buildCounterCustomDimension--;
680 } 680 }
681 681
682 buildUnnamed309() { 682 buildUnnamed1098() {
683 var o = new core.List<api.CustomDimension>(); 683 var o = new core.List<api.CustomDimension>();
684 o.add(buildCustomDimension()); 684 o.add(buildCustomDimension());
685 o.add(buildCustomDimension()); 685 o.add(buildCustomDimension());
686 return o; 686 return o;
687 } 687 }
688 688
689 checkUnnamed309(core.List<api.CustomDimension> o) { 689 checkUnnamed1098(core.List<api.CustomDimension> o) {
690 unittest.expect(o, unittest.hasLength(2)); 690 unittest.expect(o, unittest.hasLength(2));
691 checkCustomDimension(o[0]); 691 checkCustomDimension(o[0]);
692 checkCustomDimension(o[1]); 692 checkCustomDimension(o[1]);
693 } 693 }
694 694
695 core.int buildCounterCustomDimensions = 0; 695 core.int buildCounterCustomDimensions = 0;
696 buildCustomDimensions() { 696 buildCustomDimensions() {
697 var o = new api.CustomDimensions(); 697 var o = new api.CustomDimensions();
698 buildCounterCustomDimensions++; 698 buildCounterCustomDimensions++;
699 if (buildCounterCustomDimensions < 3) { 699 if (buildCounterCustomDimensions < 3) {
700 o.items = buildUnnamed309(); 700 o.items = buildUnnamed1098();
701 o.itemsPerPage = 42; 701 o.itemsPerPage = 42;
702 o.kind = "foo"; 702 o.kind = "foo";
703 o.nextLink = "foo"; 703 o.nextLink = "foo";
704 o.previousLink = "foo"; 704 o.previousLink = "foo";
705 o.startIndex = 42; 705 o.startIndex = 42;
706 o.totalResults = 42; 706 o.totalResults = 42;
707 o.username = "foo"; 707 o.username = "foo";
708 } 708 }
709 buildCounterCustomDimensions--; 709 buildCounterCustomDimensions--;
710 return o; 710 return o;
711 } 711 }
712 712
713 checkCustomDimensions(api.CustomDimensions o) { 713 checkCustomDimensions(api.CustomDimensions o) {
714 buildCounterCustomDimensions++; 714 buildCounterCustomDimensions++;
715 if (buildCounterCustomDimensions < 3) { 715 if (buildCounterCustomDimensions < 3) {
716 checkUnnamed309(o.items); 716 checkUnnamed1098(o.items);
717 unittest.expect(o.itemsPerPage, unittest.equals(42)); 717 unittest.expect(o.itemsPerPage, unittest.equals(42));
718 unittest.expect(o.kind, unittest.equals('foo')); 718 unittest.expect(o.kind, unittest.equals('foo'));
719 unittest.expect(o.nextLink, unittest.equals('foo')); 719 unittest.expect(o.nextLink, unittest.equals('foo'));
720 unittest.expect(o.previousLink, unittest.equals('foo')); 720 unittest.expect(o.previousLink, unittest.equals('foo'));
721 unittest.expect(o.startIndex, unittest.equals(42)); 721 unittest.expect(o.startIndex, unittest.equals(42));
722 unittest.expect(o.totalResults, unittest.equals(42)); 722 unittest.expect(o.totalResults, unittest.equals(42));
723 unittest.expect(o.username, unittest.equals('foo')); 723 unittest.expect(o.username, unittest.equals('foo'));
724 } 724 }
725 buildCounterCustomDimensions--; 725 buildCounterCustomDimensions--;
726 } 726 }
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
786 checkCustomMetricParentLink(o.parentLink); 786 checkCustomMetricParentLink(o.parentLink);
787 unittest.expect(o.scope, unittest.equals('foo')); 787 unittest.expect(o.scope, unittest.equals('foo'));
788 unittest.expect(o.selfLink, unittest.equals('foo')); 788 unittest.expect(o.selfLink, unittest.equals('foo'));
789 unittest.expect(o.type, unittest.equals('foo')); 789 unittest.expect(o.type, unittest.equals('foo'));
790 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1 4:01:02"))); 790 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1 4:01:02")));
791 unittest.expect(o.webPropertyId, unittest.equals('foo')); 791 unittest.expect(o.webPropertyId, unittest.equals('foo'));
792 } 792 }
793 buildCounterCustomMetric--; 793 buildCounterCustomMetric--;
794 } 794 }
795 795
796 buildUnnamed310() { 796 buildUnnamed1099() {
797 var o = new core.List<api.CustomMetric>(); 797 var o = new core.List<api.CustomMetric>();
798 o.add(buildCustomMetric()); 798 o.add(buildCustomMetric());
799 o.add(buildCustomMetric()); 799 o.add(buildCustomMetric());
800 return o; 800 return o;
801 } 801 }
802 802
803 checkUnnamed310(core.List<api.CustomMetric> o) { 803 checkUnnamed1099(core.List<api.CustomMetric> o) {
804 unittest.expect(o, unittest.hasLength(2)); 804 unittest.expect(o, unittest.hasLength(2));
805 checkCustomMetric(o[0]); 805 checkCustomMetric(o[0]);
806 checkCustomMetric(o[1]); 806 checkCustomMetric(o[1]);
807 } 807 }
808 808
809 core.int buildCounterCustomMetrics = 0; 809 core.int buildCounterCustomMetrics = 0;
810 buildCustomMetrics() { 810 buildCustomMetrics() {
811 var o = new api.CustomMetrics(); 811 var o = new api.CustomMetrics();
812 buildCounterCustomMetrics++; 812 buildCounterCustomMetrics++;
813 if (buildCounterCustomMetrics < 3) { 813 if (buildCounterCustomMetrics < 3) {
814 o.items = buildUnnamed310(); 814 o.items = buildUnnamed1099();
815 o.itemsPerPage = 42; 815 o.itemsPerPage = 42;
816 o.kind = "foo"; 816 o.kind = "foo";
817 o.nextLink = "foo"; 817 o.nextLink = "foo";
818 o.previousLink = "foo"; 818 o.previousLink = "foo";
819 o.startIndex = 42; 819 o.startIndex = 42;
820 o.totalResults = 42; 820 o.totalResults = 42;
821 o.username = "foo"; 821 o.username = "foo";
822 } 822 }
823 buildCounterCustomMetrics--; 823 buildCounterCustomMetrics--;
824 return o; 824 return o;
825 } 825 }
826 826
827 checkCustomMetrics(api.CustomMetrics o) { 827 checkCustomMetrics(api.CustomMetrics o) {
828 buildCounterCustomMetrics++; 828 buildCounterCustomMetrics++;
829 if (buildCounterCustomMetrics < 3) { 829 if (buildCounterCustomMetrics < 3) {
830 checkUnnamed310(o.items); 830 checkUnnamed1099(o.items);
831 unittest.expect(o.itemsPerPage, unittest.equals(42)); 831 unittest.expect(o.itemsPerPage, unittest.equals(42));
832 unittest.expect(o.kind, unittest.equals('foo')); 832 unittest.expect(o.kind, unittest.equals('foo'));
833 unittest.expect(o.nextLink, unittest.equals('foo')); 833 unittest.expect(o.nextLink, unittest.equals('foo'));
834 unittest.expect(o.previousLink, unittest.equals('foo')); 834 unittest.expect(o.previousLink, unittest.equals('foo'));
835 unittest.expect(o.startIndex, unittest.equals(42)); 835 unittest.expect(o.startIndex, unittest.equals(42));
836 unittest.expect(o.totalResults, unittest.equals(42)); 836 unittest.expect(o.totalResults, unittest.equals(42));
837 unittest.expect(o.username, unittest.equals('foo')); 837 unittest.expect(o.username, unittest.equals('foo'));
838 } 838 }
839 buildCounterCustomMetrics--; 839 buildCounterCustomMetrics--;
840 } 840 }
841 841
842 buildUnnamed311() { 842 buildUnnamed1100() {
843 var o = new core.List<api.AdWordsAccount>(); 843 var o = new core.List<api.AdWordsAccount>();
844 o.add(buildAdWordsAccount()); 844 o.add(buildAdWordsAccount());
845 o.add(buildAdWordsAccount()); 845 o.add(buildAdWordsAccount());
846 return o; 846 return o;
847 } 847 }
848 848
849 checkUnnamed311(core.List<api.AdWordsAccount> o) { 849 checkUnnamed1100(core.List<api.AdWordsAccount> o) {
850 unittest.expect(o, unittest.hasLength(2)); 850 unittest.expect(o, unittest.hasLength(2));
851 checkAdWordsAccount(o[0]); 851 checkAdWordsAccount(o[0]);
852 checkAdWordsAccount(o[1]); 852 checkAdWordsAccount(o[1]);
853 } 853 }
854 854
855 core.int buildCounterEntityAdWordsLinkEntity = 0; 855 core.int buildCounterEntityAdWordsLinkEntity = 0;
856 buildEntityAdWordsLinkEntity() { 856 buildEntityAdWordsLinkEntity() {
857 var o = new api.EntityAdWordsLinkEntity(); 857 var o = new api.EntityAdWordsLinkEntity();
858 buildCounterEntityAdWordsLinkEntity++; 858 buildCounterEntityAdWordsLinkEntity++;
859 if (buildCounterEntityAdWordsLinkEntity < 3) { 859 if (buildCounterEntityAdWordsLinkEntity < 3) {
860 o.webPropertyRef = buildWebPropertyRef(); 860 o.webPropertyRef = buildWebPropertyRef();
861 } 861 }
862 buildCounterEntityAdWordsLinkEntity--; 862 buildCounterEntityAdWordsLinkEntity--;
863 return o; 863 return o;
864 } 864 }
865 865
866 checkEntityAdWordsLinkEntity(api.EntityAdWordsLinkEntity o) { 866 checkEntityAdWordsLinkEntity(api.EntityAdWordsLinkEntity o) {
867 buildCounterEntityAdWordsLinkEntity++; 867 buildCounterEntityAdWordsLinkEntity++;
868 if (buildCounterEntityAdWordsLinkEntity < 3) { 868 if (buildCounterEntityAdWordsLinkEntity < 3) {
869 checkWebPropertyRef(o.webPropertyRef); 869 checkWebPropertyRef(o.webPropertyRef);
870 } 870 }
871 buildCounterEntityAdWordsLinkEntity--; 871 buildCounterEntityAdWordsLinkEntity--;
872 } 872 }
873 873
874 buildUnnamed312() { 874 buildUnnamed1101() {
875 var o = new core.List<core.String>(); 875 var o = new core.List<core.String>();
876 o.add("foo"); 876 o.add("foo");
877 o.add("foo"); 877 o.add("foo");
878 return o; 878 return o;
879 } 879 }
880 880
881 checkUnnamed312(core.List<core.String> o) { 881 checkUnnamed1101(core.List<core.String> o) {
882 unittest.expect(o, unittest.hasLength(2)); 882 unittest.expect(o, unittest.hasLength(2));
883 unittest.expect(o[0], unittest.equals('foo')); 883 unittest.expect(o[0], unittest.equals('foo'));
884 unittest.expect(o[1], unittest.equals('foo')); 884 unittest.expect(o[1], unittest.equals('foo'));
885 } 885 }
886 886
887 core.int buildCounterEntityAdWordsLink = 0; 887 core.int buildCounterEntityAdWordsLink = 0;
888 buildEntityAdWordsLink() { 888 buildEntityAdWordsLink() {
889 var o = new api.EntityAdWordsLink(); 889 var o = new api.EntityAdWordsLink();
890 buildCounterEntityAdWordsLink++; 890 buildCounterEntityAdWordsLink++;
891 if (buildCounterEntityAdWordsLink < 3) { 891 if (buildCounterEntityAdWordsLink < 3) {
892 o.adWordsAccounts = buildUnnamed311(); 892 o.adWordsAccounts = buildUnnamed1100();
893 o.entity = buildEntityAdWordsLinkEntity(); 893 o.entity = buildEntityAdWordsLinkEntity();
894 o.id = "foo"; 894 o.id = "foo";
895 o.kind = "foo"; 895 o.kind = "foo";
896 o.name = "foo"; 896 o.name = "foo";
897 o.profileIds = buildUnnamed312(); 897 o.profileIds = buildUnnamed1101();
898 o.selfLink = "foo"; 898 o.selfLink = "foo";
899 } 899 }
900 buildCounterEntityAdWordsLink--; 900 buildCounterEntityAdWordsLink--;
901 return o; 901 return o;
902 } 902 }
903 903
904 checkEntityAdWordsLink(api.EntityAdWordsLink o) { 904 checkEntityAdWordsLink(api.EntityAdWordsLink o) {
905 buildCounterEntityAdWordsLink++; 905 buildCounterEntityAdWordsLink++;
906 if (buildCounterEntityAdWordsLink < 3) { 906 if (buildCounterEntityAdWordsLink < 3) {
907 checkUnnamed311(o.adWordsAccounts); 907 checkUnnamed1100(o.adWordsAccounts);
908 checkEntityAdWordsLinkEntity(o.entity); 908 checkEntityAdWordsLinkEntity(o.entity);
909 unittest.expect(o.id, unittest.equals('foo')); 909 unittest.expect(o.id, unittest.equals('foo'));
910 unittest.expect(o.kind, unittest.equals('foo')); 910 unittest.expect(o.kind, unittest.equals('foo'));
911 unittest.expect(o.name, unittest.equals('foo')); 911 unittest.expect(o.name, unittest.equals('foo'));
912 checkUnnamed312(o.profileIds); 912 checkUnnamed1101(o.profileIds);
913 unittest.expect(o.selfLink, unittest.equals('foo')); 913 unittest.expect(o.selfLink, unittest.equals('foo'));
914 } 914 }
915 buildCounterEntityAdWordsLink--; 915 buildCounterEntityAdWordsLink--;
916 } 916 }
917 917
918 buildUnnamed313() { 918 buildUnnamed1102() {
919 var o = new core.List<api.EntityAdWordsLink>(); 919 var o = new core.List<api.EntityAdWordsLink>();
920 o.add(buildEntityAdWordsLink()); 920 o.add(buildEntityAdWordsLink());
921 o.add(buildEntityAdWordsLink()); 921 o.add(buildEntityAdWordsLink());
922 return o; 922 return o;
923 } 923 }
924 924
925 checkUnnamed313(core.List<api.EntityAdWordsLink> o) { 925 checkUnnamed1102(core.List<api.EntityAdWordsLink> o) {
926 unittest.expect(o, unittest.hasLength(2)); 926 unittest.expect(o, unittest.hasLength(2));
927 checkEntityAdWordsLink(o[0]); 927 checkEntityAdWordsLink(o[0]);
928 checkEntityAdWordsLink(o[1]); 928 checkEntityAdWordsLink(o[1]);
929 } 929 }
930 930
931 core.int buildCounterEntityAdWordsLinks = 0; 931 core.int buildCounterEntityAdWordsLinks = 0;
932 buildEntityAdWordsLinks() { 932 buildEntityAdWordsLinks() {
933 var o = new api.EntityAdWordsLinks(); 933 var o = new api.EntityAdWordsLinks();
934 buildCounterEntityAdWordsLinks++; 934 buildCounterEntityAdWordsLinks++;
935 if (buildCounterEntityAdWordsLinks < 3) { 935 if (buildCounterEntityAdWordsLinks < 3) {
936 o.items = buildUnnamed313(); 936 o.items = buildUnnamed1102();
937 o.itemsPerPage = 42; 937 o.itemsPerPage = 42;
938 o.kind = "foo"; 938 o.kind = "foo";
939 o.nextLink = "foo"; 939 o.nextLink = "foo";
940 o.previousLink = "foo"; 940 o.previousLink = "foo";
941 o.startIndex = 42; 941 o.startIndex = 42;
942 o.totalResults = 42; 942 o.totalResults = 42;
943 } 943 }
944 buildCounterEntityAdWordsLinks--; 944 buildCounterEntityAdWordsLinks--;
945 return o; 945 return o;
946 } 946 }
947 947
948 checkEntityAdWordsLinks(api.EntityAdWordsLinks o) { 948 checkEntityAdWordsLinks(api.EntityAdWordsLinks o) {
949 buildCounterEntityAdWordsLinks++; 949 buildCounterEntityAdWordsLinks++;
950 if (buildCounterEntityAdWordsLinks < 3) { 950 if (buildCounterEntityAdWordsLinks < 3) {
951 checkUnnamed313(o.items); 951 checkUnnamed1102(o.items);
952 unittest.expect(o.itemsPerPage, unittest.equals(42)); 952 unittest.expect(o.itemsPerPage, unittest.equals(42));
953 unittest.expect(o.kind, unittest.equals('foo')); 953 unittest.expect(o.kind, unittest.equals('foo'));
954 unittest.expect(o.nextLink, unittest.equals('foo')); 954 unittest.expect(o.nextLink, unittest.equals('foo'));
955 unittest.expect(o.previousLink, unittest.equals('foo')); 955 unittest.expect(o.previousLink, unittest.equals('foo'));
956 unittest.expect(o.startIndex, unittest.equals(42)); 956 unittest.expect(o.startIndex, unittest.equals(42));
957 unittest.expect(o.totalResults, unittest.equals(42)); 957 unittest.expect(o.totalResults, unittest.equals(42));
958 } 958 }
959 buildCounterEntityAdWordsLinks--; 959 buildCounterEntityAdWordsLinks--;
960 } 960 }
961 961
(...skipping 13 matching lines...) Expand all
975 checkEntityUserLinkEntity(api.EntityUserLinkEntity o) { 975 checkEntityUserLinkEntity(api.EntityUserLinkEntity o) {
976 buildCounterEntityUserLinkEntity++; 976 buildCounterEntityUserLinkEntity++;
977 if (buildCounterEntityUserLinkEntity < 3) { 977 if (buildCounterEntityUserLinkEntity < 3) {
978 checkAccountRef(o.accountRef); 978 checkAccountRef(o.accountRef);
979 checkProfileRef(o.profileRef); 979 checkProfileRef(o.profileRef);
980 checkWebPropertyRef(o.webPropertyRef); 980 checkWebPropertyRef(o.webPropertyRef);
981 } 981 }
982 buildCounterEntityUserLinkEntity--; 982 buildCounterEntityUserLinkEntity--;
983 } 983 }
984 984
985 buildUnnamed314() { 985 buildUnnamed1103() {
986 var o = new core.List<core.String>(); 986 var o = new core.List<core.String>();
987 o.add("foo"); 987 o.add("foo");
988 o.add("foo"); 988 o.add("foo");
989 return o; 989 return o;
990 } 990 }
991 991
992 checkUnnamed314(core.List<core.String> o) { 992 checkUnnamed1103(core.List<core.String> o) {
993 unittest.expect(o, unittest.hasLength(2)); 993 unittest.expect(o, unittest.hasLength(2));
994 unittest.expect(o[0], unittest.equals('foo')); 994 unittest.expect(o[0], unittest.equals('foo'));
995 unittest.expect(o[1], unittest.equals('foo')); 995 unittest.expect(o[1], unittest.equals('foo'));
996 } 996 }
997 997
998 buildUnnamed315() { 998 buildUnnamed1104() {
999 var o = new core.List<core.String>(); 999 var o = new core.List<core.String>();
1000 o.add("foo"); 1000 o.add("foo");
1001 o.add("foo"); 1001 o.add("foo");
1002 return o; 1002 return o;
1003 } 1003 }
1004 1004
1005 checkUnnamed315(core.List<core.String> o) { 1005 checkUnnamed1104(core.List<core.String> o) {
1006 unittest.expect(o, unittest.hasLength(2)); 1006 unittest.expect(o, unittest.hasLength(2));
1007 unittest.expect(o[0], unittest.equals('foo')); 1007 unittest.expect(o[0], unittest.equals('foo'));
1008 unittest.expect(o[1], unittest.equals('foo')); 1008 unittest.expect(o[1], unittest.equals('foo'));
1009 } 1009 }
1010 1010
1011 core.int buildCounterEntityUserLinkPermissions = 0; 1011 core.int buildCounterEntityUserLinkPermissions = 0;
1012 buildEntityUserLinkPermissions() { 1012 buildEntityUserLinkPermissions() {
1013 var o = new api.EntityUserLinkPermissions(); 1013 var o = new api.EntityUserLinkPermissions();
1014 buildCounterEntityUserLinkPermissions++; 1014 buildCounterEntityUserLinkPermissions++;
1015 if (buildCounterEntityUserLinkPermissions < 3) { 1015 if (buildCounterEntityUserLinkPermissions < 3) {
1016 o.effective = buildUnnamed314(); 1016 o.effective = buildUnnamed1103();
1017 o.local = buildUnnamed315(); 1017 o.local = buildUnnamed1104();
1018 } 1018 }
1019 buildCounterEntityUserLinkPermissions--; 1019 buildCounterEntityUserLinkPermissions--;
1020 return o; 1020 return o;
1021 } 1021 }
1022 1022
1023 checkEntityUserLinkPermissions(api.EntityUserLinkPermissions o) { 1023 checkEntityUserLinkPermissions(api.EntityUserLinkPermissions o) {
1024 buildCounterEntityUserLinkPermissions++; 1024 buildCounterEntityUserLinkPermissions++;
1025 if (buildCounterEntityUserLinkPermissions < 3) { 1025 if (buildCounterEntityUserLinkPermissions < 3) {
1026 checkUnnamed314(o.effective); 1026 checkUnnamed1103(o.effective);
1027 checkUnnamed315(o.local); 1027 checkUnnamed1104(o.local);
1028 } 1028 }
1029 buildCounterEntityUserLinkPermissions--; 1029 buildCounterEntityUserLinkPermissions--;
1030 } 1030 }
1031 1031
1032 core.int buildCounterEntityUserLink = 0; 1032 core.int buildCounterEntityUserLink = 0;
1033 buildEntityUserLink() { 1033 buildEntityUserLink() {
1034 var o = new api.EntityUserLink(); 1034 var o = new api.EntityUserLink();
1035 buildCounterEntityUserLink++; 1035 buildCounterEntityUserLink++;
1036 if (buildCounterEntityUserLink < 3) { 1036 if (buildCounterEntityUserLink < 3) {
1037 o.entity = buildEntityUserLinkEntity(); 1037 o.entity = buildEntityUserLinkEntity();
(...skipping 13 matching lines...) Expand all
1051 checkEntityUserLinkEntity(o.entity); 1051 checkEntityUserLinkEntity(o.entity);
1052 unittest.expect(o.id, unittest.equals('foo')); 1052 unittest.expect(o.id, unittest.equals('foo'));
1053 unittest.expect(o.kind, unittest.equals('foo')); 1053 unittest.expect(o.kind, unittest.equals('foo'));
1054 checkEntityUserLinkPermissions(o.permissions); 1054 checkEntityUserLinkPermissions(o.permissions);
1055 unittest.expect(o.selfLink, unittest.equals('foo')); 1055 unittest.expect(o.selfLink, unittest.equals('foo'));
1056 checkUserRef(o.userRef); 1056 checkUserRef(o.userRef);
1057 } 1057 }
1058 buildCounterEntityUserLink--; 1058 buildCounterEntityUserLink--;
1059 } 1059 }
1060 1060
1061 buildUnnamed316() { 1061 buildUnnamed1105() {
1062 var o = new core.List<api.EntityUserLink>(); 1062 var o = new core.List<api.EntityUserLink>();
1063 o.add(buildEntityUserLink()); 1063 o.add(buildEntityUserLink());
1064 o.add(buildEntityUserLink()); 1064 o.add(buildEntityUserLink());
1065 return o; 1065 return o;
1066 } 1066 }
1067 1067
1068 checkUnnamed316(core.List<api.EntityUserLink> o) { 1068 checkUnnamed1105(core.List<api.EntityUserLink> o) {
1069 unittest.expect(o, unittest.hasLength(2)); 1069 unittest.expect(o, unittest.hasLength(2));
1070 checkEntityUserLink(o[0]); 1070 checkEntityUserLink(o[0]);
1071 checkEntityUserLink(o[1]); 1071 checkEntityUserLink(o[1]);
1072 } 1072 }
1073 1073
1074 core.int buildCounterEntityUserLinks = 0; 1074 core.int buildCounterEntityUserLinks = 0;
1075 buildEntityUserLinks() { 1075 buildEntityUserLinks() {
1076 var o = new api.EntityUserLinks(); 1076 var o = new api.EntityUserLinks();
1077 buildCounterEntityUserLinks++; 1077 buildCounterEntityUserLinks++;
1078 if (buildCounterEntityUserLinks < 3) { 1078 if (buildCounterEntityUserLinks < 3) {
1079 o.items = buildUnnamed316(); 1079 o.items = buildUnnamed1105();
1080 o.itemsPerPage = 42; 1080 o.itemsPerPage = 42;
1081 o.kind = "foo"; 1081 o.kind = "foo";
1082 o.nextLink = "foo"; 1082 o.nextLink = "foo";
1083 o.previousLink = "foo"; 1083 o.previousLink = "foo";
1084 o.startIndex = 42; 1084 o.startIndex = 42;
1085 o.totalResults = 42; 1085 o.totalResults = 42;
1086 } 1086 }
1087 buildCounterEntityUserLinks--; 1087 buildCounterEntityUserLinks--;
1088 return o; 1088 return o;
1089 } 1089 }
1090 1090
1091 checkEntityUserLinks(api.EntityUserLinks o) { 1091 checkEntityUserLinks(api.EntityUserLinks o) {
1092 buildCounterEntityUserLinks++; 1092 buildCounterEntityUserLinks++;
1093 if (buildCounterEntityUserLinks < 3) { 1093 if (buildCounterEntityUserLinks < 3) {
1094 checkUnnamed316(o.items); 1094 checkUnnamed1105(o.items);
1095 unittest.expect(o.itemsPerPage, unittest.equals(42)); 1095 unittest.expect(o.itemsPerPage, unittest.equals(42));
1096 unittest.expect(o.kind, unittest.equals('foo')); 1096 unittest.expect(o.kind, unittest.equals('foo'));
1097 unittest.expect(o.nextLink, unittest.equals('foo')); 1097 unittest.expect(o.nextLink, unittest.equals('foo'));
1098 unittest.expect(o.previousLink, unittest.equals('foo')); 1098 unittest.expect(o.previousLink, unittest.equals('foo'));
1099 unittest.expect(o.startIndex, unittest.equals(42)); 1099 unittest.expect(o.startIndex, unittest.equals(42));
1100 unittest.expect(o.totalResults, unittest.equals(42)); 1100 unittest.expect(o.totalResults, unittest.equals(42));
1101 } 1101 }
1102 buildCounterEntityUserLinks--; 1102 buildCounterEntityUserLinks--;
1103 } 1103 }
1104 1104
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
1143 if (buildCounterExperimentVariations < 3) { 1143 if (buildCounterExperimentVariations < 3) {
1144 unittest.expect(o.name, unittest.equals('foo')); 1144 unittest.expect(o.name, unittest.equals('foo'));
1145 unittest.expect(o.status, unittest.equals('foo')); 1145 unittest.expect(o.status, unittest.equals('foo'));
1146 unittest.expect(o.url, unittest.equals('foo')); 1146 unittest.expect(o.url, unittest.equals('foo'));
1147 unittest.expect(o.weight, unittest.equals(42.0)); 1147 unittest.expect(o.weight, unittest.equals(42.0));
1148 unittest.expect(o.won, unittest.isTrue); 1148 unittest.expect(o.won, unittest.isTrue);
1149 } 1149 }
1150 buildCounterExperimentVariations--; 1150 buildCounterExperimentVariations--;
1151 } 1151 }
1152 1152
1153 buildUnnamed317() { 1153 buildUnnamed1106() {
1154 var o = new core.List<api.ExperimentVariations>(); 1154 var o = new core.List<api.ExperimentVariations>();
1155 o.add(buildExperimentVariations()); 1155 o.add(buildExperimentVariations());
1156 o.add(buildExperimentVariations()); 1156 o.add(buildExperimentVariations());
1157 return o; 1157 return o;
1158 } 1158 }
1159 1159
1160 checkUnnamed317(core.List<api.ExperimentVariations> o) { 1160 checkUnnamed1106(core.List<api.ExperimentVariations> o) {
1161 unittest.expect(o, unittest.hasLength(2)); 1161 unittest.expect(o, unittest.hasLength(2));
1162 checkExperimentVariations(o[0]); 1162 checkExperimentVariations(o[0]);
1163 checkExperimentVariations(o[1]); 1163 checkExperimentVariations(o[1]);
1164 } 1164 }
1165 1165
1166 core.int buildCounterExperiment = 0; 1166 core.int buildCounterExperiment = 0;
1167 buildExperiment() { 1167 buildExperiment() {
1168 var o = new api.Experiment(); 1168 var o = new api.Experiment();
1169 buildCounterExperiment++; 1169 buildCounterExperiment++;
1170 if (buildCounterExperiment < 3) { 1170 if (buildCounterExperiment < 3) {
(...skipping 14 matching lines...) Expand all
1185 o.profileId = "foo"; 1185 o.profileId = "foo";
1186 o.reasonExperimentEnded = "foo"; 1186 o.reasonExperimentEnded = "foo";
1187 o.rewriteVariationUrlsAsOriginal = true; 1187 o.rewriteVariationUrlsAsOriginal = true;
1188 o.selfLink = "foo"; 1188 o.selfLink = "foo";
1189 o.servingFramework = "foo"; 1189 o.servingFramework = "foo";
1190 o.snippet = "foo"; 1190 o.snippet = "foo";
1191 o.startTime = core.DateTime.parse("2002-02-27T14:01:02"); 1191 o.startTime = core.DateTime.parse("2002-02-27T14:01:02");
1192 o.status = "foo"; 1192 o.status = "foo";
1193 o.trafficCoverage = 42.0; 1193 o.trafficCoverage = 42.0;
1194 o.updated = core.DateTime.parse("2002-02-27T14:01:02"); 1194 o.updated = core.DateTime.parse("2002-02-27T14:01:02");
1195 o.variations = buildUnnamed317(); 1195 o.variations = buildUnnamed1106();
1196 o.webPropertyId = "foo"; 1196 o.webPropertyId = "foo";
1197 o.winnerConfidenceLevel = 42.0; 1197 o.winnerConfidenceLevel = 42.0;
1198 o.winnerFound = true; 1198 o.winnerFound = true;
1199 } 1199 }
1200 buildCounterExperiment--; 1200 buildCounterExperiment--;
1201 return o; 1201 return o;
1202 } 1202 }
1203 1203
1204 checkExperiment(api.Experiment o) { 1204 checkExperiment(api.Experiment o) {
1205 buildCounterExperiment++; 1205 buildCounterExperiment++;
(...skipping 15 matching lines...) Expand all
1221 unittest.expect(o.profileId, unittest.equals('foo')); 1221 unittest.expect(o.profileId, unittest.equals('foo'));
1222 unittest.expect(o.reasonExperimentEnded, unittest.equals('foo')); 1222 unittest.expect(o.reasonExperimentEnded, unittest.equals('foo'));
1223 unittest.expect(o.rewriteVariationUrlsAsOriginal, unittest.isTrue); 1223 unittest.expect(o.rewriteVariationUrlsAsOriginal, unittest.isTrue);
1224 unittest.expect(o.selfLink, unittest.equals('foo')); 1224 unittest.expect(o.selfLink, unittest.equals('foo'));
1225 unittest.expect(o.servingFramework, unittest.equals('foo')); 1225 unittest.expect(o.servingFramework, unittest.equals('foo'));
1226 unittest.expect(o.snippet, unittest.equals('foo')); 1226 unittest.expect(o.snippet, unittest.equals('foo'));
1227 unittest.expect(o.startTime, unittest.equals(core.DateTime.parse("2002-02-27 T14:01:02"))); 1227 unittest.expect(o.startTime, unittest.equals(core.DateTime.parse("2002-02-27 T14:01:02")));
1228 unittest.expect(o.status, unittest.equals('foo')); 1228 unittest.expect(o.status, unittest.equals('foo'));
1229 unittest.expect(o.trafficCoverage, unittest.equals(42.0)); 1229 unittest.expect(o.trafficCoverage, unittest.equals(42.0));
1230 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1 4:01:02"))); 1230 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1 4:01:02")));
1231 checkUnnamed317(o.variations); 1231 checkUnnamed1106(o.variations);
1232 unittest.expect(o.webPropertyId, unittest.equals('foo')); 1232 unittest.expect(o.webPropertyId, unittest.equals('foo'));
1233 unittest.expect(o.winnerConfidenceLevel, unittest.equals(42.0)); 1233 unittest.expect(o.winnerConfidenceLevel, unittest.equals(42.0));
1234 unittest.expect(o.winnerFound, unittest.isTrue); 1234 unittest.expect(o.winnerFound, unittest.isTrue);
1235 } 1235 }
1236 buildCounterExperiment--; 1236 buildCounterExperiment--;
1237 } 1237 }
1238 1238
1239 buildUnnamed318() { 1239 buildUnnamed1107() {
1240 var o = new core.List<api.Experiment>(); 1240 var o = new core.List<api.Experiment>();
1241 o.add(buildExperiment()); 1241 o.add(buildExperiment());
1242 o.add(buildExperiment()); 1242 o.add(buildExperiment());
1243 return o; 1243 return o;
1244 } 1244 }
1245 1245
1246 checkUnnamed318(core.List<api.Experiment> o) { 1246 checkUnnamed1107(core.List<api.Experiment> o) {
1247 unittest.expect(o, unittest.hasLength(2)); 1247 unittest.expect(o, unittest.hasLength(2));
1248 checkExperiment(o[0]); 1248 checkExperiment(o[0]);
1249 checkExperiment(o[1]); 1249 checkExperiment(o[1]);
1250 } 1250 }
1251 1251
1252 core.int buildCounterExperiments = 0; 1252 core.int buildCounterExperiments = 0;
1253 buildExperiments() { 1253 buildExperiments() {
1254 var o = new api.Experiments(); 1254 var o = new api.Experiments();
1255 buildCounterExperiments++; 1255 buildCounterExperiments++;
1256 if (buildCounterExperiments < 3) { 1256 if (buildCounterExperiments < 3) {
1257 o.items = buildUnnamed318(); 1257 o.items = buildUnnamed1107();
1258 o.itemsPerPage = 42; 1258 o.itemsPerPage = 42;
1259 o.kind = "foo"; 1259 o.kind = "foo";
1260 o.nextLink = "foo"; 1260 o.nextLink = "foo";
1261 o.previousLink = "foo"; 1261 o.previousLink = "foo";
1262 o.startIndex = 42; 1262 o.startIndex = 42;
1263 o.totalResults = 42; 1263 o.totalResults = 42;
1264 o.username = "foo"; 1264 o.username = "foo";
1265 } 1265 }
1266 buildCounterExperiments--; 1266 buildCounterExperiments--;
1267 return o; 1267 return o;
1268 } 1268 }
1269 1269
1270 checkExperiments(api.Experiments o) { 1270 checkExperiments(api.Experiments o) {
1271 buildCounterExperiments++; 1271 buildCounterExperiments++;
1272 if (buildCounterExperiments < 3) { 1272 if (buildCounterExperiments < 3) {
1273 checkUnnamed318(o.items); 1273 checkUnnamed1107(o.items);
1274 unittest.expect(o.itemsPerPage, unittest.equals(42)); 1274 unittest.expect(o.itemsPerPage, unittest.equals(42));
1275 unittest.expect(o.kind, unittest.equals('foo')); 1275 unittest.expect(o.kind, unittest.equals('foo'));
1276 unittest.expect(o.nextLink, unittest.equals('foo')); 1276 unittest.expect(o.nextLink, unittest.equals('foo'));
1277 unittest.expect(o.previousLink, unittest.equals('foo')); 1277 unittest.expect(o.previousLink, unittest.equals('foo'));
1278 unittest.expect(o.startIndex, unittest.equals(42)); 1278 unittest.expect(o.startIndex, unittest.equals(42));
1279 unittest.expect(o.totalResults, unittest.equals(42)); 1279 unittest.expect(o.totalResults, unittest.equals(42));
1280 unittest.expect(o.username, unittest.equals('foo')); 1280 unittest.expect(o.username, unittest.equals('foo'));
1281 } 1281 }
1282 buildCounterExperiments--; 1282 buildCounterExperiments--;
1283 } 1283 }
(...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after
1511 if (buildCounterFilterRef < 3) { 1511 if (buildCounterFilterRef < 3) {
1512 unittest.expect(o.accountId, unittest.equals('foo')); 1512 unittest.expect(o.accountId, unittest.equals('foo'));
1513 unittest.expect(o.href, unittest.equals('foo')); 1513 unittest.expect(o.href, unittest.equals('foo'));
1514 unittest.expect(o.id, unittest.equals('foo')); 1514 unittest.expect(o.id, unittest.equals('foo'));
1515 unittest.expect(o.kind, unittest.equals('foo')); 1515 unittest.expect(o.kind, unittest.equals('foo'));
1516 unittest.expect(o.name, unittest.equals('foo')); 1516 unittest.expect(o.name, unittest.equals('foo'));
1517 } 1517 }
1518 buildCounterFilterRef--; 1518 buildCounterFilterRef--;
1519 } 1519 }
1520 1520
1521 buildUnnamed319() { 1521 buildUnnamed1108() {
1522 var o = new core.List<api.Filter>(); 1522 var o = new core.List<api.Filter>();
1523 o.add(buildFilter()); 1523 o.add(buildFilter());
1524 o.add(buildFilter()); 1524 o.add(buildFilter());
1525 return o; 1525 return o;
1526 } 1526 }
1527 1527
1528 checkUnnamed319(core.List<api.Filter> o) { 1528 checkUnnamed1108(core.List<api.Filter> o) {
1529 unittest.expect(o, unittest.hasLength(2)); 1529 unittest.expect(o, unittest.hasLength(2));
1530 checkFilter(o[0]); 1530 checkFilter(o[0]);
1531 checkFilter(o[1]); 1531 checkFilter(o[1]);
1532 } 1532 }
1533 1533
1534 core.int buildCounterFilters = 0; 1534 core.int buildCounterFilters = 0;
1535 buildFilters() { 1535 buildFilters() {
1536 var o = new api.Filters(); 1536 var o = new api.Filters();
1537 buildCounterFilters++; 1537 buildCounterFilters++;
1538 if (buildCounterFilters < 3) { 1538 if (buildCounterFilters < 3) {
1539 o.items = buildUnnamed319(); 1539 o.items = buildUnnamed1108();
1540 o.itemsPerPage = 42; 1540 o.itemsPerPage = 42;
1541 o.kind = "foo"; 1541 o.kind = "foo";
1542 o.nextLink = "foo"; 1542 o.nextLink = "foo";
1543 o.previousLink = "foo"; 1543 o.previousLink = "foo";
1544 o.startIndex = 42; 1544 o.startIndex = 42;
1545 o.totalResults = 42; 1545 o.totalResults = 42;
1546 o.username = "foo"; 1546 o.username = "foo";
1547 } 1547 }
1548 buildCounterFilters--; 1548 buildCounterFilters--;
1549 return o; 1549 return o;
1550 } 1550 }
1551 1551
1552 checkFilters(api.Filters o) { 1552 checkFilters(api.Filters o) {
1553 buildCounterFilters++; 1553 buildCounterFilters++;
1554 if (buildCounterFilters < 3) { 1554 if (buildCounterFilters < 3) {
1555 checkUnnamed319(o.items); 1555 checkUnnamed1108(o.items);
1556 unittest.expect(o.itemsPerPage, unittest.equals(42)); 1556 unittest.expect(o.itemsPerPage, unittest.equals(42));
1557 unittest.expect(o.kind, unittest.equals('foo')); 1557 unittest.expect(o.kind, unittest.equals('foo'));
1558 unittest.expect(o.nextLink, unittest.equals('foo')); 1558 unittest.expect(o.nextLink, unittest.equals('foo'));
1559 unittest.expect(o.previousLink, unittest.equals('foo')); 1559 unittest.expect(o.previousLink, unittest.equals('foo'));
1560 unittest.expect(o.startIndex, unittest.equals(42)); 1560 unittest.expect(o.startIndex, unittest.equals(42));
1561 unittest.expect(o.totalResults, unittest.equals(42)); 1561 unittest.expect(o.totalResults, unittest.equals(42));
1562 unittest.expect(o.username, unittest.equals('foo')); 1562 unittest.expect(o.username, unittest.equals('foo'));
1563 } 1563 }
1564 buildCounterFilters--; 1564 buildCounterFilters--;
1565 } 1565 }
(...skipping 14 matching lines...) Expand all
1580 checkGaDataColumnHeaders(api.GaDataColumnHeaders o) { 1580 checkGaDataColumnHeaders(api.GaDataColumnHeaders o) {
1581 buildCounterGaDataColumnHeaders++; 1581 buildCounterGaDataColumnHeaders++;
1582 if (buildCounterGaDataColumnHeaders < 3) { 1582 if (buildCounterGaDataColumnHeaders < 3) {
1583 unittest.expect(o.columnType, unittest.equals('foo')); 1583 unittest.expect(o.columnType, unittest.equals('foo'));
1584 unittest.expect(o.dataType, unittest.equals('foo')); 1584 unittest.expect(o.dataType, unittest.equals('foo'));
1585 unittest.expect(o.name, unittest.equals('foo')); 1585 unittest.expect(o.name, unittest.equals('foo'));
1586 } 1586 }
1587 buildCounterGaDataColumnHeaders--; 1587 buildCounterGaDataColumnHeaders--;
1588 } 1588 }
1589 1589
1590 buildUnnamed320() { 1590 buildUnnamed1109() {
1591 var o = new core.List<api.GaDataColumnHeaders>(); 1591 var o = new core.List<api.GaDataColumnHeaders>();
1592 o.add(buildGaDataColumnHeaders()); 1592 o.add(buildGaDataColumnHeaders());
1593 o.add(buildGaDataColumnHeaders()); 1593 o.add(buildGaDataColumnHeaders());
1594 return o; 1594 return o;
1595 } 1595 }
1596 1596
1597 checkUnnamed320(core.List<api.GaDataColumnHeaders> o) { 1597 checkUnnamed1109(core.List<api.GaDataColumnHeaders> o) {
1598 unittest.expect(o, unittest.hasLength(2)); 1598 unittest.expect(o, unittest.hasLength(2));
1599 checkGaDataColumnHeaders(o[0]); 1599 checkGaDataColumnHeaders(o[0]);
1600 checkGaDataColumnHeaders(o[1]); 1600 checkGaDataColumnHeaders(o[1]);
1601 } 1601 }
1602 1602
1603 core.int buildCounterGaDataDataTableCols = 0; 1603 core.int buildCounterGaDataDataTableCols = 0;
1604 buildGaDataDataTableCols() { 1604 buildGaDataDataTableCols() {
1605 var o = new api.GaDataDataTableCols(); 1605 var o = new api.GaDataDataTableCols();
1606 buildCounterGaDataDataTableCols++; 1606 buildCounterGaDataDataTableCols++;
1607 if (buildCounterGaDataDataTableCols < 3) { 1607 if (buildCounterGaDataDataTableCols < 3) {
1608 o.id = "foo"; 1608 o.id = "foo";
1609 o.label = "foo"; 1609 o.label = "foo";
1610 o.type = "foo"; 1610 o.type = "foo";
1611 } 1611 }
1612 buildCounterGaDataDataTableCols--; 1612 buildCounterGaDataDataTableCols--;
1613 return o; 1613 return o;
1614 } 1614 }
1615 1615
1616 checkGaDataDataTableCols(api.GaDataDataTableCols o) { 1616 checkGaDataDataTableCols(api.GaDataDataTableCols o) {
1617 buildCounterGaDataDataTableCols++; 1617 buildCounterGaDataDataTableCols++;
1618 if (buildCounterGaDataDataTableCols < 3) { 1618 if (buildCounterGaDataDataTableCols < 3) {
1619 unittest.expect(o.id, unittest.equals('foo')); 1619 unittest.expect(o.id, unittest.equals('foo'));
1620 unittest.expect(o.label, unittest.equals('foo')); 1620 unittest.expect(o.label, unittest.equals('foo'));
1621 unittest.expect(o.type, unittest.equals('foo')); 1621 unittest.expect(o.type, unittest.equals('foo'));
1622 } 1622 }
1623 buildCounterGaDataDataTableCols--; 1623 buildCounterGaDataDataTableCols--;
1624 } 1624 }
1625 1625
1626 buildUnnamed321() { 1626 buildUnnamed1110() {
1627 var o = new core.List<api.GaDataDataTableCols>(); 1627 var o = new core.List<api.GaDataDataTableCols>();
1628 o.add(buildGaDataDataTableCols()); 1628 o.add(buildGaDataDataTableCols());
1629 o.add(buildGaDataDataTableCols()); 1629 o.add(buildGaDataDataTableCols());
1630 return o; 1630 return o;
1631 } 1631 }
1632 1632
1633 checkUnnamed321(core.List<api.GaDataDataTableCols> o) { 1633 checkUnnamed1110(core.List<api.GaDataDataTableCols> o) {
1634 unittest.expect(o, unittest.hasLength(2)); 1634 unittest.expect(o, unittest.hasLength(2));
1635 checkGaDataDataTableCols(o[0]); 1635 checkGaDataDataTableCols(o[0]);
1636 checkGaDataDataTableCols(o[1]); 1636 checkGaDataDataTableCols(o[1]);
1637 } 1637 }
1638 1638
1639 core.int buildCounterGaDataDataTableRowsC = 0; 1639 core.int buildCounterGaDataDataTableRowsC = 0;
1640 buildGaDataDataTableRowsC() { 1640 buildGaDataDataTableRowsC() {
1641 var o = new api.GaDataDataTableRowsC(); 1641 var o = new api.GaDataDataTableRowsC();
1642 buildCounterGaDataDataTableRowsC++; 1642 buildCounterGaDataDataTableRowsC++;
1643 if (buildCounterGaDataDataTableRowsC < 3) { 1643 if (buildCounterGaDataDataTableRowsC < 3) {
1644 o.v = "foo"; 1644 o.v = "foo";
1645 } 1645 }
1646 buildCounterGaDataDataTableRowsC--; 1646 buildCounterGaDataDataTableRowsC--;
1647 return o; 1647 return o;
1648 } 1648 }
1649 1649
1650 checkGaDataDataTableRowsC(api.GaDataDataTableRowsC o) { 1650 checkGaDataDataTableRowsC(api.GaDataDataTableRowsC o) {
1651 buildCounterGaDataDataTableRowsC++; 1651 buildCounterGaDataDataTableRowsC++;
1652 if (buildCounterGaDataDataTableRowsC < 3) { 1652 if (buildCounterGaDataDataTableRowsC < 3) {
1653 unittest.expect(o.v, unittest.equals('foo')); 1653 unittest.expect(o.v, unittest.equals('foo'));
1654 } 1654 }
1655 buildCounterGaDataDataTableRowsC--; 1655 buildCounterGaDataDataTableRowsC--;
1656 } 1656 }
1657 1657
1658 buildUnnamed322() { 1658 buildUnnamed1111() {
1659 var o = new core.List<api.GaDataDataTableRowsC>(); 1659 var o = new core.List<api.GaDataDataTableRowsC>();
1660 o.add(buildGaDataDataTableRowsC()); 1660 o.add(buildGaDataDataTableRowsC());
1661 o.add(buildGaDataDataTableRowsC()); 1661 o.add(buildGaDataDataTableRowsC());
1662 return o; 1662 return o;
1663 } 1663 }
1664 1664
1665 checkUnnamed322(core.List<api.GaDataDataTableRowsC> o) { 1665 checkUnnamed1111(core.List<api.GaDataDataTableRowsC> o) {
1666 unittest.expect(o, unittest.hasLength(2)); 1666 unittest.expect(o, unittest.hasLength(2));
1667 checkGaDataDataTableRowsC(o[0]); 1667 checkGaDataDataTableRowsC(o[0]);
1668 checkGaDataDataTableRowsC(o[1]); 1668 checkGaDataDataTableRowsC(o[1]);
1669 } 1669 }
1670 1670
1671 core.int buildCounterGaDataDataTableRows = 0; 1671 core.int buildCounterGaDataDataTableRows = 0;
1672 buildGaDataDataTableRows() { 1672 buildGaDataDataTableRows() {
1673 var o = new api.GaDataDataTableRows(); 1673 var o = new api.GaDataDataTableRows();
1674 buildCounterGaDataDataTableRows++; 1674 buildCounterGaDataDataTableRows++;
1675 if (buildCounterGaDataDataTableRows < 3) { 1675 if (buildCounterGaDataDataTableRows < 3) {
1676 o.c = buildUnnamed322(); 1676 o.c = buildUnnamed1111();
1677 } 1677 }
1678 buildCounterGaDataDataTableRows--; 1678 buildCounterGaDataDataTableRows--;
1679 return o; 1679 return o;
1680 } 1680 }
1681 1681
1682 checkGaDataDataTableRows(api.GaDataDataTableRows o) { 1682 checkGaDataDataTableRows(api.GaDataDataTableRows o) {
1683 buildCounterGaDataDataTableRows++; 1683 buildCounterGaDataDataTableRows++;
1684 if (buildCounterGaDataDataTableRows < 3) { 1684 if (buildCounterGaDataDataTableRows < 3) {
1685 checkUnnamed322(o.c); 1685 checkUnnamed1111(o.c);
1686 } 1686 }
1687 buildCounterGaDataDataTableRows--; 1687 buildCounterGaDataDataTableRows--;
1688 } 1688 }
1689 1689
1690 buildUnnamed323() { 1690 buildUnnamed1112() {
1691 var o = new core.List<api.GaDataDataTableRows>(); 1691 var o = new core.List<api.GaDataDataTableRows>();
1692 o.add(buildGaDataDataTableRows()); 1692 o.add(buildGaDataDataTableRows());
1693 o.add(buildGaDataDataTableRows()); 1693 o.add(buildGaDataDataTableRows());
1694 return o; 1694 return o;
1695 } 1695 }
1696 1696
1697 checkUnnamed323(core.List<api.GaDataDataTableRows> o) { 1697 checkUnnamed1112(core.List<api.GaDataDataTableRows> o) {
1698 unittest.expect(o, unittest.hasLength(2)); 1698 unittest.expect(o, unittest.hasLength(2));
1699 checkGaDataDataTableRows(o[0]); 1699 checkGaDataDataTableRows(o[0]);
1700 checkGaDataDataTableRows(o[1]); 1700 checkGaDataDataTableRows(o[1]);
1701 } 1701 }
1702 1702
1703 core.int buildCounterGaDataDataTable = 0; 1703 core.int buildCounterGaDataDataTable = 0;
1704 buildGaDataDataTable() { 1704 buildGaDataDataTable() {
1705 var o = new api.GaDataDataTable(); 1705 var o = new api.GaDataDataTable();
1706 buildCounterGaDataDataTable++; 1706 buildCounterGaDataDataTable++;
1707 if (buildCounterGaDataDataTable < 3) { 1707 if (buildCounterGaDataDataTable < 3) {
1708 o.cols = buildUnnamed321(); 1708 o.cols = buildUnnamed1110();
1709 o.rows = buildUnnamed323(); 1709 o.rows = buildUnnamed1112();
1710 } 1710 }
1711 buildCounterGaDataDataTable--; 1711 buildCounterGaDataDataTable--;
1712 return o; 1712 return o;
1713 } 1713 }
1714 1714
1715 checkGaDataDataTable(api.GaDataDataTable o) { 1715 checkGaDataDataTable(api.GaDataDataTable o) {
1716 buildCounterGaDataDataTable++; 1716 buildCounterGaDataDataTable++;
1717 if (buildCounterGaDataDataTable < 3) { 1717 if (buildCounterGaDataDataTable < 3) {
1718 checkUnnamed321(o.cols); 1718 checkUnnamed1110(o.cols);
1719 checkUnnamed323(o.rows); 1719 checkUnnamed1112(o.rows);
1720 } 1720 }
1721 buildCounterGaDataDataTable--; 1721 buildCounterGaDataDataTable--;
1722 } 1722 }
1723 1723
1724 core.int buildCounterGaDataProfileInfo = 0; 1724 core.int buildCounterGaDataProfileInfo = 0;
1725 buildGaDataProfileInfo() { 1725 buildGaDataProfileInfo() {
1726 var o = new api.GaDataProfileInfo(); 1726 var o = new api.GaDataProfileInfo();
1727 buildCounterGaDataProfileInfo++; 1727 buildCounterGaDataProfileInfo++;
1728 if (buildCounterGaDataProfileInfo < 3) { 1728 if (buildCounterGaDataProfileInfo < 3) {
1729 o.accountId = "foo"; 1729 o.accountId = "foo";
(...skipping 13 matching lines...) Expand all
1743 unittest.expect(o.accountId, unittest.equals('foo')); 1743 unittest.expect(o.accountId, unittest.equals('foo'));
1744 unittest.expect(o.internalWebPropertyId, unittest.equals('foo')); 1744 unittest.expect(o.internalWebPropertyId, unittest.equals('foo'));
1745 unittest.expect(o.profileId, unittest.equals('foo')); 1745 unittest.expect(o.profileId, unittest.equals('foo'));
1746 unittest.expect(o.profileName, unittest.equals('foo')); 1746 unittest.expect(o.profileName, unittest.equals('foo'));
1747 unittest.expect(o.tableId, unittest.equals('foo')); 1747 unittest.expect(o.tableId, unittest.equals('foo'));
1748 unittest.expect(o.webPropertyId, unittest.equals('foo')); 1748 unittest.expect(o.webPropertyId, unittest.equals('foo'));
1749 } 1749 }
1750 buildCounterGaDataProfileInfo--; 1750 buildCounterGaDataProfileInfo--;
1751 } 1751 }
1752 1752
1753 buildUnnamed324() { 1753 buildUnnamed1113() {
1754 var o = new core.List<core.String>(); 1754 var o = new core.List<core.String>();
1755 o.add("foo"); 1755 o.add("foo");
1756 o.add("foo"); 1756 o.add("foo");
1757 return o; 1757 return o;
1758 } 1758 }
1759 1759
1760 checkUnnamed324(core.List<core.String> o) { 1760 checkUnnamed1113(core.List<core.String> o) {
1761 unittest.expect(o, unittest.hasLength(2)); 1761 unittest.expect(o, unittest.hasLength(2));
1762 unittest.expect(o[0], unittest.equals('foo')); 1762 unittest.expect(o[0], unittest.equals('foo'));
1763 unittest.expect(o[1], unittest.equals('foo')); 1763 unittest.expect(o[1], unittest.equals('foo'));
1764 } 1764 }
1765 1765
1766 buildUnnamed325() { 1766 buildUnnamed1114() {
1767 var o = new core.List<core.String>(); 1767 var o = new core.List<core.String>();
1768 o.add("foo"); 1768 o.add("foo");
1769 o.add("foo"); 1769 o.add("foo");
1770 return o; 1770 return o;
1771 } 1771 }
1772 1772
1773 checkUnnamed325(core.List<core.String> o) { 1773 checkUnnamed1114(core.List<core.String> o) {
1774 unittest.expect(o, unittest.hasLength(2)); 1774 unittest.expect(o, unittest.hasLength(2));
1775 unittest.expect(o[0], unittest.equals('foo')); 1775 unittest.expect(o[0], unittest.equals('foo'));
1776 unittest.expect(o[1], unittest.equals('foo')); 1776 unittest.expect(o[1], unittest.equals('foo'));
1777 } 1777 }
1778 1778
1779 core.int buildCounterGaDataQuery = 0; 1779 core.int buildCounterGaDataQuery = 0;
1780 buildGaDataQuery() { 1780 buildGaDataQuery() {
1781 var o = new api.GaDataQuery(); 1781 var o = new api.GaDataQuery();
1782 buildCounterGaDataQuery++; 1782 buildCounterGaDataQuery++;
1783 if (buildCounterGaDataQuery < 3) { 1783 if (buildCounterGaDataQuery < 3) {
1784 o.dimensions = "foo"; 1784 o.dimensions = "foo";
1785 o.end_date = "foo"; 1785 o.end_date = "foo";
1786 o.filters = "foo"; 1786 o.filters = "foo";
1787 o.ids = "foo"; 1787 o.ids = "foo";
1788 o.max_results = 42; 1788 o.max_results = 42;
1789 o.metrics = buildUnnamed324(); 1789 o.metrics = buildUnnamed1113();
1790 o.samplingLevel = "foo"; 1790 o.samplingLevel = "foo";
1791 o.segment = "foo"; 1791 o.segment = "foo";
1792 o.sort = buildUnnamed325(); 1792 o.sort = buildUnnamed1114();
1793 o.start_date = "foo"; 1793 o.start_date = "foo";
1794 o.start_index = 42; 1794 o.start_index = 42;
1795 } 1795 }
1796 buildCounterGaDataQuery--; 1796 buildCounterGaDataQuery--;
1797 return o; 1797 return o;
1798 } 1798 }
1799 1799
1800 checkGaDataQuery(api.GaDataQuery o) { 1800 checkGaDataQuery(api.GaDataQuery o) {
1801 buildCounterGaDataQuery++; 1801 buildCounterGaDataQuery++;
1802 if (buildCounterGaDataQuery < 3) { 1802 if (buildCounterGaDataQuery < 3) {
1803 unittest.expect(o.dimensions, unittest.equals('foo')); 1803 unittest.expect(o.dimensions, unittest.equals('foo'));
1804 unittest.expect(o.end_date, unittest.equals('foo')); 1804 unittest.expect(o.end_date, unittest.equals('foo'));
1805 unittest.expect(o.filters, unittest.equals('foo')); 1805 unittest.expect(o.filters, unittest.equals('foo'));
1806 unittest.expect(o.ids, unittest.equals('foo')); 1806 unittest.expect(o.ids, unittest.equals('foo'));
1807 unittest.expect(o.max_results, unittest.equals(42)); 1807 unittest.expect(o.max_results, unittest.equals(42));
1808 checkUnnamed324(o.metrics); 1808 checkUnnamed1113(o.metrics);
1809 unittest.expect(o.samplingLevel, unittest.equals('foo')); 1809 unittest.expect(o.samplingLevel, unittest.equals('foo'));
1810 unittest.expect(o.segment, unittest.equals('foo')); 1810 unittest.expect(o.segment, unittest.equals('foo'));
1811 checkUnnamed325(o.sort); 1811 checkUnnamed1114(o.sort);
1812 unittest.expect(o.start_date, unittest.equals('foo')); 1812 unittest.expect(o.start_date, unittest.equals('foo'));
1813 unittest.expect(o.start_index, unittest.equals(42)); 1813 unittest.expect(o.start_index, unittest.equals(42));
1814 } 1814 }
1815 buildCounterGaDataQuery--; 1815 buildCounterGaDataQuery--;
1816 } 1816 }
1817 1817
1818 buildUnnamed326() { 1818 buildUnnamed1115() {
1819 var o = new core.List<core.String>(); 1819 var o = new core.List<core.String>();
1820 o.add("foo"); 1820 o.add("foo");
1821 o.add("foo"); 1821 o.add("foo");
1822 return o; 1822 return o;
1823 } 1823 }
1824 1824
1825 checkUnnamed326(core.List<core.String> o) { 1825 checkUnnamed1115(core.List<core.String> o) {
1826 unittest.expect(o, unittest.hasLength(2)); 1826 unittest.expect(o, unittest.hasLength(2));
1827 unittest.expect(o[0], unittest.equals('foo')); 1827 unittest.expect(o[0], unittest.equals('foo'));
1828 unittest.expect(o[1], unittest.equals('foo')); 1828 unittest.expect(o[1], unittest.equals('foo'));
1829 } 1829 }
1830 1830
1831 buildUnnamed327() { 1831 buildUnnamed1116() {
1832 var o = new core.List<core.List<core.String>>(); 1832 var o = new core.List<core.List<core.String>>();
1833 o.add(buildUnnamed326()); 1833 o.add(buildUnnamed1115());
1834 o.add(buildUnnamed326()); 1834 o.add(buildUnnamed1115());
1835 return o; 1835 return o;
1836 } 1836 }
1837 1837
1838 checkUnnamed327(core.List<core.List<core.String>> o) { 1838 checkUnnamed1116(core.List<core.List<core.String>> o) {
1839 unittest.expect(o, unittest.hasLength(2)); 1839 unittest.expect(o, unittest.hasLength(2));
1840 checkUnnamed326(o[0]); 1840 checkUnnamed1115(o[0]);
1841 checkUnnamed326(o[1]); 1841 checkUnnamed1115(o[1]);
1842 } 1842 }
1843 1843
1844 buildUnnamed328() { 1844 buildUnnamed1117() {
1845 var o = new core.Map<core.String, core.String>(); 1845 var o = new core.Map<core.String, core.String>();
1846 o["x"] = "foo"; 1846 o["x"] = "foo";
1847 o["y"] = "foo"; 1847 o["y"] = "foo";
1848 return o; 1848 return o;
1849 } 1849 }
1850 1850
1851 checkUnnamed328(core.Map<core.String, core.String> o) { 1851 checkUnnamed1117(core.Map<core.String, core.String> o) {
1852 unittest.expect(o, unittest.hasLength(2)); 1852 unittest.expect(o, unittest.hasLength(2));
1853 unittest.expect(o["x"], unittest.equals('foo')); 1853 unittest.expect(o["x"], unittest.equals('foo'));
1854 unittest.expect(o["y"], unittest.equals('foo')); 1854 unittest.expect(o["y"], unittest.equals('foo'));
1855 } 1855 }
1856 1856
1857 core.int buildCounterGaData = 0; 1857 core.int buildCounterGaData = 0;
1858 buildGaData() { 1858 buildGaData() {
1859 var o = new api.GaData(); 1859 var o = new api.GaData();
1860 buildCounterGaData++; 1860 buildCounterGaData++;
1861 if (buildCounterGaData < 3) { 1861 if (buildCounterGaData < 3) {
1862 o.columnHeaders = buildUnnamed320(); 1862 o.columnHeaders = buildUnnamed1109();
1863 o.containsSampledData = true; 1863 o.containsSampledData = true;
1864 o.dataTable = buildGaDataDataTable(); 1864 o.dataTable = buildGaDataDataTable();
1865 o.id = "foo"; 1865 o.id = "foo";
1866 o.itemsPerPage = 42; 1866 o.itemsPerPage = 42;
1867 o.kind = "foo"; 1867 o.kind = "foo";
1868 o.nextLink = "foo"; 1868 o.nextLink = "foo";
1869 o.previousLink = "foo"; 1869 o.previousLink = "foo";
1870 o.profileInfo = buildGaDataProfileInfo(); 1870 o.profileInfo = buildGaDataProfileInfo();
1871 o.query = buildGaDataQuery(); 1871 o.query = buildGaDataQuery();
1872 o.rows = buildUnnamed327(); 1872 o.rows = buildUnnamed1116();
1873 o.sampleSize = "foo"; 1873 o.sampleSize = "foo";
1874 o.sampleSpace = "foo"; 1874 o.sampleSpace = "foo";
1875 o.selfLink = "foo"; 1875 o.selfLink = "foo";
1876 o.totalResults = 42; 1876 o.totalResults = 42;
1877 o.totalsForAllResults = buildUnnamed328(); 1877 o.totalsForAllResults = buildUnnamed1117();
1878 } 1878 }
1879 buildCounterGaData--; 1879 buildCounterGaData--;
1880 return o; 1880 return o;
1881 } 1881 }
1882 1882
1883 checkGaData(api.GaData o) { 1883 checkGaData(api.GaData o) {
1884 buildCounterGaData++; 1884 buildCounterGaData++;
1885 if (buildCounterGaData < 3) { 1885 if (buildCounterGaData < 3) {
1886 checkUnnamed320(o.columnHeaders); 1886 checkUnnamed1109(o.columnHeaders);
1887 unittest.expect(o.containsSampledData, unittest.isTrue); 1887 unittest.expect(o.containsSampledData, unittest.isTrue);
1888 checkGaDataDataTable(o.dataTable); 1888 checkGaDataDataTable(o.dataTable);
1889 unittest.expect(o.id, unittest.equals('foo')); 1889 unittest.expect(o.id, unittest.equals('foo'));
1890 unittest.expect(o.itemsPerPage, unittest.equals(42)); 1890 unittest.expect(o.itemsPerPage, unittest.equals(42));
1891 unittest.expect(o.kind, unittest.equals('foo')); 1891 unittest.expect(o.kind, unittest.equals('foo'));
1892 unittest.expect(o.nextLink, unittest.equals('foo')); 1892 unittest.expect(o.nextLink, unittest.equals('foo'));
1893 unittest.expect(o.previousLink, unittest.equals('foo')); 1893 unittest.expect(o.previousLink, unittest.equals('foo'));
1894 checkGaDataProfileInfo(o.profileInfo); 1894 checkGaDataProfileInfo(o.profileInfo);
1895 checkGaDataQuery(o.query); 1895 checkGaDataQuery(o.query);
1896 checkUnnamed327(o.rows); 1896 checkUnnamed1116(o.rows);
1897 unittest.expect(o.sampleSize, unittest.equals('foo')); 1897 unittest.expect(o.sampleSize, unittest.equals('foo'));
1898 unittest.expect(o.sampleSpace, unittest.equals('foo')); 1898 unittest.expect(o.sampleSpace, unittest.equals('foo'));
1899 unittest.expect(o.selfLink, unittest.equals('foo')); 1899 unittest.expect(o.selfLink, unittest.equals('foo'));
1900 unittest.expect(o.totalResults, unittest.equals(42)); 1900 unittest.expect(o.totalResults, unittest.equals(42));
1901 checkUnnamed328(o.totalsForAllResults); 1901 checkUnnamed1117(o.totalsForAllResults);
1902 } 1902 }
1903 buildCounterGaData--; 1903 buildCounterGaData--;
1904 } 1904 }
1905 1905
1906 core.int buildCounterGoalEventDetailsEventConditions = 0; 1906 core.int buildCounterGoalEventDetailsEventConditions = 0;
1907 buildGoalEventDetailsEventConditions() { 1907 buildGoalEventDetailsEventConditions() {
1908 var o = new api.GoalEventDetailsEventConditions(); 1908 var o = new api.GoalEventDetailsEventConditions();
1909 buildCounterGoalEventDetailsEventConditions++; 1909 buildCounterGoalEventDetailsEventConditions++;
1910 if (buildCounterGoalEventDetailsEventConditions < 3) { 1910 if (buildCounterGoalEventDetailsEventConditions < 3) {
1911 o.comparisonType = "foo"; 1911 o.comparisonType = "foo";
(...skipping 11 matching lines...) Expand all
1923 if (buildCounterGoalEventDetailsEventConditions < 3) { 1923 if (buildCounterGoalEventDetailsEventConditions < 3) {
1924 unittest.expect(o.comparisonType, unittest.equals('foo')); 1924 unittest.expect(o.comparisonType, unittest.equals('foo'));
1925 unittest.expect(o.comparisonValue, unittest.equals('foo')); 1925 unittest.expect(o.comparisonValue, unittest.equals('foo'));
1926 unittest.expect(o.expression, unittest.equals('foo')); 1926 unittest.expect(o.expression, unittest.equals('foo'));
1927 unittest.expect(o.matchType, unittest.equals('foo')); 1927 unittest.expect(o.matchType, unittest.equals('foo'));
1928 unittest.expect(o.type, unittest.equals('foo')); 1928 unittest.expect(o.type, unittest.equals('foo'));
1929 } 1929 }
1930 buildCounterGoalEventDetailsEventConditions--; 1930 buildCounterGoalEventDetailsEventConditions--;
1931 } 1931 }
1932 1932
1933 buildUnnamed329() { 1933 buildUnnamed1118() {
1934 var o = new core.List<api.GoalEventDetailsEventConditions>(); 1934 var o = new core.List<api.GoalEventDetailsEventConditions>();
1935 o.add(buildGoalEventDetailsEventConditions()); 1935 o.add(buildGoalEventDetailsEventConditions());
1936 o.add(buildGoalEventDetailsEventConditions()); 1936 o.add(buildGoalEventDetailsEventConditions());
1937 return o; 1937 return o;
1938 } 1938 }
1939 1939
1940 checkUnnamed329(core.List<api.GoalEventDetailsEventConditions> o) { 1940 checkUnnamed1118(core.List<api.GoalEventDetailsEventConditions> o) {
1941 unittest.expect(o, unittest.hasLength(2)); 1941 unittest.expect(o, unittest.hasLength(2));
1942 checkGoalEventDetailsEventConditions(o[0]); 1942 checkGoalEventDetailsEventConditions(o[0]);
1943 checkGoalEventDetailsEventConditions(o[1]); 1943 checkGoalEventDetailsEventConditions(o[1]);
1944 } 1944 }
1945 1945
1946 core.int buildCounterGoalEventDetails = 0; 1946 core.int buildCounterGoalEventDetails = 0;
1947 buildGoalEventDetails() { 1947 buildGoalEventDetails() {
1948 var o = new api.GoalEventDetails(); 1948 var o = new api.GoalEventDetails();
1949 buildCounterGoalEventDetails++; 1949 buildCounterGoalEventDetails++;
1950 if (buildCounterGoalEventDetails < 3) { 1950 if (buildCounterGoalEventDetails < 3) {
1951 o.eventConditions = buildUnnamed329(); 1951 o.eventConditions = buildUnnamed1118();
1952 o.useEventValue = true; 1952 o.useEventValue = true;
1953 } 1953 }
1954 buildCounterGoalEventDetails--; 1954 buildCounterGoalEventDetails--;
1955 return o; 1955 return o;
1956 } 1956 }
1957 1957
1958 checkGoalEventDetails(api.GoalEventDetails o) { 1958 checkGoalEventDetails(api.GoalEventDetails o) {
1959 buildCounterGoalEventDetails++; 1959 buildCounterGoalEventDetails++;
1960 if (buildCounterGoalEventDetails < 3) { 1960 if (buildCounterGoalEventDetails < 3) {
1961 checkUnnamed329(o.eventConditions); 1961 checkUnnamed1118(o.eventConditions);
1962 unittest.expect(o.useEventValue, unittest.isTrue); 1962 unittest.expect(o.useEventValue, unittest.isTrue);
1963 } 1963 }
1964 buildCounterGoalEventDetails--; 1964 buildCounterGoalEventDetails--;
1965 } 1965 }
1966 1966
1967 core.int buildCounterGoalParentLink = 0; 1967 core.int buildCounterGoalParentLink = 0;
1968 buildGoalParentLink() { 1968 buildGoalParentLink() {
1969 var o = new api.GoalParentLink(); 1969 var o = new api.GoalParentLink();
1970 buildCounterGoalParentLink++; 1970 buildCounterGoalParentLink++;
1971 if (buildCounterGoalParentLink < 3) { 1971 if (buildCounterGoalParentLink < 3) {
(...skipping 29 matching lines...) Expand all
2001 checkGoalUrlDestinationDetailsSteps(api.GoalUrlDestinationDetailsSteps o) { 2001 checkGoalUrlDestinationDetailsSteps(api.GoalUrlDestinationDetailsSteps o) {
2002 buildCounterGoalUrlDestinationDetailsSteps++; 2002 buildCounterGoalUrlDestinationDetailsSteps++;
2003 if (buildCounterGoalUrlDestinationDetailsSteps < 3) { 2003 if (buildCounterGoalUrlDestinationDetailsSteps < 3) {
2004 unittest.expect(o.name, unittest.equals('foo')); 2004 unittest.expect(o.name, unittest.equals('foo'));
2005 unittest.expect(o.number, unittest.equals(42)); 2005 unittest.expect(o.number, unittest.equals(42));
2006 unittest.expect(o.url, unittest.equals('foo')); 2006 unittest.expect(o.url, unittest.equals('foo'));
2007 } 2007 }
2008 buildCounterGoalUrlDestinationDetailsSteps--; 2008 buildCounterGoalUrlDestinationDetailsSteps--;
2009 } 2009 }
2010 2010
2011 buildUnnamed330() { 2011 buildUnnamed1119() {
2012 var o = new core.List<api.GoalUrlDestinationDetailsSteps>(); 2012 var o = new core.List<api.GoalUrlDestinationDetailsSteps>();
2013 o.add(buildGoalUrlDestinationDetailsSteps()); 2013 o.add(buildGoalUrlDestinationDetailsSteps());
2014 o.add(buildGoalUrlDestinationDetailsSteps()); 2014 o.add(buildGoalUrlDestinationDetailsSteps());
2015 return o; 2015 return o;
2016 } 2016 }
2017 2017
2018 checkUnnamed330(core.List<api.GoalUrlDestinationDetailsSteps> o) { 2018 checkUnnamed1119(core.List<api.GoalUrlDestinationDetailsSteps> o) {
2019 unittest.expect(o, unittest.hasLength(2)); 2019 unittest.expect(o, unittest.hasLength(2));
2020 checkGoalUrlDestinationDetailsSteps(o[0]); 2020 checkGoalUrlDestinationDetailsSteps(o[0]);
2021 checkGoalUrlDestinationDetailsSteps(o[1]); 2021 checkGoalUrlDestinationDetailsSteps(o[1]);
2022 } 2022 }
2023 2023
2024 core.int buildCounterGoalUrlDestinationDetails = 0; 2024 core.int buildCounterGoalUrlDestinationDetails = 0;
2025 buildGoalUrlDestinationDetails() { 2025 buildGoalUrlDestinationDetails() {
2026 var o = new api.GoalUrlDestinationDetails(); 2026 var o = new api.GoalUrlDestinationDetails();
2027 buildCounterGoalUrlDestinationDetails++; 2027 buildCounterGoalUrlDestinationDetails++;
2028 if (buildCounterGoalUrlDestinationDetails < 3) { 2028 if (buildCounterGoalUrlDestinationDetails < 3) {
2029 o.caseSensitive = true; 2029 o.caseSensitive = true;
2030 o.firstStepRequired = true; 2030 o.firstStepRequired = true;
2031 o.matchType = "foo"; 2031 o.matchType = "foo";
2032 o.steps = buildUnnamed330(); 2032 o.steps = buildUnnamed1119();
2033 o.url = "foo"; 2033 o.url = "foo";
2034 } 2034 }
2035 buildCounterGoalUrlDestinationDetails--; 2035 buildCounterGoalUrlDestinationDetails--;
2036 return o; 2036 return o;
2037 } 2037 }
2038 2038
2039 checkGoalUrlDestinationDetails(api.GoalUrlDestinationDetails o) { 2039 checkGoalUrlDestinationDetails(api.GoalUrlDestinationDetails o) {
2040 buildCounterGoalUrlDestinationDetails++; 2040 buildCounterGoalUrlDestinationDetails++;
2041 if (buildCounterGoalUrlDestinationDetails < 3) { 2041 if (buildCounterGoalUrlDestinationDetails < 3) {
2042 unittest.expect(o.caseSensitive, unittest.isTrue); 2042 unittest.expect(o.caseSensitive, unittest.isTrue);
2043 unittest.expect(o.firstStepRequired, unittest.isTrue); 2043 unittest.expect(o.firstStepRequired, unittest.isTrue);
2044 unittest.expect(o.matchType, unittest.equals('foo')); 2044 unittest.expect(o.matchType, unittest.equals('foo'));
2045 checkUnnamed330(o.steps); 2045 checkUnnamed1119(o.steps);
2046 unittest.expect(o.url, unittest.equals('foo')); 2046 unittest.expect(o.url, unittest.equals('foo'));
2047 } 2047 }
2048 buildCounterGoalUrlDestinationDetails--; 2048 buildCounterGoalUrlDestinationDetails--;
2049 } 2049 }
2050 2050
2051 core.int buildCounterGoalVisitNumPagesDetails = 0; 2051 core.int buildCounterGoalVisitNumPagesDetails = 0;
2052 buildGoalVisitNumPagesDetails() { 2052 buildGoalVisitNumPagesDetails() {
2053 var o = new api.GoalVisitNumPagesDetails(); 2053 var o = new api.GoalVisitNumPagesDetails();
2054 buildCounterGoalVisitNumPagesDetails++; 2054 buildCounterGoalVisitNumPagesDetails++;
2055 if (buildCounterGoalVisitNumPagesDetails < 3) { 2055 if (buildCounterGoalVisitNumPagesDetails < 3) {
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
2136 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1 4:01:02"))); 2136 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1 4:01:02")));
2137 checkGoalUrlDestinationDetails(o.urlDestinationDetails); 2137 checkGoalUrlDestinationDetails(o.urlDestinationDetails);
2138 unittest.expect(o.value, unittest.equals(42.0)); 2138 unittest.expect(o.value, unittest.equals(42.0));
2139 checkGoalVisitNumPagesDetails(o.visitNumPagesDetails); 2139 checkGoalVisitNumPagesDetails(o.visitNumPagesDetails);
2140 checkGoalVisitTimeOnSiteDetails(o.visitTimeOnSiteDetails); 2140 checkGoalVisitTimeOnSiteDetails(o.visitTimeOnSiteDetails);
2141 unittest.expect(o.webPropertyId, unittest.equals('foo')); 2141 unittest.expect(o.webPropertyId, unittest.equals('foo'));
2142 } 2142 }
2143 buildCounterGoal--; 2143 buildCounterGoal--;
2144 } 2144 }
2145 2145
2146 buildUnnamed331() { 2146 buildUnnamed1120() {
2147 var o = new core.List<api.Goal>(); 2147 var o = new core.List<api.Goal>();
2148 o.add(buildGoal()); 2148 o.add(buildGoal());
2149 o.add(buildGoal()); 2149 o.add(buildGoal());
2150 return o; 2150 return o;
2151 } 2151 }
2152 2152
2153 checkUnnamed331(core.List<api.Goal> o) { 2153 checkUnnamed1120(core.List<api.Goal> o) {
2154 unittest.expect(o, unittest.hasLength(2)); 2154 unittest.expect(o, unittest.hasLength(2));
2155 checkGoal(o[0]); 2155 checkGoal(o[0]);
2156 checkGoal(o[1]); 2156 checkGoal(o[1]);
2157 } 2157 }
2158 2158
2159 core.int buildCounterGoals = 0; 2159 core.int buildCounterGoals = 0;
2160 buildGoals() { 2160 buildGoals() {
2161 var o = new api.Goals(); 2161 var o = new api.Goals();
2162 buildCounterGoals++; 2162 buildCounterGoals++;
2163 if (buildCounterGoals < 3) { 2163 if (buildCounterGoals < 3) {
2164 o.items = buildUnnamed331(); 2164 o.items = buildUnnamed1120();
2165 o.itemsPerPage = 42; 2165 o.itemsPerPage = 42;
2166 o.kind = "foo"; 2166 o.kind = "foo";
2167 o.nextLink = "foo"; 2167 o.nextLink = "foo";
2168 o.previousLink = "foo"; 2168 o.previousLink = "foo";
2169 o.startIndex = 42; 2169 o.startIndex = 42;
2170 o.totalResults = 42; 2170 o.totalResults = 42;
2171 o.username = "foo"; 2171 o.username = "foo";
2172 } 2172 }
2173 buildCounterGoals--; 2173 buildCounterGoals--;
2174 return o; 2174 return o;
2175 } 2175 }
2176 2176
2177 checkGoals(api.Goals o) { 2177 checkGoals(api.Goals o) {
2178 buildCounterGoals++; 2178 buildCounterGoals++;
2179 if (buildCounterGoals < 3) { 2179 if (buildCounterGoals < 3) {
2180 checkUnnamed331(o.items); 2180 checkUnnamed1120(o.items);
2181 unittest.expect(o.itemsPerPage, unittest.equals(42)); 2181 unittest.expect(o.itemsPerPage, unittest.equals(42));
2182 unittest.expect(o.kind, unittest.equals('foo')); 2182 unittest.expect(o.kind, unittest.equals('foo'));
2183 unittest.expect(o.nextLink, unittest.equals('foo')); 2183 unittest.expect(o.nextLink, unittest.equals('foo'));
2184 unittest.expect(o.previousLink, unittest.equals('foo')); 2184 unittest.expect(o.previousLink, unittest.equals('foo'));
2185 unittest.expect(o.startIndex, unittest.equals(42)); 2185 unittest.expect(o.startIndex, unittest.equals(42));
2186 unittest.expect(o.totalResults, unittest.equals(42)); 2186 unittest.expect(o.totalResults, unittest.equals(42));
2187 unittest.expect(o.username, unittest.equals('foo')); 2187 unittest.expect(o.username, unittest.equals('foo'));
2188 } 2188 }
2189 buildCounterGoals--; 2189 buildCounterGoals--;
2190 } 2190 }
2191 2191
2192 core.int buildCounterIncludeConditions = 0;
2193 buildIncludeConditions() {
2194 var o = new api.IncludeConditions();
2195 buildCounterIncludeConditions++;
2196 if (buildCounterIncludeConditions < 3) {
2197 o.daysToLookBack = 42;
2198 o.isSmartList = true;
2199 o.kind = "foo";
2200 o.membershipDurationDays = 42;
2201 o.segment = "foo";
2202 }
2203 buildCounterIncludeConditions--;
2204 return o;
2205 }
2206
2207 checkIncludeConditions(api.IncludeConditions o) {
2208 buildCounterIncludeConditions++;
2209 if (buildCounterIncludeConditions < 3) {
2210 unittest.expect(o.daysToLookBack, unittest.equals(42));
2211 unittest.expect(o.isSmartList, unittest.isTrue);
2212 unittest.expect(o.kind, unittest.equals('foo'));
2213 unittest.expect(o.membershipDurationDays, unittest.equals(42));
2214 unittest.expect(o.segment, unittest.equals('foo'));
2215 }
2216 buildCounterIncludeConditions--;
2217 }
2218
2219 core.int buildCounterLinkedForeignAccount = 0;
2220 buildLinkedForeignAccount() {
2221 var o = new api.LinkedForeignAccount();
2222 buildCounterLinkedForeignAccount++;
2223 if (buildCounterLinkedForeignAccount < 3) {
2224 o.accountId = "foo";
2225 o.eligibleForSearch = true;
2226 o.id = "foo";
2227 o.internalWebPropertyId = "foo";
2228 o.kind = "foo";
2229 o.linkedAccountId = "foo";
2230 o.remarketingAudienceId = "foo";
2231 o.status = "foo";
2232 o.type = "foo";
2233 o.webPropertyId = "foo";
2234 }
2235 buildCounterLinkedForeignAccount--;
2236 return o;
2237 }
2238
2239 checkLinkedForeignAccount(api.LinkedForeignAccount o) {
2240 buildCounterLinkedForeignAccount++;
2241 if (buildCounterLinkedForeignAccount < 3) {
2242 unittest.expect(o.accountId, unittest.equals('foo'));
2243 unittest.expect(o.eligibleForSearch, unittest.isTrue);
2244 unittest.expect(o.id, unittest.equals('foo'));
2245 unittest.expect(o.internalWebPropertyId, unittest.equals('foo'));
2246 unittest.expect(o.kind, unittest.equals('foo'));
2247 unittest.expect(o.linkedAccountId, unittest.equals('foo'));
2248 unittest.expect(o.remarketingAudienceId, unittest.equals('foo'));
2249 unittest.expect(o.status, unittest.equals('foo'));
2250 unittest.expect(o.type, unittest.equals('foo'));
2251 unittest.expect(o.webPropertyId, unittest.equals('foo'));
2252 }
2253 buildCounterLinkedForeignAccount--;
2254 }
2255
2192 core.int buildCounterMcfDataColumnHeaders = 0; 2256 core.int buildCounterMcfDataColumnHeaders = 0;
2193 buildMcfDataColumnHeaders() { 2257 buildMcfDataColumnHeaders() {
2194 var o = new api.McfDataColumnHeaders(); 2258 var o = new api.McfDataColumnHeaders();
2195 buildCounterMcfDataColumnHeaders++; 2259 buildCounterMcfDataColumnHeaders++;
2196 if (buildCounterMcfDataColumnHeaders < 3) { 2260 if (buildCounterMcfDataColumnHeaders < 3) {
2197 o.columnType = "foo"; 2261 o.columnType = "foo";
2198 o.dataType = "foo"; 2262 o.dataType = "foo";
2199 o.name = "foo"; 2263 o.name = "foo";
2200 } 2264 }
2201 buildCounterMcfDataColumnHeaders--; 2265 buildCounterMcfDataColumnHeaders--;
2202 return o; 2266 return o;
2203 } 2267 }
2204 2268
2205 checkMcfDataColumnHeaders(api.McfDataColumnHeaders o) { 2269 checkMcfDataColumnHeaders(api.McfDataColumnHeaders o) {
2206 buildCounterMcfDataColumnHeaders++; 2270 buildCounterMcfDataColumnHeaders++;
2207 if (buildCounterMcfDataColumnHeaders < 3) { 2271 if (buildCounterMcfDataColumnHeaders < 3) {
2208 unittest.expect(o.columnType, unittest.equals('foo')); 2272 unittest.expect(o.columnType, unittest.equals('foo'));
2209 unittest.expect(o.dataType, unittest.equals('foo')); 2273 unittest.expect(o.dataType, unittest.equals('foo'));
2210 unittest.expect(o.name, unittest.equals('foo')); 2274 unittest.expect(o.name, unittest.equals('foo'));
2211 } 2275 }
2212 buildCounterMcfDataColumnHeaders--; 2276 buildCounterMcfDataColumnHeaders--;
2213 } 2277 }
2214 2278
2215 buildUnnamed332() { 2279 buildUnnamed1121() {
2216 var o = new core.List<api.McfDataColumnHeaders>(); 2280 var o = new core.List<api.McfDataColumnHeaders>();
2217 o.add(buildMcfDataColumnHeaders()); 2281 o.add(buildMcfDataColumnHeaders());
2218 o.add(buildMcfDataColumnHeaders()); 2282 o.add(buildMcfDataColumnHeaders());
2219 return o; 2283 return o;
2220 } 2284 }
2221 2285
2222 checkUnnamed332(core.List<api.McfDataColumnHeaders> o) { 2286 checkUnnamed1121(core.List<api.McfDataColumnHeaders> o) {
2223 unittest.expect(o, unittest.hasLength(2)); 2287 unittest.expect(o, unittest.hasLength(2));
2224 checkMcfDataColumnHeaders(o[0]); 2288 checkMcfDataColumnHeaders(o[0]);
2225 checkMcfDataColumnHeaders(o[1]); 2289 checkMcfDataColumnHeaders(o[1]);
2226 } 2290 }
2227 2291
2228 core.int buildCounterMcfDataProfileInfo = 0; 2292 core.int buildCounterMcfDataProfileInfo = 0;
2229 buildMcfDataProfileInfo() { 2293 buildMcfDataProfileInfo() {
2230 var o = new api.McfDataProfileInfo(); 2294 var o = new api.McfDataProfileInfo();
2231 buildCounterMcfDataProfileInfo++; 2295 buildCounterMcfDataProfileInfo++;
2232 if (buildCounterMcfDataProfileInfo < 3) { 2296 if (buildCounterMcfDataProfileInfo < 3) {
(...skipping 14 matching lines...) Expand all
2247 unittest.expect(o.accountId, unittest.equals('foo')); 2311 unittest.expect(o.accountId, unittest.equals('foo'));
2248 unittest.expect(o.internalWebPropertyId, unittest.equals('foo')); 2312 unittest.expect(o.internalWebPropertyId, unittest.equals('foo'));
2249 unittest.expect(o.profileId, unittest.equals('foo')); 2313 unittest.expect(o.profileId, unittest.equals('foo'));
2250 unittest.expect(o.profileName, unittest.equals('foo')); 2314 unittest.expect(o.profileName, unittest.equals('foo'));
2251 unittest.expect(o.tableId, unittest.equals('foo')); 2315 unittest.expect(o.tableId, unittest.equals('foo'));
2252 unittest.expect(o.webPropertyId, unittest.equals('foo')); 2316 unittest.expect(o.webPropertyId, unittest.equals('foo'));
2253 } 2317 }
2254 buildCounterMcfDataProfileInfo--; 2318 buildCounterMcfDataProfileInfo--;
2255 } 2319 }
2256 2320
2257 buildUnnamed333() { 2321 buildUnnamed1122() {
2258 var o = new core.List<core.String>(); 2322 var o = new core.List<core.String>();
2259 o.add("foo"); 2323 o.add("foo");
2260 o.add("foo"); 2324 o.add("foo");
2261 return o; 2325 return o;
2262 } 2326 }
2263 2327
2264 checkUnnamed333(core.List<core.String> o) { 2328 checkUnnamed1122(core.List<core.String> o) {
2265 unittest.expect(o, unittest.hasLength(2)); 2329 unittest.expect(o, unittest.hasLength(2));
2266 unittest.expect(o[0], unittest.equals('foo')); 2330 unittest.expect(o[0], unittest.equals('foo'));
2267 unittest.expect(o[1], unittest.equals('foo')); 2331 unittest.expect(o[1], unittest.equals('foo'));
2268 } 2332 }
2269 2333
2270 buildUnnamed334() { 2334 buildUnnamed1123() {
2271 var o = new core.List<core.String>(); 2335 var o = new core.List<core.String>();
2272 o.add("foo"); 2336 o.add("foo");
2273 o.add("foo"); 2337 o.add("foo");
2274 return o; 2338 return o;
2275 } 2339 }
2276 2340
2277 checkUnnamed334(core.List<core.String> o) { 2341 checkUnnamed1123(core.List<core.String> o) {
2278 unittest.expect(o, unittest.hasLength(2)); 2342 unittest.expect(o, unittest.hasLength(2));
2279 unittest.expect(o[0], unittest.equals('foo')); 2343 unittest.expect(o[0], unittest.equals('foo'));
2280 unittest.expect(o[1], unittest.equals('foo')); 2344 unittest.expect(o[1], unittest.equals('foo'));
2281 } 2345 }
2282 2346
2283 core.int buildCounterMcfDataQuery = 0; 2347 core.int buildCounterMcfDataQuery = 0;
2284 buildMcfDataQuery() { 2348 buildMcfDataQuery() {
2285 var o = new api.McfDataQuery(); 2349 var o = new api.McfDataQuery();
2286 buildCounterMcfDataQuery++; 2350 buildCounterMcfDataQuery++;
2287 if (buildCounterMcfDataQuery < 3) { 2351 if (buildCounterMcfDataQuery < 3) {
2288 o.dimensions = "foo"; 2352 o.dimensions = "foo";
2289 o.end_date = "foo"; 2353 o.end_date = "foo";
2290 o.filters = "foo"; 2354 o.filters = "foo";
2291 o.ids = "foo"; 2355 o.ids = "foo";
2292 o.max_results = 42; 2356 o.max_results = 42;
2293 o.metrics = buildUnnamed333(); 2357 o.metrics = buildUnnamed1122();
2294 o.samplingLevel = "foo"; 2358 o.samplingLevel = "foo";
2295 o.segment = "foo"; 2359 o.segment = "foo";
2296 o.sort = buildUnnamed334(); 2360 o.sort = buildUnnamed1123();
2297 o.start_date = "foo"; 2361 o.start_date = "foo";
2298 o.start_index = 42; 2362 o.start_index = 42;
2299 } 2363 }
2300 buildCounterMcfDataQuery--; 2364 buildCounterMcfDataQuery--;
2301 return o; 2365 return o;
2302 } 2366 }
2303 2367
2304 checkMcfDataQuery(api.McfDataQuery o) { 2368 checkMcfDataQuery(api.McfDataQuery o) {
2305 buildCounterMcfDataQuery++; 2369 buildCounterMcfDataQuery++;
2306 if (buildCounterMcfDataQuery < 3) { 2370 if (buildCounterMcfDataQuery < 3) {
2307 unittest.expect(o.dimensions, unittest.equals('foo')); 2371 unittest.expect(o.dimensions, unittest.equals('foo'));
2308 unittest.expect(o.end_date, unittest.equals('foo')); 2372 unittest.expect(o.end_date, unittest.equals('foo'));
2309 unittest.expect(o.filters, unittest.equals('foo')); 2373 unittest.expect(o.filters, unittest.equals('foo'));
2310 unittest.expect(o.ids, unittest.equals('foo')); 2374 unittest.expect(o.ids, unittest.equals('foo'));
2311 unittest.expect(o.max_results, unittest.equals(42)); 2375 unittest.expect(o.max_results, unittest.equals(42));
2312 checkUnnamed333(o.metrics); 2376 checkUnnamed1122(o.metrics);
2313 unittest.expect(o.samplingLevel, unittest.equals('foo')); 2377 unittest.expect(o.samplingLevel, unittest.equals('foo'));
2314 unittest.expect(o.segment, unittest.equals('foo')); 2378 unittest.expect(o.segment, unittest.equals('foo'));
2315 checkUnnamed334(o.sort); 2379 checkUnnamed1123(o.sort);
2316 unittest.expect(o.start_date, unittest.equals('foo')); 2380 unittest.expect(o.start_date, unittest.equals('foo'));
2317 unittest.expect(o.start_index, unittest.equals(42)); 2381 unittest.expect(o.start_index, unittest.equals(42));
2318 } 2382 }
2319 buildCounterMcfDataQuery--; 2383 buildCounterMcfDataQuery--;
2320 } 2384 }
2321 2385
2322 core.int buildCounterMcfDataRowsConversionPathValue = 0; 2386 core.int buildCounterMcfDataRowsConversionPathValue = 0;
2323 buildMcfDataRowsConversionPathValue() { 2387 buildMcfDataRowsConversionPathValue() {
2324 var o = new api.McfDataRowsConversionPathValue(); 2388 var o = new api.McfDataRowsConversionPathValue();
2325 buildCounterMcfDataRowsConversionPathValue++; 2389 buildCounterMcfDataRowsConversionPathValue++;
2326 if (buildCounterMcfDataRowsConversionPathValue < 3) { 2390 if (buildCounterMcfDataRowsConversionPathValue < 3) {
2327 o.interactionType = "foo"; 2391 o.interactionType = "foo";
2328 o.nodeValue = "foo"; 2392 o.nodeValue = "foo";
2329 } 2393 }
2330 buildCounterMcfDataRowsConversionPathValue--; 2394 buildCounterMcfDataRowsConversionPathValue--;
2331 return o; 2395 return o;
2332 } 2396 }
2333 2397
2334 checkMcfDataRowsConversionPathValue(api.McfDataRowsConversionPathValue o) { 2398 checkMcfDataRowsConversionPathValue(api.McfDataRowsConversionPathValue o) {
2335 buildCounterMcfDataRowsConversionPathValue++; 2399 buildCounterMcfDataRowsConversionPathValue++;
2336 if (buildCounterMcfDataRowsConversionPathValue < 3) { 2400 if (buildCounterMcfDataRowsConversionPathValue < 3) {
2337 unittest.expect(o.interactionType, unittest.equals('foo')); 2401 unittest.expect(o.interactionType, unittest.equals('foo'));
2338 unittest.expect(o.nodeValue, unittest.equals('foo')); 2402 unittest.expect(o.nodeValue, unittest.equals('foo'));
2339 } 2403 }
2340 buildCounterMcfDataRowsConversionPathValue--; 2404 buildCounterMcfDataRowsConversionPathValue--;
2341 } 2405 }
2342 2406
2343 buildUnnamed335() { 2407 buildUnnamed1124() {
2344 var o = new core.List<api.McfDataRowsConversionPathValue>(); 2408 var o = new core.List<api.McfDataRowsConversionPathValue>();
2345 o.add(buildMcfDataRowsConversionPathValue()); 2409 o.add(buildMcfDataRowsConversionPathValue());
2346 o.add(buildMcfDataRowsConversionPathValue()); 2410 o.add(buildMcfDataRowsConversionPathValue());
2347 return o; 2411 return o;
2348 } 2412 }
2349 2413
2350 checkUnnamed335(core.List<api.McfDataRowsConversionPathValue> o) { 2414 checkUnnamed1124(core.List<api.McfDataRowsConversionPathValue> o) {
2351 unittest.expect(o, unittest.hasLength(2)); 2415 unittest.expect(o, unittest.hasLength(2));
2352 checkMcfDataRowsConversionPathValue(o[0]); 2416 checkMcfDataRowsConversionPathValue(o[0]);
2353 checkMcfDataRowsConversionPathValue(o[1]); 2417 checkMcfDataRowsConversionPathValue(o[1]);
2354 } 2418 }
2355 2419
2356 core.int buildCounterMcfDataRows = 0; 2420 core.int buildCounterMcfDataRows = 0;
2357 buildMcfDataRows() { 2421 buildMcfDataRows() {
2358 var o = new api.McfDataRows(); 2422 var o = new api.McfDataRows();
2359 buildCounterMcfDataRows++; 2423 buildCounterMcfDataRows++;
2360 if (buildCounterMcfDataRows < 3) { 2424 if (buildCounterMcfDataRows < 3) {
2361 o.conversionPathValue = buildUnnamed335(); 2425 o.conversionPathValue = buildUnnamed1124();
2362 o.primitiveValue = "foo"; 2426 o.primitiveValue = "foo";
2363 } 2427 }
2364 buildCounterMcfDataRows--; 2428 buildCounterMcfDataRows--;
2365 return o; 2429 return o;
2366 } 2430 }
2367 2431
2368 checkMcfDataRows(api.McfDataRows o) { 2432 checkMcfDataRows(api.McfDataRows o) {
2369 buildCounterMcfDataRows++; 2433 buildCounterMcfDataRows++;
2370 if (buildCounterMcfDataRows < 3) { 2434 if (buildCounterMcfDataRows < 3) {
2371 checkUnnamed335(o.conversionPathValue); 2435 checkUnnamed1124(o.conversionPathValue);
2372 unittest.expect(o.primitiveValue, unittest.equals('foo')); 2436 unittest.expect(o.primitiveValue, unittest.equals('foo'));
2373 } 2437 }
2374 buildCounterMcfDataRows--; 2438 buildCounterMcfDataRows--;
2375 } 2439 }
2376 2440
2377 buildUnnamed336() { 2441 buildUnnamed1125() {
2378 var o = new core.List<api.McfDataRows>(); 2442 var o = new core.List<api.McfDataRows>();
2379 o.add(buildMcfDataRows()); 2443 o.add(buildMcfDataRows());
2380 o.add(buildMcfDataRows()); 2444 o.add(buildMcfDataRows());
2381 return o; 2445 return o;
2382 } 2446 }
2383 2447
2384 checkUnnamed336(core.List<api.McfDataRows> o) { 2448 checkUnnamed1125(core.List<api.McfDataRows> o) {
2385 unittest.expect(o, unittest.hasLength(2)); 2449 unittest.expect(o, unittest.hasLength(2));
2386 checkMcfDataRows(o[0]); 2450 checkMcfDataRows(o[0]);
2387 checkMcfDataRows(o[1]); 2451 checkMcfDataRows(o[1]);
2388 } 2452 }
2389 2453
2390 buildUnnamed337() { 2454 buildUnnamed1126() {
2391 var o = new core.List<core.List<api.McfDataRows>>(); 2455 var o = new core.List<core.List<api.McfDataRows>>();
2392 o.add(buildUnnamed336()); 2456 o.add(buildUnnamed1125());
2393 o.add(buildUnnamed336()); 2457 o.add(buildUnnamed1125());
2394 return o; 2458 return o;
2395 } 2459 }
2396 2460
2397 checkUnnamed337(core.List<core.List<api.McfDataRows>> o) { 2461 checkUnnamed1126(core.List<core.List<api.McfDataRows>> o) {
2398 unittest.expect(o, unittest.hasLength(2)); 2462 unittest.expect(o, unittest.hasLength(2));
2399 checkUnnamed336(o[0]); 2463 checkUnnamed1125(o[0]);
2400 checkUnnamed336(o[1]); 2464 checkUnnamed1125(o[1]);
2401 } 2465 }
2402 2466
2403 buildUnnamed338() { 2467 buildUnnamed1127() {
2404 var o = new core.Map<core.String, core.String>(); 2468 var o = new core.Map<core.String, core.String>();
2405 o["x"] = "foo"; 2469 o["x"] = "foo";
2406 o["y"] = "foo"; 2470 o["y"] = "foo";
2407 return o; 2471 return o;
2408 } 2472 }
2409 2473
2410 checkUnnamed338(core.Map<core.String, core.String> o) { 2474 checkUnnamed1127(core.Map<core.String, core.String> o) {
2411 unittest.expect(o, unittest.hasLength(2)); 2475 unittest.expect(o, unittest.hasLength(2));
2412 unittest.expect(o["x"], unittest.equals('foo')); 2476 unittest.expect(o["x"], unittest.equals('foo'));
2413 unittest.expect(o["y"], unittest.equals('foo')); 2477 unittest.expect(o["y"], unittest.equals('foo'));
2414 } 2478 }
2415 2479
2416 core.int buildCounterMcfData = 0; 2480 core.int buildCounterMcfData = 0;
2417 buildMcfData() { 2481 buildMcfData() {
2418 var o = new api.McfData(); 2482 var o = new api.McfData();
2419 buildCounterMcfData++; 2483 buildCounterMcfData++;
2420 if (buildCounterMcfData < 3) { 2484 if (buildCounterMcfData < 3) {
2421 o.columnHeaders = buildUnnamed332(); 2485 o.columnHeaders = buildUnnamed1121();
2422 o.containsSampledData = true; 2486 o.containsSampledData = true;
2423 o.id = "foo"; 2487 o.id = "foo";
2424 o.itemsPerPage = 42; 2488 o.itemsPerPage = 42;
2425 o.kind = "foo"; 2489 o.kind = "foo";
2426 o.nextLink = "foo"; 2490 o.nextLink = "foo";
2427 o.previousLink = "foo"; 2491 o.previousLink = "foo";
2428 o.profileInfo = buildMcfDataProfileInfo(); 2492 o.profileInfo = buildMcfDataProfileInfo();
2429 o.query = buildMcfDataQuery(); 2493 o.query = buildMcfDataQuery();
2430 o.rows = buildUnnamed337(); 2494 o.rows = buildUnnamed1126();
2431 o.sampleSize = "foo"; 2495 o.sampleSize = "foo";
2432 o.sampleSpace = "foo"; 2496 o.sampleSpace = "foo";
2433 o.selfLink = "foo"; 2497 o.selfLink = "foo";
2434 o.totalResults = 42; 2498 o.totalResults = 42;
2435 o.totalsForAllResults = buildUnnamed338(); 2499 o.totalsForAllResults = buildUnnamed1127();
2436 } 2500 }
2437 buildCounterMcfData--; 2501 buildCounterMcfData--;
2438 return o; 2502 return o;
2439 } 2503 }
2440 2504
2441 checkMcfData(api.McfData o) { 2505 checkMcfData(api.McfData o) {
2442 buildCounterMcfData++; 2506 buildCounterMcfData++;
2443 if (buildCounterMcfData < 3) { 2507 if (buildCounterMcfData < 3) {
2444 checkUnnamed332(o.columnHeaders); 2508 checkUnnamed1121(o.columnHeaders);
2445 unittest.expect(o.containsSampledData, unittest.isTrue); 2509 unittest.expect(o.containsSampledData, unittest.isTrue);
2446 unittest.expect(o.id, unittest.equals('foo')); 2510 unittest.expect(o.id, unittest.equals('foo'));
2447 unittest.expect(o.itemsPerPage, unittest.equals(42)); 2511 unittest.expect(o.itemsPerPage, unittest.equals(42));
2448 unittest.expect(o.kind, unittest.equals('foo')); 2512 unittest.expect(o.kind, unittest.equals('foo'));
2449 unittest.expect(o.nextLink, unittest.equals('foo')); 2513 unittest.expect(o.nextLink, unittest.equals('foo'));
2450 unittest.expect(o.previousLink, unittest.equals('foo')); 2514 unittest.expect(o.previousLink, unittest.equals('foo'));
2451 checkMcfDataProfileInfo(o.profileInfo); 2515 checkMcfDataProfileInfo(o.profileInfo);
2452 checkMcfDataQuery(o.query); 2516 checkMcfDataQuery(o.query);
2453 checkUnnamed337(o.rows); 2517 checkUnnamed1126(o.rows);
2454 unittest.expect(o.sampleSize, unittest.equals('foo')); 2518 unittest.expect(o.sampleSize, unittest.equals('foo'));
2455 unittest.expect(o.sampleSpace, unittest.equals('foo')); 2519 unittest.expect(o.sampleSpace, unittest.equals('foo'));
2456 unittest.expect(o.selfLink, unittest.equals('foo')); 2520 unittest.expect(o.selfLink, unittest.equals('foo'));
2457 unittest.expect(o.totalResults, unittest.equals(42)); 2521 unittest.expect(o.totalResults, unittest.equals(42));
2458 checkUnnamed338(o.totalsForAllResults); 2522 checkUnnamed1127(o.totalsForAllResults);
2459 } 2523 }
2460 buildCounterMcfData--; 2524 buildCounterMcfData--;
2461 } 2525 }
2462 2526
2463 core.int buildCounterProfileChildLink = 0; 2527 core.int buildCounterProfileChildLink = 0;
2464 buildProfileChildLink() { 2528 buildProfileChildLink() {
2465 var o = new api.ProfileChildLink(); 2529 var o = new api.ProfileChildLink();
2466 buildCounterProfileChildLink++; 2530 buildCounterProfileChildLink++;
2467 if (buildCounterProfileChildLink < 3) { 2531 if (buildCounterProfileChildLink < 3) {
2468 o.href = "foo"; 2532 o.href = "foo";
(...skipping 26 matching lines...) Expand all
2495 2559
2496 checkProfileParentLink(api.ProfileParentLink o) { 2560 checkProfileParentLink(api.ProfileParentLink o) {
2497 buildCounterProfileParentLink++; 2561 buildCounterProfileParentLink++;
2498 if (buildCounterProfileParentLink < 3) { 2562 if (buildCounterProfileParentLink < 3) {
2499 unittest.expect(o.href, unittest.equals('foo')); 2563 unittest.expect(o.href, unittest.equals('foo'));
2500 unittest.expect(o.type, unittest.equals('foo')); 2564 unittest.expect(o.type, unittest.equals('foo'));
2501 } 2565 }
2502 buildCounterProfileParentLink--; 2566 buildCounterProfileParentLink--;
2503 } 2567 }
2504 2568
2505 buildUnnamed339() { 2569 buildUnnamed1128() {
2506 var o = new core.List<core.String>(); 2570 var o = new core.List<core.String>();
2507 o.add("foo"); 2571 o.add("foo");
2508 o.add("foo"); 2572 o.add("foo");
2509 return o; 2573 return o;
2510 } 2574 }
2511 2575
2512 checkUnnamed339(core.List<core.String> o) { 2576 checkUnnamed1128(core.List<core.String> o) {
2513 unittest.expect(o, unittest.hasLength(2)); 2577 unittest.expect(o, unittest.hasLength(2));
2514 unittest.expect(o[0], unittest.equals('foo')); 2578 unittest.expect(o[0], unittest.equals('foo'));
2515 unittest.expect(o[1], unittest.equals('foo')); 2579 unittest.expect(o[1], unittest.equals('foo'));
2516 } 2580 }
2517 2581
2518 core.int buildCounterProfilePermissions = 0; 2582 core.int buildCounterProfilePermissions = 0;
2519 buildProfilePermissions() { 2583 buildProfilePermissions() {
2520 var o = new api.ProfilePermissions(); 2584 var o = new api.ProfilePermissions();
2521 buildCounterProfilePermissions++; 2585 buildCounterProfilePermissions++;
2522 if (buildCounterProfilePermissions < 3) { 2586 if (buildCounterProfilePermissions < 3) {
2523 o.effective = buildUnnamed339(); 2587 o.effective = buildUnnamed1128();
2524 } 2588 }
2525 buildCounterProfilePermissions--; 2589 buildCounterProfilePermissions--;
2526 return o; 2590 return o;
2527 } 2591 }
2528 2592
2529 checkProfilePermissions(api.ProfilePermissions o) { 2593 checkProfilePermissions(api.ProfilePermissions o) {
2530 buildCounterProfilePermissions++; 2594 buildCounterProfilePermissions++;
2531 if (buildCounterProfilePermissions < 3) { 2595 if (buildCounterProfilePermissions < 3) {
2532 checkUnnamed339(o.effective); 2596 checkUnnamed1128(o.effective);
2533 } 2597 }
2534 buildCounterProfilePermissions--; 2598 buildCounterProfilePermissions--;
2535 } 2599 }
2536 2600
2537 core.int buildCounterProfile = 0; 2601 core.int buildCounterProfile = 0;
2538 buildProfile() { 2602 buildProfile() {
2539 var o = new api.Profile(); 2603 var o = new api.Profile();
2540 buildCounterProfile++; 2604 buildCounterProfile++;
2541 if (buildCounterProfile < 3) { 2605 if (buildCounterProfile < 3) {
2542 o.accountId = "foo"; 2606 o.accountId = "foo";
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
2625 checkFilterRef(o.filterRef); 2689 checkFilterRef(o.filterRef);
2626 unittest.expect(o.id, unittest.equals('foo')); 2690 unittest.expect(o.id, unittest.equals('foo'));
2627 unittest.expect(o.kind, unittest.equals('foo')); 2691 unittest.expect(o.kind, unittest.equals('foo'));
2628 checkProfileRef(o.profileRef); 2692 checkProfileRef(o.profileRef);
2629 unittest.expect(o.rank, unittest.equals(42)); 2693 unittest.expect(o.rank, unittest.equals(42));
2630 unittest.expect(o.selfLink, unittest.equals('foo')); 2694 unittest.expect(o.selfLink, unittest.equals('foo'));
2631 } 2695 }
2632 buildCounterProfileFilterLink--; 2696 buildCounterProfileFilterLink--;
2633 } 2697 }
2634 2698
2635 buildUnnamed340() { 2699 buildUnnamed1129() {
2636 var o = new core.List<api.ProfileFilterLink>(); 2700 var o = new core.List<api.ProfileFilterLink>();
2637 o.add(buildProfileFilterLink()); 2701 o.add(buildProfileFilterLink());
2638 o.add(buildProfileFilterLink()); 2702 o.add(buildProfileFilterLink());
2639 return o; 2703 return o;
2640 } 2704 }
2641 2705
2642 checkUnnamed340(core.List<api.ProfileFilterLink> o) { 2706 checkUnnamed1129(core.List<api.ProfileFilterLink> o) {
2643 unittest.expect(o, unittest.hasLength(2)); 2707 unittest.expect(o, unittest.hasLength(2));
2644 checkProfileFilterLink(o[0]); 2708 checkProfileFilterLink(o[0]);
2645 checkProfileFilterLink(o[1]); 2709 checkProfileFilterLink(o[1]);
2646 } 2710 }
2647 2711
2648 core.int buildCounterProfileFilterLinks = 0; 2712 core.int buildCounterProfileFilterLinks = 0;
2649 buildProfileFilterLinks() { 2713 buildProfileFilterLinks() {
2650 var o = new api.ProfileFilterLinks(); 2714 var o = new api.ProfileFilterLinks();
2651 buildCounterProfileFilterLinks++; 2715 buildCounterProfileFilterLinks++;
2652 if (buildCounterProfileFilterLinks < 3) { 2716 if (buildCounterProfileFilterLinks < 3) {
2653 o.items = buildUnnamed340(); 2717 o.items = buildUnnamed1129();
2654 o.itemsPerPage = 42; 2718 o.itemsPerPage = 42;
2655 o.kind = "foo"; 2719 o.kind = "foo";
2656 o.nextLink = "foo"; 2720 o.nextLink = "foo";
2657 o.previousLink = "foo"; 2721 o.previousLink = "foo";
2658 o.startIndex = 42; 2722 o.startIndex = 42;
2659 o.totalResults = 42; 2723 o.totalResults = 42;
2660 o.username = "foo"; 2724 o.username = "foo";
2661 } 2725 }
2662 buildCounterProfileFilterLinks--; 2726 buildCounterProfileFilterLinks--;
2663 return o; 2727 return o;
2664 } 2728 }
2665 2729
2666 checkProfileFilterLinks(api.ProfileFilterLinks o) { 2730 checkProfileFilterLinks(api.ProfileFilterLinks o) {
2667 buildCounterProfileFilterLinks++; 2731 buildCounterProfileFilterLinks++;
2668 if (buildCounterProfileFilterLinks < 3) { 2732 if (buildCounterProfileFilterLinks < 3) {
2669 checkUnnamed340(o.items); 2733 checkUnnamed1129(o.items);
2670 unittest.expect(o.itemsPerPage, unittest.equals(42)); 2734 unittest.expect(o.itemsPerPage, unittest.equals(42));
2671 unittest.expect(o.kind, unittest.equals('foo')); 2735 unittest.expect(o.kind, unittest.equals('foo'));
2672 unittest.expect(o.nextLink, unittest.equals('foo')); 2736 unittest.expect(o.nextLink, unittest.equals('foo'));
2673 unittest.expect(o.previousLink, unittest.equals('foo')); 2737 unittest.expect(o.previousLink, unittest.equals('foo'));
2674 unittest.expect(o.startIndex, unittest.equals(42)); 2738 unittest.expect(o.startIndex, unittest.equals(42));
2675 unittest.expect(o.totalResults, unittest.equals(42)); 2739 unittest.expect(o.totalResults, unittest.equals(42));
2676 unittest.expect(o.username, unittest.equals('foo')); 2740 unittest.expect(o.username, unittest.equals('foo'));
2677 } 2741 }
2678 buildCounterProfileFilterLinks--; 2742 buildCounterProfileFilterLinks--;
2679 } 2743 }
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
2729 if (buildCounterProfileSummary < 3) { 2793 if (buildCounterProfileSummary < 3) {
2730 unittest.expect(o.id, unittest.equals('foo')); 2794 unittest.expect(o.id, unittest.equals('foo'));
2731 unittest.expect(o.kind, unittest.equals('foo')); 2795 unittest.expect(o.kind, unittest.equals('foo'));
2732 unittest.expect(o.name, unittest.equals('foo')); 2796 unittest.expect(o.name, unittest.equals('foo'));
2733 unittest.expect(o.starred, unittest.isTrue); 2797 unittest.expect(o.starred, unittest.isTrue);
2734 unittest.expect(o.type, unittest.equals('foo')); 2798 unittest.expect(o.type, unittest.equals('foo'));
2735 } 2799 }
2736 buildCounterProfileSummary--; 2800 buildCounterProfileSummary--;
2737 } 2801 }
2738 2802
2739 buildUnnamed341() { 2803 buildUnnamed1130() {
2740 var o = new core.List<api.Profile>(); 2804 var o = new core.List<api.Profile>();
2741 o.add(buildProfile()); 2805 o.add(buildProfile());
2742 o.add(buildProfile()); 2806 o.add(buildProfile());
2743 return o; 2807 return o;
2744 } 2808 }
2745 2809
2746 checkUnnamed341(core.List<api.Profile> o) { 2810 checkUnnamed1130(core.List<api.Profile> o) {
2747 unittest.expect(o, unittest.hasLength(2)); 2811 unittest.expect(o, unittest.hasLength(2));
2748 checkProfile(o[0]); 2812 checkProfile(o[0]);
2749 checkProfile(o[1]); 2813 checkProfile(o[1]);
2750 } 2814 }
2751 2815
2752 core.int buildCounterProfiles = 0; 2816 core.int buildCounterProfiles = 0;
2753 buildProfiles() { 2817 buildProfiles() {
2754 var o = new api.Profiles(); 2818 var o = new api.Profiles();
2755 buildCounterProfiles++; 2819 buildCounterProfiles++;
2756 if (buildCounterProfiles < 3) { 2820 if (buildCounterProfiles < 3) {
2757 o.items = buildUnnamed341(); 2821 o.items = buildUnnamed1130();
2758 o.itemsPerPage = 42; 2822 o.itemsPerPage = 42;
2759 o.kind = "foo"; 2823 o.kind = "foo";
2760 o.nextLink = "foo"; 2824 o.nextLink = "foo";
2761 o.previousLink = "foo"; 2825 o.previousLink = "foo";
2762 o.startIndex = 42; 2826 o.startIndex = 42;
2763 o.totalResults = 42; 2827 o.totalResults = 42;
2764 o.username = "foo"; 2828 o.username = "foo";
2765 } 2829 }
2766 buildCounterProfiles--; 2830 buildCounterProfiles--;
2767 return o; 2831 return o;
2768 } 2832 }
2769 2833
2770 checkProfiles(api.Profiles o) { 2834 checkProfiles(api.Profiles o) {
2771 buildCounterProfiles++; 2835 buildCounterProfiles++;
2772 if (buildCounterProfiles < 3) { 2836 if (buildCounterProfiles < 3) {
2773 checkUnnamed341(o.items); 2837 checkUnnamed1130(o.items);
2774 unittest.expect(o.itemsPerPage, unittest.equals(42)); 2838 unittest.expect(o.itemsPerPage, unittest.equals(42));
2775 unittest.expect(o.kind, unittest.equals('foo')); 2839 unittest.expect(o.kind, unittest.equals('foo'));
2776 unittest.expect(o.nextLink, unittest.equals('foo')); 2840 unittest.expect(o.nextLink, unittest.equals('foo'));
2777 unittest.expect(o.previousLink, unittest.equals('foo')); 2841 unittest.expect(o.previousLink, unittest.equals('foo'));
2778 unittest.expect(o.startIndex, unittest.equals(42)); 2842 unittest.expect(o.startIndex, unittest.equals(42));
2779 unittest.expect(o.totalResults, unittest.equals(42)); 2843 unittest.expect(o.totalResults, unittest.equals(42));
2780 unittest.expect(o.username, unittest.equals('foo')); 2844 unittest.expect(o.username, unittest.equals('foo'));
2781 } 2845 }
2782 buildCounterProfiles--; 2846 buildCounterProfiles--;
2783 } 2847 }
(...skipping 14 matching lines...) Expand all
2798 checkRealtimeDataColumnHeaders(api.RealtimeDataColumnHeaders o) { 2862 checkRealtimeDataColumnHeaders(api.RealtimeDataColumnHeaders o) {
2799 buildCounterRealtimeDataColumnHeaders++; 2863 buildCounterRealtimeDataColumnHeaders++;
2800 if (buildCounterRealtimeDataColumnHeaders < 3) { 2864 if (buildCounterRealtimeDataColumnHeaders < 3) {
2801 unittest.expect(o.columnType, unittest.equals('foo')); 2865 unittest.expect(o.columnType, unittest.equals('foo'));
2802 unittest.expect(o.dataType, unittest.equals('foo')); 2866 unittest.expect(o.dataType, unittest.equals('foo'));
2803 unittest.expect(o.name, unittest.equals('foo')); 2867 unittest.expect(o.name, unittest.equals('foo'));
2804 } 2868 }
2805 buildCounterRealtimeDataColumnHeaders--; 2869 buildCounterRealtimeDataColumnHeaders--;
2806 } 2870 }
2807 2871
2808 buildUnnamed342() { 2872 buildUnnamed1131() {
2809 var o = new core.List<api.RealtimeDataColumnHeaders>(); 2873 var o = new core.List<api.RealtimeDataColumnHeaders>();
2810 o.add(buildRealtimeDataColumnHeaders()); 2874 o.add(buildRealtimeDataColumnHeaders());
2811 o.add(buildRealtimeDataColumnHeaders()); 2875 o.add(buildRealtimeDataColumnHeaders());
2812 return o; 2876 return o;
2813 } 2877 }
2814 2878
2815 checkUnnamed342(core.List<api.RealtimeDataColumnHeaders> o) { 2879 checkUnnamed1131(core.List<api.RealtimeDataColumnHeaders> o) {
2816 unittest.expect(o, unittest.hasLength(2)); 2880 unittest.expect(o, unittest.hasLength(2));
2817 checkRealtimeDataColumnHeaders(o[0]); 2881 checkRealtimeDataColumnHeaders(o[0]);
2818 checkRealtimeDataColumnHeaders(o[1]); 2882 checkRealtimeDataColumnHeaders(o[1]);
2819 } 2883 }
2820 2884
2821 core.int buildCounterRealtimeDataProfileInfo = 0; 2885 core.int buildCounterRealtimeDataProfileInfo = 0;
2822 buildRealtimeDataProfileInfo() { 2886 buildRealtimeDataProfileInfo() {
2823 var o = new api.RealtimeDataProfileInfo(); 2887 var o = new api.RealtimeDataProfileInfo();
2824 buildCounterRealtimeDataProfileInfo++; 2888 buildCounterRealtimeDataProfileInfo++;
2825 if (buildCounterRealtimeDataProfileInfo < 3) { 2889 if (buildCounterRealtimeDataProfileInfo < 3) {
(...skipping 14 matching lines...) Expand all
2840 unittest.expect(o.accountId, unittest.equals('foo')); 2904 unittest.expect(o.accountId, unittest.equals('foo'));
2841 unittest.expect(o.internalWebPropertyId, unittest.equals('foo')); 2905 unittest.expect(o.internalWebPropertyId, unittest.equals('foo'));
2842 unittest.expect(o.profileId, unittest.equals('foo')); 2906 unittest.expect(o.profileId, unittest.equals('foo'));
2843 unittest.expect(o.profileName, unittest.equals('foo')); 2907 unittest.expect(o.profileName, unittest.equals('foo'));
2844 unittest.expect(o.tableId, unittest.equals('foo')); 2908 unittest.expect(o.tableId, unittest.equals('foo'));
2845 unittest.expect(o.webPropertyId, unittest.equals('foo')); 2909 unittest.expect(o.webPropertyId, unittest.equals('foo'));
2846 } 2910 }
2847 buildCounterRealtimeDataProfileInfo--; 2911 buildCounterRealtimeDataProfileInfo--;
2848 } 2912 }
2849 2913
2850 buildUnnamed343() { 2914 buildUnnamed1132() {
2851 var o = new core.List<core.String>(); 2915 var o = new core.List<core.String>();
2852 o.add("foo"); 2916 o.add("foo");
2853 o.add("foo"); 2917 o.add("foo");
2854 return o; 2918 return o;
2855 } 2919 }
2856 2920
2857 checkUnnamed343(core.List<core.String> o) { 2921 checkUnnamed1132(core.List<core.String> o) {
2858 unittest.expect(o, unittest.hasLength(2)); 2922 unittest.expect(o, unittest.hasLength(2));
2859 unittest.expect(o[0], unittest.equals('foo')); 2923 unittest.expect(o[0], unittest.equals('foo'));
2860 unittest.expect(o[1], unittest.equals('foo')); 2924 unittest.expect(o[1], unittest.equals('foo'));
2861 } 2925 }
2862 2926
2863 buildUnnamed344() { 2927 buildUnnamed1133() {
2864 var o = new core.List<core.String>(); 2928 var o = new core.List<core.String>();
2865 o.add("foo"); 2929 o.add("foo");
2866 o.add("foo"); 2930 o.add("foo");
2867 return o; 2931 return o;
2868 } 2932 }
2869 2933
2870 checkUnnamed344(core.List<core.String> o) { 2934 checkUnnamed1133(core.List<core.String> o) {
2871 unittest.expect(o, unittest.hasLength(2)); 2935 unittest.expect(o, unittest.hasLength(2));
2872 unittest.expect(o[0], unittest.equals('foo')); 2936 unittest.expect(o[0], unittest.equals('foo'));
2873 unittest.expect(o[1], unittest.equals('foo')); 2937 unittest.expect(o[1], unittest.equals('foo'));
2874 } 2938 }
2875 2939
2876 core.int buildCounterRealtimeDataQuery = 0; 2940 core.int buildCounterRealtimeDataQuery = 0;
2877 buildRealtimeDataQuery() { 2941 buildRealtimeDataQuery() {
2878 var o = new api.RealtimeDataQuery(); 2942 var o = new api.RealtimeDataQuery();
2879 buildCounterRealtimeDataQuery++; 2943 buildCounterRealtimeDataQuery++;
2880 if (buildCounterRealtimeDataQuery < 3) { 2944 if (buildCounterRealtimeDataQuery < 3) {
2881 o.dimensions = "foo"; 2945 o.dimensions = "foo";
2882 o.filters = "foo"; 2946 o.filters = "foo";
2883 o.ids = "foo"; 2947 o.ids = "foo";
2884 o.max_results = 42; 2948 o.max_results = 42;
2885 o.metrics = buildUnnamed343(); 2949 o.metrics = buildUnnamed1132();
2886 o.sort = buildUnnamed344(); 2950 o.sort = buildUnnamed1133();
2887 } 2951 }
2888 buildCounterRealtimeDataQuery--; 2952 buildCounterRealtimeDataQuery--;
2889 return o; 2953 return o;
2890 } 2954 }
2891 2955
2892 checkRealtimeDataQuery(api.RealtimeDataQuery o) { 2956 checkRealtimeDataQuery(api.RealtimeDataQuery o) {
2893 buildCounterRealtimeDataQuery++; 2957 buildCounterRealtimeDataQuery++;
2894 if (buildCounterRealtimeDataQuery < 3) { 2958 if (buildCounterRealtimeDataQuery < 3) {
2895 unittest.expect(o.dimensions, unittest.equals('foo')); 2959 unittest.expect(o.dimensions, unittest.equals('foo'));
2896 unittest.expect(o.filters, unittest.equals('foo')); 2960 unittest.expect(o.filters, unittest.equals('foo'));
2897 unittest.expect(o.ids, unittest.equals('foo')); 2961 unittest.expect(o.ids, unittest.equals('foo'));
2898 unittest.expect(o.max_results, unittest.equals(42)); 2962 unittest.expect(o.max_results, unittest.equals(42));
2899 checkUnnamed343(o.metrics); 2963 checkUnnamed1132(o.metrics);
2900 checkUnnamed344(o.sort); 2964 checkUnnamed1133(o.sort);
2901 } 2965 }
2902 buildCounterRealtimeDataQuery--; 2966 buildCounterRealtimeDataQuery--;
2903 } 2967 }
2904 2968
2905 buildUnnamed345() { 2969 buildUnnamed1134() {
2906 var o = new core.List<core.String>(); 2970 var o = new core.List<core.String>();
2907 o.add("foo"); 2971 o.add("foo");
2908 o.add("foo"); 2972 o.add("foo");
2909 return o; 2973 return o;
2910 } 2974 }
2911 2975
2912 checkUnnamed345(core.List<core.String> o) { 2976 checkUnnamed1134(core.List<core.String> o) {
2913 unittest.expect(o, unittest.hasLength(2)); 2977 unittest.expect(o, unittest.hasLength(2));
2914 unittest.expect(o[0], unittest.equals('foo')); 2978 unittest.expect(o[0], unittest.equals('foo'));
2915 unittest.expect(o[1], unittest.equals('foo')); 2979 unittest.expect(o[1], unittest.equals('foo'));
2916 } 2980 }
2917 2981
2918 buildUnnamed346() { 2982 buildUnnamed1135() {
2919 var o = new core.List<core.List<core.String>>(); 2983 var o = new core.List<core.List<core.String>>();
2920 o.add(buildUnnamed345()); 2984 o.add(buildUnnamed1134());
2921 o.add(buildUnnamed345()); 2985 o.add(buildUnnamed1134());
2922 return o; 2986 return o;
2923 } 2987 }
2924 2988
2925 checkUnnamed346(core.List<core.List<core.String>> o) { 2989 checkUnnamed1135(core.List<core.List<core.String>> o) {
2926 unittest.expect(o, unittest.hasLength(2)); 2990 unittest.expect(o, unittest.hasLength(2));
2927 checkUnnamed345(o[0]); 2991 checkUnnamed1134(o[0]);
2928 checkUnnamed345(o[1]); 2992 checkUnnamed1134(o[1]);
2929 } 2993 }
2930 2994
2931 buildUnnamed347() { 2995 buildUnnamed1136() {
2932 var o = new core.Map<core.String, core.String>(); 2996 var o = new core.Map<core.String, core.String>();
2933 o["x"] = "foo"; 2997 o["x"] = "foo";
2934 o["y"] = "foo"; 2998 o["y"] = "foo";
2935 return o; 2999 return o;
2936 } 3000 }
2937 3001
2938 checkUnnamed347(core.Map<core.String, core.String> o) { 3002 checkUnnamed1136(core.Map<core.String, core.String> o) {
2939 unittest.expect(o, unittest.hasLength(2)); 3003 unittest.expect(o, unittest.hasLength(2));
2940 unittest.expect(o["x"], unittest.equals('foo')); 3004 unittest.expect(o["x"], unittest.equals('foo'));
2941 unittest.expect(o["y"], unittest.equals('foo')); 3005 unittest.expect(o["y"], unittest.equals('foo'));
2942 } 3006 }
2943 3007
2944 core.int buildCounterRealtimeData = 0; 3008 core.int buildCounterRealtimeData = 0;
2945 buildRealtimeData() { 3009 buildRealtimeData() {
2946 var o = new api.RealtimeData(); 3010 var o = new api.RealtimeData();
2947 buildCounterRealtimeData++; 3011 buildCounterRealtimeData++;
2948 if (buildCounterRealtimeData < 3) { 3012 if (buildCounterRealtimeData < 3) {
2949 o.columnHeaders = buildUnnamed342(); 3013 o.columnHeaders = buildUnnamed1131();
2950 o.id = "foo"; 3014 o.id = "foo";
2951 o.kind = "foo"; 3015 o.kind = "foo";
2952 o.profileInfo = buildRealtimeDataProfileInfo(); 3016 o.profileInfo = buildRealtimeDataProfileInfo();
2953 o.query = buildRealtimeDataQuery(); 3017 o.query = buildRealtimeDataQuery();
2954 o.rows = buildUnnamed346(); 3018 o.rows = buildUnnamed1135();
2955 o.selfLink = "foo"; 3019 o.selfLink = "foo";
2956 o.totalResults = 42; 3020 o.totalResults = 42;
2957 o.totalsForAllResults = buildUnnamed347(); 3021 o.totalsForAllResults = buildUnnamed1136();
2958 } 3022 }
2959 buildCounterRealtimeData--; 3023 buildCounterRealtimeData--;
2960 return o; 3024 return o;
2961 } 3025 }
2962 3026
2963 checkRealtimeData(api.RealtimeData o) { 3027 checkRealtimeData(api.RealtimeData o) {
2964 buildCounterRealtimeData++; 3028 buildCounterRealtimeData++;
2965 if (buildCounterRealtimeData < 3) { 3029 if (buildCounterRealtimeData < 3) {
2966 checkUnnamed342(o.columnHeaders); 3030 checkUnnamed1131(o.columnHeaders);
2967 unittest.expect(o.id, unittest.equals('foo')); 3031 unittest.expect(o.id, unittest.equals('foo'));
2968 unittest.expect(o.kind, unittest.equals('foo')); 3032 unittest.expect(o.kind, unittest.equals('foo'));
2969 checkRealtimeDataProfileInfo(o.profileInfo); 3033 checkRealtimeDataProfileInfo(o.profileInfo);
2970 checkRealtimeDataQuery(o.query); 3034 checkRealtimeDataQuery(o.query);
2971 checkUnnamed346(o.rows); 3035 checkUnnamed1135(o.rows);
2972 unittest.expect(o.selfLink, unittest.equals('foo')); 3036 unittest.expect(o.selfLink, unittest.equals('foo'));
2973 unittest.expect(o.totalResults, unittest.equals(42)); 3037 unittest.expect(o.totalResults, unittest.equals(42));
2974 checkUnnamed347(o.totalsForAllResults); 3038 checkUnnamed1136(o.totalsForAllResults);
2975 } 3039 }
2976 buildCounterRealtimeData--; 3040 buildCounterRealtimeData--;
2977 } 3041 }
2978 3042
3043 core.int buildCounterRemarketingAudienceAudienceDefinition = 0;
3044 buildRemarketingAudienceAudienceDefinition() {
3045 var o = new api.RemarketingAudienceAudienceDefinition();
3046 buildCounterRemarketingAudienceAudienceDefinition++;
3047 if (buildCounterRemarketingAudienceAudienceDefinition < 3) {
3048 o.includeConditions = buildIncludeConditions();
3049 }
3050 buildCounterRemarketingAudienceAudienceDefinition--;
3051 return o;
3052 }
3053
3054 checkRemarketingAudienceAudienceDefinition(api.RemarketingAudienceAudienceDefini tion o) {
3055 buildCounterRemarketingAudienceAudienceDefinition++;
3056 if (buildCounterRemarketingAudienceAudienceDefinition < 3) {
3057 checkIncludeConditions(o.includeConditions);
3058 }
3059 buildCounterRemarketingAudienceAudienceDefinition--;
3060 }
3061
3062 buildUnnamed1137() {
3063 var o = new core.List<api.LinkedForeignAccount>();
3064 o.add(buildLinkedForeignAccount());
3065 o.add(buildLinkedForeignAccount());
3066 return o;
3067 }
3068
3069 checkUnnamed1137(core.List<api.LinkedForeignAccount> o) {
3070 unittest.expect(o, unittest.hasLength(2));
3071 checkLinkedForeignAccount(o[0]);
3072 checkLinkedForeignAccount(o[1]);
3073 }
3074
3075 buildUnnamed1138() {
3076 var o = new core.List<core.String>();
3077 o.add("foo");
3078 o.add("foo");
3079 return o;
3080 }
3081
3082 checkUnnamed1138(core.List<core.String> o) {
3083 unittest.expect(o, unittest.hasLength(2));
3084 unittest.expect(o[0], unittest.equals('foo'));
3085 unittest.expect(o[1], unittest.equals('foo'));
3086 }
3087
3088 core.int buildCounterRemarketingAudienceStateBasedAudienceDefinitionExcludeCondi tions = 0;
3089 buildRemarketingAudienceStateBasedAudienceDefinitionExcludeConditions() {
3090 var o = new api.RemarketingAudienceStateBasedAudienceDefinitionExcludeConditio ns();
3091 buildCounterRemarketingAudienceStateBasedAudienceDefinitionExcludeConditions++ ;
3092 if (buildCounterRemarketingAudienceStateBasedAudienceDefinitionExcludeConditio ns < 3) {
3093 o.exclusionDuration = "foo";
3094 o.segment = "foo";
3095 }
3096 buildCounterRemarketingAudienceStateBasedAudienceDefinitionExcludeConditions-- ;
3097 return o;
3098 }
3099
3100 checkRemarketingAudienceStateBasedAudienceDefinitionExcludeConditions(api.Remark etingAudienceStateBasedAudienceDefinitionExcludeConditions o) {
3101 buildCounterRemarketingAudienceStateBasedAudienceDefinitionExcludeConditions++ ;
3102 if (buildCounterRemarketingAudienceStateBasedAudienceDefinitionExcludeConditio ns < 3) {
3103 unittest.expect(o.exclusionDuration, unittest.equals('foo'));
3104 unittest.expect(o.segment, unittest.equals('foo'));
3105 }
3106 buildCounterRemarketingAudienceStateBasedAudienceDefinitionExcludeConditions-- ;
3107 }
3108
3109 core.int buildCounterRemarketingAudienceStateBasedAudienceDefinition = 0;
3110 buildRemarketingAudienceStateBasedAudienceDefinition() {
3111 var o = new api.RemarketingAudienceStateBasedAudienceDefinition();
3112 buildCounterRemarketingAudienceStateBasedAudienceDefinition++;
3113 if (buildCounterRemarketingAudienceStateBasedAudienceDefinition < 3) {
3114 o.excludeConditions = buildRemarketingAudienceStateBasedAudienceDefinitionEx cludeConditions();
3115 o.includeConditions = buildIncludeConditions();
3116 }
3117 buildCounterRemarketingAudienceStateBasedAudienceDefinition--;
3118 return o;
3119 }
3120
3121 checkRemarketingAudienceStateBasedAudienceDefinition(api.RemarketingAudienceStat eBasedAudienceDefinition o) {
3122 buildCounterRemarketingAudienceStateBasedAudienceDefinition++;
3123 if (buildCounterRemarketingAudienceStateBasedAudienceDefinition < 3) {
3124 checkRemarketingAudienceStateBasedAudienceDefinitionExcludeConditions(o.excl udeConditions);
3125 checkIncludeConditions(o.includeConditions);
3126 }
3127 buildCounterRemarketingAudienceStateBasedAudienceDefinition--;
3128 }
3129
3130 core.int buildCounterRemarketingAudience = 0;
3131 buildRemarketingAudience() {
3132 var o = new api.RemarketingAudience();
3133 buildCounterRemarketingAudience++;
3134 if (buildCounterRemarketingAudience < 3) {
3135 o.accountId = "foo";
3136 o.audienceDefinition = buildRemarketingAudienceAudienceDefinition();
3137 o.audienceType = "foo";
3138 o.created = core.DateTime.parse("2002-02-27T14:01:02");
3139 o.description = "foo";
3140 o.id = "foo";
3141 o.internalWebPropertyId = "foo";
3142 o.kind = "foo";
3143 o.linkedAdAccounts = buildUnnamed1137();
3144 o.linkedViews = buildUnnamed1138();
3145 o.name = "foo";
3146 o.stateBasedAudienceDefinition = buildRemarketingAudienceStateBasedAudienceD efinition();
3147 o.updated = core.DateTime.parse("2002-02-27T14:01:02");
3148 o.webPropertyId = "foo";
3149 }
3150 buildCounterRemarketingAudience--;
3151 return o;
3152 }
3153
3154 checkRemarketingAudience(api.RemarketingAudience o) {
3155 buildCounterRemarketingAudience++;
3156 if (buildCounterRemarketingAudience < 3) {
3157 unittest.expect(o.accountId, unittest.equals('foo'));
3158 checkRemarketingAudienceAudienceDefinition(o.audienceDefinition);
3159 unittest.expect(o.audienceType, unittest.equals('foo'));
3160 unittest.expect(o.created, unittest.equals(core.DateTime.parse("2002-02-27T1 4:01:02")));
3161 unittest.expect(o.description, unittest.equals('foo'));
3162 unittest.expect(o.id, unittest.equals('foo'));
3163 unittest.expect(o.internalWebPropertyId, unittest.equals('foo'));
3164 unittest.expect(o.kind, unittest.equals('foo'));
3165 checkUnnamed1137(o.linkedAdAccounts);
3166 checkUnnamed1138(o.linkedViews);
3167 unittest.expect(o.name, unittest.equals('foo'));
3168 checkRemarketingAudienceStateBasedAudienceDefinition(o.stateBasedAudienceDef inition);
3169 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1 4:01:02")));
3170 unittest.expect(o.webPropertyId, unittest.equals('foo'));
3171 }
3172 buildCounterRemarketingAudience--;
3173 }
3174
3175 buildUnnamed1139() {
3176 var o = new core.List<api.RemarketingAudience>();
3177 o.add(buildRemarketingAudience());
3178 o.add(buildRemarketingAudience());
3179 return o;
3180 }
3181
3182 checkUnnamed1139(core.List<api.RemarketingAudience> o) {
3183 unittest.expect(o, unittest.hasLength(2));
3184 checkRemarketingAudience(o[0]);
3185 checkRemarketingAudience(o[1]);
3186 }
3187
3188 core.int buildCounterRemarketingAudiences = 0;
3189 buildRemarketingAudiences() {
3190 var o = new api.RemarketingAudiences();
3191 buildCounterRemarketingAudiences++;
3192 if (buildCounterRemarketingAudiences < 3) {
3193 o.items = buildUnnamed1139();
3194 o.itemsPerPage = 42;
3195 o.kind = "foo";
3196 o.nextLink = "foo";
3197 o.previousLink = "foo";
3198 o.startIndex = 42;
3199 o.totalResults = 42;
3200 o.username = "foo";
3201 }
3202 buildCounterRemarketingAudiences--;
3203 return o;
3204 }
3205
3206 checkRemarketingAudiences(api.RemarketingAudiences o) {
3207 buildCounterRemarketingAudiences++;
3208 if (buildCounterRemarketingAudiences < 3) {
3209 checkUnnamed1139(o.items);
3210 unittest.expect(o.itemsPerPage, unittest.equals(42));
3211 unittest.expect(o.kind, unittest.equals('foo'));
3212 unittest.expect(o.nextLink, unittest.equals('foo'));
3213 unittest.expect(o.previousLink, unittest.equals('foo'));
3214 unittest.expect(o.startIndex, unittest.equals(42));
3215 unittest.expect(o.totalResults, unittest.equals(42));
3216 unittest.expect(o.username, unittest.equals('foo'));
3217 }
3218 buildCounterRemarketingAudiences--;
3219 }
3220
2979 core.int buildCounterSegment = 0; 3221 core.int buildCounterSegment = 0;
2980 buildSegment() { 3222 buildSegment() {
2981 var o = new api.Segment(); 3223 var o = new api.Segment();
2982 buildCounterSegment++; 3224 buildCounterSegment++;
2983 if (buildCounterSegment < 3) { 3225 if (buildCounterSegment < 3) {
2984 o.created = core.DateTime.parse("2002-02-27T14:01:02"); 3226 o.created = core.DateTime.parse("2002-02-27T14:01:02");
2985 o.definition = "foo"; 3227 o.definition = "foo";
2986 o.id = "foo"; 3228 o.id = "foo";
2987 o.kind = "foo"; 3229 o.kind = "foo";
2988 o.name = "foo"; 3230 o.name = "foo";
(...skipping 15 matching lines...) Expand all
3004 unittest.expect(o.kind, unittest.equals('foo')); 3246 unittest.expect(o.kind, unittest.equals('foo'));
3005 unittest.expect(o.name, unittest.equals('foo')); 3247 unittest.expect(o.name, unittest.equals('foo'));
3006 unittest.expect(o.segmentId, unittest.equals('foo')); 3248 unittest.expect(o.segmentId, unittest.equals('foo'));
3007 unittest.expect(o.selfLink, unittest.equals('foo')); 3249 unittest.expect(o.selfLink, unittest.equals('foo'));
3008 unittest.expect(o.type, unittest.equals('foo')); 3250 unittest.expect(o.type, unittest.equals('foo'));
3009 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1 4:01:02"))); 3251 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1 4:01:02")));
3010 } 3252 }
3011 buildCounterSegment--; 3253 buildCounterSegment--;
3012 } 3254 }
3013 3255
3014 buildUnnamed348() { 3256 buildUnnamed1140() {
3015 var o = new core.List<api.Segment>(); 3257 var o = new core.List<api.Segment>();
3016 o.add(buildSegment()); 3258 o.add(buildSegment());
3017 o.add(buildSegment()); 3259 o.add(buildSegment());
3018 return o; 3260 return o;
3019 } 3261 }
3020 3262
3021 checkUnnamed348(core.List<api.Segment> o) { 3263 checkUnnamed1140(core.List<api.Segment> o) {
3022 unittest.expect(o, unittest.hasLength(2)); 3264 unittest.expect(o, unittest.hasLength(2));
3023 checkSegment(o[0]); 3265 checkSegment(o[0]);
3024 checkSegment(o[1]); 3266 checkSegment(o[1]);
3025 } 3267 }
3026 3268
3027 core.int buildCounterSegments = 0; 3269 core.int buildCounterSegments = 0;
3028 buildSegments() { 3270 buildSegments() {
3029 var o = new api.Segments(); 3271 var o = new api.Segments();
3030 buildCounterSegments++; 3272 buildCounterSegments++;
3031 if (buildCounterSegments < 3) { 3273 if (buildCounterSegments < 3) {
3032 o.items = buildUnnamed348(); 3274 o.items = buildUnnamed1140();
3033 o.itemsPerPage = 42; 3275 o.itemsPerPage = 42;
3034 o.kind = "foo"; 3276 o.kind = "foo";
3035 o.nextLink = "foo"; 3277 o.nextLink = "foo";
3036 o.previousLink = "foo"; 3278 o.previousLink = "foo";
3037 o.startIndex = 42; 3279 o.startIndex = 42;
3038 o.totalResults = 42; 3280 o.totalResults = 42;
3039 o.username = "foo"; 3281 o.username = "foo";
3040 } 3282 }
3041 buildCounterSegments--; 3283 buildCounterSegments--;
3042 return o; 3284 return o;
3043 } 3285 }
3044 3286
3045 checkSegments(api.Segments o) { 3287 checkSegments(api.Segments o) {
3046 buildCounterSegments++; 3288 buildCounterSegments++;
3047 if (buildCounterSegments < 3) { 3289 if (buildCounterSegments < 3) {
3048 checkUnnamed348(o.items); 3290 checkUnnamed1140(o.items);
3049 unittest.expect(o.itemsPerPage, unittest.equals(42)); 3291 unittest.expect(o.itemsPerPage, unittest.equals(42));
3050 unittest.expect(o.kind, unittest.equals('foo')); 3292 unittest.expect(o.kind, unittest.equals('foo'));
3051 unittest.expect(o.nextLink, unittest.equals('foo')); 3293 unittest.expect(o.nextLink, unittest.equals('foo'));
3052 unittest.expect(o.previousLink, unittest.equals('foo')); 3294 unittest.expect(o.previousLink, unittest.equals('foo'));
3053 unittest.expect(o.startIndex, unittest.equals(42)); 3295 unittest.expect(o.startIndex, unittest.equals(42));
3054 unittest.expect(o.totalResults, unittest.equals(42)); 3296 unittest.expect(o.totalResults, unittest.equals(42));
3055 unittest.expect(o.username, unittest.equals('foo')); 3297 unittest.expect(o.username, unittest.equals('foo'));
3056 } 3298 }
3057 buildCounterSegments--; 3299 buildCounterSegments--;
3058 } 3300 }
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
3145 unittest.expect(o.selfLink, unittest.equals('foo')); 3387 unittest.expect(o.selfLink, unittest.equals('foo'));
3146 unittest.expect(o.start_date, unittest.equals('foo')); 3388 unittest.expect(o.start_date, unittest.equals('foo'));
3147 unittest.expect(o.status, unittest.equals('foo')); 3389 unittest.expect(o.status, unittest.equals('foo'));
3148 unittest.expect(o.title, unittest.equals('foo')); 3390 unittest.expect(o.title, unittest.equals('foo'));
3149 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1 4:01:02"))); 3391 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1 4:01:02")));
3150 unittest.expect(o.webPropertyId, unittest.equals('foo')); 3392 unittest.expect(o.webPropertyId, unittest.equals('foo'));
3151 } 3393 }
3152 buildCounterUnsampledReport--; 3394 buildCounterUnsampledReport--;
3153 } 3395 }
3154 3396
3155 buildUnnamed349() { 3397 buildUnnamed1141() {
3156 var o = new core.List<api.UnsampledReport>(); 3398 var o = new core.List<api.UnsampledReport>();
3157 o.add(buildUnsampledReport()); 3399 o.add(buildUnsampledReport());
3158 o.add(buildUnsampledReport()); 3400 o.add(buildUnsampledReport());
3159 return o; 3401 return o;
3160 } 3402 }
3161 3403
3162 checkUnnamed349(core.List<api.UnsampledReport> o) { 3404 checkUnnamed1141(core.List<api.UnsampledReport> o) {
3163 unittest.expect(o, unittest.hasLength(2)); 3405 unittest.expect(o, unittest.hasLength(2));
3164 checkUnsampledReport(o[0]); 3406 checkUnsampledReport(o[0]);
3165 checkUnsampledReport(o[1]); 3407 checkUnsampledReport(o[1]);
3166 } 3408 }
3167 3409
3168 core.int buildCounterUnsampledReports = 0; 3410 core.int buildCounterUnsampledReports = 0;
3169 buildUnsampledReports() { 3411 buildUnsampledReports() {
3170 var o = new api.UnsampledReports(); 3412 var o = new api.UnsampledReports();
3171 buildCounterUnsampledReports++; 3413 buildCounterUnsampledReports++;
3172 if (buildCounterUnsampledReports < 3) { 3414 if (buildCounterUnsampledReports < 3) {
3173 o.items = buildUnnamed349(); 3415 o.items = buildUnnamed1141();
3174 o.itemsPerPage = 42; 3416 o.itemsPerPage = 42;
3175 o.kind = "foo"; 3417 o.kind = "foo";
3176 o.nextLink = "foo"; 3418 o.nextLink = "foo";
3177 o.previousLink = "foo"; 3419 o.previousLink = "foo";
3178 o.startIndex = 42; 3420 o.startIndex = 42;
3179 o.totalResults = 42; 3421 o.totalResults = 42;
3180 o.username = "foo"; 3422 o.username = "foo";
3181 } 3423 }
3182 buildCounterUnsampledReports--; 3424 buildCounterUnsampledReports--;
3183 return o; 3425 return o;
3184 } 3426 }
3185 3427
3186 checkUnsampledReports(api.UnsampledReports o) { 3428 checkUnsampledReports(api.UnsampledReports o) {
3187 buildCounterUnsampledReports++; 3429 buildCounterUnsampledReports++;
3188 if (buildCounterUnsampledReports < 3) { 3430 if (buildCounterUnsampledReports < 3) {
3189 checkUnnamed349(o.items); 3431 checkUnnamed1141(o.items);
3190 unittest.expect(o.itemsPerPage, unittest.equals(42)); 3432 unittest.expect(o.itemsPerPage, unittest.equals(42));
3191 unittest.expect(o.kind, unittest.equals('foo')); 3433 unittest.expect(o.kind, unittest.equals('foo'));
3192 unittest.expect(o.nextLink, unittest.equals('foo')); 3434 unittest.expect(o.nextLink, unittest.equals('foo'));
3193 unittest.expect(o.previousLink, unittest.equals('foo')); 3435 unittest.expect(o.previousLink, unittest.equals('foo'));
3194 unittest.expect(o.startIndex, unittest.equals(42)); 3436 unittest.expect(o.startIndex, unittest.equals(42));
3195 unittest.expect(o.totalResults, unittest.equals(42)); 3437 unittest.expect(o.totalResults, unittest.equals(42));
3196 unittest.expect(o.username, unittest.equals('foo')); 3438 unittest.expect(o.username, unittest.equals('foo'));
3197 } 3439 }
3198 buildCounterUnsampledReports--; 3440 buildCounterUnsampledReports--;
3199 } 3441 }
3200 3442
3201 buildUnnamed350() { 3443 buildUnnamed1142() {
3202 var o = new core.List<core.String>(); 3444 var o = new core.List<core.String>();
3203 o.add("foo"); 3445 o.add("foo");
3204 o.add("foo"); 3446 o.add("foo");
3205 return o; 3447 return o;
3206 } 3448 }
3207 3449
3208 checkUnnamed350(core.List<core.String> o) { 3450 checkUnnamed1142(core.List<core.String> o) {
3209 unittest.expect(o, unittest.hasLength(2)); 3451 unittest.expect(o, unittest.hasLength(2));
3210 unittest.expect(o[0], unittest.equals('foo')); 3452 unittest.expect(o[0], unittest.equals('foo'));
3211 unittest.expect(o[1], unittest.equals('foo')); 3453 unittest.expect(o[1], unittest.equals('foo'));
3212 } 3454 }
3213 3455
3214 core.int buildCounterUpload = 0; 3456 core.int buildCounterUpload = 0;
3215 buildUpload() { 3457 buildUpload() {
3216 var o = new api.Upload(); 3458 var o = new api.Upload();
3217 buildCounterUpload++; 3459 buildCounterUpload++;
3218 if (buildCounterUpload < 3) { 3460 if (buildCounterUpload < 3) {
3219 o.accountId = "foo"; 3461 o.accountId = "foo";
3220 o.customDataSourceId = "foo"; 3462 o.customDataSourceId = "foo";
3221 o.errors = buildUnnamed350(); 3463 o.errors = buildUnnamed1142();
3222 o.id = "foo"; 3464 o.id = "foo";
3223 o.kind = "foo"; 3465 o.kind = "foo";
3224 o.status = "foo"; 3466 o.status = "foo";
3225 } 3467 }
3226 buildCounterUpload--; 3468 buildCounterUpload--;
3227 return o; 3469 return o;
3228 } 3470 }
3229 3471
3230 checkUpload(api.Upload o) { 3472 checkUpload(api.Upload o) {
3231 buildCounterUpload++; 3473 buildCounterUpload++;
3232 if (buildCounterUpload < 3) { 3474 if (buildCounterUpload < 3) {
3233 unittest.expect(o.accountId, unittest.equals('foo')); 3475 unittest.expect(o.accountId, unittest.equals('foo'));
3234 unittest.expect(o.customDataSourceId, unittest.equals('foo')); 3476 unittest.expect(o.customDataSourceId, unittest.equals('foo'));
3235 checkUnnamed350(o.errors); 3477 checkUnnamed1142(o.errors);
3236 unittest.expect(o.id, unittest.equals('foo')); 3478 unittest.expect(o.id, unittest.equals('foo'));
3237 unittest.expect(o.kind, unittest.equals('foo')); 3479 unittest.expect(o.kind, unittest.equals('foo'));
3238 unittest.expect(o.status, unittest.equals('foo')); 3480 unittest.expect(o.status, unittest.equals('foo'));
3239 } 3481 }
3240 buildCounterUpload--; 3482 buildCounterUpload--;
3241 } 3483 }
3242 3484
3243 buildUnnamed351() { 3485 buildUnnamed1143() {
3244 var o = new core.List<api.Upload>(); 3486 var o = new core.List<api.Upload>();
3245 o.add(buildUpload()); 3487 o.add(buildUpload());
3246 o.add(buildUpload()); 3488 o.add(buildUpload());
3247 return o; 3489 return o;
3248 } 3490 }
3249 3491
3250 checkUnnamed351(core.List<api.Upload> o) { 3492 checkUnnamed1143(core.List<api.Upload> o) {
3251 unittest.expect(o, unittest.hasLength(2)); 3493 unittest.expect(o, unittest.hasLength(2));
3252 checkUpload(o[0]); 3494 checkUpload(o[0]);
3253 checkUpload(o[1]); 3495 checkUpload(o[1]);
3254 } 3496 }
3255 3497
3256 core.int buildCounterUploads = 0; 3498 core.int buildCounterUploads = 0;
3257 buildUploads() { 3499 buildUploads() {
3258 var o = new api.Uploads(); 3500 var o = new api.Uploads();
3259 buildCounterUploads++; 3501 buildCounterUploads++;
3260 if (buildCounterUploads < 3) { 3502 if (buildCounterUploads < 3) {
3261 o.items = buildUnnamed351(); 3503 o.items = buildUnnamed1143();
3262 o.itemsPerPage = 42; 3504 o.itemsPerPage = 42;
3263 o.kind = "foo"; 3505 o.kind = "foo";
3264 o.nextLink = "foo"; 3506 o.nextLink = "foo";
3265 o.previousLink = "foo"; 3507 o.previousLink = "foo";
3266 o.startIndex = 42; 3508 o.startIndex = 42;
3267 o.totalResults = 42; 3509 o.totalResults = 42;
3268 } 3510 }
3269 buildCounterUploads--; 3511 buildCounterUploads--;
3270 return o; 3512 return o;
3271 } 3513 }
3272 3514
3273 checkUploads(api.Uploads o) { 3515 checkUploads(api.Uploads o) {
3274 buildCounterUploads++; 3516 buildCounterUploads++;
3275 if (buildCounterUploads < 3) { 3517 if (buildCounterUploads < 3) {
3276 checkUnnamed351(o.items); 3518 checkUnnamed1143(o.items);
3277 unittest.expect(o.itemsPerPage, unittest.equals(42)); 3519 unittest.expect(o.itemsPerPage, unittest.equals(42));
3278 unittest.expect(o.kind, unittest.equals('foo')); 3520 unittest.expect(o.kind, unittest.equals('foo'));
3279 unittest.expect(o.nextLink, unittest.equals('foo')); 3521 unittest.expect(o.nextLink, unittest.equals('foo'));
3280 unittest.expect(o.previousLink, unittest.equals('foo')); 3522 unittest.expect(o.previousLink, unittest.equals('foo'));
3281 unittest.expect(o.startIndex, unittest.equals(42)); 3523 unittest.expect(o.startIndex, unittest.equals(42));
3282 unittest.expect(o.totalResults, unittest.equals(42)); 3524 unittest.expect(o.totalResults, unittest.equals(42));
3283 } 3525 }
3284 buildCounterUploads--; 3526 buildCounterUploads--;
3285 } 3527 }
3286 3528
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
3329 unittest.expect(o.accountId, unittest.equals('foo')); 3571 unittest.expect(o.accountId, unittest.equals('foo'));
3330 unittest.expect(o.href, unittest.equals('foo')); 3572 unittest.expect(o.href, unittest.equals('foo'));
3331 unittest.expect(o.id, unittest.equals('foo')); 3573 unittest.expect(o.id, unittest.equals('foo'));
3332 unittest.expect(o.internalWebPropertyId, unittest.equals('foo')); 3574 unittest.expect(o.internalWebPropertyId, unittest.equals('foo'));
3333 unittest.expect(o.kind, unittest.equals('foo')); 3575 unittest.expect(o.kind, unittest.equals('foo'));
3334 unittest.expect(o.name, unittest.equals('foo')); 3576 unittest.expect(o.name, unittest.equals('foo'));
3335 } 3577 }
3336 buildCounterWebPropertyRef--; 3578 buildCounterWebPropertyRef--;
3337 } 3579 }
3338 3580
3339 buildUnnamed352() { 3581 buildUnnamed1144() {
3340 var o = new core.List<api.ProfileSummary>(); 3582 var o = new core.List<api.ProfileSummary>();
3341 o.add(buildProfileSummary()); 3583 o.add(buildProfileSummary());
3342 o.add(buildProfileSummary()); 3584 o.add(buildProfileSummary());
3343 return o; 3585 return o;
3344 } 3586 }
3345 3587
3346 checkUnnamed352(core.List<api.ProfileSummary> o) { 3588 checkUnnamed1144(core.List<api.ProfileSummary> o) {
3347 unittest.expect(o, unittest.hasLength(2)); 3589 unittest.expect(o, unittest.hasLength(2));
3348 checkProfileSummary(o[0]); 3590 checkProfileSummary(o[0]);
3349 checkProfileSummary(o[1]); 3591 checkProfileSummary(o[1]);
3350 } 3592 }
3351 3593
3352 core.int buildCounterWebPropertySummary = 0; 3594 core.int buildCounterWebPropertySummary = 0;
3353 buildWebPropertySummary() { 3595 buildWebPropertySummary() {
3354 var o = new api.WebPropertySummary(); 3596 var o = new api.WebPropertySummary();
3355 buildCounterWebPropertySummary++; 3597 buildCounterWebPropertySummary++;
3356 if (buildCounterWebPropertySummary < 3) { 3598 if (buildCounterWebPropertySummary < 3) {
3357 o.id = "foo"; 3599 o.id = "foo";
3358 o.internalWebPropertyId = "foo"; 3600 o.internalWebPropertyId = "foo";
3359 o.kind = "foo"; 3601 o.kind = "foo";
3360 o.level = "foo"; 3602 o.level = "foo";
3361 o.name = "foo"; 3603 o.name = "foo";
3362 o.profiles = buildUnnamed352(); 3604 o.profiles = buildUnnamed1144();
3363 o.starred = true; 3605 o.starred = true;
3364 o.websiteUrl = "foo"; 3606 o.websiteUrl = "foo";
3365 } 3607 }
3366 buildCounterWebPropertySummary--; 3608 buildCounterWebPropertySummary--;
3367 return o; 3609 return o;
3368 } 3610 }
3369 3611
3370 checkWebPropertySummary(api.WebPropertySummary o) { 3612 checkWebPropertySummary(api.WebPropertySummary o) {
3371 buildCounterWebPropertySummary++; 3613 buildCounterWebPropertySummary++;
3372 if (buildCounterWebPropertySummary < 3) { 3614 if (buildCounterWebPropertySummary < 3) {
3373 unittest.expect(o.id, unittest.equals('foo')); 3615 unittest.expect(o.id, unittest.equals('foo'));
3374 unittest.expect(o.internalWebPropertyId, unittest.equals('foo')); 3616 unittest.expect(o.internalWebPropertyId, unittest.equals('foo'));
3375 unittest.expect(o.kind, unittest.equals('foo')); 3617 unittest.expect(o.kind, unittest.equals('foo'));
3376 unittest.expect(o.level, unittest.equals('foo')); 3618 unittest.expect(o.level, unittest.equals('foo'));
3377 unittest.expect(o.name, unittest.equals('foo')); 3619 unittest.expect(o.name, unittest.equals('foo'));
3378 checkUnnamed352(o.profiles); 3620 checkUnnamed1144(o.profiles);
3379 unittest.expect(o.starred, unittest.isTrue); 3621 unittest.expect(o.starred, unittest.isTrue);
3380 unittest.expect(o.websiteUrl, unittest.equals('foo')); 3622 unittest.expect(o.websiteUrl, unittest.equals('foo'));
3381 } 3623 }
3382 buildCounterWebPropertySummary--; 3624 buildCounterWebPropertySummary--;
3383 } 3625 }
3384 3626
3385 buildUnnamed353() { 3627 buildUnnamed1145() {
3386 var o = new core.List<api.Webproperty>(); 3628 var o = new core.List<api.Webproperty>();
3387 o.add(buildWebproperty()); 3629 o.add(buildWebproperty());
3388 o.add(buildWebproperty()); 3630 o.add(buildWebproperty());
3389 return o; 3631 return o;
3390 } 3632 }
3391 3633
3392 checkUnnamed353(core.List<api.Webproperty> o) { 3634 checkUnnamed1145(core.List<api.Webproperty> o) {
3393 unittest.expect(o, unittest.hasLength(2)); 3635 unittest.expect(o, unittest.hasLength(2));
3394 checkWebproperty(o[0]); 3636 checkWebproperty(o[0]);
3395 checkWebproperty(o[1]); 3637 checkWebproperty(o[1]);
3396 } 3638 }
3397 3639
3398 core.int buildCounterWebproperties = 0; 3640 core.int buildCounterWebproperties = 0;
3399 buildWebproperties() { 3641 buildWebproperties() {
3400 var o = new api.Webproperties(); 3642 var o = new api.Webproperties();
3401 buildCounterWebproperties++; 3643 buildCounterWebproperties++;
3402 if (buildCounterWebproperties < 3) { 3644 if (buildCounterWebproperties < 3) {
3403 o.items = buildUnnamed353(); 3645 o.items = buildUnnamed1145();
3404 o.itemsPerPage = 42; 3646 o.itemsPerPage = 42;
3405 o.kind = "foo"; 3647 o.kind = "foo";
3406 o.nextLink = "foo"; 3648 o.nextLink = "foo";
3407 o.previousLink = "foo"; 3649 o.previousLink = "foo";
3408 o.startIndex = 42; 3650 o.startIndex = 42;
3409 o.totalResults = 42; 3651 o.totalResults = 42;
3410 o.username = "foo"; 3652 o.username = "foo";
3411 } 3653 }
3412 buildCounterWebproperties--; 3654 buildCounterWebproperties--;
3413 return o; 3655 return o;
3414 } 3656 }
3415 3657
3416 checkWebproperties(api.Webproperties o) { 3658 checkWebproperties(api.Webproperties o) {
3417 buildCounterWebproperties++; 3659 buildCounterWebproperties++;
3418 if (buildCounterWebproperties < 3) { 3660 if (buildCounterWebproperties < 3) {
3419 checkUnnamed353(o.items); 3661 checkUnnamed1145(o.items);
3420 unittest.expect(o.itemsPerPage, unittest.equals(42)); 3662 unittest.expect(o.itemsPerPage, unittest.equals(42));
3421 unittest.expect(o.kind, unittest.equals('foo')); 3663 unittest.expect(o.kind, unittest.equals('foo'));
3422 unittest.expect(o.nextLink, unittest.equals('foo')); 3664 unittest.expect(o.nextLink, unittest.equals('foo'));
3423 unittest.expect(o.previousLink, unittest.equals('foo')); 3665 unittest.expect(o.previousLink, unittest.equals('foo'));
3424 unittest.expect(o.startIndex, unittest.equals(42)); 3666 unittest.expect(o.startIndex, unittest.equals(42));
3425 unittest.expect(o.totalResults, unittest.equals(42)); 3667 unittest.expect(o.totalResults, unittest.equals(42));
3426 unittest.expect(o.username, unittest.equals('foo')); 3668 unittest.expect(o.username, unittest.equals('foo'));
3427 } 3669 }
3428 buildCounterWebproperties--; 3670 buildCounterWebproperties--;
3429 } 3671 }
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
3463 3705
3464 checkWebpropertyParentLink(api.WebpropertyParentLink o) { 3706 checkWebpropertyParentLink(api.WebpropertyParentLink o) {
3465 buildCounterWebpropertyParentLink++; 3707 buildCounterWebpropertyParentLink++;
3466 if (buildCounterWebpropertyParentLink < 3) { 3708 if (buildCounterWebpropertyParentLink < 3) {
3467 unittest.expect(o.href, unittest.equals('foo')); 3709 unittest.expect(o.href, unittest.equals('foo'));
3468 unittest.expect(o.type, unittest.equals('foo')); 3710 unittest.expect(o.type, unittest.equals('foo'));
3469 } 3711 }
3470 buildCounterWebpropertyParentLink--; 3712 buildCounterWebpropertyParentLink--;
3471 } 3713 }
3472 3714
3473 buildUnnamed354() { 3715 buildUnnamed1146() {
3474 var o = new core.List<core.String>(); 3716 var o = new core.List<core.String>();
3475 o.add("foo"); 3717 o.add("foo");
3476 o.add("foo"); 3718 o.add("foo");
3477 return o; 3719 return o;
3478 } 3720 }
3479 3721
3480 checkUnnamed354(core.List<core.String> o) { 3722 checkUnnamed1146(core.List<core.String> o) {
3481 unittest.expect(o, unittest.hasLength(2)); 3723 unittest.expect(o, unittest.hasLength(2));
3482 unittest.expect(o[0], unittest.equals('foo')); 3724 unittest.expect(o[0], unittest.equals('foo'));
3483 unittest.expect(o[1], unittest.equals('foo')); 3725 unittest.expect(o[1], unittest.equals('foo'));
3484 } 3726 }
3485 3727
3486 core.int buildCounterWebpropertyPermissions = 0; 3728 core.int buildCounterWebpropertyPermissions = 0;
3487 buildWebpropertyPermissions() { 3729 buildWebpropertyPermissions() {
3488 var o = new api.WebpropertyPermissions(); 3730 var o = new api.WebpropertyPermissions();
3489 buildCounterWebpropertyPermissions++; 3731 buildCounterWebpropertyPermissions++;
3490 if (buildCounterWebpropertyPermissions < 3) { 3732 if (buildCounterWebpropertyPermissions < 3) {
3491 o.effective = buildUnnamed354(); 3733 o.effective = buildUnnamed1146();
3492 } 3734 }
3493 buildCounterWebpropertyPermissions--; 3735 buildCounterWebpropertyPermissions--;
3494 return o; 3736 return o;
3495 } 3737 }
3496 3738
3497 checkWebpropertyPermissions(api.WebpropertyPermissions o) { 3739 checkWebpropertyPermissions(api.WebpropertyPermissions o) {
3498 buildCounterWebpropertyPermissions++; 3740 buildCounterWebpropertyPermissions++;
3499 if (buildCounterWebpropertyPermissions < 3) { 3741 if (buildCounterWebpropertyPermissions < 3) {
3500 checkUnnamed354(o.effective); 3742 checkUnnamed1146(o.effective);
3501 } 3743 }
3502 buildCounterWebpropertyPermissions--; 3744 buildCounterWebpropertyPermissions--;
3503 } 3745 }
3504 3746
3505 core.int buildCounterWebproperty = 0; 3747 core.int buildCounterWebproperty = 0;
3506 buildWebproperty() { 3748 buildWebproperty() {
3507 var o = new api.Webproperty(); 3749 var o = new api.Webproperty();
3508 buildCounterWebproperty++; 3750 buildCounterWebproperty++;
3509 if (buildCounterWebproperty < 3) { 3751 if (buildCounterWebproperty < 3) {
3510 o.accountId = "foo"; 3752 o.accountId = "foo";
(...skipping 568 matching lines...) Expand 10 before | Expand all | Expand 10 after
4079 4321
4080 unittest.group("obj-schema-Goals", () { 4322 unittest.group("obj-schema-Goals", () {
4081 unittest.test("to-json--from-json", () { 4323 unittest.test("to-json--from-json", () {
4082 var o = buildGoals(); 4324 var o = buildGoals();
4083 var od = new api.Goals.fromJson(o.toJson()); 4325 var od = new api.Goals.fromJson(o.toJson());
4084 checkGoals(od); 4326 checkGoals(od);
4085 }); 4327 });
4086 }); 4328 });
4087 4329
4088 4330
4331 unittest.group("obj-schema-IncludeConditions", () {
4332 unittest.test("to-json--from-json", () {
4333 var o = buildIncludeConditions();
4334 var od = new api.IncludeConditions.fromJson(o.toJson());
4335 checkIncludeConditions(od);
4336 });
4337 });
4338
4339
4340 unittest.group("obj-schema-LinkedForeignAccount", () {
4341 unittest.test("to-json--from-json", () {
4342 var o = buildLinkedForeignAccount();
4343 var od = new api.LinkedForeignAccount.fromJson(o.toJson());
4344 checkLinkedForeignAccount(od);
4345 });
4346 });
4347
4348
4089 unittest.group("obj-schema-McfDataColumnHeaders", () { 4349 unittest.group("obj-schema-McfDataColumnHeaders", () {
4090 unittest.test("to-json--from-json", () { 4350 unittest.test("to-json--from-json", () {
4091 var o = buildMcfDataColumnHeaders(); 4351 var o = buildMcfDataColumnHeaders();
4092 var od = new api.McfDataColumnHeaders.fromJson(o.toJson()); 4352 var od = new api.McfDataColumnHeaders.fromJson(o.toJson());
4093 checkMcfDataColumnHeaders(od); 4353 checkMcfDataColumnHeaders(od);
4094 }); 4354 });
4095 }); 4355 });
4096 4356
4097 4357
4098 unittest.group("obj-schema-McfDataProfileInfo", () { 4358 unittest.group("obj-schema-McfDataProfileInfo", () {
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
4250 4510
4251 unittest.group("obj-schema-RealtimeData", () { 4511 unittest.group("obj-schema-RealtimeData", () {
4252 unittest.test("to-json--from-json", () { 4512 unittest.test("to-json--from-json", () {
4253 var o = buildRealtimeData(); 4513 var o = buildRealtimeData();
4254 var od = new api.RealtimeData.fromJson(o.toJson()); 4514 var od = new api.RealtimeData.fromJson(o.toJson());
4255 checkRealtimeData(od); 4515 checkRealtimeData(od);
4256 }); 4516 });
4257 }); 4517 });
4258 4518
4259 4519
4520 unittest.group("obj-schema-RemarketingAudienceAudienceDefinition", () {
4521 unittest.test("to-json--from-json", () {
4522 var o = buildRemarketingAudienceAudienceDefinition();
4523 var od = new api.RemarketingAudienceAudienceDefinition.fromJson(o.toJson() );
4524 checkRemarketingAudienceAudienceDefinition(od);
4525 });
4526 });
4527
4528
4529 unittest.group("obj-schema-RemarketingAudienceStateBasedAudienceDefinitionExcl udeConditions", () {
4530 unittest.test("to-json--from-json", () {
4531 var o = buildRemarketingAudienceStateBasedAudienceDefinitionExcludeConditi ons();
4532 var od = new api.RemarketingAudienceStateBasedAudienceDefinitionExcludeCon ditions.fromJson(o.toJson());
4533 checkRemarketingAudienceStateBasedAudienceDefinitionExcludeConditions(od);
4534 });
4535 });
4536
4537
4538 unittest.group("obj-schema-RemarketingAudienceStateBasedAudienceDefinition", ( ) {
4539 unittest.test("to-json--from-json", () {
4540 var o = buildRemarketingAudienceStateBasedAudienceDefinition();
4541 var od = new api.RemarketingAudienceStateBasedAudienceDefinition.fromJson( o.toJson());
4542 checkRemarketingAudienceStateBasedAudienceDefinition(od);
4543 });
4544 });
4545
4546
4547 unittest.group("obj-schema-RemarketingAudience", () {
4548 unittest.test("to-json--from-json", () {
4549 var o = buildRemarketingAudience();
4550 var od = new api.RemarketingAudience.fromJson(o.toJson());
4551 checkRemarketingAudience(od);
4552 });
4553 });
4554
4555
4556 unittest.group("obj-schema-RemarketingAudiences", () {
4557 unittest.test("to-json--from-json", () {
4558 var o = buildRemarketingAudiences();
4559 var od = new api.RemarketingAudiences.fromJson(o.toJson());
4560 checkRemarketingAudiences(od);
4561 });
4562 });
4563
4564
4260 unittest.group("obj-schema-Segment", () { 4565 unittest.group("obj-schema-Segment", () {
4261 unittest.test("to-json--from-json", () { 4566 unittest.test("to-json--from-json", () {
4262 var o = buildSegment(); 4567 var o = buildSegment();
4263 var od = new api.Segment.fromJson(o.toJson()); 4568 var od = new api.Segment.fromJson(o.toJson());
4264 checkSegment(od); 4569 checkSegment(od);
4265 }); 4570 });
4266 }); 4571 });
4267 4572
4268 4573
4269 unittest.group("obj-schema-Segments", () { 4574 unittest.group("obj-schema-Segments", () {
(...skipping 3745 matching lines...) Expand 10 before | Expand all | Expand 10 after
8015 return new async.Future.value(stringResponse(200, h, resp)); 8320 return new async.Future.value(stringResponse(200, h, resp));
8016 }), true); 8321 }), true);
8017 res.update(arg_request, arg_accountId, arg_webPropertyId, arg_profileId).t hen(unittest.expectAsync(((api.Profile response) { 8322 res.update(arg_request, arg_accountId, arg_webPropertyId, arg_profileId).t hen(unittest.expectAsync(((api.Profile response) {
8018 checkProfile(response); 8323 checkProfile(response);
8019 }))); 8324 })));
8020 }); 8325 });
8021 8326
8022 }); 8327 });
8023 8328
8024 8329
8330 unittest.group("resource-ManagementRemarketingAudienceResourceApi", () {
8331 unittest.test("method--get", () {
8332
8333 var mock = new HttpServerMock();
8334 api.ManagementRemarketingAudienceResourceApi res = new api.AnalyticsApi(mo ck).management.remarketingAudience;
8335 var arg_accountId = "foo";
8336 var arg_webPropertyId = "foo";
8337 var arg_remarketingAudienceId = "foo";
8338 mock.register(unittest.expectAsync((http.BaseRequest req, json) {
8339 var path = (req.url).path;
8340 var pathOffset = 0;
8341 var index;
8342 var subPart;
8343 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/"));
8344 pathOffset += 1;
8345 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq uals("analytics/v3/"));
8346 pathOffset += 13;
8347 unittest.expect(path.substring(pathOffset, pathOffset + 20), unittest.eq uals("management/accounts/"));
8348 pathOffset += 20;
8349 index = path.indexOf("/webproperties/", pathOffset);
8350 unittest.expect(index >= 0, unittest.isTrue);
8351 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index ));
8352 pathOffset = index;
8353 unittest.expect(subPart, unittest.equals("$arg_accountId"));
8354 unittest.expect(path.substring(pathOffset, pathOffset + 15), unittest.eq uals("/webproperties/"));
8355 pathOffset += 15;
8356 index = path.indexOf("/remarketingAudiences/", pathOffset);
8357 unittest.expect(index >= 0, unittest.isTrue);
8358 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index ));
8359 pathOffset = index;
8360 unittest.expect(subPart, unittest.equals("$arg_webPropertyId"));
8361 unittest.expect(path.substring(pathOffset, pathOffset + 22), unittest.eq uals("/remarketingAudiences/"));
8362 pathOffset += 22;
8363 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset));
8364 pathOffset = path.length;
8365 unittest.expect(subPart, unittest.equals("$arg_remarketingAudienceId"));
8366
8367 var query = (req.url).query;
8368 var queryOffset = 0;
8369 var queryMap = {};
8370 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
8371 parseBool(n) {
8372 if (n == "true") return true;
8373 if (n == "false") return false;
8374 if (n == null) return null;
8375 throw new core.ArgumentError("Invalid boolean: $n");
8376 }
8377 if (query.length > 0) {
8378 for (var part in query.split("&")) {
8379 var keyvalue = part.split("=");
8380 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1]));
8381 }
8382 }
8383
8384
8385 var h = {
8386 "content-type" : "application/json; charset=utf-8",
8387 };
8388 var resp = convert.JSON.encode(buildRemarketingAudience());
8389 return new async.Future.value(stringResponse(200, h, resp));
8390 }), true);
8391 res.get(arg_accountId, arg_webPropertyId, arg_remarketingAudienceId).then( unittest.expectAsync(((api.RemarketingAudience response) {
8392 checkRemarketingAudience(response);
8393 })));
8394 });
8395
8396 unittest.test("method--insert", () {
8397
8398 var mock = new HttpServerMock();
8399 api.ManagementRemarketingAudienceResourceApi res = new api.AnalyticsApi(mo ck).management.remarketingAudience;
8400 var arg_request = buildRemarketingAudience();
8401 var arg_accountId = "foo";
8402 var arg_webPropertyId = "foo";
8403 mock.register(unittest.expectAsync((http.BaseRequest req, json) {
8404 var obj = new api.RemarketingAudience.fromJson(json);
8405 checkRemarketingAudience(obj);
8406
8407 var path = (req.url).path;
8408 var pathOffset = 0;
8409 var index;
8410 var subPart;
8411 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/"));
8412 pathOffset += 1;
8413 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq uals("analytics/v3/"));
8414 pathOffset += 13;
8415 unittest.expect(path.substring(pathOffset, pathOffset + 20), unittest.eq uals("management/accounts/"));
8416 pathOffset += 20;
8417 index = path.indexOf("/webproperties/", pathOffset);
8418 unittest.expect(index >= 0, unittest.isTrue);
8419 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index ));
8420 pathOffset = index;
8421 unittest.expect(subPart, unittest.equals("$arg_accountId"));
8422 unittest.expect(path.substring(pathOffset, pathOffset + 15), unittest.eq uals("/webproperties/"));
8423 pathOffset += 15;
8424 index = path.indexOf("/remarketingAudiences", pathOffset);
8425 unittest.expect(index >= 0, unittest.isTrue);
8426 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index ));
8427 pathOffset = index;
8428 unittest.expect(subPart, unittest.equals("$arg_webPropertyId"));
8429 unittest.expect(path.substring(pathOffset, pathOffset + 21), unittest.eq uals("/remarketingAudiences"));
8430 pathOffset += 21;
8431
8432 var query = (req.url).query;
8433 var queryOffset = 0;
8434 var queryMap = {};
8435 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
8436 parseBool(n) {
8437 if (n == "true") return true;
8438 if (n == "false") return false;
8439 if (n == null) return null;
8440 throw new core.ArgumentError("Invalid boolean: $n");
8441 }
8442 if (query.length > 0) {
8443 for (var part in query.split("&")) {
8444 var keyvalue = part.split("=");
8445 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1]));
8446 }
8447 }
8448
8449
8450 var h = {
8451 "content-type" : "application/json; charset=utf-8",
8452 };
8453 var resp = convert.JSON.encode(buildRemarketingAudience());
8454 return new async.Future.value(stringResponse(200, h, resp));
8455 }), true);
8456 res.insert(arg_request, arg_accountId, arg_webPropertyId).then(unittest.ex pectAsync(((api.RemarketingAudience response) {
8457 checkRemarketingAudience(response);
8458 })));
8459 });
8460
8461 unittest.test("method--list", () {
8462
8463 var mock = new HttpServerMock();
8464 api.ManagementRemarketingAudienceResourceApi res = new api.AnalyticsApi(mo ck).management.remarketingAudience;
8465 var arg_accountId = "foo";
8466 var arg_webPropertyId = "foo";
8467 var arg_max_results = 42;
8468 var arg_start_index = 42;
8469 var arg_type = "foo";
8470 mock.register(unittest.expectAsync((http.BaseRequest req, json) {
8471 var path = (req.url).path;
8472 var pathOffset = 0;
8473 var index;
8474 var subPart;
8475 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/"));
8476 pathOffset += 1;
8477 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq uals("analytics/v3/"));
8478 pathOffset += 13;
8479 unittest.expect(path.substring(pathOffset, pathOffset + 20), unittest.eq uals("management/accounts/"));
8480 pathOffset += 20;
8481 index = path.indexOf("/webproperties/", pathOffset);
8482 unittest.expect(index >= 0, unittest.isTrue);
8483 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index ));
8484 pathOffset = index;
8485 unittest.expect(subPart, unittest.equals("$arg_accountId"));
8486 unittest.expect(path.substring(pathOffset, pathOffset + 15), unittest.eq uals("/webproperties/"));
8487 pathOffset += 15;
8488 index = path.indexOf("/remarketingAudiences", pathOffset);
8489 unittest.expect(index >= 0, unittest.isTrue);
8490 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index ));
8491 pathOffset = index;
8492 unittest.expect(subPart, unittest.equals("$arg_webPropertyId"));
8493 unittest.expect(path.substring(pathOffset, pathOffset + 21), unittest.eq uals("/remarketingAudiences"));
8494 pathOffset += 21;
8495
8496 var query = (req.url).query;
8497 var queryOffset = 0;
8498 var queryMap = {};
8499 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
8500 parseBool(n) {
8501 if (n == "true") return true;
8502 if (n == "false") return false;
8503 if (n == null) return null;
8504 throw new core.ArgumentError("Invalid boolean: $n");
8505 }
8506 if (query.length > 0) {
8507 for (var part in query.split("&")) {
8508 var keyvalue = part.split("=");
8509 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1]));
8510 }
8511 }
8512 unittest.expect(core.int.parse(queryMap["max-results"].first), unittest. equals(arg_max_results));
8513 unittest.expect(core.int.parse(queryMap["start-index"].first), unittest. equals(arg_start_index));
8514 unittest.expect(queryMap["type"].first, unittest.equals(arg_type));
8515
8516
8517 var h = {
8518 "content-type" : "application/json; charset=utf-8",
8519 };
8520 var resp = convert.JSON.encode(buildRemarketingAudiences());
8521 return new async.Future.value(stringResponse(200, h, resp));
8522 }), true);
8523 res.list(arg_accountId, arg_webPropertyId, max_results: arg_max_results, s tart_index: arg_start_index, type: arg_type).then(unittest.expectAsync(((api.Rem arketingAudiences response) {
8524 checkRemarketingAudiences(response);
8525 })));
8526 });
8527
8528 unittest.test("method--patch", () {
8529
8530 var mock = new HttpServerMock();
8531 api.ManagementRemarketingAudienceResourceApi res = new api.AnalyticsApi(mo ck).management.remarketingAudience;
8532 var arg_request = buildRemarketingAudience();
8533 var arg_accountId = "foo";
8534 var arg_webPropertyId = "foo";
8535 var arg_remarketingAudienceId = "foo";
8536 mock.register(unittest.expectAsync((http.BaseRequest req, json) {
8537 var obj = new api.RemarketingAudience.fromJson(json);
8538 checkRemarketingAudience(obj);
8539
8540 var path = (req.url).path;
8541 var pathOffset = 0;
8542 var index;
8543 var subPart;
8544 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/"));
8545 pathOffset += 1;
8546 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq uals("analytics/v3/"));
8547 pathOffset += 13;
8548 unittest.expect(path.substring(pathOffset, pathOffset + 20), unittest.eq uals("management/accounts/"));
8549 pathOffset += 20;
8550 index = path.indexOf("/webproperties/", pathOffset);
8551 unittest.expect(index >= 0, unittest.isTrue);
8552 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index ));
8553 pathOffset = index;
8554 unittest.expect(subPart, unittest.equals("$arg_accountId"));
8555 unittest.expect(path.substring(pathOffset, pathOffset + 15), unittest.eq uals("/webproperties/"));
8556 pathOffset += 15;
8557 index = path.indexOf("/remarketingAudiences/", pathOffset);
8558 unittest.expect(index >= 0, unittest.isTrue);
8559 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index ));
8560 pathOffset = index;
8561 unittest.expect(subPart, unittest.equals("$arg_webPropertyId"));
8562 unittest.expect(path.substring(pathOffset, pathOffset + 22), unittest.eq uals("/remarketingAudiences/"));
8563 pathOffset += 22;
8564 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset));
8565 pathOffset = path.length;
8566 unittest.expect(subPart, unittest.equals("$arg_remarketingAudienceId"));
8567
8568 var query = (req.url).query;
8569 var queryOffset = 0;
8570 var queryMap = {};
8571 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
8572 parseBool(n) {
8573 if (n == "true") return true;
8574 if (n == "false") return false;
8575 if (n == null) return null;
8576 throw new core.ArgumentError("Invalid boolean: $n");
8577 }
8578 if (query.length > 0) {
8579 for (var part in query.split("&")) {
8580 var keyvalue = part.split("=");
8581 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1]));
8582 }
8583 }
8584
8585
8586 var h = {
8587 "content-type" : "application/json; charset=utf-8",
8588 };
8589 var resp = convert.JSON.encode(buildRemarketingAudience());
8590 return new async.Future.value(stringResponse(200, h, resp));
8591 }), true);
8592 res.patch(arg_request, arg_accountId, arg_webPropertyId, arg_remarketingAu dienceId).then(unittest.expectAsync(((api.RemarketingAudience response) {
8593 checkRemarketingAudience(response);
8594 })));
8595 });
8596
8597 unittest.test("method--update", () {
8598
8599 var mock = new HttpServerMock();
8600 api.ManagementRemarketingAudienceResourceApi res = new api.AnalyticsApi(mo ck).management.remarketingAudience;
8601 var arg_request = buildRemarketingAudience();
8602 var arg_accountId = "foo";
8603 var arg_webPropertyId = "foo";
8604 var arg_remarketingAudienceId = "foo";
8605 mock.register(unittest.expectAsync((http.BaseRequest req, json) {
8606 var obj = new api.RemarketingAudience.fromJson(json);
8607 checkRemarketingAudience(obj);
8608
8609 var path = (req.url).path;
8610 var pathOffset = 0;
8611 var index;
8612 var subPart;
8613 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/"));
8614 pathOffset += 1;
8615 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq uals("analytics/v3/"));
8616 pathOffset += 13;
8617 unittest.expect(path.substring(pathOffset, pathOffset + 20), unittest.eq uals("management/accounts/"));
8618 pathOffset += 20;
8619 index = path.indexOf("/webproperties/", pathOffset);
8620 unittest.expect(index >= 0, unittest.isTrue);
8621 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index ));
8622 pathOffset = index;
8623 unittest.expect(subPart, unittest.equals("$arg_accountId"));
8624 unittest.expect(path.substring(pathOffset, pathOffset + 15), unittest.eq uals("/webproperties/"));
8625 pathOffset += 15;
8626 index = path.indexOf("/remarketingAudiences/", pathOffset);
8627 unittest.expect(index >= 0, unittest.isTrue);
8628 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index ));
8629 pathOffset = index;
8630 unittest.expect(subPart, unittest.equals("$arg_webPropertyId"));
8631 unittest.expect(path.substring(pathOffset, pathOffset + 22), unittest.eq uals("/remarketingAudiences/"));
8632 pathOffset += 22;
8633 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset));
8634 pathOffset = path.length;
8635 unittest.expect(subPart, unittest.equals("$arg_remarketingAudienceId"));
8636
8637 var query = (req.url).query;
8638 var queryOffset = 0;
8639 var queryMap = {};
8640 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
8641 parseBool(n) {
8642 if (n == "true") return true;
8643 if (n == "false") return false;
8644 if (n == null) return null;
8645 throw new core.ArgumentError("Invalid boolean: $n");
8646 }
8647 if (query.length > 0) {
8648 for (var part in query.split("&")) {
8649 var keyvalue = part.split("=");
8650 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1]));
8651 }
8652 }
8653
8654
8655 var h = {
8656 "content-type" : "application/json; charset=utf-8",
8657 };
8658 var resp = convert.JSON.encode(buildRemarketingAudience());
8659 return new async.Future.value(stringResponse(200, h, resp));
8660 }), true);
8661 res.update(arg_request, arg_accountId, arg_webPropertyId, arg_remarketingA udienceId).then(unittest.expectAsync(((api.RemarketingAudience response) {
8662 checkRemarketingAudience(response);
8663 })));
8664 });
8665
8666 });
8667
8668
8025 unittest.group("resource-ManagementSegmentsResourceApi", () { 8669 unittest.group("resource-ManagementSegmentsResourceApi", () {
8026 unittest.test("method--list", () { 8670 unittest.test("method--list", () {
8027 8671
8028 var mock = new HttpServerMock(); 8672 var mock = new HttpServerMock();
8029 api.ManagementSegmentsResourceApi res = new api.AnalyticsApi(mock).managem ent.segments; 8673 api.ManagementSegmentsResourceApi res = new api.AnalyticsApi(mock).managem ent.segments;
8030 var arg_max_results = 42; 8674 var arg_max_results = 42;
8031 var arg_start_index = 42; 8675 var arg_start_index = 42;
8032 mock.register(unittest.expectAsync((http.BaseRequest req, json) { 8676 mock.register(unittest.expectAsync((http.BaseRequest req, json) {
8033 var path = (req.url).path; 8677 var path = (req.url).path;
8034 var pathOffset = 0; 8678 var pathOffset = 0;
(...skipping 1694 matching lines...) Expand 10 before | Expand all | Expand 10 after
9729 res.createAccountTicket(arg_request).then(unittest.expectAsync(((api.Accou ntTicket response) { 10373 res.createAccountTicket(arg_request).then(unittest.expectAsync(((api.Accou ntTicket response) {
9730 checkAccountTicket(response); 10374 checkAccountTicket(response);
9731 }))); 10375 })));
9732 }); 10376 });
9733 10377
9734 }); 10378 });
9735 10379
9736 10380
9737 } 10381 }
9738 10382
OLDNEW
« no previous file with comments | « generated/googleapis/test/adsensehost/v4_1_test.dart ('k') | generated/googleapis/test/analyticsreporting/v4_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698