| OLD | NEW |
| 1 library googleapis.dfareporting.v2_3.test; | 1 library googleapis.dfareporting.v2_4.test; |
| 2 | 2 |
| 3 import "dart:core" as core; | 3 import "dart:core" as core; |
| 4 import "dart:collection" as collection; | 4 import "dart:collection" as collection; |
| 5 import "dart:async" as async; | 5 import "dart:async" as async; |
| 6 import "dart:convert" as convert; | 6 import "dart:convert" as convert; |
| 7 | 7 |
| 8 import 'package:http/http.dart' as http; | 8 import 'package:http/http.dart' as http; |
| 9 import 'package:http/testing.dart' as http_testing; | 9 import 'package:http/testing.dart' as http_testing; |
| 10 import 'package:unittest/unittest.dart' as unittest; | 10 import 'package:unittest/unittest.dart' as unittest; |
| 11 | 11 |
| 12 import 'package:googleapis/dfareporting/v2_3.dart' as api; | 12 import 'package:googleapis/dfareporting/v2_4.dart' as api; |
| 13 | 13 |
| 14 class HttpServerMock extends http.BaseClient { | 14 class HttpServerMock extends http.BaseClient { |
| 15 core.Function _callback; | 15 core.Function _callback; |
| 16 core.bool _expectJson; | 16 core.bool _expectJson; |
| 17 | 17 |
| 18 void register(core.Function callback, core.bool expectJson) { | 18 void register(core.Function callback, core.bool expectJson) { |
| 19 _callback = callback; | 19 _callback = callback; |
| 20 _expectJson = expectJson; | 20 _expectJson = expectJson; |
| 21 } | 21 } |
| 22 | 22 |
| (...skipping 21 matching lines...) Expand all Loading... |
| 44 } | 44 } |
| 45 } | 45 } |
| 46 } | 46 } |
| 47 | 47 |
| 48 http.StreamedResponse stringResponse( | 48 http.StreamedResponse stringResponse( |
| 49 core.int status, core.Map headers, core.String body) { | 49 core.int status, core.Map headers, core.String body) { |
| 50 var stream = new async.Stream.fromIterable([convert.UTF8.encode(body)]); | 50 var stream = new async.Stream.fromIterable([convert.UTF8.encode(body)]); |
| 51 return new http.StreamedResponse(stream, status, headers: headers); | 51 return new http.StreamedResponse(stream, status, headers: headers); |
| 52 } | 52 } |
| 53 | 53 |
| 54 buildUnnamed1549() { | 54 buildUnnamed123() { |
| 55 var o = new core.List<core.String>(); | 55 var o = new core.List<core.String>(); |
| 56 o.add("foo"); | 56 o.add("foo"); |
| 57 o.add("foo"); | 57 o.add("foo"); |
| 58 return o; | 58 return o; |
| 59 } | 59 } |
| 60 | 60 |
| 61 checkUnnamed1549(core.List<core.String> o) { | 61 checkUnnamed123(core.List<core.String> o) { |
| 62 unittest.expect(o, unittest.hasLength(2)); | 62 unittest.expect(o, unittest.hasLength(2)); |
| 63 unittest.expect(o[0], unittest.equals('foo')); | 63 unittest.expect(o[0], unittest.equals('foo')); |
| 64 unittest.expect(o[1], unittest.equals('foo')); | 64 unittest.expect(o[1], unittest.equals('foo')); |
| 65 } | 65 } |
| 66 | 66 |
| 67 buildUnnamed1550() { | 67 buildUnnamed124() { |
| 68 var o = new core.List<core.String>(); | 68 var o = new core.List<core.String>(); |
| 69 o.add("foo"); | 69 o.add("foo"); |
| 70 o.add("foo"); | 70 o.add("foo"); |
| 71 return o; | 71 return o; |
| 72 } | 72 } |
| 73 | 73 |
| 74 checkUnnamed1550(core.List<core.String> o) { | 74 checkUnnamed124(core.List<core.String> o) { |
| 75 unittest.expect(o, unittest.hasLength(2)); | 75 unittest.expect(o, unittest.hasLength(2)); |
| 76 unittest.expect(o[0], unittest.equals('foo')); | 76 unittest.expect(o[0], unittest.equals('foo')); |
| 77 unittest.expect(o[1], unittest.equals('foo')); | 77 unittest.expect(o[1], unittest.equals('foo')); |
| 78 } | 78 } |
| 79 | 79 |
| 80 core.int buildCounterAccount = 0; | 80 core.int buildCounterAccount = 0; |
| 81 buildAccount() { | 81 buildAccount() { |
| 82 var o = new api.Account(); | 82 var o = new api.Account(); |
| 83 buildCounterAccount++; | 83 buildCounterAccount++; |
| 84 if (buildCounterAccount < 3) { | 84 if (buildCounterAccount < 3) { |
| 85 o.accountPermissionIds = buildUnnamed1549(); | 85 o.accountPermissionIds = buildUnnamed123(); |
| 86 o.accountProfile = "foo"; | 86 o.accountProfile = "foo"; |
| 87 o.active = true; | 87 o.active = true; |
| 88 o.activeAdsLimitTier = "foo"; | 88 o.activeAdsLimitTier = "foo"; |
| 89 o.activeViewOptOut = true; | 89 o.activeViewOptOut = true; |
| 90 o.availablePermissionIds = buildUnnamed1550(); | 90 o.availablePermissionIds = buildUnnamed124(); |
| 91 o.comscoreVceEnabled = true; | 91 o.comscoreVceEnabled = true; |
| 92 o.countryId = "foo"; | 92 o.countryId = "foo"; |
| 93 o.currencyId = "foo"; | 93 o.currencyId = "foo"; |
| 94 o.defaultCreativeSizeId = "foo"; | 94 o.defaultCreativeSizeId = "foo"; |
| 95 o.description = "foo"; | 95 o.description = "foo"; |
| 96 o.id = "foo"; | 96 o.id = "foo"; |
| 97 o.kind = "foo"; | 97 o.kind = "foo"; |
| 98 o.locale = "foo"; | 98 o.locale = "foo"; |
| 99 o.maximumImageSize = "foo"; | 99 o.maximumImageSize = "foo"; |
| 100 o.name = "foo"; | 100 o.name = "foo"; |
| 101 o.nielsenOcrEnabled = true; | 101 o.nielsenOcrEnabled = true; |
| 102 o.reportsConfiguration = buildReportsConfiguration(); | 102 o.reportsConfiguration = buildReportsConfiguration(); |
| 103 o.teaserSizeLimit = "foo"; | 103 o.teaserSizeLimit = "foo"; |
| 104 } | 104 } |
| 105 buildCounterAccount--; | 105 buildCounterAccount--; |
| 106 return o; | 106 return o; |
| 107 } | 107 } |
| 108 | 108 |
| 109 checkAccount(api.Account o) { | 109 checkAccount(api.Account o) { |
| 110 buildCounterAccount++; | 110 buildCounterAccount++; |
| 111 if (buildCounterAccount < 3) { | 111 if (buildCounterAccount < 3) { |
| 112 checkUnnamed1549(o.accountPermissionIds); | 112 checkUnnamed123(o.accountPermissionIds); |
| 113 unittest.expect(o.accountProfile, unittest.equals('foo')); | 113 unittest.expect(o.accountProfile, unittest.equals('foo')); |
| 114 unittest.expect(o.active, unittest.isTrue); | 114 unittest.expect(o.active, unittest.isTrue); |
| 115 unittest.expect(o.activeAdsLimitTier, unittest.equals('foo')); | 115 unittest.expect(o.activeAdsLimitTier, unittest.equals('foo')); |
| 116 unittest.expect(o.activeViewOptOut, unittest.isTrue); | 116 unittest.expect(o.activeViewOptOut, unittest.isTrue); |
| 117 checkUnnamed1550(o.availablePermissionIds); | 117 checkUnnamed124(o.availablePermissionIds); |
| 118 unittest.expect(o.comscoreVceEnabled, unittest.isTrue); | 118 unittest.expect(o.comscoreVceEnabled, unittest.isTrue); |
| 119 unittest.expect(o.countryId, unittest.equals('foo')); | 119 unittest.expect(o.countryId, unittest.equals('foo')); |
| 120 unittest.expect(o.currencyId, unittest.equals('foo')); | 120 unittest.expect(o.currencyId, unittest.equals('foo')); |
| 121 unittest.expect(o.defaultCreativeSizeId, unittest.equals('foo')); | 121 unittest.expect(o.defaultCreativeSizeId, unittest.equals('foo')); |
| 122 unittest.expect(o.description, unittest.equals('foo')); | 122 unittest.expect(o.description, unittest.equals('foo')); |
| 123 unittest.expect(o.id, unittest.equals('foo')); | 123 unittest.expect(o.id, unittest.equals('foo')); |
| 124 unittest.expect(o.kind, unittest.equals('foo')); | 124 unittest.expect(o.kind, unittest.equals('foo')); |
| 125 unittest.expect(o.locale, unittest.equals('foo')); | 125 unittest.expect(o.locale, unittest.equals('foo')); |
| 126 unittest.expect(o.maximumImageSize, unittest.equals('foo')); | 126 unittest.expect(o.maximumImageSize, unittest.equals('foo')); |
| 127 unittest.expect(o.name, unittest.equals('foo')); | 127 unittest.expect(o.name, unittest.equals('foo')); |
| (...skipping 24 matching lines...) Expand all Loading... |
| 152 if (buildCounterAccountActiveAdSummary < 3) { | 152 if (buildCounterAccountActiveAdSummary < 3) { |
| 153 unittest.expect(o.accountId, unittest.equals('foo')); | 153 unittest.expect(o.accountId, unittest.equals('foo')); |
| 154 unittest.expect(o.activeAds, unittest.equals('foo')); | 154 unittest.expect(o.activeAds, unittest.equals('foo')); |
| 155 unittest.expect(o.activeAdsLimitTier, unittest.equals('foo')); | 155 unittest.expect(o.activeAdsLimitTier, unittest.equals('foo')); |
| 156 unittest.expect(o.availableAds, unittest.equals('foo')); | 156 unittest.expect(o.availableAds, unittest.equals('foo')); |
| 157 unittest.expect(o.kind, unittest.equals('foo')); | 157 unittest.expect(o.kind, unittest.equals('foo')); |
| 158 } | 158 } |
| 159 buildCounterAccountActiveAdSummary--; | 159 buildCounterAccountActiveAdSummary--; |
| 160 } | 160 } |
| 161 | 161 |
| 162 buildUnnamed1551() { | 162 buildUnnamed125() { |
| 163 var o = new core.List<core.String>(); | 163 var o = new core.List<core.String>(); |
| 164 o.add("foo"); | 164 o.add("foo"); |
| 165 o.add("foo"); | 165 o.add("foo"); |
| 166 return o; | 166 return o; |
| 167 } | 167 } |
| 168 | 168 |
| 169 checkUnnamed1551(core.List<core.String> o) { | 169 checkUnnamed125(core.List<core.String> o) { |
| 170 unittest.expect(o, unittest.hasLength(2)); | 170 unittest.expect(o, unittest.hasLength(2)); |
| 171 unittest.expect(o[0], unittest.equals('foo')); | 171 unittest.expect(o[0], unittest.equals('foo')); |
| 172 unittest.expect(o[1], unittest.equals('foo')); | 172 unittest.expect(o[1], unittest.equals('foo')); |
| 173 } | 173 } |
| 174 | 174 |
| 175 core.int buildCounterAccountPermission = 0; | 175 core.int buildCounterAccountPermission = 0; |
| 176 buildAccountPermission() { | 176 buildAccountPermission() { |
| 177 var o = new api.AccountPermission(); | 177 var o = new api.AccountPermission(); |
| 178 buildCounterAccountPermission++; | 178 buildCounterAccountPermission++; |
| 179 if (buildCounterAccountPermission < 3) { | 179 if (buildCounterAccountPermission < 3) { |
| 180 o.accountProfiles = buildUnnamed1551(); | 180 o.accountProfiles = buildUnnamed125(); |
| 181 o.id = "foo"; | 181 o.id = "foo"; |
| 182 o.kind = "foo"; | 182 o.kind = "foo"; |
| 183 o.level = "foo"; | 183 o.level = "foo"; |
| 184 o.name = "foo"; | 184 o.name = "foo"; |
| 185 o.permissionGroupId = "foo"; | 185 o.permissionGroupId = "foo"; |
| 186 } | 186 } |
| 187 buildCounterAccountPermission--; | 187 buildCounterAccountPermission--; |
| 188 return o; | 188 return o; |
| 189 } | 189 } |
| 190 | 190 |
| 191 checkAccountPermission(api.AccountPermission o) { | 191 checkAccountPermission(api.AccountPermission o) { |
| 192 buildCounterAccountPermission++; | 192 buildCounterAccountPermission++; |
| 193 if (buildCounterAccountPermission < 3) { | 193 if (buildCounterAccountPermission < 3) { |
| 194 checkUnnamed1551(o.accountProfiles); | 194 checkUnnamed125(o.accountProfiles); |
| 195 unittest.expect(o.id, unittest.equals('foo')); | 195 unittest.expect(o.id, unittest.equals('foo')); |
| 196 unittest.expect(o.kind, unittest.equals('foo')); | 196 unittest.expect(o.kind, unittest.equals('foo')); |
| 197 unittest.expect(o.level, unittest.equals('foo')); | 197 unittest.expect(o.level, unittest.equals('foo')); |
| 198 unittest.expect(o.name, unittest.equals('foo')); | 198 unittest.expect(o.name, unittest.equals('foo')); |
| 199 unittest.expect(o.permissionGroupId, unittest.equals('foo')); | 199 unittest.expect(o.permissionGroupId, unittest.equals('foo')); |
| 200 } | 200 } |
| 201 buildCounterAccountPermission--; | 201 buildCounterAccountPermission--; |
| 202 } | 202 } |
| 203 | 203 |
| 204 core.int buildCounterAccountPermissionGroup = 0; | 204 core.int buildCounterAccountPermissionGroup = 0; |
| (...skipping 12 matching lines...) Expand all Loading... |
| 217 checkAccountPermissionGroup(api.AccountPermissionGroup o) { | 217 checkAccountPermissionGroup(api.AccountPermissionGroup o) { |
| 218 buildCounterAccountPermissionGroup++; | 218 buildCounterAccountPermissionGroup++; |
| 219 if (buildCounterAccountPermissionGroup < 3) { | 219 if (buildCounterAccountPermissionGroup < 3) { |
| 220 unittest.expect(o.id, unittest.equals('foo')); | 220 unittest.expect(o.id, unittest.equals('foo')); |
| 221 unittest.expect(o.kind, unittest.equals('foo')); | 221 unittest.expect(o.kind, unittest.equals('foo')); |
| 222 unittest.expect(o.name, unittest.equals('foo')); | 222 unittest.expect(o.name, unittest.equals('foo')); |
| 223 } | 223 } |
| 224 buildCounterAccountPermissionGroup--; | 224 buildCounterAccountPermissionGroup--; |
| 225 } | 225 } |
| 226 | 226 |
| 227 buildUnnamed1552() { | 227 buildUnnamed126() { |
| 228 var o = new core.List<api.AccountPermissionGroup>(); | 228 var o = new core.List<api.AccountPermissionGroup>(); |
| 229 o.add(buildAccountPermissionGroup()); | 229 o.add(buildAccountPermissionGroup()); |
| 230 o.add(buildAccountPermissionGroup()); | 230 o.add(buildAccountPermissionGroup()); |
| 231 return o; | 231 return o; |
| 232 } | 232 } |
| 233 | 233 |
| 234 checkUnnamed1552(core.List<api.AccountPermissionGroup> o) { | 234 checkUnnamed126(core.List<api.AccountPermissionGroup> o) { |
| 235 unittest.expect(o, unittest.hasLength(2)); | 235 unittest.expect(o, unittest.hasLength(2)); |
| 236 checkAccountPermissionGroup(o[0]); | 236 checkAccountPermissionGroup(o[0]); |
| 237 checkAccountPermissionGroup(o[1]); | 237 checkAccountPermissionGroup(o[1]); |
| 238 } | 238 } |
| 239 | 239 |
| 240 core.int buildCounterAccountPermissionGroupsListResponse = 0; | 240 core.int buildCounterAccountPermissionGroupsListResponse = 0; |
| 241 buildAccountPermissionGroupsListResponse() { | 241 buildAccountPermissionGroupsListResponse() { |
| 242 var o = new api.AccountPermissionGroupsListResponse(); | 242 var o = new api.AccountPermissionGroupsListResponse(); |
| 243 buildCounterAccountPermissionGroupsListResponse++; | 243 buildCounterAccountPermissionGroupsListResponse++; |
| 244 if (buildCounterAccountPermissionGroupsListResponse < 3) { | 244 if (buildCounterAccountPermissionGroupsListResponse < 3) { |
| 245 o.accountPermissionGroups = buildUnnamed1552(); | 245 o.accountPermissionGroups = buildUnnamed126(); |
| 246 o.kind = "foo"; | 246 o.kind = "foo"; |
| 247 } | 247 } |
| 248 buildCounterAccountPermissionGroupsListResponse--; | 248 buildCounterAccountPermissionGroupsListResponse--; |
| 249 return o; | 249 return o; |
| 250 } | 250 } |
| 251 | 251 |
| 252 checkAccountPermissionGroupsListResponse(api.AccountPermissionGroupsListResponse
o) { | 252 checkAccountPermissionGroupsListResponse(api.AccountPermissionGroupsListResponse
o) { |
| 253 buildCounterAccountPermissionGroupsListResponse++; | 253 buildCounterAccountPermissionGroupsListResponse++; |
| 254 if (buildCounterAccountPermissionGroupsListResponse < 3) { | 254 if (buildCounterAccountPermissionGroupsListResponse < 3) { |
| 255 checkUnnamed1552(o.accountPermissionGroups); | 255 checkUnnamed126(o.accountPermissionGroups); |
| 256 unittest.expect(o.kind, unittest.equals('foo')); | 256 unittest.expect(o.kind, unittest.equals('foo')); |
| 257 } | 257 } |
| 258 buildCounterAccountPermissionGroupsListResponse--; | 258 buildCounterAccountPermissionGroupsListResponse--; |
| 259 } | 259 } |
| 260 | 260 |
| 261 buildUnnamed1553() { | 261 buildUnnamed127() { |
| 262 var o = new core.List<api.AccountPermission>(); | 262 var o = new core.List<api.AccountPermission>(); |
| 263 o.add(buildAccountPermission()); | 263 o.add(buildAccountPermission()); |
| 264 o.add(buildAccountPermission()); | 264 o.add(buildAccountPermission()); |
| 265 return o; | 265 return o; |
| 266 } | 266 } |
| 267 | 267 |
| 268 checkUnnamed1553(core.List<api.AccountPermission> o) { | 268 checkUnnamed127(core.List<api.AccountPermission> o) { |
| 269 unittest.expect(o, unittest.hasLength(2)); | 269 unittest.expect(o, unittest.hasLength(2)); |
| 270 checkAccountPermission(o[0]); | 270 checkAccountPermission(o[0]); |
| 271 checkAccountPermission(o[1]); | 271 checkAccountPermission(o[1]); |
| 272 } | 272 } |
| 273 | 273 |
| 274 core.int buildCounterAccountPermissionsListResponse = 0; | 274 core.int buildCounterAccountPermissionsListResponse = 0; |
| 275 buildAccountPermissionsListResponse() { | 275 buildAccountPermissionsListResponse() { |
| 276 var o = new api.AccountPermissionsListResponse(); | 276 var o = new api.AccountPermissionsListResponse(); |
| 277 buildCounterAccountPermissionsListResponse++; | 277 buildCounterAccountPermissionsListResponse++; |
| 278 if (buildCounterAccountPermissionsListResponse < 3) { | 278 if (buildCounterAccountPermissionsListResponse < 3) { |
| 279 o.accountPermissions = buildUnnamed1553(); | 279 o.accountPermissions = buildUnnamed127(); |
| 280 o.kind = "foo"; | 280 o.kind = "foo"; |
| 281 } | 281 } |
| 282 buildCounterAccountPermissionsListResponse--; | 282 buildCounterAccountPermissionsListResponse--; |
| 283 return o; | 283 return o; |
| 284 } | 284 } |
| 285 | 285 |
| 286 checkAccountPermissionsListResponse(api.AccountPermissionsListResponse o) { | 286 checkAccountPermissionsListResponse(api.AccountPermissionsListResponse o) { |
| 287 buildCounterAccountPermissionsListResponse++; | 287 buildCounterAccountPermissionsListResponse++; |
| 288 if (buildCounterAccountPermissionsListResponse < 3) { | 288 if (buildCounterAccountPermissionsListResponse < 3) { |
| 289 checkUnnamed1553(o.accountPermissions); | 289 checkUnnamed127(o.accountPermissions); |
| 290 unittest.expect(o.kind, unittest.equals('foo')); | 290 unittest.expect(o.kind, unittest.equals('foo')); |
| 291 } | 291 } |
| 292 buildCounterAccountPermissionsListResponse--; | 292 buildCounterAccountPermissionsListResponse--; |
| 293 } | 293 } |
| 294 | 294 |
| 295 core.int buildCounterAccountUserProfile = 0; | 295 core.int buildCounterAccountUserProfile = 0; |
| 296 buildAccountUserProfile() { | 296 buildAccountUserProfile() { |
| 297 var o = new api.AccountUserProfile(); | 297 var o = new api.AccountUserProfile(); |
| 298 buildCounterAccountUserProfile++; | 298 buildCounterAccountUserProfile++; |
| 299 if (buildCounterAccountUserProfile < 3) { | 299 if (buildCounterAccountUserProfile < 3) { |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 334 checkObjectFilter(o.siteFilter); | 334 checkObjectFilter(o.siteFilter); |
| 335 unittest.expect(o.subaccountId, unittest.equals('foo')); | 335 unittest.expect(o.subaccountId, unittest.equals('foo')); |
| 336 unittest.expect(o.traffickerType, unittest.equals('foo')); | 336 unittest.expect(o.traffickerType, unittest.equals('foo')); |
| 337 unittest.expect(o.userAccessType, unittest.equals('foo')); | 337 unittest.expect(o.userAccessType, unittest.equals('foo')); |
| 338 checkObjectFilter(o.userRoleFilter); | 338 checkObjectFilter(o.userRoleFilter); |
| 339 unittest.expect(o.userRoleId, unittest.equals('foo')); | 339 unittest.expect(o.userRoleId, unittest.equals('foo')); |
| 340 } | 340 } |
| 341 buildCounterAccountUserProfile--; | 341 buildCounterAccountUserProfile--; |
| 342 } | 342 } |
| 343 | 343 |
| 344 buildUnnamed1554() { | 344 buildUnnamed128() { |
| 345 var o = new core.List<api.AccountUserProfile>(); | 345 var o = new core.List<api.AccountUserProfile>(); |
| 346 o.add(buildAccountUserProfile()); | 346 o.add(buildAccountUserProfile()); |
| 347 o.add(buildAccountUserProfile()); | 347 o.add(buildAccountUserProfile()); |
| 348 return o; | 348 return o; |
| 349 } | 349 } |
| 350 | 350 |
| 351 checkUnnamed1554(core.List<api.AccountUserProfile> o) { | 351 checkUnnamed128(core.List<api.AccountUserProfile> o) { |
| 352 unittest.expect(o, unittest.hasLength(2)); | 352 unittest.expect(o, unittest.hasLength(2)); |
| 353 checkAccountUserProfile(o[0]); | 353 checkAccountUserProfile(o[0]); |
| 354 checkAccountUserProfile(o[1]); | 354 checkAccountUserProfile(o[1]); |
| 355 } | 355 } |
| 356 | 356 |
| 357 core.int buildCounterAccountUserProfilesListResponse = 0; | 357 core.int buildCounterAccountUserProfilesListResponse = 0; |
| 358 buildAccountUserProfilesListResponse() { | 358 buildAccountUserProfilesListResponse() { |
| 359 var o = new api.AccountUserProfilesListResponse(); | 359 var o = new api.AccountUserProfilesListResponse(); |
| 360 buildCounterAccountUserProfilesListResponse++; | 360 buildCounterAccountUserProfilesListResponse++; |
| 361 if (buildCounterAccountUserProfilesListResponse < 3) { | 361 if (buildCounterAccountUserProfilesListResponse < 3) { |
| 362 o.accountUserProfiles = buildUnnamed1554(); | 362 o.accountUserProfiles = buildUnnamed128(); |
| 363 o.kind = "foo"; | 363 o.kind = "foo"; |
| 364 o.nextPageToken = "foo"; | 364 o.nextPageToken = "foo"; |
| 365 } | 365 } |
| 366 buildCounterAccountUserProfilesListResponse--; | 366 buildCounterAccountUserProfilesListResponse--; |
| 367 return o; | 367 return o; |
| 368 } | 368 } |
| 369 | 369 |
| 370 checkAccountUserProfilesListResponse(api.AccountUserProfilesListResponse o) { | 370 checkAccountUserProfilesListResponse(api.AccountUserProfilesListResponse o) { |
| 371 buildCounterAccountUserProfilesListResponse++; | 371 buildCounterAccountUserProfilesListResponse++; |
| 372 if (buildCounterAccountUserProfilesListResponse < 3) { | 372 if (buildCounterAccountUserProfilesListResponse < 3) { |
| 373 checkUnnamed1554(o.accountUserProfiles); | 373 checkUnnamed128(o.accountUserProfiles); |
| 374 unittest.expect(o.kind, unittest.equals('foo')); | 374 unittest.expect(o.kind, unittest.equals('foo')); |
| 375 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 375 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 376 } | 376 } |
| 377 buildCounterAccountUserProfilesListResponse--; | 377 buildCounterAccountUserProfilesListResponse--; |
| 378 } | 378 } |
| 379 | 379 |
| 380 buildUnnamed1555() { | 380 buildUnnamed129() { |
| 381 var o = new core.List<api.Account>(); | 381 var o = new core.List<api.Account>(); |
| 382 o.add(buildAccount()); | 382 o.add(buildAccount()); |
| 383 o.add(buildAccount()); | 383 o.add(buildAccount()); |
| 384 return o; | 384 return o; |
| 385 } | 385 } |
| 386 | 386 |
| 387 checkUnnamed1555(core.List<api.Account> o) { | 387 checkUnnamed129(core.List<api.Account> o) { |
| 388 unittest.expect(o, unittest.hasLength(2)); | 388 unittest.expect(o, unittest.hasLength(2)); |
| 389 checkAccount(o[0]); | 389 checkAccount(o[0]); |
| 390 checkAccount(o[1]); | 390 checkAccount(o[1]); |
| 391 } | 391 } |
| 392 | 392 |
| 393 core.int buildCounterAccountsListResponse = 0; | 393 core.int buildCounterAccountsListResponse = 0; |
| 394 buildAccountsListResponse() { | 394 buildAccountsListResponse() { |
| 395 var o = new api.AccountsListResponse(); | 395 var o = new api.AccountsListResponse(); |
| 396 buildCounterAccountsListResponse++; | 396 buildCounterAccountsListResponse++; |
| 397 if (buildCounterAccountsListResponse < 3) { | 397 if (buildCounterAccountsListResponse < 3) { |
| 398 o.accounts = buildUnnamed1555(); | 398 o.accounts = buildUnnamed129(); |
| 399 o.kind = "foo"; | 399 o.kind = "foo"; |
| 400 o.nextPageToken = "foo"; | 400 o.nextPageToken = "foo"; |
| 401 } | 401 } |
| 402 buildCounterAccountsListResponse--; | 402 buildCounterAccountsListResponse--; |
| 403 return o; | 403 return o; |
| 404 } | 404 } |
| 405 | 405 |
| 406 checkAccountsListResponse(api.AccountsListResponse o) { | 406 checkAccountsListResponse(api.AccountsListResponse o) { |
| 407 buildCounterAccountsListResponse++; | 407 buildCounterAccountsListResponse++; |
| 408 if (buildCounterAccountsListResponse < 3) { | 408 if (buildCounterAccountsListResponse < 3) { |
| 409 checkUnnamed1555(o.accounts); | 409 checkUnnamed129(o.accounts); |
| 410 unittest.expect(o.kind, unittest.equals('foo')); | 410 unittest.expect(o.kind, unittest.equals('foo')); |
| 411 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 411 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 412 } | 412 } |
| 413 buildCounterAccountsListResponse--; | 413 buildCounterAccountsListResponse--; |
| 414 } | 414 } |
| 415 | 415 |
| 416 buildUnnamed1556() { | 416 buildUnnamed130() { |
| 417 var o = new core.List<api.DimensionValue>(); | 417 var o = new core.List<api.DimensionValue>(); |
| 418 o.add(buildDimensionValue()); | 418 o.add(buildDimensionValue()); |
| 419 o.add(buildDimensionValue()); | 419 o.add(buildDimensionValue()); |
| 420 return o; | 420 return o; |
| 421 } | 421 } |
| 422 | 422 |
| 423 checkUnnamed1556(core.List<api.DimensionValue> o) { | 423 checkUnnamed130(core.List<api.DimensionValue> o) { |
| 424 unittest.expect(o, unittest.hasLength(2)); | 424 unittest.expect(o, unittest.hasLength(2)); |
| 425 checkDimensionValue(o[0]); | 425 checkDimensionValue(o[0]); |
| 426 checkDimensionValue(o[1]); | 426 checkDimensionValue(o[1]); |
| 427 } | 427 } |
| 428 | 428 |
| 429 buildUnnamed1557() { | 429 buildUnnamed131() { |
| 430 var o = new core.List<core.String>(); | 430 var o = new core.List<core.String>(); |
| 431 o.add("foo"); | 431 o.add("foo"); |
| 432 o.add("foo"); | 432 o.add("foo"); |
| 433 return o; | 433 return o; |
| 434 } | 434 } |
| 435 | 435 |
| 436 checkUnnamed1557(core.List<core.String> o) { | 436 checkUnnamed131(core.List<core.String> o) { |
| 437 unittest.expect(o, unittest.hasLength(2)); | 437 unittest.expect(o, unittest.hasLength(2)); |
| 438 unittest.expect(o[0], unittest.equals('foo')); | 438 unittest.expect(o[0], unittest.equals('foo')); |
| 439 unittest.expect(o[1], unittest.equals('foo')); | 439 unittest.expect(o[1], unittest.equals('foo')); |
| 440 } | 440 } |
| 441 | 441 |
| 442 core.int buildCounterActivities = 0; | 442 core.int buildCounterActivities = 0; |
| 443 buildActivities() { | 443 buildActivities() { |
| 444 var o = new api.Activities(); | 444 var o = new api.Activities(); |
| 445 buildCounterActivities++; | 445 buildCounterActivities++; |
| 446 if (buildCounterActivities < 3) { | 446 if (buildCounterActivities < 3) { |
| 447 o.filters = buildUnnamed1556(); | 447 o.filters = buildUnnamed130(); |
| 448 o.kind = "foo"; | 448 o.kind = "foo"; |
| 449 o.metricNames = buildUnnamed1557(); | 449 o.metricNames = buildUnnamed131(); |
| 450 } | 450 } |
| 451 buildCounterActivities--; | 451 buildCounterActivities--; |
| 452 return o; | 452 return o; |
| 453 } | 453 } |
| 454 | 454 |
| 455 checkActivities(api.Activities o) { | 455 checkActivities(api.Activities o) { |
| 456 buildCounterActivities++; | 456 buildCounterActivities++; |
| 457 if (buildCounterActivities < 3) { | 457 if (buildCounterActivities < 3) { |
| 458 checkUnnamed1556(o.filters); | 458 checkUnnamed130(o.filters); |
| 459 unittest.expect(o.kind, unittest.equals('foo')); | 459 unittest.expect(o.kind, unittest.equals('foo')); |
| 460 checkUnnamed1557(o.metricNames); | 460 checkUnnamed131(o.metricNames); |
| 461 } | 461 } |
| 462 buildCounterActivities--; | 462 buildCounterActivities--; |
| 463 } | 463 } |
| 464 | 464 |
| 465 buildUnnamed1558() { | 465 buildUnnamed132() { |
| 466 var o = new core.List<api.CreativeGroupAssignment>(); | 466 var o = new core.List<api.CreativeGroupAssignment>(); |
| 467 o.add(buildCreativeGroupAssignment()); | 467 o.add(buildCreativeGroupAssignment()); |
| 468 o.add(buildCreativeGroupAssignment()); | 468 o.add(buildCreativeGroupAssignment()); |
| 469 return o; | 469 return o; |
| 470 } | 470 } |
| 471 | 471 |
| 472 checkUnnamed1558(core.List<api.CreativeGroupAssignment> o) { | 472 checkUnnamed132(core.List<api.CreativeGroupAssignment> o) { |
| 473 unittest.expect(o, unittest.hasLength(2)); | 473 unittest.expect(o, unittest.hasLength(2)); |
| 474 checkCreativeGroupAssignment(o[0]); | 474 checkCreativeGroupAssignment(o[0]); |
| 475 checkCreativeGroupAssignment(o[1]); | 475 checkCreativeGroupAssignment(o[1]); |
| 476 } | 476 } |
| 477 | 477 |
| 478 buildUnnamed1559() { | 478 buildUnnamed133() { |
| 479 var o = new core.List<api.EventTagOverride>(); | 479 var o = new core.List<api.EventTagOverride>(); |
| 480 o.add(buildEventTagOverride()); | 480 o.add(buildEventTagOverride()); |
| 481 o.add(buildEventTagOverride()); | 481 o.add(buildEventTagOverride()); |
| 482 return o; | 482 return o; |
| 483 } | 483 } |
| 484 | 484 |
| 485 checkUnnamed1559(core.List<api.EventTagOverride> o) { | 485 checkUnnamed133(core.List<api.EventTagOverride> o) { |
| 486 unittest.expect(o, unittest.hasLength(2)); | 486 unittest.expect(o, unittest.hasLength(2)); |
| 487 checkEventTagOverride(o[0]); | 487 checkEventTagOverride(o[0]); |
| 488 checkEventTagOverride(o[1]); | 488 checkEventTagOverride(o[1]); |
| 489 } | 489 } |
| 490 | 490 |
| 491 buildUnnamed1560() { | 491 buildUnnamed134() { |
| 492 var o = new core.List<api.PlacementAssignment>(); | 492 var o = new core.List<api.PlacementAssignment>(); |
| 493 o.add(buildPlacementAssignment()); | 493 o.add(buildPlacementAssignment()); |
| 494 o.add(buildPlacementAssignment()); | 494 o.add(buildPlacementAssignment()); |
| 495 return o; | 495 return o; |
| 496 } | 496 } |
| 497 | 497 |
| 498 checkUnnamed1560(core.List<api.PlacementAssignment> o) { | 498 checkUnnamed134(core.List<api.PlacementAssignment> o) { |
| 499 unittest.expect(o, unittest.hasLength(2)); | 499 unittest.expect(o, unittest.hasLength(2)); |
| 500 checkPlacementAssignment(o[0]); | 500 checkPlacementAssignment(o[0]); |
| 501 checkPlacementAssignment(o[1]); | 501 checkPlacementAssignment(o[1]); |
| 502 } | 502 } |
| 503 | 503 |
| 504 core.int buildCounterAd = 0; | 504 core.int buildCounterAd = 0; |
| 505 buildAd() { | 505 buildAd() { |
| 506 var o = new api.Ad(); | 506 var o = new api.Ad(); |
| 507 buildCounterAd++; | 507 buildCounterAd++; |
| 508 if (buildCounterAd < 3) { | 508 if (buildCounterAd < 3) { |
| 509 o.accountId = "foo"; | 509 o.accountId = "foo"; |
| 510 o.active = true; | 510 o.active = true; |
| 511 o.advertiserId = "foo"; | 511 o.advertiserId = "foo"; |
| 512 o.advertiserIdDimensionValue = buildDimensionValue(); | 512 o.advertiserIdDimensionValue = buildDimensionValue(); |
| 513 o.archived = true; | 513 o.archived = true; |
| 514 o.audienceSegmentId = "foo"; | 514 o.audienceSegmentId = "foo"; |
| 515 o.campaignId = "foo"; | 515 o.campaignId = "foo"; |
| 516 o.campaignIdDimensionValue = buildDimensionValue(); | 516 o.campaignIdDimensionValue = buildDimensionValue(); |
| 517 o.clickThroughUrl = buildClickThroughUrl(); | 517 o.clickThroughUrl = buildClickThroughUrl(); |
| 518 o.clickThroughUrlSuffixProperties = buildClickThroughUrlSuffixProperties(); | 518 o.clickThroughUrlSuffixProperties = buildClickThroughUrlSuffixProperties(); |
| 519 o.comments = "foo"; | 519 o.comments = "foo"; |
| 520 o.compatibility = "foo"; | 520 o.compatibility = "foo"; |
| 521 o.createInfo = buildLastModifiedInfo(); | 521 o.createInfo = buildLastModifiedInfo(); |
| 522 o.creativeGroupAssignments = buildUnnamed1558(); | 522 o.creativeGroupAssignments = buildUnnamed132(); |
| 523 o.creativeRotation = buildCreativeRotation(); | 523 o.creativeRotation = buildCreativeRotation(); |
| 524 o.dayPartTargeting = buildDayPartTargeting(); | 524 o.dayPartTargeting = buildDayPartTargeting(); |
| 525 o.defaultClickThroughEventTagProperties = buildDefaultClickThroughEventTagPr
operties(); | 525 o.defaultClickThroughEventTagProperties = buildDefaultClickThroughEventTagPr
operties(); |
| 526 o.deliverySchedule = buildDeliverySchedule(); | 526 o.deliverySchedule = buildDeliverySchedule(); |
| 527 o.dynamicClickTracker = true; | 527 o.dynamicClickTracker = true; |
| 528 o.endTime = core.DateTime.parse("2002-02-27T14:01:02"); | 528 o.endTime = core.DateTime.parse("2002-02-27T14:01:02"); |
| 529 o.eventTagOverrides = buildUnnamed1559(); | 529 o.eventTagOverrides = buildUnnamed133(); |
| 530 o.geoTargeting = buildGeoTargeting(); | 530 o.geoTargeting = buildGeoTargeting(); |
| 531 o.id = "foo"; | 531 o.id = "foo"; |
| 532 o.idDimensionValue = buildDimensionValue(); | 532 o.idDimensionValue = buildDimensionValue(); |
| 533 o.keyValueTargetingExpression = buildKeyValueTargetingExpression(); | 533 o.keyValueTargetingExpression = buildKeyValueTargetingExpression(); |
| 534 o.kind = "foo"; | 534 o.kind = "foo"; |
| 535 o.lastModifiedInfo = buildLastModifiedInfo(); | 535 o.lastModifiedInfo = buildLastModifiedInfo(); |
| 536 o.name = "foo"; | 536 o.name = "foo"; |
| 537 o.placementAssignments = buildUnnamed1560(); | 537 o.placementAssignments = buildUnnamed134(); |
| 538 o.remarketingListExpression = buildListTargetingExpression(); | 538 o.remarketingListExpression = buildListTargetingExpression(); |
| 539 o.size = buildSize(); | 539 o.size = buildSize(); |
| 540 o.sslCompliant = true; | 540 o.sslCompliant = true; |
| 541 o.sslRequired = true; | 541 o.sslRequired = true; |
| 542 o.startTime = core.DateTime.parse("2002-02-27T14:01:02"); | 542 o.startTime = core.DateTime.parse("2002-02-27T14:01:02"); |
| 543 o.subaccountId = "foo"; | 543 o.subaccountId = "foo"; |
| 544 o.technologyTargeting = buildTechnologyTargeting(); | 544 o.technologyTargeting = buildTechnologyTargeting(); |
| 545 o.type = "foo"; | 545 o.type = "foo"; |
| 546 } | 546 } |
| 547 buildCounterAd--; | 547 buildCounterAd--; |
| 548 return o; | 548 return o; |
| 549 } | 549 } |
| 550 | 550 |
| 551 checkAd(api.Ad o) { | 551 checkAd(api.Ad o) { |
| 552 buildCounterAd++; | 552 buildCounterAd++; |
| 553 if (buildCounterAd < 3) { | 553 if (buildCounterAd < 3) { |
| 554 unittest.expect(o.accountId, unittest.equals('foo')); | 554 unittest.expect(o.accountId, unittest.equals('foo')); |
| 555 unittest.expect(o.active, unittest.isTrue); | 555 unittest.expect(o.active, unittest.isTrue); |
| 556 unittest.expect(o.advertiserId, unittest.equals('foo')); | 556 unittest.expect(o.advertiserId, unittest.equals('foo')); |
| 557 checkDimensionValue(o.advertiserIdDimensionValue); | 557 checkDimensionValue(o.advertiserIdDimensionValue); |
| 558 unittest.expect(o.archived, unittest.isTrue); | 558 unittest.expect(o.archived, unittest.isTrue); |
| 559 unittest.expect(o.audienceSegmentId, unittest.equals('foo')); | 559 unittest.expect(o.audienceSegmentId, unittest.equals('foo')); |
| 560 unittest.expect(o.campaignId, unittest.equals('foo')); | 560 unittest.expect(o.campaignId, unittest.equals('foo')); |
| 561 checkDimensionValue(o.campaignIdDimensionValue); | 561 checkDimensionValue(o.campaignIdDimensionValue); |
| 562 checkClickThroughUrl(o.clickThroughUrl); | 562 checkClickThroughUrl(o.clickThroughUrl); |
| 563 checkClickThroughUrlSuffixProperties(o.clickThroughUrlSuffixProperties); | 563 checkClickThroughUrlSuffixProperties(o.clickThroughUrlSuffixProperties); |
| 564 unittest.expect(o.comments, unittest.equals('foo')); | 564 unittest.expect(o.comments, unittest.equals('foo')); |
| 565 unittest.expect(o.compatibility, unittest.equals('foo')); | 565 unittest.expect(o.compatibility, unittest.equals('foo')); |
| 566 checkLastModifiedInfo(o.createInfo); | 566 checkLastModifiedInfo(o.createInfo); |
| 567 checkUnnamed1558(o.creativeGroupAssignments); | 567 checkUnnamed132(o.creativeGroupAssignments); |
| 568 checkCreativeRotation(o.creativeRotation); | 568 checkCreativeRotation(o.creativeRotation); |
| 569 checkDayPartTargeting(o.dayPartTargeting); | 569 checkDayPartTargeting(o.dayPartTargeting); |
| 570 checkDefaultClickThroughEventTagProperties(o.defaultClickThroughEventTagProp
erties); | 570 checkDefaultClickThroughEventTagProperties(o.defaultClickThroughEventTagProp
erties); |
| 571 checkDeliverySchedule(o.deliverySchedule); | 571 checkDeliverySchedule(o.deliverySchedule); |
| 572 unittest.expect(o.dynamicClickTracker, unittest.isTrue); | 572 unittest.expect(o.dynamicClickTracker, unittest.isTrue); |
| 573 unittest.expect(o.endTime, unittest.equals(core.DateTime.parse("2002-02-27T1
4:01:02"))); | 573 unittest.expect(o.endTime, unittest.equals(core.DateTime.parse("2002-02-27T1
4:01:02"))); |
| 574 checkUnnamed1559(o.eventTagOverrides); | 574 checkUnnamed133(o.eventTagOverrides); |
| 575 checkGeoTargeting(o.geoTargeting); | 575 checkGeoTargeting(o.geoTargeting); |
| 576 unittest.expect(o.id, unittest.equals('foo')); | 576 unittest.expect(o.id, unittest.equals('foo')); |
| 577 checkDimensionValue(o.idDimensionValue); | 577 checkDimensionValue(o.idDimensionValue); |
| 578 checkKeyValueTargetingExpression(o.keyValueTargetingExpression); | 578 checkKeyValueTargetingExpression(o.keyValueTargetingExpression); |
| 579 unittest.expect(o.kind, unittest.equals('foo')); | 579 unittest.expect(o.kind, unittest.equals('foo')); |
| 580 checkLastModifiedInfo(o.lastModifiedInfo); | 580 checkLastModifiedInfo(o.lastModifiedInfo); |
| 581 unittest.expect(o.name, unittest.equals('foo')); | 581 unittest.expect(o.name, unittest.equals('foo')); |
| 582 checkUnnamed1560(o.placementAssignments); | 582 checkUnnamed134(o.placementAssignments); |
| 583 checkListTargetingExpression(o.remarketingListExpression); | 583 checkListTargetingExpression(o.remarketingListExpression); |
| 584 checkSize(o.size); | 584 checkSize(o.size); |
| 585 unittest.expect(o.sslCompliant, unittest.isTrue); | 585 unittest.expect(o.sslCompliant, unittest.isTrue); |
| 586 unittest.expect(o.sslRequired, unittest.isTrue); | 586 unittest.expect(o.sslRequired, unittest.isTrue); |
| 587 unittest.expect(o.startTime, unittest.equals(core.DateTime.parse("2002-02-27
T14:01:02"))); | 587 unittest.expect(o.startTime, unittest.equals(core.DateTime.parse("2002-02-27
T14:01:02"))); |
| 588 unittest.expect(o.subaccountId, unittest.equals('foo')); | 588 unittest.expect(o.subaccountId, unittest.equals('foo')); |
| 589 checkTechnologyTargeting(o.technologyTargeting); | 589 checkTechnologyTargeting(o.technologyTargeting); |
| 590 unittest.expect(o.type, unittest.equals('foo')); | 590 unittest.expect(o.type, unittest.equals('foo')); |
| 591 } | 591 } |
| 592 buildCounterAd--; | 592 buildCounterAd--; |
| (...skipping 25 matching lines...) Expand all Loading... |
| 618 unittest.expect(o.height, unittest.equals('foo')); | 618 unittest.expect(o.height, unittest.equals('foo')); |
| 619 unittest.expect(o.linkedPlacementId, unittest.equals('foo')); | 619 unittest.expect(o.linkedPlacementId, unittest.equals('foo')); |
| 620 unittest.expect(o.name, unittest.equals('foo')); | 620 unittest.expect(o.name, unittest.equals('foo')); |
| 621 unittest.expect(o.paymentSourceType, unittest.equals('foo')); | 621 unittest.expect(o.paymentSourceType, unittest.equals('foo')); |
| 622 unittest.expect(o.primary, unittest.isTrue); | 622 unittest.expect(o.primary, unittest.isTrue); |
| 623 unittest.expect(o.width, unittest.equals('foo')); | 623 unittest.expect(o.width, unittest.equals('foo')); |
| 624 } | 624 } |
| 625 buildCounterAdSlot--; | 625 buildCounterAdSlot--; |
| 626 } | 626 } |
| 627 | 627 |
| 628 buildUnnamed1561() { | 628 buildUnnamed135() { |
| 629 var o = new core.List<api.Ad>(); | 629 var o = new core.List<api.Ad>(); |
| 630 o.add(buildAd()); | 630 o.add(buildAd()); |
| 631 o.add(buildAd()); | 631 o.add(buildAd()); |
| 632 return o; | 632 return o; |
| 633 } | 633 } |
| 634 | 634 |
| 635 checkUnnamed1561(core.List<api.Ad> o) { | 635 checkUnnamed135(core.List<api.Ad> o) { |
| 636 unittest.expect(o, unittest.hasLength(2)); | 636 unittest.expect(o, unittest.hasLength(2)); |
| 637 checkAd(o[0]); | 637 checkAd(o[0]); |
| 638 checkAd(o[1]); | 638 checkAd(o[1]); |
| 639 } | 639 } |
| 640 | 640 |
| 641 core.int buildCounterAdsListResponse = 0; | 641 core.int buildCounterAdsListResponse = 0; |
| 642 buildAdsListResponse() { | 642 buildAdsListResponse() { |
| 643 var o = new api.AdsListResponse(); | 643 var o = new api.AdsListResponse(); |
| 644 buildCounterAdsListResponse++; | 644 buildCounterAdsListResponse++; |
| 645 if (buildCounterAdsListResponse < 3) { | 645 if (buildCounterAdsListResponse < 3) { |
| 646 o.ads = buildUnnamed1561(); | 646 o.ads = buildUnnamed135(); |
| 647 o.kind = "foo"; | 647 o.kind = "foo"; |
| 648 o.nextPageToken = "foo"; | 648 o.nextPageToken = "foo"; |
| 649 } | 649 } |
| 650 buildCounterAdsListResponse--; | 650 buildCounterAdsListResponse--; |
| 651 return o; | 651 return o; |
| 652 } | 652 } |
| 653 | 653 |
| 654 checkAdsListResponse(api.AdsListResponse o) { | 654 checkAdsListResponse(api.AdsListResponse o) { |
| 655 buildCounterAdsListResponse++; | 655 buildCounterAdsListResponse++; |
| 656 if (buildCounterAdsListResponse < 3) { | 656 if (buildCounterAdsListResponse < 3) { |
| 657 checkUnnamed1561(o.ads); | 657 checkUnnamed135(o.ads); |
| 658 unittest.expect(o.kind, unittest.equals('foo')); | 658 unittest.expect(o.kind, unittest.equals('foo')); |
| 659 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 659 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 660 } | 660 } |
| 661 buildCounterAdsListResponse--; | 661 buildCounterAdsListResponse--; |
| 662 } | 662 } |
| 663 | 663 |
| 664 core.int buildCounterAdvertiser = 0; | 664 core.int buildCounterAdvertiser = 0; |
| 665 buildAdvertiser() { | 665 buildAdvertiser() { |
| 666 var o = new api.Advertiser(); | 666 var o = new api.Advertiser(); |
| 667 buildCounterAdvertiser++; | 667 buildCounterAdvertiser++; |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 726 buildCounterAdvertiserGroup++; | 726 buildCounterAdvertiserGroup++; |
| 727 if (buildCounterAdvertiserGroup < 3) { | 727 if (buildCounterAdvertiserGroup < 3) { |
| 728 unittest.expect(o.accountId, unittest.equals('foo')); | 728 unittest.expect(o.accountId, unittest.equals('foo')); |
| 729 unittest.expect(o.id, unittest.equals('foo')); | 729 unittest.expect(o.id, unittest.equals('foo')); |
| 730 unittest.expect(o.kind, unittest.equals('foo')); | 730 unittest.expect(o.kind, unittest.equals('foo')); |
| 731 unittest.expect(o.name, unittest.equals('foo')); | 731 unittest.expect(o.name, unittest.equals('foo')); |
| 732 } | 732 } |
| 733 buildCounterAdvertiserGroup--; | 733 buildCounterAdvertiserGroup--; |
| 734 } | 734 } |
| 735 | 735 |
| 736 buildUnnamed1562() { | 736 buildUnnamed136() { |
| 737 var o = new core.List<api.AdvertiserGroup>(); | 737 var o = new core.List<api.AdvertiserGroup>(); |
| 738 o.add(buildAdvertiserGroup()); | 738 o.add(buildAdvertiserGroup()); |
| 739 o.add(buildAdvertiserGroup()); | 739 o.add(buildAdvertiserGroup()); |
| 740 return o; | 740 return o; |
| 741 } | 741 } |
| 742 | 742 |
| 743 checkUnnamed1562(core.List<api.AdvertiserGroup> o) { | 743 checkUnnamed136(core.List<api.AdvertiserGroup> o) { |
| 744 unittest.expect(o, unittest.hasLength(2)); | 744 unittest.expect(o, unittest.hasLength(2)); |
| 745 checkAdvertiserGroup(o[0]); | 745 checkAdvertiserGroup(o[0]); |
| 746 checkAdvertiserGroup(o[1]); | 746 checkAdvertiserGroup(o[1]); |
| 747 } | 747 } |
| 748 | 748 |
| 749 core.int buildCounterAdvertiserGroupsListResponse = 0; | 749 core.int buildCounterAdvertiserGroupsListResponse = 0; |
| 750 buildAdvertiserGroupsListResponse() { | 750 buildAdvertiserGroupsListResponse() { |
| 751 var o = new api.AdvertiserGroupsListResponse(); | 751 var o = new api.AdvertiserGroupsListResponse(); |
| 752 buildCounterAdvertiserGroupsListResponse++; | 752 buildCounterAdvertiserGroupsListResponse++; |
| 753 if (buildCounterAdvertiserGroupsListResponse < 3) { | 753 if (buildCounterAdvertiserGroupsListResponse < 3) { |
| 754 o.advertiserGroups = buildUnnamed1562(); | 754 o.advertiserGroups = buildUnnamed136(); |
| 755 o.kind = "foo"; | 755 o.kind = "foo"; |
| 756 o.nextPageToken = "foo"; | 756 o.nextPageToken = "foo"; |
| 757 } | 757 } |
| 758 buildCounterAdvertiserGroupsListResponse--; | 758 buildCounterAdvertiserGroupsListResponse--; |
| 759 return o; | 759 return o; |
| 760 } | 760 } |
| 761 | 761 |
| 762 checkAdvertiserGroupsListResponse(api.AdvertiserGroupsListResponse o) { | 762 checkAdvertiserGroupsListResponse(api.AdvertiserGroupsListResponse o) { |
| 763 buildCounterAdvertiserGroupsListResponse++; | 763 buildCounterAdvertiserGroupsListResponse++; |
| 764 if (buildCounterAdvertiserGroupsListResponse < 3) { | 764 if (buildCounterAdvertiserGroupsListResponse < 3) { |
| 765 checkUnnamed1562(o.advertiserGroups); | 765 checkUnnamed136(o.advertiserGroups); |
| 766 unittest.expect(o.kind, unittest.equals('foo')); | 766 unittest.expect(o.kind, unittest.equals('foo')); |
| 767 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 767 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 768 } | 768 } |
| 769 buildCounterAdvertiserGroupsListResponse--; | 769 buildCounterAdvertiserGroupsListResponse--; |
| 770 } | 770 } |
| 771 | 771 |
| 772 buildUnnamed1563() { | 772 buildUnnamed137() { |
| 773 var o = new core.List<api.Advertiser>(); | 773 var o = new core.List<api.Advertiser>(); |
| 774 o.add(buildAdvertiser()); | 774 o.add(buildAdvertiser()); |
| 775 o.add(buildAdvertiser()); | 775 o.add(buildAdvertiser()); |
| 776 return o; | 776 return o; |
| 777 } | 777 } |
| 778 | 778 |
| 779 checkUnnamed1563(core.List<api.Advertiser> o) { | 779 checkUnnamed137(core.List<api.Advertiser> o) { |
| 780 unittest.expect(o, unittest.hasLength(2)); | 780 unittest.expect(o, unittest.hasLength(2)); |
| 781 checkAdvertiser(o[0]); | 781 checkAdvertiser(o[0]); |
| 782 checkAdvertiser(o[1]); | 782 checkAdvertiser(o[1]); |
| 783 } | 783 } |
| 784 | 784 |
| 785 core.int buildCounterAdvertisersListResponse = 0; | 785 core.int buildCounterAdvertisersListResponse = 0; |
| 786 buildAdvertisersListResponse() { | 786 buildAdvertisersListResponse() { |
| 787 var o = new api.AdvertisersListResponse(); | 787 var o = new api.AdvertisersListResponse(); |
| 788 buildCounterAdvertisersListResponse++; | 788 buildCounterAdvertisersListResponse++; |
| 789 if (buildCounterAdvertisersListResponse < 3) { | 789 if (buildCounterAdvertisersListResponse < 3) { |
| 790 o.advertisers = buildUnnamed1563(); | 790 o.advertisers = buildUnnamed137(); |
| 791 o.kind = "foo"; | 791 o.kind = "foo"; |
| 792 o.nextPageToken = "foo"; | 792 o.nextPageToken = "foo"; |
| 793 } | 793 } |
| 794 buildCounterAdvertisersListResponse--; | 794 buildCounterAdvertisersListResponse--; |
| 795 return o; | 795 return o; |
| 796 } | 796 } |
| 797 | 797 |
| 798 checkAdvertisersListResponse(api.AdvertisersListResponse o) { | 798 checkAdvertisersListResponse(api.AdvertisersListResponse o) { |
| 799 buildCounterAdvertisersListResponse++; | 799 buildCounterAdvertisersListResponse++; |
| 800 if (buildCounterAdvertisersListResponse < 3) { | 800 if (buildCounterAdvertisersListResponse < 3) { |
| 801 checkUnnamed1563(o.advertisers); | 801 checkUnnamed137(o.advertisers); |
| 802 unittest.expect(o.kind, unittest.equals('foo')); | 802 unittest.expect(o.kind, unittest.equals('foo')); |
| 803 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 803 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 804 } | 804 } |
| 805 buildCounterAdvertisersListResponse--; | 805 buildCounterAdvertisersListResponse--; |
| 806 } | 806 } |
| 807 | 807 |
| 808 core.int buildCounterAudienceSegment = 0; | 808 core.int buildCounterAudienceSegment = 0; |
| 809 buildAudienceSegment() { | 809 buildAudienceSegment() { |
| 810 var o = new api.AudienceSegment(); | 810 var o = new api.AudienceSegment(); |
| 811 buildCounterAudienceSegment++; | 811 buildCounterAudienceSegment++; |
| 812 if (buildCounterAudienceSegment < 3) { | 812 if (buildCounterAudienceSegment < 3) { |
| 813 o.allocation = 42; | 813 o.allocation = 42; |
| 814 o.id = "foo"; | 814 o.id = "foo"; |
| 815 o.name = "foo"; | 815 o.name = "foo"; |
| 816 } | 816 } |
| 817 buildCounterAudienceSegment--; | 817 buildCounterAudienceSegment--; |
| 818 return o; | 818 return o; |
| 819 } | 819 } |
| 820 | 820 |
| 821 checkAudienceSegment(api.AudienceSegment o) { | 821 checkAudienceSegment(api.AudienceSegment o) { |
| 822 buildCounterAudienceSegment++; | 822 buildCounterAudienceSegment++; |
| 823 if (buildCounterAudienceSegment < 3) { | 823 if (buildCounterAudienceSegment < 3) { |
| 824 unittest.expect(o.allocation, unittest.equals(42)); | 824 unittest.expect(o.allocation, unittest.equals(42)); |
| 825 unittest.expect(o.id, unittest.equals('foo')); | 825 unittest.expect(o.id, unittest.equals('foo')); |
| 826 unittest.expect(o.name, unittest.equals('foo')); | 826 unittest.expect(o.name, unittest.equals('foo')); |
| 827 } | 827 } |
| 828 buildCounterAudienceSegment--; | 828 buildCounterAudienceSegment--; |
| 829 } | 829 } |
| 830 | 830 |
| 831 buildUnnamed1564() { | 831 buildUnnamed138() { |
| 832 var o = new core.List<api.AudienceSegment>(); | 832 var o = new core.List<api.AudienceSegment>(); |
| 833 o.add(buildAudienceSegment()); | 833 o.add(buildAudienceSegment()); |
| 834 o.add(buildAudienceSegment()); | 834 o.add(buildAudienceSegment()); |
| 835 return o; | 835 return o; |
| 836 } | 836 } |
| 837 | 837 |
| 838 checkUnnamed1564(core.List<api.AudienceSegment> o) { | 838 checkUnnamed138(core.List<api.AudienceSegment> o) { |
| 839 unittest.expect(o, unittest.hasLength(2)); | 839 unittest.expect(o, unittest.hasLength(2)); |
| 840 checkAudienceSegment(o[0]); | 840 checkAudienceSegment(o[0]); |
| 841 checkAudienceSegment(o[1]); | 841 checkAudienceSegment(o[1]); |
| 842 } | 842 } |
| 843 | 843 |
| 844 core.int buildCounterAudienceSegmentGroup = 0; | 844 core.int buildCounterAudienceSegmentGroup = 0; |
| 845 buildAudienceSegmentGroup() { | 845 buildAudienceSegmentGroup() { |
| 846 var o = new api.AudienceSegmentGroup(); | 846 var o = new api.AudienceSegmentGroup(); |
| 847 buildCounterAudienceSegmentGroup++; | 847 buildCounterAudienceSegmentGroup++; |
| 848 if (buildCounterAudienceSegmentGroup < 3) { | 848 if (buildCounterAudienceSegmentGroup < 3) { |
| 849 o.audienceSegments = buildUnnamed1564(); | 849 o.audienceSegments = buildUnnamed138(); |
| 850 o.id = "foo"; | 850 o.id = "foo"; |
| 851 o.name = "foo"; | 851 o.name = "foo"; |
| 852 } | 852 } |
| 853 buildCounterAudienceSegmentGroup--; | 853 buildCounterAudienceSegmentGroup--; |
| 854 return o; | 854 return o; |
| 855 } | 855 } |
| 856 | 856 |
| 857 checkAudienceSegmentGroup(api.AudienceSegmentGroup o) { | 857 checkAudienceSegmentGroup(api.AudienceSegmentGroup o) { |
| 858 buildCounterAudienceSegmentGroup++; | 858 buildCounterAudienceSegmentGroup++; |
| 859 if (buildCounterAudienceSegmentGroup < 3) { | 859 if (buildCounterAudienceSegmentGroup < 3) { |
| 860 checkUnnamed1564(o.audienceSegments); | 860 checkUnnamed138(o.audienceSegments); |
| 861 unittest.expect(o.id, unittest.equals('foo')); | 861 unittest.expect(o.id, unittest.equals('foo')); |
| 862 unittest.expect(o.name, unittest.equals('foo')); | 862 unittest.expect(o.name, unittest.equals('foo')); |
| 863 } | 863 } |
| 864 buildCounterAudienceSegmentGroup--; | 864 buildCounterAudienceSegmentGroup--; |
| 865 } | 865 } |
| 866 | 866 |
| 867 core.int buildCounterBrowser = 0; | 867 core.int buildCounterBrowser = 0; |
| 868 buildBrowser() { | 868 buildBrowser() { |
| 869 var o = new api.Browser(); | 869 var o = new api.Browser(); |
| 870 buildCounterBrowser++; | 870 buildCounterBrowser++; |
| (...skipping 15 matching lines...) Expand all Loading... |
| 886 unittest.expect(o.browserVersionId, unittest.equals('foo')); | 886 unittest.expect(o.browserVersionId, unittest.equals('foo')); |
| 887 unittest.expect(o.dartId, unittest.equals('foo')); | 887 unittest.expect(o.dartId, unittest.equals('foo')); |
| 888 unittest.expect(o.kind, unittest.equals('foo')); | 888 unittest.expect(o.kind, unittest.equals('foo')); |
| 889 unittest.expect(o.majorVersion, unittest.equals('foo')); | 889 unittest.expect(o.majorVersion, unittest.equals('foo')); |
| 890 unittest.expect(o.minorVersion, unittest.equals('foo')); | 890 unittest.expect(o.minorVersion, unittest.equals('foo')); |
| 891 unittest.expect(o.name, unittest.equals('foo')); | 891 unittest.expect(o.name, unittest.equals('foo')); |
| 892 } | 892 } |
| 893 buildCounterBrowser--; | 893 buildCounterBrowser--; |
| 894 } | 894 } |
| 895 | 895 |
| 896 buildUnnamed1565() { | 896 buildUnnamed139() { |
| 897 var o = new core.List<api.Browser>(); | 897 var o = new core.List<api.Browser>(); |
| 898 o.add(buildBrowser()); | 898 o.add(buildBrowser()); |
| 899 o.add(buildBrowser()); | 899 o.add(buildBrowser()); |
| 900 return o; | 900 return o; |
| 901 } | 901 } |
| 902 | 902 |
| 903 checkUnnamed1565(core.List<api.Browser> o) { | 903 checkUnnamed139(core.List<api.Browser> o) { |
| 904 unittest.expect(o, unittest.hasLength(2)); | 904 unittest.expect(o, unittest.hasLength(2)); |
| 905 checkBrowser(o[0]); | 905 checkBrowser(o[0]); |
| 906 checkBrowser(o[1]); | 906 checkBrowser(o[1]); |
| 907 } | 907 } |
| 908 | 908 |
| 909 core.int buildCounterBrowsersListResponse = 0; | 909 core.int buildCounterBrowsersListResponse = 0; |
| 910 buildBrowsersListResponse() { | 910 buildBrowsersListResponse() { |
| 911 var o = new api.BrowsersListResponse(); | 911 var o = new api.BrowsersListResponse(); |
| 912 buildCounterBrowsersListResponse++; | 912 buildCounterBrowsersListResponse++; |
| 913 if (buildCounterBrowsersListResponse < 3) { | 913 if (buildCounterBrowsersListResponse < 3) { |
| 914 o.browsers = buildUnnamed1565(); | 914 o.browsers = buildUnnamed139(); |
| 915 o.kind = "foo"; | 915 o.kind = "foo"; |
| 916 } | 916 } |
| 917 buildCounterBrowsersListResponse--; | 917 buildCounterBrowsersListResponse--; |
| 918 return o; | 918 return o; |
| 919 } | 919 } |
| 920 | 920 |
| 921 checkBrowsersListResponse(api.BrowsersListResponse o) { | 921 checkBrowsersListResponse(api.BrowsersListResponse o) { |
| 922 buildCounterBrowsersListResponse++; | 922 buildCounterBrowsersListResponse++; |
| 923 if (buildCounterBrowsersListResponse < 3) { | 923 if (buildCounterBrowsersListResponse < 3) { |
| 924 checkUnnamed1565(o.browsers); | 924 checkUnnamed139(o.browsers); |
| 925 unittest.expect(o.kind, unittest.equals('foo')); | 925 unittest.expect(o.kind, unittest.equals('foo')); |
| 926 } | 926 } |
| 927 buildCounterBrowsersListResponse--; | 927 buildCounterBrowsersListResponse--; |
| 928 } | 928 } |
| 929 | 929 |
| 930 buildUnnamed1566() { | 930 buildUnnamed140() { |
| 931 var o = new core.List<api.CreativeOptimizationConfiguration>(); | 931 var o = new core.List<api.CreativeOptimizationConfiguration>(); |
| 932 o.add(buildCreativeOptimizationConfiguration()); | 932 o.add(buildCreativeOptimizationConfiguration()); |
| 933 o.add(buildCreativeOptimizationConfiguration()); | 933 o.add(buildCreativeOptimizationConfiguration()); |
| 934 return o; | 934 return o; |
| 935 } | 935 } |
| 936 | 936 |
| 937 checkUnnamed1566(core.List<api.CreativeOptimizationConfiguration> o) { | 937 checkUnnamed140(core.List<api.CreativeOptimizationConfiguration> o) { |
| 938 unittest.expect(o, unittest.hasLength(2)); | 938 unittest.expect(o, unittest.hasLength(2)); |
| 939 checkCreativeOptimizationConfiguration(o[0]); | 939 checkCreativeOptimizationConfiguration(o[0]); |
| 940 checkCreativeOptimizationConfiguration(o[1]); | 940 checkCreativeOptimizationConfiguration(o[1]); |
| 941 } | 941 } |
| 942 | 942 |
| 943 buildUnnamed1567() { | 943 buildUnnamed141() { |
| 944 var o = new core.List<api.AudienceSegmentGroup>(); | 944 var o = new core.List<api.AudienceSegmentGroup>(); |
| 945 o.add(buildAudienceSegmentGroup()); | 945 o.add(buildAudienceSegmentGroup()); |
| 946 o.add(buildAudienceSegmentGroup()); | 946 o.add(buildAudienceSegmentGroup()); |
| 947 return o; | 947 return o; |
| 948 } | 948 } |
| 949 | 949 |
| 950 checkUnnamed1567(core.List<api.AudienceSegmentGroup> o) { | 950 checkUnnamed141(core.List<api.AudienceSegmentGroup> o) { |
| 951 unittest.expect(o, unittest.hasLength(2)); | 951 unittest.expect(o, unittest.hasLength(2)); |
| 952 checkAudienceSegmentGroup(o[0]); | 952 checkAudienceSegmentGroup(o[0]); |
| 953 checkAudienceSegmentGroup(o[1]); | 953 checkAudienceSegmentGroup(o[1]); |
| 954 } | 954 } |
| 955 | 955 |
| 956 buildUnnamed1568() { | 956 buildUnnamed142() { |
| 957 var o = new core.List<core.String>(); | 957 var o = new core.List<core.String>(); |
| 958 o.add("foo"); | 958 o.add("foo"); |
| 959 o.add("foo"); | 959 o.add("foo"); |
| 960 return o; | 960 return o; |
| 961 } | 961 } |
| 962 | 962 |
| 963 checkUnnamed1568(core.List<core.String> o) { | 963 checkUnnamed142(core.List<core.String> o) { |
| 964 unittest.expect(o, unittest.hasLength(2)); | 964 unittest.expect(o, unittest.hasLength(2)); |
| 965 unittest.expect(o[0], unittest.equals('foo')); | 965 unittest.expect(o[0], unittest.equals('foo')); |
| 966 unittest.expect(o[1], unittest.equals('foo')); | 966 unittest.expect(o[1], unittest.equals('foo')); |
| 967 } | 967 } |
| 968 | 968 |
| 969 buildUnnamed1569() { | 969 buildUnnamed143() { |
| 970 var o = new core.List<api.EventTagOverride>(); | 970 var o = new core.List<api.EventTagOverride>(); |
| 971 o.add(buildEventTagOverride()); | 971 o.add(buildEventTagOverride()); |
| 972 o.add(buildEventTagOverride()); | 972 o.add(buildEventTagOverride()); |
| 973 return o; | 973 return o; |
| 974 } | 974 } |
| 975 | 975 |
| 976 checkUnnamed1569(core.List<api.EventTagOverride> o) { | 976 checkUnnamed143(core.List<api.EventTagOverride> o) { |
| 977 unittest.expect(o, unittest.hasLength(2)); | 977 unittest.expect(o, unittest.hasLength(2)); |
| 978 checkEventTagOverride(o[0]); | 978 checkEventTagOverride(o[0]); |
| 979 checkEventTagOverride(o[1]); | 979 checkEventTagOverride(o[1]); |
| 980 } | 980 } |
| 981 | 981 |
| 982 buildUnnamed1570() { | 982 buildUnnamed144() { |
| 983 var o = new core.List<core.String>(); | 983 var o = new core.List<core.String>(); |
| 984 o.add("foo"); | 984 o.add("foo"); |
| 985 o.add("foo"); | 985 o.add("foo"); |
| 986 return o; | 986 return o; |
| 987 } | 987 } |
| 988 | 988 |
| 989 checkUnnamed1570(core.List<core.String> o) { | 989 checkUnnamed144(core.List<core.String> o) { |
| 990 unittest.expect(o, unittest.hasLength(2)); | 990 unittest.expect(o, unittest.hasLength(2)); |
| 991 unittest.expect(o[0], unittest.equals('foo')); | 991 unittest.expect(o[0], unittest.equals('foo')); |
| 992 unittest.expect(o[1], unittest.equals('foo')); | 992 unittest.expect(o[1], unittest.equals('foo')); |
| 993 } | 993 } |
| 994 | 994 |
| 995 core.int buildCounterCampaign = 0; | 995 core.int buildCounterCampaign = 0; |
| 996 buildCampaign() { | 996 buildCampaign() { |
| 997 var o = new api.Campaign(); | 997 var o = new api.Campaign(); |
| 998 buildCounterCampaign++; | 998 buildCounterCampaign++; |
| 999 if (buildCounterCampaign < 3) { | 999 if (buildCounterCampaign < 3) { |
| 1000 o.accountId = "foo"; | 1000 o.accountId = "foo"; |
| 1001 o.additionalCreativeOptimizationConfigurations = buildUnnamed1566(); | 1001 o.additionalCreativeOptimizationConfigurations = buildUnnamed140(); |
| 1002 o.advertiserGroupId = "foo"; | 1002 o.advertiserGroupId = "foo"; |
| 1003 o.advertiserId = "foo"; | 1003 o.advertiserId = "foo"; |
| 1004 o.advertiserIdDimensionValue = buildDimensionValue(); | 1004 o.advertiserIdDimensionValue = buildDimensionValue(); |
| 1005 o.archived = true; | 1005 o.archived = true; |
| 1006 o.audienceSegmentGroups = buildUnnamed1567(); | 1006 o.audienceSegmentGroups = buildUnnamed141(); |
| 1007 o.billingInvoiceCode = "foo"; | 1007 o.billingInvoiceCode = "foo"; |
| 1008 o.clickThroughUrlSuffixProperties = buildClickThroughUrlSuffixProperties(); | 1008 o.clickThroughUrlSuffixProperties = buildClickThroughUrlSuffixProperties(); |
| 1009 o.comment = "foo"; | 1009 o.comment = "foo"; |
| 1010 o.comscoreVceEnabled = true; | 1010 o.comscoreVceEnabled = true; |
| 1011 o.createInfo = buildLastModifiedInfo(); | 1011 o.createInfo = buildLastModifiedInfo(); |
| 1012 o.creativeGroupIds = buildUnnamed1568(); | 1012 o.creativeGroupIds = buildUnnamed142(); |
| 1013 o.creativeOptimizationConfiguration = buildCreativeOptimizationConfiguration
(); | 1013 o.creativeOptimizationConfiguration = buildCreativeOptimizationConfiguration
(); |
| 1014 o.defaultClickThroughEventTagProperties = buildDefaultClickThroughEventTagPr
operties(); | 1014 o.defaultClickThroughEventTagProperties = buildDefaultClickThroughEventTagPr
operties(); |
| 1015 o.endDate = core.DateTime.parse("2002-02-27T14:01:02Z"); | 1015 o.endDate = core.DateTime.parse("2002-02-27T14:01:02Z"); |
| 1016 o.eventTagOverrides = buildUnnamed1569(); | 1016 o.eventTagOverrides = buildUnnamed143(); |
| 1017 o.externalId = "foo"; | 1017 o.externalId = "foo"; |
| 1018 o.id = "foo"; | 1018 o.id = "foo"; |
| 1019 o.idDimensionValue = buildDimensionValue(); | 1019 o.idDimensionValue = buildDimensionValue(); |
| 1020 o.kind = "foo"; | 1020 o.kind = "foo"; |
| 1021 o.lastModifiedInfo = buildLastModifiedInfo(); | 1021 o.lastModifiedInfo = buildLastModifiedInfo(); |
| 1022 o.lookbackConfiguration = buildLookbackConfiguration(); | 1022 o.lookbackConfiguration = buildLookbackConfiguration(); |
| 1023 o.name = "foo"; | 1023 o.name = "foo"; |
| 1024 o.nielsenOcrEnabled = true; | 1024 o.nielsenOcrEnabled = true; |
| 1025 o.startDate = core.DateTime.parse("2002-02-27T14:01:02Z"); | 1025 o.startDate = core.DateTime.parse("2002-02-27T14:01:02Z"); |
| 1026 o.subaccountId = "foo"; | 1026 o.subaccountId = "foo"; |
| 1027 o.traffickerEmails = buildUnnamed1570(); | 1027 o.traffickerEmails = buildUnnamed144(); |
| 1028 } | 1028 } |
| 1029 buildCounterCampaign--; | 1029 buildCounterCampaign--; |
| 1030 return o; | 1030 return o; |
| 1031 } | 1031 } |
| 1032 | 1032 |
| 1033 checkCampaign(api.Campaign o) { | 1033 checkCampaign(api.Campaign o) { |
| 1034 buildCounterCampaign++; | 1034 buildCounterCampaign++; |
| 1035 if (buildCounterCampaign < 3) { | 1035 if (buildCounterCampaign < 3) { |
| 1036 unittest.expect(o.accountId, unittest.equals('foo')); | 1036 unittest.expect(o.accountId, unittest.equals('foo')); |
| 1037 checkUnnamed1566(o.additionalCreativeOptimizationConfigurations); | 1037 checkUnnamed140(o.additionalCreativeOptimizationConfigurations); |
| 1038 unittest.expect(o.advertiserGroupId, unittest.equals('foo')); | 1038 unittest.expect(o.advertiserGroupId, unittest.equals('foo')); |
| 1039 unittest.expect(o.advertiserId, unittest.equals('foo')); | 1039 unittest.expect(o.advertiserId, unittest.equals('foo')); |
| 1040 checkDimensionValue(o.advertiserIdDimensionValue); | 1040 checkDimensionValue(o.advertiserIdDimensionValue); |
| 1041 unittest.expect(o.archived, unittest.isTrue); | 1041 unittest.expect(o.archived, unittest.isTrue); |
| 1042 checkUnnamed1567(o.audienceSegmentGroups); | 1042 checkUnnamed141(o.audienceSegmentGroups); |
| 1043 unittest.expect(o.billingInvoiceCode, unittest.equals('foo')); | 1043 unittest.expect(o.billingInvoiceCode, unittest.equals('foo')); |
| 1044 checkClickThroughUrlSuffixProperties(o.clickThroughUrlSuffixProperties); | 1044 checkClickThroughUrlSuffixProperties(o.clickThroughUrlSuffixProperties); |
| 1045 unittest.expect(o.comment, unittest.equals('foo')); | 1045 unittest.expect(o.comment, unittest.equals('foo')); |
| 1046 unittest.expect(o.comscoreVceEnabled, unittest.isTrue); | 1046 unittest.expect(o.comscoreVceEnabled, unittest.isTrue); |
| 1047 checkLastModifiedInfo(o.createInfo); | 1047 checkLastModifiedInfo(o.createInfo); |
| 1048 checkUnnamed1568(o.creativeGroupIds); | 1048 checkUnnamed142(o.creativeGroupIds); |
| 1049 checkCreativeOptimizationConfiguration(o.creativeOptimizationConfiguration); | 1049 checkCreativeOptimizationConfiguration(o.creativeOptimizationConfiguration); |
| 1050 checkDefaultClickThroughEventTagProperties(o.defaultClickThroughEventTagProp
erties); | 1050 checkDefaultClickThroughEventTagProperties(o.defaultClickThroughEventTagProp
erties); |
| 1051 unittest.expect(o.endDate, unittest.equals(core.DateTime.parse("2002-02-27T0
0:00:00"))); | 1051 unittest.expect(o.endDate, unittest.equals(core.DateTime.parse("2002-02-27T0
0:00:00"))); |
| 1052 checkUnnamed1569(o.eventTagOverrides); | 1052 checkUnnamed143(o.eventTagOverrides); |
| 1053 unittest.expect(o.externalId, unittest.equals('foo')); | 1053 unittest.expect(o.externalId, unittest.equals('foo')); |
| 1054 unittest.expect(o.id, unittest.equals('foo')); | 1054 unittest.expect(o.id, unittest.equals('foo')); |
| 1055 checkDimensionValue(o.idDimensionValue); | 1055 checkDimensionValue(o.idDimensionValue); |
| 1056 unittest.expect(o.kind, unittest.equals('foo')); | 1056 unittest.expect(o.kind, unittest.equals('foo')); |
| 1057 checkLastModifiedInfo(o.lastModifiedInfo); | 1057 checkLastModifiedInfo(o.lastModifiedInfo); |
| 1058 checkLookbackConfiguration(o.lookbackConfiguration); | 1058 checkLookbackConfiguration(o.lookbackConfiguration); |
| 1059 unittest.expect(o.name, unittest.equals('foo')); | 1059 unittest.expect(o.name, unittest.equals('foo')); |
| 1060 unittest.expect(o.nielsenOcrEnabled, unittest.isTrue); | 1060 unittest.expect(o.nielsenOcrEnabled, unittest.isTrue); |
| 1061 unittest.expect(o.startDate, unittest.equals(core.DateTime.parse("2002-02-27
T00:00:00"))); | 1061 unittest.expect(o.startDate, unittest.equals(core.DateTime.parse("2002-02-27
T00:00:00"))); |
| 1062 unittest.expect(o.subaccountId, unittest.equals('foo')); | 1062 unittest.expect(o.subaccountId, unittest.equals('foo')); |
| 1063 checkUnnamed1570(o.traffickerEmails); | 1063 checkUnnamed144(o.traffickerEmails); |
| 1064 } | 1064 } |
| 1065 buildCounterCampaign--; | 1065 buildCounterCampaign--; |
| 1066 } | 1066 } |
| 1067 | 1067 |
| 1068 core.int buildCounterCampaignCreativeAssociation = 0; | 1068 core.int buildCounterCampaignCreativeAssociation = 0; |
| 1069 buildCampaignCreativeAssociation() { | 1069 buildCampaignCreativeAssociation() { |
| 1070 var o = new api.CampaignCreativeAssociation(); | 1070 var o = new api.CampaignCreativeAssociation(); |
| 1071 buildCounterCampaignCreativeAssociation++; | 1071 buildCounterCampaignCreativeAssociation++; |
| 1072 if (buildCounterCampaignCreativeAssociation < 3) { | 1072 if (buildCounterCampaignCreativeAssociation < 3) { |
| 1073 o.creativeId = "foo"; | 1073 o.creativeId = "foo"; |
| 1074 o.kind = "foo"; | 1074 o.kind = "foo"; |
| 1075 } | 1075 } |
| 1076 buildCounterCampaignCreativeAssociation--; | 1076 buildCounterCampaignCreativeAssociation--; |
| 1077 return o; | 1077 return o; |
| 1078 } | 1078 } |
| 1079 | 1079 |
| 1080 checkCampaignCreativeAssociation(api.CampaignCreativeAssociation o) { | 1080 checkCampaignCreativeAssociation(api.CampaignCreativeAssociation o) { |
| 1081 buildCounterCampaignCreativeAssociation++; | 1081 buildCounterCampaignCreativeAssociation++; |
| 1082 if (buildCounterCampaignCreativeAssociation < 3) { | 1082 if (buildCounterCampaignCreativeAssociation < 3) { |
| 1083 unittest.expect(o.creativeId, unittest.equals('foo')); | 1083 unittest.expect(o.creativeId, unittest.equals('foo')); |
| 1084 unittest.expect(o.kind, unittest.equals('foo')); | 1084 unittest.expect(o.kind, unittest.equals('foo')); |
| 1085 } | 1085 } |
| 1086 buildCounterCampaignCreativeAssociation--; | 1086 buildCounterCampaignCreativeAssociation--; |
| 1087 } | 1087 } |
| 1088 | 1088 |
| 1089 buildUnnamed1571() { | 1089 buildUnnamed145() { |
| 1090 var o = new core.List<api.CampaignCreativeAssociation>(); | 1090 var o = new core.List<api.CampaignCreativeAssociation>(); |
| 1091 o.add(buildCampaignCreativeAssociation()); | 1091 o.add(buildCampaignCreativeAssociation()); |
| 1092 o.add(buildCampaignCreativeAssociation()); | 1092 o.add(buildCampaignCreativeAssociation()); |
| 1093 return o; | 1093 return o; |
| 1094 } | 1094 } |
| 1095 | 1095 |
| 1096 checkUnnamed1571(core.List<api.CampaignCreativeAssociation> o) { | 1096 checkUnnamed145(core.List<api.CampaignCreativeAssociation> o) { |
| 1097 unittest.expect(o, unittest.hasLength(2)); | 1097 unittest.expect(o, unittest.hasLength(2)); |
| 1098 checkCampaignCreativeAssociation(o[0]); | 1098 checkCampaignCreativeAssociation(o[0]); |
| 1099 checkCampaignCreativeAssociation(o[1]); | 1099 checkCampaignCreativeAssociation(o[1]); |
| 1100 } | 1100 } |
| 1101 | 1101 |
| 1102 core.int buildCounterCampaignCreativeAssociationsListResponse = 0; | 1102 core.int buildCounterCampaignCreativeAssociationsListResponse = 0; |
| 1103 buildCampaignCreativeAssociationsListResponse() { | 1103 buildCampaignCreativeAssociationsListResponse() { |
| 1104 var o = new api.CampaignCreativeAssociationsListResponse(); | 1104 var o = new api.CampaignCreativeAssociationsListResponse(); |
| 1105 buildCounterCampaignCreativeAssociationsListResponse++; | 1105 buildCounterCampaignCreativeAssociationsListResponse++; |
| 1106 if (buildCounterCampaignCreativeAssociationsListResponse < 3) { | 1106 if (buildCounterCampaignCreativeAssociationsListResponse < 3) { |
| 1107 o.campaignCreativeAssociations = buildUnnamed1571(); | 1107 o.campaignCreativeAssociations = buildUnnamed145(); |
| 1108 o.kind = "foo"; | 1108 o.kind = "foo"; |
| 1109 o.nextPageToken = "foo"; | 1109 o.nextPageToken = "foo"; |
| 1110 } | 1110 } |
| 1111 buildCounterCampaignCreativeAssociationsListResponse--; | 1111 buildCounterCampaignCreativeAssociationsListResponse--; |
| 1112 return o; | 1112 return o; |
| 1113 } | 1113 } |
| 1114 | 1114 |
| 1115 checkCampaignCreativeAssociationsListResponse(api.CampaignCreativeAssociationsLi
stResponse o) { | 1115 checkCampaignCreativeAssociationsListResponse(api.CampaignCreativeAssociationsLi
stResponse o) { |
| 1116 buildCounterCampaignCreativeAssociationsListResponse++; | 1116 buildCounterCampaignCreativeAssociationsListResponse++; |
| 1117 if (buildCounterCampaignCreativeAssociationsListResponse < 3) { | 1117 if (buildCounterCampaignCreativeAssociationsListResponse < 3) { |
| 1118 checkUnnamed1571(o.campaignCreativeAssociations); | 1118 checkUnnamed145(o.campaignCreativeAssociations); |
| 1119 unittest.expect(o.kind, unittest.equals('foo')); | 1119 unittest.expect(o.kind, unittest.equals('foo')); |
| 1120 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1120 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1121 } | 1121 } |
| 1122 buildCounterCampaignCreativeAssociationsListResponse--; | 1122 buildCounterCampaignCreativeAssociationsListResponse--; |
| 1123 } | 1123 } |
| 1124 | 1124 |
| 1125 buildUnnamed1572() { | 1125 buildUnnamed146() { |
| 1126 var o = new core.List<api.Campaign>(); | 1126 var o = new core.List<api.Campaign>(); |
| 1127 o.add(buildCampaign()); | 1127 o.add(buildCampaign()); |
| 1128 o.add(buildCampaign()); | 1128 o.add(buildCampaign()); |
| 1129 return o; | 1129 return o; |
| 1130 } | 1130 } |
| 1131 | 1131 |
| 1132 checkUnnamed1572(core.List<api.Campaign> o) { | 1132 checkUnnamed146(core.List<api.Campaign> o) { |
| 1133 unittest.expect(o, unittest.hasLength(2)); | 1133 unittest.expect(o, unittest.hasLength(2)); |
| 1134 checkCampaign(o[0]); | 1134 checkCampaign(o[0]); |
| 1135 checkCampaign(o[1]); | 1135 checkCampaign(o[1]); |
| 1136 } | 1136 } |
| 1137 | 1137 |
| 1138 core.int buildCounterCampaignsListResponse = 0; | 1138 core.int buildCounterCampaignsListResponse = 0; |
| 1139 buildCampaignsListResponse() { | 1139 buildCampaignsListResponse() { |
| 1140 var o = new api.CampaignsListResponse(); | 1140 var o = new api.CampaignsListResponse(); |
| 1141 buildCounterCampaignsListResponse++; | 1141 buildCounterCampaignsListResponse++; |
| 1142 if (buildCounterCampaignsListResponse < 3) { | 1142 if (buildCounterCampaignsListResponse < 3) { |
| 1143 o.campaigns = buildUnnamed1572(); | 1143 o.campaigns = buildUnnamed146(); |
| 1144 o.kind = "foo"; | 1144 o.kind = "foo"; |
| 1145 o.nextPageToken = "foo"; | 1145 o.nextPageToken = "foo"; |
| 1146 } | 1146 } |
| 1147 buildCounterCampaignsListResponse--; | 1147 buildCounterCampaignsListResponse--; |
| 1148 return o; | 1148 return o; |
| 1149 } | 1149 } |
| 1150 | 1150 |
| 1151 checkCampaignsListResponse(api.CampaignsListResponse o) { | 1151 checkCampaignsListResponse(api.CampaignsListResponse o) { |
| 1152 buildCounterCampaignsListResponse++; | 1152 buildCounterCampaignsListResponse++; |
| 1153 if (buildCounterCampaignsListResponse < 3) { | 1153 if (buildCounterCampaignsListResponse < 3) { |
| 1154 checkUnnamed1572(o.campaigns); | 1154 checkUnnamed146(o.campaigns); |
| 1155 unittest.expect(o.kind, unittest.equals('foo')); | 1155 unittest.expect(o.kind, unittest.equals('foo')); |
| 1156 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1156 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1157 } | 1157 } |
| 1158 buildCounterCampaignsListResponse--; | 1158 buildCounterCampaignsListResponse--; |
| 1159 } | 1159 } |
| 1160 | 1160 |
| 1161 core.int buildCounterChangeLog = 0; | 1161 core.int buildCounterChangeLog = 0; |
| 1162 buildChangeLog() { | 1162 buildChangeLog() { |
| 1163 var o = new api.ChangeLog(); | 1163 var o = new api.ChangeLog(); |
| 1164 buildCounterChangeLog++; | 1164 buildCounterChangeLog++; |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1196 unittest.expect(o.objectType, unittest.equals('foo')); | 1196 unittest.expect(o.objectType, unittest.equals('foo')); |
| 1197 unittest.expect(o.oldValue, unittest.equals('foo')); | 1197 unittest.expect(o.oldValue, unittest.equals('foo')); |
| 1198 unittest.expect(o.subaccountId, unittest.equals('foo')); | 1198 unittest.expect(o.subaccountId, unittest.equals('foo')); |
| 1199 unittest.expect(o.transactionId, unittest.equals('foo')); | 1199 unittest.expect(o.transactionId, unittest.equals('foo')); |
| 1200 unittest.expect(o.userProfileId, unittest.equals('foo')); | 1200 unittest.expect(o.userProfileId, unittest.equals('foo')); |
| 1201 unittest.expect(o.userProfileName, unittest.equals('foo')); | 1201 unittest.expect(o.userProfileName, unittest.equals('foo')); |
| 1202 } | 1202 } |
| 1203 buildCounterChangeLog--; | 1203 buildCounterChangeLog--; |
| 1204 } | 1204 } |
| 1205 | 1205 |
| 1206 buildUnnamed1573() { | 1206 buildUnnamed147() { |
| 1207 var o = new core.List<api.ChangeLog>(); | 1207 var o = new core.List<api.ChangeLog>(); |
| 1208 o.add(buildChangeLog()); | 1208 o.add(buildChangeLog()); |
| 1209 o.add(buildChangeLog()); | 1209 o.add(buildChangeLog()); |
| 1210 return o; | 1210 return o; |
| 1211 } | 1211 } |
| 1212 | 1212 |
| 1213 checkUnnamed1573(core.List<api.ChangeLog> o) { | 1213 checkUnnamed147(core.List<api.ChangeLog> o) { |
| 1214 unittest.expect(o, unittest.hasLength(2)); | 1214 unittest.expect(o, unittest.hasLength(2)); |
| 1215 checkChangeLog(o[0]); | 1215 checkChangeLog(o[0]); |
| 1216 checkChangeLog(o[1]); | 1216 checkChangeLog(o[1]); |
| 1217 } | 1217 } |
| 1218 | 1218 |
| 1219 core.int buildCounterChangeLogsListResponse = 0; | 1219 core.int buildCounterChangeLogsListResponse = 0; |
| 1220 buildChangeLogsListResponse() { | 1220 buildChangeLogsListResponse() { |
| 1221 var o = new api.ChangeLogsListResponse(); | 1221 var o = new api.ChangeLogsListResponse(); |
| 1222 buildCounterChangeLogsListResponse++; | 1222 buildCounterChangeLogsListResponse++; |
| 1223 if (buildCounterChangeLogsListResponse < 3) { | 1223 if (buildCounterChangeLogsListResponse < 3) { |
| 1224 o.changeLogs = buildUnnamed1573(); | 1224 o.changeLogs = buildUnnamed147(); |
| 1225 o.kind = "foo"; | 1225 o.kind = "foo"; |
| 1226 o.nextPageToken = "foo"; | 1226 o.nextPageToken = "foo"; |
| 1227 } | 1227 } |
| 1228 buildCounterChangeLogsListResponse--; | 1228 buildCounterChangeLogsListResponse--; |
| 1229 return o; | 1229 return o; |
| 1230 } | 1230 } |
| 1231 | 1231 |
| 1232 checkChangeLogsListResponse(api.ChangeLogsListResponse o) { | 1232 checkChangeLogsListResponse(api.ChangeLogsListResponse o) { |
| 1233 buildCounterChangeLogsListResponse++; | 1233 buildCounterChangeLogsListResponse++; |
| 1234 if (buildCounterChangeLogsListResponse < 3) { | 1234 if (buildCounterChangeLogsListResponse < 3) { |
| 1235 checkUnnamed1573(o.changeLogs); | 1235 checkUnnamed147(o.changeLogs); |
| 1236 unittest.expect(o.kind, unittest.equals('foo')); | 1236 unittest.expect(o.kind, unittest.equals('foo')); |
| 1237 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1237 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1238 } | 1238 } |
| 1239 buildCounterChangeLogsListResponse--; | 1239 buildCounterChangeLogsListResponse--; |
| 1240 } | 1240 } |
| 1241 | 1241 |
| 1242 buildUnnamed1574() { | 1242 buildUnnamed148() { |
| 1243 var o = new core.List<api.City>(); | 1243 var o = new core.List<api.City>(); |
| 1244 o.add(buildCity()); | 1244 o.add(buildCity()); |
| 1245 o.add(buildCity()); | 1245 o.add(buildCity()); |
| 1246 return o; | 1246 return o; |
| 1247 } | 1247 } |
| 1248 | 1248 |
| 1249 checkUnnamed1574(core.List<api.City> o) { | 1249 checkUnnamed148(core.List<api.City> o) { |
| 1250 unittest.expect(o, unittest.hasLength(2)); | 1250 unittest.expect(o, unittest.hasLength(2)); |
| 1251 checkCity(o[0]); | 1251 checkCity(o[0]); |
| 1252 checkCity(o[1]); | 1252 checkCity(o[1]); |
| 1253 } | 1253 } |
| 1254 | 1254 |
| 1255 core.int buildCounterCitiesListResponse = 0; | 1255 core.int buildCounterCitiesListResponse = 0; |
| 1256 buildCitiesListResponse() { | 1256 buildCitiesListResponse() { |
| 1257 var o = new api.CitiesListResponse(); | 1257 var o = new api.CitiesListResponse(); |
| 1258 buildCounterCitiesListResponse++; | 1258 buildCounterCitiesListResponse++; |
| 1259 if (buildCounterCitiesListResponse < 3) { | 1259 if (buildCounterCitiesListResponse < 3) { |
| 1260 o.cities = buildUnnamed1574(); | 1260 o.cities = buildUnnamed148(); |
| 1261 o.kind = "foo"; | 1261 o.kind = "foo"; |
| 1262 } | 1262 } |
| 1263 buildCounterCitiesListResponse--; | 1263 buildCounterCitiesListResponse--; |
| 1264 return o; | 1264 return o; |
| 1265 } | 1265 } |
| 1266 | 1266 |
| 1267 checkCitiesListResponse(api.CitiesListResponse o) { | 1267 checkCitiesListResponse(api.CitiesListResponse o) { |
| 1268 buildCounterCitiesListResponse++; | 1268 buildCounterCitiesListResponse++; |
| 1269 if (buildCounterCitiesListResponse < 3) { | 1269 if (buildCounterCitiesListResponse < 3) { |
| 1270 checkUnnamed1574(o.cities); | 1270 checkUnnamed148(o.cities); |
| 1271 unittest.expect(o.kind, unittest.equals('foo')); | 1271 unittest.expect(o.kind, unittest.equals('foo')); |
| 1272 } | 1272 } |
| 1273 buildCounterCitiesListResponse--; | 1273 buildCounterCitiesListResponse--; |
| 1274 } | 1274 } |
| 1275 | 1275 |
| 1276 core.int buildCounterCity = 0; | 1276 core.int buildCounterCity = 0; |
| 1277 buildCity() { | 1277 buildCity() { |
| 1278 var o = new api.City(); | 1278 var o = new api.City(); |
| 1279 buildCounterCity++; | 1279 buildCounterCity++; |
| 1280 if (buildCounterCity < 3) { | 1280 if (buildCounterCity < 3) { |
| (...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1443 checkConnectionType(api.ConnectionType o) { | 1443 checkConnectionType(api.ConnectionType o) { |
| 1444 buildCounterConnectionType++; | 1444 buildCounterConnectionType++; |
| 1445 if (buildCounterConnectionType < 3) { | 1445 if (buildCounterConnectionType < 3) { |
| 1446 unittest.expect(o.id, unittest.equals('foo')); | 1446 unittest.expect(o.id, unittest.equals('foo')); |
| 1447 unittest.expect(o.kind, unittest.equals('foo')); | 1447 unittest.expect(o.kind, unittest.equals('foo')); |
| 1448 unittest.expect(o.name, unittest.equals('foo')); | 1448 unittest.expect(o.name, unittest.equals('foo')); |
| 1449 } | 1449 } |
| 1450 buildCounterConnectionType--; | 1450 buildCounterConnectionType--; |
| 1451 } | 1451 } |
| 1452 | 1452 |
| 1453 buildUnnamed1575() { | 1453 buildUnnamed149() { |
| 1454 var o = new core.List<api.ConnectionType>(); | 1454 var o = new core.List<api.ConnectionType>(); |
| 1455 o.add(buildConnectionType()); | 1455 o.add(buildConnectionType()); |
| 1456 o.add(buildConnectionType()); | 1456 o.add(buildConnectionType()); |
| 1457 return o; | 1457 return o; |
| 1458 } | 1458 } |
| 1459 | 1459 |
| 1460 checkUnnamed1575(core.List<api.ConnectionType> o) { | 1460 checkUnnamed149(core.List<api.ConnectionType> o) { |
| 1461 unittest.expect(o, unittest.hasLength(2)); | 1461 unittest.expect(o, unittest.hasLength(2)); |
| 1462 checkConnectionType(o[0]); | 1462 checkConnectionType(o[0]); |
| 1463 checkConnectionType(o[1]); | 1463 checkConnectionType(o[1]); |
| 1464 } | 1464 } |
| 1465 | 1465 |
| 1466 core.int buildCounterConnectionTypesListResponse = 0; | 1466 core.int buildCounterConnectionTypesListResponse = 0; |
| 1467 buildConnectionTypesListResponse() { | 1467 buildConnectionTypesListResponse() { |
| 1468 var o = new api.ConnectionTypesListResponse(); | 1468 var o = new api.ConnectionTypesListResponse(); |
| 1469 buildCounterConnectionTypesListResponse++; | 1469 buildCounterConnectionTypesListResponse++; |
| 1470 if (buildCounterConnectionTypesListResponse < 3) { | 1470 if (buildCounterConnectionTypesListResponse < 3) { |
| 1471 o.connectionTypes = buildUnnamed1575(); | 1471 o.connectionTypes = buildUnnamed149(); |
| 1472 o.kind = "foo"; | 1472 o.kind = "foo"; |
| 1473 } | 1473 } |
| 1474 buildCounterConnectionTypesListResponse--; | 1474 buildCounterConnectionTypesListResponse--; |
| 1475 return o; | 1475 return o; |
| 1476 } | 1476 } |
| 1477 | 1477 |
| 1478 checkConnectionTypesListResponse(api.ConnectionTypesListResponse o) { | 1478 checkConnectionTypesListResponse(api.ConnectionTypesListResponse o) { |
| 1479 buildCounterConnectionTypesListResponse++; | 1479 buildCounterConnectionTypesListResponse++; |
| 1480 if (buildCounterConnectionTypesListResponse < 3) { | 1480 if (buildCounterConnectionTypesListResponse < 3) { |
| 1481 checkUnnamed1575(o.connectionTypes); | 1481 checkUnnamed149(o.connectionTypes); |
| 1482 unittest.expect(o.kind, unittest.equals('foo')); | 1482 unittest.expect(o.kind, unittest.equals('foo')); |
| 1483 } | 1483 } |
| 1484 buildCounterConnectionTypesListResponse--; | 1484 buildCounterConnectionTypesListResponse--; |
| 1485 } | 1485 } |
| 1486 | 1486 |
| 1487 buildUnnamed1576() { | 1487 buildUnnamed150() { |
| 1488 var o = new core.List<api.ContentCategory>(); | 1488 var o = new core.List<api.ContentCategory>(); |
| 1489 o.add(buildContentCategory()); | 1489 o.add(buildContentCategory()); |
| 1490 o.add(buildContentCategory()); | 1490 o.add(buildContentCategory()); |
| 1491 return o; | 1491 return o; |
| 1492 } | 1492 } |
| 1493 | 1493 |
| 1494 checkUnnamed1576(core.List<api.ContentCategory> o) { | 1494 checkUnnamed150(core.List<api.ContentCategory> o) { |
| 1495 unittest.expect(o, unittest.hasLength(2)); | 1495 unittest.expect(o, unittest.hasLength(2)); |
| 1496 checkContentCategory(o[0]); | 1496 checkContentCategory(o[0]); |
| 1497 checkContentCategory(o[1]); | 1497 checkContentCategory(o[1]); |
| 1498 } | 1498 } |
| 1499 | 1499 |
| 1500 core.int buildCounterContentCategoriesListResponse = 0; | 1500 core.int buildCounterContentCategoriesListResponse = 0; |
| 1501 buildContentCategoriesListResponse() { | 1501 buildContentCategoriesListResponse() { |
| 1502 var o = new api.ContentCategoriesListResponse(); | 1502 var o = new api.ContentCategoriesListResponse(); |
| 1503 buildCounterContentCategoriesListResponse++; | 1503 buildCounterContentCategoriesListResponse++; |
| 1504 if (buildCounterContentCategoriesListResponse < 3) { | 1504 if (buildCounterContentCategoriesListResponse < 3) { |
| 1505 o.contentCategories = buildUnnamed1576(); | 1505 o.contentCategories = buildUnnamed150(); |
| 1506 o.kind = "foo"; | 1506 o.kind = "foo"; |
| 1507 o.nextPageToken = "foo"; | 1507 o.nextPageToken = "foo"; |
| 1508 } | 1508 } |
| 1509 buildCounterContentCategoriesListResponse--; | 1509 buildCounterContentCategoriesListResponse--; |
| 1510 return o; | 1510 return o; |
| 1511 } | 1511 } |
| 1512 | 1512 |
| 1513 checkContentCategoriesListResponse(api.ContentCategoriesListResponse o) { | 1513 checkContentCategoriesListResponse(api.ContentCategoriesListResponse o) { |
| 1514 buildCounterContentCategoriesListResponse++; | 1514 buildCounterContentCategoriesListResponse++; |
| 1515 if (buildCounterContentCategoriesListResponse < 3) { | 1515 if (buildCounterContentCategoriesListResponse < 3) { |
| 1516 checkUnnamed1576(o.contentCategories); | 1516 checkUnnamed150(o.contentCategories); |
| 1517 unittest.expect(o.kind, unittest.equals('foo')); | 1517 unittest.expect(o.kind, unittest.equals('foo')); |
| 1518 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1518 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1519 } | 1519 } |
| 1520 buildCounterContentCategoriesListResponse--; | 1520 buildCounterContentCategoriesListResponse--; |
| 1521 } | 1521 } |
| 1522 | 1522 |
| 1523 core.int buildCounterContentCategory = 0; | 1523 core.int buildCounterContentCategory = 0; |
| 1524 buildContentCategory() { | 1524 buildContentCategory() { |
| 1525 var o = new api.ContentCategory(); | 1525 var o = new api.ContentCategory(); |
| 1526 buildCounterContentCategory++; | 1526 buildCounterContentCategory++; |
| (...skipping 11 matching lines...) Expand all Loading... |
| 1538 buildCounterContentCategory++; | 1538 buildCounterContentCategory++; |
| 1539 if (buildCounterContentCategory < 3) { | 1539 if (buildCounterContentCategory < 3) { |
| 1540 unittest.expect(o.accountId, unittest.equals('foo')); | 1540 unittest.expect(o.accountId, unittest.equals('foo')); |
| 1541 unittest.expect(o.id, unittest.equals('foo')); | 1541 unittest.expect(o.id, unittest.equals('foo')); |
| 1542 unittest.expect(o.kind, unittest.equals('foo')); | 1542 unittest.expect(o.kind, unittest.equals('foo')); |
| 1543 unittest.expect(o.name, unittest.equals('foo')); | 1543 unittest.expect(o.name, unittest.equals('foo')); |
| 1544 } | 1544 } |
| 1545 buildCounterContentCategory--; | 1545 buildCounterContentCategory--; |
| 1546 } | 1546 } |
| 1547 | 1547 |
| 1548 buildUnnamed1577() { | 1548 buildUnnamed151() { |
| 1549 var o = new core.List<api.Country>(); | 1549 var o = new core.List<api.Country>(); |
| 1550 o.add(buildCountry()); | 1550 o.add(buildCountry()); |
| 1551 o.add(buildCountry()); | 1551 o.add(buildCountry()); |
| 1552 return o; | 1552 return o; |
| 1553 } | 1553 } |
| 1554 | 1554 |
| 1555 checkUnnamed1577(core.List<api.Country> o) { | 1555 checkUnnamed151(core.List<api.Country> o) { |
| 1556 unittest.expect(o, unittest.hasLength(2)); | 1556 unittest.expect(o, unittest.hasLength(2)); |
| 1557 checkCountry(o[0]); | 1557 checkCountry(o[0]); |
| 1558 checkCountry(o[1]); | 1558 checkCountry(o[1]); |
| 1559 } | 1559 } |
| 1560 | 1560 |
| 1561 core.int buildCounterCountriesListResponse = 0; | 1561 core.int buildCounterCountriesListResponse = 0; |
| 1562 buildCountriesListResponse() { | 1562 buildCountriesListResponse() { |
| 1563 var o = new api.CountriesListResponse(); | 1563 var o = new api.CountriesListResponse(); |
| 1564 buildCounterCountriesListResponse++; | 1564 buildCounterCountriesListResponse++; |
| 1565 if (buildCounterCountriesListResponse < 3) { | 1565 if (buildCounterCountriesListResponse < 3) { |
| 1566 o.countries = buildUnnamed1577(); | 1566 o.countries = buildUnnamed151(); |
| 1567 o.kind = "foo"; | 1567 o.kind = "foo"; |
| 1568 } | 1568 } |
| 1569 buildCounterCountriesListResponse--; | 1569 buildCounterCountriesListResponse--; |
| 1570 return o; | 1570 return o; |
| 1571 } | 1571 } |
| 1572 | 1572 |
| 1573 checkCountriesListResponse(api.CountriesListResponse o) { | 1573 checkCountriesListResponse(api.CountriesListResponse o) { |
| 1574 buildCounterCountriesListResponse++; | 1574 buildCounterCountriesListResponse++; |
| 1575 if (buildCounterCountriesListResponse < 3) { | 1575 if (buildCounterCountriesListResponse < 3) { |
| 1576 checkUnnamed1577(o.countries); | 1576 checkUnnamed151(o.countries); |
| 1577 unittest.expect(o.kind, unittest.equals('foo')); | 1577 unittest.expect(o.kind, unittest.equals('foo')); |
| 1578 } | 1578 } |
| 1579 buildCounterCountriesListResponse--; | 1579 buildCounterCountriesListResponse--; |
| 1580 } | 1580 } |
| 1581 | 1581 |
| 1582 core.int buildCounterCountry = 0; | 1582 core.int buildCounterCountry = 0; |
| 1583 buildCountry() { | 1583 buildCountry() { |
| 1584 var o = new api.Country(); | 1584 var o = new api.Country(); |
| 1585 buildCounterCountry++; | 1585 buildCounterCountry++; |
| 1586 if (buildCounterCountry < 3) { | 1586 if (buildCounterCountry < 3) { |
| (...skipping 12 matching lines...) Expand all Loading... |
| 1599 if (buildCounterCountry < 3) { | 1599 if (buildCounterCountry < 3) { |
| 1600 unittest.expect(o.countryCode, unittest.equals('foo')); | 1600 unittest.expect(o.countryCode, unittest.equals('foo')); |
| 1601 unittest.expect(o.dartId, unittest.equals('foo')); | 1601 unittest.expect(o.dartId, unittest.equals('foo')); |
| 1602 unittest.expect(o.kind, unittest.equals('foo')); | 1602 unittest.expect(o.kind, unittest.equals('foo')); |
| 1603 unittest.expect(o.name, unittest.equals('foo')); | 1603 unittest.expect(o.name, unittest.equals('foo')); |
| 1604 unittest.expect(o.sslEnabled, unittest.isTrue); | 1604 unittest.expect(o.sslEnabled, unittest.isTrue); |
| 1605 } | 1605 } |
| 1606 buildCounterCountry--; | 1606 buildCounterCountry--; |
| 1607 } | 1607 } |
| 1608 | 1608 |
| 1609 buildUnnamed1578() { | 1609 buildUnnamed152() { |
| 1610 var o = new core.List<core.String>(); | 1610 var o = new core.List<core.String>(); |
| 1611 o.add("foo"); | 1611 o.add("foo"); |
| 1612 o.add("foo"); | 1612 o.add("foo"); |
| 1613 return o; | 1613 return o; |
| 1614 } | 1614 } |
| 1615 | 1615 |
| 1616 checkUnnamed1578(core.List<core.String> o) { | 1616 checkUnnamed152(core.List<core.String> o) { |
| 1617 unittest.expect(o, unittest.hasLength(2)); | 1617 unittest.expect(o, unittest.hasLength(2)); |
| 1618 unittest.expect(o[0], unittest.equals('foo')); | 1618 unittest.expect(o[0], unittest.equals('foo')); |
| 1619 unittest.expect(o[1], unittest.equals('foo')); | 1619 unittest.expect(o[1], unittest.equals('foo')); |
| 1620 } | 1620 } |
| 1621 | 1621 |
| 1622 buildUnnamed1579() { | 1622 buildUnnamed153() { |
| 1623 var o = new core.List<core.String>(); | 1623 var o = new core.List<core.String>(); |
| 1624 o.add("foo"); | 1624 o.add("foo"); |
| 1625 o.add("foo"); | 1625 o.add("foo"); |
| 1626 return o; | 1626 return o; |
| 1627 } | 1627 } |
| 1628 | 1628 |
| 1629 checkUnnamed1579(core.List<core.String> o) { | 1629 checkUnnamed153(core.List<core.String> o) { |
| 1630 unittest.expect(o, unittest.hasLength(2)); | 1630 unittest.expect(o, unittest.hasLength(2)); |
| 1631 unittest.expect(o[0], unittest.equals('foo')); | 1631 unittest.expect(o[0], unittest.equals('foo')); |
| 1632 unittest.expect(o[1], unittest.equals('foo')); | 1632 unittest.expect(o[1], unittest.equals('foo')); |
| 1633 } | 1633 } |
| 1634 | 1634 |
| 1635 buildUnnamed1580() { | 1635 buildUnnamed154() { |
| 1636 var o = new core.List<api.ClickTag>(); | 1636 var o = new core.List<api.ClickTag>(); |
| 1637 o.add(buildClickTag()); | 1637 o.add(buildClickTag()); |
| 1638 o.add(buildClickTag()); | 1638 o.add(buildClickTag()); |
| 1639 return o; | 1639 return o; |
| 1640 } | 1640 } |
| 1641 | 1641 |
| 1642 checkUnnamed1580(core.List<api.ClickTag> o) { | 1642 checkUnnamed154(core.List<api.ClickTag> o) { |
| 1643 unittest.expect(o, unittest.hasLength(2)); | 1643 unittest.expect(o, unittest.hasLength(2)); |
| 1644 checkClickTag(o[0]); | 1644 checkClickTag(o[0]); |
| 1645 checkClickTag(o[1]); | 1645 checkClickTag(o[1]); |
| 1646 } | 1646 } |
| 1647 | 1647 |
| 1648 buildUnnamed1581() { | 1648 buildUnnamed155() { |
| 1649 var o = new core.List<core.String>(); | 1649 var o = new core.List<core.String>(); |
| 1650 o.add("foo"); | 1650 o.add("foo"); |
| 1651 o.add("foo"); | 1651 o.add("foo"); |
| 1652 return o; | 1652 return o; |
| 1653 } | 1653 } |
| 1654 | 1654 |
| 1655 checkUnnamed1581(core.List<core.String> o) { | 1655 checkUnnamed155(core.List<core.String> o) { |
| 1656 unittest.expect(o, unittest.hasLength(2)); | 1656 unittest.expect(o, unittest.hasLength(2)); |
| 1657 unittest.expect(o[0], unittest.equals('foo')); | 1657 unittest.expect(o[0], unittest.equals('foo')); |
| 1658 unittest.expect(o[1], unittest.equals('foo')); | 1658 unittest.expect(o[1], unittest.equals('foo')); |
| 1659 } | 1659 } |
| 1660 | 1660 |
| 1661 buildUnnamed1582() { | 1661 buildUnnamed156() { |
| 1662 var o = new core.List<core.String>(); | 1662 var o = new core.List<core.String>(); |
| 1663 o.add("foo"); | 1663 o.add("foo"); |
| 1664 o.add("foo"); | 1664 o.add("foo"); |
| 1665 return o; | 1665 return o; |
| 1666 } | 1666 } |
| 1667 | 1667 |
| 1668 checkUnnamed1582(core.List<core.String> o) { | 1668 checkUnnamed156(core.List<core.String> o) { |
| 1669 unittest.expect(o, unittest.hasLength(2)); | 1669 unittest.expect(o, unittest.hasLength(2)); |
| 1670 unittest.expect(o[0], unittest.equals('foo')); | 1670 unittest.expect(o[0], unittest.equals('foo')); |
| 1671 unittest.expect(o[1], unittest.equals('foo')); | 1671 unittest.expect(o[1], unittest.equals('foo')); |
| 1672 } | 1672 } |
| 1673 | 1673 |
| 1674 buildUnnamed1583() { | 1674 buildUnnamed157() { |
| 1675 var o = new core.List<api.CreativeCustomEvent>(); | 1675 var o = new core.List<api.CreativeCustomEvent>(); |
| 1676 o.add(buildCreativeCustomEvent()); | 1676 o.add(buildCreativeCustomEvent()); |
| 1677 o.add(buildCreativeCustomEvent()); | 1677 o.add(buildCreativeCustomEvent()); |
| 1678 return o; | 1678 return o; |
| 1679 } | 1679 } |
| 1680 | 1680 |
| 1681 checkUnnamed1583(core.List<api.CreativeCustomEvent> o) { | 1681 checkUnnamed157(core.List<api.CreativeCustomEvent> o) { |
| 1682 unittest.expect(o, unittest.hasLength(2)); | 1682 unittest.expect(o, unittest.hasLength(2)); |
| 1683 checkCreativeCustomEvent(o[0]); | 1683 checkCreativeCustomEvent(o[0]); |
| 1684 checkCreativeCustomEvent(o[1]); | 1684 checkCreativeCustomEvent(o[1]); |
| 1685 } | 1685 } |
| 1686 | 1686 |
| 1687 buildUnnamed1584() { | 1687 buildUnnamed158() { |
| 1688 var o = new core.List<api.CreativeAsset>(); | 1688 var o = new core.List<api.CreativeAsset>(); |
| 1689 o.add(buildCreativeAsset()); | 1689 o.add(buildCreativeAsset()); |
| 1690 o.add(buildCreativeAsset()); | 1690 o.add(buildCreativeAsset()); |
| 1691 return o; | 1691 return o; |
| 1692 } | 1692 } |
| 1693 | 1693 |
| 1694 checkUnnamed1584(core.List<api.CreativeAsset> o) { | 1694 checkUnnamed158(core.List<api.CreativeAsset> o) { |
| 1695 unittest.expect(o, unittest.hasLength(2)); | 1695 unittest.expect(o, unittest.hasLength(2)); |
| 1696 checkCreativeAsset(o[0]); | 1696 checkCreativeAsset(o[0]); |
| 1697 checkCreativeAsset(o[1]); | 1697 checkCreativeAsset(o[1]); |
| 1698 } | 1698 } |
| 1699 | 1699 |
| 1700 buildUnnamed1585() { | 1700 buildUnnamed159() { |
| 1701 var o = new core.List<api.CreativeFieldAssignment>(); | 1701 var o = new core.List<api.CreativeFieldAssignment>(); |
| 1702 o.add(buildCreativeFieldAssignment()); | 1702 o.add(buildCreativeFieldAssignment()); |
| 1703 o.add(buildCreativeFieldAssignment()); | 1703 o.add(buildCreativeFieldAssignment()); |
| 1704 return o; | 1704 return o; |
| 1705 } | 1705 } |
| 1706 | 1706 |
| 1707 checkUnnamed1585(core.List<api.CreativeFieldAssignment> o) { | 1707 checkUnnamed159(core.List<api.CreativeFieldAssignment> o) { |
| 1708 unittest.expect(o, unittest.hasLength(2)); | 1708 unittest.expect(o, unittest.hasLength(2)); |
| 1709 checkCreativeFieldAssignment(o[0]); | 1709 checkCreativeFieldAssignment(o[0]); |
| 1710 checkCreativeFieldAssignment(o[1]); | 1710 checkCreativeFieldAssignment(o[1]); |
| 1711 } | 1711 } |
| 1712 | 1712 |
| 1713 buildUnnamed1586() { | 1713 buildUnnamed160() { |
| 1714 var o = new core.List<core.String>(); | 1714 var o = new core.List<core.String>(); |
| 1715 o.add("foo"); | 1715 o.add("foo"); |
| 1716 o.add("foo"); | 1716 o.add("foo"); |
| 1717 return o; | 1717 return o; |
| 1718 } | 1718 } |
| 1719 | 1719 |
| 1720 checkUnnamed1586(core.List<core.String> o) { | 1720 checkUnnamed160(core.List<core.String> o) { |
| 1721 unittest.expect(o, unittest.hasLength(2)); | 1721 unittest.expect(o, unittest.hasLength(2)); |
| 1722 unittest.expect(o[0], unittest.equals('foo')); | 1722 unittest.expect(o[0], unittest.equals('foo')); |
| 1723 unittest.expect(o[1], unittest.equals('foo')); | 1723 unittest.expect(o[1], unittest.equals('foo')); |
| 1724 } | 1724 } |
| 1725 | 1725 |
| 1726 buildUnnamed1587() { | 1726 buildUnnamed161() { |
| 1727 var o = new core.List<api.CreativeCustomEvent>(); | 1727 var o = new core.List<api.CreativeCustomEvent>(); |
| 1728 o.add(buildCreativeCustomEvent()); | 1728 o.add(buildCreativeCustomEvent()); |
| 1729 o.add(buildCreativeCustomEvent()); | 1729 o.add(buildCreativeCustomEvent()); |
| 1730 return o; | 1730 return o; |
| 1731 } | 1731 } |
| 1732 | 1732 |
| 1733 checkUnnamed1587(core.List<api.CreativeCustomEvent> o) { | 1733 checkUnnamed161(core.List<api.CreativeCustomEvent> o) { |
| 1734 unittest.expect(o, unittest.hasLength(2)); | 1734 unittest.expect(o, unittest.hasLength(2)); |
| 1735 checkCreativeCustomEvent(o[0]); | 1735 checkCreativeCustomEvent(o[0]); |
| 1736 checkCreativeCustomEvent(o[1]); | 1736 checkCreativeCustomEvent(o[1]); |
| 1737 } | 1737 } |
| 1738 | 1738 |
| 1739 buildUnnamed1588() { | 1739 buildUnnamed162() { |
| 1740 var o = new core.List<api.ThirdPartyTrackingUrl>(); | 1740 var o = new core.List<api.ThirdPartyTrackingUrl>(); |
| 1741 o.add(buildThirdPartyTrackingUrl()); | 1741 o.add(buildThirdPartyTrackingUrl()); |
| 1742 o.add(buildThirdPartyTrackingUrl()); | 1742 o.add(buildThirdPartyTrackingUrl()); |
| 1743 return o; | 1743 return o; |
| 1744 } | 1744 } |
| 1745 | 1745 |
| 1746 checkUnnamed1588(core.List<api.ThirdPartyTrackingUrl> o) { | 1746 checkUnnamed162(core.List<api.ThirdPartyTrackingUrl> o) { |
| 1747 unittest.expect(o, unittest.hasLength(2)); | 1747 unittest.expect(o, unittest.hasLength(2)); |
| 1748 checkThirdPartyTrackingUrl(o[0]); | 1748 checkThirdPartyTrackingUrl(o[0]); |
| 1749 checkThirdPartyTrackingUrl(o[1]); | 1749 checkThirdPartyTrackingUrl(o[1]); |
| 1750 } | 1750 } |
| 1751 | 1751 |
| 1752 buildUnnamed1589() { | 1752 buildUnnamed163() { |
| 1753 var o = new core.List<api.CreativeCustomEvent>(); | 1753 var o = new core.List<api.CreativeCustomEvent>(); |
| 1754 o.add(buildCreativeCustomEvent()); | 1754 o.add(buildCreativeCustomEvent()); |
| 1755 o.add(buildCreativeCustomEvent()); | 1755 o.add(buildCreativeCustomEvent()); |
| 1756 return o; | 1756 return o; |
| 1757 } | 1757 } |
| 1758 | 1758 |
| 1759 checkUnnamed1589(core.List<api.CreativeCustomEvent> o) { | 1759 checkUnnamed163(core.List<api.CreativeCustomEvent> o) { |
| 1760 unittest.expect(o, unittest.hasLength(2)); | 1760 unittest.expect(o, unittest.hasLength(2)); |
| 1761 checkCreativeCustomEvent(o[0]); | 1761 checkCreativeCustomEvent(o[0]); |
| 1762 checkCreativeCustomEvent(o[1]); | 1762 checkCreativeCustomEvent(o[1]); |
| 1763 } | 1763 } |
| 1764 | 1764 |
| 1765 core.int buildCounterCreative = 0; | 1765 core.int buildCounterCreative = 0; |
| 1766 buildCreative() { | 1766 buildCreative() { |
| 1767 var o = new api.Creative(); | 1767 var o = new api.Creative(); |
| 1768 buildCounterCreative++; | 1768 buildCounterCreative++; |
| 1769 if (buildCounterCreative < 3) { | 1769 if (buildCounterCreative < 3) { |
| 1770 o.accountId = "foo"; | 1770 o.accountId = "foo"; |
| 1771 o.active = true; | 1771 o.active = true; |
| 1772 o.adParameters = "foo"; | 1772 o.adParameters = "foo"; |
| 1773 o.adTagKeys = buildUnnamed1578(); | 1773 o.adTagKeys = buildUnnamed152(); |
| 1774 o.advertiserId = "foo"; | 1774 o.advertiserId = "foo"; |
| 1775 o.allowScriptAccess = true; | 1775 o.allowScriptAccess = true; |
| 1776 o.archived = true; | 1776 o.archived = true; |
| 1777 o.artworkType = "foo"; | 1777 o.artworkType = "foo"; |
| 1778 o.authoringSource = "foo"; | 1778 o.authoringSource = "foo"; |
| 1779 o.authoringTool = "foo"; | 1779 o.authoringTool = "foo"; |
| 1780 o.autoAdvanceImages = true; | 1780 o.autoAdvanceImages = true; |
| 1781 o.backgroundColor = "foo"; | 1781 o.backgroundColor = "foo"; |
| 1782 o.backupImageClickThroughUrl = "foo"; | 1782 o.backupImageClickThroughUrl = "foo"; |
| 1783 o.backupImageFeatures = buildUnnamed1579(); | 1783 o.backupImageFeatures = buildUnnamed153(); |
| 1784 o.backupImageReportingLabel = "foo"; | 1784 o.backupImageReportingLabel = "foo"; |
| 1785 o.backupImageTargetWindow = buildTargetWindow(); | 1785 o.backupImageTargetWindow = buildTargetWindow(); |
| 1786 o.clickTags = buildUnnamed1580(); | 1786 o.clickTags = buildUnnamed154(); |
| 1787 o.commercialId = "foo"; | 1787 o.commercialId = "foo"; |
| 1788 o.companionCreatives = buildUnnamed1581(); | 1788 o.companionCreatives = buildUnnamed155(); |
| 1789 o.compatibility = buildUnnamed1582(); | 1789 o.compatibility = buildUnnamed156(); |
| 1790 o.convertFlashToHtml5 = true; | 1790 o.convertFlashToHtml5 = true; |
| 1791 o.counterCustomEvents = buildUnnamed1583(); | 1791 o.counterCustomEvents = buildUnnamed157(); |
| 1792 o.creativeAssets = buildUnnamed1584(); | 1792 o.creativeAssets = buildUnnamed158(); |
| 1793 o.creativeFieldAssignments = buildUnnamed1585(); | 1793 o.creativeFieldAssignments = buildUnnamed159(); |
| 1794 o.customKeyValues = buildUnnamed1586(); | 1794 o.customKeyValues = buildUnnamed160(); |
| 1795 o.exitCustomEvents = buildUnnamed1587(); | 1795 o.exitCustomEvents = buildUnnamed161(); |
| 1796 o.fsCommand = buildFsCommand(); | 1796 o.fsCommand = buildFsCommand(); |
| 1797 o.htmlCode = "foo"; | 1797 o.htmlCode = "foo"; |
| 1798 o.htmlCodeLocked = true; | 1798 o.htmlCodeLocked = true; |
| 1799 o.id = "foo"; | 1799 o.id = "foo"; |
| 1800 o.idDimensionValue = buildDimensionValue(); | 1800 o.idDimensionValue = buildDimensionValue(); |
| 1801 o.kind = "foo"; | 1801 o.kind = "foo"; |
| 1802 o.lastModifiedInfo = buildLastModifiedInfo(); | 1802 o.lastModifiedInfo = buildLastModifiedInfo(); |
| 1803 o.latestTraffickedCreativeId = "foo"; | 1803 o.latestTraffickedCreativeId = "foo"; |
| 1804 o.name = "foo"; | 1804 o.name = "foo"; |
| 1805 o.overrideCss = "foo"; | 1805 o.overrideCss = "foo"; |
| 1806 o.redirectUrl = "foo"; | 1806 o.redirectUrl = "foo"; |
| 1807 o.renderingId = "foo"; | 1807 o.renderingId = "foo"; |
| 1808 o.renderingIdDimensionValue = buildDimensionValue(); | 1808 o.renderingIdDimensionValue = buildDimensionValue(); |
| 1809 o.requiredFlashPluginVersion = "foo"; | 1809 o.requiredFlashPluginVersion = "foo"; |
| 1810 o.requiredFlashVersion = 42; | 1810 o.requiredFlashVersion = 42; |
| 1811 o.size = buildSize(); | 1811 o.size = buildSize(); |
| 1812 o.skippable = true; | 1812 o.skippable = true; |
| 1813 o.sslCompliant = true; | 1813 o.sslCompliant = true; |
| 1814 o.sslOverride = true; | 1814 o.sslOverride = true; |
| 1815 o.studioAdvertiserId = "foo"; | 1815 o.studioAdvertiserId = "foo"; |
| 1816 o.studioCreativeId = "foo"; | 1816 o.studioCreativeId = "foo"; |
| 1817 o.studioTraffickedCreativeId = "foo"; | 1817 o.studioTraffickedCreativeId = "foo"; |
| 1818 o.subaccountId = "foo"; | 1818 o.subaccountId = "foo"; |
| 1819 o.thirdPartyBackupImageImpressionsUrl = "foo"; | 1819 o.thirdPartyBackupImageImpressionsUrl = "foo"; |
| 1820 o.thirdPartyRichMediaImpressionsUrl = "foo"; | 1820 o.thirdPartyRichMediaImpressionsUrl = "foo"; |
| 1821 o.thirdPartyUrls = buildUnnamed1588(); | 1821 o.thirdPartyUrls = buildUnnamed162(); |
| 1822 o.timerCustomEvents = buildUnnamed1589(); | 1822 o.timerCustomEvents = buildUnnamed163(); |
| 1823 o.totalFileSize = "foo"; | 1823 o.totalFileSize = "foo"; |
| 1824 o.type = "foo"; | 1824 o.type = "foo"; |
| 1825 o.version = 42; | 1825 o.version = 42; |
| 1826 o.videoDescription = "foo"; | 1826 o.videoDescription = "foo"; |
| 1827 o.videoDuration = 42.0; | 1827 o.videoDuration = 42.0; |
| 1828 } | 1828 } |
| 1829 buildCounterCreative--; | 1829 buildCounterCreative--; |
| 1830 return o; | 1830 return o; |
| 1831 } | 1831 } |
| 1832 | 1832 |
| 1833 checkCreative(api.Creative o) { | 1833 checkCreative(api.Creative o) { |
| 1834 buildCounterCreative++; | 1834 buildCounterCreative++; |
| 1835 if (buildCounterCreative < 3) { | 1835 if (buildCounterCreative < 3) { |
| 1836 unittest.expect(o.accountId, unittest.equals('foo')); | 1836 unittest.expect(o.accountId, unittest.equals('foo')); |
| 1837 unittest.expect(o.active, unittest.isTrue); | 1837 unittest.expect(o.active, unittest.isTrue); |
| 1838 unittest.expect(o.adParameters, unittest.equals('foo')); | 1838 unittest.expect(o.adParameters, unittest.equals('foo')); |
| 1839 checkUnnamed1578(o.adTagKeys); | 1839 checkUnnamed152(o.adTagKeys); |
| 1840 unittest.expect(o.advertiserId, unittest.equals('foo')); | 1840 unittest.expect(o.advertiserId, unittest.equals('foo')); |
| 1841 unittest.expect(o.allowScriptAccess, unittest.isTrue); | 1841 unittest.expect(o.allowScriptAccess, unittest.isTrue); |
| 1842 unittest.expect(o.archived, unittest.isTrue); | 1842 unittest.expect(o.archived, unittest.isTrue); |
| 1843 unittest.expect(o.artworkType, unittest.equals('foo')); | 1843 unittest.expect(o.artworkType, unittest.equals('foo')); |
| 1844 unittest.expect(o.authoringSource, unittest.equals('foo')); | 1844 unittest.expect(o.authoringSource, unittest.equals('foo')); |
| 1845 unittest.expect(o.authoringTool, unittest.equals('foo')); | 1845 unittest.expect(o.authoringTool, unittest.equals('foo')); |
| 1846 unittest.expect(o.autoAdvanceImages, unittest.isTrue); | 1846 unittest.expect(o.autoAdvanceImages, unittest.isTrue); |
| 1847 unittest.expect(o.backgroundColor, unittest.equals('foo')); | 1847 unittest.expect(o.backgroundColor, unittest.equals('foo')); |
| 1848 unittest.expect(o.backupImageClickThroughUrl, unittest.equals('foo')); | 1848 unittest.expect(o.backupImageClickThroughUrl, unittest.equals('foo')); |
| 1849 checkUnnamed1579(o.backupImageFeatures); | 1849 checkUnnamed153(o.backupImageFeatures); |
| 1850 unittest.expect(o.backupImageReportingLabel, unittest.equals('foo')); | 1850 unittest.expect(o.backupImageReportingLabel, unittest.equals('foo')); |
| 1851 checkTargetWindow(o.backupImageTargetWindow); | 1851 checkTargetWindow(o.backupImageTargetWindow); |
| 1852 checkUnnamed1580(o.clickTags); | 1852 checkUnnamed154(o.clickTags); |
| 1853 unittest.expect(o.commercialId, unittest.equals('foo')); | 1853 unittest.expect(o.commercialId, unittest.equals('foo')); |
| 1854 checkUnnamed1581(o.companionCreatives); | 1854 checkUnnamed155(o.companionCreatives); |
| 1855 checkUnnamed1582(o.compatibility); | 1855 checkUnnamed156(o.compatibility); |
| 1856 unittest.expect(o.convertFlashToHtml5, unittest.isTrue); | 1856 unittest.expect(o.convertFlashToHtml5, unittest.isTrue); |
| 1857 checkUnnamed1583(o.counterCustomEvents); | 1857 checkUnnamed157(o.counterCustomEvents); |
| 1858 checkUnnamed1584(o.creativeAssets); | 1858 checkUnnamed158(o.creativeAssets); |
| 1859 checkUnnamed1585(o.creativeFieldAssignments); | 1859 checkUnnamed159(o.creativeFieldAssignments); |
| 1860 checkUnnamed1586(o.customKeyValues); | 1860 checkUnnamed160(o.customKeyValues); |
| 1861 checkUnnamed1587(o.exitCustomEvents); | 1861 checkUnnamed161(o.exitCustomEvents); |
| 1862 checkFsCommand(o.fsCommand); | 1862 checkFsCommand(o.fsCommand); |
| 1863 unittest.expect(o.htmlCode, unittest.equals('foo')); | 1863 unittest.expect(o.htmlCode, unittest.equals('foo')); |
| 1864 unittest.expect(o.htmlCodeLocked, unittest.isTrue); | 1864 unittest.expect(o.htmlCodeLocked, unittest.isTrue); |
| 1865 unittest.expect(o.id, unittest.equals('foo')); | 1865 unittest.expect(o.id, unittest.equals('foo')); |
| 1866 checkDimensionValue(o.idDimensionValue); | 1866 checkDimensionValue(o.idDimensionValue); |
| 1867 unittest.expect(o.kind, unittest.equals('foo')); | 1867 unittest.expect(o.kind, unittest.equals('foo')); |
| 1868 checkLastModifiedInfo(o.lastModifiedInfo); | 1868 checkLastModifiedInfo(o.lastModifiedInfo); |
| 1869 unittest.expect(o.latestTraffickedCreativeId, unittest.equals('foo')); | 1869 unittest.expect(o.latestTraffickedCreativeId, unittest.equals('foo')); |
| 1870 unittest.expect(o.name, unittest.equals('foo')); | 1870 unittest.expect(o.name, unittest.equals('foo')); |
| 1871 unittest.expect(o.overrideCss, unittest.equals('foo')); | 1871 unittest.expect(o.overrideCss, unittest.equals('foo')); |
| 1872 unittest.expect(o.redirectUrl, unittest.equals('foo')); | 1872 unittest.expect(o.redirectUrl, unittest.equals('foo')); |
| 1873 unittest.expect(o.renderingId, unittest.equals('foo')); | 1873 unittest.expect(o.renderingId, unittest.equals('foo')); |
| 1874 checkDimensionValue(o.renderingIdDimensionValue); | 1874 checkDimensionValue(o.renderingIdDimensionValue); |
| 1875 unittest.expect(o.requiredFlashPluginVersion, unittest.equals('foo')); | 1875 unittest.expect(o.requiredFlashPluginVersion, unittest.equals('foo')); |
| 1876 unittest.expect(o.requiredFlashVersion, unittest.equals(42)); | 1876 unittest.expect(o.requiredFlashVersion, unittest.equals(42)); |
| 1877 checkSize(o.size); | 1877 checkSize(o.size); |
| 1878 unittest.expect(o.skippable, unittest.isTrue); | 1878 unittest.expect(o.skippable, unittest.isTrue); |
| 1879 unittest.expect(o.sslCompliant, unittest.isTrue); | 1879 unittest.expect(o.sslCompliant, unittest.isTrue); |
| 1880 unittest.expect(o.sslOverride, unittest.isTrue); | 1880 unittest.expect(o.sslOverride, unittest.isTrue); |
| 1881 unittest.expect(o.studioAdvertiserId, unittest.equals('foo')); | 1881 unittest.expect(o.studioAdvertiserId, unittest.equals('foo')); |
| 1882 unittest.expect(o.studioCreativeId, unittest.equals('foo')); | 1882 unittest.expect(o.studioCreativeId, unittest.equals('foo')); |
| 1883 unittest.expect(o.studioTraffickedCreativeId, unittest.equals('foo')); | 1883 unittest.expect(o.studioTraffickedCreativeId, unittest.equals('foo')); |
| 1884 unittest.expect(o.subaccountId, unittest.equals('foo')); | 1884 unittest.expect(o.subaccountId, unittest.equals('foo')); |
| 1885 unittest.expect(o.thirdPartyBackupImageImpressionsUrl, unittest.equals('foo'
)); | 1885 unittest.expect(o.thirdPartyBackupImageImpressionsUrl, unittest.equals('foo'
)); |
| 1886 unittest.expect(o.thirdPartyRichMediaImpressionsUrl, unittest.equals('foo'))
; | 1886 unittest.expect(o.thirdPartyRichMediaImpressionsUrl, unittest.equals('foo'))
; |
| 1887 checkUnnamed1588(o.thirdPartyUrls); | 1887 checkUnnamed162(o.thirdPartyUrls); |
| 1888 checkUnnamed1589(o.timerCustomEvents); | 1888 checkUnnamed163(o.timerCustomEvents); |
| 1889 unittest.expect(o.totalFileSize, unittest.equals('foo')); | 1889 unittest.expect(o.totalFileSize, unittest.equals('foo')); |
| 1890 unittest.expect(o.type, unittest.equals('foo')); | 1890 unittest.expect(o.type, unittest.equals('foo')); |
| 1891 unittest.expect(o.version, unittest.equals(42)); | 1891 unittest.expect(o.version, unittest.equals(42)); |
| 1892 unittest.expect(o.videoDescription, unittest.equals('foo')); | 1892 unittest.expect(o.videoDescription, unittest.equals('foo')); |
| 1893 unittest.expect(o.videoDuration, unittest.equals(42.0)); | 1893 unittest.expect(o.videoDuration, unittest.equals(42.0)); |
| 1894 } | 1894 } |
| 1895 buildCounterCreative--; | 1895 buildCounterCreative--; |
| 1896 } | 1896 } |
| 1897 | 1897 |
| 1898 buildUnnamed1590() { | 1898 buildUnnamed164() { |
| 1899 var o = new core.List<core.String>(); | 1899 var o = new core.List<core.String>(); |
| 1900 o.add("foo"); | 1900 o.add("foo"); |
| 1901 o.add("foo"); | 1901 o.add("foo"); |
| 1902 return o; | 1902 return o; |
| 1903 } | 1903 } |
| 1904 | 1904 |
| 1905 checkUnnamed1590(core.List<core.String> o) { | 1905 checkUnnamed164(core.List<core.String> o) { |
| 1906 unittest.expect(o, unittest.hasLength(2)); | 1906 unittest.expect(o, unittest.hasLength(2)); |
| 1907 unittest.expect(o[0], unittest.equals('foo')); | 1907 unittest.expect(o[0], unittest.equals('foo')); |
| 1908 unittest.expect(o[1], unittest.equals('foo')); | 1908 unittest.expect(o[1], unittest.equals('foo')); |
| 1909 } | 1909 } |
| 1910 | 1910 |
| 1911 core.int buildCounterCreativeAsset = 0; | 1911 core.int buildCounterCreativeAsset = 0; |
| 1912 buildCreativeAsset() { | 1912 buildCreativeAsset() { |
| 1913 var o = new api.CreativeAsset(); | 1913 var o = new api.CreativeAsset(); |
| 1914 buildCounterCreativeAsset++; | 1914 buildCounterCreativeAsset++; |
| 1915 if (buildCounterCreativeAsset < 3) { | 1915 if (buildCounterCreativeAsset < 3) { |
| 1916 o.actionScript3 = true; | 1916 o.actionScript3 = true; |
| 1917 o.active = true; | 1917 o.active = true; |
| 1918 o.alignment = "foo"; | 1918 o.alignment = "foo"; |
| 1919 o.artworkType = "foo"; | 1919 o.artworkType = "foo"; |
| 1920 o.assetIdentifier = buildCreativeAssetId(); | 1920 o.assetIdentifier = buildCreativeAssetId(); |
| 1921 o.backupImageExit = buildCreativeCustomEvent(); | 1921 o.backupImageExit = buildCreativeCustomEvent(); |
| 1922 o.bitRate = 42; | 1922 o.bitRate = 42; |
| 1923 o.childAssetType = "foo"; | 1923 o.childAssetType = "foo"; |
| 1924 o.collapsedSize = buildSize(); | 1924 o.collapsedSize = buildSize(); |
| 1925 o.customStartTimeValue = 42; | 1925 o.customStartTimeValue = 42; |
| 1926 o.detectedFeatures = buildUnnamed1590(); | 1926 o.detectedFeatures = buildUnnamed164(); |
| 1927 o.displayType = "foo"; | 1927 o.displayType = "foo"; |
| 1928 o.duration = 42; | 1928 o.duration = 42; |
| 1929 o.durationType = "foo"; | 1929 o.durationType = "foo"; |
| 1930 o.expandedDimension = buildSize(); | 1930 o.expandedDimension = buildSize(); |
| 1931 o.fileSize = "foo"; | 1931 o.fileSize = "foo"; |
| 1932 o.flashVersion = 42; | 1932 o.flashVersion = 42; |
| 1933 o.hideFlashObjects = true; | 1933 o.hideFlashObjects = true; |
| 1934 o.hideSelectionBoxes = true; | 1934 o.hideSelectionBoxes = true; |
| 1935 o.horizontallyLocked = true; | 1935 o.horizontallyLocked = true; |
| 1936 o.id = "foo"; | 1936 o.id = "foo"; |
| (...skipping 29 matching lines...) Expand all Loading... |
| 1966 unittest.expect(o.actionScript3, unittest.isTrue); | 1966 unittest.expect(o.actionScript3, unittest.isTrue); |
| 1967 unittest.expect(o.active, unittest.isTrue); | 1967 unittest.expect(o.active, unittest.isTrue); |
| 1968 unittest.expect(o.alignment, unittest.equals('foo')); | 1968 unittest.expect(o.alignment, unittest.equals('foo')); |
| 1969 unittest.expect(o.artworkType, unittest.equals('foo')); | 1969 unittest.expect(o.artworkType, unittest.equals('foo')); |
| 1970 checkCreativeAssetId(o.assetIdentifier); | 1970 checkCreativeAssetId(o.assetIdentifier); |
| 1971 checkCreativeCustomEvent(o.backupImageExit); | 1971 checkCreativeCustomEvent(o.backupImageExit); |
| 1972 unittest.expect(o.bitRate, unittest.equals(42)); | 1972 unittest.expect(o.bitRate, unittest.equals(42)); |
| 1973 unittest.expect(o.childAssetType, unittest.equals('foo')); | 1973 unittest.expect(o.childAssetType, unittest.equals('foo')); |
| 1974 checkSize(o.collapsedSize); | 1974 checkSize(o.collapsedSize); |
| 1975 unittest.expect(o.customStartTimeValue, unittest.equals(42)); | 1975 unittest.expect(o.customStartTimeValue, unittest.equals(42)); |
| 1976 checkUnnamed1590(o.detectedFeatures); | 1976 checkUnnamed164(o.detectedFeatures); |
| 1977 unittest.expect(o.displayType, unittest.equals('foo')); | 1977 unittest.expect(o.displayType, unittest.equals('foo')); |
| 1978 unittest.expect(o.duration, unittest.equals(42)); | 1978 unittest.expect(o.duration, unittest.equals(42)); |
| 1979 unittest.expect(o.durationType, unittest.equals('foo')); | 1979 unittest.expect(o.durationType, unittest.equals('foo')); |
| 1980 checkSize(o.expandedDimension); | 1980 checkSize(o.expandedDimension); |
| 1981 unittest.expect(o.fileSize, unittest.equals('foo')); | 1981 unittest.expect(o.fileSize, unittest.equals('foo')); |
| 1982 unittest.expect(o.flashVersion, unittest.equals(42)); | 1982 unittest.expect(o.flashVersion, unittest.equals(42)); |
| 1983 unittest.expect(o.hideFlashObjects, unittest.isTrue); | 1983 unittest.expect(o.hideFlashObjects, unittest.isTrue); |
| 1984 unittest.expect(o.hideSelectionBoxes, unittest.isTrue); | 1984 unittest.expect(o.hideSelectionBoxes, unittest.isTrue); |
| 1985 unittest.expect(o.horizontallyLocked, unittest.isTrue); | 1985 unittest.expect(o.horizontallyLocked, unittest.isTrue); |
| 1986 unittest.expect(o.id, unittest.equals('foo')); | 1986 unittest.expect(o.id, unittest.equals('foo')); |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2023 | 2023 |
| 2024 checkCreativeAssetId(api.CreativeAssetId o) { | 2024 checkCreativeAssetId(api.CreativeAssetId o) { |
| 2025 buildCounterCreativeAssetId++; | 2025 buildCounterCreativeAssetId++; |
| 2026 if (buildCounterCreativeAssetId < 3) { | 2026 if (buildCounterCreativeAssetId < 3) { |
| 2027 unittest.expect(o.name, unittest.equals('foo')); | 2027 unittest.expect(o.name, unittest.equals('foo')); |
| 2028 unittest.expect(o.type, unittest.equals('foo')); | 2028 unittest.expect(o.type, unittest.equals('foo')); |
| 2029 } | 2029 } |
| 2030 buildCounterCreativeAssetId--; | 2030 buildCounterCreativeAssetId--; |
| 2031 } | 2031 } |
| 2032 | 2032 |
| 2033 buildUnnamed1591() { | 2033 buildUnnamed165() { |
| 2034 var o = new core.List<api.ClickTag>(); | 2034 var o = new core.List<api.ClickTag>(); |
| 2035 o.add(buildClickTag()); | 2035 o.add(buildClickTag()); |
| 2036 o.add(buildClickTag()); | 2036 o.add(buildClickTag()); |
| 2037 return o; | 2037 return o; |
| 2038 } | 2038 } |
| 2039 | 2039 |
| 2040 checkUnnamed1591(core.List<api.ClickTag> o) { | 2040 checkUnnamed165(core.List<api.ClickTag> o) { |
| 2041 unittest.expect(o, unittest.hasLength(2)); | 2041 unittest.expect(o, unittest.hasLength(2)); |
| 2042 checkClickTag(o[0]); | 2042 checkClickTag(o[0]); |
| 2043 checkClickTag(o[1]); | 2043 checkClickTag(o[1]); |
| 2044 } | 2044 } |
| 2045 | 2045 |
| 2046 buildUnnamed1592() { | 2046 buildUnnamed166() { |
| 2047 var o = new core.List<core.String>(); | 2047 var o = new core.List<core.String>(); |
| 2048 o.add("foo"); | 2048 o.add("foo"); |
| 2049 o.add("foo"); | 2049 o.add("foo"); |
| 2050 return o; | 2050 return o; |
| 2051 } | 2051 } |
| 2052 | 2052 |
| 2053 checkUnnamed1592(core.List<core.String> o) { | 2053 checkUnnamed166(core.List<core.String> o) { |
| 2054 unittest.expect(o, unittest.hasLength(2)); | 2054 unittest.expect(o, unittest.hasLength(2)); |
| 2055 unittest.expect(o[0], unittest.equals('foo')); | 2055 unittest.expect(o[0], unittest.equals('foo')); |
| 2056 unittest.expect(o[1], unittest.equals('foo')); | 2056 unittest.expect(o[1], unittest.equals('foo')); |
| 2057 } | 2057 } |
| 2058 | 2058 |
| 2059 buildUnnamed1593() { | 2059 buildUnnamed167() { |
| 2060 var o = new core.List<core.String>(); | 2060 var o = new core.List<core.String>(); |
| 2061 o.add("foo"); | 2061 o.add("foo"); |
| 2062 o.add("foo"); | 2062 o.add("foo"); |
| 2063 return o; | 2063 return o; |
| 2064 } | 2064 } |
| 2065 | 2065 |
| 2066 checkUnnamed1593(core.List<core.String> o) { | 2066 checkUnnamed167(core.List<core.String> o) { |
| 2067 unittest.expect(o, unittest.hasLength(2)); | 2067 unittest.expect(o, unittest.hasLength(2)); |
| 2068 unittest.expect(o[0], unittest.equals('foo')); | 2068 unittest.expect(o[0], unittest.equals('foo')); |
| 2069 unittest.expect(o[1], unittest.equals('foo')); | 2069 unittest.expect(o[1], unittest.equals('foo')); |
| 2070 } | 2070 } |
| 2071 | 2071 |
| 2072 core.int buildCounterCreativeAssetMetadata = 0; | 2072 core.int buildCounterCreativeAssetMetadata = 0; |
| 2073 buildCreativeAssetMetadata() { | 2073 buildCreativeAssetMetadata() { |
| 2074 var o = new api.CreativeAssetMetadata(); | 2074 var o = new api.CreativeAssetMetadata(); |
| 2075 buildCounterCreativeAssetMetadata++; | 2075 buildCounterCreativeAssetMetadata++; |
| 2076 if (buildCounterCreativeAssetMetadata < 3) { | 2076 if (buildCounterCreativeAssetMetadata < 3) { |
| 2077 o.assetIdentifier = buildCreativeAssetId(); | 2077 o.assetIdentifier = buildCreativeAssetId(); |
| 2078 o.clickTags = buildUnnamed1591(); | 2078 o.clickTags = buildUnnamed165(); |
| 2079 o.detectedFeatures = buildUnnamed1592(); | 2079 o.detectedFeatures = buildUnnamed166(); |
| 2080 o.kind = "foo"; | 2080 o.kind = "foo"; |
| 2081 o.warnedValidationRules = buildUnnamed1593(); | 2081 o.warnedValidationRules = buildUnnamed167(); |
| 2082 } | 2082 } |
| 2083 buildCounterCreativeAssetMetadata--; | 2083 buildCounterCreativeAssetMetadata--; |
| 2084 return o; | 2084 return o; |
| 2085 } | 2085 } |
| 2086 | 2086 |
| 2087 checkCreativeAssetMetadata(api.CreativeAssetMetadata o) { | 2087 checkCreativeAssetMetadata(api.CreativeAssetMetadata o) { |
| 2088 buildCounterCreativeAssetMetadata++; | 2088 buildCounterCreativeAssetMetadata++; |
| 2089 if (buildCounterCreativeAssetMetadata < 3) { | 2089 if (buildCounterCreativeAssetMetadata < 3) { |
| 2090 checkCreativeAssetId(o.assetIdentifier); | 2090 checkCreativeAssetId(o.assetIdentifier); |
| 2091 checkUnnamed1591(o.clickTags); | 2091 checkUnnamed165(o.clickTags); |
| 2092 checkUnnamed1592(o.detectedFeatures); | 2092 checkUnnamed166(o.detectedFeatures); |
| 2093 unittest.expect(o.kind, unittest.equals('foo')); | 2093 unittest.expect(o.kind, unittest.equals('foo')); |
| 2094 checkUnnamed1593(o.warnedValidationRules); | 2094 checkUnnamed167(o.warnedValidationRules); |
| 2095 } | 2095 } |
| 2096 buildCounterCreativeAssetMetadata--; | 2096 buildCounterCreativeAssetMetadata--; |
| 2097 } | 2097 } |
| 2098 | 2098 |
| 2099 buildUnnamed1594() { | 2099 buildUnnamed168() { |
| 2100 var o = new core.List<api.CompanionClickThroughOverride>(); | 2100 var o = new core.List<api.CompanionClickThroughOverride>(); |
| 2101 o.add(buildCompanionClickThroughOverride()); | 2101 o.add(buildCompanionClickThroughOverride()); |
| 2102 o.add(buildCompanionClickThroughOverride()); | 2102 o.add(buildCompanionClickThroughOverride()); |
| 2103 return o; | 2103 return o; |
| 2104 } | 2104 } |
| 2105 | 2105 |
| 2106 checkUnnamed1594(core.List<api.CompanionClickThroughOverride> o) { | 2106 checkUnnamed168(core.List<api.CompanionClickThroughOverride> o) { |
| 2107 unittest.expect(o, unittest.hasLength(2)); | 2107 unittest.expect(o, unittest.hasLength(2)); |
| 2108 checkCompanionClickThroughOverride(o[0]); | 2108 checkCompanionClickThroughOverride(o[0]); |
| 2109 checkCompanionClickThroughOverride(o[1]); | 2109 checkCompanionClickThroughOverride(o[1]); |
| 2110 } | 2110 } |
| 2111 | 2111 |
| 2112 buildUnnamed1595() { | 2112 buildUnnamed169() { |
| 2113 var o = new core.List<api.CreativeGroupAssignment>(); | 2113 var o = new core.List<api.CreativeGroupAssignment>(); |
| 2114 o.add(buildCreativeGroupAssignment()); | 2114 o.add(buildCreativeGroupAssignment()); |
| 2115 o.add(buildCreativeGroupAssignment()); | 2115 o.add(buildCreativeGroupAssignment()); |
| 2116 return o; | 2116 return o; |
| 2117 } | 2117 } |
| 2118 | 2118 |
| 2119 checkUnnamed1595(core.List<api.CreativeGroupAssignment> o) { | 2119 checkUnnamed169(core.List<api.CreativeGroupAssignment> o) { |
| 2120 unittest.expect(o, unittest.hasLength(2)); | 2120 unittest.expect(o, unittest.hasLength(2)); |
| 2121 checkCreativeGroupAssignment(o[0]); | 2121 checkCreativeGroupAssignment(o[0]); |
| 2122 checkCreativeGroupAssignment(o[1]); | 2122 checkCreativeGroupAssignment(o[1]); |
| 2123 } | 2123 } |
| 2124 | 2124 |
| 2125 buildUnnamed1596() { | 2125 buildUnnamed170() { |
| 2126 var o = new core.List<api.RichMediaExitOverride>(); | 2126 var o = new core.List<api.RichMediaExitOverride>(); |
| 2127 o.add(buildRichMediaExitOverride()); | 2127 o.add(buildRichMediaExitOverride()); |
| 2128 o.add(buildRichMediaExitOverride()); | 2128 o.add(buildRichMediaExitOverride()); |
| 2129 return o; | 2129 return o; |
| 2130 } | 2130 } |
| 2131 | 2131 |
| 2132 checkUnnamed1596(core.List<api.RichMediaExitOverride> o) { | 2132 checkUnnamed170(core.List<api.RichMediaExitOverride> o) { |
| 2133 unittest.expect(o, unittest.hasLength(2)); | 2133 unittest.expect(o, unittest.hasLength(2)); |
| 2134 checkRichMediaExitOverride(o[0]); | 2134 checkRichMediaExitOverride(o[0]); |
| 2135 checkRichMediaExitOverride(o[1]); | 2135 checkRichMediaExitOverride(o[1]); |
| 2136 } | 2136 } |
| 2137 | 2137 |
| 2138 core.int buildCounterCreativeAssignment = 0; | 2138 core.int buildCounterCreativeAssignment = 0; |
| 2139 buildCreativeAssignment() { | 2139 buildCreativeAssignment() { |
| 2140 var o = new api.CreativeAssignment(); | 2140 var o = new api.CreativeAssignment(); |
| 2141 buildCounterCreativeAssignment++; | 2141 buildCounterCreativeAssignment++; |
| 2142 if (buildCounterCreativeAssignment < 3) { | 2142 if (buildCounterCreativeAssignment < 3) { |
| 2143 o.active = true; | 2143 o.active = true; |
| 2144 o.applyEventTags = true; | 2144 o.applyEventTags = true; |
| 2145 o.clickThroughUrl = buildClickThroughUrl(); | 2145 o.clickThroughUrl = buildClickThroughUrl(); |
| 2146 o.companionCreativeOverrides = buildUnnamed1594(); | 2146 o.companionCreativeOverrides = buildUnnamed168(); |
| 2147 o.creativeGroupAssignments = buildUnnamed1595(); | 2147 o.creativeGroupAssignments = buildUnnamed169(); |
| 2148 o.creativeId = "foo"; | 2148 o.creativeId = "foo"; |
| 2149 o.creativeIdDimensionValue = buildDimensionValue(); | 2149 o.creativeIdDimensionValue = buildDimensionValue(); |
| 2150 o.endTime = core.DateTime.parse("2002-02-27T14:01:02"); | 2150 o.endTime = core.DateTime.parse("2002-02-27T14:01:02"); |
| 2151 o.richMediaExitOverrides = buildUnnamed1596(); | 2151 o.richMediaExitOverrides = buildUnnamed170(); |
| 2152 o.sequence = 42; | 2152 o.sequence = 42; |
| 2153 o.sslCompliant = true; | 2153 o.sslCompliant = true; |
| 2154 o.startTime = core.DateTime.parse("2002-02-27T14:01:02"); | 2154 o.startTime = core.DateTime.parse("2002-02-27T14:01:02"); |
| 2155 o.weight = 42; | 2155 o.weight = 42; |
| 2156 } | 2156 } |
| 2157 buildCounterCreativeAssignment--; | 2157 buildCounterCreativeAssignment--; |
| 2158 return o; | 2158 return o; |
| 2159 } | 2159 } |
| 2160 | 2160 |
| 2161 checkCreativeAssignment(api.CreativeAssignment o) { | 2161 checkCreativeAssignment(api.CreativeAssignment o) { |
| 2162 buildCounterCreativeAssignment++; | 2162 buildCounterCreativeAssignment++; |
| 2163 if (buildCounterCreativeAssignment < 3) { | 2163 if (buildCounterCreativeAssignment < 3) { |
| 2164 unittest.expect(o.active, unittest.isTrue); | 2164 unittest.expect(o.active, unittest.isTrue); |
| 2165 unittest.expect(o.applyEventTags, unittest.isTrue); | 2165 unittest.expect(o.applyEventTags, unittest.isTrue); |
| 2166 checkClickThroughUrl(o.clickThroughUrl); | 2166 checkClickThroughUrl(o.clickThroughUrl); |
| 2167 checkUnnamed1594(o.companionCreativeOverrides); | 2167 checkUnnamed168(o.companionCreativeOverrides); |
| 2168 checkUnnamed1595(o.creativeGroupAssignments); | 2168 checkUnnamed169(o.creativeGroupAssignments); |
| 2169 unittest.expect(o.creativeId, unittest.equals('foo')); | 2169 unittest.expect(o.creativeId, unittest.equals('foo')); |
| 2170 checkDimensionValue(o.creativeIdDimensionValue); | 2170 checkDimensionValue(o.creativeIdDimensionValue); |
| 2171 unittest.expect(o.endTime, unittest.equals(core.DateTime.parse("2002-02-27T1
4:01:02"))); | 2171 unittest.expect(o.endTime, unittest.equals(core.DateTime.parse("2002-02-27T1
4:01:02"))); |
| 2172 checkUnnamed1596(o.richMediaExitOverrides); | 2172 checkUnnamed170(o.richMediaExitOverrides); |
| 2173 unittest.expect(o.sequence, unittest.equals(42)); | 2173 unittest.expect(o.sequence, unittest.equals(42)); |
| 2174 unittest.expect(o.sslCompliant, unittest.isTrue); | 2174 unittest.expect(o.sslCompliant, unittest.isTrue); |
| 2175 unittest.expect(o.startTime, unittest.equals(core.DateTime.parse("2002-02-27
T14:01:02"))); | 2175 unittest.expect(o.startTime, unittest.equals(core.DateTime.parse("2002-02-27
T14:01:02"))); |
| 2176 unittest.expect(o.weight, unittest.equals(42)); | 2176 unittest.expect(o.weight, unittest.equals(42)); |
| 2177 } | 2177 } |
| 2178 buildCounterCreativeAssignment--; | 2178 buildCounterCreativeAssignment--; |
| 2179 } | 2179 } |
| 2180 | 2180 |
| 2181 core.int buildCounterCreativeCustomEvent = 0; | 2181 core.int buildCounterCreativeCustomEvent = 0; |
| 2182 buildCreativeCustomEvent() { | 2182 buildCreativeCustomEvent() { |
| (...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2283 checkCreativeFieldValue(api.CreativeFieldValue o) { | 2283 checkCreativeFieldValue(api.CreativeFieldValue o) { |
| 2284 buildCounterCreativeFieldValue++; | 2284 buildCounterCreativeFieldValue++; |
| 2285 if (buildCounterCreativeFieldValue < 3) { | 2285 if (buildCounterCreativeFieldValue < 3) { |
| 2286 unittest.expect(o.id, unittest.equals('foo')); | 2286 unittest.expect(o.id, unittest.equals('foo')); |
| 2287 unittest.expect(o.kind, unittest.equals('foo')); | 2287 unittest.expect(o.kind, unittest.equals('foo')); |
| 2288 unittest.expect(o.value, unittest.equals('foo')); | 2288 unittest.expect(o.value, unittest.equals('foo')); |
| 2289 } | 2289 } |
| 2290 buildCounterCreativeFieldValue--; | 2290 buildCounterCreativeFieldValue--; |
| 2291 } | 2291 } |
| 2292 | 2292 |
| 2293 buildUnnamed1597() { | 2293 buildUnnamed171() { |
| 2294 var o = new core.List<api.CreativeFieldValue>(); | 2294 var o = new core.List<api.CreativeFieldValue>(); |
| 2295 o.add(buildCreativeFieldValue()); | 2295 o.add(buildCreativeFieldValue()); |
| 2296 o.add(buildCreativeFieldValue()); | 2296 o.add(buildCreativeFieldValue()); |
| 2297 return o; | 2297 return o; |
| 2298 } | 2298 } |
| 2299 | 2299 |
| 2300 checkUnnamed1597(core.List<api.CreativeFieldValue> o) { | 2300 checkUnnamed171(core.List<api.CreativeFieldValue> o) { |
| 2301 unittest.expect(o, unittest.hasLength(2)); | 2301 unittest.expect(o, unittest.hasLength(2)); |
| 2302 checkCreativeFieldValue(o[0]); | 2302 checkCreativeFieldValue(o[0]); |
| 2303 checkCreativeFieldValue(o[1]); | 2303 checkCreativeFieldValue(o[1]); |
| 2304 } | 2304 } |
| 2305 | 2305 |
| 2306 core.int buildCounterCreativeFieldValuesListResponse = 0; | 2306 core.int buildCounterCreativeFieldValuesListResponse = 0; |
| 2307 buildCreativeFieldValuesListResponse() { | 2307 buildCreativeFieldValuesListResponse() { |
| 2308 var o = new api.CreativeFieldValuesListResponse(); | 2308 var o = new api.CreativeFieldValuesListResponse(); |
| 2309 buildCounterCreativeFieldValuesListResponse++; | 2309 buildCounterCreativeFieldValuesListResponse++; |
| 2310 if (buildCounterCreativeFieldValuesListResponse < 3) { | 2310 if (buildCounterCreativeFieldValuesListResponse < 3) { |
| 2311 o.creativeFieldValues = buildUnnamed1597(); | 2311 o.creativeFieldValues = buildUnnamed171(); |
| 2312 o.kind = "foo"; | 2312 o.kind = "foo"; |
| 2313 o.nextPageToken = "foo"; | 2313 o.nextPageToken = "foo"; |
| 2314 } | 2314 } |
| 2315 buildCounterCreativeFieldValuesListResponse--; | 2315 buildCounterCreativeFieldValuesListResponse--; |
| 2316 return o; | 2316 return o; |
| 2317 } | 2317 } |
| 2318 | 2318 |
| 2319 checkCreativeFieldValuesListResponse(api.CreativeFieldValuesListResponse o) { | 2319 checkCreativeFieldValuesListResponse(api.CreativeFieldValuesListResponse o) { |
| 2320 buildCounterCreativeFieldValuesListResponse++; | 2320 buildCounterCreativeFieldValuesListResponse++; |
| 2321 if (buildCounterCreativeFieldValuesListResponse < 3) { | 2321 if (buildCounterCreativeFieldValuesListResponse < 3) { |
| 2322 checkUnnamed1597(o.creativeFieldValues); | 2322 checkUnnamed171(o.creativeFieldValues); |
| 2323 unittest.expect(o.kind, unittest.equals('foo')); | 2323 unittest.expect(o.kind, unittest.equals('foo')); |
| 2324 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 2324 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 2325 } | 2325 } |
| 2326 buildCounterCreativeFieldValuesListResponse--; | 2326 buildCounterCreativeFieldValuesListResponse--; |
| 2327 } | 2327 } |
| 2328 | 2328 |
| 2329 buildUnnamed1598() { | 2329 buildUnnamed172() { |
| 2330 var o = new core.List<api.CreativeField>(); | 2330 var o = new core.List<api.CreativeField>(); |
| 2331 o.add(buildCreativeField()); | 2331 o.add(buildCreativeField()); |
| 2332 o.add(buildCreativeField()); | 2332 o.add(buildCreativeField()); |
| 2333 return o; | 2333 return o; |
| 2334 } | 2334 } |
| 2335 | 2335 |
| 2336 checkUnnamed1598(core.List<api.CreativeField> o) { | 2336 checkUnnamed172(core.List<api.CreativeField> o) { |
| 2337 unittest.expect(o, unittest.hasLength(2)); | 2337 unittest.expect(o, unittest.hasLength(2)); |
| 2338 checkCreativeField(o[0]); | 2338 checkCreativeField(o[0]); |
| 2339 checkCreativeField(o[1]); | 2339 checkCreativeField(o[1]); |
| 2340 } | 2340 } |
| 2341 | 2341 |
| 2342 core.int buildCounterCreativeFieldsListResponse = 0; | 2342 core.int buildCounterCreativeFieldsListResponse = 0; |
| 2343 buildCreativeFieldsListResponse() { | 2343 buildCreativeFieldsListResponse() { |
| 2344 var o = new api.CreativeFieldsListResponse(); | 2344 var o = new api.CreativeFieldsListResponse(); |
| 2345 buildCounterCreativeFieldsListResponse++; | 2345 buildCounterCreativeFieldsListResponse++; |
| 2346 if (buildCounterCreativeFieldsListResponse < 3) { | 2346 if (buildCounterCreativeFieldsListResponse < 3) { |
| 2347 o.creativeFields = buildUnnamed1598(); | 2347 o.creativeFields = buildUnnamed172(); |
| 2348 o.kind = "foo"; | 2348 o.kind = "foo"; |
| 2349 o.nextPageToken = "foo"; | 2349 o.nextPageToken = "foo"; |
| 2350 } | 2350 } |
| 2351 buildCounterCreativeFieldsListResponse--; | 2351 buildCounterCreativeFieldsListResponse--; |
| 2352 return o; | 2352 return o; |
| 2353 } | 2353 } |
| 2354 | 2354 |
| 2355 checkCreativeFieldsListResponse(api.CreativeFieldsListResponse o) { | 2355 checkCreativeFieldsListResponse(api.CreativeFieldsListResponse o) { |
| 2356 buildCounterCreativeFieldsListResponse++; | 2356 buildCounterCreativeFieldsListResponse++; |
| 2357 if (buildCounterCreativeFieldsListResponse < 3) { | 2357 if (buildCounterCreativeFieldsListResponse < 3) { |
| 2358 checkUnnamed1598(o.creativeFields); | 2358 checkUnnamed172(o.creativeFields); |
| 2359 unittest.expect(o.kind, unittest.equals('foo')); | 2359 unittest.expect(o.kind, unittest.equals('foo')); |
| 2360 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 2360 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 2361 } | 2361 } |
| 2362 buildCounterCreativeFieldsListResponse--; | 2362 buildCounterCreativeFieldsListResponse--; |
| 2363 } | 2363 } |
| 2364 | 2364 |
| 2365 core.int buildCounterCreativeGroup = 0; | 2365 core.int buildCounterCreativeGroup = 0; |
| 2366 buildCreativeGroup() { | 2366 buildCreativeGroup() { |
| 2367 var o = new api.CreativeGroup(); | 2367 var o = new api.CreativeGroup(); |
| 2368 buildCounterCreativeGroup++; | 2368 buildCounterCreativeGroup++; |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2409 | 2409 |
| 2410 checkCreativeGroupAssignment(api.CreativeGroupAssignment o) { | 2410 checkCreativeGroupAssignment(api.CreativeGroupAssignment o) { |
| 2411 buildCounterCreativeGroupAssignment++; | 2411 buildCounterCreativeGroupAssignment++; |
| 2412 if (buildCounterCreativeGroupAssignment < 3) { | 2412 if (buildCounterCreativeGroupAssignment < 3) { |
| 2413 unittest.expect(o.creativeGroupId, unittest.equals('foo')); | 2413 unittest.expect(o.creativeGroupId, unittest.equals('foo')); |
| 2414 unittest.expect(o.creativeGroupNumber, unittest.equals('foo')); | 2414 unittest.expect(o.creativeGroupNumber, unittest.equals('foo')); |
| 2415 } | 2415 } |
| 2416 buildCounterCreativeGroupAssignment--; | 2416 buildCounterCreativeGroupAssignment--; |
| 2417 } | 2417 } |
| 2418 | 2418 |
| 2419 buildUnnamed1599() { | 2419 buildUnnamed173() { |
| 2420 var o = new core.List<api.CreativeGroup>(); | 2420 var o = new core.List<api.CreativeGroup>(); |
| 2421 o.add(buildCreativeGroup()); | 2421 o.add(buildCreativeGroup()); |
| 2422 o.add(buildCreativeGroup()); | 2422 o.add(buildCreativeGroup()); |
| 2423 return o; | 2423 return o; |
| 2424 } | 2424 } |
| 2425 | 2425 |
| 2426 checkUnnamed1599(core.List<api.CreativeGroup> o) { | 2426 checkUnnamed173(core.List<api.CreativeGroup> o) { |
| 2427 unittest.expect(o, unittest.hasLength(2)); | 2427 unittest.expect(o, unittest.hasLength(2)); |
| 2428 checkCreativeGroup(o[0]); | 2428 checkCreativeGroup(o[0]); |
| 2429 checkCreativeGroup(o[1]); | 2429 checkCreativeGroup(o[1]); |
| 2430 } | 2430 } |
| 2431 | 2431 |
| 2432 core.int buildCounterCreativeGroupsListResponse = 0; | 2432 core.int buildCounterCreativeGroupsListResponse = 0; |
| 2433 buildCreativeGroupsListResponse() { | 2433 buildCreativeGroupsListResponse() { |
| 2434 var o = new api.CreativeGroupsListResponse(); | 2434 var o = new api.CreativeGroupsListResponse(); |
| 2435 buildCounterCreativeGroupsListResponse++; | 2435 buildCounterCreativeGroupsListResponse++; |
| 2436 if (buildCounterCreativeGroupsListResponse < 3) { | 2436 if (buildCounterCreativeGroupsListResponse < 3) { |
| 2437 o.creativeGroups = buildUnnamed1599(); | 2437 o.creativeGroups = buildUnnamed173(); |
| 2438 o.kind = "foo"; | 2438 o.kind = "foo"; |
| 2439 o.nextPageToken = "foo"; | 2439 o.nextPageToken = "foo"; |
| 2440 } | 2440 } |
| 2441 buildCounterCreativeGroupsListResponse--; | 2441 buildCounterCreativeGroupsListResponse--; |
| 2442 return o; | 2442 return o; |
| 2443 } | 2443 } |
| 2444 | 2444 |
| 2445 checkCreativeGroupsListResponse(api.CreativeGroupsListResponse o) { | 2445 checkCreativeGroupsListResponse(api.CreativeGroupsListResponse o) { |
| 2446 buildCounterCreativeGroupsListResponse++; | 2446 buildCounterCreativeGroupsListResponse++; |
| 2447 if (buildCounterCreativeGroupsListResponse < 3) { | 2447 if (buildCounterCreativeGroupsListResponse < 3) { |
| 2448 checkUnnamed1599(o.creativeGroups); | 2448 checkUnnamed173(o.creativeGroups); |
| 2449 unittest.expect(o.kind, unittest.equals('foo')); | 2449 unittest.expect(o.kind, unittest.equals('foo')); |
| 2450 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 2450 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 2451 } | 2451 } |
| 2452 buildCounterCreativeGroupsListResponse--; | 2452 buildCounterCreativeGroupsListResponse--; |
| 2453 } | 2453 } |
| 2454 | 2454 |
| 2455 buildUnnamed1600() { | 2455 buildUnnamed174() { |
| 2456 var o = new core.List<api.OptimizationActivity>(); | 2456 var o = new core.List<api.OptimizationActivity>(); |
| 2457 o.add(buildOptimizationActivity()); | 2457 o.add(buildOptimizationActivity()); |
| 2458 o.add(buildOptimizationActivity()); | 2458 o.add(buildOptimizationActivity()); |
| 2459 return o; | 2459 return o; |
| 2460 } | 2460 } |
| 2461 | 2461 |
| 2462 checkUnnamed1600(core.List<api.OptimizationActivity> o) { | 2462 checkUnnamed174(core.List<api.OptimizationActivity> o) { |
| 2463 unittest.expect(o, unittest.hasLength(2)); | 2463 unittest.expect(o, unittest.hasLength(2)); |
| 2464 checkOptimizationActivity(o[0]); | 2464 checkOptimizationActivity(o[0]); |
| 2465 checkOptimizationActivity(o[1]); | 2465 checkOptimizationActivity(o[1]); |
| 2466 } | 2466 } |
| 2467 | 2467 |
| 2468 core.int buildCounterCreativeOptimizationConfiguration = 0; | 2468 core.int buildCounterCreativeOptimizationConfiguration = 0; |
| 2469 buildCreativeOptimizationConfiguration() { | 2469 buildCreativeOptimizationConfiguration() { |
| 2470 var o = new api.CreativeOptimizationConfiguration(); | 2470 var o = new api.CreativeOptimizationConfiguration(); |
| 2471 buildCounterCreativeOptimizationConfiguration++; | 2471 buildCounterCreativeOptimizationConfiguration++; |
| 2472 if (buildCounterCreativeOptimizationConfiguration < 3) { | 2472 if (buildCounterCreativeOptimizationConfiguration < 3) { |
| 2473 o.id = "foo"; | 2473 o.id = "foo"; |
| 2474 o.name = "foo"; | 2474 o.name = "foo"; |
| 2475 o.optimizationActivitys = buildUnnamed1600(); | 2475 o.optimizationActivitys = buildUnnamed174(); |
| 2476 o.optimizationModel = "foo"; | 2476 o.optimizationModel = "foo"; |
| 2477 } | 2477 } |
| 2478 buildCounterCreativeOptimizationConfiguration--; | 2478 buildCounterCreativeOptimizationConfiguration--; |
| 2479 return o; | 2479 return o; |
| 2480 } | 2480 } |
| 2481 | 2481 |
| 2482 checkCreativeOptimizationConfiguration(api.CreativeOptimizationConfiguration o)
{ | 2482 checkCreativeOptimizationConfiguration(api.CreativeOptimizationConfiguration o)
{ |
| 2483 buildCounterCreativeOptimizationConfiguration++; | 2483 buildCounterCreativeOptimizationConfiguration++; |
| 2484 if (buildCounterCreativeOptimizationConfiguration < 3) { | 2484 if (buildCounterCreativeOptimizationConfiguration < 3) { |
| 2485 unittest.expect(o.id, unittest.equals('foo')); | 2485 unittest.expect(o.id, unittest.equals('foo')); |
| 2486 unittest.expect(o.name, unittest.equals('foo')); | 2486 unittest.expect(o.name, unittest.equals('foo')); |
| 2487 checkUnnamed1600(o.optimizationActivitys); | 2487 checkUnnamed174(o.optimizationActivitys); |
| 2488 unittest.expect(o.optimizationModel, unittest.equals('foo')); | 2488 unittest.expect(o.optimizationModel, unittest.equals('foo')); |
| 2489 } | 2489 } |
| 2490 buildCounterCreativeOptimizationConfiguration--; | 2490 buildCounterCreativeOptimizationConfiguration--; |
| 2491 } | 2491 } |
| 2492 | 2492 |
| 2493 buildUnnamed1601() { | 2493 buildUnnamed175() { |
| 2494 var o = new core.List<api.CreativeAssignment>(); | 2494 var o = new core.List<api.CreativeAssignment>(); |
| 2495 o.add(buildCreativeAssignment()); | 2495 o.add(buildCreativeAssignment()); |
| 2496 o.add(buildCreativeAssignment()); | 2496 o.add(buildCreativeAssignment()); |
| 2497 return o; | 2497 return o; |
| 2498 } | 2498 } |
| 2499 | 2499 |
| 2500 checkUnnamed1601(core.List<api.CreativeAssignment> o) { | 2500 checkUnnamed175(core.List<api.CreativeAssignment> o) { |
| 2501 unittest.expect(o, unittest.hasLength(2)); | 2501 unittest.expect(o, unittest.hasLength(2)); |
| 2502 checkCreativeAssignment(o[0]); | 2502 checkCreativeAssignment(o[0]); |
| 2503 checkCreativeAssignment(o[1]); | 2503 checkCreativeAssignment(o[1]); |
| 2504 } | 2504 } |
| 2505 | 2505 |
| 2506 core.int buildCounterCreativeRotation = 0; | 2506 core.int buildCounterCreativeRotation = 0; |
| 2507 buildCreativeRotation() { | 2507 buildCreativeRotation() { |
| 2508 var o = new api.CreativeRotation(); | 2508 var o = new api.CreativeRotation(); |
| 2509 buildCounterCreativeRotation++; | 2509 buildCounterCreativeRotation++; |
| 2510 if (buildCounterCreativeRotation < 3) { | 2510 if (buildCounterCreativeRotation < 3) { |
| 2511 o.creativeAssignments = buildUnnamed1601(); | 2511 o.creativeAssignments = buildUnnamed175(); |
| 2512 o.creativeOptimizationConfigurationId = "foo"; | 2512 o.creativeOptimizationConfigurationId = "foo"; |
| 2513 o.type = "foo"; | 2513 o.type = "foo"; |
| 2514 o.weightCalculationStrategy = "foo"; | 2514 o.weightCalculationStrategy = "foo"; |
| 2515 } | 2515 } |
| 2516 buildCounterCreativeRotation--; | 2516 buildCounterCreativeRotation--; |
| 2517 return o; | 2517 return o; |
| 2518 } | 2518 } |
| 2519 | 2519 |
| 2520 checkCreativeRotation(api.CreativeRotation o) { | 2520 checkCreativeRotation(api.CreativeRotation o) { |
| 2521 buildCounterCreativeRotation++; | 2521 buildCounterCreativeRotation++; |
| 2522 if (buildCounterCreativeRotation < 3) { | 2522 if (buildCounterCreativeRotation < 3) { |
| 2523 checkUnnamed1601(o.creativeAssignments); | 2523 checkUnnamed175(o.creativeAssignments); |
| 2524 unittest.expect(o.creativeOptimizationConfigurationId, unittest.equals('foo'
)); | 2524 unittest.expect(o.creativeOptimizationConfigurationId, unittest.equals('foo'
)); |
| 2525 unittest.expect(o.type, unittest.equals('foo')); | 2525 unittest.expect(o.type, unittest.equals('foo')); |
| 2526 unittest.expect(o.weightCalculationStrategy, unittest.equals('foo')); | 2526 unittest.expect(o.weightCalculationStrategy, unittest.equals('foo')); |
| 2527 } | 2527 } |
| 2528 buildCounterCreativeRotation--; | 2528 buildCounterCreativeRotation--; |
| 2529 } | 2529 } |
| 2530 | 2530 |
| 2531 core.int buildCounterCreativeSettings = 0; | 2531 core.int buildCounterCreativeSettings = 0; |
| 2532 buildCreativeSettings() { | 2532 buildCreativeSettings() { |
| 2533 var o = new api.CreativeSettings(); | 2533 var o = new api.CreativeSettings(); |
| 2534 buildCounterCreativeSettings++; | 2534 buildCounterCreativeSettings++; |
| 2535 if (buildCounterCreativeSettings < 3) { | 2535 if (buildCounterCreativeSettings < 3) { |
| 2536 o.iFrameFooter = "foo"; | 2536 o.iFrameFooter = "foo"; |
| 2537 o.iFrameHeader = "foo"; | 2537 o.iFrameHeader = "foo"; |
| 2538 } | 2538 } |
| 2539 buildCounterCreativeSettings--; | 2539 buildCounterCreativeSettings--; |
| 2540 return o; | 2540 return o; |
| 2541 } | 2541 } |
| 2542 | 2542 |
| 2543 checkCreativeSettings(api.CreativeSettings o) { | 2543 checkCreativeSettings(api.CreativeSettings o) { |
| 2544 buildCounterCreativeSettings++; | 2544 buildCounterCreativeSettings++; |
| 2545 if (buildCounterCreativeSettings < 3) { | 2545 if (buildCounterCreativeSettings < 3) { |
| 2546 unittest.expect(o.iFrameFooter, unittest.equals('foo')); | 2546 unittest.expect(o.iFrameFooter, unittest.equals('foo')); |
| 2547 unittest.expect(o.iFrameHeader, unittest.equals('foo')); | 2547 unittest.expect(o.iFrameHeader, unittest.equals('foo')); |
| 2548 } | 2548 } |
| 2549 buildCounterCreativeSettings--; | 2549 buildCounterCreativeSettings--; |
| 2550 } | 2550 } |
| 2551 | 2551 |
| 2552 buildUnnamed1602() { | 2552 buildUnnamed176() { |
| 2553 var o = new core.List<api.Creative>(); | 2553 var o = new core.List<api.Creative>(); |
| 2554 o.add(buildCreative()); | 2554 o.add(buildCreative()); |
| 2555 o.add(buildCreative()); | 2555 o.add(buildCreative()); |
| 2556 return o; | 2556 return o; |
| 2557 } | 2557 } |
| 2558 | 2558 |
| 2559 checkUnnamed1602(core.List<api.Creative> o) { | 2559 checkUnnamed176(core.List<api.Creative> o) { |
| 2560 unittest.expect(o, unittest.hasLength(2)); | 2560 unittest.expect(o, unittest.hasLength(2)); |
| 2561 checkCreative(o[0]); | 2561 checkCreative(o[0]); |
| 2562 checkCreative(o[1]); | 2562 checkCreative(o[1]); |
| 2563 } | 2563 } |
| 2564 | 2564 |
| 2565 core.int buildCounterCreativesListResponse = 0; | 2565 core.int buildCounterCreativesListResponse = 0; |
| 2566 buildCreativesListResponse() { | 2566 buildCreativesListResponse() { |
| 2567 var o = new api.CreativesListResponse(); | 2567 var o = new api.CreativesListResponse(); |
| 2568 buildCounterCreativesListResponse++; | 2568 buildCounterCreativesListResponse++; |
| 2569 if (buildCounterCreativesListResponse < 3) { | 2569 if (buildCounterCreativesListResponse < 3) { |
| 2570 o.creatives = buildUnnamed1602(); | 2570 o.creatives = buildUnnamed176(); |
| 2571 o.kind = "foo"; | 2571 o.kind = "foo"; |
| 2572 o.nextPageToken = "foo"; | 2572 o.nextPageToken = "foo"; |
| 2573 } | 2573 } |
| 2574 buildCounterCreativesListResponse--; | 2574 buildCounterCreativesListResponse--; |
| 2575 return o; | 2575 return o; |
| 2576 } | 2576 } |
| 2577 | 2577 |
| 2578 checkCreativesListResponse(api.CreativesListResponse o) { | 2578 checkCreativesListResponse(api.CreativesListResponse o) { |
| 2579 buildCounterCreativesListResponse++; | 2579 buildCounterCreativesListResponse++; |
| 2580 if (buildCounterCreativesListResponse < 3) { | 2580 if (buildCounterCreativesListResponse < 3) { |
| 2581 checkUnnamed1602(o.creatives); | 2581 checkUnnamed176(o.creatives); |
| 2582 unittest.expect(o.kind, unittest.equals('foo')); | 2582 unittest.expect(o.kind, unittest.equals('foo')); |
| 2583 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 2583 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 2584 } | 2584 } |
| 2585 buildCounterCreativesListResponse--; | 2585 buildCounterCreativesListResponse--; |
| 2586 } | 2586 } |
| 2587 | 2587 |
| 2588 buildUnnamed1603() { | 2588 buildUnnamed177() { |
| 2589 var o = new core.List<api.Dimension>(); | 2589 var o = new core.List<api.Dimension>(); |
| 2590 o.add(buildDimension()); | 2590 o.add(buildDimension()); |
| 2591 o.add(buildDimension()); | 2591 o.add(buildDimension()); |
| 2592 return o; | 2592 return o; |
| 2593 } | 2593 } |
| 2594 | 2594 |
| 2595 checkUnnamed1603(core.List<api.Dimension> o) { | 2595 checkUnnamed177(core.List<api.Dimension> o) { |
| 2596 unittest.expect(o, unittest.hasLength(2)); | 2596 unittest.expect(o, unittest.hasLength(2)); |
| 2597 checkDimension(o[0]); | 2597 checkDimension(o[0]); |
| 2598 checkDimension(o[1]); | 2598 checkDimension(o[1]); |
| 2599 } | 2599 } |
| 2600 | 2600 |
| 2601 buildUnnamed1604() { | 2601 buildUnnamed178() { |
| 2602 var o = new core.List<api.Dimension>(); | 2602 var o = new core.List<api.Dimension>(); |
| 2603 o.add(buildDimension()); | 2603 o.add(buildDimension()); |
| 2604 o.add(buildDimension()); | 2604 o.add(buildDimension()); |
| 2605 return o; | 2605 return o; |
| 2606 } | 2606 } |
| 2607 | 2607 |
| 2608 checkUnnamed1604(core.List<api.Dimension> o) { | 2608 checkUnnamed178(core.List<api.Dimension> o) { |
| 2609 unittest.expect(o, unittest.hasLength(2)); | 2609 unittest.expect(o, unittest.hasLength(2)); |
| 2610 checkDimension(o[0]); | 2610 checkDimension(o[0]); |
| 2611 checkDimension(o[1]); | 2611 checkDimension(o[1]); |
| 2612 } | 2612 } |
| 2613 | 2613 |
| 2614 buildUnnamed1605() { | 2614 buildUnnamed179() { |
| 2615 var o = new core.List<api.Metric>(); | 2615 var o = new core.List<api.Metric>(); |
| 2616 o.add(buildMetric()); | 2616 o.add(buildMetric()); |
| 2617 o.add(buildMetric()); | 2617 o.add(buildMetric()); |
| 2618 return o; | 2618 return o; |
| 2619 } | 2619 } |
| 2620 | 2620 |
| 2621 checkUnnamed1605(core.List<api.Metric> o) { | 2621 checkUnnamed179(core.List<api.Metric> o) { |
| 2622 unittest.expect(o, unittest.hasLength(2)); | 2622 unittest.expect(o, unittest.hasLength(2)); |
| 2623 checkMetric(o[0]); | 2623 checkMetric(o[0]); |
| 2624 checkMetric(o[1]); | 2624 checkMetric(o[1]); |
| 2625 } | 2625 } |
| 2626 | 2626 |
| 2627 buildUnnamed1606() { | 2627 buildUnnamed180() { |
| 2628 var o = new core.List<api.Metric>(); | 2628 var o = new core.List<api.Metric>(); |
| 2629 o.add(buildMetric()); | 2629 o.add(buildMetric()); |
| 2630 o.add(buildMetric()); | 2630 o.add(buildMetric()); |
| 2631 return o; | 2631 return o; |
| 2632 } | 2632 } |
| 2633 | 2633 |
| 2634 checkUnnamed1606(core.List<api.Metric> o) { | 2634 checkUnnamed180(core.List<api.Metric> o) { |
| 2635 unittest.expect(o, unittest.hasLength(2)); | 2635 unittest.expect(o, unittest.hasLength(2)); |
| 2636 checkMetric(o[0]); | 2636 checkMetric(o[0]); |
| 2637 checkMetric(o[1]); | 2637 checkMetric(o[1]); |
| 2638 } | 2638 } |
| 2639 | 2639 |
| 2640 core.int buildCounterCrossDimensionReachReportCompatibleFields = 0; | 2640 core.int buildCounterCrossDimensionReachReportCompatibleFields = 0; |
| 2641 buildCrossDimensionReachReportCompatibleFields() { | 2641 buildCrossDimensionReachReportCompatibleFields() { |
| 2642 var o = new api.CrossDimensionReachReportCompatibleFields(); | 2642 var o = new api.CrossDimensionReachReportCompatibleFields(); |
| 2643 buildCounterCrossDimensionReachReportCompatibleFields++; | 2643 buildCounterCrossDimensionReachReportCompatibleFields++; |
| 2644 if (buildCounterCrossDimensionReachReportCompatibleFields < 3) { | 2644 if (buildCounterCrossDimensionReachReportCompatibleFields < 3) { |
| 2645 o.breakdown = buildUnnamed1603(); | 2645 o.breakdown = buildUnnamed177(); |
| 2646 o.dimensionFilters = buildUnnamed1604(); | 2646 o.dimensionFilters = buildUnnamed178(); |
| 2647 o.kind = "foo"; | 2647 o.kind = "foo"; |
| 2648 o.metrics = buildUnnamed1605(); | 2648 o.metrics = buildUnnamed179(); |
| 2649 o.overlapMetrics = buildUnnamed1606(); | 2649 o.overlapMetrics = buildUnnamed180(); |
| 2650 } | 2650 } |
| 2651 buildCounterCrossDimensionReachReportCompatibleFields--; | 2651 buildCounterCrossDimensionReachReportCompatibleFields--; |
| 2652 return o; | 2652 return o; |
| 2653 } | 2653 } |
| 2654 | 2654 |
| 2655 checkCrossDimensionReachReportCompatibleFields(api.CrossDimensionReachReportComp
atibleFields o) { | 2655 checkCrossDimensionReachReportCompatibleFields(api.CrossDimensionReachReportComp
atibleFields o) { |
| 2656 buildCounterCrossDimensionReachReportCompatibleFields++; | 2656 buildCounterCrossDimensionReachReportCompatibleFields++; |
| 2657 if (buildCounterCrossDimensionReachReportCompatibleFields < 3) { | 2657 if (buildCounterCrossDimensionReachReportCompatibleFields < 3) { |
| 2658 checkUnnamed1603(o.breakdown); | 2658 checkUnnamed177(o.breakdown); |
| 2659 checkUnnamed1604(o.dimensionFilters); | 2659 checkUnnamed178(o.dimensionFilters); |
| 2660 unittest.expect(o.kind, unittest.equals('foo')); | 2660 unittest.expect(o.kind, unittest.equals('foo')); |
| 2661 checkUnnamed1605(o.metrics); | 2661 checkUnnamed179(o.metrics); |
| 2662 checkUnnamed1606(o.overlapMetrics); | 2662 checkUnnamed180(o.overlapMetrics); |
| 2663 } | 2663 } |
| 2664 buildCounterCrossDimensionReachReportCompatibleFields--; | 2664 buildCounterCrossDimensionReachReportCompatibleFields--; |
| 2665 } | 2665 } |
| 2666 | 2666 |
| 2667 buildUnnamed1607() { | 2667 buildUnnamed181() { |
| 2668 var o = new core.List<api.DimensionValue>(); | 2668 var o = new core.List<api.DimensionValue>(); |
| 2669 o.add(buildDimensionValue()); | 2669 o.add(buildDimensionValue()); |
| 2670 o.add(buildDimensionValue()); | 2670 o.add(buildDimensionValue()); |
| 2671 return o; | 2671 return o; |
| 2672 } | 2672 } |
| 2673 | 2673 |
| 2674 checkUnnamed1607(core.List<api.DimensionValue> o) { | 2674 checkUnnamed181(core.List<api.DimensionValue> o) { |
| 2675 unittest.expect(o, unittest.hasLength(2)); | 2675 unittest.expect(o, unittest.hasLength(2)); |
| 2676 checkDimensionValue(o[0]); | 2676 checkDimensionValue(o[0]); |
| 2677 checkDimensionValue(o[1]); | 2677 checkDimensionValue(o[1]); |
| 2678 } | 2678 } |
| 2679 | 2679 |
| 2680 core.int buildCounterCustomRichMediaEvents = 0; | 2680 core.int buildCounterCustomRichMediaEvents = 0; |
| 2681 buildCustomRichMediaEvents() { | 2681 buildCustomRichMediaEvents() { |
| 2682 var o = new api.CustomRichMediaEvents(); | 2682 var o = new api.CustomRichMediaEvents(); |
| 2683 buildCounterCustomRichMediaEvents++; | 2683 buildCounterCustomRichMediaEvents++; |
| 2684 if (buildCounterCustomRichMediaEvents < 3) { | 2684 if (buildCounterCustomRichMediaEvents < 3) { |
| 2685 o.filteredEventIds = buildUnnamed1607(); | 2685 o.filteredEventIds = buildUnnamed181(); |
| 2686 o.kind = "foo"; | 2686 o.kind = "foo"; |
| 2687 } | 2687 } |
| 2688 buildCounterCustomRichMediaEvents--; | 2688 buildCounterCustomRichMediaEvents--; |
| 2689 return o; | 2689 return o; |
| 2690 } | 2690 } |
| 2691 | 2691 |
| 2692 checkCustomRichMediaEvents(api.CustomRichMediaEvents o) { | 2692 checkCustomRichMediaEvents(api.CustomRichMediaEvents o) { |
| 2693 buildCounterCustomRichMediaEvents++; | 2693 buildCounterCustomRichMediaEvents++; |
| 2694 if (buildCounterCustomRichMediaEvents < 3) { | 2694 if (buildCounterCustomRichMediaEvents < 3) { |
| 2695 checkUnnamed1607(o.filteredEventIds); | 2695 checkUnnamed181(o.filteredEventIds); |
| 2696 unittest.expect(o.kind, unittest.equals('foo')); | 2696 unittest.expect(o.kind, unittest.equals('foo')); |
| 2697 } | 2697 } |
| 2698 buildCounterCustomRichMediaEvents--; | 2698 buildCounterCustomRichMediaEvents--; |
| 2699 } | 2699 } |
| 2700 | 2700 |
| 2701 core.int buildCounterDateRange = 0; | 2701 core.int buildCounterDateRange = 0; |
| 2702 buildDateRange() { | 2702 buildDateRange() { |
| 2703 var o = new api.DateRange(); | 2703 var o = new api.DateRange(); |
| 2704 buildCounterDateRange++; | 2704 buildCounterDateRange++; |
| 2705 if (buildCounterDateRange < 3) { | 2705 if (buildCounterDateRange < 3) { |
| (...skipping 10 matching lines...) Expand all Loading... |
| 2716 buildCounterDateRange++; | 2716 buildCounterDateRange++; |
| 2717 if (buildCounterDateRange < 3) { | 2717 if (buildCounterDateRange < 3) { |
| 2718 unittest.expect(o.endDate, unittest.equals(core.DateTime.parse("2002-02-27T0
0:00:00"))); | 2718 unittest.expect(o.endDate, unittest.equals(core.DateTime.parse("2002-02-27T0
0:00:00"))); |
| 2719 unittest.expect(o.kind, unittest.equals('foo')); | 2719 unittest.expect(o.kind, unittest.equals('foo')); |
| 2720 unittest.expect(o.relativeDateRange, unittest.equals('foo')); | 2720 unittest.expect(o.relativeDateRange, unittest.equals('foo')); |
| 2721 unittest.expect(o.startDate, unittest.equals(core.DateTime.parse("2002-02-27
T00:00:00"))); | 2721 unittest.expect(o.startDate, unittest.equals(core.DateTime.parse("2002-02-27
T00:00:00"))); |
| 2722 } | 2722 } |
| 2723 buildCounterDateRange--; | 2723 buildCounterDateRange--; |
| 2724 } | 2724 } |
| 2725 | 2725 |
| 2726 buildUnnamed1608() { | 2726 buildUnnamed182() { |
| 2727 var o = new core.List<core.String>(); | 2727 var o = new core.List<core.String>(); |
| 2728 o.add("foo"); | 2728 o.add("foo"); |
| 2729 o.add("foo"); | 2729 o.add("foo"); |
| 2730 return o; | 2730 return o; |
| 2731 } | 2731 } |
| 2732 | 2732 |
| 2733 checkUnnamed1608(core.List<core.String> o) { | 2733 checkUnnamed182(core.List<core.String> o) { |
| 2734 unittest.expect(o, unittest.hasLength(2)); | 2734 unittest.expect(o, unittest.hasLength(2)); |
| 2735 unittest.expect(o[0], unittest.equals('foo')); | 2735 unittest.expect(o[0], unittest.equals('foo')); |
| 2736 unittest.expect(o[1], unittest.equals('foo')); | 2736 unittest.expect(o[1], unittest.equals('foo')); |
| 2737 } | 2737 } |
| 2738 | 2738 |
| 2739 buildUnnamed1609() { | 2739 buildUnnamed183() { |
| 2740 var o = new core.List<core.int>(); | 2740 var o = new core.List<core.int>(); |
| 2741 o.add(42); | 2741 o.add(42); |
| 2742 o.add(42); | 2742 o.add(42); |
| 2743 return o; | 2743 return o; |
| 2744 } | 2744 } |
| 2745 | 2745 |
| 2746 checkUnnamed1609(core.List<core.int> o) { | 2746 checkUnnamed183(core.List<core.int> o) { |
| 2747 unittest.expect(o, unittest.hasLength(2)); | 2747 unittest.expect(o, unittest.hasLength(2)); |
| 2748 unittest.expect(o[0], unittest.equals(42)); | 2748 unittest.expect(o[0], unittest.equals(42)); |
| 2749 unittest.expect(o[1], unittest.equals(42)); | 2749 unittest.expect(o[1], unittest.equals(42)); |
| 2750 } | 2750 } |
| 2751 | 2751 |
| 2752 core.int buildCounterDayPartTargeting = 0; | 2752 core.int buildCounterDayPartTargeting = 0; |
| 2753 buildDayPartTargeting() { | 2753 buildDayPartTargeting() { |
| 2754 var o = new api.DayPartTargeting(); | 2754 var o = new api.DayPartTargeting(); |
| 2755 buildCounterDayPartTargeting++; | 2755 buildCounterDayPartTargeting++; |
| 2756 if (buildCounterDayPartTargeting < 3) { | 2756 if (buildCounterDayPartTargeting < 3) { |
| 2757 o.daysOfWeek = buildUnnamed1608(); | 2757 o.daysOfWeek = buildUnnamed182(); |
| 2758 o.hoursOfDay = buildUnnamed1609(); | 2758 o.hoursOfDay = buildUnnamed183(); |
| 2759 o.userLocalTime = true; | 2759 o.userLocalTime = true; |
| 2760 } | 2760 } |
| 2761 buildCounterDayPartTargeting--; | 2761 buildCounterDayPartTargeting--; |
| 2762 return o; | 2762 return o; |
| 2763 } | 2763 } |
| 2764 | 2764 |
| 2765 checkDayPartTargeting(api.DayPartTargeting o) { | 2765 checkDayPartTargeting(api.DayPartTargeting o) { |
| 2766 buildCounterDayPartTargeting++; | 2766 buildCounterDayPartTargeting++; |
| 2767 if (buildCounterDayPartTargeting < 3) { | 2767 if (buildCounterDayPartTargeting < 3) { |
| 2768 checkUnnamed1608(o.daysOfWeek); | 2768 checkUnnamed182(o.daysOfWeek); |
| 2769 checkUnnamed1609(o.hoursOfDay); | 2769 checkUnnamed183(o.hoursOfDay); |
| 2770 unittest.expect(o.userLocalTime, unittest.isTrue); | 2770 unittest.expect(o.userLocalTime, unittest.isTrue); |
| 2771 } | 2771 } |
| 2772 buildCounterDayPartTargeting--; | 2772 buildCounterDayPartTargeting--; |
| 2773 } | 2773 } |
| 2774 | 2774 |
| 2775 core.int buildCounterDefaultClickThroughEventTagProperties = 0; | 2775 core.int buildCounterDefaultClickThroughEventTagProperties = 0; |
| 2776 buildDefaultClickThroughEventTagProperties() { | 2776 buildDefaultClickThroughEventTagProperties() { |
| 2777 var o = new api.DefaultClickThroughEventTagProperties(); | 2777 var o = new api.DefaultClickThroughEventTagProperties(); |
| 2778 buildCounterDefaultClickThroughEventTagProperties++; | 2778 buildCounterDefaultClickThroughEventTagProperties++; |
| 2779 if (buildCounterDefaultClickThroughEventTagProperties < 3) { | 2779 if (buildCounterDefaultClickThroughEventTagProperties < 3) { |
| (...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2911 unittest.expect(o.dimensionName, unittest.equals('foo')); | 2911 unittest.expect(o.dimensionName, unittest.equals('foo')); |
| 2912 unittest.expect(o.etag, unittest.equals('foo')); | 2912 unittest.expect(o.etag, unittest.equals('foo')); |
| 2913 unittest.expect(o.id, unittest.equals('foo')); | 2913 unittest.expect(o.id, unittest.equals('foo')); |
| 2914 unittest.expect(o.kind, unittest.equals('foo')); | 2914 unittest.expect(o.kind, unittest.equals('foo')); |
| 2915 unittest.expect(o.matchType, unittest.equals('foo')); | 2915 unittest.expect(o.matchType, unittest.equals('foo')); |
| 2916 unittest.expect(o.value, unittest.equals('foo')); | 2916 unittest.expect(o.value, unittest.equals('foo')); |
| 2917 } | 2917 } |
| 2918 buildCounterDimensionValue--; | 2918 buildCounterDimensionValue--; |
| 2919 } | 2919 } |
| 2920 | 2920 |
| 2921 buildUnnamed1610() { | 2921 buildUnnamed184() { |
| 2922 var o = new core.List<api.DimensionValue>(); | 2922 var o = new core.List<api.DimensionValue>(); |
| 2923 o.add(buildDimensionValue()); | 2923 o.add(buildDimensionValue()); |
| 2924 o.add(buildDimensionValue()); | 2924 o.add(buildDimensionValue()); |
| 2925 return o; | 2925 return o; |
| 2926 } | 2926 } |
| 2927 | 2927 |
| 2928 checkUnnamed1610(core.List<api.DimensionValue> o) { | 2928 checkUnnamed184(core.List<api.DimensionValue> o) { |
| 2929 unittest.expect(o, unittest.hasLength(2)); | 2929 unittest.expect(o, unittest.hasLength(2)); |
| 2930 checkDimensionValue(o[0]); | 2930 checkDimensionValue(o[0]); |
| 2931 checkDimensionValue(o[1]); | 2931 checkDimensionValue(o[1]); |
| 2932 } | 2932 } |
| 2933 | 2933 |
| 2934 core.int buildCounterDimensionValueList = 0; | 2934 core.int buildCounterDimensionValueList = 0; |
| 2935 buildDimensionValueList() { | 2935 buildDimensionValueList() { |
| 2936 var o = new api.DimensionValueList(); | 2936 var o = new api.DimensionValueList(); |
| 2937 buildCounterDimensionValueList++; | 2937 buildCounterDimensionValueList++; |
| 2938 if (buildCounterDimensionValueList < 3) { | 2938 if (buildCounterDimensionValueList < 3) { |
| 2939 o.etag = "foo"; | 2939 o.etag = "foo"; |
| 2940 o.items = buildUnnamed1610(); | 2940 o.items = buildUnnamed184(); |
| 2941 o.kind = "foo"; | 2941 o.kind = "foo"; |
| 2942 o.nextPageToken = "foo"; | 2942 o.nextPageToken = "foo"; |
| 2943 } | 2943 } |
| 2944 buildCounterDimensionValueList--; | 2944 buildCounterDimensionValueList--; |
| 2945 return o; | 2945 return o; |
| 2946 } | 2946 } |
| 2947 | 2947 |
| 2948 checkDimensionValueList(api.DimensionValueList o) { | 2948 checkDimensionValueList(api.DimensionValueList o) { |
| 2949 buildCounterDimensionValueList++; | 2949 buildCounterDimensionValueList++; |
| 2950 if (buildCounterDimensionValueList < 3) { | 2950 if (buildCounterDimensionValueList < 3) { |
| 2951 unittest.expect(o.etag, unittest.equals('foo')); | 2951 unittest.expect(o.etag, unittest.equals('foo')); |
| 2952 checkUnnamed1610(o.items); | 2952 checkUnnamed184(o.items); |
| 2953 unittest.expect(o.kind, unittest.equals('foo')); | 2953 unittest.expect(o.kind, unittest.equals('foo')); |
| 2954 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 2954 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 2955 } | 2955 } |
| 2956 buildCounterDimensionValueList--; | 2956 buildCounterDimensionValueList--; |
| 2957 } | 2957 } |
| 2958 | 2958 |
| 2959 buildUnnamed1611() { | 2959 buildUnnamed185() { |
| 2960 var o = new core.List<api.DimensionFilter>(); | 2960 var o = new core.List<api.DimensionFilter>(); |
| 2961 o.add(buildDimensionFilter()); | 2961 o.add(buildDimensionFilter()); |
| 2962 o.add(buildDimensionFilter()); | 2962 o.add(buildDimensionFilter()); |
| 2963 return o; | 2963 return o; |
| 2964 } | 2964 } |
| 2965 | 2965 |
| 2966 checkUnnamed1611(core.List<api.DimensionFilter> o) { | 2966 checkUnnamed185(core.List<api.DimensionFilter> o) { |
| 2967 unittest.expect(o, unittest.hasLength(2)); | 2967 unittest.expect(o, unittest.hasLength(2)); |
| 2968 checkDimensionFilter(o[0]); | 2968 checkDimensionFilter(o[0]); |
| 2969 checkDimensionFilter(o[1]); | 2969 checkDimensionFilter(o[1]); |
| 2970 } | 2970 } |
| 2971 | 2971 |
| 2972 core.int buildCounterDimensionValueRequest = 0; | 2972 core.int buildCounterDimensionValueRequest = 0; |
| 2973 buildDimensionValueRequest() { | 2973 buildDimensionValueRequest() { |
| 2974 var o = new api.DimensionValueRequest(); | 2974 var o = new api.DimensionValueRequest(); |
| 2975 buildCounterDimensionValueRequest++; | 2975 buildCounterDimensionValueRequest++; |
| 2976 if (buildCounterDimensionValueRequest < 3) { | 2976 if (buildCounterDimensionValueRequest < 3) { |
| 2977 o.dimensionName = "foo"; | 2977 o.dimensionName = "foo"; |
| 2978 o.endDate = core.DateTime.parse("2002-02-27T14:01:02Z"); | 2978 o.endDate = core.DateTime.parse("2002-02-27T14:01:02Z"); |
| 2979 o.filters = buildUnnamed1611(); | 2979 o.filters = buildUnnamed185(); |
| 2980 o.kind = "foo"; | 2980 o.kind = "foo"; |
| 2981 o.startDate = core.DateTime.parse("2002-02-27T14:01:02Z"); | 2981 o.startDate = core.DateTime.parse("2002-02-27T14:01:02Z"); |
| 2982 } | 2982 } |
| 2983 buildCounterDimensionValueRequest--; | 2983 buildCounterDimensionValueRequest--; |
| 2984 return o; | 2984 return o; |
| 2985 } | 2985 } |
| 2986 | 2986 |
| 2987 checkDimensionValueRequest(api.DimensionValueRequest o) { | 2987 checkDimensionValueRequest(api.DimensionValueRequest o) { |
| 2988 buildCounterDimensionValueRequest++; | 2988 buildCounterDimensionValueRequest++; |
| 2989 if (buildCounterDimensionValueRequest < 3) { | 2989 if (buildCounterDimensionValueRequest < 3) { |
| 2990 unittest.expect(o.dimensionName, unittest.equals('foo')); | 2990 unittest.expect(o.dimensionName, unittest.equals('foo')); |
| 2991 unittest.expect(o.endDate, unittest.equals(core.DateTime.parse("2002-02-27T0
0:00:00"))); | 2991 unittest.expect(o.endDate, unittest.equals(core.DateTime.parse("2002-02-27T0
0:00:00"))); |
| 2992 checkUnnamed1611(o.filters); | 2992 checkUnnamed185(o.filters); |
| 2993 unittest.expect(o.kind, unittest.equals('foo')); | 2993 unittest.expect(o.kind, unittest.equals('foo')); |
| 2994 unittest.expect(o.startDate, unittest.equals(core.DateTime.parse("2002-02-27
T00:00:00"))); | 2994 unittest.expect(o.startDate, unittest.equals(core.DateTime.parse("2002-02-27
T00:00:00"))); |
| 2995 } | 2995 } |
| 2996 buildCounterDimensionValueRequest--; | 2996 buildCounterDimensionValueRequest--; |
| 2997 } | 2997 } |
| 2998 | 2998 |
| 2999 buildUnnamed1612() { | 2999 buildUnnamed186() { |
| 3000 var o = new core.List<api.DirectorySiteContactAssignment>(); | 3000 var o = new core.List<api.DirectorySiteContactAssignment>(); |
| 3001 o.add(buildDirectorySiteContactAssignment()); | 3001 o.add(buildDirectorySiteContactAssignment()); |
| 3002 o.add(buildDirectorySiteContactAssignment()); | 3002 o.add(buildDirectorySiteContactAssignment()); |
| 3003 return o; | 3003 return o; |
| 3004 } | 3004 } |
| 3005 | 3005 |
| 3006 checkUnnamed1612(core.List<api.DirectorySiteContactAssignment> o) { | 3006 checkUnnamed186(core.List<api.DirectorySiteContactAssignment> o) { |
| 3007 unittest.expect(o, unittest.hasLength(2)); | 3007 unittest.expect(o, unittest.hasLength(2)); |
| 3008 checkDirectorySiteContactAssignment(o[0]); | 3008 checkDirectorySiteContactAssignment(o[0]); |
| 3009 checkDirectorySiteContactAssignment(o[1]); | 3009 checkDirectorySiteContactAssignment(o[1]); |
| 3010 } | 3010 } |
| 3011 | 3011 |
| 3012 buildUnnamed1613() { | 3012 buildUnnamed187() { |
| 3013 var o = new core.List<core.String>(); | 3013 var o = new core.List<core.String>(); |
| 3014 o.add("foo"); | 3014 o.add("foo"); |
| 3015 o.add("foo"); | 3015 o.add("foo"); |
| 3016 return o; | 3016 return o; |
| 3017 } | 3017 } |
| 3018 | 3018 |
| 3019 checkUnnamed1613(core.List<core.String> o) { | 3019 checkUnnamed187(core.List<core.String> o) { |
| 3020 unittest.expect(o, unittest.hasLength(2)); | 3020 unittest.expect(o, unittest.hasLength(2)); |
| 3021 unittest.expect(o[0], unittest.equals('foo')); | 3021 unittest.expect(o[0], unittest.equals('foo')); |
| 3022 unittest.expect(o[1], unittest.equals('foo')); | 3022 unittest.expect(o[1], unittest.equals('foo')); |
| 3023 } | 3023 } |
| 3024 | 3024 |
| 3025 buildUnnamed1614() { | 3025 buildUnnamed188() { |
| 3026 var o = new core.List<core.String>(); | 3026 var o = new core.List<core.String>(); |
| 3027 o.add("foo"); | 3027 o.add("foo"); |
| 3028 o.add("foo"); | 3028 o.add("foo"); |
| 3029 return o; | 3029 return o; |
| 3030 } | 3030 } |
| 3031 | 3031 |
| 3032 checkUnnamed1614(core.List<core.String> o) { | 3032 checkUnnamed188(core.List<core.String> o) { |
| 3033 unittest.expect(o, unittest.hasLength(2)); | 3033 unittest.expect(o, unittest.hasLength(2)); |
| 3034 unittest.expect(o[0], unittest.equals('foo')); | 3034 unittest.expect(o[0], unittest.equals('foo')); |
| 3035 unittest.expect(o[1], unittest.equals('foo')); | 3035 unittest.expect(o[1], unittest.equals('foo')); |
| 3036 } | 3036 } |
| 3037 | 3037 |
| 3038 core.int buildCounterDirectorySite = 0; | 3038 core.int buildCounterDirectorySite = 0; |
| 3039 buildDirectorySite() { | 3039 buildDirectorySite() { |
| 3040 var o = new api.DirectorySite(); | 3040 var o = new api.DirectorySite(); |
| 3041 buildCounterDirectorySite++; | 3041 buildCounterDirectorySite++; |
| 3042 if (buildCounterDirectorySite < 3) { | 3042 if (buildCounterDirectorySite < 3) { |
| 3043 o.active = true; | 3043 o.active = true; |
| 3044 o.contactAssignments = buildUnnamed1612(); | 3044 o.contactAssignments = buildUnnamed186(); |
| 3045 o.countryId = "foo"; | 3045 o.countryId = "foo"; |
| 3046 o.currencyId = "foo"; | 3046 o.currencyId = "foo"; |
| 3047 o.description = "foo"; | 3047 o.description = "foo"; |
| 3048 o.id = "foo"; | 3048 o.id = "foo"; |
| 3049 o.idDimensionValue = buildDimensionValue(); | 3049 o.idDimensionValue = buildDimensionValue(); |
| 3050 o.inpageTagFormats = buildUnnamed1613(); | 3050 o.inpageTagFormats = buildUnnamed187(); |
| 3051 o.interstitialTagFormats = buildUnnamed1614(); | 3051 o.interstitialTagFormats = buildUnnamed188(); |
| 3052 o.kind = "foo"; | 3052 o.kind = "foo"; |
| 3053 o.name = "foo"; | 3053 o.name = "foo"; |
| 3054 o.parentId = "foo"; | 3054 o.parentId = "foo"; |
| 3055 o.settings = buildDirectorySiteSettings(); | 3055 o.settings = buildDirectorySiteSettings(); |
| 3056 o.url = "foo"; | 3056 o.url = "foo"; |
| 3057 } | 3057 } |
| 3058 buildCounterDirectorySite--; | 3058 buildCounterDirectorySite--; |
| 3059 return o; | 3059 return o; |
| 3060 } | 3060 } |
| 3061 | 3061 |
| 3062 checkDirectorySite(api.DirectorySite o) { | 3062 checkDirectorySite(api.DirectorySite o) { |
| 3063 buildCounterDirectorySite++; | 3063 buildCounterDirectorySite++; |
| 3064 if (buildCounterDirectorySite < 3) { | 3064 if (buildCounterDirectorySite < 3) { |
| 3065 unittest.expect(o.active, unittest.isTrue); | 3065 unittest.expect(o.active, unittest.isTrue); |
| 3066 checkUnnamed1612(o.contactAssignments); | 3066 checkUnnamed186(o.contactAssignments); |
| 3067 unittest.expect(o.countryId, unittest.equals('foo')); | 3067 unittest.expect(o.countryId, unittest.equals('foo')); |
| 3068 unittest.expect(o.currencyId, unittest.equals('foo')); | 3068 unittest.expect(o.currencyId, unittest.equals('foo')); |
| 3069 unittest.expect(o.description, unittest.equals('foo')); | 3069 unittest.expect(o.description, unittest.equals('foo')); |
| 3070 unittest.expect(o.id, unittest.equals('foo')); | 3070 unittest.expect(o.id, unittest.equals('foo')); |
| 3071 checkDimensionValue(o.idDimensionValue); | 3071 checkDimensionValue(o.idDimensionValue); |
| 3072 checkUnnamed1613(o.inpageTagFormats); | 3072 checkUnnamed187(o.inpageTagFormats); |
| 3073 checkUnnamed1614(o.interstitialTagFormats); | 3073 checkUnnamed188(o.interstitialTagFormats); |
| 3074 unittest.expect(o.kind, unittest.equals('foo')); | 3074 unittest.expect(o.kind, unittest.equals('foo')); |
| 3075 unittest.expect(o.name, unittest.equals('foo')); | 3075 unittest.expect(o.name, unittest.equals('foo')); |
| 3076 unittest.expect(o.parentId, unittest.equals('foo')); | 3076 unittest.expect(o.parentId, unittest.equals('foo')); |
| 3077 checkDirectorySiteSettings(o.settings); | 3077 checkDirectorySiteSettings(o.settings); |
| 3078 unittest.expect(o.url, unittest.equals('foo')); | 3078 unittest.expect(o.url, unittest.equals('foo')); |
| 3079 } | 3079 } |
| 3080 buildCounterDirectorySite--; | 3080 buildCounterDirectorySite--; |
| 3081 } | 3081 } |
| 3082 | 3082 |
| 3083 core.int buildCounterDirectorySiteContact = 0; | 3083 core.int buildCounterDirectorySiteContact = 0; |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3131 | 3131 |
| 3132 checkDirectorySiteContactAssignment(api.DirectorySiteContactAssignment o) { | 3132 checkDirectorySiteContactAssignment(api.DirectorySiteContactAssignment o) { |
| 3133 buildCounterDirectorySiteContactAssignment++; | 3133 buildCounterDirectorySiteContactAssignment++; |
| 3134 if (buildCounterDirectorySiteContactAssignment < 3) { | 3134 if (buildCounterDirectorySiteContactAssignment < 3) { |
| 3135 unittest.expect(o.contactId, unittest.equals('foo')); | 3135 unittest.expect(o.contactId, unittest.equals('foo')); |
| 3136 unittest.expect(o.visibility, unittest.equals('foo')); | 3136 unittest.expect(o.visibility, unittest.equals('foo')); |
| 3137 } | 3137 } |
| 3138 buildCounterDirectorySiteContactAssignment--; | 3138 buildCounterDirectorySiteContactAssignment--; |
| 3139 } | 3139 } |
| 3140 | 3140 |
| 3141 buildUnnamed1615() { | 3141 buildUnnamed189() { |
| 3142 var o = new core.List<api.DirectorySiteContact>(); | 3142 var o = new core.List<api.DirectorySiteContact>(); |
| 3143 o.add(buildDirectorySiteContact()); | 3143 o.add(buildDirectorySiteContact()); |
| 3144 o.add(buildDirectorySiteContact()); | 3144 o.add(buildDirectorySiteContact()); |
| 3145 return o; | 3145 return o; |
| 3146 } | 3146 } |
| 3147 | 3147 |
| 3148 checkUnnamed1615(core.List<api.DirectorySiteContact> o) { | 3148 checkUnnamed189(core.List<api.DirectorySiteContact> o) { |
| 3149 unittest.expect(o, unittest.hasLength(2)); | 3149 unittest.expect(o, unittest.hasLength(2)); |
| 3150 checkDirectorySiteContact(o[0]); | 3150 checkDirectorySiteContact(o[0]); |
| 3151 checkDirectorySiteContact(o[1]); | 3151 checkDirectorySiteContact(o[1]); |
| 3152 } | 3152 } |
| 3153 | 3153 |
| 3154 core.int buildCounterDirectorySiteContactsListResponse = 0; | 3154 core.int buildCounterDirectorySiteContactsListResponse = 0; |
| 3155 buildDirectorySiteContactsListResponse() { | 3155 buildDirectorySiteContactsListResponse() { |
| 3156 var o = new api.DirectorySiteContactsListResponse(); | 3156 var o = new api.DirectorySiteContactsListResponse(); |
| 3157 buildCounterDirectorySiteContactsListResponse++; | 3157 buildCounterDirectorySiteContactsListResponse++; |
| 3158 if (buildCounterDirectorySiteContactsListResponse < 3) { | 3158 if (buildCounterDirectorySiteContactsListResponse < 3) { |
| 3159 o.directorySiteContacts = buildUnnamed1615(); | 3159 o.directorySiteContacts = buildUnnamed189(); |
| 3160 o.kind = "foo"; | 3160 o.kind = "foo"; |
| 3161 o.nextPageToken = "foo"; | 3161 o.nextPageToken = "foo"; |
| 3162 } | 3162 } |
| 3163 buildCounterDirectorySiteContactsListResponse--; | 3163 buildCounterDirectorySiteContactsListResponse--; |
| 3164 return o; | 3164 return o; |
| 3165 } | 3165 } |
| 3166 | 3166 |
| 3167 checkDirectorySiteContactsListResponse(api.DirectorySiteContactsListResponse o)
{ | 3167 checkDirectorySiteContactsListResponse(api.DirectorySiteContactsListResponse o)
{ |
| 3168 buildCounterDirectorySiteContactsListResponse++; | 3168 buildCounterDirectorySiteContactsListResponse++; |
| 3169 if (buildCounterDirectorySiteContactsListResponse < 3) { | 3169 if (buildCounterDirectorySiteContactsListResponse < 3) { |
| 3170 checkUnnamed1615(o.directorySiteContacts); | 3170 checkUnnamed189(o.directorySiteContacts); |
| 3171 unittest.expect(o.kind, unittest.equals('foo')); | 3171 unittest.expect(o.kind, unittest.equals('foo')); |
| 3172 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 3172 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 3173 } | 3173 } |
| 3174 buildCounterDirectorySiteContactsListResponse--; | 3174 buildCounterDirectorySiteContactsListResponse--; |
| 3175 } | 3175 } |
| 3176 | 3176 |
| 3177 core.int buildCounterDirectorySiteSettings = 0; | 3177 core.int buildCounterDirectorySiteSettings = 0; |
| 3178 buildDirectorySiteSettings() { | 3178 buildDirectorySiteSettings() { |
| 3179 var o = new api.DirectorySiteSettings(); | 3179 var o = new api.DirectorySiteSettings(); |
| 3180 buildCounterDirectorySiteSettings++; | 3180 buildCounterDirectorySiteSettings++; |
| (...skipping 17 matching lines...) Expand all Loading... |
| 3198 checkDfpSettings(o.dfpSettings); | 3198 checkDfpSettings(o.dfpSettings); |
| 3199 unittest.expect(o.instreamVideoPlacementAccepted, unittest.isTrue); | 3199 unittest.expect(o.instreamVideoPlacementAccepted, unittest.isTrue); |
| 3200 unittest.expect(o.interstitialPlacementAccepted, unittest.isTrue); | 3200 unittest.expect(o.interstitialPlacementAccepted, unittest.isTrue); |
| 3201 unittest.expect(o.nielsenOcrOptOut, unittest.isTrue); | 3201 unittest.expect(o.nielsenOcrOptOut, unittest.isTrue); |
| 3202 unittest.expect(o.verificationTagOptOut, unittest.isTrue); | 3202 unittest.expect(o.verificationTagOptOut, unittest.isTrue); |
| 3203 unittest.expect(o.videoActiveViewOptOut, unittest.isTrue); | 3203 unittest.expect(o.videoActiveViewOptOut, unittest.isTrue); |
| 3204 } | 3204 } |
| 3205 buildCounterDirectorySiteSettings--; | 3205 buildCounterDirectorySiteSettings--; |
| 3206 } | 3206 } |
| 3207 | 3207 |
| 3208 buildUnnamed1616() { | 3208 buildUnnamed190() { |
| 3209 var o = new core.List<api.DirectorySite>(); | 3209 var o = new core.List<api.DirectorySite>(); |
| 3210 o.add(buildDirectorySite()); | 3210 o.add(buildDirectorySite()); |
| 3211 o.add(buildDirectorySite()); | 3211 o.add(buildDirectorySite()); |
| 3212 return o; | 3212 return o; |
| 3213 } | 3213 } |
| 3214 | 3214 |
| 3215 checkUnnamed1616(core.List<api.DirectorySite> o) { | 3215 checkUnnamed190(core.List<api.DirectorySite> o) { |
| 3216 unittest.expect(o, unittest.hasLength(2)); | 3216 unittest.expect(o, unittest.hasLength(2)); |
| 3217 checkDirectorySite(o[0]); | 3217 checkDirectorySite(o[0]); |
| 3218 checkDirectorySite(o[1]); | 3218 checkDirectorySite(o[1]); |
| 3219 } | 3219 } |
| 3220 | 3220 |
| 3221 core.int buildCounterDirectorySitesListResponse = 0; | 3221 core.int buildCounterDirectorySitesListResponse = 0; |
| 3222 buildDirectorySitesListResponse() { | 3222 buildDirectorySitesListResponse() { |
| 3223 var o = new api.DirectorySitesListResponse(); | 3223 var o = new api.DirectorySitesListResponse(); |
| 3224 buildCounterDirectorySitesListResponse++; | 3224 buildCounterDirectorySitesListResponse++; |
| 3225 if (buildCounterDirectorySitesListResponse < 3) { | 3225 if (buildCounterDirectorySitesListResponse < 3) { |
| 3226 o.directorySites = buildUnnamed1616(); | 3226 o.directorySites = buildUnnamed190(); |
| 3227 o.kind = "foo"; | 3227 o.kind = "foo"; |
| 3228 o.nextPageToken = "foo"; | 3228 o.nextPageToken = "foo"; |
| 3229 } | 3229 } |
| 3230 buildCounterDirectorySitesListResponse--; | 3230 buildCounterDirectorySitesListResponse--; |
| 3231 return o; | 3231 return o; |
| 3232 } | 3232 } |
| 3233 | 3233 |
| 3234 checkDirectorySitesListResponse(api.DirectorySitesListResponse o) { | 3234 checkDirectorySitesListResponse(api.DirectorySitesListResponse o) { |
| 3235 buildCounterDirectorySitesListResponse++; | 3235 buildCounterDirectorySitesListResponse++; |
| 3236 if (buildCounterDirectorySitesListResponse < 3) { | 3236 if (buildCounterDirectorySitesListResponse < 3) { |
| 3237 checkUnnamed1616(o.directorySites); | 3237 checkUnnamed190(o.directorySites); |
| 3238 unittest.expect(o.kind, unittest.equals('foo')); | 3238 unittest.expect(o.kind, unittest.equals('foo')); |
| 3239 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 3239 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 3240 } | 3240 } |
| 3241 buildCounterDirectorySitesListResponse--; | 3241 buildCounterDirectorySitesListResponse--; |
| 3242 } | 3242 } |
| 3243 | 3243 |
| 3244 buildUnnamed1617() { | 3244 buildUnnamed191() { |
| 3245 var o = new core.List<core.String>(); | 3245 var o = new core.List<core.String>(); |
| 3246 o.add("foo"); | 3246 o.add("foo"); |
| 3247 o.add("foo"); | 3247 o.add("foo"); |
| 3248 return o; | 3248 return o; |
| 3249 } | 3249 } |
| 3250 | 3250 |
| 3251 checkUnnamed1617(core.List<core.String> o) { | 3251 checkUnnamed191(core.List<core.String> o) { |
| 3252 unittest.expect(o, unittest.hasLength(2)); | 3252 unittest.expect(o, unittest.hasLength(2)); |
| 3253 unittest.expect(o[0], unittest.equals('foo')); | 3253 unittest.expect(o[0], unittest.equals('foo')); |
| 3254 unittest.expect(o[1], unittest.equals('foo')); | 3254 unittest.expect(o[1], unittest.equals('foo')); |
| 3255 } | 3255 } |
| 3256 | 3256 |
| 3257 core.int buildCounterEventTag = 0; | 3257 core.int buildCounterEventTag = 0; |
| 3258 buildEventTag() { | 3258 buildEventTag() { |
| 3259 var o = new api.EventTag(); | 3259 var o = new api.EventTag(); |
| 3260 buildCounterEventTag++; | 3260 buildCounterEventTag++; |
| 3261 if (buildCounterEventTag < 3) { | 3261 if (buildCounterEventTag < 3) { |
| 3262 o.accountId = "foo"; | 3262 o.accountId = "foo"; |
| 3263 o.advertiserId = "foo"; | 3263 o.advertiserId = "foo"; |
| 3264 o.advertiserIdDimensionValue = buildDimensionValue(); | 3264 o.advertiserIdDimensionValue = buildDimensionValue(); |
| 3265 o.campaignId = "foo"; | 3265 o.campaignId = "foo"; |
| 3266 o.campaignIdDimensionValue = buildDimensionValue(); | 3266 o.campaignIdDimensionValue = buildDimensionValue(); |
| 3267 o.enabledByDefault = true; | 3267 o.enabledByDefault = true; |
| 3268 o.excludeFromAdxRequests = true; | 3268 o.excludeFromAdxRequests = true; |
| 3269 o.id = "foo"; | 3269 o.id = "foo"; |
| 3270 o.kind = "foo"; | 3270 o.kind = "foo"; |
| 3271 o.name = "foo"; | 3271 o.name = "foo"; |
| 3272 o.siteFilterType = "foo"; | 3272 o.siteFilterType = "foo"; |
| 3273 o.siteIds = buildUnnamed1617(); | 3273 o.siteIds = buildUnnamed191(); |
| 3274 o.sslCompliant = true; | 3274 o.sslCompliant = true; |
| 3275 o.status = "foo"; | 3275 o.status = "foo"; |
| 3276 o.subaccountId = "foo"; | 3276 o.subaccountId = "foo"; |
| 3277 o.type = "foo"; | 3277 o.type = "foo"; |
| 3278 o.url = "foo"; | 3278 o.url = "foo"; |
| 3279 o.urlEscapeLevels = 42; | 3279 o.urlEscapeLevels = 42; |
| 3280 } | 3280 } |
| 3281 buildCounterEventTag--; | 3281 buildCounterEventTag--; |
| 3282 return o; | 3282 return o; |
| 3283 } | 3283 } |
| 3284 | 3284 |
| 3285 checkEventTag(api.EventTag o) { | 3285 checkEventTag(api.EventTag o) { |
| 3286 buildCounterEventTag++; | 3286 buildCounterEventTag++; |
| 3287 if (buildCounterEventTag < 3) { | 3287 if (buildCounterEventTag < 3) { |
| 3288 unittest.expect(o.accountId, unittest.equals('foo')); | 3288 unittest.expect(o.accountId, unittest.equals('foo')); |
| 3289 unittest.expect(o.advertiserId, unittest.equals('foo')); | 3289 unittest.expect(o.advertiserId, unittest.equals('foo')); |
| 3290 checkDimensionValue(o.advertiserIdDimensionValue); | 3290 checkDimensionValue(o.advertiserIdDimensionValue); |
| 3291 unittest.expect(o.campaignId, unittest.equals('foo')); | 3291 unittest.expect(o.campaignId, unittest.equals('foo')); |
| 3292 checkDimensionValue(o.campaignIdDimensionValue); | 3292 checkDimensionValue(o.campaignIdDimensionValue); |
| 3293 unittest.expect(o.enabledByDefault, unittest.isTrue); | 3293 unittest.expect(o.enabledByDefault, unittest.isTrue); |
| 3294 unittest.expect(o.excludeFromAdxRequests, unittest.isTrue); | 3294 unittest.expect(o.excludeFromAdxRequests, unittest.isTrue); |
| 3295 unittest.expect(o.id, unittest.equals('foo')); | 3295 unittest.expect(o.id, unittest.equals('foo')); |
| 3296 unittest.expect(o.kind, unittest.equals('foo')); | 3296 unittest.expect(o.kind, unittest.equals('foo')); |
| 3297 unittest.expect(o.name, unittest.equals('foo')); | 3297 unittest.expect(o.name, unittest.equals('foo')); |
| 3298 unittest.expect(o.siteFilterType, unittest.equals('foo')); | 3298 unittest.expect(o.siteFilterType, unittest.equals('foo')); |
| 3299 checkUnnamed1617(o.siteIds); | 3299 checkUnnamed191(o.siteIds); |
| 3300 unittest.expect(o.sslCompliant, unittest.isTrue); | 3300 unittest.expect(o.sslCompliant, unittest.isTrue); |
| 3301 unittest.expect(o.status, unittest.equals('foo')); | 3301 unittest.expect(o.status, unittest.equals('foo')); |
| 3302 unittest.expect(o.subaccountId, unittest.equals('foo')); | 3302 unittest.expect(o.subaccountId, unittest.equals('foo')); |
| 3303 unittest.expect(o.type, unittest.equals('foo')); | 3303 unittest.expect(o.type, unittest.equals('foo')); |
| 3304 unittest.expect(o.url, unittest.equals('foo')); | 3304 unittest.expect(o.url, unittest.equals('foo')); |
| 3305 unittest.expect(o.urlEscapeLevels, unittest.equals(42)); | 3305 unittest.expect(o.urlEscapeLevels, unittest.equals(42)); |
| 3306 } | 3306 } |
| 3307 buildCounterEventTag--; | 3307 buildCounterEventTag--; |
| 3308 } | 3308 } |
| 3309 | 3309 |
| (...skipping 11 matching lines...) Expand all Loading... |
| 3321 | 3321 |
| 3322 checkEventTagOverride(api.EventTagOverride o) { | 3322 checkEventTagOverride(api.EventTagOverride o) { |
| 3323 buildCounterEventTagOverride++; | 3323 buildCounterEventTagOverride++; |
| 3324 if (buildCounterEventTagOverride < 3) { | 3324 if (buildCounterEventTagOverride < 3) { |
| 3325 unittest.expect(o.enabled, unittest.isTrue); | 3325 unittest.expect(o.enabled, unittest.isTrue); |
| 3326 unittest.expect(o.id, unittest.equals('foo')); | 3326 unittest.expect(o.id, unittest.equals('foo')); |
| 3327 } | 3327 } |
| 3328 buildCounterEventTagOverride--; | 3328 buildCounterEventTagOverride--; |
| 3329 } | 3329 } |
| 3330 | 3330 |
| 3331 buildUnnamed1618() { | 3331 buildUnnamed192() { |
| 3332 var o = new core.List<api.EventTag>(); | 3332 var o = new core.List<api.EventTag>(); |
| 3333 o.add(buildEventTag()); | 3333 o.add(buildEventTag()); |
| 3334 o.add(buildEventTag()); | 3334 o.add(buildEventTag()); |
| 3335 return o; | 3335 return o; |
| 3336 } | 3336 } |
| 3337 | 3337 |
| 3338 checkUnnamed1618(core.List<api.EventTag> o) { | 3338 checkUnnamed192(core.List<api.EventTag> o) { |
| 3339 unittest.expect(o, unittest.hasLength(2)); | 3339 unittest.expect(o, unittest.hasLength(2)); |
| 3340 checkEventTag(o[0]); | 3340 checkEventTag(o[0]); |
| 3341 checkEventTag(o[1]); | 3341 checkEventTag(o[1]); |
| 3342 } | 3342 } |
| 3343 | 3343 |
| 3344 core.int buildCounterEventTagsListResponse = 0; | 3344 core.int buildCounterEventTagsListResponse = 0; |
| 3345 buildEventTagsListResponse() { | 3345 buildEventTagsListResponse() { |
| 3346 var o = new api.EventTagsListResponse(); | 3346 var o = new api.EventTagsListResponse(); |
| 3347 buildCounterEventTagsListResponse++; | 3347 buildCounterEventTagsListResponse++; |
| 3348 if (buildCounterEventTagsListResponse < 3) { | 3348 if (buildCounterEventTagsListResponse < 3) { |
| 3349 o.eventTags = buildUnnamed1618(); | 3349 o.eventTags = buildUnnamed192(); |
| 3350 o.kind = "foo"; | 3350 o.kind = "foo"; |
| 3351 } | 3351 } |
| 3352 buildCounterEventTagsListResponse--; | 3352 buildCounterEventTagsListResponse--; |
| 3353 return o; | 3353 return o; |
| 3354 } | 3354 } |
| 3355 | 3355 |
| 3356 checkEventTagsListResponse(api.EventTagsListResponse o) { | 3356 checkEventTagsListResponse(api.EventTagsListResponse o) { |
| 3357 buildCounterEventTagsListResponse++; | 3357 buildCounterEventTagsListResponse++; |
| 3358 if (buildCounterEventTagsListResponse < 3) { | 3358 if (buildCounterEventTagsListResponse < 3) { |
| 3359 checkUnnamed1618(o.eventTags); | 3359 checkUnnamed192(o.eventTags); |
| 3360 unittest.expect(o.kind, unittest.equals('foo')); | 3360 unittest.expect(o.kind, unittest.equals('foo')); |
| 3361 } | 3361 } |
| 3362 buildCounterEventTagsListResponse--; | 3362 buildCounterEventTagsListResponse--; |
| 3363 } | 3363 } |
| 3364 | 3364 |
| 3365 core.int buildCounterFileUrls = 0; | 3365 core.int buildCounterFileUrls = 0; |
| 3366 buildFileUrls() { | 3366 buildFileUrls() { |
| 3367 var o = new api.FileUrls(); | 3367 var o = new api.FileUrls(); |
| 3368 buildCounterFileUrls++; | 3368 buildCounterFileUrls++; |
| 3369 if (buildCounterFileUrls < 3) { | 3369 if (buildCounterFileUrls < 3) { |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3413 unittest.expect(o.id, unittest.equals('foo')); | 3413 unittest.expect(o.id, unittest.equals('foo')); |
| 3414 unittest.expect(o.kind, unittest.equals('foo')); | 3414 unittest.expect(o.kind, unittest.equals('foo')); |
| 3415 unittest.expect(o.lastModifiedTime, unittest.equals('foo')); | 3415 unittest.expect(o.lastModifiedTime, unittest.equals('foo')); |
| 3416 unittest.expect(o.reportId, unittest.equals('foo')); | 3416 unittest.expect(o.reportId, unittest.equals('foo')); |
| 3417 unittest.expect(o.status, unittest.equals('foo')); | 3417 unittest.expect(o.status, unittest.equals('foo')); |
| 3418 checkFileUrls(o.urls); | 3418 checkFileUrls(o.urls); |
| 3419 } | 3419 } |
| 3420 buildCounterFile--; | 3420 buildCounterFile--; |
| 3421 } | 3421 } |
| 3422 | 3422 |
| 3423 buildUnnamed1619() { | 3423 buildUnnamed193() { |
| 3424 var o = new core.List<api.File>(); | 3424 var o = new core.List<api.File>(); |
| 3425 o.add(buildFile()); | 3425 o.add(buildFile()); |
| 3426 o.add(buildFile()); | 3426 o.add(buildFile()); |
| 3427 return o; | 3427 return o; |
| 3428 } | 3428 } |
| 3429 | 3429 |
| 3430 checkUnnamed1619(core.List<api.File> o) { | 3430 checkUnnamed193(core.List<api.File> o) { |
| 3431 unittest.expect(o, unittest.hasLength(2)); | 3431 unittest.expect(o, unittest.hasLength(2)); |
| 3432 checkFile(o[0]); | 3432 checkFile(o[0]); |
| 3433 checkFile(o[1]); | 3433 checkFile(o[1]); |
| 3434 } | 3434 } |
| 3435 | 3435 |
| 3436 core.int buildCounterFileList = 0; | 3436 core.int buildCounterFileList = 0; |
| 3437 buildFileList() { | 3437 buildFileList() { |
| 3438 var o = new api.FileList(); | 3438 var o = new api.FileList(); |
| 3439 buildCounterFileList++; | 3439 buildCounterFileList++; |
| 3440 if (buildCounterFileList < 3) { | 3440 if (buildCounterFileList < 3) { |
| 3441 o.etag = "foo"; | 3441 o.etag = "foo"; |
| 3442 o.items = buildUnnamed1619(); | 3442 o.items = buildUnnamed193(); |
| 3443 o.kind = "foo"; | 3443 o.kind = "foo"; |
| 3444 o.nextPageToken = "foo"; | 3444 o.nextPageToken = "foo"; |
| 3445 } | 3445 } |
| 3446 buildCounterFileList--; | 3446 buildCounterFileList--; |
| 3447 return o; | 3447 return o; |
| 3448 } | 3448 } |
| 3449 | 3449 |
| 3450 checkFileList(api.FileList o) { | 3450 checkFileList(api.FileList o) { |
| 3451 buildCounterFileList++; | 3451 buildCounterFileList++; |
| 3452 if (buildCounterFileList < 3) { | 3452 if (buildCounterFileList < 3) { |
| 3453 unittest.expect(o.etag, unittest.equals('foo')); | 3453 unittest.expect(o.etag, unittest.equals('foo')); |
| 3454 checkUnnamed1619(o.items); | 3454 checkUnnamed193(o.items); |
| 3455 unittest.expect(o.kind, unittest.equals('foo')); | 3455 unittest.expect(o.kind, unittest.equals('foo')); |
| 3456 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 3456 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 3457 } | 3457 } |
| 3458 buildCounterFileList--; | 3458 buildCounterFileList--; |
| 3459 } | 3459 } |
| 3460 | 3460 |
| 3461 core.int buildCounterFlight = 0; | 3461 core.int buildCounterFlight = 0; |
| 3462 buildFlight() { | 3462 buildFlight() { |
| 3463 var o = new api.Flight(); | 3463 var o = new api.Flight(); |
| 3464 buildCounterFlight++; | 3464 buildCounterFlight++; |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3497 | 3497 |
| 3498 checkFloodlightActivitiesGenerateTagResponse(api.FloodlightActivitiesGenerateTag
Response o) { | 3498 checkFloodlightActivitiesGenerateTagResponse(api.FloodlightActivitiesGenerateTag
Response o) { |
| 3499 buildCounterFloodlightActivitiesGenerateTagResponse++; | 3499 buildCounterFloodlightActivitiesGenerateTagResponse++; |
| 3500 if (buildCounterFloodlightActivitiesGenerateTagResponse < 3) { | 3500 if (buildCounterFloodlightActivitiesGenerateTagResponse < 3) { |
| 3501 unittest.expect(o.floodlightActivityTag, unittest.equals('foo')); | 3501 unittest.expect(o.floodlightActivityTag, unittest.equals('foo')); |
| 3502 unittest.expect(o.kind, unittest.equals('foo')); | 3502 unittest.expect(o.kind, unittest.equals('foo')); |
| 3503 } | 3503 } |
| 3504 buildCounterFloodlightActivitiesGenerateTagResponse--; | 3504 buildCounterFloodlightActivitiesGenerateTagResponse--; |
| 3505 } | 3505 } |
| 3506 | 3506 |
| 3507 buildUnnamed1620() { | 3507 buildUnnamed194() { |
| 3508 var o = new core.List<api.FloodlightActivity>(); | 3508 var o = new core.List<api.FloodlightActivity>(); |
| 3509 o.add(buildFloodlightActivity()); | 3509 o.add(buildFloodlightActivity()); |
| 3510 o.add(buildFloodlightActivity()); | 3510 o.add(buildFloodlightActivity()); |
| 3511 return o; | 3511 return o; |
| 3512 } | 3512 } |
| 3513 | 3513 |
| 3514 checkUnnamed1620(core.List<api.FloodlightActivity> o) { | 3514 checkUnnamed194(core.List<api.FloodlightActivity> o) { |
| 3515 unittest.expect(o, unittest.hasLength(2)); | 3515 unittest.expect(o, unittest.hasLength(2)); |
| 3516 checkFloodlightActivity(o[0]); | 3516 checkFloodlightActivity(o[0]); |
| 3517 checkFloodlightActivity(o[1]); | 3517 checkFloodlightActivity(o[1]); |
| 3518 } | 3518 } |
| 3519 | 3519 |
| 3520 core.int buildCounterFloodlightActivitiesListResponse = 0; | 3520 core.int buildCounterFloodlightActivitiesListResponse = 0; |
| 3521 buildFloodlightActivitiesListResponse() { | 3521 buildFloodlightActivitiesListResponse() { |
| 3522 var o = new api.FloodlightActivitiesListResponse(); | 3522 var o = new api.FloodlightActivitiesListResponse(); |
| 3523 buildCounterFloodlightActivitiesListResponse++; | 3523 buildCounterFloodlightActivitiesListResponse++; |
| 3524 if (buildCounterFloodlightActivitiesListResponse < 3) { | 3524 if (buildCounterFloodlightActivitiesListResponse < 3) { |
| 3525 o.floodlightActivities = buildUnnamed1620(); | 3525 o.floodlightActivities = buildUnnamed194(); |
| 3526 o.kind = "foo"; | 3526 o.kind = "foo"; |
| 3527 o.nextPageToken = "foo"; | 3527 o.nextPageToken = "foo"; |
| 3528 } | 3528 } |
| 3529 buildCounterFloodlightActivitiesListResponse--; | 3529 buildCounterFloodlightActivitiesListResponse--; |
| 3530 return o; | 3530 return o; |
| 3531 } | 3531 } |
| 3532 | 3532 |
| 3533 checkFloodlightActivitiesListResponse(api.FloodlightActivitiesListResponse o) { | 3533 checkFloodlightActivitiesListResponse(api.FloodlightActivitiesListResponse o) { |
| 3534 buildCounterFloodlightActivitiesListResponse++; | 3534 buildCounterFloodlightActivitiesListResponse++; |
| 3535 if (buildCounterFloodlightActivitiesListResponse < 3) { | 3535 if (buildCounterFloodlightActivitiesListResponse < 3) { |
| 3536 checkUnnamed1620(o.floodlightActivities); | 3536 checkUnnamed194(o.floodlightActivities); |
| 3537 unittest.expect(o.kind, unittest.equals('foo')); | 3537 unittest.expect(o.kind, unittest.equals('foo')); |
| 3538 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 3538 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 3539 } | 3539 } |
| 3540 buildCounterFloodlightActivitiesListResponse--; | 3540 buildCounterFloodlightActivitiesListResponse--; |
| 3541 } | 3541 } |
| 3542 | 3542 |
| 3543 buildUnnamed1621() { | 3543 buildUnnamed195() { |
| 3544 var o = new core.List<api.FloodlightActivityDynamicTag>(); | 3544 var o = new core.List<api.FloodlightActivityDynamicTag>(); |
| 3545 o.add(buildFloodlightActivityDynamicTag()); | 3545 o.add(buildFloodlightActivityDynamicTag()); |
| 3546 o.add(buildFloodlightActivityDynamicTag()); | 3546 o.add(buildFloodlightActivityDynamicTag()); |
| 3547 return o; | 3547 return o; |
| 3548 } | 3548 } |
| 3549 | 3549 |
| 3550 checkUnnamed1621(core.List<api.FloodlightActivityDynamicTag> o) { | 3550 checkUnnamed195(core.List<api.FloodlightActivityDynamicTag> o) { |
| 3551 unittest.expect(o, unittest.hasLength(2)); | 3551 unittest.expect(o, unittest.hasLength(2)); |
| 3552 checkFloodlightActivityDynamicTag(o[0]); | 3552 checkFloodlightActivityDynamicTag(o[0]); |
| 3553 checkFloodlightActivityDynamicTag(o[1]); | 3553 checkFloodlightActivityDynamicTag(o[1]); |
| 3554 } | 3554 } |
| 3555 | 3555 |
| 3556 buildUnnamed1622() { | 3556 buildUnnamed196() { |
| 3557 var o = new core.List<api.FloodlightActivityPublisherDynamicTag>(); | 3557 var o = new core.List<api.FloodlightActivityPublisherDynamicTag>(); |
| 3558 o.add(buildFloodlightActivityPublisherDynamicTag()); | 3558 o.add(buildFloodlightActivityPublisherDynamicTag()); |
| 3559 o.add(buildFloodlightActivityPublisherDynamicTag()); | 3559 o.add(buildFloodlightActivityPublisherDynamicTag()); |
| 3560 return o; | 3560 return o; |
| 3561 } | 3561 } |
| 3562 | 3562 |
| 3563 checkUnnamed1622(core.List<api.FloodlightActivityPublisherDynamicTag> o) { | 3563 checkUnnamed196(core.List<api.FloodlightActivityPublisherDynamicTag> o) { |
| 3564 unittest.expect(o, unittest.hasLength(2)); | 3564 unittest.expect(o, unittest.hasLength(2)); |
| 3565 checkFloodlightActivityPublisherDynamicTag(o[0]); | 3565 checkFloodlightActivityPublisherDynamicTag(o[0]); |
| 3566 checkFloodlightActivityPublisherDynamicTag(o[1]); | 3566 checkFloodlightActivityPublisherDynamicTag(o[1]); |
| 3567 } | 3567 } |
| 3568 | 3568 |
| 3569 buildUnnamed1623() { | 3569 buildUnnamed197() { |
| 3570 var o = new core.List<core.String>(); | 3570 var o = new core.List<core.String>(); |
| 3571 o.add("foo"); | 3571 o.add("foo"); |
| 3572 o.add("foo"); | 3572 o.add("foo"); |
| 3573 return o; | 3573 return o; |
| 3574 } | 3574 } |
| 3575 | 3575 |
| 3576 checkUnnamed1623(core.List<core.String> o) { | 3576 checkUnnamed197(core.List<core.String> o) { |
| 3577 unittest.expect(o, unittest.hasLength(2)); | 3577 unittest.expect(o, unittest.hasLength(2)); |
| 3578 unittest.expect(o[0], unittest.equals('foo')); | 3578 unittest.expect(o[0], unittest.equals('foo')); |
| 3579 unittest.expect(o[1], unittest.equals('foo')); | 3579 unittest.expect(o[1], unittest.equals('foo')); |
| 3580 } | 3580 } |
| 3581 | 3581 |
| 3582 core.int buildCounterFloodlightActivity = 0; | 3582 core.int buildCounterFloodlightActivity = 0; |
| 3583 buildFloodlightActivity() { | 3583 buildFloodlightActivity() { |
| 3584 var o = new api.FloodlightActivity(); | 3584 var o = new api.FloodlightActivity(); |
| 3585 buildCounterFloodlightActivity++; | 3585 buildCounterFloodlightActivity++; |
| 3586 if (buildCounterFloodlightActivity < 3) { | 3586 if (buildCounterFloodlightActivity < 3) { |
| 3587 o.accountId = "foo"; | 3587 o.accountId = "foo"; |
| 3588 o.advertiserId = "foo"; | 3588 o.advertiserId = "foo"; |
| 3589 o.advertiserIdDimensionValue = buildDimensionValue(); | 3589 o.advertiserIdDimensionValue = buildDimensionValue(); |
| 3590 o.cacheBustingType = "foo"; | 3590 o.cacheBustingType = "foo"; |
| 3591 o.countingMethod = "foo"; | 3591 o.countingMethod = "foo"; |
| 3592 o.defaultTags = buildUnnamed1621(); | 3592 o.defaultTags = buildUnnamed195(); |
| 3593 o.expectedUrl = "foo"; | 3593 o.expectedUrl = "foo"; |
| 3594 o.floodlightActivityGroupId = "foo"; | 3594 o.floodlightActivityGroupId = "foo"; |
| 3595 o.floodlightActivityGroupName = "foo"; | 3595 o.floodlightActivityGroupName = "foo"; |
| 3596 o.floodlightActivityGroupTagString = "foo"; | 3596 o.floodlightActivityGroupTagString = "foo"; |
| 3597 o.floodlightActivityGroupType = "foo"; | 3597 o.floodlightActivityGroupType = "foo"; |
| 3598 o.floodlightConfigurationId = "foo"; | 3598 o.floodlightConfigurationId = "foo"; |
| 3599 o.floodlightConfigurationIdDimensionValue = buildDimensionValue(); | 3599 o.floodlightConfigurationIdDimensionValue = buildDimensionValue(); |
| 3600 o.hidden = true; | 3600 o.hidden = true; |
| 3601 o.id = "foo"; | 3601 o.id = "foo"; |
| 3602 o.idDimensionValue = buildDimensionValue(); | 3602 o.idDimensionValue = buildDimensionValue(); |
| 3603 o.imageTagEnabled = true; | 3603 o.imageTagEnabled = true; |
| 3604 o.kind = "foo"; | 3604 o.kind = "foo"; |
| 3605 o.name = "foo"; | 3605 o.name = "foo"; |
| 3606 o.notes = "foo"; | 3606 o.notes = "foo"; |
| 3607 o.publisherTags = buildUnnamed1622(); | 3607 o.publisherTags = buildUnnamed196(); |
| 3608 o.secure = true; | 3608 o.secure = true; |
| 3609 o.sslCompliant = true; | 3609 o.sslCompliant = true; |
| 3610 o.sslRequired = true; | 3610 o.sslRequired = true; |
| 3611 o.subaccountId = "foo"; | 3611 o.subaccountId = "foo"; |
| 3612 o.tagFormat = "foo"; | 3612 o.tagFormat = "foo"; |
| 3613 o.tagString = "foo"; | 3613 o.tagString = "foo"; |
| 3614 o.userDefinedVariableTypes = buildUnnamed1623(); | 3614 o.userDefinedVariableTypes = buildUnnamed197(); |
| 3615 } | 3615 } |
| 3616 buildCounterFloodlightActivity--; | 3616 buildCounterFloodlightActivity--; |
| 3617 return o; | 3617 return o; |
| 3618 } | 3618 } |
| 3619 | 3619 |
| 3620 checkFloodlightActivity(api.FloodlightActivity o) { | 3620 checkFloodlightActivity(api.FloodlightActivity o) { |
| 3621 buildCounterFloodlightActivity++; | 3621 buildCounterFloodlightActivity++; |
| 3622 if (buildCounterFloodlightActivity < 3) { | 3622 if (buildCounterFloodlightActivity < 3) { |
| 3623 unittest.expect(o.accountId, unittest.equals('foo')); | 3623 unittest.expect(o.accountId, unittest.equals('foo')); |
| 3624 unittest.expect(o.advertiserId, unittest.equals('foo')); | 3624 unittest.expect(o.advertiserId, unittest.equals('foo')); |
| 3625 checkDimensionValue(o.advertiserIdDimensionValue); | 3625 checkDimensionValue(o.advertiserIdDimensionValue); |
| 3626 unittest.expect(o.cacheBustingType, unittest.equals('foo')); | 3626 unittest.expect(o.cacheBustingType, unittest.equals('foo')); |
| 3627 unittest.expect(o.countingMethod, unittest.equals('foo')); | 3627 unittest.expect(o.countingMethod, unittest.equals('foo')); |
| 3628 checkUnnamed1621(o.defaultTags); | 3628 checkUnnamed195(o.defaultTags); |
| 3629 unittest.expect(o.expectedUrl, unittest.equals('foo')); | 3629 unittest.expect(o.expectedUrl, unittest.equals('foo')); |
| 3630 unittest.expect(o.floodlightActivityGroupId, unittest.equals('foo')); | 3630 unittest.expect(o.floodlightActivityGroupId, unittest.equals('foo')); |
| 3631 unittest.expect(o.floodlightActivityGroupName, unittest.equals('foo')); | 3631 unittest.expect(o.floodlightActivityGroupName, unittest.equals('foo')); |
| 3632 unittest.expect(o.floodlightActivityGroupTagString, unittest.equals('foo')); | 3632 unittest.expect(o.floodlightActivityGroupTagString, unittest.equals('foo')); |
| 3633 unittest.expect(o.floodlightActivityGroupType, unittest.equals('foo')); | 3633 unittest.expect(o.floodlightActivityGroupType, unittest.equals('foo')); |
| 3634 unittest.expect(o.floodlightConfigurationId, unittest.equals('foo')); | 3634 unittest.expect(o.floodlightConfigurationId, unittest.equals('foo')); |
| 3635 checkDimensionValue(o.floodlightConfigurationIdDimensionValue); | 3635 checkDimensionValue(o.floodlightConfigurationIdDimensionValue); |
| 3636 unittest.expect(o.hidden, unittest.isTrue); | 3636 unittest.expect(o.hidden, unittest.isTrue); |
| 3637 unittest.expect(o.id, unittest.equals('foo')); | 3637 unittest.expect(o.id, unittest.equals('foo')); |
| 3638 checkDimensionValue(o.idDimensionValue); | 3638 checkDimensionValue(o.idDimensionValue); |
| 3639 unittest.expect(o.imageTagEnabled, unittest.isTrue); | 3639 unittest.expect(o.imageTagEnabled, unittest.isTrue); |
| 3640 unittest.expect(o.kind, unittest.equals('foo')); | 3640 unittest.expect(o.kind, unittest.equals('foo')); |
| 3641 unittest.expect(o.name, unittest.equals('foo')); | 3641 unittest.expect(o.name, unittest.equals('foo')); |
| 3642 unittest.expect(o.notes, unittest.equals('foo')); | 3642 unittest.expect(o.notes, unittest.equals('foo')); |
| 3643 checkUnnamed1622(o.publisherTags); | 3643 checkUnnamed196(o.publisherTags); |
| 3644 unittest.expect(o.secure, unittest.isTrue); | 3644 unittest.expect(o.secure, unittest.isTrue); |
| 3645 unittest.expect(o.sslCompliant, unittest.isTrue); | 3645 unittest.expect(o.sslCompliant, unittest.isTrue); |
| 3646 unittest.expect(o.sslRequired, unittest.isTrue); | 3646 unittest.expect(o.sslRequired, unittest.isTrue); |
| 3647 unittest.expect(o.subaccountId, unittest.equals('foo')); | 3647 unittest.expect(o.subaccountId, unittest.equals('foo')); |
| 3648 unittest.expect(o.tagFormat, unittest.equals('foo')); | 3648 unittest.expect(o.tagFormat, unittest.equals('foo')); |
| 3649 unittest.expect(o.tagString, unittest.equals('foo')); | 3649 unittest.expect(o.tagString, unittest.equals('foo')); |
| 3650 checkUnnamed1623(o.userDefinedVariableTypes); | 3650 checkUnnamed197(o.userDefinedVariableTypes); |
| 3651 } | 3651 } |
| 3652 buildCounterFloodlightActivity--; | 3652 buildCounterFloodlightActivity--; |
| 3653 } | 3653 } |
| 3654 | 3654 |
| 3655 core.int buildCounterFloodlightActivityDynamicTag = 0; | 3655 core.int buildCounterFloodlightActivityDynamicTag = 0; |
| 3656 buildFloodlightActivityDynamicTag() { | 3656 buildFloodlightActivityDynamicTag() { |
| 3657 var o = new api.FloodlightActivityDynamicTag(); | 3657 var o = new api.FloodlightActivityDynamicTag(); |
| 3658 buildCounterFloodlightActivityDynamicTag++; | 3658 buildCounterFloodlightActivityDynamicTag++; |
| 3659 if (buildCounterFloodlightActivityDynamicTag < 3) { | 3659 if (buildCounterFloodlightActivityDynamicTag < 3) { |
| 3660 o.id = "foo"; | 3660 o.id = "foo"; |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3709 checkDimensionValue(o.idDimensionValue); | 3709 checkDimensionValue(o.idDimensionValue); |
| 3710 unittest.expect(o.kind, unittest.equals('foo')); | 3710 unittest.expect(o.kind, unittest.equals('foo')); |
| 3711 unittest.expect(o.name, unittest.equals('foo')); | 3711 unittest.expect(o.name, unittest.equals('foo')); |
| 3712 unittest.expect(o.subaccountId, unittest.equals('foo')); | 3712 unittest.expect(o.subaccountId, unittest.equals('foo')); |
| 3713 unittest.expect(o.tagString, unittest.equals('foo')); | 3713 unittest.expect(o.tagString, unittest.equals('foo')); |
| 3714 unittest.expect(o.type, unittest.equals('foo')); | 3714 unittest.expect(o.type, unittest.equals('foo')); |
| 3715 } | 3715 } |
| 3716 buildCounterFloodlightActivityGroup--; | 3716 buildCounterFloodlightActivityGroup--; |
| 3717 } | 3717 } |
| 3718 | 3718 |
| 3719 buildUnnamed1624() { | 3719 buildUnnamed198() { |
| 3720 var o = new core.List<api.FloodlightActivityGroup>(); | 3720 var o = new core.List<api.FloodlightActivityGroup>(); |
| 3721 o.add(buildFloodlightActivityGroup()); | 3721 o.add(buildFloodlightActivityGroup()); |
| 3722 o.add(buildFloodlightActivityGroup()); | 3722 o.add(buildFloodlightActivityGroup()); |
| 3723 return o; | 3723 return o; |
| 3724 } | 3724 } |
| 3725 | 3725 |
| 3726 checkUnnamed1624(core.List<api.FloodlightActivityGroup> o) { | 3726 checkUnnamed198(core.List<api.FloodlightActivityGroup> o) { |
| 3727 unittest.expect(o, unittest.hasLength(2)); | 3727 unittest.expect(o, unittest.hasLength(2)); |
| 3728 checkFloodlightActivityGroup(o[0]); | 3728 checkFloodlightActivityGroup(o[0]); |
| 3729 checkFloodlightActivityGroup(o[1]); | 3729 checkFloodlightActivityGroup(o[1]); |
| 3730 } | 3730 } |
| 3731 | 3731 |
| 3732 core.int buildCounterFloodlightActivityGroupsListResponse = 0; | 3732 core.int buildCounterFloodlightActivityGroupsListResponse = 0; |
| 3733 buildFloodlightActivityGroupsListResponse() { | 3733 buildFloodlightActivityGroupsListResponse() { |
| 3734 var o = new api.FloodlightActivityGroupsListResponse(); | 3734 var o = new api.FloodlightActivityGroupsListResponse(); |
| 3735 buildCounterFloodlightActivityGroupsListResponse++; | 3735 buildCounterFloodlightActivityGroupsListResponse++; |
| 3736 if (buildCounterFloodlightActivityGroupsListResponse < 3) { | 3736 if (buildCounterFloodlightActivityGroupsListResponse < 3) { |
| 3737 o.floodlightActivityGroups = buildUnnamed1624(); | 3737 o.floodlightActivityGroups = buildUnnamed198(); |
| 3738 o.kind = "foo"; | 3738 o.kind = "foo"; |
| 3739 o.nextPageToken = "foo"; | 3739 o.nextPageToken = "foo"; |
| 3740 } | 3740 } |
| 3741 buildCounterFloodlightActivityGroupsListResponse--; | 3741 buildCounterFloodlightActivityGroupsListResponse--; |
| 3742 return o; | 3742 return o; |
| 3743 } | 3743 } |
| 3744 | 3744 |
| 3745 checkFloodlightActivityGroupsListResponse(api.FloodlightActivityGroupsListRespon
se o) { | 3745 checkFloodlightActivityGroupsListResponse(api.FloodlightActivityGroupsListRespon
se o) { |
| 3746 buildCounterFloodlightActivityGroupsListResponse++; | 3746 buildCounterFloodlightActivityGroupsListResponse++; |
| 3747 if (buildCounterFloodlightActivityGroupsListResponse < 3) { | 3747 if (buildCounterFloodlightActivityGroupsListResponse < 3) { |
| 3748 checkUnnamed1624(o.floodlightActivityGroups); | 3748 checkUnnamed198(o.floodlightActivityGroups); |
| 3749 unittest.expect(o.kind, unittest.equals('foo')); | 3749 unittest.expect(o.kind, unittest.equals('foo')); |
| 3750 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 3750 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 3751 } | 3751 } |
| 3752 buildCounterFloodlightActivityGroupsListResponse--; | 3752 buildCounterFloodlightActivityGroupsListResponse--; |
| 3753 } | 3753 } |
| 3754 | 3754 |
| 3755 core.int buildCounterFloodlightActivityPublisherDynamicTag = 0; | 3755 core.int buildCounterFloodlightActivityPublisherDynamicTag = 0; |
| 3756 buildFloodlightActivityPublisherDynamicTag() { | 3756 buildFloodlightActivityPublisherDynamicTag() { |
| 3757 var o = new api.FloodlightActivityPublisherDynamicTag(); | 3757 var o = new api.FloodlightActivityPublisherDynamicTag(); |
| 3758 buildCounterFloodlightActivityPublisherDynamicTag++; | 3758 buildCounterFloodlightActivityPublisherDynamicTag++; |
| (...skipping 15 matching lines...) Expand all Loading... |
| 3774 unittest.expect(o.clickThrough, unittest.isTrue); | 3774 unittest.expect(o.clickThrough, unittest.isTrue); |
| 3775 unittest.expect(o.directorySiteId, unittest.equals('foo')); | 3775 unittest.expect(o.directorySiteId, unittest.equals('foo')); |
| 3776 checkFloodlightActivityDynamicTag(o.dynamicTag); | 3776 checkFloodlightActivityDynamicTag(o.dynamicTag); |
| 3777 unittest.expect(o.siteId, unittest.equals('foo')); | 3777 unittest.expect(o.siteId, unittest.equals('foo')); |
| 3778 checkDimensionValue(o.siteIdDimensionValue); | 3778 checkDimensionValue(o.siteIdDimensionValue); |
| 3779 unittest.expect(o.viewThrough, unittest.isTrue); | 3779 unittest.expect(o.viewThrough, unittest.isTrue); |
| 3780 } | 3780 } |
| 3781 buildCounterFloodlightActivityPublisherDynamicTag--; | 3781 buildCounterFloodlightActivityPublisherDynamicTag--; |
| 3782 } | 3782 } |
| 3783 | 3783 |
| 3784 buildUnnamed1625() { | 3784 buildUnnamed199() { |
| 3785 var o = new core.List<core.String>(); | 3785 var o = new core.List<core.String>(); |
| 3786 o.add("foo"); | 3786 o.add("foo"); |
| 3787 o.add("foo"); | 3787 o.add("foo"); |
| 3788 return o; | 3788 return o; |
| 3789 } | 3789 } |
| 3790 | 3790 |
| 3791 checkUnnamed1625(core.List<core.String> o) { | 3791 checkUnnamed199(core.List<core.String> o) { |
| 3792 unittest.expect(o, unittest.hasLength(2)); | 3792 unittest.expect(o, unittest.hasLength(2)); |
| 3793 unittest.expect(o[0], unittest.equals('foo')); | 3793 unittest.expect(o[0], unittest.equals('foo')); |
| 3794 unittest.expect(o[1], unittest.equals('foo')); | 3794 unittest.expect(o[1], unittest.equals('foo')); |
| 3795 } | 3795 } |
| 3796 | 3796 |
| 3797 buildUnnamed1626() { | 3797 buildUnnamed200() { |
| 3798 var o = new core.List<api.ThirdPartyAuthenticationToken>(); | 3798 var o = new core.List<api.ThirdPartyAuthenticationToken>(); |
| 3799 o.add(buildThirdPartyAuthenticationToken()); | 3799 o.add(buildThirdPartyAuthenticationToken()); |
| 3800 o.add(buildThirdPartyAuthenticationToken()); | 3800 o.add(buildThirdPartyAuthenticationToken()); |
| 3801 return o; | 3801 return o; |
| 3802 } | 3802 } |
| 3803 | 3803 |
| 3804 checkUnnamed1626(core.List<api.ThirdPartyAuthenticationToken> o) { | 3804 checkUnnamed200(core.List<api.ThirdPartyAuthenticationToken> o) { |
| 3805 unittest.expect(o, unittest.hasLength(2)); | 3805 unittest.expect(o, unittest.hasLength(2)); |
| 3806 checkThirdPartyAuthenticationToken(o[0]); | 3806 checkThirdPartyAuthenticationToken(o[0]); |
| 3807 checkThirdPartyAuthenticationToken(o[1]); | 3807 checkThirdPartyAuthenticationToken(o[1]); |
| 3808 } | 3808 } |
| 3809 | 3809 |
| 3810 buildUnnamed1627() { | 3810 buildUnnamed201() { |
| 3811 var o = new core.List<api.UserDefinedVariableConfiguration>(); | 3811 var o = new core.List<api.UserDefinedVariableConfiguration>(); |
| 3812 o.add(buildUserDefinedVariableConfiguration()); | 3812 o.add(buildUserDefinedVariableConfiguration()); |
| 3813 o.add(buildUserDefinedVariableConfiguration()); | 3813 o.add(buildUserDefinedVariableConfiguration()); |
| 3814 return o; | 3814 return o; |
| 3815 } | 3815 } |
| 3816 | 3816 |
| 3817 checkUnnamed1627(core.List<api.UserDefinedVariableConfiguration> o) { | 3817 checkUnnamed201(core.List<api.UserDefinedVariableConfiguration> o) { |
| 3818 unittest.expect(o, unittest.hasLength(2)); | 3818 unittest.expect(o, unittest.hasLength(2)); |
| 3819 checkUserDefinedVariableConfiguration(o[0]); | 3819 checkUserDefinedVariableConfiguration(o[0]); |
| 3820 checkUserDefinedVariableConfiguration(o[1]); | 3820 checkUserDefinedVariableConfiguration(o[1]); |
| 3821 } | 3821 } |
| 3822 | 3822 |
| 3823 core.int buildCounterFloodlightConfiguration = 0; | 3823 core.int buildCounterFloodlightConfiguration = 0; |
| 3824 buildFloodlightConfiguration() { | 3824 buildFloodlightConfiguration() { |
| 3825 var o = new api.FloodlightConfiguration(); | 3825 var o = new api.FloodlightConfiguration(); |
| 3826 buildCounterFloodlightConfiguration++; | 3826 buildCounterFloodlightConfiguration++; |
| 3827 if (buildCounterFloodlightConfiguration < 3) { | 3827 if (buildCounterFloodlightConfiguration < 3) { |
| 3828 o.accountId = "foo"; | 3828 o.accountId = "foo"; |
| 3829 o.advertiserId = "foo"; | 3829 o.advertiserId = "foo"; |
| 3830 o.advertiserIdDimensionValue = buildDimensionValue(); | 3830 o.advertiserIdDimensionValue = buildDimensionValue(); |
| 3831 o.analyticsDataSharingEnabled = true; | 3831 o.analyticsDataSharingEnabled = true; |
| 3832 o.exposureToConversionEnabled = true; | 3832 o.exposureToConversionEnabled = true; |
| 3833 o.firstDayOfWeek = "foo"; | 3833 o.firstDayOfWeek = "foo"; |
| 3834 o.id = "foo"; | 3834 o.id = "foo"; |
| 3835 o.idDimensionValue = buildDimensionValue(); | 3835 o.idDimensionValue = buildDimensionValue(); |
| 3836 o.inAppAttributionTrackingEnabled = true; | 3836 o.inAppAttributionTrackingEnabled = true; |
| 3837 o.kind = "foo"; | 3837 o.kind = "foo"; |
| 3838 o.lookbackConfiguration = buildLookbackConfiguration(); | 3838 o.lookbackConfiguration = buildLookbackConfiguration(); |
| 3839 o.naturalSearchConversionAttributionOption = "foo"; | 3839 o.naturalSearchConversionAttributionOption = "foo"; |
| 3840 o.omnitureSettings = buildOmnitureSettings(); | 3840 o.omnitureSettings = buildOmnitureSettings(); |
| 3841 o.standardVariableTypes = buildUnnamed1625(); | 3841 o.standardVariableTypes = buildUnnamed199(); |
| 3842 o.subaccountId = "foo"; | 3842 o.subaccountId = "foo"; |
| 3843 o.tagSettings = buildTagSettings(); | 3843 o.tagSettings = buildTagSettings(); |
| 3844 o.thirdPartyAuthenticationTokens = buildUnnamed1626(); | 3844 o.thirdPartyAuthenticationTokens = buildUnnamed200(); |
| 3845 o.userDefinedVariableConfigurations = buildUnnamed1627(); | 3845 o.userDefinedVariableConfigurations = buildUnnamed201(); |
| 3846 } | 3846 } |
| 3847 buildCounterFloodlightConfiguration--; | 3847 buildCounterFloodlightConfiguration--; |
| 3848 return o; | 3848 return o; |
| 3849 } | 3849 } |
| 3850 | 3850 |
| 3851 checkFloodlightConfiguration(api.FloodlightConfiguration o) { | 3851 checkFloodlightConfiguration(api.FloodlightConfiguration o) { |
| 3852 buildCounterFloodlightConfiguration++; | 3852 buildCounterFloodlightConfiguration++; |
| 3853 if (buildCounterFloodlightConfiguration < 3) { | 3853 if (buildCounterFloodlightConfiguration < 3) { |
| 3854 unittest.expect(o.accountId, unittest.equals('foo')); | 3854 unittest.expect(o.accountId, unittest.equals('foo')); |
| 3855 unittest.expect(o.advertiserId, unittest.equals('foo')); | 3855 unittest.expect(o.advertiserId, unittest.equals('foo')); |
| 3856 checkDimensionValue(o.advertiserIdDimensionValue); | 3856 checkDimensionValue(o.advertiserIdDimensionValue); |
| 3857 unittest.expect(o.analyticsDataSharingEnabled, unittest.isTrue); | 3857 unittest.expect(o.analyticsDataSharingEnabled, unittest.isTrue); |
| 3858 unittest.expect(o.exposureToConversionEnabled, unittest.isTrue); | 3858 unittest.expect(o.exposureToConversionEnabled, unittest.isTrue); |
| 3859 unittest.expect(o.firstDayOfWeek, unittest.equals('foo')); | 3859 unittest.expect(o.firstDayOfWeek, unittest.equals('foo')); |
| 3860 unittest.expect(o.id, unittest.equals('foo')); | 3860 unittest.expect(o.id, unittest.equals('foo')); |
| 3861 checkDimensionValue(o.idDimensionValue); | 3861 checkDimensionValue(o.idDimensionValue); |
| 3862 unittest.expect(o.inAppAttributionTrackingEnabled, unittest.isTrue); | 3862 unittest.expect(o.inAppAttributionTrackingEnabled, unittest.isTrue); |
| 3863 unittest.expect(o.kind, unittest.equals('foo')); | 3863 unittest.expect(o.kind, unittest.equals('foo')); |
| 3864 checkLookbackConfiguration(o.lookbackConfiguration); | 3864 checkLookbackConfiguration(o.lookbackConfiguration); |
| 3865 unittest.expect(o.naturalSearchConversionAttributionOption, unittest.equals(
'foo')); | 3865 unittest.expect(o.naturalSearchConversionAttributionOption, unittest.equals(
'foo')); |
| 3866 checkOmnitureSettings(o.omnitureSettings); | 3866 checkOmnitureSettings(o.omnitureSettings); |
| 3867 checkUnnamed1625(o.standardVariableTypes); | 3867 checkUnnamed199(o.standardVariableTypes); |
| 3868 unittest.expect(o.subaccountId, unittest.equals('foo')); | 3868 unittest.expect(o.subaccountId, unittest.equals('foo')); |
| 3869 checkTagSettings(o.tagSettings); | 3869 checkTagSettings(o.tagSettings); |
| 3870 checkUnnamed1626(o.thirdPartyAuthenticationTokens); | 3870 checkUnnamed200(o.thirdPartyAuthenticationTokens); |
| 3871 checkUnnamed1627(o.userDefinedVariableConfigurations); | 3871 checkUnnamed201(o.userDefinedVariableConfigurations); |
| 3872 } | 3872 } |
| 3873 buildCounterFloodlightConfiguration--; | 3873 buildCounterFloodlightConfiguration--; |
| 3874 } | 3874 } |
| 3875 | 3875 |
| 3876 buildUnnamed1628() { | 3876 buildUnnamed202() { |
| 3877 var o = new core.List<api.FloodlightConfiguration>(); | 3877 var o = new core.List<api.FloodlightConfiguration>(); |
| 3878 o.add(buildFloodlightConfiguration()); | 3878 o.add(buildFloodlightConfiguration()); |
| 3879 o.add(buildFloodlightConfiguration()); | 3879 o.add(buildFloodlightConfiguration()); |
| 3880 return o; | 3880 return o; |
| 3881 } | 3881 } |
| 3882 | 3882 |
| 3883 checkUnnamed1628(core.List<api.FloodlightConfiguration> o) { | 3883 checkUnnamed202(core.List<api.FloodlightConfiguration> o) { |
| 3884 unittest.expect(o, unittest.hasLength(2)); | 3884 unittest.expect(o, unittest.hasLength(2)); |
| 3885 checkFloodlightConfiguration(o[0]); | 3885 checkFloodlightConfiguration(o[0]); |
| 3886 checkFloodlightConfiguration(o[1]); | 3886 checkFloodlightConfiguration(o[1]); |
| 3887 } | 3887 } |
| 3888 | 3888 |
| 3889 core.int buildCounterFloodlightConfigurationsListResponse = 0; | 3889 core.int buildCounterFloodlightConfigurationsListResponse = 0; |
| 3890 buildFloodlightConfigurationsListResponse() { | 3890 buildFloodlightConfigurationsListResponse() { |
| 3891 var o = new api.FloodlightConfigurationsListResponse(); | 3891 var o = new api.FloodlightConfigurationsListResponse(); |
| 3892 buildCounterFloodlightConfigurationsListResponse++; | 3892 buildCounterFloodlightConfigurationsListResponse++; |
| 3893 if (buildCounterFloodlightConfigurationsListResponse < 3) { | 3893 if (buildCounterFloodlightConfigurationsListResponse < 3) { |
| 3894 o.floodlightConfigurations = buildUnnamed1628(); | 3894 o.floodlightConfigurations = buildUnnamed202(); |
| 3895 o.kind = "foo"; | 3895 o.kind = "foo"; |
| 3896 } | 3896 } |
| 3897 buildCounterFloodlightConfigurationsListResponse--; | 3897 buildCounterFloodlightConfigurationsListResponse--; |
| 3898 return o; | 3898 return o; |
| 3899 } | 3899 } |
| 3900 | 3900 |
| 3901 checkFloodlightConfigurationsListResponse(api.FloodlightConfigurationsListRespon
se o) { | 3901 checkFloodlightConfigurationsListResponse(api.FloodlightConfigurationsListRespon
se o) { |
| 3902 buildCounterFloodlightConfigurationsListResponse++; | 3902 buildCounterFloodlightConfigurationsListResponse++; |
| 3903 if (buildCounterFloodlightConfigurationsListResponse < 3) { | 3903 if (buildCounterFloodlightConfigurationsListResponse < 3) { |
| 3904 checkUnnamed1628(o.floodlightConfigurations); | 3904 checkUnnamed202(o.floodlightConfigurations); |
| 3905 unittest.expect(o.kind, unittest.equals('foo')); | 3905 unittest.expect(o.kind, unittest.equals('foo')); |
| 3906 } | 3906 } |
| 3907 buildCounterFloodlightConfigurationsListResponse--; | 3907 buildCounterFloodlightConfigurationsListResponse--; |
| 3908 } | 3908 } |
| 3909 | 3909 |
| 3910 buildUnnamed1629() { | 3910 buildUnnamed203() { |
| 3911 var o = new core.List<api.Dimension>(); | 3911 var o = new core.List<api.Dimension>(); |
| 3912 o.add(buildDimension()); | 3912 o.add(buildDimension()); |
| 3913 o.add(buildDimension()); | 3913 o.add(buildDimension()); |
| 3914 return o; | 3914 return o; |
| 3915 } | 3915 } |
| 3916 | 3916 |
| 3917 checkUnnamed1629(core.List<api.Dimension> o) { | 3917 checkUnnamed203(core.List<api.Dimension> o) { |
| 3918 unittest.expect(o, unittest.hasLength(2)); | 3918 unittest.expect(o, unittest.hasLength(2)); |
| 3919 checkDimension(o[0]); | 3919 checkDimension(o[0]); |
| 3920 checkDimension(o[1]); | 3920 checkDimension(o[1]); |
| 3921 } | 3921 } |
| 3922 | 3922 |
| 3923 buildUnnamed1630() { | 3923 buildUnnamed204() { |
| 3924 var o = new core.List<api.Dimension>(); | 3924 var o = new core.List<api.Dimension>(); |
| 3925 o.add(buildDimension()); | 3925 o.add(buildDimension()); |
| 3926 o.add(buildDimension()); | 3926 o.add(buildDimension()); |
| 3927 return o; | 3927 return o; |
| 3928 } | 3928 } |
| 3929 | 3929 |
| 3930 checkUnnamed1630(core.List<api.Dimension> o) { | 3930 checkUnnamed204(core.List<api.Dimension> o) { |
| 3931 unittest.expect(o, unittest.hasLength(2)); | 3931 unittest.expect(o, unittest.hasLength(2)); |
| 3932 checkDimension(o[0]); | 3932 checkDimension(o[0]); |
| 3933 checkDimension(o[1]); | 3933 checkDimension(o[1]); |
| 3934 } | 3934 } |
| 3935 | 3935 |
| 3936 buildUnnamed1631() { | 3936 buildUnnamed205() { |
| 3937 var o = new core.List<api.Metric>(); | 3937 var o = new core.List<api.Metric>(); |
| 3938 o.add(buildMetric()); | 3938 o.add(buildMetric()); |
| 3939 o.add(buildMetric()); | 3939 o.add(buildMetric()); |
| 3940 return o; | 3940 return o; |
| 3941 } | 3941 } |
| 3942 | 3942 |
| 3943 checkUnnamed1631(core.List<api.Metric> o) { | 3943 checkUnnamed205(core.List<api.Metric> o) { |
| 3944 unittest.expect(o, unittest.hasLength(2)); | 3944 unittest.expect(o, unittest.hasLength(2)); |
| 3945 checkMetric(o[0]); | 3945 checkMetric(o[0]); |
| 3946 checkMetric(o[1]); | 3946 checkMetric(o[1]); |
| 3947 } | 3947 } |
| 3948 | 3948 |
| 3949 core.int buildCounterFloodlightReportCompatibleFields = 0; | 3949 core.int buildCounterFloodlightReportCompatibleFields = 0; |
| 3950 buildFloodlightReportCompatibleFields() { | 3950 buildFloodlightReportCompatibleFields() { |
| 3951 var o = new api.FloodlightReportCompatibleFields(); | 3951 var o = new api.FloodlightReportCompatibleFields(); |
| 3952 buildCounterFloodlightReportCompatibleFields++; | 3952 buildCounterFloodlightReportCompatibleFields++; |
| 3953 if (buildCounterFloodlightReportCompatibleFields < 3) { | 3953 if (buildCounterFloodlightReportCompatibleFields < 3) { |
| 3954 o.dimensionFilters = buildUnnamed1629(); | 3954 o.dimensionFilters = buildUnnamed203(); |
| 3955 o.dimensions = buildUnnamed1630(); | 3955 o.dimensions = buildUnnamed204(); |
| 3956 o.kind = "foo"; | 3956 o.kind = "foo"; |
| 3957 o.metrics = buildUnnamed1631(); | 3957 o.metrics = buildUnnamed205(); |
| 3958 } | 3958 } |
| 3959 buildCounterFloodlightReportCompatibleFields--; | 3959 buildCounterFloodlightReportCompatibleFields--; |
| 3960 return o; | 3960 return o; |
| 3961 } | 3961 } |
| 3962 | 3962 |
| 3963 checkFloodlightReportCompatibleFields(api.FloodlightReportCompatibleFields o) { | 3963 checkFloodlightReportCompatibleFields(api.FloodlightReportCompatibleFields o) { |
| 3964 buildCounterFloodlightReportCompatibleFields++; | 3964 buildCounterFloodlightReportCompatibleFields++; |
| 3965 if (buildCounterFloodlightReportCompatibleFields < 3) { | 3965 if (buildCounterFloodlightReportCompatibleFields < 3) { |
| 3966 checkUnnamed1629(o.dimensionFilters); | 3966 checkUnnamed203(o.dimensionFilters); |
| 3967 checkUnnamed1630(o.dimensions); | 3967 checkUnnamed204(o.dimensions); |
| 3968 unittest.expect(o.kind, unittest.equals('foo')); | 3968 unittest.expect(o.kind, unittest.equals('foo')); |
| 3969 checkUnnamed1631(o.metrics); | 3969 checkUnnamed205(o.metrics); |
| 3970 } | 3970 } |
| 3971 buildCounterFloodlightReportCompatibleFields--; | 3971 buildCounterFloodlightReportCompatibleFields--; |
| 3972 } | 3972 } |
| 3973 | 3973 |
| 3974 core.int buildCounterFrequencyCap = 0; | 3974 core.int buildCounterFrequencyCap = 0; |
| 3975 buildFrequencyCap() { | 3975 buildFrequencyCap() { |
| 3976 var o = new api.FrequencyCap(); | 3976 var o = new api.FrequencyCap(); |
| 3977 buildCounterFrequencyCap++; | 3977 buildCounterFrequencyCap++; |
| 3978 if (buildCounterFrequencyCap < 3) { | 3978 if (buildCounterFrequencyCap < 3) { |
| 3979 o.duration = "foo"; | 3979 o.duration = "foo"; |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4012 if (buildCounterFsCommand < 3) { | 4012 if (buildCounterFsCommand < 3) { |
| 4013 unittest.expect(o.left, unittest.equals(42)); | 4013 unittest.expect(o.left, unittest.equals(42)); |
| 4014 unittest.expect(o.positionOption, unittest.equals('foo')); | 4014 unittest.expect(o.positionOption, unittest.equals('foo')); |
| 4015 unittest.expect(o.top, unittest.equals(42)); | 4015 unittest.expect(o.top, unittest.equals(42)); |
| 4016 unittest.expect(o.windowHeight, unittest.equals(42)); | 4016 unittest.expect(o.windowHeight, unittest.equals(42)); |
| 4017 unittest.expect(o.windowWidth, unittest.equals(42)); | 4017 unittest.expect(o.windowWidth, unittest.equals(42)); |
| 4018 } | 4018 } |
| 4019 buildCounterFsCommand--; | 4019 buildCounterFsCommand--; |
| 4020 } | 4020 } |
| 4021 | 4021 |
| 4022 buildUnnamed1632() { | 4022 buildUnnamed206() { |
| 4023 var o = new core.List<api.City>(); | 4023 var o = new core.List<api.City>(); |
| 4024 o.add(buildCity()); | 4024 o.add(buildCity()); |
| 4025 o.add(buildCity()); | 4025 o.add(buildCity()); |
| 4026 return o; | 4026 return o; |
| 4027 } | 4027 } |
| 4028 | 4028 |
| 4029 checkUnnamed1632(core.List<api.City> o) { | 4029 checkUnnamed206(core.List<api.City> o) { |
| 4030 unittest.expect(o, unittest.hasLength(2)); | 4030 unittest.expect(o, unittest.hasLength(2)); |
| 4031 checkCity(o[0]); | 4031 checkCity(o[0]); |
| 4032 checkCity(o[1]); | 4032 checkCity(o[1]); |
| 4033 } | 4033 } |
| 4034 | 4034 |
| 4035 buildUnnamed1633() { | 4035 buildUnnamed207() { |
| 4036 var o = new core.List<api.Country>(); | 4036 var o = new core.List<api.Country>(); |
| 4037 o.add(buildCountry()); | 4037 o.add(buildCountry()); |
| 4038 o.add(buildCountry()); | 4038 o.add(buildCountry()); |
| 4039 return o; | 4039 return o; |
| 4040 } | 4040 } |
| 4041 | 4041 |
| 4042 checkUnnamed1633(core.List<api.Country> o) { | 4042 checkUnnamed207(core.List<api.Country> o) { |
| 4043 unittest.expect(o, unittest.hasLength(2)); | 4043 unittest.expect(o, unittest.hasLength(2)); |
| 4044 checkCountry(o[0]); | 4044 checkCountry(o[0]); |
| 4045 checkCountry(o[1]); | 4045 checkCountry(o[1]); |
| 4046 } | 4046 } |
| 4047 | 4047 |
| 4048 buildUnnamed1634() { | 4048 buildUnnamed208() { |
| 4049 var o = new core.List<api.Metro>(); | 4049 var o = new core.List<api.Metro>(); |
| 4050 o.add(buildMetro()); | 4050 o.add(buildMetro()); |
| 4051 o.add(buildMetro()); | 4051 o.add(buildMetro()); |
| 4052 return o; | 4052 return o; |
| 4053 } | 4053 } |
| 4054 | 4054 |
| 4055 checkUnnamed1634(core.List<api.Metro> o) { | 4055 checkUnnamed208(core.List<api.Metro> o) { |
| 4056 unittest.expect(o, unittest.hasLength(2)); | 4056 unittest.expect(o, unittest.hasLength(2)); |
| 4057 checkMetro(o[0]); | 4057 checkMetro(o[0]); |
| 4058 checkMetro(o[1]); | 4058 checkMetro(o[1]); |
| 4059 } | 4059 } |
| 4060 | 4060 |
| 4061 buildUnnamed1635() { | 4061 buildUnnamed209() { |
| 4062 var o = new core.List<api.PostalCode>(); | 4062 var o = new core.List<api.PostalCode>(); |
| 4063 o.add(buildPostalCode()); | 4063 o.add(buildPostalCode()); |
| 4064 o.add(buildPostalCode()); | 4064 o.add(buildPostalCode()); |
| 4065 return o; | 4065 return o; |
| 4066 } | 4066 } |
| 4067 | 4067 |
| 4068 checkUnnamed1635(core.List<api.PostalCode> o) { | 4068 checkUnnamed209(core.List<api.PostalCode> o) { |
| 4069 unittest.expect(o, unittest.hasLength(2)); | 4069 unittest.expect(o, unittest.hasLength(2)); |
| 4070 checkPostalCode(o[0]); | 4070 checkPostalCode(o[0]); |
| 4071 checkPostalCode(o[1]); | 4071 checkPostalCode(o[1]); |
| 4072 } | 4072 } |
| 4073 | 4073 |
| 4074 buildUnnamed1636() { | 4074 buildUnnamed210() { |
| 4075 var o = new core.List<api.Region>(); | 4075 var o = new core.List<api.Region>(); |
| 4076 o.add(buildRegion()); | 4076 o.add(buildRegion()); |
| 4077 o.add(buildRegion()); | 4077 o.add(buildRegion()); |
| 4078 return o; | 4078 return o; |
| 4079 } | 4079 } |
| 4080 | 4080 |
| 4081 checkUnnamed1636(core.List<api.Region> o) { | 4081 checkUnnamed210(core.List<api.Region> o) { |
| 4082 unittest.expect(o, unittest.hasLength(2)); | 4082 unittest.expect(o, unittest.hasLength(2)); |
| 4083 checkRegion(o[0]); | 4083 checkRegion(o[0]); |
| 4084 checkRegion(o[1]); | 4084 checkRegion(o[1]); |
| 4085 } | 4085 } |
| 4086 | 4086 |
| 4087 core.int buildCounterGeoTargeting = 0; | 4087 core.int buildCounterGeoTargeting = 0; |
| 4088 buildGeoTargeting() { | 4088 buildGeoTargeting() { |
| 4089 var o = new api.GeoTargeting(); | 4089 var o = new api.GeoTargeting(); |
| 4090 buildCounterGeoTargeting++; | 4090 buildCounterGeoTargeting++; |
| 4091 if (buildCounterGeoTargeting < 3) { | 4091 if (buildCounterGeoTargeting < 3) { |
| 4092 o.cities = buildUnnamed1632(); | 4092 o.cities = buildUnnamed206(); |
| 4093 o.countries = buildUnnamed1633(); | 4093 o.countries = buildUnnamed207(); |
| 4094 o.excludeCountries = true; | 4094 o.excludeCountries = true; |
| 4095 o.metros = buildUnnamed1634(); | 4095 o.metros = buildUnnamed208(); |
| 4096 o.postalCodes = buildUnnamed1635(); | 4096 o.postalCodes = buildUnnamed209(); |
| 4097 o.regions = buildUnnamed1636(); | 4097 o.regions = buildUnnamed210(); |
| 4098 } | 4098 } |
| 4099 buildCounterGeoTargeting--; | 4099 buildCounterGeoTargeting--; |
| 4100 return o; | 4100 return o; |
| 4101 } | 4101 } |
| 4102 | 4102 |
| 4103 checkGeoTargeting(api.GeoTargeting o) { | 4103 checkGeoTargeting(api.GeoTargeting o) { |
| 4104 buildCounterGeoTargeting++; | 4104 buildCounterGeoTargeting++; |
| 4105 if (buildCounterGeoTargeting < 3) { | 4105 if (buildCounterGeoTargeting < 3) { |
| 4106 checkUnnamed1632(o.cities); | 4106 checkUnnamed206(o.cities); |
| 4107 checkUnnamed1633(o.countries); | 4107 checkUnnamed207(o.countries); |
| 4108 unittest.expect(o.excludeCountries, unittest.isTrue); | 4108 unittest.expect(o.excludeCountries, unittest.isTrue); |
| 4109 checkUnnamed1634(o.metros); | 4109 checkUnnamed208(o.metros); |
| 4110 checkUnnamed1635(o.postalCodes); | 4110 checkUnnamed209(o.postalCodes); |
| 4111 checkUnnamed1636(o.regions); | 4111 checkUnnamed210(o.regions); |
| 4112 } | 4112 } |
| 4113 buildCounterGeoTargeting--; | 4113 buildCounterGeoTargeting--; |
| 4114 } | 4114 } |
| 4115 | 4115 |
| 4116 buildUnnamed1637() { | 4116 buildUnnamed211() { |
| 4117 var o = new core.List<api.AdSlot>(); | 4117 var o = new core.List<api.AdSlot>(); |
| 4118 o.add(buildAdSlot()); | 4118 o.add(buildAdSlot()); |
| 4119 o.add(buildAdSlot()); | 4119 o.add(buildAdSlot()); |
| 4120 return o; | 4120 return o; |
| 4121 } | 4121 } |
| 4122 | 4122 |
| 4123 checkUnnamed1637(core.List<api.AdSlot> o) { | 4123 checkUnnamed211(core.List<api.AdSlot> o) { |
| 4124 unittest.expect(o, unittest.hasLength(2)); | 4124 unittest.expect(o, unittest.hasLength(2)); |
| 4125 checkAdSlot(o[0]); | 4125 checkAdSlot(o[0]); |
| 4126 checkAdSlot(o[1]); | 4126 checkAdSlot(o[1]); |
| 4127 } | 4127 } |
| 4128 | 4128 |
| 4129 core.int buildCounterInventoryItem = 0; | 4129 core.int buildCounterInventoryItem = 0; |
| 4130 buildInventoryItem() { | 4130 buildInventoryItem() { |
| 4131 var o = new api.InventoryItem(); | 4131 var o = new api.InventoryItem(); |
| 4132 buildCounterInventoryItem++; | 4132 buildCounterInventoryItem++; |
| 4133 if (buildCounterInventoryItem < 3) { | 4133 if (buildCounterInventoryItem < 3) { |
| 4134 o.accountId = "foo"; | 4134 o.accountId = "foo"; |
| 4135 o.adSlots = buildUnnamed1637(); | 4135 o.adSlots = buildUnnamed211(); |
| 4136 o.advertiserId = "foo"; | 4136 o.advertiserId = "foo"; |
| 4137 o.contentCategoryId = "foo"; | 4137 o.contentCategoryId = "foo"; |
| 4138 o.estimatedClickThroughRate = "foo"; | 4138 o.estimatedClickThroughRate = "foo"; |
| 4139 o.estimatedConversionRate = "foo"; | 4139 o.estimatedConversionRate = "foo"; |
| 4140 o.id = "foo"; | 4140 o.id = "foo"; |
| 4141 o.inPlan = true; | 4141 o.inPlan = true; |
| 4142 o.kind = "foo"; | 4142 o.kind = "foo"; |
| 4143 o.lastModifiedInfo = buildLastModifiedInfo(); | 4143 o.lastModifiedInfo = buildLastModifiedInfo(); |
| 4144 o.name = "foo"; | 4144 o.name = "foo"; |
| 4145 o.negotiationChannelId = "foo"; | 4145 o.negotiationChannelId = "foo"; |
| 4146 o.orderId = "foo"; | 4146 o.orderId = "foo"; |
| 4147 o.placementStrategyId = "foo"; | 4147 o.placementStrategyId = "foo"; |
| 4148 o.pricing = buildPricing(); | 4148 o.pricing = buildPricing(); |
| 4149 o.projectId = "foo"; | 4149 o.projectId = "foo"; |
| 4150 o.rfpId = "foo"; | 4150 o.rfpId = "foo"; |
| 4151 o.siteId = "foo"; | 4151 o.siteId = "foo"; |
| 4152 o.subaccountId = "foo"; | 4152 o.subaccountId = "foo"; |
| 4153 o.type = "foo"; |
| 4153 } | 4154 } |
| 4154 buildCounterInventoryItem--; | 4155 buildCounterInventoryItem--; |
| 4155 return o; | 4156 return o; |
| 4156 } | 4157 } |
| 4157 | 4158 |
| 4158 checkInventoryItem(api.InventoryItem o) { | 4159 checkInventoryItem(api.InventoryItem o) { |
| 4159 buildCounterInventoryItem++; | 4160 buildCounterInventoryItem++; |
| 4160 if (buildCounterInventoryItem < 3) { | 4161 if (buildCounterInventoryItem < 3) { |
| 4161 unittest.expect(o.accountId, unittest.equals('foo')); | 4162 unittest.expect(o.accountId, unittest.equals('foo')); |
| 4162 checkUnnamed1637(o.adSlots); | 4163 checkUnnamed211(o.adSlots); |
| 4163 unittest.expect(o.advertiserId, unittest.equals('foo')); | 4164 unittest.expect(o.advertiserId, unittest.equals('foo')); |
| 4164 unittest.expect(o.contentCategoryId, unittest.equals('foo')); | 4165 unittest.expect(o.contentCategoryId, unittest.equals('foo')); |
| 4165 unittest.expect(o.estimatedClickThroughRate, unittest.equals('foo')); | 4166 unittest.expect(o.estimatedClickThroughRate, unittest.equals('foo')); |
| 4166 unittest.expect(o.estimatedConversionRate, unittest.equals('foo')); | 4167 unittest.expect(o.estimatedConversionRate, unittest.equals('foo')); |
| 4167 unittest.expect(o.id, unittest.equals('foo')); | 4168 unittest.expect(o.id, unittest.equals('foo')); |
| 4168 unittest.expect(o.inPlan, unittest.isTrue); | 4169 unittest.expect(o.inPlan, unittest.isTrue); |
| 4169 unittest.expect(o.kind, unittest.equals('foo')); | 4170 unittest.expect(o.kind, unittest.equals('foo')); |
| 4170 checkLastModifiedInfo(o.lastModifiedInfo); | 4171 checkLastModifiedInfo(o.lastModifiedInfo); |
| 4171 unittest.expect(o.name, unittest.equals('foo')); | 4172 unittest.expect(o.name, unittest.equals('foo')); |
| 4172 unittest.expect(o.negotiationChannelId, unittest.equals('foo')); | 4173 unittest.expect(o.negotiationChannelId, unittest.equals('foo')); |
| 4173 unittest.expect(o.orderId, unittest.equals('foo')); | 4174 unittest.expect(o.orderId, unittest.equals('foo')); |
| 4174 unittest.expect(o.placementStrategyId, unittest.equals('foo')); | 4175 unittest.expect(o.placementStrategyId, unittest.equals('foo')); |
| 4175 checkPricing(o.pricing); | 4176 checkPricing(o.pricing); |
| 4176 unittest.expect(o.projectId, unittest.equals('foo')); | 4177 unittest.expect(o.projectId, unittest.equals('foo')); |
| 4177 unittest.expect(o.rfpId, unittest.equals('foo')); | 4178 unittest.expect(o.rfpId, unittest.equals('foo')); |
| 4178 unittest.expect(o.siteId, unittest.equals('foo')); | 4179 unittest.expect(o.siteId, unittest.equals('foo')); |
| 4179 unittest.expect(o.subaccountId, unittest.equals('foo')); | 4180 unittest.expect(o.subaccountId, unittest.equals('foo')); |
| 4181 unittest.expect(o.type, unittest.equals('foo')); |
| 4180 } | 4182 } |
| 4181 buildCounterInventoryItem--; | 4183 buildCounterInventoryItem--; |
| 4182 } | 4184 } |
| 4183 | 4185 |
| 4184 buildUnnamed1638() { | 4186 buildUnnamed212() { |
| 4185 var o = new core.List<api.InventoryItem>(); | 4187 var o = new core.List<api.InventoryItem>(); |
| 4186 o.add(buildInventoryItem()); | 4188 o.add(buildInventoryItem()); |
| 4187 o.add(buildInventoryItem()); | 4189 o.add(buildInventoryItem()); |
| 4188 return o; | 4190 return o; |
| 4189 } | 4191 } |
| 4190 | 4192 |
| 4191 checkUnnamed1638(core.List<api.InventoryItem> o) { | 4193 checkUnnamed212(core.List<api.InventoryItem> o) { |
| 4192 unittest.expect(o, unittest.hasLength(2)); | 4194 unittest.expect(o, unittest.hasLength(2)); |
| 4193 checkInventoryItem(o[0]); | 4195 checkInventoryItem(o[0]); |
| 4194 checkInventoryItem(o[1]); | 4196 checkInventoryItem(o[1]); |
| 4195 } | 4197 } |
| 4196 | 4198 |
| 4197 core.int buildCounterInventoryItemsListResponse = 0; | 4199 core.int buildCounterInventoryItemsListResponse = 0; |
| 4198 buildInventoryItemsListResponse() { | 4200 buildInventoryItemsListResponse() { |
| 4199 var o = new api.InventoryItemsListResponse(); | 4201 var o = new api.InventoryItemsListResponse(); |
| 4200 buildCounterInventoryItemsListResponse++; | 4202 buildCounterInventoryItemsListResponse++; |
| 4201 if (buildCounterInventoryItemsListResponse < 3) { | 4203 if (buildCounterInventoryItemsListResponse < 3) { |
| 4202 o.inventoryItems = buildUnnamed1638(); | 4204 o.inventoryItems = buildUnnamed212(); |
| 4203 o.kind = "foo"; | 4205 o.kind = "foo"; |
| 4204 o.nextPageToken = "foo"; | 4206 o.nextPageToken = "foo"; |
| 4205 } | 4207 } |
| 4206 buildCounterInventoryItemsListResponse--; | 4208 buildCounterInventoryItemsListResponse--; |
| 4207 return o; | 4209 return o; |
| 4208 } | 4210 } |
| 4209 | 4211 |
| 4210 checkInventoryItemsListResponse(api.InventoryItemsListResponse o) { | 4212 checkInventoryItemsListResponse(api.InventoryItemsListResponse o) { |
| 4211 buildCounterInventoryItemsListResponse++; | 4213 buildCounterInventoryItemsListResponse++; |
| 4212 if (buildCounterInventoryItemsListResponse < 3) { | 4214 if (buildCounterInventoryItemsListResponse < 3) { |
| 4213 checkUnnamed1638(o.inventoryItems); | 4215 checkUnnamed212(o.inventoryItems); |
| 4214 unittest.expect(o.kind, unittest.equals('foo')); | 4216 unittest.expect(o.kind, unittest.equals('foo')); |
| 4215 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 4217 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 4216 } | 4218 } |
| 4217 buildCounterInventoryItemsListResponse--; | 4219 buildCounterInventoryItemsListResponse--; |
| 4218 } | 4220 } |
| 4219 | 4221 |
| 4220 core.int buildCounterKeyValueTargetingExpression = 0; | 4222 core.int buildCounterKeyValueTargetingExpression = 0; |
| 4221 buildKeyValueTargetingExpression() { | 4223 buildKeyValueTargetingExpression() { |
| 4222 var o = new api.KeyValueTargetingExpression(); | 4224 var o = new api.KeyValueTargetingExpression(); |
| 4223 buildCounterKeyValueTargetingExpression++; | 4225 buildCounterKeyValueTargetingExpression++; |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4256 if (buildCounterLandingPage < 3) { | 4258 if (buildCounterLandingPage < 3) { |
| 4257 unittest.expect(o.default_, unittest.isTrue); | 4259 unittest.expect(o.default_, unittest.isTrue); |
| 4258 unittest.expect(o.id, unittest.equals('foo')); | 4260 unittest.expect(o.id, unittest.equals('foo')); |
| 4259 unittest.expect(o.kind, unittest.equals('foo')); | 4261 unittest.expect(o.kind, unittest.equals('foo')); |
| 4260 unittest.expect(o.name, unittest.equals('foo')); | 4262 unittest.expect(o.name, unittest.equals('foo')); |
| 4261 unittest.expect(o.url, unittest.equals('foo')); | 4263 unittest.expect(o.url, unittest.equals('foo')); |
| 4262 } | 4264 } |
| 4263 buildCounterLandingPage--; | 4265 buildCounterLandingPage--; |
| 4264 } | 4266 } |
| 4265 | 4267 |
| 4266 buildUnnamed1639() { | 4268 buildUnnamed213() { |
| 4267 var o = new core.List<api.LandingPage>(); | 4269 var o = new core.List<api.LandingPage>(); |
| 4268 o.add(buildLandingPage()); | 4270 o.add(buildLandingPage()); |
| 4269 o.add(buildLandingPage()); | 4271 o.add(buildLandingPage()); |
| 4270 return o; | 4272 return o; |
| 4271 } | 4273 } |
| 4272 | 4274 |
| 4273 checkUnnamed1639(core.List<api.LandingPage> o) { | 4275 checkUnnamed213(core.List<api.LandingPage> o) { |
| 4274 unittest.expect(o, unittest.hasLength(2)); | 4276 unittest.expect(o, unittest.hasLength(2)); |
| 4275 checkLandingPage(o[0]); | 4277 checkLandingPage(o[0]); |
| 4276 checkLandingPage(o[1]); | 4278 checkLandingPage(o[1]); |
| 4277 } | 4279 } |
| 4278 | 4280 |
| 4279 core.int buildCounterLandingPagesListResponse = 0; | 4281 core.int buildCounterLandingPagesListResponse = 0; |
| 4280 buildLandingPagesListResponse() { | 4282 buildLandingPagesListResponse() { |
| 4281 var o = new api.LandingPagesListResponse(); | 4283 var o = new api.LandingPagesListResponse(); |
| 4282 buildCounterLandingPagesListResponse++; | 4284 buildCounterLandingPagesListResponse++; |
| 4283 if (buildCounterLandingPagesListResponse < 3) { | 4285 if (buildCounterLandingPagesListResponse < 3) { |
| 4284 o.kind = "foo"; | 4286 o.kind = "foo"; |
| 4285 o.landingPages = buildUnnamed1639(); | 4287 o.landingPages = buildUnnamed213(); |
| 4286 } | 4288 } |
| 4287 buildCounterLandingPagesListResponse--; | 4289 buildCounterLandingPagesListResponse--; |
| 4288 return o; | 4290 return o; |
| 4289 } | 4291 } |
| 4290 | 4292 |
| 4291 checkLandingPagesListResponse(api.LandingPagesListResponse o) { | 4293 checkLandingPagesListResponse(api.LandingPagesListResponse o) { |
| 4292 buildCounterLandingPagesListResponse++; | 4294 buildCounterLandingPagesListResponse++; |
| 4293 if (buildCounterLandingPagesListResponse < 3) { | 4295 if (buildCounterLandingPagesListResponse < 3) { |
| 4294 unittest.expect(o.kind, unittest.equals('foo')); | 4296 unittest.expect(o.kind, unittest.equals('foo')); |
| 4295 checkUnnamed1639(o.landingPages); | 4297 checkUnnamed213(o.landingPages); |
| 4296 } | 4298 } |
| 4297 buildCounterLandingPagesListResponse--; | 4299 buildCounterLandingPagesListResponse--; |
| 4298 } | 4300 } |
| 4299 | 4301 |
| 4300 core.int buildCounterLastModifiedInfo = 0; | 4302 core.int buildCounterLastModifiedInfo = 0; |
| 4301 buildLastModifiedInfo() { | 4303 buildLastModifiedInfo() { |
| 4302 var o = new api.LastModifiedInfo(); | 4304 var o = new api.LastModifiedInfo(); |
| 4303 buildCounterLastModifiedInfo++; | 4305 buildCounterLastModifiedInfo++; |
| 4304 if (buildCounterLastModifiedInfo < 3) { | 4306 if (buildCounterLastModifiedInfo < 3) { |
| 4305 o.time = "foo"; | 4307 o.time = "foo"; |
| 4306 } | 4308 } |
| 4307 buildCounterLastModifiedInfo--; | 4309 buildCounterLastModifiedInfo--; |
| 4308 return o; | 4310 return o; |
| 4309 } | 4311 } |
| 4310 | 4312 |
| 4311 checkLastModifiedInfo(api.LastModifiedInfo o) { | 4313 checkLastModifiedInfo(api.LastModifiedInfo o) { |
| 4312 buildCounterLastModifiedInfo++; | 4314 buildCounterLastModifiedInfo++; |
| 4313 if (buildCounterLastModifiedInfo < 3) { | 4315 if (buildCounterLastModifiedInfo < 3) { |
| 4314 unittest.expect(o.time, unittest.equals('foo')); | 4316 unittest.expect(o.time, unittest.equals('foo')); |
| 4315 } | 4317 } |
| 4316 buildCounterLastModifiedInfo--; | 4318 buildCounterLastModifiedInfo--; |
| 4317 } | 4319 } |
| 4318 | 4320 |
| 4319 buildUnnamed1640() { | 4321 buildUnnamed214() { |
| 4320 var o = new core.List<api.ListPopulationTerm>(); | 4322 var o = new core.List<api.ListPopulationTerm>(); |
| 4321 o.add(buildListPopulationTerm()); | 4323 o.add(buildListPopulationTerm()); |
| 4322 o.add(buildListPopulationTerm()); | 4324 o.add(buildListPopulationTerm()); |
| 4323 return o; | 4325 return o; |
| 4324 } | 4326 } |
| 4325 | 4327 |
| 4326 checkUnnamed1640(core.List<api.ListPopulationTerm> o) { | 4328 checkUnnamed214(core.List<api.ListPopulationTerm> o) { |
| 4327 unittest.expect(o, unittest.hasLength(2)); | 4329 unittest.expect(o, unittest.hasLength(2)); |
| 4328 checkListPopulationTerm(o[0]); | 4330 checkListPopulationTerm(o[0]); |
| 4329 checkListPopulationTerm(o[1]); | 4331 checkListPopulationTerm(o[1]); |
| 4330 } | 4332 } |
| 4331 | 4333 |
| 4332 core.int buildCounterListPopulationClause = 0; | 4334 core.int buildCounterListPopulationClause = 0; |
| 4333 buildListPopulationClause() { | 4335 buildListPopulationClause() { |
| 4334 var o = new api.ListPopulationClause(); | 4336 var o = new api.ListPopulationClause(); |
| 4335 buildCounterListPopulationClause++; | 4337 buildCounterListPopulationClause++; |
| 4336 if (buildCounterListPopulationClause < 3) { | 4338 if (buildCounterListPopulationClause < 3) { |
| 4337 o.terms = buildUnnamed1640(); | 4339 o.terms = buildUnnamed214(); |
| 4338 } | 4340 } |
| 4339 buildCounterListPopulationClause--; | 4341 buildCounterListPopulationClause--; |
| 4340 return o; | 4342 return o; |
| 4341 } | 4343 } |
| 4342 | 4344 |
| 4343 checkListPopulationClause(api.ListPopulationClause o) { | 4345 checkListPopulationClause(api.ListPopulationClause o) { |
| 4344 buildCounterListPopulationClause++; | 4346 buildCounterListPopulationClause++; |
| 4345 if (buildCounterListPopulationClause < 3) { | 4347 if (buildCounterListPopulationClause < 3) { |
| 4346 checkUnnamed1640(o.terms); | 4348 checkUnnamed214(o.terms); |
| 4347 } | 4349 } |
| 4348 buildCounterListPopulationClause--; | 4350 buildCounterListPopulationClause--; |
| 4349 } | 4351 } |
| 4350 | 4352 |
| 4351 buildUnnamed1641() { | 4353 buildUnnamed215() { |
| 4352 var o = new core.List<api.ListPopulationClause>(); | 4354 var o = new core.List<api.ListPopulationClause>(); |
| 4353 o.add(buildListPopulationClause()); | 4355 o.add(buildListPopulationClause()); |
| 4354 o.add(buildListPopulationClause()); | 4356 o.add(buildListPopulationClause()); |
| 4355 return o; | 4357 return o; |
| 4356 } | 4358 } |
| 4357 | 4359 |
| 4358 checkUnnamed1641(core.List<api.ListPopulationClause> o) { | 4360 checkUnnamed215(core.List<api.ListPopulationClause> o) { |
| 4359 unittest.expect(o, unittest.hasLength(2)); | 4361 unittest.expect(o, unittest.hasLength(2)); |
| 4360 checkListPopulationClause(o[0]); | 4362 checkListPopulationClause(o[0]); |
| 4361 checkListPopulationClause(o[1]); | 4363 checkListPopulationClause(o[1]); |
| 4362 } | 4364 } |
| 4363 | 4365 |
| 4364 core.int buildCounterListPopulationRule = 0; | 4366 core.int buildCounterListPopulationRule = 0; |
| 4365 buildListPopulationRule() { | 4367 buildListPopulationRule() { |
| 4366 var o = new api.ListPopulationRule(); | 4368 var o = new api.ListPopulationRule(); |
| 4367 buildCounterListPopulationRule++; | 4369 buildCounterListPopulationRule++; |
| 4368 if (buildCounterListPopulationRule < 3) { | 4370 if (buildCounterListPopulationRule < 3) { |
| 4369 o.floodlightActivityId = "foo"; | 4371 o.floodlightActivityId = "foo"; |
| 4370 o.floodlightActivityName = "foo"; | 4372 o.floodlightActivityName = "foo"; |
| 4371 o.listPopulationClauses = buildUnnamed1641(); | 4373 o.listPopulationClauses = buildUnnamed215(); |
| 4372 } | 4374 } |
| 4373 buildCounterListPopulationRule--; | 4375 buildCounterListPopulationRule--; |
| 4374 return o; | 4376 return o; |
| 4375 } | 4377 } |
| 4376 | 4378 |
| 4377 checkListPopulationRule(api.ListPopulationRule o) { | 4379 checkListPopulationRule(api.ListPopulationRule o) { |
| 4378 buildCounterListPopulationRule++; | 4380 buildCounterListPopulationRule++; |
| 4379 if (buildCounterListPopulationRule < 3) { | 4381 if (buildCounterListPopulationRule < 3) { |
| 4380 unittest.expect(o.floodlightActivityId, unittest.equals('foo')); | 4382 unittest.expect(o.floodlightActivityId, unittest.equals('foo')); |
| 4381 unittest.expect(o.floodlightActivityName, unittest.equals('foo')); | 4383 unittest.expect(o.floodlightActivityName, unittest.equals('foo')); |
| 4382 checkUnnamed1641(o.listPopulationClauses); | 4384 checkUnnamed215(o.listPopulationClauses); |
| 4383 } | 4385 } |
| 4384 buildCounterListPopulationRule--; | 4386 buildCounterListPopulationRule--; |
| 4385 } | 4387 } |
| 4386 | 4388 |
| 4387 core.int buildCounterListPopulationTerm = 0; | 4389 core.int buildCounterListPopulationTerm = 0; |
| 4388 buildListPopulationTerm() { | 4390 buildListPopulationTerm() { |
| 4389 var o = new api.ListPopulationTerm(); | 4391 var o = new api.ListPopulationTerm(); |
| 4390 buildCounterListPopulationTerm++; | 4392 buildCounterListPopulationTerm++; |
| 4391 if (buildCounterListPopulationTerm < 3) { | 4393 if (buildCounterListPopulationTerm < 3) { |
| 4392 o.contains = true; | 4394 o.contains = true; |
| (...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4502 unittest.expect(o.countryDartId, unittest.equals('foo')); | 4504 unittest.expect(o.countryDartId, unittest.equals('foo')); |
| 4503 unittest.expect(o.dartId, unittest.equals('foo')); | 4505 unittest.expect(o.dartId, unittest.equals('foo')); |
| 4504 unittest.expect(o.dmaId, unittest.equals('foo')); | 4506 unittest.expect(o.dmaId, unittest.equals('foo')); |
| 4505 unittest.expect(o.kind, unittest.equals('foo')); | 4507 unittest.expect(o.kind, unittest.equals('foo')); |
| 4506 unittest.expect(o.metroCode, unittest.equals('foo')); | 4508 unittest.expect(o.metroCode, unittest.equals('foo')); |
| 4507 unittest.expect(o.name, unittest.equals('foo')); | 4509 unittest.expect(o.name, unittest.equals('foo')); |
| 4508 } | 4510 } |
| 4509 buildCounterMetro--; | 4511 buildCounterMetro--; |
| 4510 } | 4512 } |
| 4511 | 4513 |
| 4512 buildUnnamed1642() { | 4514 buildUnnamed216() { |
| 4513 var o = new core.List<api.Metro>(); | 4515 var o = new core.List<api.Metro>(); |
| 4514 o.add(buildMetro()); | 4516 o.add(buildMetro()); |
| 4515 o.add(buildMetro()); | 4517 o.add(buildMetro()); |
| 4516 return o; | 4518 return o; |
| 4517 } | 4519 } |
| 4518 | 4520 |
| 4519 checkUnnamed1642(core.List<api.Metro> o) { | 4521 checkUnnamed216(core.List<api.Metro> o) { |
| 4520 unittest.expect(o, unittest.hasLength(2)); | 4522 unittest.expect(o, unittest.hasLength(2)); |
| 4521 checkMetro(o[0]); | 4523 checkMetro(o[0]); |
| 4522 checkMetro(o[1]); | 4524 checkMetro(o[1]); |
| 4523 } | 4525 } |
| 4524 | 4526 |
| 4525 core.int buildCounterMetrosListResponse = 0; | 4527 core.int buildCounterMetrosListResponse = 0; |
| 4526 buildMetrosListResponse() { | 4528 buildMetrosListResponse() { |
| 4527 var o = new api.MetrosListResponse(); | 4529 var o = new api.MetrosListResponse(); |
| 4528 buildCounterMetrosListResponse++; | 4530 buildCounterMetrosListResponse++; |
| 4529 if (buildCounterMetrosListResponse < 3) { | 4531 if (buildCounterMetrosListResponse < 3) { |
| 4530 o.kind = "foo"; | 4532 o.kind = "foo"; |
| 4531 o.metros = buildUnnamed1642(); | 4533 o.metros = buildUnnamed216(); |
| 4532 } | 4534 } |
| 4533 buildCounterMetrosListResponse--; | 4535 buildCounterMetrosListResponse--; |
| 4534 return o; | 4536 return o; |
| 4535 } | 4537 } |
| 4536 | 4538 |
| 4537 checkMetrosListResponse(api.MetrosListResponse o) { | 4539 checkMetrosListResponse(api.MetrosListResponse o) { |
| 4538 buildCounterMetrosListResponse++; | 4540 buildCounterMetrosListResponse++; |
| 4539 if (buildCounterMetrosListResponse < 3) { | 4541 if (buildCounterMetrosListResponse < 3) { |
| 4540 unittest.expect(o.kind, unittest.equals('foo')); | 4542 unittest.expect(o.kind, unittest.equals('foo')); |
| 4541 checkUnnamed1642(o.metros); | 4543 checkUnnamed216(o.metros); |
| 4542 } | 4544 } |
| 4543 buildCounterMetrosListResponse--; | 4545 buildCounterMetrosListResponse--; |
| 4544 } | 4546 } |
| 4545 | 4547 |
| 4546 core.int buildCounterMobileCarrier = 0; | 4548 core.int buildCounterMobileCarrier = 0; |
| 4547 buildMobileCarrier() { | 4549 buildMobileCarrier() { |
| 4548 var o = new api.MobileCarrier(); | 4550 var o = new api.MobileCarrier(); |
| 4549 buildCounterMobileCarrier++; | 4551 buildCounterMobileCarrier++; |
| 4550 if (buildCounterMobileCarrier < 3) { | 4552 if (buildCounterMobileCarrier < 3) { |
| 4551 o.countryCode = "foo"; | 4553 o.countryCode = "foo"; |
| (...skipping 11 matching lines...) Expand all Loading... |
| 4563 if (buildCounterMobileCarrier < 3) { | 4565 if (buildCounterMobileCarrier < 3) { |
| 4564 unittest.expect(o.countryCode, unittest.equals('foo')); | 4566 unittest.expect(o.countryCode, unittest.equals('foo')); |
| 4565 unittest.expect(o.countryDartId, unittest.equals('foo')); | 4567 unittest.expect(o.countryDartId, unittest.equals('foo')); |
| 4566 unittest.expect(o.id, unittest.equals('foo')); | 4568 unittest.expect(o.id, unittest.equals('foo')); |
| 4567 unittest.expect(o.kind, unittest.equals('foo')); | 4569 unittest.expect(o.kind, unittest.equals('foo')); |
| 4568 unittest.expect(o.name, unittest.equals('foo')); | 4570 unittest.expect(o.name, unittest.equals('foo')); |
| 4569 } | 4571 } |
| 4570 buildCounterMobileCarrier--; | 4572 buildCounterMobileCarrier--; |
| 4571 } | 4573 } |
| 4572 | 4574 |
| 4573 buildUnnamed1643() { | 4575 buildUnnamed217() { |
| 4574 var o = new core.List<api.MobileCarrier>(); | 4576 var o = new core.List<api.MobileCarrier>(); |
| 4575 o.add(buildMobileCarrier()); | 4577 o.add(buildMobileCarrier()); |
| 4576 o.add(buildMobileCarrier()); | 4578 o.add(buildMobileCarrier()); |
| 4577 return o; | 4579 return o; |
| 4578 } | 4580 } |
| 4579 | 4581 |
| 4580 checkUnnamed1643(core.List<api.MobileCarrier> o) { | 4582 checkUnnamed217(core.List<api.MobileCarrier> o) { |
| 4581 unittest.expect(o, unittest.hasLength(2)); | 4583 unittest.expect(o, unittest.hasLength(2)); |
| 4582 checkMobileCarrier(o[0]); | 4584 checkMobileCarrier(o[0]); |
| 4583 checkMobileCarrier(o[1]); | 4585 checkMobileCarrier(o[1]); |
| 4584 } | 4586 } |
| 4585 | 4587 |
| 4586 core.int buildCounterMobileCarriersListResponse = 0; | 4588 core.int buildCounterMobileCarriersListResponse = 0; |
| 4587 buildMobileCarriersListResponse() { | 4589 buildMobileCarriersListResponse() { |
| 4588 var o = new api.MobileCarriersListResponse(); | 4590 var o = new api.MobileCarriersListResponse(); |
| 4589 buildCounterMobileCarriersListResponse++; | 4591 buildCounterMobileCarriersListResponse++; |
| 4590 if (buildCounterMobileCarriersListResponse < 3) { | 4592 if (buildCounterMobileCarriersListResponse < 3) { |
| 4591 o.kind = "foo"; | 4593 o.kind = "foo"; |
| 4592 o.mobileCarriers = buildUnnamed1643(); | 4594 o.mobileCarriers = buildUnnamed217(); |
| 4593 } | 4595 } |
| 4594 buildCounterMobileCarriersListResponse--; | 4596 buildCounterMobileCarriersListResponse--; |
| 4595 return o; | 4597 return o; |
| 4596 } | 4598 } |
| 4597 | 4599 |
| 4598 checkMobileCarriersListResponse(api.MobileCarriersListResponse o) { | 4600 checkMobileCarriersListResponse(api.MobileCarriersListResponse o) { |
| 4599 buildCounterMobileCarriersListResponse++; | 4601 buildCounterMobileCarriersListResponse++; |
| 4600 if (buildCounterMobileCarriersListResponse < 3) { | 4602 if (buildCounterMobileCarriersListResponse < 3) { |
| 4601 unittest.expect(o.kind, unittest.equals('foo')); | 4603 unittest.expect(o.kind, unittest.equals('foo')); |
| 4602 checkUnnamed1643(o.mobileCarriers); | 4604 checkUnnamed217(o.mobileCarriers); |
| 4603 } | 4605 } |
| 4604 buildCounterMobileCarriersListResponse--; | 4606 buildCounterMobileCarriersListResponse--; |
| 4605 } | 4607 } |
| 4606 | 4608 |
| 4607 buildUnnamed1644() { | 4609 buildUnnamed218() { |
| 4608 var o = new core.List<core.String>(); | 4610 var o = new core.List<core.String>(); |
| 4609 o.add("foo"); | 4611 o.add("foo"); |
| 4610 o.add("foo"); | 4612 o.add("foo"); |
| 4611 return o; | 4613 return o; |
| 4612 } | 4614 } |
| 4613 | 4615 |
| 4614 checkUnnamed1644(core.List<core.String> o) { | 4616 checkUnnamed218(core.List<core.String> o) { |
| 4615 unittest.expect(o, unittest.hasLength(2)); | 4617 unittest.expect(o, unittest.hasLength(2)); |
| 4616 unittest.expect(o[0], unittest.equals('foo')); | 4618 unittest.expect(o[0], unittest.equals('foo')); |
| 4617 unittest.expect(o[1], unittest.equals('foo')); | 4619 unittest.expect(o[1], unittest.equals('foo')); |
| 4618 } | 4620 } |
| 4619 | 4621 |
| 4620 core.int buildCounterObjectFilter = 0; | 4622 core.int buildCounterObjectFilter = 0; |
| 4621 buildObjectFilter() { | 4623 buildObjectFilter() { |
| 4622 var o = new api.ObjectFilter(); | 4624 var o = new api.ObjectFilter(); |
| 4623 buildCounterObjectFilter++; | 4625 buildCounterObjectFilter++; |
| 4624 if (buildCounterObjectFilter < 3) { | 4626 if (buildCounterObjectFilter < 3) { |
| 4625 o.kind = "foo"; | 4627 o.kind = "foo"; |
| 4626 o.objectIds = buildUnnamed1644(); | 4628 o.objectIds = buildUnnamed218(); |
| 4627 o.status = "foo"; | 4629 o.status = "foo"; |
| 4628 } | 4630 } |
| 4629 buildCounterObjectFilter--; | 4631 buildCounterObjectFilter--; |
| 4630 return o; | 4632 return o; |
| 4631 } | 4633 } |
| 4632 | 4634 |
| 4633 checkObjectFilter(api.ObjectFilter o) { | 4635 checkObjectFilter(api.ObjectFilter o) { |
| 4634 buildCounterObjectFilter++; | 4636 buildCounterObjectFilter++; |
| 4635 if (buildCounterObjectFilter < 3) { | 4637 if (buildCounterObjectFilter < 3) { |
| 4636 unittest.expect(o.kind, unittest.equals('foo')); | 4638 unittest.expect(o.kind, unittest.equals('foo')); |
| 4637 checkUnnamed1644(o.objectIds); | 4639 checkUnnamed218(o.objectIds); |
| 4638 unittest.expect(o.status, unittest.equals('foo')); | 4640 unittest.expect(o.status, unittest.equals('foo')); |
| 4639 } | 4641 } |
| 4640 buildCounterObjectFilter--; | 4642 buildCounterObjectFilter--; |
| 4641 } | 4643 } |
| 4642 | 4644 |
| 4643 core.int buildCounterOffsetPosition = 0; | 4645 core.int buildCounterOffsetPosition = 0; |
| 4644 buildOffsetPosition() { | 4646 buildOffsetPosition() { |
| 4645 var o = new api.OffsetPosition(); | 4647 var o = new api.OffsetPosition(); |
| 4646 buildCounterOffsetPosition++; | 4648 buildCounterOffsetPosition++; |
| 4647 if (buildCounterOffsetPosition < 3) { | 4649 if (buildCounterOffsetPosition < 3) { |
| (...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4731 unittest.expect(o.id, unittest.equals('foo')); | 4733 unittest.expect(o.id, unittest.equals('foo')); |
| 4732 unittest.expect(o.kind, unittest.equals('foo')); | 4734 unittest.expect(o.kind, unittest.equals('foo')); |
| 4733 unittest.expect(o.majorVersion, unittest.equals('foo')); | 4735 unittest.expect(o.majorVersion, unittest.equals('foo')); |
| 4734 unittest.expect(o.minorVersion, unittest.equals('foo')); | 4736 unittest.expect(o.minorVersion, unittest.equals('foo')); |
| 4735 unittest.expect(o.name, unittest.equals('foo')); | 4737 unittest.expect(o.name, unittest.equals('foo')); |
| 4736 checkOperatingSystem(o.operatingSystem); | 4738 checkOperatingSystem(o.operatingSystem); |
| 4737 } | 4739 } |
| 4738 buildCounterOperatingSystemVersion--; | 4740 buildCounterOperatingSystemVersion--; |
| 4739 } | 4741 } |
| 4740 | 4742 |
| 4741 buildUnnamed1645() { | 4743 buildUnnamed219() { |
| 4742 var o = new core.List<api.OperatingSystemVersion>(); | 4744 var o = new core.List<api.OperatingSystemVersion>(); |
| 4743 o.add(buildOperatingSystemVersion()); | 4745 o.add(buildOperatingSystemVersion()); |
| 4744 o.add(buildOperatingSystemVersion()); | 4746 o.add(buildOperatingSystemVersion()); |
| 4745 return o; | 4747 return o; |
| 4746 } | 4748 } |
| 4747 | 4749 |
| 4748 checkUnnamed1645(core.List<api.OperatingSystemVersion> o) { | 4750 checkUnnamed219(core.List<api.OperatingSystemVersion> o) { |
| 4749 unittest.expect(o, unittest.hasLength(2)); | 4751 unittest.expect(o, unittest.hasLength(2)); |
| 4750 checkOperatingSystemVersion(o[0]); | 4752 checkOperatingSystemVersion(o[0]); |
| 4751 checkOperatingSystemVersion(o[1]); | 4753 checkOperatingSystemVersion(o[1]); |
| 4752 } | 4754 } |
| 4753 | 4755 |
| 4754 core.int buildCounterOperatingSystemVersionsListResponse = 0; | 4756 core.int buildCounterOperatingSystemVersionsListResponse = 0; |
| 4755 buildOperatingSystemVersionsListResponse() { | 4757 buildOperatingSystemVersionsListResponse() { |
| 4756 var o = new api.OperatingSystemVersionsListResponse(); | 4758 var o = new api.OperatingSystemVersionsListResponse(); |
| 4757 buildCounterOperatingSystemVersionsListResponse++; | 4759 buildCounterOperatingSystemVersionsListResponse++; |
| 4758 if (buildCounterOperatingSystemVersionsListResponse < 3) { | 4760 if (buildCounterOperatingSystemVersionsListResponse < 3) { |
| 4759 o.kind = "foo"; | 4761 o.kind = "foo"; |
| 4760 o.operatingSystemVersions = buildUnnamed1645(); | 4762 o.operatingSystemVersions = buildUnnamed219(); |
| 4761 } | 4763 } |
| 4762 buildCounterOperatingSystemVersionsListResponse--; | 4764 buildCounterOperatingSystemVersionsListResponse--; |
| 4763 return o; | 4765 return o; |
| 4764 } | 4766 } |
| 4765 | 4767 |
| 4766 checkOperatingSystemVersionsListResponse(api.OperatingSystemVersionsListResponse
o) { | 4768 checkOperatingSystemVersionsListResponse(api.OperatingSystemVersionsListResponse
o) { |
| 4767 buildCounterOperatingSystemVersionsListResponse++; | 4769 buildCounterOperatingSystemVersionsListResponse++; |
| 4768 if (buildCounterOperatingSystemVersionsListResponse < 3) { | 4770 if (buildCounterOperatingSystemVersionsListResponse < 3) { |
| 4769 unittest.expect(o.kind, unittest.equals('foo')); | 4771 unittest.expect(o.kind, unittest.equals('foo')); |
| 4770 checkUnnamed1645(o.operatingSystemVersions); | 4772 checkUnnamed219(o.operatingSystemVersions); |
| 4771 } | 4773 } |
| 4772 buildCounterOperatingSystemVersionsListResponse--; | 4774 buildCounterOperatingSystemVersionsListResponse--; |
| 4773 } | 4775 } |
| 4774 | 4776 |
| 4775 buildUnnamed1646() { | 4777 buildUnnamed220() { |
| 4776 var o = new core.List<api.OperatingSystem>(); | 4778 var o = new core.List<api.OperatingSystem>(); |
| 4777 o.add(buildOperatingSystem()); | 4779 o.add(buildOperatingSystem()); |
| 4778 o.add(buildOperatingSystem()); | 4780 o.add(buildOperatingSystem()); |
| 4779 return o; | 4781 return o; |
| 4780 } | 4782 } |
| 4781 | 4783 |
| 4782 checkUnnamed1646(core.List<api.OperatingSystem> o) { | 4784 checkUnnamed220(core.List<api.OperatingSystem> o) { |
| 4783 unittest.expect(o, unittest.hasLength(2)); | 4785 unittest.expect(o, unittest.hasLength(2)); |
| 4784 checkOperatingSystem(o[0]); | 4786 checkOperatingSystem(o[0]); |
| 4785 checkOperatingSystem(o[1]); | 4787 checkOperatingSystem(o[1]); |
| 4786 } | 4788 } |
| 4787 | 4789 |
| 4788 core.int buildCounterOperatingSystemsListResponse = 0; | 4790 core.int buildCounterOperatingSystemsListResponse = 0; |
| 4789 buildOperatingSystemsListResponse() { | 4791 buildOperatingSystemsListResponse() { |
| 4790 var o = new api.OperatingSystemsListResponse(); | 4792 var o = new api.OperatingSystemsListResponse(); |
| 4791 buildCounterOperatingSystemsListResponse++; | 4793 buildCounterOperatingSystemsListResponse++; |
| 4792 if (buildCounterOperatingSystemsListResponse < 3) { | 4794 if (buildCounterOperatingSystemsListResponse < 3) { |
| 4793 o.kind = "foo"; | 4795 o.kind = "foo"; |
| 4794 o.operatingSystems = buildUnnamed1646(); | 4796 o.operatingSystems = buildUnnamed220(); |
| 4795 } | 4797 } |
| 4796 buildCounterOperatingSystemsListResponse--; | 4798 buildCounterOperatingSystemsListResponse--; |
| 4797 return o; | 4799 return o; |
| 4798 } | 4800 } |
| 4799 | 4801 |
| 4800 checkOperatingSystemsListResponse(api.OperatingSystemsListResponse o) { | 4802 checkOperatingSystemsListResponse(api.OperatingSystemsListResponse o) { |
| 4801 buildCounterOperatingSystemsListResponse++; | 4803 buildCounterOperatingSystemsListResponse++; |
| 4802 if (buildCounterOperatingSystemsListResponse < 3) { | 4804 if (buildCounterOperatingSystemsListResponse < 3) { |
| 4803 unittest.expect(o.kind, unittest.equals('foo')); | 4805 unittest.expect(o.kind, unittest.equals('foo')); |
| 4804 checkUnnamed1646(o.operatingSystems); | 4806 checkUnnamed220(o.operatingSystems); |
| 4805 } | 4807 } |
| 4806 buildCounterOperatingSystemsListResponse--; | 4808 buildCounterOperatingSystemsListResponse--; |
| 4807 } | 4809 } |
| 4808 | 4810 |
| 4809 core.int buildCounterOptimizationActivity = 0; | 4811 core.int buildCounterOptimizationActivity = 0; |
| 4810 buildOptimizationActivity() { | 4812 buildOptimizationActivity() { |
| 4811 var o = new api.OptimizationActivity(); | 4813 var o = new api.OptimizationActivity(); |
| 4812 buildCounterOptimizationActivity++; | 4814 buildCounterOptimizationActivity++; |
| 4813 if (buildCounterOptimizationActivity < 3) { | 4815 if (buildCounterOptimizationActivity < 3) { |
| 4814 o.floodlightActivityId = "foo"; | 4816 o.floodlightActivityId = "foo"; |
| 4815 o.floodlightActivityIdDimensionValue = buildDimensionValue(); | 4817 o.floodlightActivityIdDimensionValue = buildDimensionValue(); |
| 4816 o.weight = 42; | 4818 o.weight = 42; |
| 4817 } | 4819 } |
| 4818 buildCounterOptimizationActivity--; | 4820 buildCounterOptimizationActivity--; |
| 4819 return o; | 4821 return o; |
| 4820 } | 4822 } |
| 4821 | 4823 |
| 4822 checkOptimizationActivity(api.OptimizationActivity o) { | 4824 checkOptimizationActivity(api.OptimizationActivity o) { |
| 4823 buildCounterOptimizationActivity++; | 4825 buildCounterOptimizationActivity++; |
| 4824 if (buildCounterOptimizationActivity < 3) { | 4826 if (buildCounterOptimizationActivity < 3) { |
| 4825 unittest.expect(o.floodlightActivityId, unittest.equals('foo')); | 4827 unittest.expect(o.floodlightActivityId, unittest.equals('foo')); |
| 4826 checkDimensionValue(o.floodlightActivityIdDimensionValue); | 4828 checkDimensionValue(o.floodlightActivityIdDimensionValue); |
| 4827 unittest.expect(o.weight, unittest.equals(42)); | 4829 unittest.expect(o.weight, unittest.equals(42)); |
| 4828 } | 4830 } |
| 4829 buildCounterOptimizationActivity--; | 4831 buildCounterOptimizationActivity--; |
| 4830 } | 4832 } |
| 4831 | 4833 |
| 4832 buildUnnamed1647() { | 4834 buildUnnamed221() { |
| 4833 var o = new core.List<core.String>(); | 4835 var o = new core.List<core.String>(); |
| 4834 o.add("foo"); | 4836 o.add("foo"); |
| 4835 o.add("foo"); | 4837 o.add("foo"); |
| 4836 return o; | 4838 return o; |
| 4837 } | 4839 } |
| 4838 | 4840 |
| 4839 checkUnnamed1647(core.List<core.String> o) { | 4841 checkUnnamed221(core.List<core.String> o) { |
| 4840 unittest.expect(o, unittest.hasLength(2)); | 4842 unittest.expect(o, unittest.hasLength(2)); |
| 4841 unittest.expect(o[0], unittest.equals('foo')); | 4843 unittest.expect(o[0], unittest.equals('foo')); |
| 4842 unittest.expect(o[1], unittest.equals('foo')); | 4844 unittest.expect(o[1], unittest.equals('foo')); |
| 4843 } | 4845 } |
| 4844 | 4846 |
| 4845 buildUnnamed1648() { | 4847 buildUnnamed222() { |
| 4846 var o = new core.List<api.OrderContact>(); | 4848 var o = new core.List<api.OrderContact>(); |
| 4847 o.add(buildOrderContact()); | 4849 o.add(buildOrderContact()); |
| 4848 o.add(buildOrderContact()); | 4850 o.add(buildOrderContact()); |
| 4849 return o; | 4851 return o; |
| 4850 } | 4852 } |
| 4851 | 4853 |
| 4852 checkUnnamed1648(core.List<api.OrderContact> o) { | 4854 checkUnnamed222(core.List<api.OrderContact> o) { |
| 4853 unittest.expect(o, unittest.hasLength(2)); | 4855 unittest.expect(o, unittest.hasLength(2)); |
| 4854 checkOrderContact(o[0]); | 4856 checkOrderContact(o[0]); |
| 4855 checkOrderContact(o[1]); | 4857 checkOrderContact(o[1]); |
| 4856 } | 4858 } |
| 4857 | 4859 |
| 4858 buildUnnamed1649() { | 4860 buildUnnamed223() { |
| 4859 var o = new core.List<core.String>(); | 4861 var o = new core.List<core.String>(); |
| 4860 o.add("foo"); | 4862 o.add("foo"); |
| 4861 o.add("foo"); | 4863 o.add("foo"); |
| 4862 return o; | 4864 return o; |
| 4863 } | 4865 } |
| 4864 | 4866 |
| 4865 checkUnnamed1649(core.List<core.String> o) { | 4867 checkUnnamed223(core.List<core.String> o) { |
| 4866 unittest.expect(o, unittest.hasLength(2)); | 4868 unittest.expect(o, unittest.hasLength(2)); |
| 4867 unittest.expect(o[0], unittest.equals('foo')); | 4869 unittest.expect(o[0], unittest.equals('foo')); |
| 4868 unittest.expect(o[1], unittest.equals('foo')); | 4870 unittest.expect(o[1], unittest.equals('foo')); |
| 4869 } | 4871 } |
| 4870 | 4872 |
| 4871 buildUnnamed1650() { | 4873 buildUnnamed224() { |
| 4872 var o = new core.List<core.String>(); | 4874 var o = new core.List<core.String>(); |
| 4873 o.add("foo"); | 4875 o.add("foo"); |
| 4874 o.add("foo"); | 4876 o.add("foo"); |
| 4875 return o; | 4877 return o; |
| 4876 } | 4878 } |
| 4877 | 4879 |
| 4878 checkUnnamed1650(core.List<core.String> o) { | 4880 checkUnnamed224(core.List<core.String> o) { |
| 4879 unittest.expect(o, unittest.hasLength(2)); | 4881 unittest.expect(o, unittest.hasLength(2)); |
| 4880 unittest.expect(o[0], unittest.equals('foo')); | 4882 unittest.expect(o[0], unittest.equals('foo')); |
| 4881 unittest.expect(o[1], unittest.equals('foo')); | 4883 unittest.expect(o[1], unittest.equals('foo')); |
| 4882 } | 4884 } |
| 4883 | 4885 |
| 4884 core.int buildCounterOrder = 0; | 4886 core.int buildCounterOrder = 0; |
| 4885 buildOrder() { | 4887 buildOrder() { |
| 4886 var o = new api.Order(); | 4888 var o = new api.Order(); |
| 4887 buildCounterOrder++; | 4889 buildCounterOrder++; |
| 4888 if (buildCounterOrder < 3) { | 4890 if (buildCounterOrder < 3) { |
| 4889 o.accountId = "foo"; | 4891 o.accountId = "foo"; |
| 4890 o.advertiserId = "foo"; | 4892 o.advertiserId = "foo"; |
| 4891 o.approverUserProfileIds = buildUnnamed1647(); | 4893 o.approverUserProfileIds = buildUnnamed221(); |
| 4892 o.buyerInvoiceId = "foo"; | 4894 o.buyerInvoiceId = "foo"; |
| 4893 o.buyerOrganizationName = "foo"; | 4895 o.buyerOrganizationName = "foo"; |
| 4894 o.comments = "foo"; | 4896 o.comments = "foo"; |
| 4895 o.contacts = buildUnnamed1648(); | 4897 o.contacts = buildUnnamed222(); |
| 4896 o.id = "foo"; | 4898 o.id = "foo"; |
| 4897 o.kind = "foo"; | 4899 o.kind = "foo"; |
| 4898 o.lastModifiedInfo = buildLastModifiedInfo(); | 4900 o.lastModifiedInfo = buildLastModifiedInfo(); |
| 4899 o.name = "foo"; | 4901 o.name = "foo"; |
| 4900 o.notes = "foo"; | 4902 o.notes = "foo"; |
| 4901 o.planningTermId = "foo"; | 4903 o.planningTermId = "foo"; |
| 4902 o.projectId = "foo"; | 4904 o.projectId = "foo"; |
| 4903 o.sellerOrderId = "foo"; | 4905 o.sellerOrderId = "foo"; |
| 4904 o.sellerOrganizationName = "foo"; | 4906 o.sellerOrganizationName = "foo"; |
| 4905 o.siteId = buildUnnamed1649(); | 4907 o.siteId = buildUnnamed223(); |
| 4906 o.siteNames = buildUnnamed1650(); | 4908 o.siteNames = buildUnnamed224(); |
| 4907 o.subaccountId = "foo"; | 4909 o.subaccountId = "foo"; |
| 4908 o.termsAndConditions = "foo"; | 4910 o.termsAndConditions = "foo"; |
| 4909 } | 4911 } |
| 4910 buildCounterOrder--; | 4912 buildCounterOrder--; |
| 4911 return o; | 4913 return o; |
| 4912 } | 4914 } |
| 4913 | 4915 |
| 4914 checkOrder(api.Order o) { | 4916 checkOrder(api.Order o) { |
| 4915 buildCounterOrder++; | 4917 buildCounterOrder++; |
| 4916 if (buildCounterOrder < 3) { | 4918 if (buildCounterOrder < 3) { |
| 4917 unittest.expect(o.accountId, unittest.equals('foo')); | 4919 unittest.expect(o.accountId, unittest.equals('foo')); |
| 4918 unittest.expect(o.advertiserId, unittest.equals('foo')); | 4920 unittest.expect(o.advertiserId, unittest.equals('foo')); |
| 4919 checkUnnamed1647(o.approverUserProfileIds); | 4921 checkUnnamed221(o.approverUserProfileIds); |
| 4920 unittest.expect(o.buyerInvoiceId, unittest.equals('foo')); | 4922 unittest.expect(o.buyerInvoiceId, unittest.equals('foo')); |
| 4921 unittest.expect(o.buyerOrganizationName, unittest.equals('foo')); | 4923 unittest.expect(o.buyerOrganizationName, unittest.equals('foo')); |
| 4922 unittest.expect(o.comments, unittest.equals('foo')); | 4924 unittest.expect(o.comments, unittest.equals('foo')); |
| 4923 checkUnnamed1648(o.contacts); | 4925 checkUnnamed222(o.contacts); |
| 4924 unittest.expect(o.id, unittest.equals('foo')); | 4926 unittest.expect(o.id, unittest.equals('foo')); |
| 4925 unittest.expect(o.kind, unittest.equals('foo')); | 4927 unittest.expect(o.kind, unittest.equals('foo')); |
| 4926 checkLastModifiedInfo(o.lastModifiedInfo); | 4928 checkLastModifiedInfo(o.lastModifiedInfo); |
| 4927 unittest.expect(o.name, unittest.equals('foo')); | 4929 unittest.expect(o.name, unittest.equals('foo')); |
| 4928 unittest.expect(o.notes, unittest.equals('foo')); | 4930 unittest.expect(o.notes, unittest.equals('foo')); |
| 4929 unittest.expect(o.planningTermId, unittest.equals('foo')); | 4931 unittest.expect(o.planningTermId, unittest.equals('foo')); |
| 4930 unittest.expect(o.projectId, unittest.equals('foo')); | 4932 unittest.expect(o.projectId, unittest.equals('foo')); |
| 4931 unittest.expect(o.sellerOrderId, unittest.equals('foo')); | 4933 unittest.expect(o.sellerOrderId, unittest.equals('foo')); |
| 4932 unittest.expect(o.sellerOrganizationName, unittest.equals('foo')); | 4934 unittest.expect(o.sellerOrganizationName, unittest.equals('foo')); |
| 4933 checkUnnamed1649(o.siteId); | 4935 checkUnnamed223(o.siteId); |
| 4934 checkUnnamed1650(o.siteNames); | 4936 checkUnnamed224(o.siteNames); |
| 4935 unittest.expect(o.subaccountId, unittest.equals('foo')); | 4937 unittest.expect(o.subaccountId, unittest.equals('foo')); |
| 4936 unittest.expect(o.termsAndConditions, unittest.equals('foo')); | 4938 unittest.expect(o.termsAndConditions, unittest.equals('foo')); |
| 4937 } | 4939 } |
| 4938 buildCounterOrder--; | 4940 buildCounterOrder--; |
| 4939 } | 4941 } |
| 4940 | 4942 |
| 4941 core.int buildCounterOrderContact = 0; | 4943 core.int buildCounterOrderContact = 0; |
| 4942 buildOrderContact() { | 4944 buildOrderContact() { |
| 4943 var o = new api.OrderContact(); | 4945 var o = new api.OrderContact(); |
| 4944 buildCounterOrderContact++; | 4946 buildCounterOrderContact++; |
| (...skipping 13 matching lines...) Expand all Loading... |
| 4958 if (buildCounterOrderContact < 3) { | 4960 if (buildCounterOrderContact < 3) { |
| 4959 unittest.expect(o.contactInfo, unittest.equals('foo')); | 4961 unittest.expect(o.contactInfo, unittest.equals('foo')); |
| 4960 unittest.expect(o.contactName, unittest.equals('foo')); | 4962 unittest.expect(o.contactName, unittest.equals('foo')); |
| 4961 unittest.expect(o.contactTitle, unittest.equals('foo')); | 4963 unittest.expect(o.contactTitle, unittest.equals('foo')); |
| 4962 unittest.expect(o.contactType, unittest.equals('foo')); | 4964 unittest.expect(o.contactType, unittest.equals('foo')); |
| 4963 unittest.expect(o.signatureUserProfileId, unittest.equals('foo')); | 4965 unittest.expect(o.signatureUserProfileId, unittest.equals('foo')); |
| 4964 } | 4966 } |
| 4965 buildCounterOrderContact--; | 4967 buildCounterOrderContact--; |
| 4966 } | 4968 } |
| 4967 | 4969 |
| 4968 buildUnnamed1651() { | 4970 buildUnnamed225() { |
| 4969 var o = new core.List<core.String>(); | 4971 var o = new core.List<core.String>(); |
| 4970 o.add("foo"); | 4972 o.add("foo"); |
| 4971 o.add("foo"); | 4973 o.add("foo"); |
| 4972 return o; | 4974 return o; |
| 4973 } | 4975 } |
| 4974 | 4976 |
| 4975 checkUnnamed1651(core.List<core.String> o) { | 4977 checkUnnamed225(core.List<core.String> o) { |
| 4976 unittest.expect(o, unittest.hasLength(2)); | 4978 unittest.expect(o, unittest.hasLength(2)); |
| 4977 unittest.expect(o[0], unittest.equals('foo')); | 4979 unittest.expect(o[0], unittest.equals('foo')); |
| 4978 unittest.expect(o[1], unittest.equals('foo')); | 4980 unittest.expect(o[1], unittest.equals('foo')); |
| 4979 } | 4981 } |
| 4980 | 4982 |
| 4981 buildUnnamed1652() { | 4983 buildUnnamed226() { |
| 4982 var o = new core.List<core.String>(); | 4984 var o = new core.List<core.String>(); |
| 4983 o.add("foo"); | 4985 o.add("foo"); |
| 4984 o.add("foo"); | 4986 o.add("foo"); |
| 4985 return o; | 4987 return o; |
| 4986 } | 4988 } |
| 4987 | 4989 |
| 4988 checkUnnamed1652(core.List<core.String> o) { | 4990 checkUnnamed226(core.List<core.String> o) { |
| 4989 unittest.expect(o, unittest.hasLength(2)); | 4991 unittest.expect(o, unittest.hasLength(2)); |
| 4990 unittest.expect(o[0], unittest.equals('foo')); | 4992 unittest.expect(o[0], unittest.equals('foo')); |
| 4991 unittest.expect(o[1], unittest.equals('foo')); | 4993 unittest.expect(o[1], unittest.equals('foo')); |
| 4992 } | 4994 } |
| 4993 | 4995 |
| 4994 core.int buildCounterOrderDocument = 0; | 4996 core.int buildCounterOrderDocument = 0; |
| 4995 buildOrderDocument() { | 4997 buildOrderDocument() { |
| 4996 var o = new api.OrderDocument(); | 4998 var o = new api.OrderDocument(); |
| 4997 buildCounterOrderDocument++; | 4999 buildCounterOrderDocument++; |
| 4998 if (buildCounterOrderDocument < 3) { | 5000 if (buildCounterOrderDocument < 3) { |
| 4999 o.accountId = "foo"; | 5001 o.accountId = "foo"; |
| 5000 o.advertiserId = "foo"; | 5002 o.advertiserId = "foo"; |
| 5001 o.amendedOrderDocumentId = "foo"; | 5003 o.amendedOrderDocumentId = "foo"; |
| 5002 o.approvedByUserProfileIds = buildUnnamed1651(); | 5004 o.approvedByUserProfileIds = buildUnnamed225(); |
| 5003 o.cancelled = true; | 5005 o.cancelled = true; |
| 5004 o.createdInfo = buildLastModifiedInfo(); | 5006 o.createdInfo = buildLastModifiedInfo(); |
| 5005 o.effectiveDate = core.DateTime.parse("2002-02-27T14:01:02Z"); | 5007 o.effectiveDate = core.DateTime.parse("2002-02-27T14:01:02Z"); |
| 5006 o.id = "foo"; | 5008 o.id = "foo"; |
| 5007 o.kind = "foo"; | 5009 o.kind = "foo"; |
| 5008 o.lastSentRecipients = buildUnnamed1652(); | 5010 o.lastSentRecipients = buildUnnamed226(); |
| 5009 o.lastSentTime = core.DateTime.parse("2002-02-27T14:01:02"); | 5011 o.lastSentTime = core.DateTime.parse("2002-02-27T14:01:02"); |
| 5010 o.orderId = "foo"; | 5012 o.orderId = "foo"; |
| 5011 o.projectId = "foo"; | 5013 o.projectId = "foo"; |
| 5012 o.signed = true; | 5014 o.signed = true; |
| 5013 o.subaccountId = "foo"; | 5015 o.subaccountId = "foo"; |
| 5014 o.title = "foo"; | 5016 o.title = "foo"; |
| 5015 o.type = "foo"; | 5017 o.type = "foo"; |
| 5016 } | 5018 } |
| 5017 buildCounterOrderDocument--; | 5019 buildCounterOrderDocument--; |
| 5018 return o; | 5020 return o; |
| 5019 } | 5021 } |
| 5020 | 5022 |
| 5021 checkOrderDocument(api.OrderDocument o) { | 5023 checkOrderDocument(api.OrderDocument o) { |
| 5022 buildCounterOrderDocument++; | 5024 buildCounterOrderDocument++; |
| 5023 if (buildCounterOrderDocument < 3) { | 5025 if (buildCounterOrderDocument < 3) { |
| 5024 unittest.expect(o.accountId, unittest.equals('foo')); | 5026 unittest.expect(o.accountId, unittest.equals('foo')); |
| 5025 unittest.expect(o.advertiserId, unittest.equals('foo')); | 5027 unittest.expect(o.advertiserId, unittest.equals('foo')); |
| 5026 unittest.expect(o.amendedOrderDocumentId, unittest.equals('foo')); | 5028 unittest.expect(o.amendedOrderDocumentId, unittest.equals('foo')); |
| 5027 checkUnnamed1651(o.approvedByUserProfileIds); | 5029 checkUnnamed225(o.approvedByUserProfileIds); |
| 5028 unittest.expect(o.cancelled, unittest.isTrue); | 5030 unittest.expect(o.cancelled, unittest.isTrue); |
| 5029 checkLastModifiedInfo(o.createdInfo); | 5031 checkLastModifiedInfo(o.createdInfo); |
| 5030 unittest.expect(o.effectiveDate, unittest.equals(core.DateTime.parse("2002-0
2-27T00:00:00"))); | 5032 unittest.expect(o.effectiveDate, unittest.equals(core.DateTime.parse("2002-0
2-27T00:00:00"))); |
| 5031 unittest.expect(o.id, unittest.equals('foo')); | 5033 unittest.expect(o.id, unittest.equals('foo')); |
| 5032 unittest.expect(o.kind, unittest.equals('foo')); | 5034 unittest.expect(o.kind, unittest.equals('foo')); |
| 5033 checkUnnamed1652(o.lastSentRecipients); | 5035 checkUnnamed226(o.lastSentRecipients); |
| 5034 unittest.expect(o.lastSentTime, unittest.equals(core.DateTime.parse("2002-02
-27T14:01:02"))); | 5036 unittest.expect(o.lastSentTime, unittest.equals(core.DateTime.parse("2002-02
-27T14:01:02"))); |
| 5035 unittest.expect(o.orderId, unittest.equals('foo')); | 5037 unittest.expect(o.orderId, unittest.equals('foo')); |
| 5036 unittest.expect(o.projectId, unittest.equals('foo')); | 5038 unittest.expect(o.projectId, unittest.equals('foo')); |
| 5037 unittest.expect(o.signed, unittest.isTrue); | 5039 unittest.expect(o.signed, unittest.isTrue); |
| 5038 unittest.expect(o.subaccountId, unittest.equals('foo')); | 5040 unittest.expect(o.subaccountId, unittest.equals('foo')); |
| 5039 unittest.expect(o.title, unittest.equals('foo')); | 5041 unittest.expect(o.title, unittest.equals('foo')); |
| 5040 unittest.expect(o.type, unittest.equals('foo')); | 5042 unittest.expect(o.type, unittest.equals('foo')); |
| 5041 } | 5043 } |
| 5042 buildCounterOrderDocument--; | 5044 buildCounterOrderDocument--; |
| 5043 } | 5045 } |
| 5044 | 5046 |
| 5045 buildUnnamed1653() { | 5047 buildUnnamed227() { |
| 5046 var o = new core.List<api.OrderDocument>(); | 5048 var o = new core.List<api.OrderDocument>(); |
| 5047 o.add(buildOrderDocument()); | 5049 o.add(buildOrderDocument()); |
| 5048 o.add(buildOrderDocument()); | 5050 o.add(buildOrderDocument()); |
| 5049 return o; | 5051 return o; |
| 5050 } | 5052 } |
| 5051 | 5053 |
| 5052 checkUnnamed1653(core.List<api.OrderDocument> o) { | 5054 checkUnnamed227(core.List<api.OrderDocument> o) { |
| 5053 unittest.expect(o, unittest.hasLength(2)); | 5055 unittest.expect(o, unittest.hasLength(2)); |
| 5054 checkOrderDocument(o[0]); | 5056 checkOrderDocument(o[0]); |
| 5055 checkOrderDocument(o[1]); | 5057 checkOrderDocument(o[1]); |
| 5056 } | 5058 } |
| 5057 | 5059 |
| 5058 core.int buildCounterOrderDocumentsListResponse = 0; | 5060 core.int buildCounterOrderDocumentsListResponse = 0; |
| 5059 buildOrderDocumentsListResponse() { | 5061 buildOrderDocumentsListResponse() { |
| 5060 var o = new api.OrderDocumentsListResponse(); | 5062 var o = new api.OrderDocumentsListResponse(); |
| 5061 buildCounterOrderDocumentsListResponse++; | 5063 buildCounterOrderDocumentsListResponse++; |
| 5062 if (buildCounterOrderDocumentsListResponse < 3) { | 5064 if (buildCounterOrderDocumentsListResponse < 3) { |
| 5063 o.kind = "foo"; | 5065 o.kind = "foo"; |
| 5064 o.nextPageToken = "foo"; | 5066 o.nextPageToken = "foo"; |
| 5065 o.orderDocuments = buildUnnamed1653(); | 5067 o.orderDocuments = buildUnnamed227(); |
| 5066 } | 5068 } |
| 5067 buildCounterOrderDocumentsListResponse--; | 5069 buildCounterOrderDocumentsListResponse--; |
| 5068 return o; | 5070 return o; |
| 5069 } | 5071 } |
| 5070 | 5072 |
| 5071 checkOrderDocumentsListResponse(api.OrderDocumentsListResponse o) { | 5073 checkOrderDocumentsListResponse(api.OrderDocumentsListResponse o) { |
| 5072 buildCounterOrderDocumentsListResponse++; | 5074 buildCounterOrderDocumentsListResponse++; |
| 5073 if (buildCounterOrderDocumentsListResponse < 3) { | 5075 if (buildCounterOrderDocumentsListResponse < 3) { |
| 5074 unittest.expect(o.kind, unittest.equals('foo')); | 5076 unittest.expect(o.kind, unittest.equals('foo')); |
| 5075 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 5077 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 5076 checkUnnamed1653(o.orderDocuments); | 5078 checkUnnamed227(o.orderDocuments); |
| 5077 } | 5079 } |
| 5078 buildCounterOrderDocumentsListResponse--; | 5080 buildCounterOrderDocumentsListResponse--; |
| 5079 } | 5081 } |
| 5080 | 5082 |
| 5081 buildUnnamed1654() { | 5083 buildUnnamed228() { |
| 5082 var o = new core.List<api.Order>(); | 5084 var o = new core.List<api.Order>(); |
| 5083 o.add(buildOrder()); | 5085 o.add(buildOrder()); |
| 5084 o.add(buildOrder()); | 5086 o.add(buildOrder()); |
| 5085 return o; | 5087 return o; |
| 5086 } | 5088 } |
| 5087 | 5089 |
| 5088 checkUnnamed1654(core.List<api.Order> o) { | 5090 checkUnnamed228(core.List<api.Order> o) { |
| 5089 unittest.expect(o, unittest.hasLength(2)); | 5091 unittest.expect(o, unittest.hasLength(2)); |
| 5090 checkOrder(o[0]); | 5092 checkOrder(o[0]); |
| 5091 checkOrder(o[1]); | 5093 checkOrder(o[1]); |
| 5092 } | 5094 } |
| 5093 | 5095 |
| 5094 core.int buildCounterOrdersListResponse = 0; | 5096 core.int buildCounterOrdersListResponse = 0; |
| 5095 buildOrdersListResponse() { | 5097 buildOrdersListResponse() { |
| 5096 var o = new api.OrdersListResponse(); | 5098 var o = new api.OrdersListResponse(); |
| 5097 buildCounterOrdersListResponse++; | 5099 buildCounterOrdersListResponse++; |
| 5098 if (buildCounterOrdersListResponse < 3) { | 5100 if (buildCounterOrdersListResponse < 3) { |
| 5099 o.kind = "foo"; | 5101 o.kind = "foo"; |
| 5100 o.nextPageToken = "foo"; | 5102 o.nextPageToken = "foo"; |
| 5101 o.orders = buildUnnamed1654(); | 5103 o.orders = buildUnnamed228(); |
| 5102 } | 5104 } |
| 5103 buildCounterOrdersListResponse--; | 5105 buildCounterOrdersListResponse--; |
| 5104 return o; | 5106 return o; |
| 5105 } | 5107 } |
| 5106 | 5108 |
| 5107 checkOrdersListResponse(api.OrdersListResponse o) { | 5109 checkOrdersListResponse(api.OrdersListResponse o) { |
| 5108 buildCounterOrdersListResponse++; | 5110 buildCounterOrdersListResponse++; |
| 5109 if (buildCounterOrdersListResponse < 3) { | 5111 if (buildCounterOrdersListResponse < 3) { |
| 5110 unittest.expect(o.kind, unittest.equals('foo')); | 5112 unittest.expect(o.kind, unittest.equals('foo')); |
| 5111 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 5113 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 5112 checkUnnamed1654(o.orders); | 5114 checkUnnamed228(o.orders); |
| 5113 } | 5115 } |
| 5114 buildCounterOrdersListResponse--; | 5116 buildCounterOrdersListResponse--; |
| 5115 } | 5117 } |
| 5116 | 5118 |
| 5117 buildUnnamed1655() { | 5119 buildUnnamed229() { |
| 5118 var o = new core.List<api.Dimension>(); | 5120 var o = new core.List<api.Dimension>(); |
| 5119 o.add(buildDimension()); | 5121 o.add(buildDimension()); |
| 5120 o.add(buildDimension()); | 5122 o.add(buildDimension()); |
| 5121 return o; | 5123 return o; |
| 5122 } | 5124 } |
| 5123 | 5125 |
| 5124 checkUnnamed1655(core.List<api.Dimension> o) { | 5126 checkUnnamed229(core.List<api.Dimension> o) { |
| 5125 unittest.expect(o, unittest.hasLength(2)); | 5127 unittest.expect(o, unittest.hasLength(2)); |
| 5126 checkDimension(o[0]); | 5128 checkDimension(o[0]); |
| 5127 checkDimension(o[1]); | 5129 checkDimension(o[1]); |
| 5128 } | 5130 } |
| 5129 | 5131 |
| 5130 buildUnnamed1656() { | 5132 buildUnnamed230() { |
| 5131 var o = new core.List<api.Dimension>(); | 5133 var o = new core.List<api.Dimension>(); |
| 5132 o.add(buildDimension()); | 5134 o.add(buildDimension()); |
| 5133 o.add(buildDimension()); | 5135 o.add(buildDimension()); |
| 5134 return o; | 5136 return o; |
| 5135 } | 5137 } |
| 5136 | 5138 |
| 5137 checkUnnamed1656(core.List<api.Dimension> o) { | 5139 checkUnnamed230(core.List<api.Dimension> o) { |
| 5138 unittest.expect(o, unittest.hasLength(2)); | 5140 unittest.expect(o, unittest.hasLength(2)); |
| 5139 checkDimension(o[0]); | 5141 checkDimension(o[0]); |
| 5140 checkDimension(o[1]); | 5142 checkDimension(o[1]); |
| 5141 } | 5143 } |
| 5142 | 5144 |
| 5143 buildUnnamed1657() { | 5145 buildUnnamed231() { |
| 5144 var o = new core.List<api.Metric>(); | 5146 var o = new core.List<api.Metric>(); |
| 5145 o.add(buildMetric()); | 5147 o.add(buildMetric()); |
| 5146 o.add(buildMetric()); | 5148 o.add(buildMetric()); |
| 5147 return o; | 5149 return o; |
| 5148 } | 5150 } |
| 5149 | 5151 |
| 5150 checkUnnamed1657(core.List<api.Metric> o) { | 5152 checkUnnamed231(core.List<api.Metric> o) { |
| 5151 unittest.expect(o, unittest.hasLength(2)); | 5153 unittest.expect(o, unittest.hasLength(2)); |
| 5152 checkMetric(o[0]); | 5154 checkMetric(o[0]); |
| 5153 checkMetric(o[1]); | 5155 checkMetric(o[1]); |
| 5154 } | 5156 } |
| 5155 | 5157 |
| 5156 buildUnnamed1658() { | 5158 buildUnnamed232() { |
| 5157 var o = new core.List<api.Dimension>(); | 5159 var o = new core.List<api.Dimension>(); |
| 5158 o.add(buildDimension()); | 5160 o.add(buildDimension()); |
| 5159 o.add(buildDimension()); | 5161 o.add(buildDimension()); |
| 5160 return o; | 5162 return o; |
| 5161 } | 5163 } |
| 5162 | 5164 |
| 5163 checkUnnamed1658(core.List<api.Dimension> o) { | 5165 checkUnnamed232(core.List<api.Dimension> o) { |
| 5164 unittest.expect(o, unittest.hasLength(2)); | 5166 unittest.expect(o, unittest.hasLength(2)); |
| 5165 checkDimension(o[0]); | 5167 checkDimension(o[0]); |
| 5166 checkDimension(o[1]); | 5168 checkDimension(o[1]); |
| 5167 } | 5169 } |
| 5168 | 5170 |
| 5169 core.int buildCounterPathToConversionReportCompatibleFields = 0; | 5171 core.int buildCounterPathToConversionReportCompatibleFields = 0; |
| 5170 buildPathToConversionReportCompatibleFields() { | 5172 buildPathToConversionReportCompatibleFields() { |
| 5171 var o = new api.PathToConversionReportCompatibleFields(); | 5173 var o = new api.PathToConversionReportCompatibleFields(); |
| 5172 buildCounterPathToConversionReportCompatibleFields++; | 5174 buildCounterPathToConversionReportCompatibleFields++; |
| 5173 if (buildCounterPathToConversionReportCompatibleFields < 3) { | 5175 if (buildCounterPathToConversionReportCompatibleFields < 3) { |
| 5174 o.conversionDimensions = buildUnnamed1655(); | 5176 o.conversionDimensions = buildUnnamed229(); |
| 5175 o.customFloodlightVariables = buildUnnamed1656(); | 5177 o.customFloodlightVariables = buildUnnamed230(); |
| 5176 o.kind = "foo"; | 5178 o.kind = "foo"; |
| 5177 o.metrics = buildUnnamed1657(); | 5179 o.metrics = buildUnnamed231(); |
| 5178 o.perInteractionDimensions = buildUnnamed1658(); | 5180 o.perInteractionDimensions = buildUnnamed232(); |
| 5179 } | 5181 } |
| 5180 buildCounterPathToConversionReportCompatibleFields--; | 5182 buildCounterPathToConversionReportCompatibleFields--; |
| 5181 return o; | 5183 return o; |
| 5182 } | 5184 } |
| 5183 | 5185 |
| 5184 checkPathToConversionReportCompatibleFields(api.PathToConversionReportCompatible
Fields o) { | 5186 checkPathToConversionReportCompatibleFields(api.PathToConversionReportCompatible
Fields o) { |
| 5185 buildCounterPathToConversionReportCompatibleFields++; | 5187 buildCounterPathToConversionReportCompatibleFields++; |
| 5186 if (buildCounterPathToConversionReportCompatibleFields < 3) { | 5188 if (buildCounterPathToConversionReportCompatibleFields < 3) { |
| 5187 checkUnnamed1655(o.conversionDimensions); | 5189 checkUnnamed229(o.conversionDimensions); |
| 5188 checkUnnamed1656(o.customFloodlightVariables); | 5190 checkUnnamed230(o.customFloodlightVariables); |
| 5189 unittest.expect(o.kind, unittest.equals('foo')); | 5191 unittest.expect(o.kind, unittest.equals('foo')); |
| 5190 checkUnnamed1657(o.metrics); | 5192 checkUnnamed231(o.metrics); |
| 5191 checkUnnamed1658(o.perInteractionDimensions); | 5193 checkUnnamed232(o.perInteractionDimensions); |
| 5192 } | 5194 } |
| 5193 buildCounterPathToConversionReportCompatibleFields--; | 5195 buildCounterPathToConversionReportCompatibleFields--; |
| 5194 } | 5196 } |
| 5195 | 5197 |
| 5196 buildUnnamed1659() { | 5198 buildUnnamed233() { |
| 5197 var o = new core.List<core.String>(); | 5199 var o = new core.List<core.String>(); |
| 5198 o.add("foo"); | 5200 o.add("foo"); |
| 5199 o.add("foo"); | 5201 o.add("foo"); |
| 5200 return o; | 5202 return o; |
| 5201 } | 5203 } |
| 5202 | 5204 |
| 5203 checkUnnamed1659(core.List<core.String> o) { | 5205 checkUnnamed233(core.List<core.String> o) { |
| 5204 unittest.expect(o, unittest.hasLength(2)); | 5206 unittest.expect(o, unittest.hasLength(2)); |
| 5205 unittest.expect(o[0], unittest.equals('foo')); | 5207 unittest.expect(o[0], unittest.equals('foo')); |
| 5206 unittest.expect(o[1], unittest.equals('foo')); | 5208 unittest.expect(o[1], unittest.equals('foo')); |
| 5207 } | 5209 } |
| 5208 | 5210 |
| 5209 core.int buildCounterPlacement = 0; | 5211 core.int buildCounterPlacement = 0; |
| 5210 buildPlacement() { | 5212 buildPlacement() { |
| 5211 var o = new api.Placement(); | 5213 var o = new api.Placement(); |
| 5212 buildCounterPlacement++; | 5214 buildCounterPlacement++; |
| 5213 if (buildCounterPlacement < 3) { | 5215 if (buildCounterPlacement < 3) { |
| (...skipping 24 matching lines...) Expand all Loading... |
| 5238 o.placementStrategyId = "foo"; | 5240 o.placementStrategyId = "foo"; |
| 5239 o.pricingSchedule = buildPricingSchedule(); | 5241 o.pricingSchedule = buildPricingSchedule(); |
| 5240 o.primary = true; | 5242 o.primary = true; |
| 5241 o.publisherUpdateInfo = buildLastModifiedInfo(); | 5243 o.publisherUpdateInfo = buildLastModifiedInfo(); |
| 5242 o.siteId = "foo"; | 5244 o.siteId = "foo"; |
| 5243 o.siteIdDimensionValue = buildDimensionValue(); | 5245 o.siteIdDimensionValue = buildDimensionValue(); |
| 5244 o.size = buildSize(); | 5246 o.size = buildSize(); |
| 5245 o.sslRequired = true; | 5247 o.sslRequired = true; |
| 5246 o.status = "foo"; | 5248 o.status = "foo"; |
| 5247 o.subaccountId = "foo"; | 5249 o.subaccountId = "foo"; |
| 5248 o.tagFormats = buildUnnamed1659(); | 5250 o.tagFormats = buildUnnamed233(); |
| 5249 o.tagSetting = buildTagSetting(); | 5251 o.tagSetting = buildTagSetting(); |
| 5250 } | 5252 } |
| 5251 buildCounterPlacement--; | 5253 buildCounterPlacement--; |
| 5252 return o; | 5254 return o; |
| 5253 } | 5255 } |
| 5254 | 5256 |
| 5255 checkPlacement(api.Placement o) { | 5257 checkPlacement(api.Placement o) { |
| 5256 buildCounterPlacement++; | 5258 buildCounterPlacement++; |
| 5257 if (buildCounterPlacement < 3) { | 5259 if (buildCounterPlacement < 3) { |
| 5258 unittest.expect(o.accountId, unittest.equals('foo')); | 5260 unittest.expect(o.accountId, unittest.equals('foo')); |
| (...skipping 23 matching lines...) Expand all Loading... |
| 5282 unittest.expect(o.placementStrategyId, unittest.equals('foo')); | 5284 unittest.expect(o.placementStrategyId, unittest.equals('foo')); |
| 5283 checkPricingSchedule(o.pricingSchedule); | 5285 checkPricingSchedule(o.pricingSchedule); |
| 5284 unittest.expect(o.primary, unittest.isTrue); | 5286 unittest.expect(o.primary, unittest.isTrue); |
| 5285 checkLastModifiedInfo(o.publisherUpdateInfo); | 5287 checkLastModifiedInfo(o.publisherUpdateInfo); |
| 5286 unittest.expect(o.siteId, unittest.equals('foo')); | 5288 unittest.expect(o.siteId, unittest.equals('foo')); |
| 5287 checkDimensionValue(o.siteIdDimensionValue); | 5289 checkDimensionValue(o.siteIdDimensionValue); |
| 5288 checkSize(o.size); | 5290 checkSize(o.size); |
| 5289 unittest.expect(o.sslRequired, unittest.isTrue); | 5291 unittest.expect(o.sslRequired, unittest.isTrue); |
| 5290 unittest.expect(o.status, unittest.equals('foo')); | 5292 unittest.expect(o.status, unittest.equals('foo')); |
| 5291 unittest.expect(o.subaccountId, unittest.equals('foo')); | 5293 unittest.expect(o.subaccountId, unittest.equals('foo')); |
| 5292 checkUnnamed1659(o.tagFormats); | 5294 checkUnnamed233(o.tagFormats); |
| 5293 checkTagSetting(o.tagSetting); | 5295 checkTagSetting(o.tagSetting); |
| 5294 } | 5296 } |
| 5295 buildCounterPlacement--; | 5297 buildCounterPlacement--; |
| 5296 } | 5298 } |
| 5297 | 5299 |
| 5298 core.int buildCounterPlacementAssignment = 0; | 5300 core.int buildCounterPlacementAssignment = 0; |
| 5299 buildPlacementAssignment() { | 5301 buildPlacementAssignment() { |
| 5300 var o = new api.PlacementAssignment(); | 5302 var o = new api.PlacementAssignment(); |
| 5301 buildCounterPlacementAssignment++; | 5303 buildCounterPlacementAssignment++; |
| 5302 if (buildCounterPlacementAssignment < 3) { | 5304 if (buildCounterPlacementAssignment < 3) { |
| (...skipping 10 matching lines...) Expand all Loading... |
| 5313 buildCounterPlacementAssignment++; | 5315 buildCounterPlacementAssignment++; |
| 5314 if (buildCounterPlacementAssignment < 3) { | 5316 if (buildCounterPlacementAssignment < 3) { |
| 5315 unittest.expect(o.active, unittest.isTrue); | 5317 unittest.expect(o.active, unittest.isTrue); |
| 5316 unittest.expect(o.placementId, unittest.equals('foo')); | 5318 unittest.expect(o.placementId, unittest.equals('foo')); |
| 5317 checkDimensionValue(o.placementIdDimensionValue); | 5319 checkDimensionValue(o.placementIdDimensionValue); |
| 5318 unittest.expect(o.sslRequired, unittest.isTrue); | 5320 unittest.expect(o.sslRequired, unittest.isTrue); |
| 5319 } | 5321 } |
| 5320 buildCounterPlacementAssignment--; | 5322 buildCounterPlacementAssignment--; |
| 5321 } | 5323 } |
| 5322 | 5324 |
| 5323 buildUnnamed1660() { | 5325 buildUnnamed234() { |
| 5324 var o = new core.List<core.String>(); | 5326 var o = new core.List<core.String>(); |
| 5325 o.add("foo"); | 5327 o.add("foo"); |
| 5326 o.add("foo"); | 5328 o.add("foo"); |
| 5327 return o; | 5329 return o; |
| 5328 } | 5330 } |
| 5329 | 5331 |
| 5330 checkUnnamed1660(core.List<core.String> o) { | 5332 checkUnnamed234(core.List<core.String> o) { |
| 5331 unittest.expect(o, unittest.hasLength(2)); | 5333 unittest.expect(o, unittest.hasLength(2)); |
| 5332 unittest.expect(o[0], unittest.equals('foo')); | 5334 unittest.expect(o[0], unittest.equals('foo')); |
| 5333 unittest.expect(o[1], unittest.equals('foo')); | 5335 unittest.expect(o[1], unittest.equals('foo')); |
| 5334 } | 5336 } |
| 5335 | 5337 |
| 5336 core.int buildCounterPlacementGroup = 0; | 5338 core.int buildCounterPlacementGroup = 0; |
| 5337 buildPlacementGroup() { | 5339 buildPlacementGroup() { |
| 5338 var o = new api.PlacementGroup(); | 5340 var o = new api.PlacementGroup(); |
| 5339 buildCounterPlacementGroup++; | 5341 buildCounterPlacementGroup++; |
| 5340 if (buildCounterPlacementGroup < 3) { | 5342 if (buildCounterPlacementGroup < 3) { |
| 5341 o.accountId = "foo"; | 5343 o.accountId = "foo"; |
| 5342 o.advertiserId = "foo"; | 5344 o.advertiserId = "foo"; |
| 5343 o.advertiserIdDimensionValue = buildDimensionValue(); | 5345 o.advertiserIdDimensionValue = buildDimensionValue(); |
| 5344 o.archived = true; | 5346 o.archived = true; |
| 5345 o.campaignId = "foo"; | 5347 o.campaignId = "foo"; |
| 5346 o.campaignIdDimensionValue = buildDimensionValue(); | 5348 o.campaignIdDimensionValue = buildDimensionValue(); |
| 5347 o.childPlacementIds = buildUnnamed1660(); | 5349 o.childPlacementIds = buildUnnamed234(); |
| 5348 o.comment = "foo"; | 5350 o.comment = "foo"; |
| 5349 o.contentCategoryId = "foo"; | 5351 o.contentCategoryId = "foo"; |
| 5350 o.createInfo = buildLastModifiedInfo(); | 5352 o.createInfo = buildLastModifiedInfo(); |
| 5351 o.directorySiteId = "foo"; | 5353 o.directorySiteId = "foo"; |
| 5352 o.directorySiteIdDimensionValue = buildDimensionValue(); | 5354 o.directorySiteIdDimensionValue = buildDimensionValue(); |
| 5353 o.externalId = "foo"; | 5355 o.externalId = "foo"; |
| 5354 o.id = "foo"; | 5356 o.id = "foo"; |
| 5355 o.idDimensionValue = buildDimensionValue(); | 5357 o.idDimensionValue = buildDimensionValue(); |
| 5356 o.kind = "foo"; | 5358 o.kind = "foo"; |
| 5357 o.lastModifiedInfo = buildLastModifiedInfo(); | 5359 o.lastModifiedInfo = buildLastModifiedInfo(); |
| (...skipping 13 matching lines...) Expand all Loading... |
| 5371 | 5373 |
| 5372 checkPlacementGroup(api.PlacementGroup o) { | 5374 checkPlacementGroup(api.PlacementGroup o) { |
| 5373 buildCounterPlacementGroup++; | 5375 buildCounterPlacementGroup++; |
| 5374 if (buildCounterPlacementGroup < 3) { | 5376 if (buildCounterPlacementGroup < 3) { |
| 5375 unittest.expect(o.accountId, unittest.equals('foo')); | 5377 unittest.expect(o.accountId, unittest.equals('foo')); |
| 5376 unittest.expect(o.advertiserId, unittest.equals('foo')); | 5378 unittest.expect(o.advertiserId, unittest.equals('foo')); |
| 5377 checkDimensionValue(o.advertiserIdDimensionValue); | 5379 checkDimensionValue(o.advertiserIdDimensionValue); |
| 5378 unittest.expect(o.archived, unittest.isTrue); | 5380 unittest.expect(o.archived, unittest.isTrue); |
| 5379 unittest.expect(o.campaignId, unittest.equals('foo')); | 5381 unittest.expect(o.campaignId, unittest.equals('foo')); |
| 5380 checkDimensionValue(o.campaignIdDimensionValue); | 5382 checkDimensionValue(o.campaignIdDimensionValue); |
| 5381 checkUnnamed1660(o.childPlacementIds); | 5383 checkUnnamed234(o.childPlacementIds); |
| 5382 unittest.expect(o.comment, unittest.equals('foo')); | 5384 unittest.expect(o.comment, unittest.equals('foo')); |
| 5383 unittest.expect(o.contentCategoryId, unittest.equals('foo')); | 5385 unittest.expect(o.contentCategoryId, unittest.equals('foo')); |
| 5384 checkLastModifiedInfo(o.createInfo); | 5386 checkLastModifiedInfo(o.createInfo); |
| 5385 unittest.expect(o.directorySiteId, unittest.equals('foo')); | 5387 unittest.expect(o.directorySiteId, unittest.equals('foo')); |
| 5386 checkDimensionValue(o.directorySiteIdDimensionValue); | 5388 checkDimensionValue(o.directorySiteIdDimensionValue); |
| 5387 unittest.expect(o.externalId, unittest.equals('foo')); | 5389 unittest.expect(o.externalId, unittest.equals('foo')); |
| 5388 unittest.expect(o.id, unittest.equals('foo')); | 5390 unittest.expect(o.id, unittest.equals('foo')); |
| 5389 checkDimensionValue(o.idDimensionValue); | 5391 checkDimensionValue(o.idDimensionValue); |
| 5390 unittest.expect(o.kind, unittest.equals('foo')); | 5392 unittest.expect(o.kind, unittest.equals('foo')); |
| 5391 checkLastModifiedInfo(o.lastModifiedInfo); | 5393 checkLastModifiedInfo(o.lastModifiedInfo); |
| 5392 unittest.expect(o.name, unittest.equals('foo')); | 5394 unittest.expect(o.name, unittest.equals('foo')); |
| 5393 unittest.expect(o.placementGroupType, unittest.equals('foo')); | 5395 unittest.expect(o.placementGroupType, unittest.equals('foo')); |
| 5394 unittest.expect(o.placementStrategyId, unittest.equals('foo')); | 5396 unittest.expect(o.placementStrategyId, unittest.equals('foo')); |
| 5395 checkPricingSchedule(o.pricingSchedule); | 5397 checkPricingSchedule(o.pricingSchedule); |
| 5396 unittest.expect(o.primaryPlacementId, unittest.equals('foo')); | 5398 unittest.expect(o.primaryPlacementId, unittest.equals('foo')); |
| 5397 checkDimensionValue(o.primaryPlacementIdDimensionValue); | 5399 checkDimensionValue(o.primaryPlacementIdDimensionValue); |
| 5398 unittest.expect(o.siteId, unittest.equals('foo')); | 5400 unittest.expect(o.siteId, unittest.equals('foo')); |
| 5399 checkDimensionValue(o.siteIdDimensionValue); | 5401 checkDimensionValue(o.siteIdDimensionValue); |
| 5400 unittest.expect(o.subaccountId, unittest.equals('foo')); | 5402 unittest.expect(o.subaccountId, unittest.equals('foo')); |
| 5401 } | 5403 } |
| 5402 buildCounterPlacementGroup--; | 5404 buildCounterPlacementGroup--; |
| 5403 } | 5405 } |
| 5404 | 5406 |
| 5405 buildUnnamed1661() { | 5407 buildUnnamed235() { |
| 5406 var o = new core.List<api.PlacementGroup>(); | 5408 var o = new core.List<api.PlacementGroup>(); |
| 5407 o.add(buildPlacementGroup()); | 5409 o.add(buildPlacementGroup()); |
| 5408 o.add(buildPlacementGroup()); | 5410 o.add(buildPlacementGroup()); |
| 5409 return o; | 5411 return o; |
| 5410 } | 5412 } |
| 5411 | 5413 |
| 5412 checkUnnamed1661(core.List<api.PlacementGroup> o) { | 5414 checkUnnamed235(core.List<api.PlacementGroup> o) { |
| 5413 unittest.expect(o, unittest.hasLength(2)); | 5415 unittest.expect(o, unittest.hasLength(2)); |
| 5414 checkPlacementGroup(o[0]); | 5416 checkPlacementGroup(o[0]); |
| 5415 checkPlacementGroup(o[1]); | 5417 checkPlacementGroup(o[1]); |
| 5416 } | 5418 } |
| 5417 | 5419 |
| 5418 core.int buildCounterPlacementGroupsListResponse = 0; | 5420 core.int buildCounterPlacementGroupsListResponse = 0; |
| 5419 buildPlacementGroupsListResponse() { | 5421 buildPlacementGroupsListResponse() { |
| 5420 var o = new api.PlacementGroupsListResponse(); | 5422 var o = new api.PlacementGroupsListResponse(); |
| 5421 buildCounterPlacementGroupsListResponse++; | 5423 buildCounterPlacementGroupsListResponse++; |
| 5422 if (buildCounterPlacementGroupsListResponse < 3) { | 5424 if (buildCounterPlacementGroupsListResponse < 3) { |
| 5423 o.kind = "foo"; | 5425 o.kind = "foo"; |
| 5424 o.nextPageToken = "foo"; | 5426 o.nextPageToken = "foo"; |
| 5425 o.placementGroups = buildUnnamed1661(); | 5427 o.placementGroups = buildUnnamed235(); |
| 5426 } | 5428 } |
| 5427 buildCounterPlacementGroupsListResponse--; | 5429 buildCounterPlacementGroupsListResponse--; |
| 5428 return o; | 5430 return o; |
| 5429 } | 5431 } |
| 5430 | 5432 |
| 5431 checkPlacementGroupsListResponse(api.PlacementGroupsListResponse o) { | 5433 checkPlacementGroupsListResponse(api.PlacementGroupsListResponse o) { |
| 5432 buildCounterPlacementGroupsListResponse++; | 5434 buildCounterPlacementGroupsListResponse++; |
| 5433 if (buildCounterPlacementGroupsListResponse < 3) { | 5435 if (buildCounterPlacementGroupsListResponse < 3) { |
| 5434 unittest.expect(o.kind, unittest.equals('foo')); | 5436 unittest.expect(o.kind, unittest.equals('foo')); |
| 5435 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 5437 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 5436 checkUnnamed1661(o.placementGroups); | 5438 checkUnnamed235(o.placementGroups); |
| 5437 } | 5439 } |
| 5438 buildCounterPlacementGroupsListResponse--; | 5440 buildCounterPlacementGroupsListResponse--; |
| 5439 } | 5441 } |
| 5440 | 5442 |
| 5441 buildUnnamed1662() { | 5443 buildUnnamed236() { |
| 5442 var o = new core.List<api.PlacementStrategy>(); | 5444 var o = new core.List<api.PlacementStrategy>(); |
| 5443 o.add(buildPlacementStrategy()); | 5445 o.add(buildPlacementStrategy()); |
| 5444 o.add(buildPlacementStrategy()); | 5446 o.add(buildPlacementStrategy()); |
| 5445 return o; | 5447 return o; |
| 5446 } | 5448 } |
| 5447 | 5449 |
| 5448 checkUnnamed1662(core.List<api.PlacementStrategy> o) { | 5450 checkUnnamed236(core.List<api.PlacementStrategy> o) { |
| 5449 unittest.expect(o, unittest.hasLength(2)); | 5451 unittest.expect(o, unittest.hasLength(2)); |
| 5450 checkPlacementStrategy(o[0]); | 5452 checkPlacementStrategy(o[0]); |
| 5451 checkPlacementStrategy(o[1]); | 5453 checkPlacementStrategy(o[1]); |
| 5452 } | 5454 } |
| 5453 | 5455 |
| 5454 core.int buildCounterPlacementStrategiesListResponse = 0; | 5456 core.int buildCounterPlacementStrategiesListResponse = 0; |
| 5455 buildPlacementStrategiesListResponse() { | 5457 buildPlacementStrategiesListResponse() { |
| 5456 var o = new api.PlacementStrategiesListResponse(); | 5458 var o = new api.PlacementStrategiesListResponse(); |
| 5457 buildCounterPlacementStrategiesListResponse++; | 5459 buildCounterPlacementStrategiesListResponse++; |
| 5458 if (buildCounterPlacementStrategiesListResponse < 3) { | 5460 if (buildCounterPlacementStrategiesListResponse < 3) { |
| 5459 o.kind = "foo"; | 5461 o.kind = "foo"; |
| 5460 o.nextPageToken = "foo"; | 5462 o.nextPageToken = "foo"; |
| 5461 o.placementStrategies = buildUnnamed1662(); | 5463 o.placementStrategies = buildUnnamed236(); |
| 5462 } | 5464 } |
| 5463 buildCounterPlacementStrategiesListResponse--; | 5465 buildCounterPlacementStrategiesListResponse--; |
| 5464 return o; | 5466 return o; |
| 5465 } | 5467 } |
| 5466 | 5468 |
| 5467 checkPlacementStrategiesListResponse(api.PlacementStrategiesListResponse o) { | 5469 checkPlacementStrategiesListResponse(api.PlacementStrategiesListResponse o) { |
| 5468 buildCounterPlacementStrategiesListResponse++; | 5470 buildCounterPlacementStrategiesListResponse++; |
| 5469 if (buildCounterPlacementStrategiesListResponse < 3) { | 5471 if (buildCounterPlacementStrategiesListResponse < 3) { |
| 5470 unittest.expect(o.kind, unittest.equals('foo')); | 5472 unittest.expect(o.kind, unittest.equals('foo')); |
| 5471 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 5473 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 5472 checkUnnamed1662(o.placementStrategies); | 5474 checkUnnamed236(o.placementStrategies); |
| 5473 } | 5475 } |
| 5474 buildCounterPlacementStrategiesListResponse--; | 5476 buildCounterPlacementStrategiesListResponse--; |
| 5475 } | 5477 } |
| 5476 | 5478 |
| 5477 core.int buildCounterPlacementStrategy = 0; | 5479 core.int buildCounterPlacementStrategy = 0; |
| 5478 buildPlacementStrategy() { | 5480 buildPlacementStrategy() { |
| 5479 var o = new api.PlacementStrategy(); | 5481 var o = new api.PlacementStrategy(); |
| 5480 buildCounterPlacementStrategy++; | 5482 buildCounterPlacementStrategy++; |
| 5481 if (buildCounterPlacementStrategy < 3) { | 5483 if (buildCounterPlacementStrategy < 3) { |
| 5482 o.accountId = "foo"; | 5484 o.accountId = "foo"; |
| 5483 o.id = "foo"; | 5485 o.id = "foo"; |
| 5484 o.kind = "foo"; | 5486 o.kind = "foo"; |
| 5485 o.name = "foo"; | 5487 o.name = "foo"; |
| 5486 } | 5488 } |
| 5487 buildCounterPlacementStrategy--; | 5489 buildCounterPlacementStrategy--; |
| 5488 return o; | 5490 return o; |
| 5489 } | 5491 } |
| 5490 | 5492 |
| 5491 checkPlacementStrategy(api.PlacementStrategy o) { | 5493 checkPlacementStrategy(api.PlacementStrategy o) { |
| 5492 buildCounterPlacementStrategy++; | 5494 buildCounterPlacementStrategy++; |
| 5493 if (buildCounterPlacementStrategy < 3) { | 5495 if (buildCounterPlacementStrategy < 3) { |
| 5494 unittest.expect(o.accountId, unittest.equals('foo')); | 5496 unittest.expect(o.accountId, unittest.equals('foo')); |
| 5495 unittest.expect(o.id, unittest.equals('foo')); | 5497 unittest.expect(o.id, unittest.equals('foo')); |
| 5496 unittest.expect(o.kind, unittest.equals('foo')); | 5498 unittest.expect(o.kind, unittest.equals('foo')); |
| 5497 unittest.expect(o.name, unittest.equals('foo')); | 5499 unittest.expect(o.name, unittest.equals('foo')); |
| 5498 } | 5500 } |
| 5499 buildCounterPlacementStrategy--; | 5501 buildCounterPlacementStrategy--; |
| 5500 } | 5502 } |
| 5501 | 5503 |
| 5502 buildUnnamed1663() { | 5504 buildUnnamed237() { |
| 5503 var o = new core.List<api.TagData>(); | 5505 var o = new core.List<api.TagData>(); |
| 5504 o.add(buildTagData()); | 5506 o.add(buildTagData()); |
| 5505 o.add(buildTagData()); | 5507 o.add(buildTagData()); |
| 5506 return o; | 5508 return o; |
| 5507 } | 5509 } |
| 5508 | 5510 |
| 5509 checkUnnamed1663(core.List<api.TagData> o) { | 5511 checkUnnamed237(core.List<api.TagData> o) { |
| 5510 unittest.expect(o, unittest.hasLength(2)); | 5512 unittest.expect(o, unittest.hasLength(2)); |
| 5511 checkTagData(o[0]); | 5513 checkTagData(o[0]); |
| 5512 checkTagData(o[1]); | 5514 checkTagData(o[1]); |
| 5513 } | 5515 } |
| 5514 | 5516 |
| 5515 core.int buildCounterPlacementTag = 0; | 5517 core.int buildCounterPlacementTag = 0; |
| 5516 buildPlacementTag() { | 5518 buildPlacementTag() { |
| 5517 var o = new api.PlacementTag(); | 5519 var o = new api.PlacementTag(); |
| 5518 buildCounterPlacementTag++; | 5520 buildCounterPlacementTag++; |
| 5519 if (buildCounterPlacementTag < 3) { | 5521 if (buildCounterPlacementTag < 3) { |
| 5520 o.placementId = "foo"; | 5522 o.placementId = "foo"; |
| 5521 o.tagDatas = buildUnnamed1663(); | 5523 o.tagDatas = buildUnnamed237(); |
| 5522 } | 5524 } |
| 5523 buildCounterPlacementTag--; | 5525 buildCounterPlacementTag--; |
| 5524 return o; | 5526 return o; |
| 5525 } | 5527 } |
| 5526 | 5528 |
| 5527 checkPlacementTag(api.PlacementTag o) { | 5529 checkPlacementTag(api.PlacementTag o) { |
| 5528 buildCounterPlacementTag++; | 5530 buildCounterPlacementTag++; |
| 5529 if (buildCounterPlacementTag < 3) { | 5531 if (buildCounterPlacementTag < 3) { |
| 5530 unittest.expect(o.placementId, unittest.equals('foo')); | 5532 unittest.expect(o.placementId, unittest.equals('foo')); |
| 5531 checkUnnamed1663(o.tagDatas); | 5533 checkUnnamed237(o.tagDatas); |
| 5532 } | 5534 } |
| 5533 buildCounterPlacementTag--; | 5535 buildCounterPlacementTag--; |
| 5534 } | 5536 } |
| 5535 | 5537 |
| 5536 buildUnnamed1664() { | 5538 buildUnnamed238() { |
| 5537 var o = new core.List<api.PlacementTag>(); | 5539 var o = new core.List<api.PlacementTag>(); |
| 5538 o.add(buildPlacementTag()); | 5540 o.add(buildPlacementTag()); |
| 5539 o.add(buildPlacementTag()); | 5541 o.add(buildPlacementTag()); |
| 5540 return o; | 5542 return o; |
| 5541 } | 5543 } |
| 5542 | 5544 |
| 5543 checkUnnamed1664(core.List<api.PlacementTag> o) { | 5545 checkUnnamed238(core.List<api.PlacementTag> o) { |
| 5544 unittest.expect(o, unittest.hasLength(2)); | 5546 unittest.expect(o, unittest.hasLength(2)); |
| 5545 checkPlacementTag(o[0]); | 5547 checkPlacementTag(o[0]); |
| 5546 checkPlacementTag(o[1]); | 5548 checkPlacementTag(o[1]); |
| 5547 } | 5549 } |
| 5548 | 5550 |
| 5549 core.int buildCounterPlacementsGenerateTagsResponse = 0; | 5551 core.int buildCounterPlacementsGenerateTagsResponse = 0; |
| 5550 buildPlacementsGenerateTagsResponse() { | 5552 buildPlacementsGenerateTagsResponse() { |
| 5551 var o = new api.PlacementsGenerateTagsResponse(); | 5553 var o = new api.PlacementsGenerateTagsResponse(); |
| 5552 buildCounterPlacementsGenerateTagsResponse++; | 5554 buildCounterPlacementsGenerateTagsResponse++; |
| 5553 if (buildCounterPlacementsGenerateTagsResponse < 3) { | 5555 if (buildCounterPlacementsGenerateTagsResponse < 3) { |
| 5554 o.kind = "foo"; | 5556 o.kind = "foo"; |
| 5555 o.placementTags = buildUnnamed1664(); | 5557 o.placementTags = buildUnnamed238(); |
| 5556 } | 5558 } |
| 5557 buildCounterPlacementsGenerateTagsResponse--; | 5559 buildCounterPlacementsGenerateTagsResponse--; |
| 5558 return o; | 5560 return o; |
| 5559 } | 5561 } |
| 5560 | 5562 |
| 5561 checkPlacementsGenerateTagsResponse(api.PlacementsGenerateTagsResponse o) { | 5563 checkPlacementsGenerateTagsResponse(api.PlacementsGenerateTagsResponse o) { |
| 5562 buildCounterPlacementsGenerateTagsResponse++; | 5564 buildCounterPlacementsGenerateTagsResponse++; |
| 5563 if (buildCounterPlacementsGenerateTagsResponse < 3) { | 5565 if (buildCounterPlacementsGenerateTagsResponse < 3) { |
| 5564 unittest.expect(o.kind, unittest.equals('foo')); | 5566 unittest.expect(o.kind, unittest.equals('foo')); |
| 5565 checkUnnamed1664(o.placementTags); | 5567 checkUnnamed238(o.placementTags); |
| 5566 } | 5568 } |
| 5567 buildCounterPlacementsGenerateTagsResponse--; | 5569 buildCounterPlacementsGenerateTagsResponse--; |
| 5568 } | 5570 } |
| 5569 | 5571 |
| 5570 buildUnnamed1665() { | 5572 buildUnnamed239() { |
| 5571 var o = new core.List<api.Placement>(); | 5573 var o = new core.List<api.Placement>(); |
| 5572 o.add(buildPlacement()); | 5574 o.add(buildPlacement()); |
| 5573 o.add(buildPlacement()); | 5575 o.add(buildPlacement()); |
| 5574 return o; | 5576 return o; |
| 5575 } | 5577 } |
| 5576 | 5578 |
| 5577 checkUnnamed1665(core.List<api.Placement> o) { | 5579 checkUnnamed239(core.List<api.Placement> o) { |
| 5578 unittest.expect(o, unittest.hasLength(2)); | 5580 unittest.expect(o, unittest.hasLength(2)); |
| 5579 checkPlacement(o[0]); | 5581 checkPlacement(o[0]); |
| 5580 checkPlacement(o[1]); | 5582 checkPlacement(o[1]); |
| 5581 } | 5583 } |
| 5582 | 5584 |
| 5583 core.int buildCounterPlacementsListResponse = 0; | 5585 core.int buildCounterPlacementsListResponse = 0; |
| 5584 buildPlacementsListResponse() { | 5586 buildPlacementsListResponse() { |
| 5585 var o = new api.PlacementsListResponse(); | 5587 var o = new api.PlacementsListResponse(); |
| 5586 buildCounterPlacementsListResponse++; | 5588 buildCounterPlacementsListResponse++; |
| 5587 if (buildCounterPlacementsListResponse < 3) { | 5589 if (buildCounterPlacementsListResponse < 3) { |
| 5588 o.kind = "foo"; | 5590 o.kind = "foo"; |
| 5589 o.nextPageToken = "foo"; | 5591 o.nextPageToken = "foo"; |
| 5590 o.placements = buildUnnamed1665(); | 5592 o.placements = buildUnnamed239(); |
| 5591 } | 5593 } |
| 5592 buildCounterPlacementsListResponse--; | 5594 buildCounterPlacementsListResponse--; |
| 5593 return o; | 5595 return o; |
| 5594 } | 5596 } |
| 5595 | 5597 |
| 5596 checkPlacementsListResponse(api.PlacementsListResponse o) { | 5598 checkPlacementsListResponse(api.PlacementsListResponse o) { |
| 5597 buildCounterPlacementsListResponse++; | 5599 buildCounterPlacementsListResponse++; |
| 5598 if (buildCounterPlacementsListResponse < 3) { | 5600 if (buildCounterPlacementsListResponse < 3) { |
| 5599 unittest.expect(o.kind, unittest.equals('foo')); | 5601 unittest.expect(o.kind, unittest.equals('foo')); |
| 5600 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 5602 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 5601 checkUnnamed1665(o.placements); | 5603 checkUnnamed239(o.placements); |
| 5602 } | 5604 } |
| 5603 buildCounterPlacementsListResponse--; | 5605 buildCounterPlacementsListResponse--; |
| 5604 } | 5606 } |
| 5605 | 5607 |
| 5606 core.int buildCounterPlatformType = 0; | 5608 core.int buildCounterPlatformType = 0; |
| 5607 buildPlatformType() { | 5609 buildPlatformType() { |
| 5608 var o = new api.PlatformType(); | 5610 var o = new api.PlatformType(); |
| 5609 buildCounterPlatformType++; | 5611 buildCounterPlatformType++; |
| 5610 if (buildCounterPlatformType < 3) { | 5612 if (buildCounterPlatformType < 3) { |
| 5611 o.id = "foo"; | 5613 o.id = "foo"; |
| 5612 o.kind = "foo"; | 5614 o.kind = "foo"; |
| 5613 o.name = "foo"; | 5615 o.name = "foo"; |
| 5614 } | 5616 } |
| 5615 buildCounterPlatformType--; | 5617 buildCounterPlatformType--; |
| 5616 return o; | 5618 return o; |
| 5617 } | 5619 } |
| 5618 | 5620 |
| 5619 checkPlatformType(api.PlatformType o) { | 5621 checkPlatformType(api.PlatformType o) { |
| 5620 buildCounterPlatformType++; | 5622 buildCounterPlatformType++; |
| 5621 if (buildCounterPlatformType < 3) { | 5623 if (buildCounterPlatformType < 3) { |
| 5622 unittest.expect(o.id, unittest.equals('foo')); | 5624 unittest.expect(o.id, unittest.equals('foo')); |
| 5623 unittest.expect(o.kind, unittest.equals('foo')); | 5625 unittest.expect(o.kind, unittest.equals('foo')); |
| 5624 unittest.expect(o.name, unittest.equals('foo')); | 5626 unittest.expect(o.name, unittest.equals('foo')); |
| 5625 } | 5627 } |
| 5626 buildCounterPlatformType--; | 5628 buildCounterPlatformType--; |
| 5627 } | 5629 } |
| 5628 | 5630 |
| 5629 buildUnnamed1666() { | 5631 buildUnnamed240() { |
| 5630 var o = new core.List<api.PlatformType>(); | 5632 var o = new core.List<api.PlatformType>(); |
| 5631 o.add(buildPlatformType()); | 5633 o.add(buildPlatformType()); |
| 5632 o.add(buildPlatformType()); | 5634 o.add(buildPlatformType()); |
| 5633 return o; | 5635 return o; |
| 5634 } | 5636 } |
| 5635 | 5637 |
| 5636 checkUnnamed1666(core.List<api.PlatformType> o) { | 5638 checkUnnamed240(core.List<api.PlatformType> o) { |
| 5637 unittest.expect(o, unittest.hasLength(2)); | 5639 unittest.expect(o, unittest.hasLength(2)); |
| 5638 checkPlatformType(o[0]); | 5640 checkPlatformType(o[0]); |
| 5639 checkPlatformType(o[1]); | 5641 checkPlatformType(o[1]); |
| 5640 } | 5642 } |
| 5641 | 5643 |
| 5642 core.int buildCounterPlatformTypesListResponse = 0; | 5644 core.int buildCounterPlatformTypesListResponse = 0; |
| 5643 buildPlatformTypesListResponse() { | 5645 buildPlatformTypesListResponse() { |
| 5644 var o = new api.PlatformTypesListResponse(); | 5646 var o = new api.PlatformTypesListResponse(); |
| 5645 buildCounterPlatformTypesListResponse++; | 5647 buildCounterPlatformTypesListResponse++; |
| 5646 if (buildCounterPlatformTypesListResponse < 3) { | 5648 if (buildCounterPlatformTypesListResponse < 3) { |
| 5647 o.kind = "foo"; | 5649 o.kind = "foo"; |
| 5648 o.platformTypes = buildUnnamed1666(); | 5650 o.platformTypes = buildUnnamed240(); |
| 5649 } | 5651 } |
| 5650 buildCounterPlatformTypesListResponse--; | 5652 buildCounterPlatformTypesListResponse--; |
| 5651 return o; | 5653 return o; |
| 5652 } | 5654 } |
| 5653 | 5655 |
| 5654 checkPlatformTypesListResponse(api.PlatformTypesListResponse o) { | 5656 checkPlatformTypesListResponse(api.PlatformTypesListResponse o) { |
| 5655 buildCounterPlatformTypesListResponse++; | 5657 buildCounterPlatformTypesListResponse++; |
| 5656 if (buildCounterPlatformTypesListResponse < 3) { | 5658 if (buildCounterPlatformTypesListResponse < 3) { |
| 5657 unittest.expect(o.kind, unittest.equals('foo')); | 5659 unittest.expect(o.kind, unittest.equals('foo')); |
| 5658 checkUnnamed1666(o.platformTypes); | 5660 checkUnnamed240(o.platformTypes); |
| 5659 } | 5661 } |
| 5660 buildCounterPlatformTypesListResponse--; | 5662 buildCounterPlatformTypesListResponse--; |
| 5661 } | 5663 } |
| 5662 | 5664 |
| 5663 core.int buildCounterPopupWindowProperties = 0; | 5665 core.int buildCounterPopupWindowProperties = 0; |
| 5664 buildPopupWindowProperties() { | 5666 buildPopupWindowProperties() { |
| 5665 var o = new api.PopupWindowProperties(); | 5667 var o = new api.PopupWindowProperties(); |
| 5666 buildCounterPopupWindowProperties++; | 5668 buildCounterPopupWindowProperties++; |
| 5667 if (buildCounterPopupWindowProperties < 3) { | 5669 if (buildCounterPopupWindowProperties < 3) { |
| 5668 o.dimension = buildSize(); | 5670 o.dimension = buildSize(); |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5715 if (buildCounterPostalCode < 3) { | 5717 if (buildCounterPostalCode < 3) { |
| 5716 unittest.expect(o.code, unittest.equals('foo')); | 5718 unittest.expect(o.code, unittest.equals('foo')); |
| 5717 unittest.expect(o.countryCode, unittest.equals('foo')); | 5719 unittest.expect(o.countryCode, unittest.equals('foo')); |
| 5718 unittest.expect(o.countryDartId, unittest.equals('foo')); | 5720 unittest.expect(o.countryDartId, unittest.equals('foo')); |
| 5719 unittest.expect(o.id, unittest.equals('foo')); | 5721 unittest.expect(o.id, unittest.equals('foo')); |
| 5720 unittest.expect(o.kind, unittest.equals('foo')); | 5722 unittest.expect(o.kind, unittest.equals('foo')); |
| 5721 } | 5723 } |
| 5722 buildCounterPostalCode--; | 5724 buildCounterPostalCode--; |
| 5723 } | 5725 } |
| 5724 | 5726 |
| 5725 buildUnnamed1667() { | 5727 buildUnnamed241() { |
| 5726 var o = new core.List<api.PostalCode>(); | 5728 var o = new core.List<api.PostalCode>(); |
| 5727 o.add(buildPostalCode()); | 5729 o.add(buildPostalCode()); |
| 5728 o.add(buildPostalCode()); | 5730 o.add(buildPostalCode()); |
| 5729 return o; | 5731 return o; |
| 5730 } | 5732 } |
| 5731 | 5733 |
| 5732 checkUnnamed1667(core.List<api.PostalCode> o) { | 5734 checkUnnamed241(core.List<api.PostalCode> o) { |
| 5733 unittest.expect(o, unittest.hasLength(2)); | 5735 unittest.expect(o, unittest.hasLength(2)); |
| 5734 checkPostalCode(o[0]); | 5736 checkPostalCode(o[0]); |
| 5735 checkPostalCode(o[1]); | 5737 checkPostalCode(o[1]); |
| 5736 } | 5738 } |
| 5737 | 5739 |
| 5738 core.int buildCounterPostalCodesListResponse = 0; | 5740 core.int buildCounterPostalCodesListResponse = 0; |
| 5739 buildPostalCodesListResponse() { | 5741 buildPostalCodesListResponse() { |
| 5740 var o = new api.PostalCodesListResponse(); | 5742 var o = new api.PostalCodesListResponse(); |
| 5741 buildCounterPostalCodesListResponse++; | 5743 buildCounterPostalCodesListResponse++; |
| 5742 if (buildCounterPostalCodesListResponse < 3) { | 5744 if (buildCounterPostalCodesListResponse < 3) { |
| 5743 o.kind = "foo"; | 5745 o.kind = "foo"; |
| 5744 o.postalCodes = buildUnnamed1667(); | 5746 o.postalCodes = buildUnnamed241(); |
| 5745 } | 5747 } |
| 5746 buildCounterPostalCodesListResponse--; | 5748 buildCounterPostalCodesListResponse--; |
| 5747 return o; | 5749 return o; |
| 5748 } | 5750 } |
| 5749 | 5751 |
| 5750 checkPostalCodesListResponse(api.PostalCodesListResponse o) { | 5752 checkPostalCodesListResponse(api.PostalCodesListResponse o) { |
| 5751 buildCounterPostalCodesListResponse++; | 5753 buildCounterPostalCodesListResponse++; |
| 5752 if (buildCounterPostalCodesListResponse < 3) { | 5754 if (buildCounterPostalCodesListResponse < 3) { |
| 5753 unittest.expect(o.kind, unittest.equals('foo')); | 5755 unittest.expect(o.kind, unittest.equals('foo')); |
| 5754 checkUnnamed1667(o.postalCodes); | 5756 checkUnnamed241(o.postalCodes); |
| 5755 } | 5757 } |
| 5756 buildCounterPostalCodesListResponse--; | 5758 buildCounterPostalCodesListResponse--; |
| 5757 } | 5759 } |
| 5758 | 5760 |
| 5759 buildUnnamed1668() { | 5761 buildUnnamed242() { |
| 5760 var o = new core.List<api.Flight>(); | 5762 var o = new core.List<api.Flight>(); |
| 5761 o.add(buildFlight()); | 5763 o.add(buildFlight()); |
| 5762 o.add(buildFlight()); | 5764 o.add(buildFlight()); |
| 5763 return o; | 5765 return o; |
| 5764 } | 5766 } |
| 5765 | 5767 |
| 5766 checkUnnamed1668(core.List<api.Flight> o) { | 5768 checkUnnamed242(core.List<api.Flight> o) { |
| 5767 unittest.expect(o, unittest.hasLength(2)); | 5769 unittest.expect(o, unittest.hasLength(2)); |
| 5768 checkFlight(o[0]); | 5770 checkFlight(o[0]); |
| 5769 checkFlight(o[1]); | 5771 checkFlight(o[1]); |
| 5770 } | 5772 } |
| 5771 | 5773 |
| 5772 core.int buildCounterPricing = 0; | 5774 core.int buildCounterPricing = 0; |
| 5773 buildPricing() { | 5775 buildPricing() { |
| 5774 var o = new api.Pricing(); | 5776 var o = new api.Pricing(); |
| 5775 buildCounterPricing++; | 5777 buildCounterPricing++; |
| 5776 if (buildCounterPricing < 3) { | 5778 if (buildCounterPricing < 3) { |
| 5777 o.capCostType = "foo"; | 5779 o.capCostType = "foo"; |
| 5778 o.endDate = core.DateTime.parse("2002-02-27T14:01:02Z"); | 5780 o.endDate = core.DateTime.parse("2002-02-27T14:01:02Z"); |
| 5779 o.flights = buildUnnamed1668(); | 5781 o.flights = buildUnnamed242(); |
| 5780 o.groupType = "foo"; | 5782 o.groupType = "foo"; |
| 5781 o.pricingType = "foo"; | 5783 o.pricingType = "foo"; |
| 5782 o.startDate = core.DateTime.parse("2002-02-27T14:01:02Z"); | 5784 o.startDate = core.DateTime.parse("2002-02-27T14:01:02Z"); |
| 5783 } | 5785 } |
| 5784 buildCounterPricing--; | 5786 buildCounterPricing--; |
| 5785 return o; | 5787 return o; |
| 5786 } | 5788 } |
| 5787 | 5789 |
| 5788 checkPricing(api.Pricing o) { | 5790 checkPricing(api.Pricing o) { |
| 5789 buildCounterPricing++; | 5791 buildCounterPricing++; |
| 5790 if (buildCounterPricing < 3) { | 5792 if (buildCounterPricing < 3) { |
| 5791 unittest.expect(o.capCostType, unittest.equals('foo')); | 5793 unittest.expect(o.capCostType, unittest.equals('foo')); |
| 5792 unittest.expect(o.endDate, unittest.equals(core.DateTime.parse("2002-02-27T0
0:00:00"))); | 5794 unittest.expect(o.endDate, unittest.equals(core.DateTime.parse("2002-02-27T0
0:00:00"))); |
| 5793 checkUnnamed1668(o.flights); | 5795 checkUnnamed242(o.flights); |
| 5794 unittest.expect(o.groupType, unittest.equals('foo')); | 5796 unittest.expect(o.groupType, unittest.equals('foo')); |
| 5795 unittest.expect(o.pricingType, unittest.equals('foo')); | 5797 unittest.expect(o.pricingType, unittest.equals('foo')); |
| 5796 unittest.expect(o.startDate, unittest.equals(core.DateTime.parse("2002-02-27
T00:00:00"))); | 5798 unittest.expect(o.startDate, unittest.equals(core.DateTime.parse("2002-02-27
T00:00:00"))); |
| 5797 } | 5799 } |
| 5798 buildCounterPricing--; | 5800 buildCounterPricing--; |
| 5799 } | 5801 } |
| 5800 | 5802 |
| 5801 buildUnnamed1669() { | 5803 buildUnnamed243() { |
| 5802 var o = new core.List<api.PricingSchedulePricingPeriod>(); | 5804 var o = new core.List<api.PricingSchedulePricingPeriod>(); |
| 5803 o.add(buildPricingSchedulePricingPeriod()); | 5805 o.add(buildPricingSchedulePricingPeriod()); |
| 5804 o.add(buildPricingSchedulePricingPeriod()); | 5806 o.add(buildPricingSchedulePricingPeriod()); |
| 5805 return o; | 5807 return o; |
| 5806 } | 5808 } |
| 5807 | 5809 |
| 5808 checkUnnamed1669(core.List<api.PricingSchedulePricingPeriod> o) { | 5810 checkUnnamed243(core.List<api.PricingSchedulePricingPeriod> o) { |
| 5809 unittest.expect(o, unittest.hasLength(2)); | 5811 unittest.expect(o, unittest.hasLength(2)); |
| 5810 checkPricingSchedulePricingPeriod(o[0]); | 5812 checkPricingSchedulePricingPeriod(o[0]); |
| 5811 checkPricingSchedulePricingPeriod(o[1]); | 5813 checkPricingSchedulePricingPeriod(o[1]); |
| 5812 } | 5814 } |
| 5813 | 5815 |
| 5814 core.int buildCounterPricingSchedule = 0; | 5816 core.int buildCounterPricingSchedule = 0; |
| 5815 buildPricingSchedule() { | 5817 buildPricingSchedule() { |
| 5816 var o = new api.PricingSchedule(); | 5818 var o = new api.PricingSchedule(); |
| 5817 buildCounterPricingSchedule++; | 5819 buildCounterPricingSchedule++; |
| 5818 if (buildCounterPricingSchedule < 3) { | 5820 if (buildCounterPricingSchedule < 3) { |
| 5819 o.capCostOption = "foo"; | 5821 o.capCostOption = "foo"; |
| 5820 o.disregardOverdelivery = true; | 5822 o.disregardOverdelivery = true; |
| 5821 o.endDate = core.DateTime.parse("2002-02-27T14:01:02Z"); | 5823 o.endDate = core.DateTime.parse("2002-02-27T14:01:02Z"); |
| 5822 o.flighted = true; | 5824 o.flighted = true; |
| 5823 o.floodlightActivityId = "foo"; | 5825 o.floodlightActivityId = "foo"; |
| 5824 o.pricingPeriods = buildUnnamed1669(); | 5826 o.pricingPeriods = buildUnnamed243(); |
| 5825 o.pricingType = "foo"; | 5827 o.pricingType = "foo"; |
| 5826 o.startDate = core.DateTime.parse("2002-02-27T14:01:02Z"); | 5828 o.startDate = core.DateTime.parse("2002-02-27T14:01:02Z"); |
| 5827 o.testingStartDate = core.DateTime.parse("2002-02-27T14:01:02Z"); | 5829 o.testingStartDate = core.DateTime.parse("2002-02-27T14:01:02Z"); |
| 5828 } | 5830 } |
| 5829 buildCounterPricingSchedule--; | 5831 buildCounterPricingSchedule--; |
| 5830 return o; | 5832 return o; |
| 5831 } | 5833 } |
| 5832 | 5834 |
| 5833 checkPricingSchedule(api.PricingSchedule o) { | 5835 checkPricingSchedule(api.PricingSchedule o) { |
| 5834 buildCounterPricingSchedule++; | 5836 buildCounterPricingSchedule++; |
| 5835 if (buildCounterPricingSchedule < 3) { | 5837 if (buildCounterPricingSchedule < 3) { |
| 5836 unittest.expect(o.capCostOption, unittest.equals('foo')); | 5838 unittest.expect(o.capCostOption, unittest.equals('foo')); |
| 5837 unittest.expect(o.disregardOverdelivery, unittest.isTrue); | 5839 unittest.expect(o.disregardOverdelivery, unittest.isTrue); |
| 5838 unittest.expect(o.endDate, unittest.equals(core.DateTime.parse("2002-02-27T0
0:00:00"))); | 5840 unittest.expect(o.endDate, unittest.equals(core.DateTime.parse("2002-02-27T0
0:00:00"))); |
| 5839 unittest.expect(o.flighted, unittest.isTrue); | 5841 unittest.expect(o.flighted, unittest.isTrue); |
| 5840 unittest.expect(o.floodlightActivityId, unittest.equals('foo')); | 5842 unittest.expect(o.floodlightActivityId, unittest.equals('foo')); |
| 5841 checkUnnamed1669(o.pricingPeriods); | 5843 checkUnnamed243(o.pricingPeriods); |
| 5842 unittest.expect(o.pricingType, unittest.equals('foo')); | 5844 unittest.expect(o.pricingType, unittest.equals('foo')); |
| 5843 unittest.expect(o.startDate, unittest.equals(core.DateTime.parse("2002-02-27
T00:00:00"))); | 5845 unittest.expect(o.startDate, unittest.equals(core.DateTime.parse("2002-02-27
T00:00:00"))); |
| 5844 unittest.expect(o.testingStartDate, unittest.equals(core.DateTime.parse("200
2-02-27T00:00:00"))); | 5846 unittest.expect(o.testingStartDate, unittest.equals(core.DateTime.parse("200
2-02-27T00:00:00"))); |
| 5845 } | 5847 } |
| 5846 buildCounterPricingSchedule--; | 5848 buildCounterPricingSchedule--; |
| 5847 } | 5849 } |
| 5848 | 5850 |
| 5849 core.int buildCounterPricingSchedulePricingPeriod = 0; | 5851 core.int buildCounterPricingSchedulePricingPeriod = 0; |
| 5850 buildPricingSchedulePricingPeriod() { | 5852 buildPricingSchedulePricingPeriod() { |
| 5851 var o = new api.PricingSchedulePricingPeriod(); | 5853 var o = new api.PricingSchedulePricingPeriod(); |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5925 unittest.expect(o.targetClicks, unittest.equals('foo')); | 5927 unittest.expect(o.targetClicks, unittest.equals('foo')); |
| 5926 unittest.expect(o.targetConversions, unittest.equals('foo')); | 5928 unittest.expect(o.targetConversions, unittest.equals('foo')); |
| 5927 unittest.expect(o.targetCpaNanos, unittest.equals('foo')); | 5929 unittest.expect(o.targetCpaNanos, unittest.equals('foo')); |
| 5928 unittest.expect(o.targetCpcNanos, unittest.equals('foo')); | 5930 unittest.expect(o.targetCpcNanos, unittest.equals('foo')); |
| 5929 unittest.expect(o.targetCpmNanos, unittest.equals('foo')); | 5931 unittest.expect(o.targetCpmNanos, unittest.equals('foo')); |
| 5930 unittest.expect(o.targetImpressions, unittest.equals('foo')); | 5932 unittest.expect(o.targetImpressions, unittest.equals('foo')); |
| 5931 } | 5933 } |
| 5932 buildCounterProject--; | 5934 buildCounterProject--; |
| 5933 } | 5935 } |
| 5934 | 5936 |
| 5935 buildUnnamed1670() { | 5937 buildUnnamed244() { |
| 5936 var o = new core.List<api.Project>(); | 5938 var o = new core.List<api.Project>(); |
| 5937 o.add(buildProject()); | 5939 o.add(buildProject()); |
| 5938 o.add(buildProject()); | 5940 o.add(buildProject()); |
| 5939 return o; | 5941 return o; |
| 5940 } | 5942 } |
| 5941 | 5943 |
| 5942 checkUnnamed1670(core.List<api.Project> o) { | 5944 checkUnnamed244(core.List<api.Project> o) { |
| 5943 unittest.expect(o, unittest.hasLength(2)); | 5945 unittest.expect(o, unittest.hasLength(2)); |
| 5944 checkProject(o[0]); | 5946 checkProject(o[0]); |
| 5945 checkProject(o[1]); | 5947 checkProject(o[1]); |
| 5946 } | 5948 } |
| 5947 | 5949 |
| 5948 core.int buildCounterProjectsListResponse = 0; | 5950 core.int buildCounterProjectsListResponse = 0; |
| 5949 buildProjectsListResponse() { | 5951 buildProjectsListResponse() { |
| 5950 var o = new api.ProjectsListResponse(); | 5952 var o = new api.ProjectsListResponse(); |
| 5951 buildCounterProjectsListResponse++; | 5953 buildCounterProjectsListResponse++; |
| 5952 if (buildCounterProjectsListResponse < 3) { | 5954 if (buildCounterProjectsListResponse < 3) { |
| 5953 o.kind = "foo"; | 5955 o.kind = "foo"; |
| 5954 o.nextPageToken = "foo"; | 5956 o.nextPageToken = "foo"; |
| 5955 o.projects = buildUnnamed1670(); | 5957 o.projects = buildUnnamed244(); |
| 5956 } | 5958 } |
| 5957 buildCounterProjectsListResponse--; | 5959 buildCounterProjectsListResponse--; |
| 5958 return o; | 5960 return o; |
| 5959 } | 5961 } |
| 5960 | 5962 |
| 5961 checkProjectsListResponse(api.ProjectsListResponse o) { | 5963 checkProjectsListResponse(api.ProjectsListResponse o) { |
| 5962 buildCounterProjectsListResponse++; | 5964 buildCounterProjectsListResponse++; |
| 5963 if (buildCounterProjectsListResponse < 3) { | 5965 if (buildCounterProjectsListResponse < 3) { |
| 5964 unittest.expect(o.kind, unittest.equals('foo')); | 5966 unittest.expect(o.kind, unittest.equals('foo')); |
| 5965 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 5967 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 5966 checkUnnamed1670(o.projects); | 5968 checkUnnamed244(o.projects); |
| 5967 } | 5969 } |
| 5968 buildCounterProjectsListResponse--; | 5970 buildCounterProjectsListResponse--; |
| 5969 } | 5971 } |
| 5970 | 5972 |
| 5971 buildUnnamed1671() { | 5973 buildUnnamed245() { |
| 5972 var o = new core.List<api.Dimension>(); | 5974 var o = new core.List<api.Dimension>(); |
| 5973 o.add(buildDimension()); | 5975 o.add(buildDimension()); |
| 5974 o.add(buildDimension()); | 5976 o.add(buildDimension()); |
| 5975 return o; | 5977 return o; |
| 5976 } | 5978 } |
| 5977 | 5979 |
| 5978 checkUnnamed1671(core.List<api.Dimension> o) { | 5980 checkUnnamed245(core.List<api.Dimension> o) { |
| 5979 unittest.expect(o, unittest.hasLength(2)); | 5981 unittest.expect(o, unittest.hasLength(2)); |
| 5980 checkDimension(o[0]); | 5982 checkDimension(o[0]); |
| 5981 checkDimension(o[1]); | 5983 checkDimension(o[1]); |
| 5982 } | 5984 } |
| 5983 | 5985 |
| 5984 buildUnnamed1672() { | 5986 buildUnnamed246() { |
| 5985 var o = new core.List<api.Dimension>(); | 5987 var o = new core.List<api.Dimension>(); |
| 5986 o.add(buildDimension()); | 5988 o.add(buildDimension()); |
| 5987 o.add(buildDimension()); | 5989 o.add(buildDimension()); |
| 5988 return o; | 5990 return o; |
| 5989 } | 5991 } |
| 5990 | 5992 |
| 5991 checkUnnamed1672(core.List<api.Dimension> o) { | 5993 checkUnnamed246(core.List<api.Dimension> o) { |
| 5992 unittest.expect(o, unittest.hasLength(2)); | 5994 unittest.expect(o, unittest.hasLength(2)); |
| 5993 checkDimension(o[0]); | 5995 checkDimension(o[0]); |
| 5994 checkDimension(o[1]); | 5996 checkDimension(o[1]); |
| 5995 } | 5997 } |
| 5996 | 5998 |
| 5997 buildUnnamed1673() { | 5999 buildUnnamed247() { |
| 5998 var o = new core.List<api.Metric>(); | 6000 var o = new core.List<api.Metric>(); |
| 5999 o.add(buildMetric()); | 6001 o.add(buildMetric()); |
| 6000 o.add(buildMetric()); | 6002 o.add(buildMetric()); |
| 6001 return o; | 6003 return o; |
| 6002 } | 6004 } |
| 6003 | 6005 |
| 6004 checkUnnamed1673(core.List<api.Metric> o) { | 6006 checkUnnamed247(core.List<api.Metric> o) { |
| 6005 unittest.expect(o, unittest.hasLength(2)); | 6007 unittest.expect(o, unittest.hasLength(2)); |
| 6006 checkMetric(o[0]); | 6008 checkMetric(o[0]); |
| 6007 checkMetric(o[1]); | 6009 checkMetric(o[1]); |
| 6008 } | 6010 } |
| 6009 | 6011 |
| 6010 buildUnnamed1674() { | 6012 buildUnnamed248() { |
| 6011 var o = new core.List<api.Metric>(); | 6013 var o = new core.List<api.Metric>(); |
| 6012 o.add(buildMetric()); | 6014 o.add(buildMetric()); |
| 6013 o.add(buildMetric()); | 6015 o.add(buildMetric()); |
| 6014 return o; | 6016 return o; |
| 6015 } | 6017 } |
| 6016 | 6018 |
| 6017 checkUnnamed1674(core.List<api.Metric> o) { | 6019 checkUnnamed248(core.List<api.Metric> o) { |
| 6018 unittest.expect(o, unittest.hasLength(2)); | 6020 unittest.expect(o, unittest.hasLength(2)); |
| 6019 checkMetric(o[0]); | 6021 checkMetric(o[0]); |
| 6020 checkMetric(o[1]); | 6022 checkMetric(o[1]); |
| 6021 } | 6023 } |
| 6022 | 6024 |
| 6023 buildUnnamed1675() { | 6025 buildUnnamed249() { |
| 6024 var o = new core.List<api.Metric>(); | 6026 var o = new core.List<api.Metric>(); |
| 6025 o.add(buildMetric()); | 6027 o.add(buildMetric()); |
| 6026 o.add(buildMetric()); | 6028 o.add(buildMetric()); |
| 6027 return o; | 6029 return o; |
| 6028 } | 6030 } |
| 6029 | 6031 |
| 6030 checkUnnamed1675(core.List<api.Metric> o) { | 6032 checkUnnamed249(core.List<api.Metric> o) { |
| 6031 unittest.expect(o, unittest.hasLength(2)); | 6033 unittest.expect(o, unittest.hasLength(2)); |
| 6032 checkMetric(o[0]); | 6034 checkMetric(o[0]); |
| 6033 checkMetric(o[1]); | 6035 checkMetric(o[1]); |
| 6034 } | 6036 } |
| 6035 | 6037 |
| 6036 core.int buildCounterReachReportCompatibleFields = 0; | 6038 core.int buildCounterReachReportCompatibleFields = 0; |
| 6037 buildReachReportCompatibleFields() { | 6039 buildReachReportCompatibleFields() { |
| 6038 var o = new api.ReachReportCompatibleFields(); | 6040 var o = new api.ReachReportCompatibleFields(); |
| 6039 buildCounterReachReportCompatibleFields++; | 6041 buildCounterReachReportCompatibleFields++; |
| 6040 if (buildCounterReachReportCompatibleFields < 3) { | 6042 if (buildCounterReachReportCompatibleFields < 3) { |
| 6041 o.dimensionFilters = buildUnnamed1671(); | 6043 o.dimensionFilters = buildUnnamed245(); |
| 6042 o.dimensions = buildUnnamed1672(); | 6044 o.dimensions = buildUnnamed246(); |
| 6043 o.kind = "foo"; | 6045 o.kind = "foo"; |
| 6044 o.metrics = buildUnnamed1673(); | 6046 o.metrics = buildUnnamed247(); |
| 6045 o.pivotedActivityMetrics = buildUnnamed1674(); | 6047 o.pivotedActivityMetrics = buildUnnamed248(); |
| 6046 o.reachByFrequencyMetrics = buildUnnamed1675(); | 6048 o.reachByFrequencyMetrics = buildUnnamed249(); |
| 6047 } | 6049 } |
| 6048 buildCounterReachReportCompatibleFields--; | 6050 buildCounterReachReportCompatibleFields--; |
| 6049 return o; | 6051 return o; |
| 6050 } | 6052 } |
| 6051 | 6053 |
| 6052 checkReachReportCompatibleFields(api.ReachReportCompatibleFields o) { | 6054 checkReachReportCompatibleFields(api.ReachReportCompatibleFields o) { |
| 6053 buildCounterReachReportCompatibleFields++; | 6055 buildCounterReachReportCompatibleFields++; |
| 6054 if (buildCounterReachReportCompatibleFields < 3) { | 6056 if (buildCounterReachReportCompatibleFields < 3) { |
| 6055 checkUnnamed1671(o.dimensionFilters); | 6057 checkUnnamed245(o.dimensionFilters); |
| 6056 checkUnnamed1672(o.dimensions); | 6058 checkUnnamed246(o.dimensions); |
| 6057 unittest.expect(o.kind, unittest.equals('foo')); | 6059 unittest.expect(o.kind, unittest.equals('foo')); |
| 6058 checkUnnamed1673(o.metrics); | 6060 checkUnnamed247(o.metrics); |
| 6059 checkUnnamed1674(o.pivotedActivityMetrics); | 6061 checkUnnamed248(o.pivotedActivityMetrics); |
| 6060 checkUnnamed1675(o.reachByFrequencyMetrics); | 6062 checkUnnamed249(o.reachByFrequencyMetrics); |
| 6061 } | 6063 } |
| 6062 buildCounterReachReportCompatibleFields--; | 6064 buildCounterReachReportCompatibleFields--; |
| 6063 } | 6065 } |
| 6064 | 6066 |
| 6065 core.int buildCounterRecipient = 0; | 6067 core.int buildCounterRecipient = 0; |
| 6066 buildRecipient() { | 6068 buildRecipient() { |
| 6067 var o = new api.Recipient(); | 6069 var o = new api.Recipient(); |
| 6068 buildCounterRecipient++; | 6070 buildCounterRecipient++; |
| 6069 if (buildCounterRecipient < 3) { | 6071 if (buildCounterRecipient < 3) { |
| 6070 o.deliveryType = "foo"; | 6072 o.deliveryType = "foo"; |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6107 unittest.expect(o.countryCode, unittest.equals('foo')); | 6109 unittest.expect(o.countryCode, unittest.equals('foo')); |
| 6108 unittest.expect(o.countryDartId, unittest.equals('foo')); | 6110 unittest.expect(o.countryDartId, unittest.equals('foo')); |
| 6109 unittest.expect(o.dartId, unittest.equals('foo')); | 6111 unittest.expect(o.dartId, unittest.equals('foo')); |
| 6110 unittest.expect(o.kind, unittest.equals('foo')); | 6112 unittest.expect(o.kind, unittest.equals('foo')); |
| 6111 unittest.expect(o.name, unittest.equals('foo')); | 6113 unittest.expect(o.name, unittest.equals('foo')); |
| 6112 unittest.expect(o.regionCode, unittest.equals('foo')); | 6114 unittest.expect(o.regionCode, unittest.equals('foo')); |
| 6113 } | 6115 } |
| 6114 buildCounterRegion--; | 6116 buildCounterRegion--; |
| 6115 } | 6117 } |
| 6116 | 6118 |
| 6117 buildUnnamed1676() { | 6119 buildUnnamed250() { |
| 6118 var o = new core.List<api.Region>(); | 6120 var o = new core.List<api.Region>(); |
| 6119 o.add(buildRegion()); | 6121 o.add(buildRegion()); |
| 6120 o.add(buildRegion()); | 6122 o.add(buildRegion()); |
| 6121 return o; | 6123 return o; |
| 6122 } | 6124 } |
| 6123 | 6125 |
| 6124 checkUnnamed1676(core.List<api.Region> o) { | 6126 checkUnnamed250(core.List<api.Region> o) { |
| 6125 unittest.expect(o, unittest.hasLength(2)); | 6127 unittest.expect(o, unittest.hasLength(2)); |
| 6126 checkRegion(o[0]); | 6128 checkRegion(o[0]); |
| 6127 checkRegion(o[1]); | 6129 checkRegion(o[1]); |
| 6128 } | 6130 } |
| 6129 | 6131 |
| 6130 core.int buildCounterRegionsListResponse = 0; | 6132 core.int buildCounterRegionsListResponse = 0; |
| 6131 buildRegionsListResponse() { | 6133 buildRegionsListResponse() { |
| 6132 var o = new api.RegionsListResponse(); | 6134 var o = new api.RegionsListResponse(); |
| 6133 buildCounterRegionsListResponse++; | 6135 buildCounterRegionsListResponse++; |
| 6134 if (buildCounterRegionsListResponse < 3) { | 6136 if (buildCounterRegionsListResponse < 3) { |
| 6135 o.kind = "foo"; | 6137 o.kind = "foo"; |
| 6136 o.regions = buildUnnamed1676(); | 6138 o.regions = buildUnnamed250(); |
| 6137 } | 6139 } |
| 6138 buildCounterRegionsListResponse--; | 6140 buildCounterRegionsListResponse--; |
| 6139 return o; | 6141 return o; |
| 6140 } | 6142 } |
| 6141 | 6143 |
| 6142 checkRegionsListResponse(api.RegionsListResponse o) { | 6144 checkRegionsListResponse(api.RegionsListResponse o) { |
| 6143 buildCounterRegionsListResponse++; | 6145 buildCounterRegionsListResponse++; |
| 6144 if (buildCounterRegionsListResponse < 3) { | 6146 if (buildCounterRegionsListResponse < 3) { |
| 6145 unittest.expect(o.kind, unittest.equals('foo')); | 6147 unittest.expect(o.kind, unittest.equals('foo')); |
| 6146 checkUnnamed1676(o.regions); | 6148 checkUnnamed250(o.regions); |
| 6147 } | 6149 } |
| 6148 buildCounterRegionsListResponse--; | 6150 buildCounterRegionsListResponse--; |
| 6149 } | 6151 } |
| 6150 | 6152 |
| 6151 core.int buildCounterRemarketingList = 0; | 6153 core.int buildCounterRemarketingList = 0; |
| 6152 buildRemarketingList() { | 6154 buildRemarketingList() { |
| 6153 var o = new api.RemarketingList(); | 6155 var o = new api.RemarketingList(); |
| 6154 buildCounterRemarketingList++; | 6156 buildCounterRemarketingList++; |
| 6155 if (buildCounterRemarketingList < 3) { | 6157 if (buildCounterRemarketingList < 3) { |
| 6156 o.accountId = "foo"; | 6158 o.accountId = "foo"; |
| (...skipping 27 matching lines...) Expand all Loading... |
| 6184 unittest.expect(o.lifeSpan, unittest.equals('foo')); | 6186 unittest.expect(o.lifeSpan, unittest.equals('foo')); |
| 6185 checkListPopulationRule(o.listPopulationRule); | 6187 checkListPopulationRule(o.listPopulationRule); |
| 6186 unittest.expect(o.listSize, unittest.equals('foo')); | 6188 unittest.expect(o.listSize, unittest.equals('foo')); |
| 6187 unittest.expect(o.listSource, unittest.equals('foo')); | 6189 unittest.expect(o.listSource, unittest.equals('foo')); |
| 6188 unittest.expect(o.name, unittest.equals('foo')); | 6190 unittest.expect(o.name, unittest.equals('foo')); |
| 6189 unittest.expect(o.subaccountId, unittest.equals('foo')); | 6191 unittest.expect(o.subaccountId, unittest.equals('foo')); |
| 6190 } | 6192 } |
| 6191 buildCounterRemarketingList--; | 6193 buildCounterRemarketingList--; |
| 6192 } | 6194 } |
| 6193 | 6195 |
| 6194 buildUnnamed1677() { | 6196 buildUnnamed251() { |
| 6195 var o = new core.List<core.String>(); | 6197 var o = new core.List<core.String>(); |
| 6196 o.add("foo"); | 6198 o.add("foo"); |
| 6197 o.add("foo"); | 6199 o.add("foo"); |
| 6198 return o; | 6200 return o; |
| 6199 } | 6201 } |
| 6200 | 6202 |
| 6201 checkUnnamed1677(core.List<core.String> o) { | 6203 checkUnnamed251(core.List<core.String> o) { |
| 6202 unittest.expect(o, unittest.hasLength(2)); | 6204 unittest.expect(o, unittest.hasLength(2)); |
| 6203 unittest.expect(o[0], unittest.equals('foo')); | 6205 unittest.expect(o[0], unittest.equals('foo')); |
| 6204 unittest.expect(o[1], unittest.equals('foo')); | 6206 unittest.expect(o[1], unittest.equals('foo')); |
| 6205 } | 6207 } |
| 6206 | 6208 |
| 6207 buildUnnamed1678() { | 6209 buildUnnamed252() { |
| 6208 var o = new core.List<core.String>(); | 6210 var o = new core.List<core.String>(); |
| 6209 o.add("foo"); | 6211 o.add("foo"); |
| 6210 o.add("foo"); | 6212 o.add("foo"); |
| 6211 return o; | 6213 return o; |
| 6212 } | 6214 } |
| 6213 | 6215 |
| 6214 checkUnnamed1678(core.List<core.String> o) { | 6216 checkUnnamed252(core.List<core.String> o) { |
| 6215 unittest.expect(o, unittest.hasLength(2)); | 6217 unittest.expect(o, unittest.hasLength(2)); |
| 6216 unittest.expect(o[0], unittest.equals('foo')); | 6218 unittest.expect(o[0], unittest.equals('foo')); |
| 6217 unittest.expect(o[1], unittest.equals('foo')); | 6219 unittest.expect(o[1], unittest.equals('foo')); |
| 6218 } | 6220 } |
| 6219 | 6221 |
| 6220 core.int buildCounterRemarketingListShare = 0; | 6222 core.int buildCounterRemarketingListShare = 0; |
| 6221 buildRemarketingListShare() { | 6223 buildRemarketingListShare() { |
| 6222 var o = new api.RemarketingListShare(); | 6224 var o = new api.RemarketingListShare(); |
| 6223 buildCounterRemarketingListShare++; | 6225 buildCounterRemarketingListShare++; |
| 6224 if (buildCounterRemarketingListShare < 3) { | 6226 if (buildCounterRemarketingListShare < 3) { |
| 6225 o.kind = "foo"; | 6227 o.kind = "foo"; |
| 6226 o.remarketingListId = "foo"; | 6228 o.remarketingListId = "foo"; |
| 6227 o.sharedAccountIds = buildUnnamed1677(); | 6229 o.sharedAccountIds = buildUnnamed251(); |
| 6228 o.sharedAdvertiserIds = buildUnnamed1678(); | 6230 o.sharedAdvertiserIds = buildUnnamed252(); |
| 6229 } | 6231 } |
| 6230 buildCounterRemarketingListShare--; | 6232 buildCounterRemarketingListShare--; |
| 6231 return o; | 6233 return o; |
| 6232 } | 6234 } |
| 6233 | 6235 |
| 6234 checkRemarketingListShare(api.RemarketingListShare o) { | 6236 checkRemarketingListShare(api.RemarketingListShare o) { |
| 6235 buildCounterRemarketingListShare++; | 6237 buildCounterRemarketingListShare++; |
| 6236 if (buildCounterRemarketingListShare < 3) { | 6238 if (buildCounterRemarketingListShare < 3) { |
| 6237 unittest.expect(o.kind, unittest.equals('foo')); | 6239 unittest.expect(o.kind, unittest.equals('foo')); |
| 6238 unittest.expect(o.remarketingListId, unittest.equals('foo')); | 6240 unittest.expect(o.remarketingListId, unittest.equals('foo')); |
| 6239 checkUnnamed1677(o.sharedAccountIds); | 6241 checkUnnamed251(o.sharedAccountIds); |
| 6240 checkUnnamed1678(o.sharedAdvertiserIds); | 6242 checkUnnamed252(o.sharedAdvertiserIds); |
| 6241 } | 6243 } |
| 6242 buildCounterRemarketingListShare--; | 6244 buildCounterRemarketingListShare--; |
| 6243 } | 6245 } |
| 6244 | 6246 |
| 6245 buildUnnamed1679() { | 6247 buildUnnamed253() { |
| 6246 var o = new core.List<api.RemarketingList>(); | 6248 var o = new core.List<api.RemarketingList>(); |
| 6247 o.add(buildRemarketingList()); | 6249 o.add(buildRemarketingList()); |
| 6248 o.add(buildRemarketingList()); | 6250 o.add(buildRemarketingList()); |
| 6249 return o; | 6251 return o; |
| 6250 } | 6252 } |
| 6251 | 6253 |
| 6252 checkUnnamed1679(core.List<api.RemarketingList> o) { | 6254 checkUnnamed253(core.List<api.RemarketingList> o) { |
| 6253 unittest.expect(o, unittest.hasLength(2)); | 6255 unittest.expect(o, unittest.hasLength(2)); |
| 6254 checkRemarketingList(o[0]); | 6256 checkRemarketingList(o[0]); |
| 6255 checkRemarketingList(o[1]); | 6257 checkRemarketingList(o[1]); |
| 6256 } | 6258 } |
| 6257 | 6259 |
| 6258 core.int buildCounterRemarketingListsListResponse = 0; | 6260 core.int buildCounterRemarketingListsListResponse = 0; |
| 6259 buildRemarketingListsListResponse() { | 6261 buildRemarketingListsListResponse() { |
| 6260 var o = new api.RemarketingListsListResponse(); | 6262 var o = new api.RemarketingListsListResponse(); |
| 6261 buildCounterRemarketingListsListResponse++; | 6263 buildCounterRemarketingListsListResponse++; |
| 6262 if (buildCounterRemarketingListsListResponse < 3) { | 6264 if (buildCounterRemarketingListsListResponse < 3) { |
| 6263 o.kind = "foo"; | 6265 o.kind = "foo"; |
| 6264 o.nextPageToken = "foo"; | 6266 o.nextPageToken = "foo"; |
| 6265 o.remarketingLists = buildUnnamed1679(); | 6267 o.remarketingLists = buildUnnamed253(); |
| 6266 } | 6268 } |
| 6267 buildCounterRemarketingListsListResponse--; | 6269 buildCounterRemarketingListsListResponse--; |
| 6268 return o; | 6270 return o; |
| 6269 } | 6271 } |
| 6270 | 6272 |
| 6271 checkRemarketingListsListResponse(api.RemarketingListsListResponse o) { | 6273 checkRemarketingListsListResponse(api.RemarketingListsListResponse o) { |
| 6272 buildCounterRemarketingListsListResponse++; | 6274 buildCounterRemarketingListsListResponse++; |
| 6273 if (buildCounterRemarketingListsListResponse < 3) { | 6275 if (buildCounterRemarketingListsListResponse < 3) { |
| 6274 unittest.expect(o.kind, unittest.equals('foo')); | 6276 unittest.expect(o.kind, unittest.equals('foo')); |
| 6275 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 6277 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 6276 checkUnnamed1679(o.remarketingLists); | 6278 checkUnnamed253(o.remarketingLists); |
| 6277 } | 6279 } |
| 6278 buildCounterRemarketingListsListResponse--; | 6280 buildCounterRemarketingListsListResponse--; |
| 6279 } | 6281 } |
| 6280 | 6282 |
| 6281 buildUnnamed1680() { | 6283 buildUnnamed254() { |
| 6282 var o = new core.List<api.DimensionValue>(); | 6284 var o = new core.List<api.DimensionValue>(); |
| 6283 o.add(buildDimensionValue()); | 6285 o.add(buildDimensionValue()); |
| 6284 o.add(buildDimensionValue()); | 6286 o.add(buildDimensionValue()); |
| 6285 return o; | 6287 return o; |
| 6286 } | 6288 } |
| 6287 | 6289 |
| 6288 checkUnnamed1680(core.List<api.DimensionValue> o) { | 6290 checkUnnamed254(core.List<api.DimensionValue> o) { |
| 6289 unittest.expect(o, unittest.hasLength(2)); | 6291 unittest.expect(o, unittest.hasLength(2)); |
| 6290 checkDimensionValue(o[0]); | 6292 checkDimensionValue(o[0]); |
| 6291 checkDimensionValue(o[1]); | 6293 checkDimensionValue(o[1]); |
| 6292 } | 6294 } |
| 6293 | 6295 |
| 6294 buildUnnamed1681() { | 6296 buildUnnamed255() { |
| 6295 var o = new core.List<api.SortedDimension>(); | 6297 var o = new core.List<api.SortedDimension>(); |
| 6296 o.add(buildSortedDimension()); | 6298 o.add(buildSortedDimension()); |
| 6297 o.add(buildSortedDimension()); | 6299 o.add(buildSortedDimension()); |
| 6298 return o; | 6300 return o; |
| 6299 } | 6301 } |
| 6300 | 6302 |
| 6301 checkUnnamed1681(core.List<api.SortedDimension> o) { | 6303 checkUnnamed255(core.List<api.SortedDimension> o) { |
| 6302 unittest.expect(o, unittest.hasLength(2)); | 6304 unittest.expect(o, unittest.hasLength(2)); |
| 6303 checkSortedDimension(o[0]); | 6305 checkSortedDimension(o[0]); |
| 6304 checkSortedDimension(o[1]); | 6306 checkSortedDimension(o[1]); |
| 6305 } | 6307 } |
| 6306 | 6308 |
| 6307 buildUnnamed1682() { | 6309 buildUnnamed256() { |
| 6308 var o = new core.List<core.String>(); | 6310 var o = new core.List<core.String>(); |
| 6309 o.add("foo"); | 6311 o.add("foo"); |
| 6310 o.add("foo"); | 6312 o.add("foo"); |
| 6311 return o; | 6313 return o; |
| 6312 } | 6314 } |
| 6313 | 6315 |
| 6314 checkUnnamed1682(core.List<core.String> o) { | 6316 checkUnnamed256(core.List<core.String> o) { |
| 6315 unittest.expect(o, unittest.hasLength(2)); | 6317 unittest.expect(o, unittest.hasLength(2)); |
| 6316 unittest.expect(o[0], unittest.equals('foo')); | 6318 unittest.expect(o[0], unittest.equals('foo')); |
| 6317 unittest.expect(o[1], unittest.equals('foo')); | 6319 unittest.expect(o[1], unittest.equals('foo')); |
| 6318 } | 6320 } |
| 6319 | 6321 |
| 6320 core.int buildCounterReportCriteria = 0; | 6322 core.int buildCounterReportCriteria = 0; |
| 6321 buildReportCriteria() { | 6323 buildReportCriteria() { |
| 6322 var o = new api.ReportCriteria(); | 6324 var o = new api.ReportCriteria(); |
| 6323 buildCounterReportCriteria++; | 6325 buildCounterReportCriteria++; |
| 6324 if (buildCounterReportCriteria < 3) { | 6326 if (buildCounterReportCriteria < 3) { |
| 6325 o.activities = buildActivities(); | 6327 o.activities = buildActivities(); |
| 6326 o.customRichMediaEvents = buildCustomRichMediaEvents(); | 6328 o.customRichMediaEvents = buildCustomRichMediaEvents(); |
| 6327 o.dateRange = buildDateRange(); | 6329 o.dateRange = buildDateRange(); |
| 6328 o.dimensionFilters = buildUnnamed1680(); | 6330 o.dimensionFilters = buildUnnamed254(); |
| 6329 o.dimensions = buildUnnamed1681(); | 6331 o.dimensions = buildUnnamed255(); |
| 6330 o.metricNames = buildUnnamed1682(); | 6332 o.metricNames = buildUnnamed256(); |
| 6331 } | 6333 } |
| 6332 buildCounterReportCriteria--; | 6334 buildCounterReportCriteria--; |
| 6333 return o; | 6335 return o; |
| 6334 } | 6336 } |
| 6335 | 6337 |
| 6336 checkReportCriteria(api.ReportCriteria o) { | 6338 checkReportCriteria(api.ReportCriteria o) { |
| 6337 buildCounterReportCriteria++; | 6339 buildCounterReportCriteria++; |
| 6338 if (buildCounterReportCriteria < 3) { | 6340 if (buildCounterReportCriteria < 3) { |
| 6339 checkActivities(o.activities); | 6341 checkActivities(o.activities); |
| 6340 checkCustomRichMediaEvents(o.customRichMediaEvents); | 6342 checkCustomRichMediaEvents(o.customRichMediaEvents); |
| 6341 checkDateRange(o.dateRange); | 6343 checkDateRange(o.dateRange); |
| 6342 checkUnnamed1680(o.dimensionFilters); | 6344 checkUnnamed254(o.dimensionFilters); |
| 6343 checkUnnamed1681(o.dimensions); | 6345 checkUnnamed255(o.dimensions); |
| 6344 checkUnnamed1682(o.metricNames); | 6346 checkUnnamed256(o.metricNames); |
| 6345 } | 6347 } |
| 6346 buildCounterReportCriteria--; | 6348 buildCounterReportCriteria--; |
| 6347 } | 6349 } |
| 6348 | 6350 |
| 6349 buildUnnamed1683() { | 6351 buildUnnamed257() { |
| 6350 var o = new core.List<api.SortedDimension>(); | 6352 var o = new core.List<api.SortedDimension>(); |
| 6351 o.add(buildSortedDimension()); | 6353 o.add(buildSortedDimension()); |
| 6352 o.add(buildSortedDimension()); | 6354 o.add(buildSortedDimension()); |
| 6353 return o; | 6355 return o; |
| 6354 } | 6356 } |
| 6355 | 6357 |
| 6356 checkUnnamed1683(core.List<api.SortedDimension> o) { | 6358 checkUnnamed257(core.List<api.SortedDimension> o) { |
| 6357 unittest.expect(o, unittest.hasLength(2)); | 6359 unittest.expect(o, unittest.hasLength(2)); |
| 6358 checkSortedDimension(o[0]); | 6360 checkSortedDimension(o[0]); |
| 6359 checkSortedDimension(o[1]); | 6361 checkSortedDimension(o[1]); |
| 6360 } | 6362 } |
| 6361 | 6363 |
| 6362 buildUnnamed1684() { | 6364 buildUnnamed258() { |
| 6363 var o = new core.List<api.DimensionValue>(); | 6365 var o = new core.List<api.DimensionValue>(); |
| 6364 o.add(buildDimensionValue()); | 6366 o.add(buildDimensionValue()); |
| 6365 o.add(buildDimensionValue()); | 6367 o.add(buildDimensionValue()); |
| 6366 return o; | 6368 return o; |
| 6367 } | 6369 } |
| 6368 | 6370 |
| 6369 checkUnnamed1684(core.List<api.DimensionValue> o) { | 6371 checkUnnamed258(core.List<api.DimensionValue> o) { |
| 6370 unittest.expect(o, unittest.hasLength(2)); | 6372 unittest.expect(o, unittest.hasLength(2)); |
| 6371 checkDimensionValue(o[0]); | 6373 checkDimensionValue(o[0]); |
| 6372 checkDimensionValue(o[1]); | 6374 checkDimensionValue(o[1]); |
| 6373 } | 6375 } |
| 6374 | 6376 |
| 6375 buildUnnamed1685() { | 6377 buildUnnamed259() { |
| 6376 var o = new core.List<core.String>(); | 6378 var o = new core.List<core.String>(); |
| 6377 o.add("foo"); | 6379 o.add("foo"); |
| 6378 o.add("foo"); | 6380 o.add("foo"); |
| 6379 return o; | 6381 return o; |
| 6380 } | 6382 } |
| 6381 | 6383 |
| 6382 checkUnnamed1685(core.List<core.String> o) { | 6384 checkUnnamed259(core.List<core.String> o) { |
| 6383 unittest.expect(o, unittest.hasLength(2)); | 6385 unittest.expect(o, unittest.hasLength(2)); |
| 6384 unittest.expect(o[0], unittest.equals('foo')); | 6386 unittest.expect(o[0], unittest.equals('foo')); |
| 6385 unittest.expect(o[1], unittest.equals('foo')); | 6387 unittest.expect(o[1], unittest.equals('foo')); |
| 6386 } | 6388 } |
| 6387 | 6389 |
| 6388 buildUnnamed1686() { | 6390 buildUnnamed260() { |
| 6389 var o = new core.List<core.String>(); | 6391 var o = new core.List<core.String>(); |
| 6390 o.add("foo"); | 6392 o.add("foo"); |
| 6391 o.add("foo"); | 6393 o.add("foo"); |
| 6392 return o; | 6394 return o; |
| 6393 } | 6395 } |
| 6394 | 6396 |
| 6395 checkUnnamed1686(core.List<core.String> o) { | 6397 checkUnnamed260(core.List<core.String> o) { |
| 6396 unittest.expect(o, unittest.hasLength(2)); | 6398 unittest.expect(o, unittest.hasLength(2)); |
| 6397 unittest.expect(o[0], unittest.equals('foo')); | 6399 unittest.expect(o[0], unittest.equals('foo')); |
| 6398 unittest.expect(o[1], unittest.equals('foo')); | 6400 unittest.expect(o[1], unittest.equals('foo')); |
| 6399 } | 6401 } |
| 6400 | 6402 |
| 6401 core.int buildCounterReportCrossDimensionReachCriteria = 0; | 6403 core.int buildCounterReportCrossDimensionReachCriteria = 0; |
| 6402 buildReportCrossDimensionReachCriteria() { | 6404 buildReportCrossDimensionReachCriteria() { |
| 6403 var o = new api.ReportCrossDimensionReachCriteria(); | 6405 var o = new api.ReportCrossDimensionReachCriteria(); |
| 6404 buildCounterReportCrossDimensionReachCriteria++; | 6406 buildCounterReportCrossDimensionReachCriteria++; |
| 6405 if (buildCounterReportCrossDimensionReachCriteria < 3) { | 6407 if (buildCounterReportCrossDimensionReachCriteria < 3) { |
| 6406 o.breakdown = buildUnnamed1683(); | 6408 o.breakdown = buildUnnamed257(); |
| 6407 o.dateRange = buildDateRange(); | 6409 o.dateRange = buildDateRange(); |
| 6408 o.dimension = "foo"; | 6410 o.dimension = "foo"; |
| 6409 o.dimensionFilters = buildUnnamed1684(); | 6411 o.dimensionFilters = buildUnnamed258(); |
| 6410 o.metricNames = buildUnnamed1685(); | 6412 o.metricNames = buildUnnamed259(); |
| 6411 o.overlapMetricNames = buildUnnamed1686(); | 6413 o.overlapMetricNames = buildUnnamed260(); |
| 6412 o.pivoted = true; | 6414 o.pivoted = true; |
| 6413 } | 6415 } |
| 6414 buildCounterReportCrossDimensionReachCriteria--; | 6416 buildCounterReportCrossDimensionReachCriteria--; |
| 6415 return o; | 6417 return o; |
| 6416 } | 6418 } |
| 6417 | 6419 |
| 6418 checkReportCrossDimensionReachCriteria(api.ReportCrossDimensionReachCriteria o)
{ | 6420 checkReportCrossDimensionReachCriteria(api.ReportCrossDimensionReachCriteria o)
{ |
| 6419 buildCounterReportCrossDimensionReachCriteria++; | 6421 buildCounterReportCrossDimensionReachCriteria++; |
| 6420 if (buildCounterReportCrossDimensionReachCriteria < 3) { | 6422 if (buildCounterReportCrossDimensionReachCriteria < 3) { |
| 6421 checkUnnamed1683(o.breakdown); | 6423 checkUnnamed257(o.breakdown); |
| 6422 checkDateRange(o.dateRange); | 6424 checkDateRange(o.dateRange); |
| 6423 unittest.expect(o.dimension, unittest.equals('foo')); | 6425 unittest.expect(o.dimension, unittest.equals('foo')); |
| 6424 checkUnnamed1684(o.dimensionFilters); | 6426 checkUnnamed258(o.dimensionFilters); |
| 6425 checkUnnamed1685(o.metricNames); | 6427 checkUnnamed259(o.metricNames); |
| 6426 checkUnnamed1686(o.overlapMetricNames); | 6428 checkUnnamed260(o.overlapMetricNames); |
| 6427 unittest.expect(o.pivoted, unittest.isTrue); | 6429 unittest.expect(o.pivoted, unittest.isTrue); |
| 6428 } | 6430 } |
| 6429 buildCounterReportCrossDimensionReachCriteria--; | 6431 buildCounterReportCrossDimensionReachCriteria--; |
| 6430 } | 6432 } |
| 6431 | 6433 |
| 6432 buildUnnamed1687() { | 6434 buildUnnamed261() { |
| 6433 var o = new core.List<api.Recipient>(); | 6435 var o = new core.List<api.Recipient>(); |
| 6434 o.add(buildRecipient()); | 6436 o.add(buildRecipient()); |
| 6435 o.add(buildRecipient()); | 6437 o.add(buildRecipient()); |
| 6436 return o; | 6438 return o; |
| 6437 } | 6439 } |
| 6438 | 6440 |
| 6439 checkUnnamed1687(core.List<api.Recipient> o) { | 6441 checkUnnamed261(core.List<api.Recipient> o) { |
| 6440 unittest.expect(o, unittest.hasLength(2)); | 6442 unittest.expect(o, unittest.hasLength(2)); |
| 6441 checkRecipient(o[0]); | 6443 checkRecipient(o[0]); |
| 6442 checkRecipient(o[1]); | 6444 checkRecipient(o[1]); |
| 6443 } | 6445 } |
| 6444 | 6446 |
| 6445 core.int buildCounterReportDelivery = 0; | 6447 core.int buildCounterReportDelivery = 0; |
| 6446 buildReportDelivery() { | 6448 buildReportDelivery() { |
| 6447 var o = new api.ReportDelivery(); | 6449 var o = new api.ReportDelivery(); |
| 6448 buildCounterReportDelivery++; | 6450 buildCounterReportDelivery++; |
| 6449 if (buildCounterReportDelivery < 3) { | 6451 if (buildCounterReportDelivery < 3) { |
| 6450 o.emailOwner = true; | 6452 o.emailOwner = true; |
| 6451 o.emailOwnerDeliveryType = "foo"; | 6453 o.emailOwnerDeliveryType = "foo"; |
| 6452 o.message = "foo"; | 6454 o.message = "foo"; |
| 6453 o.recipients = buildUnnamed1687(); | 6455 o.recipients = buildUnnamed261(); |
| 6454 } | 6456 } |
| 6455 buildCounterReportDelivery--; | 6457 buildCounterReportDelivery--; |
| 6456 return o; | 6458 return o; |
| 6457 } | 6459 } |
| 6458 | 6460 |
| 6459 checkReportDelivery(api.ReportDelivery o) { | 6461 checkReportDelivery(api.ReportDelivery o) { |
| 6460 buildCounterReportDelivery++; | 6462 buildCounterReportDelivery++; |
| 6461 if (buildCounterReportDelivery < 3) { | 6463 if (buildCounterReportDelivery < 3) { |
| 6462 unittest.expect(o.emailOwner, unittest.isTrue); | 6464 unittest.expect(o.emailOwner, unittest.isTrue); |
| 6463 unittest.expect(o.emailOwnerDeliveryType, unittest.equals('foo')); | 6465 unittest.expect(o.emailOwnerDeliveryType, unittest.equals('foo')); |
| 6464 unittest.expect(o.message, unittest.equals('foo')); | 6466 unittest.expect(o.message, unittest.equals('foo')); |
| 6465 checkUnnamed1687(o.recipients); | 6467 checkUnnamed261(o.recipients); |
| 6466 } | 6468 } |
| 6467 buildCounterReportDelivery--; | 6469 buildCounterReportDelivery--; |
| 6468 } | 6470 } |
| 6469 | 6471 |
| 6470 buildUnnamed1688() { | 6472 buildUnnamed262() { |
| 6471 var o = new core.List<api.DimensionValue>(); | 6473 var o = new core.List<api.DimensionValue>(); |
| 6472 o.add(buildDimensionValue()); | 6474 o.add(buildDimensionValue()); |
| 6473 o.add(buildDimensionValue()); | 6475 o.add(buildDimensionValue()); |
| 6474 return o; | 6476 return o; |
| 6475 } | 6477 } |
| 6476 | 6478 |
| 6477 checkUnnamed1688(core.List<api.DimensionValue> o) { | 6479 checkUnnamed262(core.List<api.DimensionValue> o) { |
| 6478 unittest.expect(o, unittest.hasLength(2)); | 6480 unittest.expect(o, unittest.hasLength(2)); |
| 6479 checkDimensionValue(o[0]); | 6481 checkDimensionValue(o[0]); |
| 6480 checkDimensionValue(o[1]); | 6482 checkDimensionValue(o[1]); |
| 6481 } | 6483 } |
| 6482 | 6484 |
| 6483 buildUnnamed1689() { | 6485 buildUnnamed263() { |
| 6484 var o = new core.List<api.DimensionValue>(); | 6486 var o = new core.List<api.DimensionValue>(); |
| 6485 o.add(buildDimensionValue()); | 6487 o.add(buildDimensionValue()); |
| 6486 o.add(buildDimensionValue()); | 6488 o.add(buildDimensionValue()); |
| 6487 return o; | 6489 return o; |
| 6488 } | 6490 } |
| 6489 | 6491 |
| 6490 checkUnnamed1689(core.List<api.DimensionValue> o) { | 6492 checkUnnamed263(core.List<api.DimensionValue> o) { |
| 6491 unittest.expect(o, unittest.hasLength(2)); | 6493 unittest.expect(o, unittest.hasLength(2)); |
| 6492 checkDimensionValue(o[0]); | 6494 checkDimensionValue(o[0]); |
| 6493 checkDimensionValue(o[1]); | 6495 checkDimensionValue(o[1]); |
| 6494 } | 6496 } |
| 6495 | 6497 |
| 6496 buildUnnamed1690() { | 6498 buildUnnamed264() { |
| 6497 var o = new core.List<api.SortedDimension>(); | 6499 var o = new core.List<api.SortedDimension>(); |
| 6498 o.add(buildSortedDimension()); | 6500 o.add(buildSortedDimension()); |
| 6499 o.add(buildSortedDimension()); | 6501 o.add(buildSortedDimension()); |
| 6500 return o; | 6502 return o; |
| 6501 } | 6503 } |
| 6502 | 6504 |
| 6503 checkUnnamed1690(core.List<api.SortedDimension> o) { | 6505 checkUnnamed264(core.List<api.SortedDimension> o) { |
| 6504 unittest.expect(o, unittest.hasLength(2)); | 6506 unittest.expect(o, unittest.hasLength(2)); |
| 6505 checkSortedDimension(o[0]); | 6507 checkSortedDimension(o[0]); |
| 6506 checkSortedDimension(o[1]); | 6508 checkSortedDimension(o[1]); |
| 6507 } | 6509 } |
| 6508 | 6510 |
| 6509 buildUnnamed1691() { | 6511 buildUnnamed265() { |
| 6510 var o = new core.List<core.String>(); | 6512 var o = new core.List<core.String>(); |
| 6511 o.add("foo"); | 6513 o.add("foo"); |
| 6512 o.add("foo"); | 6514 o.add("foo"); |
| 6513 return o; | 6515 return o; |
| 6514 } | 6516 } |
| 6515 | 6517 |
| 6516 checkUnnamed1691(core.List<core.String> o) { | 6518 checkUnnamed265(core.List<core.String> o) { |
| 6517 unittest.expect(o, unittest.hasLength(2)); | 6519 unittest.expect(o, unittest.hasLength(2)); |
| 6518 unittest.expect(o[0], unittest.equals('foo')); | 6520 unittest.expect(o[0], unittest.equals('foo')); |
| 6519 unittest.expect(o[1], unittest.equals('foo')); | 6521 unittest.expect(o[1], unittest.equals('foo')); |
| 6520 } | 6522 } |
| 6521 | 6523 |
| 6522 core.int buildCounterReportFloodlightCriteriaReportProperties = 0; | 6524 core.int buildCounterReportFloodlightCriteriaReportProperties = 0; |
| 6523 buildReportFloodlightCriteriaReportProperties() { | 6525 buildReportFloodlightCriteriaReportProperties() { |
| 6524 var o = new api.ReportFloodlightCriteriaReportProperties(); | 6526 var o = new api.ReportFloodlightCriteriaReportProperties(); |
| 6525 buildCounterReportFloodlightCriteriaReportProperties++; | 6527 buildCounterReportFloodlightCriteriaReportProperties++; |
| 6526 if (buildCounterReportFloodlightCriteriaReportProperties < 3) { | 6528 if (buildCounterReportFloodlightCriteriaReportProperties < 3) { |
| (...skipping 13 matching lines...) Expand all Loading... |
| 6540 unittest.expect(o.includeUnattributedIPConversions, unittest.isTrue); | 6542 unittest.expect(o.includeUnattributedIPConversions, unittest.isTrue); |
| 6541 } | 6543 } |
| 6542 buildCounterReportFloodlightCriteriaReportProperties--; | 6544 buildCounterReportFloodlightCriteriaReportProperties--; |
| 6543 } | 6545 } |
| 6544 | 6546 |
| 6545 core.int buildCounterReportFloodlightCriteria = 0; | 6547 core.int buildCounterReportFloodlightCriteria = 0; |
| 6546 buildReportFloodlightCriteria() { | 6548 buildReportFloodlightCriteria() { |
| 6547 var o = new api.ReportFloodlightCriteria(); | 6549 var o = new api.ReportFloodlightCriteria(); |
| 6548 buildCounterReportFloodlightCriteria++; | 6550 buildCounterReportFloodlightCriteria++; |
| 6549 if (buildCounterReportFloodlightCriteria < 3) { | 6551 if (buildCounterReportFloodlightCriteria < 3) { |
| 6550 o.customRichMediaEvents = buildUnnamed1688(); | 6552 o.customRichMediaEvents = buildUnnamed262(); |
| 6551 o.dateRange = buildDateRange(); | 6553 o.dateRange = buildDateRange(); |
| 6552 o.dimensionFilters = buildUnnamed1689(); | 6554 o.dimensionFilters = buildUnnamed263(); |
| 6553 o.dimensions = buildUnnamed1690(); | 6555 o.dimensions = buildUnnamed264(); |
| 6554 o.floodlightConfigId = buildDimensionValue(); | 6556 o.floodlightConfigId = buildDimensionValue(); |
| 6555 o.metricNames = buildUnnamed1691(); | 6557 o.metricNames = buildUnnamed265(); |
| 6556 o.reportProperties = buildReportFloodlightCriteriaReportProperties(); | 6558 o.reportProperties = buildReportFloodlightCriteriaReportProperties(); |
| 6557 } | 6559 } |
| 6558 buildCounterReportFloodlightCriteria--; | 6560 buildCounterReportFloodlightCriteria--; |
| 6559 return o; | 6561 return o; |
| 6560 } | 6562 } |
| 6561 | 6563 |
| 6562 checkReportFloodlightCriteria(api.ReportFloodlightCriteria o) { | 6564 checkReportFloodlightCriteria(api.ReportFloodlightCriteria o) { |
| 6563 buildCounterReportFloodlightCriteria++; | 6565 buildCounterReportFloodlightCriteria++; |
| 6564 if (buildCounterReportFloodlightCriteria < 3) { | 6566 if (buildCounterReportFloodlightCriteria < 3) { |
| 6565 checkUnnamed1688(o.customRichMediaEvents); | 6567 checkUnnamed262(o.customRichMediaEvents); |
| 6566 checkDateRange(o.dateRange); | 6568 checkDateRange(o.dateRange); |
| 6567 checkUnnamed1689(o.dimensionFilters); | 6569 checkUnnamed263(o.dimensionFilters); |
| 6568 checkUnnamed1690(o.dimensions); | 6570 checkUnnamed264(o.dimensions); |
| 6569 checkDimensionValue(o.floodlightConfigId); | 6571 checkDimensionValue(o.floodlightConfigId); |
| 6570 checkUnnamed1691(o.metricNames); | 6572 checkUnnamed265(o.metricNames); |
| 6571 checkReportFloodlightCriteriaReportProperties(o.reportProperties); | 6573 checkReportFloodlightCriteriaReportProperties(o.reportProperties); |
| 6572 } | 6574 } |
| 6573 buildCounterReportFloodlightCriteria--; | 6575 buildCounterReportFloodlightCriteria--; |
| 6574 } | 6576 } |
| 6575 | 6577 |
| 6576 buildUnnamed1692() { | 6578 buildUnnamed266() { |
| 6577 var o = new core.List<api.DimensionValue>(); | 6579 var o = new core.List<api.DimensionValue>(); |
| 6578 o.add(buildDimensionValue()); | 6580 o.add(buildDimensionValue()); |
| 6579 o.add(buildDimensionValue()); | 6581 o.add(buildDimensionValue()); |
| 6580 return o; | 6582 return o; |
| 6581 } | 6583 } |
| 6582 | 6584 |
| 6583 checkUnnamed1692(core.List<api.DimensionValue> o) { | 6585 checkUnnamed266(core.List<api.DimensionValue> o) { |
| 6584 unittest.expect(o, unittest.hasLength(2)); | 6586 unittest.expect(o, unittest.hasLength(2)); |
| 6585 checkDimensionValue(o[0]); | 6587 checkDimensionValue(o[0]); |
| 6586 checkDimensionValue(o[1]); | 6588 checkDimensionValue(o[1]); |
| 6587 } | 6589 } |
| 6588 | 6590 |
| 6589 buildUnnamed1693() { | 6591 buildUnnamed267() { |
| 6590 var o = new core.List<api.SortedDimension>(); | 6592 var o = new core.List<api.SortedDimension>(); |
| 6591 o.add(buildSortedDimension()); | 6593 o.add(buildSortedDimension()); |
| 6592 o.add(buildSortedDimension()); | 6594 o.add(buildSortedDimension()); |
| 6593 return o; | 6595 return o; |
| 6594 } | 6596 } |
| 6595 | 6597 |
| 6596 checkUnnamed1693(core.List<api.SortedDimension> o) { | 6598 checkUnnamed267(core.List<api.SortedDimension> o) { |
| 6597 unittest.expect(o, unittest.hasLength(2)); | 6599 unittest.expect(o, unittest.hasLength(2)); |
| 6598 checkSortedDimension(o[0]); | 6600 checkSortedDimension(o[0]); |
| 6599 checkSortedDimension(o[1]); | 6601 checkSortedDimension(o[1]); |
| 6600 } | 6602 } |
| 6601 | 6603 |
| 6602 buildUnnamed1694() { | 6604 buildUnnamed268() { |
| 6603 var o = new core.List<api.SortedDimension>(); | 6605 var o = new core.List<api.SortedDimension>(); |
| 6604 o.add(buildSortedDimension()); | 6606 o.add(buildSortedDimension()); |
| 6605 o.add(buildSortedDimension()); | 6607 o.add(buildSortedDimension()); |
| 6606 return o; | 6608 return o; |
| 6607 } | 6609 } |
| 6608 | 6610 |
| 6609 checkUnnamed1694(core.List<api.SortedDimension> o) { | 6611 checkUnnamed268(core.List<api.SortedDimension> o) { |
| 6610 unittest.expect(o, unittest.hasLength(2)); | 6612 unittest.expect(o, unittest.hasLength(2)); |
| 6611 checkSortedDimension(o[0]); | 6613 checkSortedDimension(o[0]); |
| 6612 checkSortedDimension(o[1]); | 6614 checkSortedDimension(o[1]); |
| 6613 } | 6615 } |
| 6614 | 6616 |
| 6615 buildUnnamed1695() { | 6617 buildUnnamed269() { |
| 6616 var o = new core.List<api.DimensionValue>(); | 6618 var o = new core.List<api.DimensionValue>(); |
| 6617 o.add(buildDimensionValue()); | 6619 o.add(buildDimensionValue()); |
| 6618 o.add(buildDimensionValue()); | 6620 o.add(buildDimensionValue()); |
| 6619 return o; | 6621 return o; |
| 6620 } | 6622 } |
| 6621 | 6623 |
| 6622 checkUnnamed1695(core.List<api.DimensionValue> o) { | 6624 checkUnnamed269(core.List<api.DimensionValue> o) { |
| 6623 unittest.expect(o, unittest.hasLength(2)); | 6625 unittest.expect(o, unittest.hasLength(2)); |
| 6624 checkDimensionValue(o[0]); | 6626 checkDimensionValue(o[0]); |
| 6625 checkDimensionValue(o[1]); | 6627 checkDimensionValue(o[1]); |
| 6626 } | 6628 } |
| 6627 | 6629 |
| 6628 buildUnnamed1696() { | 6630 buildUnnamed270() { |
| 6629 var o = new core.List<core.String>(); | 6631 var o = new core.List<core.String>(); |
| 6630 o.add("foo"); | 6632 o.add("foo"); |
| 6631 o.add("foo"); | 6633 o.add("foo"); |
| 6632 return o; | 6634 return o; |
| 6633 } | 6635 } |
| 6634 | 6636 |
| 6635 checkUnnamed1696(core.List<core.String> o) { | 6637 checkUnnamed270(core.List<core.String> o) { |
| 6636 unittest.expect(o, unittest.hasLength(2)); | 6638 unittest.expect(o, unittest.hasLength(2)); |
| 6637 unittest.expect(o[0], unittest.equals('foo')); | 6639 unittest.expect(o[0], unittest.equals('foo')); |
| 6638 unittest.expect(o[1], unittest.equals('foo')); | 6640 unittest.expect(o[1], unittest.equals('foo')); |
| 6639 } | 6641 } |
| 6640 | 6642 |
| 6641 buildUnnamed1697() { | 6643 buildUnnamed271() { |
| 6642 var o = new core.List<api.SortedDimension>(); | 6644 var o = new core.List<api.SortedDimension>(); |
| 6643 o.add(buildSortedDimension()); | 6645 o.add(buildSortedDimension()); |
| 6644 o.add(buildSortedDimension()); | 6646 o.add(buildSortedDimension()); |
| 6645 return o; | 6647 return o; |
| 6646 } | 6648 } |
| 6647 | 6649 |
| 6648 checkUnnamed1697(core.List<api.SortedDimension> o) { | 6650 checkUnnamed271(core.List<api.SortedDimension> o) { |
| 6649 unittest.expect(o, unittest.hasLength(2)); | 6651 unittest.expect(o, unittest.hasLength(2)); |
| 6650 checkSortedDimension(o[0]); | 6652 checkSortedDimension(o[0]); |
| 6651 checkSortedDimension(o[1]); | 6653 checkSortedDimension(o[1]); |
| 6652 } | 6654 } |
| 6653 | 6655 |
| 6654 core.int buildCounterReportPathToConversionCriteriaReportProperties = 0; | 6656 core.int buildCounterReportPathToConversionCriteriaReportProperties = 0; |
| 6655 buildReportPathToConversionCriteriaReportProperties() { | 6657 buildReportPathToConversionCriteriaReportProperties() { |
| 6656 var o = new api.ReportPathToConversionCriteriaReportProperties(); | 6658 var o = new api.ReportPathToConversionCriteriaReportProperties(); |
| 6657 buildCounterReportPathToConversionCriteriaReportProperties++; | 6659 buildCounterReportPathToConversionCriteriaReportProperties++; |
| 6658 if (buildCounterReportPathToConversionCriteriaReportProperties < 3) { | 6660 if (buildCounterReportPathToConversionCriteriaReportProperties < 3) { |
| (...skipping 25 matching lines...) Expand all Loading... |
| 6684 unittest.expect(o.pivotOnInteractionPath, unittest.isTrue); | 6686 unittest.expect(o.pivotOnInteractionPath, unittest.isTrue); |
| 6685 } | 6687 } |
| 6686 buildCounterReportPathToConversionCriteriaReportProperties--; | 6688 buildCounterReportPathToConversionCriteriaReportProperties--; |
| 6687 } | 6689 } |
| 6688 | 6690 |
| 6689 core.int buildCounterReportPathToConversionCriteria = 0; | 6691 core.int buildCounterReportPathToConversionCriteria = 0; |
| 6690 buildReportPathToConversionCriteria() { | 6692 buildReportPathToConversionCriteria() { |
| 6691 var o = new api.ReportPathToConversionCriteria(); | 6693 var o = new api.ReportPathToConversionCriteria(); |
| 6692 buildCounterReportPathToConversionCriteria++; | 6694 buildCounterReportPathToConversionCriteria++; |
| 6693 if (buildCounterReportPathToConversionCriteria < 3) { | 6695 if (buildCounterReportPathToConversionCriteria < 3) { |
| 6694 o.activityFilters = buildUnnamed1692(); | 6696 o.activityFilters = buildUnnamed266(); |
| 6695 o.conversionDimensions = buildUnnamed1693(); | 6697 o.conversionDimensions = buildUnnamed267(); |
| 6696 o.customFloodlightVariables = buildUnnamed1694(); | 6698 o.customFloodlightVariables = buildUnnamed268(); |
| 6697 o.customRichMediaEvents = buildUnnamed1695(); | 6699 o.customRichMediaEvents = buildUnnamed269(); |
| 6698 o.dateRange = buildDateRange(); | 6700 o.dateRange = buildDateRange(); |
| 6699 o.floodlightConfigId = buildDimensionValue(); | 6701 o.floodlightConfigId = buildDimensionValue(); |
| 6700 o.metricNames = buildUnnamed1696(); | 6702 o.metricNames = buildUnnamed270(); |
| 6701 o.perInteractionDimensions = buildUnnamed1697(); | 6703 o.perInteractionDimensions = buildUnnamed271(); |
| 6702 o.reportProperties = buildReportPathToConversionCriteriaReportProperties(); | 6704 o.reportProperties = buildReportPathToConversionCriteriaReportProperties(); |
| 6703 } | 6705 } |
| 6704 buildCounterReportPathToConversionCriteria--; | 6706 buildCounterReportPathToConversionCriteria--; |
| 6705 return o; | 6707 return o; |
| 6706 } | 6708 } |
| 6707 | 6709 |
| 6708 checkReportPathToConversionCriteria(api.ReportPathToConversionCriteria o) { | 6710 checkReportPathToConversionCriteria(api.ReportPathToConversionCriteria o) { |
| 6709 buildCounterReportPathToConversionCriteria++; | 6711 buildCounterReportPathToConversionCriteria++; |
| 6710 if (buildCounterReportPathToConversionCriteria < 3) { | 6712 if (buildCounterReportPathToConversionCriteria < 3) { |
| 6711 checkUnnamed1692(o.activityFilters); | 6713 checkUnnamed266(o.activityFilters); |
| 6712 checkUnnamed1693(o.conversionDimensions); | 6714 checkUnnamed267(o.conversionDimensions); |
| 6713 checkUnnamed1694(o.customFloodlightVariables); | 6715 checkUnnamed268(o.customFloodlightVariables); |
| 6714 checkUnnamed1695(o.customRichMediaEvents); | 6716 checkUnnamed269(o.customRichMediaEvents); |
| 6715 checkDateRange(o.dateRange); | 6717 checkDateRange(o.dateRange); |
| 6716 checkDimensionValue(o.floodlightConfigId); | 6718 checkDimensionValue(o.floodlightConfigId); |
| 6717 checkUnnamed1696(o.metricNames); | 6719 checkUnnamed270(o.metricNames); |
| 6718 checkUnnamed1697(o.perInteractionDimensions); | 6720 checkUnnamed271(o.perInteractionDimensions); |
| 6719 checkReportPathToConversionCriteriaReportProperties(o.reportProperties); | 6721 checkReportPathToConversionCriteriaReportProperties(o.reportProperties); |
| 6720 } | 6722 } |
| 6721 buildCounterReportPathToConversionCriteria--; | 6723 buildCounterReportPathToConversionCriteria--; |
| 6722 } | 6724 } |
| 6723 | 6725 |
| 6724 buildUnnamed1698() { | 6726 buildUnnamed272() { |
| 6725 var o = new core.List<api.DimensionValue>(); | 6727 var o = new core.List<api.DimensionValue>(); |
| 6726 o.add(buildDimensionValue()); | 6728 o.add(buildDimensionValue()); |
| 6727 o.add(buildDimensionValue()); | 6729 o.add(buildDimensionValue()); |
| 6728 return o; | 6730 return o; |
| 6729 } | 6731 } |
| 6730 | 6732 |
| 6731 checkUnnamed1698(core.List<api.DimensionValue> o) { | 6733 checkUnnamed272(core.List<api.DimensionValue> o) { |
| 6732 unittest.expect(o, unittest.hasLength(2)); | 6734 unittest.expect(o, unittest.hasLength(2)); |
| 6733 checkDimensionValue(o[0]); | 6735 checkDimensionValue(o[0]); |
| 6734 checkDimensionValue(o[1]); | 6736 checkDimensionValue(o[1]); |
| 6735 } | 6737 } |
| 6736 | 6738 |
| 6737 buildUnnamed1699() { | 6739 buildUnnamed273() { |
| 6738 var o = new core.List<api.SortedDimension>(); | 6740 var o = new core.List<api.SortedDimension>(); |
| 6739 o.add(buildSortedDimension()); | 6741 o.add(buildSortedDimension()); |
| 6740 o.add(buildSortedDimension()); | 6742 o.add(buildSortedDimension()); |
| 6741 return o; | 6743 return o; |
| 6742 } | 6744 } |
| 6743 | 6745 |
| 6744 checkUnnamed1699(core.List<api.SortedDimension> o) { | 6746 checkUnnamed273(core.List<api.SortedDimension> o) { |
| 6745 unittest.expect(o, unittest.hasLength(2)); | 6747 unittest.expect(o, unittest.hasLength(2)); |
| 6746 checkSortedDimension(o[0]); | 6748 checkSortedDimension(o[0]); |
| 6747 checkSortedDimension(o[1]); | 6749 checkSortedDimension(o[1]); |
| 6748 } | 6750 } |
| 6749 | 6751 |
| 6750 buildUnnamed1700() { | 6752 buildUnnamed274() { |
| 6751 var o = new core.List<core.String>(); | 6753 var o = new core.List<core.String>(); |
| 6752 o.add("foo"); | 6754 o.add("foo"); |
| 6753 o.add("foo"); | 6755 o.add("foo"); |
| 6754 return o; | 6756 return o; |
| 6755 } | 6757 } |
| 6756 | 6758 |
| 6757 checkUnnamed1700(core.List<core.String> o) { | 6759 checkUnnamed274(core.List<core.String> o) { |
| 6758 unittest.expect(o, unittest.hasLength(2)); | 6760 unittest.expect(o, unittest.hasLength(2)); |
| 6759 unittest.expect(o[0], unittest.equals('foo')); | 6761 unittest.expect(o[0], unittest.equals('foo')); |
| 6760 unittest.expect(o[1], unittest.equals('foo')); | 6762 unittest.expect(o[1], unittest.equals('foo')); |
| 6761 } | 6763 } |
| 6762 | 6764 |
| 6763 buildUnnamed1701() { | 6765 buildUnnamed275() { |
| 6764 var o = new core.List<core.String>(); | 6766 var o = new core.List<core.String>(); |
| 6765 o.add("foo"); | 6767 o.add("foo"); |
| 6766 o.add("foo"); | 6768 o.add("foo"); |
| 6767 return o; | 6769 return o; |
| 6768 } | 6770 } |
| 6769 | 6771 |
| 6770 checkUnnamed1701(core.List<core.String> o) { | 6772 checkUnnamed275(core.List<core.String> o) { |
| 6771 unittest.expect(o, unittest.hasLength(2)); | 6773 unittest.expect(o, unittest.hasLength(2)); |
| 6772 unittest.expect(o[0], unittest.equals('foo')); | 6774 unittest.expect(o[0], unittest.equals('foo')); |
| 6773 unittest.expect(o[1], unittest.equals('foo')); | 6775 unittest.expect(o[1], unittest.equals('foo')); |
| 6774 } | 6776 } |
| 6775 | 6777 |
| 6776 core.int buildCounterReportReachCriteria = 0; | 6778 core.int buildCounterReportReachCriteria = 0; |
| 6777 buildReportReachCriteria() { | 6779 buildReportReachCriteria() { |
| 6778 var o = new api.ReportReachCriteria(); | 6780 var o = new api.ReportReachCriteria(); |
| 6779 buildCounterReportReachCriteria++; | 6781 buildCounterReportReachCriteria++; |
| 6780 if (buildCounterReportReachCriteria < 3) { | 6782 if (buildCounterReportReachCriteria < 3) { |
| 6781 o.activities = buildActivities(); | 6783 o.activities = buildActivities(); |
| 6782 o.customRichMediaEvents = buildCustomRichMediaEvents(); | 6784 o.customRichMediaEvents = buildCustomRichMediaEvents(); |
| 6783 o.dateRange = buildDateRange(); | 6785 o.dateRange = buildDateRange(); |
| 6784 o.dimensionFilters = buildUnnamed1698(); | 6786 o.dimensionFilters = buildUnnamed272(); |
| 6785 o.dimensions = buildUnnamed1699(); | 6787 o.dimensions = buildUnnamed273(); |
| 6786 o.enableAllDimensionCombinations = true; | 6788 o.enableAllDimensionCombinations = true; |
| 6787 o.metricNames = buildUnnamed1700(); | 6789 o.metricNames = buildUnnamed274(); |
| 6788 o.reachByFrequencyMetricNames = buildUnnamed1701(); | 6790 o.reachByFrequencyMetricNames = buildUnnamed275(); |
| 6789 } | 6791 } |
| 6790 buildCounterReportReachCriteria--; | 6792 buildCounterReportReachCriteria--; |
| 6791 return o; | 6793 return o; |
| 6792 } | 6794 } |
| 6793 | 6795 |
| 6794 checkReportReachCriteria(api.ReportReachCriteria o) { | 6796 checkReportReachCriteria(api.ReportReachCriteria o) { |
| 6795 buildCounterReportReachCriteria++; | 6797 buildCounterReportReachCriteria++; |
| 6796 if (buildCounterReportReachCriteria < 3) { | 6798 if (buildCounterReportReachCriteria < 3) { |
| 6797 checkActivities(o.activities); | 6799 checkActivities(o.activities); |
| 6798 checkCustomRichMediaEvents(o.customRichMediaEvents); | 6800 checkCustomRichMediaEvents(o.customRichMediaEvents); |
| 6799 checkDateRange(o.dateRange); | 6801 checkDateRange(o.dateRange); |
| 6800 checkUnnamed1698(o.dimensionFilters); | 6802 checkUnnamed272(o.dimensionFilters); |
| 6801 checkUnnamed1699(o.dimensions); | 6803 checkUnnamed273(o.dimensions); |
| 6802 unittest.expect(o.enableAllDimensionCombinations, unittest.isTrue); | 6804 unittest.expect(o.enableAllDimensionCombinations, unittest.isTrue); |
| 6803 checkUnnamed1700(o.metricNames); | 6805 checkUnnamed274(o.metricNames); |
| 6804 checkUnnamed1701(o.reachByFrequencyMetricNames); | 6806 checkUnnamed275(o.reachByFrequencyMetricNames); |
| 6805 } | 6807 } |
| 6806 buildCounterReportReachCriteria--; | 6808 buildCounterReportReachCriteria--; |
| 6807 } | 6809 } |
| 6808 | 6810 |
| 6809 buildUnnamed1702() { | 6811 buildUnnamed276() { |
| 6810 var o = new core.List<core.String>(); | 6812 var o = new core.List<core.String>(); |
| 6811 o.add("foo"); | 6813 o.add("foo"); |
| 6812 o.add("foo"); | 6814 o.add("foo"); |
| 6813 return o; | 6815 return o; |
| 6814 } | 6816 } |
| 6815 | 6817 |
| 6816 checkUnnamed1702(core.List<core.String> o) { | 6818 checkUnnamed276(core.List<core.String> o) { |
| 6817 unittest.expect(o, unittest.hasLength(2)); | 6819 unittest.expect(o, unittest.hasLength(2)); |
| 6818 unittest.expect(o[0], unittest.equals('foo')); | 6820 unittest.expect(o[0], unittest.equals('foo')); |
| 6819 unittest.expect(o[1], unittest.equals('foo')); | 6821 unittest.expect(o[1], unittest.equals('foo')); |
| 6820 } | 6822 } |
| 6821 | 6823 |
| 6822 core.int buildCounterReportSchedule = 0; | 6824 core.int buildCounterReportSchedule = 0; |
| 6823 buildReportSchedule() { | 6825 buildReportSchedule() { |
| 6824 var o = new api.ReportSchedule(); | 6826 var o = new api.ReportSchedule(); |
| 6825 buildCounterReportSchedule++; | 6827 buildCounterReportSchedule++; |
| 6826 if (buildCounterReportSchedule < 3) { | 6828 if (buildCounterReportSchedule < 3) { |
| 6827 o.active = true; | 6829 o.active = true; |
| 6828 o.every = 42; | 6830 o.every = 42; |
| 6829 o.expirationDate = core.DateTime.parse("2002-02-27T14:01:02Z"); | 6831 o.expirationDate = core.DateTime.parse("2002-02-27T14:01:02Z"); |
| 6830 o.repeats = "foo"; | 6832 o.repeats = "foo"; |
| 6831 o.repeatsOnWeekDays = buildUnnamed1702(); | 6833 o.repeatsOnWeekDays = buildUnnamed276(); |
| 6832 o.runsOnDayOfMonth = "foo"; | 6834 o.runsOnDayOfMonth = "foo"; |
| 6833 o.startDate = core.DateTime.parse("2002-02-27T14:01:02Z"); | 6835 o.startDate = core.DateTime.parse("2002-02-27T14:01:02Z"); |
| 6834 } | 6836 } |
| 6835 buildCounterReportSchedule--; | 6837 buildCounterReportSchedule--; |
| 6836 return o; | 6838 return o; |
| 6837 } | 6839 } |
| 6838 | 6840 |
| 6839 checkReportSchedule(api.ReportSchedule o) { | 6841 checkReportSchedule(api.ReportSchedule o) { |
| 6840 buildCounterReportSchedule++; | 6842 buildCounterReportSchedule++; |
| 6841 if (buildCounterReportSchedule < 3) { | 6843 if (buildCounterReportSchedule < 3) { |
| 6842 unittest.expect(o.active, unittest.isTrue); | 6844 unittest.expect(o.active, unittest.isTrue); |
| 6843 unittest.expect(o.every, unittest.equals(42)); | 6845 unittest.expect(o.every, unittest.equals(42)); |
| 6844 unittest.expect(o.expirationDate, unittest.equals(core.DateTime.parse("2002-
02-27T00:00:00"))); | 6846 unittest.expect(o.expirationDate, unittest.equals(core.DateTime.parse("2002-
02-27T00:00:00"))); |
| 6845 unittest.expect(o.repeats, unittest.equals('foo')); | 6847 unittest.expect(o.repeats, unittest.equals('foo')); |
| 6846 checkUnnamed1702(o.repeatsOnWeekDays); | 6848 checkUnnamed276(o.repeatsOnWeekDays); |
| 6847 unittest.expect(o.runsOnDayOfMonth, unittest.equals('foo')); | 6849 unittest.expect(o.runsOnDayOfMonth, unittest.equals('foo')); |
| 6848 unittest.expect(o.startDate, unittest.equals(core.DateTime.parse("2002-02-27
T00:00:00"))); | 6850 unittest.expect(o.startDate, unittest.equals(core.DateTime.parse("2002-02-27
T00:00:00"))); |
| 6849 } | 6851 } |
| 6850 buildCounterReportSchedule--; | 6852 buildCounterReportSchedule--; |
| 6851 } | 6853 } |
| 6852 | 6854 |
| 6853 core.int buildCounterReport = 0; | 6855 core.int buildCounterReport = 0; |
| 6854 buildReport() { | 6856 buildReport() { |
| 6855 var o = new api.Report(); | 6857 var o = new api.Report(); |
| 6856 buildCounterReport++; | 6858 buildCounterReport++; |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6896 unittest.expect(o.ownerProfileId, unittest.equals('foo')); | 6898 unittest.expect(o.ownerProfileId, unittest.equals('foo')); |
| 6897 checkReportPathToConversionCriteria(o.pathToConversionCriteria); | 6899 checkReportPathToConversionCriteria(o.pathToConversionCriteria); |
| 6898 checkReportReachCriteria(o.reachCriteria); | 6900 checkReportReachCriteria(o.reachCriteria); |
| 6899 checkReportSchedule(o.schedule); | 6901 checkReportSchedule(o.schedule); |
| 6900 unittest.expect(o.subAccountId, unittest.equals('foo')); | 6902 unittest.expect(o.subAccountId, unittest.equals('foo')); |
| 6901 unittest.expect(o.type, unittest.equals('foo')); | 6903 unittest.expect(o.type, unittest.equals('foo')); |
| 6902 } | 6904 } |
| 6903 buildCounterReport--; | 6905 buildCounterReport--; |
| 6904 } | 6906 } |
| 6905 | 6907 |
| 6906 buildUnnamed1703() { | 6908 buildUnnamed277() { |
| 6907 var o = new core.List<api.Dimension>(); | 6909 var o = new core.List<api.Dimension>(); |
| 6908 o.add(buildDimension()); | 6910 o.add(buildDimension()); |
| 6909 o.add(buildDimension()); | 6911 o.add(buildDimension()); |
| 6910 return o; | 6912 return o; |
| 6911 } | 6913 } |
| 6912 | 6914 |
| 6913 checkUnnamed1703(core.List<api.Dimension> o) { | 6915 checkUnnamed277(core.List<api.Dimension> o) { |
| 6914 unittest.expect(o, unittest.hasLength(2)); | 6916 unittest.expect(o, unittest.hasLength(2)); |
| 6915 checkDimension(o[0]); | 6917 checkDimension(o[0]); |
| 6916 checkDimension(o[1]); | 6918 checkDimension(o[1]); |
| 6917 } | 6919 } |
| 6918 | 6920 |
| 6919 buildUnnamed1704() { | 6921 buildUnnamed278() { |
| 6920 var o = new core.List<api.Dimension>(); | 6922 var o = new core.List<api.Dimension>(); |
| 6921 o.add(buildDimension()); | 6923 o.add(buildDimension()); |
| 6922 o.add(buildDimension()); | 6924 o.add(buildDimension()); |
| 6923 return o; | 6925 return o; |
| 6924 } | 6926 } |
| 6925 | 6927 |
| 6926 checkUnnamed1704(core.List<api.Dimension> o) { | 6928 checkUnnamed278(core.List<api.Dimension> o) { |
| 6927 unittest.expect(o, unittest.hasLength(2)); | 6929 unittest.expect(o, unittest.hasLength(2)); |
| 6928 checkDimension(o[0]); | 6930 checkDimension(o[0]); |
| 6929 checkDimension(o[1]); | 6931 checkDimension(o[1]); |
| 6930 } | 6932 } |
| 6931 | 6933 |
| 6932 buildUnnamed1705() { | 6934 buildUnnamed279() { |
| 6933 var o = new core.List<api.Metric>(); | 6935 var o = new core.List<api.Metric>(); |
| 6934 o.add(buildMetric()); | 6936 o.add(buildMetric()); |
| 6935 o.add(buildMetric()); | 6937 o.add(buildMetric()); |
| 6936 return o; | 6938 return o; |
| 6937 } | 6939 } |
| 6938 | 6940 |
| 6939 checkUnnamed1705(core.List<api.Metric> o) { | 6941 checkUnnamed279(core.List<api.Metric> o) { |
| 6940 unittest.expect(o, unittest.hasLength(2)); | 6942 unittest.expect(o, unittest.hasLength(2)); |
| 6941 checkMetric(o[0]); | 6943 checkMetric(o[0]); |
| 6942 checkMetric(o[1]); | 6944 checkMetric(o[1]); |
| 6943 } | 6945 } |
| 6944 | 6946 |
| 6945 buildUnnamed1706() { | 6947 buildUnnamed280() { |
| 6946 var o = new core.List<api.Metric>(); | 6948 var o = new core.List<api.Metric>(); |
| 6947 o.add(buildMetric()); | 6949 o.add(buildMetric()); |
| 6948 o.add(buildMetric()); | 6950 o.add(buildMetric()); |
| 6949 return o; | 6951 return o; |
| 6950 } | 6952 } |
| 6951 | 6953 |
| 6952 checkUnnamed1706(core.List<api.Metric> o) { | 6954 checkUnnamed280(core.List<api.Metric> o) { |
| 6953 unittest.expect(o, unittest.hasLength(2)); | 6955 unittest.expect(o, unittest.hasLength(2)); |
| 6954 checkMetric(o[0]); | 6956 checkMetric(o[0]); |
| 6955 checkMetric(o[1]); | 6957 checkMetric(o[1]); |
| 6956 } | 6958 } |
| 6957 | 6959 |
| 6958 core.int buildCounterReportCompatibleFields = 0; | 6960 core.int buildCounterReportCompatibleFields = 0; |
| 6959 buildReportCompatibleFields() { | 6961 buildReportCompatibleFields() { |
| 6960 var o = new api.ReportCompatibleFields(); | 6962 var o = new api.ReportCompatibleFields(); |
| 6961 buildCounterReportCompatibleFields++; | 6963 buildCounterReportCompatibleFields++; |
| 6962 if (buildCounterReportCompatibleFields < 3) { | 6964 if (buildCounterReportCompatibleFields < 3) { |
| 6963 o.dimensionFilters = buildUnnamed1703(); | 6965 o.dimensionFilters = buildUnnamed277(); |
| 6964 o.dimensions = buildUnnamed1704(); | 6966 o.dimensions = buildUnnamed278(); |
| 6965 o.kind = "foo"; | 6967 o.kind = "foo"; |
| 6966 o.metrics = buildUnnamed1705(); | 6968 o.metrics = buildUnnamed279(); |
| 6967 o.pivotedActivityMetrics = buildUnnamed1706(); | 6969 o.pivotedActivityMetrics = buildUnnamed280(); |
| 6968 } | 6970 } |
| 6969 buildCounterReportCompatibleFields--; | 6971 buildCounterReportCompatibleFields--; |
| 6970 return o; | 6972 return o; |
| 6971 } | 6973 } |
| 6972 | 6974 |
| 6973 checkReportCompatibleFields(api.ReportCompatibleFields o) { | 6975 checkReportCompatibleFields(api.ReportCompatibleFields o) { |
| 6974 buildCounterReportCompatibleFields++; | 6976 buildCounterReportCompatibleFields++; |
| 6975 if (buildCounterReportCompatibleFields < 3) { | 6977 if (buildCounterReportCompatibleFields < 3) { |
| 6976 checkUnnamed1703(o.dimensionFilters); | 6978 checkUnnamed277(o.dimensionFilters); |
| 6977 checkUnnamed1704(o.dimensions); | 6979 checkUnnamed278(o.dimensions); |
| 6978 unittest.expect(o.kind, unittest.equals('foo')); | 6980 unittest.expect(o.kind, unittest.equals('foo')); |
| 6979 checkUnnamed1705(o.metrics); | 6981 checkUnnamed279(o.metrics); |
| 6980 checkUnnamed1706(o.pivotedActivityMetrics); | 6982 checkUnnamed280(o.pivotedActivityMetrics); |
| 6981 } | 6983 } |
| 6982 buildCounterReportCompatibleFields--; | 6984 buildCounterReportCompatibleFields--; |
| 6983 } | 6985 } |
| 6984 | 6986 |
| 6985 buildUnnamed1707() { | 6987 buildUnnamed281() { |
| 6986 var o = new core.List<api.Report>(); | 6988 var o = new core.List<api.Report>(); |
| 6987 o.add(buildReport()); | 6989 o.add(buildReport()); |
| 6988 o.add(buildReport()); | 6990 o.add(buildReport()); |
| 6989 return o; | 6991 return o; |
| 6990 } | 6992 } |
| 6991 | 6993 |
| 6992 checkUnnamed1707(core.List<api.Report> o) { | 6994 checkUnnamed281(core.List<api.Report> o) { |
| 6993 unittest.expect(o, unittest.hasLength(2)); | 6995 unittest.expect(o, unittest.hasLength(2)); |
| 6994 checkReport(o[0]); | 6996 checkReport(o[0]); |
| 6995 checkReport(o[1]); | 6997 checkReport(o[1]); |
| 6996 } | 6998 } |
| 6997 | 6999 |
| 6998 core.int buildCounterReportList = 0; | 7000 core.int buildCounterReportList = 0; |
| 6999 buildReportList() { | 7001 buildReportList() { |
| 7000 var o = new api.ReportList(); | 7002 var o = new api.ReportList(); |
| 7001 buildCounterReportList++; | 7003 buildCounterReportList++; |
| 7002 if (buildCounterReportList < 3) { | 7004 if (buildCounterReportList < 3) { |
| 7003 o.etag = "foo"; | 7005 o.etag = "foo"; |
| 7004 o.items = buildUnnamed1707(); | 7006 o.items = buildUnnamed281(); |
| 7005 o.kind = "foo"; | 7007 o.kind = "foo"; |
| 7006 o.nextPageToken = "foo"; | 7008 o.nextPageToken = "foo"; |
| 7007 } | 7009 } |
| 7008 buildCounterReportList--; | 7010 buildCounterReportList--; |
| 7009 return o; | 7011 return o; |
| 7010 } | 7012 } |
| 7011 | 7013 |
| 7012 checkReportList(api.ReportList o) { | 7014 checkReportList(api.ReportList o) { |
| 7013 buildCounterReportList++; | 7015 buildCounterReportList++; |
| 7014 if (buildCounterReportList < 3) { | 7016 if (buildCounterReportList < 3) { |
| 7015 unittest.expect(o.etag, unittest.equals('foo')); | 7017 unittest.expect(o.etag, unittest.equals('foo')); |
| 7016 checkUnnamed1707(o.items); | 7018 checkUnnamed281(o.items); |
| 7017 unittest.expect(o.kind, unittest.equals('foo')); | 7019 unittest.expect(o.kind, unittest.equals('foo')); |
| 7018 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 7020 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 7019 } | 7021 } |
| 7020 buildCounterReportList--; | 7022 buildCounterReportList--; |
| 7021 } | 7023 } |
| 7022 | 7024 |
| 7023 core.int buildCounterReportsConfiguration = 0; | 7025 core.int buildCounterReportsConfiguration = 0; |
| 7024 buildReportsConfiguration() { | 7026 buildReportsConfiguration() { |
| 7025 var o = new api.ReportsConfiguration(); | 7027 var o = new api.ReportsConfiguration(); |
| 7026 buildCounterReportsConfiguration++; | 7028 buildCounterReportsConfiguration++; |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7059 checkRichMediaExitOverride(api.RichMediaExitOverride o) { | 7061 checkRichMediaExitOverride(api.RichMediaExitOverride o) { |
| 7060 buildCounterRichMediaExitOverride++; | 7062 buildCounterRichMediaExitOverride++; |
| 7061 if (buildCounterRichMediaExitOverride < 3) { | 7063 if (buildCounterRichMediaExitOverride < 3) { |
| 7062 unittest.expect(o.customExitUrl, unittest.equals('foo')); | 7064 unittest.expect(o.customExitUrl, unittest.equals('foo')); |
| 7063 unittest.expect(o.exitId, unittest.equals('foo')); | 7065 unittest.expect(o.exitId, unittest.equals('foo')); |
| 7064 unittest.expect(o.useCustomExitUrl, unittest.isTrue); | 7066 unittest.expect(o.useCustomExitUrl, unittest.isTrue); |
| 7065 } | 7067 } |
| 7066 buildCounterRichMediaExitOverride--; | 7068 buildCounterRichMediaExitOverride--; |
| 7067 } | 7069 } |
| 7068 | 7070 |
| 7069 buildUnnamed1708() { | 7071 buildUnnamed282() { |
| 7070 var o = new core.List<api.SiteContact>(); | 7072 var o = new core.List<api.SiteContact>(); |
| 7071 o.add(buildSiteContact()); | 7073 o.add(buildSiteContact()); |
| 7072 o.add(buildSiteContact()); | 7074 o.add(buildSiteContact()); |
| 7073 return o; | 7075 return o; |
| 7074 } | 7076 } |
| 7075 | 7077 |
| 7076 checkUnnamed1708(core.List<api.SiteContact> o) { | 7078 checkUnnamed282(core.List<api.SiteContact> o) { |
| 7077 unittest.expect(o, unittest.hasLength(2)); | 7079 unittest.expect(o, unittest.hasLength(2)); |
| 7078 checkSiteContact(o[0]); | 7080 checkSiteContact(o[0]); |
| 7079 checkSiteContact(o[1]); | 7081 checkSiteContact(o[1]); |
| 7080 } | 7082 } |
| 7081 | 7083 |
| 7082 core.int buildCounterSite = 0; | 7084 core.int buildCounterSite = 0; |
| 7083 buildSite() { | 7085 buildSite() { |
| 7084 var o = new api.Site(); | 7086 var o = new api.Site(); |
| 7085 buildCounterSite++; | 7087 buildCounterSite++; |
| 7086 if (buildCounterSite < 3) { | 7088 if (buildCounterSite < 3) { |
| 7087 o.accountId = "foo"; | 7089 o.accountId = "foo"; |
| 7088 o.approved = true; | 7090 o.approved = true; |
| 7089 o.directorySiteId = "foo"; | 7091 o.directorySiteId = "foo"; |
| 7090 o.directorySiteIdDimensionValue = buildDimensionValue(); | 7092 o.directorySiteIdDimensionValue = buildDimensionValue(); |
| 7091 o.id = "foo"; | 7093 o.id = "foo"; |
| 7092 o.idDimensionValue = buildDimensionValue(); | 7094 o.idDimensionValue = buildDimensionValue(); |
| 7093 o.keyName = "foo"; | 7095 o.keyName = "foo"; |
| 7094 o.kind = "foo"; | 7096 o.kind = "foo"; |
| 7095 o.name = "foo"; | 7097 o.name = "foo"; |
| 7096 o.siteContacts = buildUnnamed1708(); | 7098 o.siteContacts = buildUnnamed282(); |
| 7097 o.siteSettings = buildSiteSettings(); | 7099 o.siteSettings = buildSiteSettings(); |
| 7098 o.subaccountId = "foo"; | 7100 o.subaccountId = "foo"; |
| 7099 } | 7101 } |
| 7100 buildCounterSite--; | 7102 buildCounterSite--; |
| 7101 return o; | 7103 return o; |
| 7102 } | 7104 } |
| 7103 | 7105 |
| 7104 checkSite(api.Site o) { | 7106 checkSite(api.Site o) { |
| 7105 buildCounterSite++; | 7107 buildCounterSite++; |
| 7106 if (buildCounterSite < 3) { | 7108 if (buildCounterSite < 3) { |
| 7107 unittest.expect(o.accountId, unittest.equals('foo')); | 7109 unittest.expect(o.accountId, unittest.equals('foo')); |
| 7108 unittest.expect(o.approved, unittest.isTrue); | 7110 unittest.expect(o.approved, unittest.isTrue); |
| 7109 unittest.expect(o.directorySiteId, unittest.equals('foo')); | 7111 unittest.expect(o.directorySiteId, unittest.equals('foo')); |
| 7110 checkDimensionValue(o.directorySiteIdDimensionValue); | 7112 checkDimensionValue(o.directorySiteIdDimensionValue); |
| 7111 unittest.expect(o.id, unittest.equals('foo')); | 7113 unittest.expect(o.id, unittest.equals('foo')); |
| 7112 checkDimensionValue(o.idDimensionValue); | 7114 checkDimensionValue(o.idDimensionValue); |
| 7113 unittest.expect(o.keyName, unittest.equals('foo')); | 7115 unittest.expect(o.keyName, unittest.equals('foo')); |
| 7114 unittest.expect(o.kind, unittest.equals('foo')); | 7116 unittest.expect(o.kind, unittest.equals('foo')); |
| 7115 unittest.expect(o.name, unittest.equals('foo')); | 7117 unittest.expect(o.name, unittest.equals('foo')); |
| 7116 checkUnnamed1708(o.siteContacts); | 7118 checkUnnamed282(o.siteContacts); |
| 7117 checkSiteSettings(o.siteSettings); | 7119 checkSiteSettings(o.siteSettings); |
| 7118 unittest.expect(o.subaccountId, unittest.equals('foo')); | 7120 unittest.expect(o.subaccountId, unittest.equals('foo')); |
| 7119 } | 7121 } |
| 7120 buildCounterSite--; | 7122 buildCounterSite--; |
| 7121 } | 7123 } |
| 7122 | 7124 |
| 7123 core.int buildCounterSiteContact = 0; | 7125 core.int buildCounterSiteContact = 0; |
| 7124 buildSiteContact() { | 7126 buildSiteContact() { |
| 7125 var o = new api.SiteContact(); | 7127 var o = new api.SiteContact(); |
| 7126 buildCounterSiteContact++; | 7128 buildCounterSiteContact++; |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7177 checkCreativeSettings(o.creativeSettings); | 7179 checkCreativeSettings(o.creativeSettings); |
| 7178 unittest.expect(o.disableBrandSafeAds, unittest.isTrue); | 7180 unittest.expect(o.disableBrandSafeAds, unittest.isTrue); |
| 7179 unittest.expect(o.disableNewCookie, unittest.isTrue); | 7181 unittest.expect(o.disableNewCookie, unittest.isTrue); |
| 7180 checkLookbackConfiguration(o.lookbackConfiguration); | 7182 checkLookbackConfiguration(o.lookbackConfiguration); |
| 7181 checkTagSetting(o.tagSetting); | 7183 checkTagSetting(o.tagSetting); |
| 7182 unittest.expect(o.videoActiveViewOptOut, unittest.isTrue); | 7184 unittest.expect(o.videoActiveViewOptOut, unittest.isTrue); |
| 7183 } | 7185 } |
| 7184 buildCounterSiteSettings--; | 7186 buildCounterSiteSettings--; |
| 7185 } | 7187 } |
| 7186 | 7188 |
| 7187 buildUnnamed1709() { | 7189 buildUnnamed283() { |
| 7188 var o = new core.List<api.Site>(); | 7190 var o = new core.List<api.Site>(); |
| 7189 o.add(buildSite()); | 7191 o.add(buildSite()); |
| 7190 o.add(buildSite()); | 7192 o.add(buildSite()); |
| 7191 return o; | 7193 return o; |
| 7192 } | 7194 } |
| 7193 | 7195 |
| 7194 checkUnnamed1709(core.List<api.Site> o) { | 7196 checkUnnamed283(core.List<api.Site> o) { |
| 7195 unittest.expect(o, unittest.hasLength(2)); | 7197 unittest.expect(o, unittest.hasLength(2)); |
| 7196 checkSite(o[0]); | 7198 checkSite(o[0]); |
| 7197 checkSite(o[1]); | 7199 checkSite(o[1]); |
| 7198 } | 7200 } |
| 7199 | 7201 |
| 7200 core.int buildCounterSitesListResponse = 0; | 7202 core.int buildCounterSitesListResponse = 0; |
| 7201 buildSitesListResponse() { | 7203 buildSitesListResponse() { |
| 7202 var o = new api.SitesListResponse(); | 7204 var o = new api.SitesListResponse(); |
| 7203 buildCounterSitesListResponse++; | 7205 buildCounterSitesListResponse++; |
| 7204 if (buildCounterSitesListResponse < 3) { | 7206 if (buildCounterSitesListResponse < 3) { |
| 7205 o.kind = "foo"; | 7207 o.kind = "foo"; |
| 7206 o.nextPageToken = "foo"; | 7208 o.nextPageToken = "foo"; |
| 7207 o.sites = buildUnnamed1709(); | 7209 o.sites = buildUnnamed283(); |
| 7208 } | 7210 } |
| 7209 buildCounterSitesListResponse--; | 7211 buildCounterSitesListResponse--; |
| 7210 return o; | 7212 return o; |
| 7211 } | 7213 } |
| 7212 | 7214 |
| 7213 checkSitesListResponse(api.SitesListResponse o) { | 7215 checkSitesListResponse(api.SitesListResponse o) { |
| 7214 buildCounterSitesListResponse++; | 7216 buildCounterSitesListResponse++; |
| 7215 if (buildCounterSitesListResponse < 3) { | 7217 if (buildCounterSitesListResponse < 3) { |
| 7216 unittest.expect(o.kind, unittest.equals('foo')); | 7218 unittest.expect(o.kind, unittest.equals('foo')); |
| 7217 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 7219 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 7218 checkUnnamed1709(o.sites); | 7220 checkUnnamed283(o.sites); |
| 7219 } | 7221 } |
| 7220 buildCounterSitesListResponse--; | 7222 buildCounterSitesListResponse--; |
| 7221 } | 7223 } |
| 7222 | 7224 |
| 7223 core.int buildCounterSize = 0; | 7225 core.int buildCounterSize = 0; |
| 7224 buildSize() { | 7226 buildSize() { |
| 7225 var o = new api.Size(); | 7227 var o = new api.Size(); |
| 7226 buildCounterSize++; | 7228 buildCounterSize++; |
| 7227 if (buildCounterSize < 3) { | 7229 if (buildCounterSize < 3) { |
| 7228 o.height = 42; | 7230 o.height = 42; |
| (...skipping 11 matching lines...) Expand all Loading... |
| 7240 if (buildCounterSize < 3) { | 7242 if (buildCounterSize < 3) { |
| 7241 unittest.expect(o.height, unittest.equals(42)); | 7243 unittest.expect(o.height, unittest.equals(42)); |
| 7242 unittest.expect(o.iab, unittest.isTrue); | 7244 unittest.expect(o.iab, unittest.isTrue); |
| 7243 unittest.expect(o.id, unittest.equals('foo')); | 7245 unittest.expect(o.id, unittest.equals('foo')); |
| 7244 unittest.expect(o.kind, unittest.equals('foo')); | 7246 unittest.expect(o.kind, unittest.equals('foo')); |
| 7245 unittest.expect(o.width, unittest.equals(42)); | 7247 unittest.expect(o.width, unittest.equals(42)); |
| 7246 } | 7248 } |
| 7247 buildCounterSize--; | 7249 buildCounterSize--; |
| 7248 } | 7250 } |
| 7249 | 7251 |
| 7250 buildUnnamed1710() { | 7252 buildUnnamed284() { |
| 7251 var o = new core.List<api.Size>(); | 7253 var o = new core.List<api.Size>(); |
| 7252 o.add(buildSize()); | 7254 o.add(buildSize()); |
| 7253 o.add(buildSize()); | 7255 o.add(buildSize()); |
| 7254 return o; | 7256 return o; |
| 7255 } | 7257 } |
| 7256 | 7258 |
| 7257 checkUnnamed1710(core.List<api.Size> o) { | 7259 checkUnnamed284(core.List<api.Size> o) { |
| 7258 unittest.expect(o, unittest.hasLength(2)); | 7260 unittest.expect(o, unittest.hasLength(2)); |
| 7259 checkSize(o[0]); | 7261 checkSize(o[0]); |
| 7260 checkSize(o[1]); | 7262 checkSize(o[1]); |
| 7261 } | 7263 } |
| 7262 | 7264 |
| 7263 core.int buildCounterSizesListResponse = 0; | 7265 core.int buildCounterSizesListResponse = 0; |
| 7264 buildSizesListResponse() { | 7266 buildSizesListResponse() { |
| 7265 var o = new api.SizesListResponse(); | 7267 var o = new api.SizesListResponse(); |
| 7266 buildCounterSizesListResponse++; | 7268 buildCounterSizesListResponse++; |
| 7267 if (buildCounterSizesListResponse < 3) { | 7269 if (buildCounterSizesListResponse < 3) { |
| 7268 o.kind = "foo"; | 7270 o.kind = "foo"; |
| 7269 o.sizes = buildUnnamed1710(); | 7271 o.sizes = buildUnnamed284(); |
| 7270 } | 7272 } |
| 7271 buildCounterSizesListResponse--; | 7273 buildCounterSizesListResponse--; |
| 7272 return o; | 7274 return o; |
| 7273 } | 7275 } |
| 7274 | 7276 |
| 7275 checkSizesListResponse(api.SizesListResponse o) { | 7277 checkSizesListResponse(api.SizesListResponse o) { |
| 7276 buildCounterSizesListResponse++; | 7278 buildCounterSizesListResponse++; |
| 7277 if (buildCounterSizesListResponse < 3) { | 7279 if (buildCounterSizesListResponse < 3) { |
| 7278 unittest.expect(o.kind, unittest.equals('foo')); | 7280 unittest.expect(o.kind, unittest.equals('foo')); |
| 7279 checkUnnamed1710(o.sizes); | 7281 checkUnnamed284(o.sizes); |
| 7280 } | 7282 } |
| 7281 buildCounterSizesListResponse--; | 7283 buildCounterSizesListResponse--; |
| 7282 } | 7284 } |
| 7283 | 7285 |
| 7284 core.int buildCounterSortedDimension = 0; | 7286 core.int buildCounterSortedDimension = 0; |
| 7285 buildSortedDimension() { | 7287 buildSortedDimension() { |
| 7286 var o = new api.SortedDimension(); | 7288 var o = new api.SortedDimension(); |
| 7287 buildCounterSortedDimension++; | 7289 buildCounterSortedDimension++; |
| 7288 if (buildCounterSortedDimension < 3) { | 7290 if (buildCounterSortedDimension < 3) { |
| 7289 o.kind = "foo"; | 7291 o.kind = "foo"; |
| 7290 o.name = "foo"; | 7292 o.name = "foo"; |
| 7291 o.sortOrder = "foo"; | 7293 o.sortOrder = "foo"; |
| 7292 } | 7294 } |
| 7293 buildCounterSortedDimension--; | 7295 buildCounterSortedDimension--; |
| 7294 return o; | 7296 return o; |
| 7295 } | 7297 } |
| 7296 | 7298 |
| 7297 checkSortedDimension(api.SortedDimension o) { | 7299 checkSortedDimension(api.SortedDimension o) { |
| 7298 buildCounterSortedDimension++; | 7300 buildCounterSortedDimension++; |
| 7299 if (buildCounterSortedDimension < 3) { | 7301 if (buildCounterSortedDimension < 3) { |
| 7300 unittest.expect(o.kind, unittest.equals('foo')); | 7302 unittest.expect(o.kind, unittest.equals('foo')); |
| 7301 unittest.expect(o.name, unittest.equals('foo')); | 7303 unittest.expect(o.name, unittest.equals('foo')); |
| 7302 unittest.expect(o.sortOrder, unittest.equals('foo')); | 7304 unittest.expect(o.sortOrder, unittest.equals('foo')); |
| 7303 } | 7305 } |
| 7304 buildCounterSortedDimension--; | 7306 buildCounterSortedDimension--; |
| 7305 } | 7307 } |
| 7306 | 7308 |
| 7307 buildUnnamed1711() { | 7309 buildUnnamed285() { |
| 7308 var o = new core.List<core.String>(); | 7310 var o = new core.List<core.String>(); |
| 7309 o.add("foo"); | 7311 o.add("foo"); |
| 7310 o.add("foo"); | 7312 o.add("foo"); |
| 7311 return o; | 7313 return o; |
| 7312 } | 7314 } |
| 7313 | 7315 |
| 7314 checkUnnamed1711(core.List<core.String> o) { | 7316 checkUnnamed285(core.List<core.String> o) { |
| 7315 unittest.expect(o, unittest.hasLength(2)); | 7317 unittest.expect(o, unittest.hasLength(2)); |
| 7316 unittest.expect(o[0], unittest.equals('foo')); | 7318 unittest.expect(o[0], unittest.equals('foo')); |
| 7317 unittest.expect(o[1], unittest.equals('foo')); | 7319 unittest.expect(o[1], unittest.equals('foo')); |
| 7318 } | 7320 } |
| 7319 | 7321 |
| 7320 core.int buildCounterSubaccount = 0; | 7322 core.int buildCounterSubaccount = 0; |
| 7321 buildSubaccount() { | 7323 buildSubaccount() { |
| 7322 var o = new api.Subaccount(); | 7324 var o = new api.Subaccount(); |
| 7323 buildCounterSubaccount++; | 7325 buildCounterSubaccount++; |
| 7324 if (buildCounterSubaccount < 3) { | 7326 if (buildCounterSubaccount < 3) { |
| 7325 o.accountId = "foo"; | 7327 o.accountId = "foo"; |
| 7326 o.availablePermissionIds = buildUnnamed1711(); | 7328 o.availablePermissionIds = buildUnnamed285(); |
| 7327 o.id = "foo"; | 7329 o.id = "foo"; |
| 7328 o.kind = "foo"; | 7330 o.kind = "foo"; |
| 7329 o.name = "foo"; | 7331 o.name = "foo"; |
| 7330 } | 7332 } |
| 7331 buildCounterSubaccount--; | 7333 buildCounterSubaccount--; |
| 7332 return o; | 7334 return o; |
| 7333 } | 7335 } |
| 7334 | 7336 |
| 7335 checkSubaccount(api.Subaccount o) { | 7337 checkSubaccount(api.Subaccount o) { |
| 7336 buildCounterSubaccount++; | 7338 buildCounterSubaccount++; |
| 7337 if (buildCounterSubaccount < 3) { | 7339 if (buildCounterSubaccount < 3) { |
| 7338 unittest.expect(o.accountId, unittest.equals('foo')); | 7340 unittest.expect(o.accountId, unittest.equals('foo')); |
| 7339 checkUnnamed1711(o.availablePermissionIds); | 7341 checkUnnamed285(o.availablePermissionIds); |
| 7340 unittest.expect(o.id, unittest.equals('foo')); | 7342 unittest.expect(o.id, unittest.equals('foo')); |
| 7341 unittest.expect(o.kind, unittest.equals('foo')); | 7343 unittest.expect(o.kind, unittest.equals('foo')); |
| 7342 unittest.expect(o.name, unittest.equals('foo')); | 7344 unittest.expect(o.name, unittest.equals('foo')); |
| 7343 } | 7345 } |
| 7344 buildCounterSubaccount--; | 7346 buildCounterSubaccount--; |
| 7345 } | 7347 } |
| 7346 | 7348 |
| 7347 buildUnnamed1712() { | 7349 buildUnnamed286() { |
| 7348 var o = new core.List<api.Subaccount>(); | 7350 var o = new core.List<api.Subaccount>(); |
| 7349 o.add(buildSubaccount()); | 7351 o.add(buildSubaccount()); |
| 7350 o.add(buildSubaccount()); | 7352 o.add(buildSubaccount()); |
| 7351 return o; | 7353 return o; |
| 7352 } | 7354 } |
| 7353 | 7355 |
| 7354 checkUnnamed1712(core.List<api.Subaccount> o) { | 7356 checkUnnamed286(core.List<api.Subaccount> o) { |
| 7355 unittest.expect(o, unittest.hasLength(2)); | 7357 unittest.expect(o, unittest.hasLength(2)); |
| 7356 checkSubaccount(o[0]); | 7358 checkSubaccount(o[0]); |
| 7357 checkSubaccount(o[1]); | 7359 checkSubaccount(o[1]); |
| 7358 } | 7360 } |
| 7359 | 7361 |
| 7360 core.int buildCounterSubaccountsListResponse = 0; | 7362 core.int buildCounterSubaccountsListResponse = 0; |
| 7361 buildSubaccountsListResponse() { | 7363 buildSubaccountsListResponse() { |
| 7362 var o = new api.SubaccountsListResponse(); | 7364 var o = new api.SubaccountsListResponse(); |
| 7363 buildCounterSubaccountsListResponse++; | 7365 buildCounterSubaccountsListResponse++; |
| 7364 if (buildCounterSubaccountsListResponse < 3) { | 7366 if (buildCounterSubaccountsListResponse < 3) { |
| 7365 o.kind = "foo"; | 7367 o.kind = "foo"; |
| 7366 o.nextPageToken = "foo"; | 7368 o.nextPageToken = "foo"; |
| 7367 o.subaccounts = buildUnnamed1712(); | 7369 o.subaccounts = buildUnnamed286(); |
| 7368 } | 7370 } |
| 7369 buildCounterSubaccountsListResponse--; | 7371 buildCounterSubaccountsListResponse--; |
| 7370 return o; | 7372 return o; |
| 7371 } | 7373 } |
| 7372 | 7374 |
| 7373 checkSubaccountsListResponse(api.SubaccountsListResponse o) { | 7375 checkSubaccountsListResponse(api.SubaccountsListResponse o) { |
| 7374 buildCounterSubaccountsListResponse++; | 7376 buildCounterSubaccountsListResponse++; |
| 7375 if (buildCounterSubaccountsListResponse < 3) { | 7377 if (buildCounterSubaccountsListResponse < 3) { |
| 7376 unittest.expect(o.kind, unittest.equals('foo')); | 7378 unittest.expect(o.kind, unittest.equals('foo')); |
| 7377 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 7379 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 7378 checkUnnamed1712(o.subaccounts); | 7380 checkUnnamed286(o.subaccounts); |
| 7379 } | 7381 } |
| 7380 buildCounterSubaccountsListResponse--; | 7382 buildCounterSubaccountsListResponse--; |
| 7381 } | 7383 } |
| 7382 | 7384 |
| 7383 core.int buildCounterTagData = 0; | 7385 core.int buildCounterTagData = 0; |
| 7384 buildTagData() { | 7386 buildTagData() { |
| 7385 var o = new api.TagData(); | 7387 var o = new api.TagData(); |
| 7386 buildCounterTagData++; | 7388 buildCounterTagData++; |
| 7387 if (buildCounterTagData < 3) { | 7389 if (buildCounterTagData < 3) { |
| 7388 o.adId = "foo"; | 7390 o.adId = "foo"; |
| (...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7508 unittest.expect(o.kind, unittest.equals('foo')); | 7510 unittest.expect(o.kind, unittest.equals('foo')); |
| 7509 unittest.expect(o.lifeSpan, unittest.equals('foo')); | 7511 unittest.expect(o.lifeSpan, unittest.equals('foo')); |
| 7510 unittest.expect(o.listSize, unittest.equals('foo')); | 7512 unittest.expect(o.listSize, unittest.equals('foo')); |
| 7511 unittest.expect(o.listSource, unittest.equals('foo')); | 7513 unittest.expect(o.listSource, unittest.equals('foo')); |
| 7512 unittest.expect(o.name, unittest.equals('foo')); | 7514 unittest.expect(o.name, unittest.equals('foo')); |
| 7513 unittest.expect(o.subaccountId, unittest.equals('foo')); | 7515 unittest.expect(o.subaccountId, unittest.equals('foo')); |
| 7514 } | 7516 } |
| 7515 buildCounterTargetableRemarketingList--; | 7517 buildCounterTargetableRemarketingList--; |
| 7516 } | 7518 } |
| 7517 | 7519 |
| 7518 buildUnnamed1713() { | 7520 buildUnnamed287() { |
| 7519 var o = new core.List<api.TargetableRemarketingList>(); | 7521 var o = new core.List<api.TargetableRemarketingList>(); |
| 7520 o.add(buildTargetableRemarketingList()); | 7522 o.add(buildTargetableRemarketingList()); |
| 7521 o.add(buildTargetableRemarketingList()); | 7523 o.add(buildTargetableRemarketingList()); |
| 7522 return o; | 7524 return o; |
| 7523 } | 7525 } |
| 7524 | 7526 |
| 7525 checkUnnamed1713(core.List<api.TargetableRemarketingList> o) { | 7527 checkUnnamed287(core.List<api.TargetableRemarketingList> o) { |
| 7526 unittest.expect(o, unittest.hasLength(2)); | 7528 unittest.expect(o, unittest.hasLength(2)); |
| 7527 checkTargetableRemarketingList(o[0]); | 7529 checkTargetableRemarketingList(o[0]); |
| 7528 checkTargetableRemarketingList(o[1]); | 7530 checkTargetableRemarketingList(o[1]); |
| 7529 } | 7531 } |
| 7530 | 7532 |
| 7531 core.int buildCounterTargetableRemarketingListsListResponse = 0; | 7533 core.int buildCounterTargetableRemarketingListsListResponse = 0; |
| 7532 buildTargetableRemarketingListsListResponse() { | 7534 buildTargetableRemarketingListsListResponse() { |
| 7533 var o = new api.TargetableRemarketingListsListResponse(); | 7535 var o = new api.TargetableRemarketingListsListResponse(); |
| 7534 buildCounterTargetableRemarketingListsListResponse++; | 7536 buildCounterTargetableRemarketingListsListResponse++; |
| 7535 if (buildCounterTargetableRemarketingListsListResponse < 3) { | 7537 if (buildCounterTargetableRemarketingListsListResponse < 3) { |
| 7536 o.kind = "foo"; | 7538 o.kind = "foo"; |
| 7537 o.nextPageToken = "foo"; | 7539 o.nextPageToken = "foo"; |
| 7538 o.targetableRemarketingLists = buildUnnamed1713(); | 7540 o.targetableRemarketingLists = buildUnnamed287(); |
| 7539 } | 7541 } |
| 7540 buildCounterTargetableRemarketingListsListResponse--; | 7542 buildCounterTargetableRemarketingListsListResponse--; |
| 7541 return o; | 7543 return o; |
| 7542 } | 7544 } |
| 7543 | 7545 |
| 7544 checkTargetableRemarketingListsListResponse(api.TargetableRemarketingListsListRe
sponse o) { | 7546 checkTargetableRemarketingListsListResponse(api.TargetableRemarketingListsListRe
sponse o) { |
| 7545 buildCounterTargetableRemarketingListsListResponse++; | 7547 buildCounterTargetableRemarketingListsListResponse++; |
| 7546 if (buildCounterTargetableRemarketingListsListResponse < 3) { | 7548 if (buildCounterTargetableRemarketingListsListResponse < 3) { |
| 7547 unittest.expect(o.kind, unittest.equals('foo')); | 7549 unittest.expect(o.kind, unittest.equals('foo')); |
| 7548 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 7550 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 7549 checkUnnamed1713(o.targetableRemarketingLists); | 7551 checkUnnamed287(o.targetableRemarketingLists); |
| 7550 } | 7552 } |
| 7551 buildCounterTargetableRemarketingListsListResponse--; | 7553 buildCounterTargetableRemarketingListsListResponse--; |
| 7552 } | 7554 } |
| 7553 | 7555 |
| 7554 buildUnnamed1714() { | 7556 buildUnnamed288() { |
| 7555 var o = new core.List<api.Browser>(); | 7557 var o = new core.List<api.Browser>(); |
| 7556 o.add(buildBrowser()); | 7558 o.add(buildBrowser()); |
| 7557 o.add(buildBrowser()); | 7559 o.add(buildBrowser()); |
| 7558 return o; | 7560 return o; |
| 7559 } | 7561 } |
| 7560 | 7562 |
| 7561 checkUnnamed1714(core.List<api.Browser> o) { | 7563 checkUnnamed288(core.List<api.Browser> o) { |
| 7562 unittest.expect(o, unittest.hasLength(2)); | 7564 unittest.expect(o, unittest.hasLength(2)); |
| 7563 checkBrowser(o[0]); | 7565 checkBrowser(o[0]); |
| 7564 checkBrowser(o[1]); | 7566 checkBrowser(o[1]); |
| 7565 } | 7567 } |
| 7566 | 7568 |
| 7567 buildUnnamed1715() { | 7569 buildUnnamed289() { |
| 7568 var o = new core.List<api.ConnectionType>(); | 7570 var o = new core.List<api.ConnectionType>(); |
| 7569 o.add(buildConnectionType()); | 7571 o.add(buildConnectionType()); |
| 7570 o.add(buildConnectionType()); | 7572 o.add(buildConnectionType()); |
| 7571 return o; | 7573 return o; |
| 7572 } | 7574 } |
| 7573 | 7575 |
| 7574 checkUnnamed1715(core.List<api.ConnectionType> o) { | 7576 checkUnnamed289(core.List<api.ConnectionType> o) { |
| 7575 unittest.expect(o, unittest.hasLength(2)); | 7577 unittest.expect(o, unittest.hasLength(2)); |
| 7576 checkConnectionType(o[0]); | 7578 checkConnectionType(o[0]); |
| 7577 checkConnectionType(o[1]); | 7579 checkConnectionType(o[1]); |
| 7578 } | 7580 } |
| 7579 | 7581 |
| 7580 buildUnnamed1716() { | 7582 buildUnnamed290() { |
| 7581 var o = new core.List<api.MobileCarrier>(); | 7583 var o = new core.List<api.MobileCarrier>(); |
| 7582 o.add(buildMobileCarrier()); | 7584 o.add(buildMobileCarrier()); |
| 7583 o.add(buildMobileCarrier()); | 7585 o.add(buildMobileCarrier()); |
| 7584 return o; | 7586 return o; |
| 7585 } | 7587 } |
| 7586 | 7588 |
| 7587 checkUnnamed1716(core.List<api.MobileCarrier> o) { | 7589 checkUnnamed290(core.List<api.MobileCarrier> o) { |
| 7588 unittest.expect(o, unittest.hasLength(2)); | 7590 unittest.expect(o, unittest.hasLength(2)); |
| 7589 checkMobileCarrier(o[0]); | 7591 checkMobileCarrier(o[0]); |
| 7590 checkMobileCarrier(o[1]); | 7592 checkMobileCarrier(o[1]); |
| 7591 } | 7593 } |
| 7592 | 7594 |
| 7593 buildUnnamed1717() { | 7595 buildUnnamed291() { |
| 7594 var o = new core.List<api.OperatingSystemVersion>(); | 7596 var o = new core.List<api.OperatingSystemVersion>(); |
| 7595 o.add(buildOperatingSystemVersion()); | 7597 o.add(buildOperatingSystemVersion()); |
| 7596 o.add(buildOperatingSystemVersion()); | 7598 o.add(buildOperatingSystemVersion()); |
| 7597 return o; | 7599 return o; |
| 7598 } | 7600 } |
| 7599 | 7601 |
| 7600 checkUnnamed1717(core.List<api.OperatingSystemVersion> o) { | 7602 checkUnnamed291(core.List<api.OperatingSystemVersion> o) { |
| 7601 unittest.expect(o, unittest.hasLength(2)); | 7603 unittest.expect(o, unittest.hasLength(2)); |
| 7602 checkOperatingSystemVersion(o[0]); | 7604 checkOperatingSystemVersion(o[0]); |
| 7603 checkOperatingSystemVersion(o[1]); | 7605 checkOperatingSystemVersion(o[1]); |
| 7604 } | 7606 } |
| 7605 | 7607 |
| 7606 buildUnnamed1718() { | 7608 buildUnnamed292() { |
| 7607 var o = new core.List<api.OperatingSystem>(); | 7609 var o = new core.List<api.OperatingSystem>(); |
| 7608 o.add(buildOperatingSystem()); | 7610 o.add(buildOperatingSystem()); |
| 7609 o.add(buildOperatingSystem()); | 7611 o.add(buildOperatingSystem()); |
| 7610 return o; | 7612 return o; |
| 7611 } | 7613 } |
| 7612 | 7614 |
| 7613 checkUnnamed1718(core.List<api.OperatingSystem> o) { | 7615 checkUnnamed292(core.List<api.OperatingSystem> o) { |
| 7614 unittest.expect(o, unittest.hasLength(2)); | 7616 unittest.expect(o, unittest.hasLength(2)); |
| 7615 checkOperatingSystem(o[0]); | 7617 checkOperatingSystem(o[0]); |
| 7616 checkOperatingSystem(o[1]); | 7618 checkOperatingSystem(o[1]); |
| 7617 } | 7619 } |
| 7618 | 7620 |
| 7619 buildUnnamed1719() { | 7621 buildUnnamed293() { |
| 7620 var o = new core.List<api.PlatformType>(); | 7622 var o = new core.List<api.PlatformType>(); |
| 7621 o.add(buildPlatformType()); | 7623 o.add(buildPlatformType()); |
| 7622 o.add(buildPlatformType()); | 7624 o.add(buildPlatformType()); |
| 7623 return o; | 7625 return o; |
| 7624 } | 7626 } |
| 7625 | 7627 |
| 7626 checkUnnamed1719(core.List<api.PlatformType> o) { | 7628 checkUnnamed293(core.List<api.PlatformType> o) { |
| 7627 unittest.expect(o, unittest.hasLength(2)); | 7629 unittest.expect(o, unittest.hasLength(2)); |
| 7628 checkPlatformType(o[0]); | 7630 checkPlatformType(o[0]); |
| 7629 checkPlatformType(o[1]); | 7631 checkPlatformType(o[1]); |
| 7630 } | 7632 } |
| 7631 | 7633 |
| 7632 core.int buildCounterTechnologyTargeting = 0; | 7634 core.int buildCounterTechnologyTargeting = 0; |
| 7633 buildTechnologyTargeting() { | 7635 buildTechnologyTargeting() { |
| 7634 var o = new api.TechnologyTargeting(); | 7636 var o = new api.TechnologyTargeting(); |
| 7635 buildCounterTechnologyTargeting++; | 7637 buildCounterTechnologyTargeting++; |
| 7636 if (buildCounterTechnologyTargeting < 3) { | 7638 if (buildCounterTechnologyTargeting < 3) { |
| 7637 o.browsers = buildUnnamed1714(); | 7639 o.browsers = buildUnnamed288(); |
| 7638 o.connectionTypes = buildUnnamed1715(); | 7640 o.connectionTypes = buildUnnamed289(); |
| 7639 o.mobileCarriers = buildUnnamed1716(); | 7641 o.mobileCarriers = buildUnnamed290(); |
| 7640 o.operatingSystemVersions = buildUnnamed1717(); | 7642 o.operatingSystemVersions = buildUnnamed291(); |
| 7641 o.operatingSystems = buildUnnamed1718(); | 7643 o.operatingSystems = buildUnnamed292(); |
| 7642 o.platformTypes = buildUnnamed1719(); | 7644 o.platformTypes = buildUnnamed293(); |
| 7643 } | 7645 } |
| 7644 buildCounterTechnologyTargeting--; | 7646 buildCounterTechnologyTargeting--; |
| 7645 return o; | 7647 return o; |
| 7646 } | 7648 } |
| 7647 | 7649 |
| 7648 checkTechnologyTargeting(api.TechnologyTargeting o) { | 7650 checkTechnologyTargeting(api.TechnologyTargeting o) { |
| 7649 buildCounterTechnologyTargeting++; | 7651 buildCounterTechnologyTargeting++; |
| 7650 if (buildCounterTechnologyTargeting < 3) { | 7652 if (buildCounterTechnologyTargeting < 3) { |
| 7651 checkUnnamed1714(o.browsers); | 7653 checkUnnamed288(o.browsers); |
| 7652 checkUnnamed1715(o.connectionTypes); | 7654 checkUnnamed289(o.connectionTypes); |
| 7653 checkUnnamed1716(o.mobileCarriers); | 7655 checkUnnamed290(o.mobileCarriers); |
| 7654 checkUnnamed1717(o.operatingSystemVersions); | 7656 checkUnnamed291(o.operatingSystemVersions); |
| 7655 checkUnnamed1718(o.operatingSystems); | 7657 checkUnnamed292(o.operatingSystems); |
| 7656 checkUnnamed1719(o.platformTypes); | 7658 checkUnnamed293(o.platformTypes); |
| 7657 } | 7659 } |
| 7658 buildCounterTechnologyTargeting--; | 7660 buildCounterTechnologyTargeting--; |
| 7659 } | 7661 } |
| 7660 | 7662 |
| 7661 core.int buildCounterThirdPartyAuthenticationToken = 0; | 7663 core.int buildCounterThirdPartyAuthenticationToken = 0; |
| 7662 buildThirdPartyAuthenticationToken() { | 7664 buildThirdPartyAuthenticationToken() { |
| 7663 var o = new api.ThirdPartyAuthenticationToken(); | 7665 var o = new api.ThirdPartyAuthenticationToken(); |
| 7664 buildCounterThirdPartyAuthenticationToken++; | 7666 buildCounterThirdPartyAuthenticationToken++; |
| 7665 if (buildCounterThirdPartyAuthenticationToken < 3) { | 7667 if (buildCounterThirdPartyAuthenticationToken < 3) { |
| 7666 o.name = "foo"; | 7668 o.name = "foo"; |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7749 unittest.expect(o.etag, unittest.equals('foo')); | 7751 unittest.expect(o.etag, unittest.equals('foo')); |
| 7750 unittest.expect(o.kind, unittest.equals('foo')); | 7752 unittest.expect(o.kind, unittest.equals('foo')); |
| 7751 unittest.expect(o.profileId, unittest.equals('foo')); | 7753 unittest.expect(o.profileId, unittest.equals('foo')); |
| 7752 unittest.expect(o.subAccountId, unittest.equals('foo')); | 7754 unittest.expect(o.subAccountId, unittest.equals('foo')); |
| 7753 unittest.expect(o.subAccountName, unittest.equals('foo')); | 7755 unittest.expect(o.subAccountName, unittest.equals('foo')); |
| 7754 unittest.expect(o.userName, unittest.equals('foo')); | 7756 unittest.expect(o.userName, unittest.equals('foo')); |
| 7755 } | 7757 } |
| 7756 buildCounterUserProfile--; | 7758 buildCounterUserProfile--; |
| 7757 } | 7759 } |
| 7758 | 7760 |
| 7759 buildUnnamed1720() { | 7761 buildUnnamed294() { |
| 7760 var o = new core.List<api.UserProfile>(); | 7762 var o = new core.List<api.UserProfile>(); |
| 7761 o.add(buildUserProfile()); | 7763 o.add(buildUserProfile()); |
| 7762 o.add(buildUserProfile()); | 7764 o.add(buildUserProfile()); |
| 7763 return o; | 7765 return o; |
| 7764 } | 7766 } |
| 7765 | 7767 |
| 7766 checkUnnamed1720(core.List<api.UserProfile> o) { | 7768 checkUnnamed294(core.List<api.UserProfile> o) { |
| 7767 unittest.expect(o, unittest.hasLength(2)); | 7769 unittest.expect(o, unittest.hasLength(2)); |
| 7768 checkUserProfile(o[0]); | 7770 checkUserProfile(o[0]); |
| 7769 checkUserProfile(o[1]); | 7771 checkUserProfile(o[1]); |
| 7770 } | 7772 } |
| 7771 | 7773 |
| 7772 core.int buildCounterUserProfileList = 0; | 7774 core.int buildCounterUserProfileList = 0; |
| 7773 buildUserProfileList() { | 7775 buildUserProfileList() { |
| 7774 var o = new api.UserProfileList(); | 7776 var o = new api.UserProfileList(); |
| 7775 buildCounterUserProfileList++; | 7777 buildCounterUserProfileList++; |
| 7776 if (buildCounterUserProfileList < 3) { | 7778 if (buildCounterUserProfileList < 3) { |
| 7777 o.etag = "foo"; | 7779 o.etag = "foo"; |
| 7778 o.items = buildUnnamed1720(); | 7780 o.items = buildUnnamed294(); |
| 7779 o.kind = "foo"; | 7781 o.kind = "foo"; |
| 7780 } | 7782 } |
| 7781 buildCounterUserProfileList--; | 7783 buildCounterUserProfileList--; |
| 7782 return o; | 7784 return o; |
| 7783 } | 7785 } |
| 7784 | 7786 |
| 7785 checkUserProfileList(api.UserProfileList o) { | 7787 checkUserProfileList(api.UserProfileList o) { |
| 7786 buildCounterUserProfileList++; | 7788 buildCounterUserProfileList++; |
| 7787 if (buildCounterUserProfileList < 3) { | 7789 if (buildCounterUserProfileList < 3) { |
| 7788 unittest.expect(o.etag, unittest.equals('foo')); | 7790 unittest.expect(o.etag, unittest.equals('foo')); |
| 7789 checkUnnamed1720(o.items); | 7791 checkUnnamed294(o.items); |
| 7790 unittest.expect(o.kind, unittest.equals('foo')); | 7792 unittest.expect(o.kind, unittest.equals('foo')); |
| 7791 } | 7793 } |
| 7792 buildCounterUserProfileList--; | 7794 buildCounterUserProfileList--; |
| 7793 } | 7795 } |
| 7794 | 7796 |
| 7795 buildUnnamed1721() { | 7797 buildUnnamed295() { |
| 7796 var o = new core.List<api.UserRolePermission>(); | 7798 var o = new core.List<api.UserRolePermission>(); |
| 7797 o.add(buildUserRolePermission()); | 7799 o.add(buildUserRolePermission()); |
| 7798 o.add(buildUserRolePermission()); | 7800 o.add(buildUserRolePermission()); |
| 7799 return o; | 7801 return o; |
| 7800 } | 7802 } |
| 7801 | 7803 |
| 7802 checkUnnamed1721(core.List<api.UserRolePermission> o) { | 7804 checkUnnamed295(core.List<api.UserRolePermission> o) { |
| 7803 unittest.expect(o, unittest.hasLength(2)); | 7805 unittest.expect(o, unittest.hasLength(2)); |
| 7804 checkUserRolePermission(o[0]); | 7806 checkUserRolePermission(o[0]); |
| 7805 checkUserRolePermission(o[1]); | 7807 checkUserRolePermission(o[1]); |
| 7806 } | 7808 } |
| 7807 | 7809 |
| 7808 core.int buildCounterUserRole = 0; | 7810 core.int buildCounterUserRole = 0; |
| 7809 buildUserRole() { | 7811 buildUserRole() { |
| 7810 var o = new api.UserRole(); | 7812 var o = new api.UserRole(); |
| 7811 buildCounterUserRole++; | 7813 buildCounterUserRole++; |
| 7812 if (buildCounterUserRole < 3) { | 7814 if (buildCounterUserRole < 3) { |
| 7813 o.accountId = "foo"; | 7815 o.accountId = "foo"; |
| 7814 o.defaultUserRole = true; | 7816 o.defaultUserRole = true; |
| 7815 o.id = "foo"; | 7817 o.id = "foo"; |
| 7816 o.kind = "foo"; | 7818 o.kind = "foo"; |
| 7817 o.name = "foo"; | 7819 o.name = "foo"; |
| 7818 o.parentUserRoleId = "foo"; | 7820 o.parentUserRoleId = "foo"; |
| 7819 o.permissions = buildUnnamed1721(); | 7821 o.permissions = buildUnnamed295(); |
| 7820 o.subaccountId = "foo"; | 7822 o.subaccountId = "foo"; |
| 7821 } | 7823 } |
| 7822 buildCounterUserRole--; | 7824 buildCounterUserRole--; |
| 7823 return o; | 7825 return o; |
| 7824 } | 7826 } |
| 7825 | 7827 |
| 7826 checkUserRole(api.UserRole o) { | 7828 checkUserRole(api.UserRole o) { |
| 7827 buildCounterUserRole++; | 7829 buildCounterUserRole++; |
| 7828 if (buildCounterUserRole < 3) { | 7830 if (buildCounterUserRole < 3) { |
| 7829 unittest.expect(o.accountId, unittest.equals('foo')); | 7831 unittest.expect(o.accountId, unittest.equals('foo')); |
| 7830 unittest.expect(o.defaultUserRole, unittest.isTrue); | 7832 unittest.expect(o.defaultUserRole, unittest.isTrue); |
| 7831 unittest.expect(o.id, unittest.equals('foo')); | 7833 unittest.expect(o.id, unittest.equals('foo')); |
| 7832 unittest.expect(o.kind, unittest.equals('foo')); | 7834 unittest.expect(o.kind, unittest.equals('foo')); |
| 7833 unittest.expect(o.name, unittest.equals('foo')); | 7835 unittest.expect(o.name, unittest.equals('foo')); |
| 7834 unittest.expect(o.parentUserRoleId, unittest.equals('foo')); | 7836 unittest.expect(o.parentUserRoleId, unittest.equals('foo')); |
| 7835 checkUnnamed1721(o.permissions); | 7837 checkUnnamed295(o.permissions); |
| 7836 unittest.expect(o.subaccountId, unittest.equals('foo')); | 7838 unittest.expect(o.subaccountId, unittest.equals('foo')); |
| 7837 } | 7839 } |
| 7838 buildCounterUserRole--; | 7840 buildCounterUserRole--; |
| 7839 } | 7841 } |
| 7840 | 7842 |
| 7841 core.int buildCounterUserRolePermission = 0; | 7843 core.int buildCounterUserRolePermission = 0; |
| 7842 buildUserRolePermission() { | 7844 buildUserRolePermission() { |
| 7843 var o = new api.UserRolePermission(); | 7845 var o = new api.UserRolePermission(); |
| 7844 buildCounterUserRolePermission++; | 7846 buildCounterUserRolePermission++; |
| 7845 if (buildCounterUserRolePermission < 3) { | 7847 if (buildCounterUserRolePermission < 3) { |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7881 checkUserRolePermissionGroup(api.UserRolePermissionGroup o) { | 7883 checkUserRolePermissionGroup(api.UserRolePermissionGroup o) { |
| 7882 buildCounterUserRolePermissionGroup++; | 7884 buildCounterUserRolePermissionGroup++; |
| 7883 if (buildCounterUserRolePermissionGroup < 3) { | 7885 if (buildCounterUserRolePermissionGroup < 3) { |
| 7884 unittest.expect(o.id, unittest.equals('foo')); | 7886 unittest.expect(o.id, unittest.equals('foo')); |
| 7885 unittest.expect(o.kind, unittest.equals('foo')); | 7887 unittest.expect(o.kind, unittest.equals('foo')); |
| 7886 unittest.expect(o.name, unittest.equals('foo')); | 7888 unittest.expect(o.name, unittest.equals('foo')); |
| 7887 } | 7889 } |
| 7888 buildCounterUserRolePermissionGroup--; | 7890 buildCounterUserRolePermissionGroup--; |
| 7889 } | 7891 } |
| 7890 | 7892 |
| 7891 buildUnnamed1722() { | 7893 buildUnnamed296() { |
| 7892 var o = new core.List<api.UserRolePermissionGroup>(); | 7894 var o = new core.List<api.UserRolePermissionGroup>(); |
| 7893 o.add(buildUserRolePermissionGroup()); | 7895 o.add(buildUserRolePermissionGroup()); |
| 7894 o.add(buildUserRolePermissionGroup()); | 7896 o.add(buildUserRolePermissionGroup()); |
| 7895 return o; | 7897 return o; |
| 7896 } | 7898 } |
| 7897 | 7899 |
| 7898 checkUnnamed1722(core.List<api.UserRolePermissionGroup> o) { | 7900 checkUnnamed296(core.List<api.UserRolePermissionGroup> o) { |
| 7899 unittest.expect(o, unittest.hasLength(2)); | 7901 unittest.expect(o, unittest.hasLength(2)); |
| 7900 checkUserRolePermissionGroup(o[0]); | 7902 checkUserRolePermissionGroup(o[0]); |
| 7901 checkUserRolePermissionGroup(o[1]); | 7903 checkUserRolePermissionGroup(o[1]); |
| 7902 } | 7904 } |
| 7903 | 7905 |
| 7904 core.int buildCounterUserRolePermissionGroupsListResponse = 0; | 7906 core.int buildCounterUserRolePermissionGroupsListResponse = 0; |
| 7905 buildUserRolePermissionGroupsListResponse() { | 7907 buildUserRolePermissionGroupsListResponse() { |
| 7906 var o = new api.UserRolePermissionGroupsListResponse(); | 7908 var o = new api.UserRolePermissionGroupsListResponse(); |
| 7907 buildCounterUserRolePermissionGroupsListResponse++; | 7909 buildCounterUserRolePermissionGroupsListResponse++; |
| 7908 if (buildCounterUserRolePermissionGroupsListResponse < 3) { | 7910 if (buildCounterUserRolePermissionGroupsListResponse < 3) { |
| 7909 o.kind = "foo"; | 7911 o.kind = "foo"; |
| 7910 o.userRolePermissionGroups = buildUnnamed1722(); | 7912 o.userRolePermissionGroups = buildUnnamed296(); |
| 7911 } | 7913 } |
| 7912 buildCounterUserRolePermissionGroupsListResponse--; | 7914 buildCounterUserRolePermissionGroupsListResponse--; |
| 7913 return o; | 7915 return o; |
| 7914 } | 7916 } |
| 7915 | 7917 |
| 7916 checkUserRolePermissionGroupsListResponse(api.UserRolePermissionGroupsListRespon
se o) { | 7918 checkUserRolePermissionGroupsListResponse(api.UserRolePermissionGroupsListRespon
se o) { |
| 7917 buildCounterUserRolePermissionGroupsListResponse++; | 7919 buildCounterUserRolePermissionGroupsListResponse++; |
| 7918 if (buildCounterUserRolePermissionGroupsListResponse < 3) { | 7920 if (buildCounterUserRolePermissionGroupsListResponse < 3) { |
| 7919 unittest.expect(o.kind, unittest.equals('foo')); | 7921 unittest.expect(o.kind, unittest.equals('foo')); |
| 7920 checkUnnamed1722(o.userRolePermissionGroups); | 7922 checkUnnamed296(o.userRolePermissionGroups); |
| 7921 } | 7923 } |
| 7922 buildCounterUserRolePermissionGroupsListResponse--; | 7924 buildCounterUserRolePermissionGroupsListResponse--; |
| 7923 } | 7925 } |
| 7924 | 7926 |
| 7925 buildUnnamed1723() { | 7927 buildUnnamed297() { |
| 7926 var o = new core.List<api.UserRolePermission>(); | 7928 var o = new core.List<api.UserRolePermission>(); |
| 7927 o.add(buildUserRolePermission()); | 7929 o.add(buildUserRolePermission()); |
| 7928 o.add(buildUserRolePermission()); | 7930 o.add(buildUserRolePermission()); |
| 7929 return o; | 7931 return o; |
| 7930 } | 7932 } |
| 7931 | 7933 |
| 7932 checkUnnamed1723(core.List<api.UserRolePermission> o) { | 7934 checkUnnamed297(core.List<api.UserRolePermission> o) { |
| 7933 unittest.expect(o, unittest.hasLength(2)); | 7935 unittest.expect(o, unittest.hasLength(2)); |
| 7934 checkUserRolePermission(o[0]); | 7936 checkUserRolePermission(o[0]); |
| 7935 checkUserRolePermission(o[1]); | 7937 checkUserRolePermission(o[1]); |
| 7936 } | 7938 } |
| 7937 | 7939 |
| 7938 core.int buildCounterUserRolePermissionsListResponse = 0; | 7940 core.int buildCounterUserRolePermissionsListResponse = 0; |
| 7939 buildUserRolePermissionsListResponse() { | 7941 buildUserRolePermissionsListResponse() { |
| 7940 var o = new api.UserRolePermissionsListResponse(); | 7942 var o = new api.UserRolePermissionsListResponse(); |
| 7941 buildCounterUserRolePermissionsListResponse++; | 7943 buildCounterUserRolePermissionsListResponse++; |
| 7942 if (buildCounterUserRolePermissionsListResponse < 3) { | 7944 if (buildCounterUserRolePermissionsListResponse < 3) { |
| 7943 o.kind = "foo"; | 7945 o.kind = "foo"; |
| 7944 o.userRolePermissions = buildUnnamed1723(); | 7946 o.userRolePermissions = buildUnnamed297(); |
| 7945 } | 7947 } |
| 7946 buildCounterUserRolePermissionsListResponse--; | 7948 buildCounterUserRolePermissionsListResponse--; |
| 7947 return o; | 7949 return o; |
| 7948 } | 7950 } |
| 7949 | 7951 |
| 7950 checkUserRolePermissionsListResponse(api.UserRolePermissionsListResponse o) { | 7952 checkUserRolePermissionsListResponse(api.UserRolePermissionsListResponse o) { |
| 7951 buildCounterUserRolePermissionsListResponse++; | 7953 buildCounterUserRolePermissionsListResponse++; |
| 7952 if (buildCounterUserRolePermissionsListResponse < 3) { | 7954 if (buildCounterUserRolePermissionsListResponse < 3) { |
| 7953 unittest.expect(o.kind, unittest.equals('foo')); | 7955 unittest.expect(o.kind, unittest.equals('foo')); |
| 7954 checkUnnamed1723(o.userRolePermissions); | 7956 checkUnnamed297(o.userRolePermissions); |
| 7955 } | 7957 } |
| 7956 buildCounterUserRolePermissionsListResponse--; | 7958 buildCounterUserRolePermissionsListResponse--; |
| 7957 } | 7959 } |
| 7958 | 7960 |
| 7959 buildUnnamed1724() { | 7961 buildUnnamed298() { |
| 7960 var o = new core.List<api.UserRole>(); | 7962 var o = new core.List<api.UserRole>(); |
| 7961 o.add(buildUserRole()); | 7963 o.add(buildUserRole()); |
| 7962 o.add(buildUserRole()); | 7964 o.add(buildUserRole()); |
| 7963 return o; | 7965 return o; |
| 7964 } | 7966 } |
| 7965 | 7967 |
| 7966 checkUnnamed1724(core.List<api.UserRole> o) { | 7968 checkUnnamed298(core.List<api.UserRole> o) { |
| 7967 unittest.expect(o, unittest.hasLength(2)); | 7969 unittest.expect(o, unittest.hasLength(2)); |
| 7968 checkUserRole(o[0]); | 7970 checkUserRole(o[0]); |
| 7969 checkUserRole(o[1]); | 7971 checkUserRole(o[1]); |
| 7970 } | 7972 } |
| 7971 | 7973 |
| 7972 core.int buildCounterUserRolesListResponse = 0; | 7974 core.int buildCounterUserRolesListResponse = 0; |
| 7973 buildUserRolesListResponse() { | 7975 buildUserRolesListResponse() { |
| 7974 var o = new api.UserRolesListResponse(); | 7976 var o = new api.UserRolesListResponse(); |
| 7975 buildCounterUserRolesListResponse++; | 7977 buildCounterUserRolesListResponse++; |
| 7976 if (buildCounterUserRolesListResponse < 3) { | 7978 if (buildCounterUserRolesListResponse < 3) { |
| 7977 o.kind = "foo"; | 7979 o.kind = "foo"; |
| 7978 o.nextPageToken = "foo"; | 7980 o.nextPageToken = "foo"; |
| 7979 o.userRoles = buildUnnamed1724(); | 7981 o.userRoles = buildUnnamed298(); |
| 7980 } | 7982 } |
| 7981 buildCounterUserRolesListResponse--; | 7983 buildCounterUserRolesListResponse--; |
| 7982 return o; | 7984 return o; |
| 7983 } | 7985 } |
| 7984 | 7986 |
| 7985 checkUserRolesListResponse(api.UserRolesListResponse o) { | 7987 checkUserRolesListResponse(api.UserRolesListResponse o) { |
| 7986 buildCounterUserRolesListResponse++; | 7988 buildCounterUserRolesListResponse++; |
| 7987 if (buildCounterUserRolesListResponse < 3) { | 7989 if (buildCounterUserRolesListResponse < 3) { |
| 7988 unittest.expect(o.kind, unittest.equals('foo')); | 7990 unittest.expect(o.kind, unittest.equals('foo')); |
| 7989 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 7991 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 7990 checkUnnamed1724(o.userRoles); | 7992 checkUnnamed298(o.userRoles); |
| 7991 } | 7993 } |
| 7992 buildCounterUserRolesListResponse--; | 7994 buildCounterUserRolesListResponse--; |
| 7993 } | 7995 } |
| 7994 | 7996 |
| 7995 buildUnnamed1725() { | 7997 buildUnnamed299() { |
| 7996 var o = new core.List<core.String>(); | 7998 var o = new core.List<core.String>(); |
| 7997 o.add("foo"); | 7999 o.add("foo"); |
| 7998 o.add("foo"); | 8000 o.add("foo"); |
| 7999 return o; | 8001 return o; |
| 8000 } | 8002 } |
| 8001 | 8003 |
| 8002 checkUnnamed1725(core.List<core.String> o) { | 8004 checkUnnamed299(core.List<core.String> o) { |
| 8003 unittest.expect(o, unittest.hasLength(2)); | 8005 unittest.expect(o, unittest.hasLength(2)); |
| 8004 unittest.expect(o[0], unittest.equals('foo')); | 8006 unittest.expect(o[0], unittest.equals('foo')); |
| 8005 unittest.expect(o[1], unittest.equals('foo')); | 8007 unittest.expect(o[1], unittest.equals('foo')); |
| 8006 } | 8008 } |
| 8007 | 8009 |
| 8008 buildUnnamed1726() { | 8010 buildUnnamed300() { |
| 8009 var o = new core.List<core.String>(); | 8011 var o = new core.List<core.String>(); |
| 8010 o.add("foo"); | 8012 o.add("foo"); |
| 8011 o.add("foo"); | 8013 o.add("foo"); |
| 8012 return o; | 8014 return o; |
| 8013 } | 8015 } |
| 8014 | 8016 |
| 8015 checkUnnamed1726(core.List<core.String> o) { | 8017 checkUnnamed300(core.List<core.String> o) { |
| 8016 unittest.expect(o, unittest.hasLength(2)); | 8018 unittest.expect(o, unittest.hasLength(2)); |
| 8017 unittest.expect(o[0], unittest.equals('foo')); | 8019 unittest.expect(o[0], unittest.equals('foo')); |
| 8018 unittest.expect(o[1], unittest.equals('foo')); | 8020 unittest.expect(o[1], unittest.equals('foo')); |
| 8019 } | 8021 } |
| 8020 | 8022 |
| 8021 buildUnnamed1727() { | 8023 buildUnnamed301() { |
| 8022 var o = new core.List<core.String>(); | 8024 var o = new core.List<core.String>(); |
| 8023 o.add("foo"); | 8025 o.add("foo"); |
| 8024 o.add("foo"); | 8026 o.add("foo"); |
| 8025 return o; | 8027 return o; |
| 8026 } | 8028 } |
| 8027 | 8029 |
| 8028 checkUnnamed1727(core.List<core.String> o) { | 8030 checkUnnamed301(core.List<core.String> o) { |
| 8029 unittest.expect(o, unittest.hasLength(2)); | 8031 unittest.expect(o, unittest.hasLength(2)); |
| 8030 unittest.expect(o[0], unittest.equals('foo')); | 8032 unittest.expect(o[0], unittest.equals('foo')); |
| 8031 unittest.expect(o[1], unittest.equals('foo')); | 8033 unittest.expect(o[1], unittest.equals('foo')); |
| 8032 } | 8034 } |
| 8033 | 8035 |
| 8034 buildUnnamed1728() { | 8036 buildUnnamed302() { |
| 8035 var o = new core.List<core.String>(); | 8037 var o = new core.List<core.String>(); |
| 8036 o.add("foo"); | 8038 o.add("foo"); |
| 8037 o.add("foo"); | 8039 o.add("foo"); |
| 8038 return o; | 8040 return o; |
| 8039 } | 8041 } |
| 8040 | 8042 |
| 8041 checkUnnamed1728(core.List<core.String> o) { | 8043 checkUnnamed302(core.List<core.String> o) { |
| 8042 unittest.expect(o, unittest.hasLength(2)); | 8044 unittest.expect(o, unittest.hasLength(2)); |
| 8043 unittest.expect(o[0], unittest.equals('foo')); | 8045 unittest.expect(o[0], unittest.equals('foo')); |
| 8044 unittest.expect(o[1], unittest.equals('foo')); | 8046 unittest.expect(o[1], unittest.equals('foo')); |
| 8045 } | 8047 } |
| 8046 | 8048 |
| 8047 buildUnnamed1729() { | 8049 buildUnnamed303() { |
| 8048 var o = new core.List<core.String>(); | 8050 var o = new core.List<core.String>(); |
| 8049 o.add("foo"); | 8051 o.add("foo"); |
| 8050 o.add("foo"); | 8052 o.add("foo"); |
| 8051 return o; | 8053 return o; |
| 8052 } | 8054 } |
| 8053 | 8055 |
| 8054 checkUnnamed1729(core.List<core.String> o) { | 8056 checkUnnamed303(core.List<core.String> o) { |
| 8055 unittest.expect(o, unittest.hasLength(2)); | 8057 unittest.expect(o, unittest.hasLength(2)); |
| 8056 unittest.expect(o[0], unittest.equals('foo')); | 8058 unittest.expect(o[0], unittest.equals('foo')); |
| 8057 unittest.expect(o[1], unittest.equals('foo')); | 8059 unittest.expect(o[1], unittest.equals('foo')); |
| 8058 } | 8060 } |
| 8059 | 8061 |
| 8060 buildUnnamed1730() { | 8062 buildUnnamed304() { |
| 8061 var o = new core.List<core.String>(); | 8063 var o = new core.List<core.String>(); |
| 8062 o.add("foo"); | 8064 o.add("foo"); |
| 8063 o.add("foo"); | 8065 o.add("foo"); |
| 8064 return o; | 8066 return o; |
| 8065 } | 8067 } |
| 8066 | 8068 |
| 8067 checkUnnamed1730(core.List<core.String> o) { | 8069 checkUnnamed304(core.List<core.String> o) { |
| 8068 unittest.expect(o, unittest.hasLength(2)); | 8070 unittest.expect(o, unittest.hasLength(2)); |
| 8069 unittest.expect(o[0], unittest.equals('foo')); | 8071 unittest.expect(o[0], unittest.equals('foo')); |
| 8070 unittest.expect(o[1], unittest.equals('foo')); | 8072 unittest.expect(o[1], unittest.equals('foo')); |
| 8071 } | 8073 } |
| 8072 | 8074 |
| 8073 buildUnnamed1731() { | 8075 buildUnnamed305() { |
| 8074 var o = new core.List<core.String>(); | 8076 var o = new core.List<core.String>(); |
| 8075 o.add("foo"); | 8077 o.add("foo"); |
| 8076 o.add("foo"); | 8078 o.add("foo"); |
| 8077 return o; | 8079 return o; |
| 8078 } | 8080 } |
| 8079 | 8081 |
| 8080 checkUnnamed1731(core.List<core.String> o) { | 8082 checkUnnamed305(core.List<core.String> o) { |
| 8081 unittest.expect(o, unittest.hasLength(2)); | 8083 unittest.expect(o, unittest.hasLength(2)); |
| 8082 unittest.expect(o[0], unittest.equals('foo')); | 8084 unittest.expect(o[0], unittest.equals('foo')); |
| 8083 unittest.expect(o[1], unittest.equals('foo')); | 8085 unittest.expect(o[1], unittest.equals('foo')); |
| 8084 } | 8086 } |
| 8085 | 8087 |
| 8086 buildUnnamed1732() { | 8088 buildUnnamed306() { |
| 8087 var o = new core.List<core.String>(); | 8089 var o = new core.List<core.String>(); |
| 8088 o.add("foo"); | 8090 o.add("foo"); |
| 8089 o.add("foo"); | 8091 o.add("foo"); |
| 8090 return o; | 8092 return o; |
| 8091 } | 8093 } |
| 8092 | 8094 |
| 8093 checkUnnamed1732(core.List<core.String> o) { | 8095 checkUnnamed306(core.List<core.String> o) { |
| 8094 unittest.expect(o, unittest.hasLength(2)); | 8096 unittest.expect(o, unittest.hasLength(2)); |
| 8095 unittest.expect(o[0], unittest.equals('foo')); | 8097 unittest.expect(o[0], unittest.equals('foo')); |
| 8096 unittest.expect(o[1], unittest.equals('foo')); | 8098 unittest.expect(o[1], unittest.equals('foo')); |
| 8097 } | 8099 } |
| 8098 | 8100 |
| 8099 buildUnnamed1733() { | 8101 buildUnnamed307() { |
| 8100 var o = new core.List<core.String>(); | 8102 var o = new core.List<core.String>(); |
| 8101 o.add("foo"); | 8103 o.add("foo"); |
| 8102 o.add("foo"); | 8104 o.add("foo"); |
| 8103 return o; | 8105 return o; |
| 8104 } | 8106 } |
| 8105 | 8107 |
| 8106 checkUnnamed1733(core.List<core.String> o) { | 8108 checkUnnamed307(core.List<core.String> o) { |
| 8107 unittest.expect(o, unittest.hasLength(2)); | 8109 unittest.expect(o, unittest.hasLength(2)); |
| 8108 unittest.expect(o[0], unittest.equals('foo')); | 8110 unittest.expect(o[0], unittest.equals('foo')); |
| 8109 unittest.expect(o[1], unittest.equals('foo')); | 8111 unittest.expect(o[1], unittest.equals('foo')); |
| 8110 } | 8112 } |
| 8111 | 8113 |
| 8112 buildUnnamed1734() { | 8114 buildUnnamed308() { |
| 8113 var o = new core.List<core.String>(); | 8115 var o = new core.List<core.String>(); |
| 8114 o.add("foo"); | 8116 o.add("foo"); |
| 8115 o.add("foo"); | 8117 o.add("foo"); |
| 8116 return o; | 8118 return o; |
| 8117 } | 8119 } |
| 8118 | 8120 |
| 8119 checkUnnamed1734(core.List<core.String> o) { | 8121 checkUnnamed308(core.List<core.String> o) { |
| 8120 unittest.expect(o, unittest.hasLength(2)); | 8122 unittest.expect(o, unittest.hasLength(2)); |
| 8121 unittest.expect(o[0], unittest.equals('foo')); | 8123 unittest.expect(o[0], unittest.equals('foo')); |
| 8122 unittest.expect(o[1], unittest.equals('foo')); | 8124 unittest.expect(o[1], unittest.equals('foo')); |
| 8123 } | 8125 } |
| 8124 | 8126 |
| 8125 buildUnnamed1735() { | 8127 buildUnnamed309() { |
| 8126 var o = new core.List<core.String>(); | 8128 var o = new core.List<core.String>(); |
| 8127 o.add("foo"); | 8129 o.add("foo"); |
| 8128 o.add("foo"); | 8130 o.add("foo"); |
| 8129 return o; | 8131 return o; |
| 8130 } | 8132 } |
| 8131 | 8133 |
| 8132 checkUnnamed1735(core.List<core.String> o) { | 8134 checkUnnamed309(core.List<core.String> o) { |
| 8133 unittest.expect(o, unittest.hasLength(2)); | 8135 unittest.expect(o, unittest.hasLength(2)); |
| 8134 unittest.expect(o[0], unittest.equals('foo')); | 8136 unittest.expect(o[0], unittest.equals('foo')); |
| 8135 unittest.expect(o[1], unittest.equals('foo')); | 8137 unittest.expect(o[1], unittest.equals('foo')); |
| 8136 } | 8138 } |
| 8137 | 8139 |
| 8138 buildUnnamed1736() { | 8140 buildUnnamed310() { |
| 8139 var o = new core.List<core.String>(); | 8141 var o = new core.List<core.String>(); |
| 8140 o.add("foo"); | 8142 o.add("foo"); |
| 8141 o.add("foo"); | 8143 o.add("foo"); |
| 8142 return o; | 8144 return o; |
| 8143 } | 8145 } |
| 8144 | 8146 |
| 8145 checkUnnamed1736(core.List<core.String> o) { | 8147 checkUnnamed310(core.List<core.String> o) { |
| 8146 unittest.expect(o, unittest.hasLength(2)); | 8148 unittest.expect(o, unittest.hasLength(2)); |
| 8147 unittest.expect(o[0], unittest.equals('foo')); | 8149 unittest.expect(o[0], unittest.equals('foo')); |
| 8148 unittest.expect(o[1], unittest.equals('foo')); | 8150 unittest.expect(o[1], unittest.equals('foo')); |
| 8149 } | 8151 } |
| 8150 | 8152 |
| 8151 buildUnnamed1737() { | 8153 buildUnnamed311() { |
| 8152 var o = new core.List<core.String>(); | 8154 var o = new core.List<core.String>(); |
| 8153 o.add("foo"); | 8155 o.add("foo"); |
| 8154 o.add("foo"); | 8156 o.add("foo"); |
| 8155 return o; | 8157 return o; |
| 8156 } | 8158 } |
| 8157 | 8159 |
| 8158 checkUnnamed1737(core.List<core.String> o) { | 8160 checkUnnamed311(core.List<core.String> o) { |
| 8159 unittest.expect(o, unittest.hasLength(2)); | 8161 unittest.expect(o, unittest.hasLength(2)); |
| 8160 unittest.expect(o[0], unittest.equals('foo')); | 8162 unittest.expect(o[0], unittest.equals('foo')); |
| 8161 unittest.expect(o[1], unittest.equals('foo')); | 8163 unittest.expect(o[1], unittest.equals('foo')); |
| 8162 } | 8164 } |
| 8163 | 8165 |
| 8164 buildUnnamed1738() { | 8166 buildUnnamed312() { |
| 8165 var o = new core.List<core.String>(); | 8167 var o = new core.List<core.String>(); |
| 8166 o.add("foo"); | 8168 o.add("foo"); |
| 8167 o.add("foo"); | 8169 o.add("foo"); |
| 8168 return o; | 8170 return o; |
| 8169 } | 8171 } |
| 8170 | 8172 |
| 8171 checkUnnamed1738(core.List<core.String> o) { | 8173 checkUnnamed312(core.List<core.String> o) { |
| 8172 unittest.expect(o, unittest.hasLength(2)); | 8174 unittest.expect(o, unittest.hasLength(2)); |
| 8173 unittest.expect(o[0], unittest.equals('foo')); | 8175 unittest.expect(o[0], unittest.equals('foo')); |
| 8174 unittest.expect(o[1], unittest.equals('foo')); | 8176 unittest.expect(o[1], unittest.equals('foo')); |
| 8175 } | 8177 } |
| 8176 | 8178 |
| 8177 buildUnnamed1739() { | 8179 buildUnnamed313() { |
| 8178 var o = new core.List<core.String>(); | 8180 var o = new core.List<core.String>(); |
| 8179 o.add("foo"); | 8181 o.add("foo"); |
| 8180 o.add("foo"); | 8182 o.add("foo"); |
| 8181 return o; | 8183 return o; |
| 8182 } | 8184 } |
| 8183 | 8185 |
| 8184 checkUnnamed1739(core.List<core.String> o) { | 8186 checkUnnamed313(core.List<core.String> o) { |
| 8185 unittest.expect(o, unittest.hasLength(2)); | 8187 unittest.expect(o, unittest.hasLength(2)); |
| 8186 unittest.expect(o[0], unittest.equals('foo')); | 8188 unittest.expect(o[0], unittest.equals('foo')); |
| 8187 unittest.expect(o[1], unittest.equals('foo')); | 8189 unittest.expect(o[1], unittest.equals('foo')); |
| 8188 } | 8190 } |
| 8189 | 8191 |
| 8190 buildUnnamed1740() { | 8192 buildUnnamed314() { |
| 8191 var o = new core.List<core.String>(); | 8193 var o = new core.List<core.String>(); |
| 8192 o.add("foo"); | 8194 o.add("foo"); |
| 8193 o.add("foo"); | 8195 o.add("foo"); |
| 8194 return o; | 8196 return o; |
| 8195 } | 8197 } |
| 8196 | 8198 |
| 8197 checkUnnamed1740(core.List<core.String> o) { | 8199 checkUnnamed314(core.List<core.String> o) { |
| 8198 unittest.expect(o, unittest.hasLength(2)); | 8200 unittest.expect(o, unittest.hasLength(2)); |
| 8199 unittest.expect(o[0], unittest.equals('foo')); | 8201 unittest.expect(o[0], unittest.equals('foo')); |
| 8200 unittest.expect(o[1], unittest.equals('foo')); | 8202 unittest.expect(o[1], unittest.equals('foo')); |
| 8201 } | 8203 } |
| 8202 | 8204 |
| 8203 buildUnnamed1741() { | 8205 buildUnnamed315() { |
| 8204 var o = new core.List<core.String>(); | 8206 var o = new core.List<core.String>(); |
| 8205 o.add("foo"); | 8207 o.add("foo"); |
| 8206 o.add("foo"); | 8208 o.add("foo"); |
| 8207 return o; | 8209 return o; |
| 8208 } | 8210 } |
| 8209 | 8211 |
| 8210 checkUnnamed1741(core.List<core.String> o) { | 8212 checkUnnamed315(core.List<core.String> o) { |
| 8211 unittest.expect(o, unittest.hasLength(2)); | 8213 unittest.expect(o, unittest.hasLength(2)); |
| 8212 unittest.expect(o[0], unittest.equals('foo')); | 8214 unittest.expect(o[0], unittest.equals('foo')); |
| 8213 unittest.expect(o[1], unittest.equals('foo')); | 8215 unittest.expect(o[1], unittest.equals('foo')); |
| 8214 } | 8216 } |
| 8215 | 8217 |
| 8216 buildUnnamed1742() { | 8218 buildUnnamed316() { |
| 8217 var o = new core.List<core.String>(); | 8219 var o = new core.List<core.String>(); |
| 8218 o.add("foo"); | 8220 o.add("foo"); |
| 8219 o.add("foo"); | 8221 o.add("foo"); |
| 8220 return o; | 8222 return o; |
| 8221 } | 8223 } |
| 8222 | 8224 |
| 8223 checkUnnamed1742(core.List<core.String> o) { | 8225 checkUnnamed316(core.List<core.String> o) { |
| 8224 unittest.expect(o, unittest.hasLength(2)); | 8226 unittest.expect(o, unittest.hasLength(2)); |
| 8225 unittest.expect(o[0], unittest.equals('foo')); | 8227 unittest.expect(o[0], unittest.equals('foo')); |
| 8226 unittest.expect(o[1], unittest.equals('foo')); | 8228 unittest.expect(o[1], unittest.equals('foo')); |
| 8227 } | 8229 } |
| 8228 | 8230 |
| 8229 buildUnnamed1743() { | 8231 buildUnnamed317() { |
| 8230 var o = new core.List<core.String>(); | 8232 var o = new core.List<core.String>(); |
| 8231 o.add("foo"); | 8233 o.add("foo"); |
| 8232 o.add("foo"); | 8234 o.add("foo"); |
| 8233 return o; | 8235 return o; |
| 8234 } | 8236 } |
| 8235 | 8237 |
| 8236 checkUnnamed1743(core.List<core.String> o) { | 8238 checkUnnamed317(core.List<core.String> o) { |
| 8237 unittest.expect(o, unittest.hasLength(2)); | 8239 unittest.expect(o, unittest.hasLength(2)); |
| 8238 unittest.expect(o[0], unittest.equals('foo')); | 8240 unittest.expect(o[0], unittest.equals('foo')); |
| 8239 unittest.expect(o[1], unittest.equals('foo')); | 8241 unittest.expect(o[1], unittest.equals('foo')); |
| 8240 } | 8242 } |
| 8241 | 8243 |
| 8242 buildUnnamed1744() { | 8244 buildUnnamed318() { |
| 8243 var o = new core.List<core.String>(); | 8245 var o = new core.List<core.String>(); |
| 8244 o.add("foo"); | 8246 o.add("foo"); |
| 8245 o.add("foo"); | 8247 o.add("foo"); |
| 8246 return o; | 8248 return o; |
| 8247 } | 8249 } |
| 8248 | 8250 |
| 8249 checkUnnamed1744(core.List<core.String> o) { | 8251 checkUnnamed318(core.List<core.String> o) { |
| 8250 unittest.expect(o, unittest.hasLength(2)); | 8252 unittest.expect(o, unittest.hasLength(2)); |
| 8251 unittest.expect(o[0], unittest.equals('foo')); | 8253 unittest.expect(o[0], unittest.equals('foo')); |
| 8252 unittest.expect(o[1], unittest.equals('foo')); | 8254 unittest.expect(o[1], unittest.equals('foo')); |
| 8253 } | 8255 } |
| 8254 | 8256 |
| 8255 buildUnnamed1745() { | 8257 buildUnnamed319() { |
| 8256 var o = new core.List<core.String>(); | 8258 var o = new core.List<core.String>(); |
| 8257 o.add("foo"); | 8259 o.add("foo"); |
| 8258 o.add("foo"); | 8260 o.add("foo"); |
| 8259 return o; | 8261 return o; |
| 8260 } | 8262 } |
| 8261 | 8263 |
| 8262 checkUnnamed1745(core.List<core.String> o) { | 8264 checkUnnamed319(core.List<core.String> o) { |
| 8263 unittest.expect(o, unittest.hasLength(2)); | 8265 unittest.expect(o, unittest.hasLength(2)); |
| 8264 unittest.expect(o[0], unittest.equals('foo')); | 8266 unittest.expect(o[0], unittest.equals('foo')); |
| 8265 unittest.expect(o[1], unittest.equals('foo')); | 8267 unittest.expect(o[1], unittest.equals('foo')); |
| 8266 } | 8268 } |
| 8267 | 8269 |
| 8268 buildUnnamed1746() { | 8270 buildUnnamed320() { |
| 8269 var o = new core.List<core.String>(); | 8271 var o = new core.List<core.String>(); |
| 8270 o.add("foo"); | 8272 o.add("foo"); |
| 8271 o.add("foo"); | 8273 o.add("foo"); |
| 8272 return o; | 8274 return o; |
| 8273 } | 8275 } |
| 8274 | 8276 |
| 8275 checkUnnamed1746(core.List<core.String> o) { | 8277 checkUnnamed320(core.List<core.String> o) { |
| 8276 unittest.expect(o, unittest.hasLength(2)); | 8278 unittest.expect(o, unittest.hasLength(2)); |
| 8277 unittest.expect(o[0], unittest.equals('foo')); | 8279 unittest.expect(o[0], unittest.equals('foo')); |
| 8278 unittest.expect(o[1], unittest.equals('foo')); | 8280 unittest.expect(o[1], unittest.equals('foo')); |
| 8279 } | 8281 } |
| 8280 | 8282 |
| 8281 buildUnnamed1747() { | 8283 buildUnnamed321() { |
| 8282 var o = new core.List<core.String>(); | 8284 var o = new core.List<core.String>(); |
| 8283 o.add("foo"); | 8285 o.add("foo"); |
| 8284 o.add("foo"); | 8286 o.add("foo"); |
| 8285 return o; | 8287 return o; |
| 8286 } | 8288 } |
| 8287 | 8289 |
| 8288 checkUnnamed1747(core.List<core.String> o) { | 8290 checkUnnamed321(core.List<core.String> o) { |
| 8289 unittest.expect(o, unittest.hasLength(2)); | 8291 unittest.expect(o, unittest.hasLength(2)); |
| 8290 unittest.expect(o[0], unittest.equals('foo')); | 8292 unittest.expect(o[0], unittest.equals('foo')); |
| 8291 unittest.expect(o[1], unittest.equals('foo')); | 8293 unittest.expect(o[1], unittest.equals('foo')); |
| 8292 } | 8294 } |
| 8293 | 8295 |
| 8294 buildUnnamed1748() { | 8296 buildUnnamed322() { |
| 8295 var o = new core.List<core.String>(); | 8297 var o = new core.List<core.String>(); |
| 8296 o.add("foo"); | 8298 o.add("foo"); |
| 8297 o.add("foo"); | 8299 o.add("foo"); |
| 8298 return o; | 8300 return o; |
| 8299 } | 8301 } |
| 8300 | 8302 |
| 8301 checkUnnamed1748(core.List<core.String> o) { | 8303 checkUnnamed322(core.List<core.String> o) { |
| 8302 unittest.expect(o, unittest.hasLength(2)); | 8304 unittest.expect(o, unittest.hasLength(2)); |
| 8303 unittest.expect(o[0], unittest.equals('foo')); | 8305 unittest.expect(o[0], unittest.equals('foo')); |
| 8304 unittest.expect(o[1], unittest.equals('foo')); | 8306 unittest.expect(o[1], unittest.equals('foo')); |
| 8305 } | 8307 } |
| 8306 | 8308 |
| 8307 buildUnnamed1749() { | 8309 buildUnnamed323() { |
| 8308 var o = new core.List<core.String>(); | 8310 var o = new core.List<core.String>(); |
| 8309 o.add("foo"); | 8311 o.add("foo"); |
| 8310 o.add("foo"); | 8312 o.add("foo"); |
| 8311 return o; | 8313 return o; |
| 8312 } | 8314 } |
| 8313 | 8315 |
| 8314 checkUnnamed1749(core.List<core.String> o) { | 8316 checkUnnamed323(core.List<core.String> o) { |
| 8315 unittest.expect(o, unittest.hasLength(2)); | 8317 unittest.expect(o, unittest.hasLength(2)); |
| 8316 unittest.expect(o[0], unittest.equals('foo')); | 8318 unittest.expect(o[0], unittest.equals('foo')); |
| 8317 unittest.expect(o[1], unittest.equals('foo')); | 8319 unittest.expect(o[1], unittest.equals('foo')); |
| 8318 } | 8320 } |
| 8319 | 8321 |
| 8320 buildUnnamed1750() { | 8322 buildUnnamed324() { |
| 8321 var o = new core.List<core.String>(); | 8323 var o = new core.List<core.String>(); |
| 8322 o.add("foo"); | 8324 o.add("foo"); |
| 8323 o.add("foo"); | 8325 o.add("foo"); |
| 8324 return o; | 8326 return o; |
| 8325 } | 8327 } |
| 8326 | 8328 |
| 8327 checkUnnamed1750(core.List<core.String> o) { | 8329 checkUnnamed324(core.List<core.String> o) { |
| 8328 unittest.expect(o, unittest.hasLength(2)); | 8330 unittest.expect(o, unittest.hasLength(2)); |
| 8329 unittest.expect(o[0], unittest.equals('foo')); | 8331 unittest.expect(o[0], unittest.equals('foo')); |
| 8330 unittest.expect(o[1], unittest.equals('foo')); | 8332 unittest.expect(o[1], unittest.equals('foo')); |
| 8331 } | 8333 } |
| 8332 | 8334 |
| 8333 buildUnnamed1751() { | 8335 buildUnnamed325() { |
| 8334 var o = new core.List<core.String>(); | 8336 var o = new core.List<core.String>(); |
| 8335 o.add("foo"); | 8337 o.add("foo"); |
| 8336 o.add("foo"); | 8338 o.add("foo"); |
| 8337 return o; | 8339 return o; |
| 8338 } | 8340 } |
| 8339 | 8341 |
| 8340 checkUnnamed1751(core.List<core.String> o) { | 8342 checkUnnamed325(core.List<core.String> o) { |
| 8341 unittest.expect(o, unittest.hasLength(2)); | 8343 unittest.expect(o, unittest.hasLength(2)); |
| 8342 unittest.expect(o[0], unittest.equals('foo')); | 8344 unittest.expect(o[0], unittest.equals('foo')); |
| 8343 unittest.expect(o[1], unittest.equals('foo')); | 8345 unittest.expect(o[1], unittest.equals('foo')); |
| 8344 } | 8346 } |
| 8345 | 8347 |
| 8346 buildUnnamed1752() { | 8348 buildUnnamed326() { |
| 8347 var o = new core.List<core.String>(); | 8349 var o = new core.List<core.String>(); |
| 8348 o.add("foo"); | 8350 o.add("foo"); |
| 8349 o.add("foo"); | 8351 o.add("foo"); |
| 8350 return o; | 8352 return o; |
| 8351 } | 8353 } |
| 8352 | 8354 |
| 8353 checkUnnamed1752(core.List<core.String> o) { | 8355 checkUnnamed326(core.List<core.String> o) { |
| 8354 unittest.expect(o, unittest.hasLength(2)); | 8356 unittest.expect(o, unittest.hasLength(2)); |
| 8355 unittest.expect(o[0], unittest.equals('foo')); | 8357 unittest.expect(o[0], unittest.equals('foo')); |
| 8356 unittest.expect(o[1], unittest.equals('foo')); | 8358 unittest.expect(o[1], unittest.equals('foo')); |
| 8357 } | 8359 } |
| 8358 | 8360 |
| 8359 buildUnnamed1753() { | 8361 buildUnnamed327() { |
| 8360 var o = new core.List<core.String>(); | 8362 var o = new core.List<core.String>(); |
| 8361 o.add("foo"); | 8363 o.add("foo"); |
| 8362 o.add("foo"); | 8364 o.add("foo"); |
| 8363 return o; | 8365 return o; |
| 8364 } | 8366 } |
| 8365 | 8367 |
| 8366 checkUnnamed1753(core.List<core.String> o) { | 8368 checkUnnamed327(core.List<core.String> o) { |
| 8367 unittest.expect(o, unittest.hasLength(2)); | 8369 unittest.expect(o, unittest.hasLength(2)); |
| 8368 unittest.expect(o[0], unittest.equals('foo')); | 8370 unittest.expect(o[0], unittest.equals('foo')); |
| 8369 unittest.expect(o[1], unittest.equals('foo')); | 8371 unittest.expect(o[1], unittest.equals('foo')); |
| 8370 } | 8372 } |
| 8371 | 8373 |
| 8372 buildUnnamed1754() { | 8374 buildUnnamed328() { |
| 8373 var o = new core.List<core.String>(); | 8375 var o = new core.List<core.String>(); |
| 8374 o.add("foo"); | 8376 o.add("foo"); |
| 8375 o.add("foo"); | 8377 o.add("foo"); |
| 8376 return o; | 8378 return o; |
| 8377 } | 8379 } |
| 8378 | 8380 |
| 8379 checkUnnamed1754(core.List<core.String> o) { | 8381 checkUnnamed328(core.List<core.String> o) { |
| 8380 unittest.expect(o, unittest.hasLength(2)); | 8382 unittest.expect(o, unittest.hasLength(2)); |
| 8381 unittest.expect(o[0], unittest.equals('foo')); | 8383 unittest.expect(o[0], unittest.equals('foo')); |
| 8382 unittest.expect(o[1], unittest.equals('foo')); | 8384 unittest.expect(o[1], unittest.equals('foo')); |
| 8383 } | 8385 } |
| 8384 | 8386 |
| 8385 buildUnnamed1755() { | 8387 buildUnnamed329() { |
| 8386 var o = new core.List<core.String>(); | 8388 var o = new core.List<core.String>(); |
| 8387 o.add("foo"); | 8389 o.add("foo"); |
| 8388 o.add("foo"); | 8390 o.add("foo"); |
| 8389 return o; | 8391 return o; |
| 8390 } | 8392 } |
| 8391 | 8393 |
| 8392 checkUnnamed1755(core.List<core.String> o) { | 8394 checkUnnamed329(core.List<core.String> o) { |
| 8393 unittest.expect(o, unittest.hasLength(2)); | 8395 unittest.expect(o, unittest.hasLength(2)); |
| 8394 unittest.expect(o[0], unittest.equals('foo')); | 8396 unittest.expect(o[0], unittest.equals('foo')); |
| 8395 unittest.expect(o[1], unittest.equals('foo')); | 8397 unittest.expect(o[1], unittest.equals('foo')); |
| 8396 } | 8398 } |
| 8397 | 8399 |
| 8398 buildUnnamed1756() { | 8400 buildUnnamed330() { |
| 8399 var o = new core.List<core.String>(); | 8401 var o = new core.List<core.String>(); |
| 8400 o.add("foo"); | 8402 o.add("foo"); |
| 8401 o.add("foo"); | 8403 o.add("foo"); |
| 8402 return o; | 8404 return o; |
| 8403 } | 8405 } |
| 8404 | 8406 |
| 8405 checkUnnamed1756(core.List<core.String> o) { | 8407 checkUnnamed330(core.List<core.String> o) { |
| 8406 unittest.expect(o, unittest.hasLength(2)); | 8408 unittest.expect(o, unittest.hasLength(2)); |
| 8407 unittest.expect(o[0], unittest.equals('foo')); | 8409 unittest.expect(o[0], unittest.equals('foo')); |
| 8408 unittest.expect(o[1], unittest.equals('foo')); | 8410 unittest.expect(o[1], unittest.equals('foo')); |
| 8409 } | 8411 } |
| 8410 | 8412 |
| 8411 buildUnnamed1757() { | 8413 buildUnnamed331() { |
| 8412 var o = new core.List<core.String>(); | 8414 var o = new core.List<core.String>(); |
| 8413 o.add("foo"); | 8415 o.add("foo"); |
| 8414 o.add("foo"); | 8416 o.add("foo"); |
| 8415 return o; | 8417 return o; |
| 8416 } | 8418 } |
| 8417 | 8419 |
| 8418 checkUnnamed1757(core.List<core.String> o) { | 8420 checkUnnamed331(core.List<core.String> o) { |
| 8419 unittest.expect(o, unittest.hasLength(2)); | 8421 unittest.expect(o, unittest.hasLength(2)); |
| 8420 unittest.expect(o[0], unittest.equals('foo')); | 8422 unittest.expect(o[0], unittest.equals('foo')); |
| 8421 unittest.expect(o[1], unittest.equals('foo')); | 8423 unittest.expect(o[1], unittest.equals('foo')); |
| 8422 } | 8424 } |
| 8423 | 8425 |
| 8424 buildUnnamed1758() { | 8426 buildUnnamed332() { |
| 8425 var o = new core.List<core.String>(); | 8427 var o = new core.List<core.String>(); |
| 8426 o.add("foo"); | 8428 o.add("foo"); |
| 8427 o.add("foo"); | 8429 o.add("foo"); |
| 8428 return o; | 8430 return o; |
| 8429 } | 8431 } |
| 8430 | 8432 |
| 8431 checkUnnamed1758(core.List<core.String> o) { | 8433 checkUnnamed332(core.List<core.String> o) { |
| 8432 unittest.expect(o, unittest.hasLength(2)); | 8434 unittest.expect(o, unittest.hasLength(2)); |
| 8433 unittest.expect(o[0], unittest.equals('foo')); | 8435 unittest.expect(o[0], unittest.equals('foo')); |
| 8434 unittest.expect(o[1], unittest.equals('foo')); | 8436 unittest.expect(o[1], unittest.equals('foo')); |
| 8435 } | 8437 } |
| 8436 | 8438 |
| 8437 buildUnnamed1759() { | 8439 buildUnnamed333() { |
| 8438 var o = new core.List<core.String>(); | 8440 var o = new core.List<core.String>(); |
| 8439 o.add("foo"); | 8441 o.add("foo"); |
| 8440 o.add("foo"); | 8442 o.add("foo"); |
| 8441 return o; | 8443 return o; |
| 8442 } | 8444 } |
| 8443 | 8445 |
| 8444 checkUnnamed1759(core.List<core.String> o) { | 8446 checkUnnamed333(core.List<core.String> o) { |
| 8445 unittest.expect(o, unittest.hasLength(2)); | 8447 unittest.expect(o, unittest.hasLength(2)); |
| 8446 unittest.expect(o[0], unittest.equals('foo')); | 8448 unittest.expect(o[0], unittest.equals('foo')); |
| 8447 unittest.expect(o[1], unittest.equals('foo')); | 8449 unittest.expect(o[1], unittest.equals('foo')); |
| 8448 } | 8450 } |
| 8449 | 8451 |
| 8450 buildUnnamed1760() { | 8452 buildUnnamed334() { |
| 8451 var o = new core.List<core.String>(); | 8453 var o = new core.List<core.String>(); |
| 8452 o.add("foo"); | 8454 o.add("foo"); |
| 8453 o.add("foo"); | 8455 o.add("foo"); |
| 8454 return o; | 8456 return o; |
| 8455 } | 8457 } |
| 8456 | 8458 |
| 8457 checkUnnamed1760(core.List<core.String> o) { | 8459 checkUnnamed334(core.List<core.String> o) { |
| 8458 unittest.expect(o, unittest.hasLength(2)); | 8460 unittest.expect(o, unittest.hasLength(2)); |
| 8459 unittest.expect(o[0], unittest.equals('foo')); | 8461 unittest.expect(o[0], unittest.equals('foo')); |
| 8460 unittest.expect(o[1], unittest.equals('foo')); | 8462 unittest.expect(o[1], unittest.equals('foo')); |
| 8461 } | 8463 } |
| 8462 | 8464 |
| 8463 buildUnnamed1761() { | 8465 buildUnnamed335() { |
| 8464 var o = new core.List<core.String>(); | 8466 var o = new core.List<core.String>(); |
| 8465 o.add("foo"); | 8467 o.add("foo"); |
| 8466 o.add("foo"); | 8468 o.add("foo"); |
| 8467 return o; | 8469 return o; |
| 8468 } | 8470 } |
| 8469 | 8471 |
| 8470 checkUnnamed1761(core.List<core.String> o) { | 8472 checkUnnamed335(core.List<core.String> o) { |
| 8471 unittest.expect(o, unittest.hasLength(2)); | 8473 unittest.expect(o, unittest.hasLength(2)); |
| 8472 unittest.expect(o[0], unittest.equals('foo')); | 8474 unittest.expect(o[0], unittest.equals('foo')); |
| 8473 unittest.expect(o[1], unittest.equals('foo')); | 8475 unittest.expect(o[1], unittest.equals('foo')); |
| 8474 } | 8476 } |
| 8475 | 8477 |
| 8476 buildUnnamed1762() { | 8478 buildUnnamed336() { |
| 8477 var o = new core.List<core.String>(); | 8479 var o = new core.List<core.String>(); |
| 8478 o.add("foo"); | 8480 o.add("foo"); |
| 8479 o.add("foo"); | 8481 o.add("foo"); |
| 8480 return o; | 8482 return o; |
| 8481 } | 8483 } |
| 8482 | 8484 |
| 8483 checkUnnamed1762(core.List<core.String> o) { | 8485 checkUnnamed336(core.List<core.String> o) { |
| 8484 unittest.expect(o, unittest.hasLength(2)); | 8486 unittest.expect(o, unittest.hasLength(2)); |
| 8485 unittest.expect(o[0], unittest.equals('foo')); | 8487 unittest.expect(o[0], unittest.equals('foo')); |
| 8486 unittest.expect(o[1], unittest.equals('foo')); | 8488 unittest.expect(o[1], unittest.equals('foo')); |
| 8487 } | 8489 } |
| 8488 | 8490 |
| 8489 buildUnnamed1763() { | 8491 buildUnnamed337() { |
| 8490 var o = new core.List<core.String>(); | 8492 var o = new core.List<core.String>(); |
| 8491 o.add("foo"); | 8493 o.add("foo"); |
| 8492 o.add("foo"); | 8494 o.add("foo"); |
| 8493 return o; | 8495 return o; |
| 8494 } | 8496 } |
| 8495 | 8497 |
| 8496 checkUnnamed1763(core.List<core.String> o) { | 8498 checkUnnamed337(core.List<core.String> o) { |
| 8497 unittest.expect(o, unittest.hasLength(2)); | 8499 unittest.expect(o, unittest.hasLength(2)); |
| 8498 unittest.expect(o[0], unittest.equals('foo')); | 8500 unittest.expect(o[0], unittest.equals('foo')); |
| 8499 unittest.expect(o[1], unittest.equals('foo')); | 8501 unittest.expect(o[1], unittest.equals('foo')); |
| 8500 } | 8502 } |
| 8501 | 8503 |
| 8502 buildUnnamed1764() { | 8504 buildUnnamed338() { |
| 8503 var o = new core.List<core.String>(); | 8505 var o = new core.List<core.String>(); |
| 8504 o.add("foo"); | 8506 o.add("foo"); |
| 8505 o.add("foo"); | 8507 o.add("foo"); |
| 8506 return o; | 8508 return o; |
| 8507 } | 8509 } |
| 8508 | 8510 |
| 8509 checkUnnamed1764(core.List<core.String> o) { | 8511 checkUnnamed338(core.List<core.String> o) { |
| 8510 unittest.expect(o, unittest.hasLength(2)); | 8512 unittest.expect(o, unittest.hasLength(2)); |
| 8511 unittest.expect(o[0], unittest.equals('foo')); | 8513 unittest.expect(o[0], unittest.equals('foo')); |
| 8512 unittest.expect(o[1], unittest.equals('foo')); | 8514 unittest.expect(o[1], unittest.equals('foo')); |
| 8513 } | 8515 } |
| 8514 | 8516 |
| 8515 buildUnnamed1765() { | 8517 buildUnnamed339() { |
| 8516 var o = new core.List<core.String>(); | 8518 var o = new core.List<core.String>(); |
| 8517 o.add("foo"); | 8519 o.add("foo"); |
| 8518 o.add("foo"); | 8520 o.add("foo"); |
| 8519 return o; | 8521 return o; |
| 8520 } | 8522 } |
| 8521 | 8523 |
| 8522 checkUnnamed1765(core.List<core.String> o) { | 8524 checkUnnamed339(core.List<core.String> o) { |
| 8523 unittest.expect(o, unittest.hasLength(2)); | 8525 unittest.expect(o, unittest.hasLength(2)); |
| 8524 unittest.expect(o[0], unittest.equals('foo')); | 8526 unittest.expect(o[0], unittest.equals('foo')); |
| 8525 unittest.expect(o[1], unittest.equals('foo')); | 8527 unittest.expect(o[1], unittest.equals('foo')); |
| 8526 } | 8528 } |
| 8527 | 8529 |
| 8528 buildUnnamed1766() { | 8530 buildUnnamed340() { |
| 8529 var o = new core.List<core.String>(); | 8531 var o = new core.List<core.String>(); |
| 8530 o.add("foo"); | 8532 o.add("foo"); |
| 8531 o.add("foo"); | 8533 o.add("foo"); |
| 8532 return o; | 8534 return o; |
| 8533 } | 8535 } |
| 8534 | 8536 |
| 8535 checkUnnamed1766(core.List<core.String> o) { | 8537 checkUnnamed340(core.List<core.String> o) { |
| 8536 unittest.expect(o, unittest.hasLength(2)); | 8538 unittest.expect(o, unittest.hasLength(2)); |
| 8537 unittest.expect(o[0], unittest.equals('foo')); | 8539 unittest.expect(o[0], unittest.equals('foo')); |
| 8538 unittest.expect(o[1], unittest.equals('foo')); | 8540 unittest.expect(o[1], unittest.equals('foo')); |
| 8539 } | 8541 } |
| 8540 | 8542 |
| 8541 buildUnnamed1767() { | 8543 buildUnnamed341() { |
| 8542 var o = new core.List<core.String>(); | 8544 var o = new core.List<core.String>(); |
| 8543 o.add("foo"); | 8545 o.add("foo"); |
| 8544 o.add("foo"); | 8546 o.add("foo"); |
| 8545 return o; | 8547 return o; |
| 8546 } | 8548 } |
| 8547 | 8549 |
| 8548 checkUnnamed1767(core.List<core.String> o) { | 8550 checkUnnamed341(core.List<core.String> o) { |
| 8549 unittest.expect(o, unittest.hasLength(2)); | 8551 unittest.expect(o, unittest.hasLength(2)); |
| 8550 unittest.expect(o[0], unittest.equals('foo')); | 8552 unittest.expect(o[0], unittest.equals('foo')); |
| 8551 unittest.expect(o[1], unittest.equals('foo')); | 8553 unittest.expect(o[1], unittest.equals('foo')); |
| 8552 } | 8554 } |
| 8553 | 8555 |
| 8554 buildUnnamed1768() { | 8556 buildUnnamed342() { |
| 8555 var o = new core.List<core.String>(); | 8557 var o = new core.List<core.String>(); |
| 8556 o.add("foo"); | 8558 o.add("foo"); |
| 8557 o.add("foo"); | 8559 o.add("foo"); |
| 8558 return o; | 8560 return o; |
| 8559 } | 8561 } |
| 8560 | 8562 |
| 8561 checkUnnamed1768(core.List<core.String> o) { | 8563 checkUnnamed342(core.List<core.String> o) { |
| 8562 unittest.expect(o, unittest.hasLength(2)); | 8564 unittest.expect(o, unittest.hasLength(2)); |
| 8563 unittest.expect(o[0], unittest.equals('foo')); | 8565 unittest.expect(o[0], unittest.equals('foo')); |
| 8564 unittest.expect(o[1], unittest.equals('foo')); | 8566 unittest.expect(o[1], unittest.equals('foo')); |
| 8565 } | 8567 } |
| 8566 | 8568 |
| 8567 buildUnnamed1769() { | 8569 buildUnnamed343() { |
| 8568 var o = new core.List<core.String>(); | 8570 var o = new core.List<core.String>(); |
| 8569 o.add("foo"); | 8571 o.add("foo"); |
| 8570 o.add("foo"); | 8572 o.add("foo"); |
| 8571 return o; | 8573 return o; |
| 8572 } | 8574 } |
| 8573 | 8575 |
| 8574 checkUnnamed1769(core.List<core.String> o) { | 8576 checkUnnamed343(core.List<core.String> o) { |
| 8575 unittest.expect(o, unittest.hasLength(2)); | 8577 unittest.expect(o, unittest.hasLength(2)); |
| 8576 unittest.expect(o[0], unittest.equals('foo')); | 8578 unittest.expect(o[0], unittest.equals('foo')); |
| 8577 unittest.expect(o[1], unittest.equals('foo')); | 8579 unittest.expect(o[1], unittest.equals('foo')); |
| 8578 } | 8580 } |
| 8579 | 8581 |
| 8580 buildUnnamed1770() { | 8582 buildUnnamed344() { |
| 8581 var o = new core.List<core.String>(); | 8583 var o = new core.List<core.String>(); |
| 8582 o.add("foo"); | 8584 o.add("foo"); |
| 8583 o.add("foo"); | 8585 o.add("foo"); |
| 8584 return o; | 8586 return o; |
| 8585 } | 8587 } |
| 8586 | 8588 |
| 8587 checkUnnamed1770(core.List<core.String> o) { | 8589 checkUnnamed344(core.List<core.String> o) { |
| 8588 unittest.expect(o, unittest.hasLength(2)); | 8590 unittest.expect(o, unittest.hasLength(2)); |
| 8589 unittest.expect(o[0], unittest.equals('foo')); | 8591 unittest.expect(o[0], unittest.equals('foo')); |
| 8590 unittest.expect(o[1], unittest.equals('foo')); | 8592 unittest.expect(o[1], unittest.equals('foo')); |
| 8591 } | 8593 } |
| 8592 | 8594 |
| 8593 buildUnnamed1771() { | 8595 buildUnnamed345() { |
| 8594 var o = new core.List<core.String>(); | 8596 var o = new core.List<core.String>(); |
| 8595 o.add("foo"); | 8597 o.add("foo"); |
| 8596 o.add("foo"); | 8598 o.add("foo"); |
| 8597 return o; | 8599 return o; |
| 8598 } | 8600 } |
| 8599 | 8601 |
| 8600 checkUnnamed1771(core.List<core.String> o) { | 8602 checkUnnamed345(core.List<core.String> o) { |
| 8601 unittest.expect(o, unittest.hasLength(2)); | 8603 unittest.expect(o, unittest.hasLength(2)); |
| 8602 unittest.expect(o[0], unittest.equals('foo')); | 8604 unittest.expect(o[0], unittest.equals('foo')); |
| 8603 unittest.expect(o[1], unittest.equals('foo')); | 8605 unittest.expect(o[1], unittest.equals('foo')); |
| 8604 } | 8606 } |
| 8605 | 8607 |
| 8606 buildUnnamed1772() { | 8608 buildUnnamed346() { |
| 8607 var o = new core.List<core.String>(); | 8609 var o = new core.List<core.String>(); |
| 8608 o.add("foo"); | 8610 o.add("foo"); |
| 8609 o.add("foo"); | 8611 o.add("foo"); |
| 8610 return o; | 8612 return o; |
| 8611 } | 8613 } |
| 8612 | 8614 |
| 8613 checkUnnamed1772(core.List<core.String> o) { | 8615 checkUnnamed346(core.List<core.String> o) { |
| 8614 unittest.expect(o, unittest.hasLength(2)); | 8616 unittest.expect(o, unittest.hasLength(2)); |
| 8615 unittest.expect(o[0], unittest.equals('foo')); | 8617 unittest.expect(o[0], unittest.equals('foo')); |
| 8616 unittest.expect(o[1], unittest.equals('foo')); | 8618 unittest.expect(o[1], unittest.equals('foo')); |
| 8617 } | 8619 } |
| 8618 | 8620 |
| 8619 buildUnnamed1773() { | 8621 buildUnnamed347() { |
| 8620 var o = new core.List<core.String>(); | 8622 var o = new core.List<core.String>(); |
| 8621 o.add("foo"); | 8623 o.add("foo"); |
| 8622 o.add("foo"); | 8624 o.add("foo"); |
| 8623 return o; | 8625 return o; |
| 8624 } | 8626 } |
| 8625 | 8627 |
| 8626 checkUnnamed1773(core.List<core.String> o) { | 8628 checkUnnamed347(core.List<core.String> o) { |
| 8627 unittest.expect(o, unittest.hasLength(2)); | 8629 unittest.expect(o, unittest.hasLength(2)); |
| 8628 unittest.expect(o[0], unittest.equals('foo')); | 8630 unittest.expect(o[0], unittest.equals('foo')); |
| 8629 unittest.expect(o[1], unittest.equals('foo')); | 8631 unittest.expect(o[1], unittest.equals('foo')); |
| 8630 } | 8632 } |
| 8631 | 8633 |
| 8632 buildUnnamed1774() { | 8634 buildUnnamed348() { |
| 8633 var o = new core.List<core.String>(); | 8635 var o = new core.List<core.String>(); |
| 8634 o.add("foo"); | 8636 o.add("foo"); |
| 8635 o.add("foo"); | 8637 o.add("foo"); |
| 8636 return o; | 8638 return o; |
| 8637 } | 8639 } |
| 8638 | 8640 |
| 8639 checkUnnamed1774(core.List<core.String> o) { | 8641 checkUnnamed348(core.List<core.String> o) { |
| 8640 unittest.expect(o, unittest.hasLength(2)); | 8642 unittest.expect(o, unittest.hasLength(2)); |
| 8641 unittest.expect(o[0], unittest.equals('foo')); | 8643 unittest.expect(o[0], unittest.equals('foo')); |
| 8642 unittest.expect(o[1], unittest.equals('foo')); | 8644 unittest.expect(o[1], unittest.equals('foo')); |
| 8643 } | 8645 } |
| 8644 | 8646 |
| 8645 buildUnnamed1775() { | 8647 buildUnnamed349() { |
| 8646 var o = new core.List<core.String>(); | 8648 var o = new core.List<core.String>(); |
| 8647 o.add("foo"); | 8649 o.add("foo"); |
| 8648 o.add("foo"); | 8650 o.add("foo"); |
| 8649 return o; | 8651 return o; |
| 8650 } | 8652 } |
| 8651 | 8653 |
| 8652 checkUnnamed1775(core.List<core.String> o) { | 8654 checkUnnamed349(core.List<core.String> o) { |
| 8653 unittest.expect(o, unittest.hasLength(2)); | 8655 unittest.expect(o, unittest.hasLength(2)); |
| 8654 unittest.expect(o[0], unittest.equals('foo')); | 8656 unittest.expect(o[0], unittest.equals('foo')); |
| 8655 unittest.expect(o[1], unittest.equals('foo')); | 8657 unittest.expect(o[1], unittest.equals('foo')); |
| 8656 } | 8658 } |
| 8657 | 8659 |
| 8658 buildUnnamed1776() { | 8660 buildUnnamed350() { |
| 8659 var o = new core.List<core.String>(); | 8661 var o = new core.List<core.String>(); |
| 8660 o.add("foo"); | 8662 o.add("foo"); |
| 8661 o.add("foo"); | 8663 o.add("foo"); |
| 8662 return o; | 8664 return o; |
| 8663 } | 8665 } |
| 8664 | 8666 |
| 8665 checkUnnamed1776(core.List<core.String> o) { | 8667 checkUnnamed350(core.List<core.String> o) { |
| 8666 unittest.expect(o, unittest.hasLength(2)); | 8668 unittest.expect(o, unittest.hasLength(2)); |
| 8667 unittest.expect(o[0], unittest.equals('foo')); | 8669 unittest.expect(o[0], unittest.equals('foo')); |
| 8668 unittest.expect(o[1], unittest.equals('foo')); | 8670 unittest.expect(o[1], unittest.equals('foo')); |
| 8669 } | 8671 } |
| 8670 | 8672 |
| 8671 buildUnnamed1777() { | 8673 buildUnnamed351() { |
| 8672 var o = new core.List<core.String>(); | 8674 var o = new core.List<core.String>(); |
| 8673 o.add("foo"); | 8675 o.add("foo"); |
| 8674 o.add("foo"); | 8676 o.add("foo"); |
| 8675 return o; | 8677 return o; |
| 8676 } | 8678 } |
| 8677 | 8679 |
| 8678 checkUnnamed1777(core.List<core.String> o) { | 8680 checkUnnamed351(core.List<core.String> o) { |
| 8679 unittest.expect(o, unittest.hasLength(2)); | 8681 unittest.expect(o, unittest.hasLength(2)); |
| 8680 unittest.expect(o[0], unittest.equals('foo')); | 8682 unittest.expect(o[0], unittest.equals('foo')); |
| 8681 unittest.expect(o[1], unittest.equals('foo')); | 8683 unittest.expect(o[1], unittest.equals('foo')); |
| 8682 } | 8684 } |
| 8683 | 8685 |
| 8684 buildUnnamed1778() { | 8686 buildUnnamed352() { |
| 8685 var o = new core.List<core.String>(); | 8687 var o = new core.List<core.String>(); |
| 8686 o.add("foo"); | 8688 o.add("foo"); |
| 8687 o.add("foo"); | 8689 o.add("foo"); |
| 8688 return o; | 8690 return o; |
| 8689 } | 8691 } |
| 8690 | 8692 |
| 8691 checkUnnamed1778(core.List<core.String> o) { | 8693 checkUnnamed352(core.List<core.String> o) { |
| 8692 unittest.expect(o, unittest.hasLength(2)); | 8694 unittest.expect(o, unittest.hasLength(2)); |
| 8693 unittest.expect(o[0], unittest.equals('foo')); | 8695 unittest.expect(o[0], unittest.equals('foo')); |
| 8694 unittest.expect(o[1], unittest.equals('foo')); | 8696 unittest.expect(o[1], unittest.equals('foo')); |
| 8695 } | 8697 } |
| 8696 | 8698 |
| 8697 buildUnnamed1779() { | 8699 buildUnnamed353() { |
| 8698 var o = new core.List<core.String>(); | 8700 var o = new core.List<core.String>(); |
| 8699 o.add("foo"); | 8701 o.add("foo"); |
| 8700 o.add("foo"); | 8702 o.add("foo"); |
| 8701 return o; | 8703 return o; |
| 8702 } | 8704 } |
| 8703 | 8705 |
| 8704 checkUnnamed1779(core.List<core.String> o) { | 8706 checkUnnamed353(core.List<core.String> o) { |
| 8705 unittest.expect(o, unittest.hasLength(2)); | 8707 unittest.expect(o, unittest.hasLength(2)); |
| 8706 unittest.expect(o[0], unittest.equals('foo')); | 8708 unittest.expect(o[0], unittest.equals('foo')); |
| 8707 unittest.expect(o[1], unittest.equals('foo')); | 8709 unittest.expect(o[1], unittest.equals('foo')); |
| 8708 } | 8710 } |
| 8709 | 8711 |
| 8710 buildUnnamed1780() { | 8712 buildUnnamed354() { |
| 8711 var o = new core.List<core.String>(); | 8713 var o = new core.List<core.String>(); |
| 8712 o.add("foo"); | 8714 o.add("foo"); |
| 8713 o.add("foo"); | 8715 o.add("foo"); |
| 8714 return o; | 8716 return o; |
| 8715 } | 8717 } |
| 8716 | 8718 |
| 8717 checkUnnamed1780(core.List<core.String> o) { | 8719 checkUnnamed354(core.List<core.String> o) { |
| 8718 unittest.expect(o, unittest.hasLength(2)); | 8720 unittest.expect(o, unittest.hasLength(2)); |
| 8719 unittest.expect(o[0], unittest.equals('foo')); | 8721 unittest.expect(o[0], unittest.equals('foo')); |
| 8720 unittest.expect(o[1], unittest.equals('foo')); | 8722 unittest.expect(o[1], unittest.equals('foo')); |
| 8721 } | 8723 } |
| 8722 | 8724 |
| 8723 buildUnnamed1781() { | 8725 buildUnnamed355() { |
| 8724 var o = new core.List<core.String>(); | 8726 var o = new core.List<core.String>(); |
| 8725 o.add("foo"); | 8727 o.add("foo"); |
| 8726 o.add("foo"); | 8728 o.add("foo"); |
| 8727 return o; | 8729 return o; |
| 8728 } | 8730 } |
| 8729 | 8731 |
| 8730 checkUnnamed1781(core.List<core.String> o) { | 8732 checkUnnamed355(core.List<core.String> o) { |
| 8731 unittest.expect(o, unittest.hasLength(2)); | 8733 unittest.expect(o, unittest.hasLength(2)); |
| 8732 unittest.expect(o[0], unittest.equals('foo')); | 8734 unittest.expect(o[0], unittest.equals('foo')); |
| 8733 unittest.expect(o[1], unittest.equals('foo')); | 8735 unittest.expect(o[1], unittest.equals('foo')); |
| 8734 } | 8736 } |
| 8735 | 8737 |
| 8736 buildUnnamed1782() { | 8738 buildUnnamed356() { |
| 8737 var o = new core.List<core.String>(); | 8739 var o = new core.List<core.String>(); |
| 8738 o.add("foo"); | 8740 o.add("foo"); |
| 8739 o.add("foo"); | 8741 o.add("foo"); |
| 8740 return o; | 8742 return o; |
| 8741 } | 8743 } |
| 8742 | 8744 |
| 8743 checkUnnamed1782(core.List<core.String> o) { | 8745 checkUnnamed356(core.List<core.String> o) { |
| 8744 unittest.expect(o, unittest.hasLength(2)); | 8746 unittest.expect(o, unittest.hasLength(2)); |
| 8745 unittest.expect(o[0], unittest.equals('foo')); | 8747 unittest.expect(o[0], unittest.equals('foo')); |
| 8746 unittest.expect(o[1], unittest.equals('foo')); | 8748 unittest.expect(o[1], unittest.equals('foo')); |
| 8747 } | 8749 } |
| 8748 | 8750 |
| 8749 buildUnnamed1783() { | 8751 buildUnnamed357() { |
| 8750 var o = new core.List<core.String>(); | 8752 var o = new core.List<core.String>(); |
| 8751 o.add("foo"); | 8753 o.add("foo"); |
| 8752 o.add("foo"); | 8754 o.add("foo"); |
| 8753 return o; | 8755 return o; |
| 8754 } | 8756 } |
| 8755 | 8757 |
| 8756 checkUnnamed1783(core.List<core.String> o) { | 8758 checkUnnamed357(core.List<core.String> o) { |
| 8757 unittest.expect(o, unittest.hasLength(2)); | 8759 unittest.expect(o, unittest.hasLength(2)); |
| 8758 unittest.expect(o[0], unittest.equals('foo')); | 8760 unittest.expect(o[0], unittest.equals('foo')); |
| 8759 unittest.expect(o[1], unittest.equals('foo')); | 8761 unittest.expect(o[1], unittest.equals('foo')); |
| 8760 } | 8762 } |
| 8761 | 8763 |
| 8762 buildUnnamed1784() { | 8764 buildUnnamed358() { |
| 8763 var o = new core.List<core.String>(); | 8765 var o = new core.List<core.String>(); |
| 8764 o.add("foo"); | 8766 o.add("foo"); |
| 8765 o.add("foo"); | 8767 o.add("foo"); |
| 8766 return o; | 8768 return o; |
| 8767 } | 8769 } |
| 8768 | 8770 |
| 8769 checkUnnamed1784(core.List<core.String> o) { | 8771 checkUnnamed358(core.List<core.String> o) { |
| 8770 unittest.expect(o, unittest.hasLength(2)); | 8772 unittest.expect(o, unittest.hasLength(2)); |
| 8771 unittest.expect(o[0], unittest.equals('foo')); | 8773 unittest.expect(o[0], unittest.equals('foo')); |
| 8772 unittest.expect(o[1], unittest.equals('foo')); | 8774 unittest.expect(o[1], unittest.equals('foo')); |
| 8773 } | 8775 } |
| 8774 | 8776 |
| 8775 buildUnnamed1785() { | 8777 buildUnnamed359() { |
| 8776 var o = new core.List<core.String>(); | 8778 var o = new core.List<core.String>(); |
| 8777 o.add("foo"); | 8779 o.add("foo"); |
| 8778 o.add("foo"); | 8780 o.add("foo"); |
| 8779 return o; | 8781 return o; |
| 8780 } | 8782 } |
| 8781 | 8783 |
| 8782 checkUnnamed1785(core.List<core.String> o) { | 8784 checkUnnamed359(core.List<core.String> o) { |
| 8783 unittest.expect(o, unittest.hasLength(2)); | 8785 unittest.expect(o, unittest.hasLength(2)); |
| 8784 unittest.expect(o[0], unittest.equals('foo')); | 8786 unittest.expect(o[0], unittest.equals('foo')); |
| 8785 unittest.expect(o[1], unittest.equals('foo')); | 8787 unittest.expect(o[1], unittest.equals('foo')); |
| 8786 } | 8788 } |
| 8787 | 8789 |
| 8788 buildUnnamed1786() { | 8790 buildUnnamed360() { |
| 8789 var o = new core.List<core.String>(); | 8791 var o = new core.List<core.String>(); |
| 8790 o.add("foo"); | 8792 o.add("foo"); |
| 8791 o.add("foo"); | 8793 o.add("foo"); |
| 8792 return o; | 8794 return o; |
| 8793 } | 8795 } |
| 8794 | 8796 |
| 8795 checkUnnamed1786(core.List<core.String> o) { | 8797 checkUnnamed360(core.List<core.String> o) { |
| 8796 unittest.expect(o, unittest.hasLength(2)); | 8798 unittest.expect(o, unittest.hasLength(2)); |
| 8797 unittest.expect(o[0], unittest.equals('foo')); | 8799 unittest.expect(o[0], unittest.equals('foo')); |
| 8798 unittest.expect(o[1], unittest.equals('foo')); | 8800 unittest.expect(o[1], unittest.equals('foo')); |
| 8799 } | 8801 } |
| 8800 | 8802 |
| 8801 buildUnnamed1787() { | 8803 buildUnnamed361() { |
| 8802 var o = new core.List<core.String>(); | 8804 var o = new core.List<core.String>(); |
| 8803 o.add("foo"); | 8805 o.add("foo"); |
| 8804 o.add("foo"); | 8806 o.add("foo"); |
| 8805 return o; | 8807 return o; |
| 8806 } | 8808 } |
| 8807 | 8809 |
| 8808 checkUnnamed1787(core.List<core.String> o) { | 8810 checkUnnamed361(core.List<core.String> o) { |
| 8809 unittest.expect(o, unittest.hasLength(2)); | 8811 unittest.expect(o, unittest.hasLength(2)); |
| 8810 unittest.expect(o[0], unittest.equals('foo')); | 8812 unittest.expect(o[0], unittest.equals('foo')); |
| 8811 unittest.expect(o[1], unittest.equals('foo')); | 8813 unittest.expect(o[1], unittest.equals('foo')); |
| 8812 } | 8814 } |
| 8813 | 8815 |
| 8814 buildUnnamed1788() { | 8816 buildUnnamed362() { |
| 8815 var o = new core.List<core.String>(); | 8817 var o = new core.List<core.String>(); |
| 8816 o.add("foo"); | 8818 o.add("foo"); |
| 8817 o.add("foo"); | 8819 o.add("foo"); |
| 8818 return o; | 8820 return o; |
| 8819 } | 8821 } |
| 8820 | 8822 |
| 8821 checkUnnamed1788(core.List<core.String> o) { | 8823 checkUnnamed362(core.List<core.String> o) { |
| 8822 unittest.expect(o, unittest.hasLength(2)); | 8824 unittest.expect(o, unittest.hasLength(2)); |
| 8823 unittest.expect(o[0], unittest.equals('foo')); | 8825 unittest.expect(o[0], unittest.equals('foo')); |
| 8824 unittest.expect(o[1], unittest.equals('foo')); | 8826 unittest.expect(o[1], unittest.equals('foo')); |
| 8825 } | 8827 } |
| 8826 | 8828 |
| 8827 buildUnnamed1789() { | 8829 buildUnnamed363() { |
| 8828 var o = new core.List<core.String>(); | 8830 var o = new core.List<core.String>(); |
| 8829 o.add("foo"); | 8831 o.add("foo"); |
| 8830 o.add("foo"); | 8832 o.add("foo"); |
| 8831 return o; | 8833 return o; |
| 8832 } | 8834 } |
| 8833 | 8835 |
| 8834 checkUnnamed1789(core.List<core.String> o) { | 8836 checkUnnamed363(core.List<core.String> o) { |
| 8835 unittest.expect(o, unittest.hasLength(2)); | 8837 unittest.expect(o, unittest.hasLength(2)); |
| 8836 unittest.expect(o[0], unittest.equals('foo')); | 8838 unittest.expect(o[0], unittest.equals('foo')); |
| 8837 unittest.expect(o[1], unittest.equals('foo')); | 8839 unittest.expect(o[1], unittest.equals('foo')); |
| 8838 } | 8840 } |
| 8839 | 8841 |
| 8840 buildUnnamed1790() { | 8842 buildUnnamed364() { |
| 8841 var o = new core.List<core.String>(); | 8843 var o = new core.List<core.String>(); |
| 8842 o.add("foo"); | 8844 o.add("foo"); |
| 8843 o.add("foo"); | 8845 o.add("foo"); |
| 8844 return o; | 8846 return o; |
| 8845 } | 8847 } |
| 8846 | 8848 |
| 8847 checkUnnamed1790(core.List<core.String> o) { | 8849 checkUnnamed364(core.List<core.String> o) { |
| 8848 unittest.expect(o, unittest.hasLength(2)); | 8850 unittest.expect(o, unittest.hasLength(2)); |
| 8849 unittest.expect(o[0], unittest.equals('foo')); | 8851 unittest.expect(o[0], unittest.equals('foo')); |
| 8850 unittest.expect(o[1], unittest.equals('foo')); | 8852 unittest.expect(o[1], unittest.equals('foo')); |
| 8851 } | 8853 } |
| 8852 | 8854 |
| 8853 buildUnnamed1791() { | 8855 buildUnnamed365() { |
| 8854 var o = new core.List<core.String>(); | 8856 var o = new core.List<core.String>(); |
| 8855 o.add("foo"); | 8857 o.add("foo"); |
| 8856 o.add("foo"); | 8858 o.add("foo"); |
| 8857 return o; | 8859 return o; |
| 8858 } | 8860 } |
| 8859 | 8861 |
| 8860 checkUnnamed1791(core.List<core.String> o) { | 8862 checkUnnamed365(core.List<core.String> o) { |
| 8861 unittest.expect(o, unittest.hasLength(2)); | 8863 unittest.expect(o, unittest.hasLength(2)); |
| 8862 unittest.expect(o[0], unittest.equals('foo')); | 8864 unittest.expect(o[0], unittest.equals('foo')); |
| 8863 unittest.expect(o[1], unittest.equals('foo')); | 8865 unittest.expect(o[1], unittest.equals('foo')); |
| 8864 } | 8866 } |
| 8865 | 8867 |
| 8866 buildUnnamed1792() { | 8868 buildUnnamed366() { |
| 8867 var o = new core.List<core.String>(); | 8869 var o = new core.List<core.String>(); |
| 8868 o.add("foo"); | 8870 o.add("foo"); |
| 8869 o.add("foo"); | 8871 o.add("foo"); |
| 8870 return o; | 8872 return o; |
| 8871 } | 8873 } |
| 8872 | 8874 |
| 8873 checkUnnamed1792(core.List<core.String> o) { | 8875 checkUnnamed366(core.List<core.String> o) { |
| 8874 unittest.expect(o, unittest.hasLength(2)); | 8876 unittest.expect(o, unittest.hasLength(2)); |
| 8875 unittest.expect(o[0], unittest.equals('foo')); | 8877 unittest.expect(o[0], unittest.equals('foo')); |
| 8876 unittest.expect(o[1], unittest.equals('foo')); | 8878 unittest.expect(o[1], unittest.equals('foo')); |
| 8877 } | 8879 } |
| 8878 | 8880 |
| 8879 buildUnnamed1793() { | 8881 buildUnnamed367() { |
| 8880 var o = new core.List<core.String>(); | 8882 var o = new core.List<core.String>(); |
| 8881 o.add("foo"); | 8883 o.add("foo"); |
| 8882 o.add("foo"); | 8884 o.add("foo"); |
| 8883 return o; | 8885 return o; |
| 8884 } | 8886 } |
| 8885 | 8887 |
| 8886 checkUnnamed1793(core.List<core.String> o) { | 8888 checkUnnamed367(core.List<core.String> o) { |
| 8887 unittest.expect(o, unittest.hasLength(2)); | 8889 unittest.expect(o, unittest.hasLength(2)); |
| 8888 unittest.expect(o[0], unittest.equals('foo')); | 8890 unittest.expect(o[0], unittest.equals('foo')); |
| 8889 unittest.expect(o[1], unittest.equals('foo')); | 8891 unittest.expect(o[1], unittest.equals('foo')); |
| 8890 } | 8892 } |
| 8891 | 8893 |
| 8892 buildUnnamed1794() { | 8894 buildUnnamed368() { |
| 8893 var o = new core.List<core.String>(); | 8895 var o = new core.List<core.String>(); |
| 8894 o.add("foo"); | 8896 o.add("foo"); |
| 8895 o.add("foo"); | 8897 o.add("foo"); |
| 8896 return o; | 8898 return o; |
| 8897 } | 8899 } |
| 8898 | 8900 |
| 8899 checkUnnamed1794(core.List<core.String> o) { | 8901 checkUnnamed368(core.List<core.String> o) { |
| 8900 unittest.expect(o, unittest.hasLength(2)); | 8902 unittest.expect(o, unittest.hasLength(2)); |
| 8901 unittest.expect(o[0], unittest.equals('foo')); | 8903 unittest.expect(o[0], unittest.equals('foo')); |
| 8902 unittest.expect(o[1], unittest.equals('foo')); | 8904 unittest.expect(o[1], unittest.equals('foo')); |
| 8903 } | 8905 } |
| 8904 | 8906 |
| 8905 buildUnnamed1795() { | 8907 buildUnnamed369() { |
| 8906 var o = new core.List<core.String>(); | 8908 var o = new core.List<core.String>(); |
| 8907 o.add("foo"); | 8909 o.add("foo"); |
| 8908 o.add("foo"); | 8910 o.add("foo"); |
| 8909 return o; | 8911 return o; |
| 8910 } | 8912 } |
| 8911 | 8913 |
| 8912 checkUnnamed1795(core.List<core.String> o) { | 8914 checkUnnamed369(core.List<core.String> o) { |
| 8913 unittest.expect(o, unittest.hasLength(2)); | 8915 unittest.expect(o, unittest.hasLength(2)); |
| 8914 unittest.expect(o[0], unittest.equals('foo')); | 8916 unittest.expect(o[0], unittest.equals('foo')); |
| 8915 unittest.expect(o[1], unittest.equals('foo')); | 8917 unittest.expect(o[1], unittest.equals('foo')); |
| 8916 } | 8918 } |
| 8917 | 8919 |
| 8918 buildUnnamed1796() { | 8920 buildUnnamed370() { |
| 8919 var o = new core.List<core.String>(); | 8921 var o = new core.List<core.String>(); |
| 8920 o.add("foo"); | 8922 o.add("foo"); |
| 8921 o.add("foo"); | 8923 o.add("foo"); |
| 8922 return o; | 8924 return o; |
| 8923 } | 8925 } |
| 8924 | 8926 |
| 8925 checkUnnamed1796(core.List<core.String> o) { | 8927 checkUnnamed370(core.List<core.String> o) { |
| 8926 unittest.expect(o, unittest.hasLength(2)); | 8928 unittest.expect(o, unittest.hasLength(2)); |
| 8927 unittest.expect(o[0], unittest.equals('foo')); | 8929 unittest.expect(o[0], unittest.equals('foo')); |
| 8928 unittest.expect(o[1], unittest.equals('foo')); | 8930 unittest.expect(o[1], unittest.equals('foo')); |
| 8929 } | 8931 } |
| 8930 | 8932 |
| 8931 buildUnnamed1797() { | 8933 buildUnnamed371() { |
| 8932 var o = new core.List<core.String>(); | 8934 var o = new core.List<core.String>(); |
| 8933 o.add("foo"); | 8935 o.add("foo"); |
| 8934 o.add("foo"); | 8936 o.add("foo"); |
| 8935 return o; | 8937 return o; |
| 8936 } | 8938 } |
| 8937 | 8939 |
| 8938 checkUnnamed1797(core.List<core.String> o) { | 8940 checkUnnamed371(core.List<core.String> o) { |
| 8939 unittest.expect(o, unittest.hasLength(2)); | 8941 unittest.expect(o, unittest.hasLength(2)); |
| 8940 unittest.expect(o[0], unittest.equals('foo')); | 8942 unittest.expect(o[0], unittest.equals('foo')); |
| 8941 unittest.expect(o[1], unittest.equals('foo')); | 8943 unittest.expect(o[1], unittest.equals('foo')); |
| 8942 } | 8944 } |
| 8943 | 8945 |
| 8944 buildUnnamed1798() { | 8946 buildUnnamed372() { |
| 8945 var o = new core.List<core.String>(); | 8947 var o = new core.List<core.String>(); |
| 8946 o.add("foo"); | 8948 o.add("foo"); |
| 8947 o.add("foo"); | 8949 o.add("foo"); |
| 8948 return o; | 8950 return o; |
| 8949 } | 8951 } |
| 8950 | 8952 |
| 8951 checkUnnamed1798(core.List<core.String> o) { | 8953 checkUnnamed372(core.List<core.String> o) { |
| 8952 unittest.expect(o, unittest.hasLength(2)); | 8954 unittest.expect(o, unittest.hasLength(2)); |
| 8953 unittest.expect(o[0], unittest.equals('foo')); | 8955 unittest.expect(o[0], unittest.equals('foo')); |
| 8954 unittest.expect(o[1], unittest.equals('foo')); | 8956 unittest.expect(o[1], unittest.equals('foo')); |
| 8955 } | 8957 } |
| 8956 | 8958 |
| 8957 buildUnnamed1799() { | 8959 buildUnnamed373() { |
| 8958 var o = new core.List<core.String>(); | 8960 var o = new core.List<core.String>(); |
| 8959 o.add("foo"); | 8961 o.add("foo"); |
| 8960 o.add("foo"); | 8962 o.add("foo"); |
| 8961 return o; | 8963 return o; |
| 8962 } | 8964 } |
| 8963 | 8965 |
| 8964 checkUnnamed1799(core.List<core.String> o) { | 8966 checkUnnamed373(core.List<core.String> o) { |
| 8965 unittest.expect(o, unittest.hasLength(2)); | 8967 unittest.expect(o, unittest.hasLength(2)); |
| 8966 unittest.expect(o[0], unittest.equals('foo')); | 8968 unittest.expect(o[0], unittest.equals('foo')); |
| 8967 unittest.expect(o[1], unittest.equals('foo')); | 8969 unittest.expect(o[1], unittest.equals('foo')); |
| 8968 } | 8970 } |
| 8969 | 8971 |
| 8970 buildUnnamed1800() { | 8972 buildUnnamed374() { |
| 8971 var o = new core.List<core.String>(); | 8973 var o = new core.List<core.String>(); |
| 8972 o.add("foo"); | 8974 o.add("foo"); |
| 8973 o.add("foo"); | 8975 o.add("foo"); |
| 8974 return o; | 8976 return o; |
| 8975 } | 8977 } |
| 8976 | 8978 |
| 8977 checkUnnamed1800(core.List<core.String> o) { | 8979 checkUnnamed374(core.List<core.String> o) { |
| 8978 unittest.expect(o, unittest.hasLength(2)); | 8980 unittest.expect(o, unittest.hasLength(2)); |
| 8979 unittest.expect(o[0], unittest.equals('foo')); | 8981 unittest.expect(o[0], unittest.equals('foo')); |
| 8980 unittest.expect(o[1], unittest.equals('foo')); | 8982 unittest.expect(o[1], unittest.equals('foo')); |
| 8981 } | 8983 } |
| 8982 | 8984 |
| 8983 buildUnnamed1801() { | 8985 buildUnnamed375() { |
| 8984 var o = new core.List<core.String>(); | 8986 var o = new core.List<core.String>(); |
| 8985 o.add("foo"); | 8987 o.add("foo"); |
| 8986 o.add("foo"); | 8988 o.add("foo"); |
| 8987 return o; | 8989 return o; |
| 8988 } | 8990 } |
| 8989 | 8991 |
| 8990 checkUnnamed1801(core.List<core.String> o) { | 8992 checkUnnamed375(core.List<core.String> o) { |
| 8991 unittest.expect(o, unittest.hasLength(2)); | 8993 unittest.expect(o, unittest.hasLength(2)); |
| 8992 unittest.expect(o[0], unittest.equals('foo')); | 8994 unittest.expect(o[0], unittest.equals('foo')); |
| 8993 unittest.expect(o[1], unittest.equals('foo')); | 8995 unittest.expect(o[1], unittest.equals('foo')); |
| 8994 } | 8996 } |
| 8995 | 8997 |
| 8996 buildUnnamed1802() { | 8998 buildUnnamed376() { |
| 8997 var o = new core.List<core.String>(); | 8999 var o = new core.List<core.String>(); |
| 8998 o.add("foo"); | 9000 o.add("foo"); |
| 8999 o.add("foo"); | 9001 o.add("foo"); |
| 9000 return o; | 9002 return o; |
| 9001 } | 9003 } |
| 9002 | 9004 |
| 9003 checkUnnamed1802(core.List<core.String> o) { | 9005 checkUnnamed376(core.List<core.String> o) { |
| 9004 unittest.expect(o, unittest.hasLength(2)); | 9006 unittest.expect(o, unittest.hasLength(2)); |
| 9005 unittest.expect(o[0], unittest.equals('foo')); | 9007 unittest.expect(o[0], unittest.equals('foo')); |
| 9006 unittest.expect(o[1], unittest.equals('foo')); | 9008 unittest.expect(o[1], unittest.equals('foo')); |
| 9007 } | 9009 } |
| 9008 | 9010 |
| 9009 buildUnnamed1803() { | 9011 buildUnnamed377() { |
| 9010 var o = new core.List<core.String>(); | 9012 var o = new core.List<core.String>(); |
| 9011 o.add("foo"); | 9013 o.add("foo"); |
| 9012 o.add("foo"); | 9014 o.add("foo"); |
| 9013 return o; | 9015 return o; |
| 9014 } | 9016 } |
| 9015 | 9017 |
| 9016 checkUnnamed1803(core.List<core.String> o) { | 9018 checkUnnamed377(core.List<core.String> o) { |
| 9017 unittest.expect(o, unittest.hasLength(2)); | 9019 unittest.expect(o, unittest.hasLength(2)); |
| 9018 unittest.expect(o[0], unittest.equals('foo')); | 9020 unittest.expect(o[0], unittest.equals('foo')); |
| 9019 unittest.expect(o[1], unittest.equals('foo')); | 9021 unittest.expect(o[1], unittest.equals('foo')); |
| 9020 } | 9022 } |
| 9021 | 9023 |
| 9022 buildUnnamed1804() { | 9024 buildUnnamed378() { |
| 9023 var o = new core.List<core.String>(); | 9025 var o = new core.List<core.String>(); |
| 9024 o.add("foo"); | 9026 o.add("foo"); |
| 9025 o.add("foo"); | 9027 o.add("foo"); |
| 9026 return o; | 9028 return o; |
| 9027 } | 9029 } |
| 9028 | 9030 |
| 9029 checkUnnamed1804(core.List<core.String> o) { | 9031 checkUnnamed378(core.List<core.String> o) { |
| 9030 unittest.expect(o, unittest.hasLength(2)); | 9032 unittest.expect(o, unittest.hasLength(2)); |
| 9031 unittest.expect(o[0], unittest.equals('foo')); | 9033 unittest.expect(o[0], unittest.equals('foo')); |
| 9032 unittest.expect(o[1], unittest.equals('foo')); | 9034 unittest.expect(o[1], unittest.equals('foo')); |
| 9033 } | 9035 } |
| 9034 | 9036 |
| 9035 buildUnnamed1805() { | 9037 buildUnnamed379() { |
| 9036 var o = new core.List<core.String>(); | 9038 var o = new core.List<core.String>(); |
| 9037 o.add("foo"); | 9039 o.add("foo"); |
| 9038 o.add("foo"); | 9040 o.add("foo"); |
| 9039 return o; | 9041 return o; |
| 9040 } | 9042 } |
| 9041 | 9043 |
| 9042 checkUnnamed1805(core.List<core.String> o) { | 9044 checkUnnamed379(core.List<core.String> o) { |
| 9043 unittest.expect(o, unittest.hasLength(2)); | 9045 unittest.expect(o, unittest.hasLength(2)); |
| 9044 unittest.expect(o[0], unittest.equals('foo')); | 9046 unittest.expect(o[0], unittest.equals('foo')); |
| 9045 unittest.expect(o[1], unittest.equals('foo')); | 9047 unittest.expect(o[1], unittest.equals('foo')); |
| 9046 } | 9048 } |
| 9047 | 9049 |
| 9048 buildUnnamed1806() { | 9050 buildUnnamed380() { |
| 9049 var o = new core.List<core.String>(); | 9051 var o = new core.List<core.String>(); |
| 9050 o.add("foo"); | 9052 o.add("foo"); |
| 9051 o.add("foo"); | 9053 o.add("foo"); |
| 9052 return o; | 9054 return o; |
| 9053 } | 9055 } |
| 9054 | 9056 |
| 9055 checkUnnamed1806(core.List<core.String> o) { | 9057 checkUnnamed380(core.List<core.String> o) { |
| 9056 unittest.expect(o, unittest.hasLength(2)); | 9058 unittest.expect(o, unittest.hasLength(2)); |
| 9057 unittest.expect(o[0], unittest.equals('foo')); | 9059 unittest.expect(o[0], unittest.equals('foo')); |
| 9058 unittest.expect(o[1], unittest.equals('foo')); | 9060 unittest.expect(o[1], unittest.equals('foo')); |
| 9059 } | 9061 } |
| 9060 | 9062 |
| 9061 buildUnnamed1807() { | 9063 buildUnnamed381() { |
| 9062 var o = new core.List<core.String>(); | 9064 var o = new core.List<core.String>(); |
| 9063 o.add("foo"); | 9065 o.add("foo"); |
| 9064 o.add("foo"); | 9066 o.add("foo"); |
| 9065 return o; | 9067 return o; |
| 9066 } | 9068 } |
| 9067 | 9069 |
| 9068 checkUnnamed1807(core.List<core.String> o) { | 9070 checkUnnamed381(core.List<core.String> o) { |
| 9069 unittest.expect(o, unittest.hasLength(2)); | 9071 unittest.expect(o, unittest.hasLength(2)); |
| 9070 unittest.expect(o[0], unittest.equals('foo')); | 9072 unittest.expect(o[0], unittest.equals('foo')); |
| 9071 unittest.expect(o[1], unittest.equals('foo')); | 9073 unittest.expect(o[1], unittest.equals('foo')); |
| 9072 } | 9074 } |
| 9073 | 9075 |
| 9074 buildUnnamed1808() { | 9076 buildUnnamed382() { |
| 9075 var o = new core.List<core.String>(); | 9077 var o = new core.List<core.String>(); |
| 9076 o.add("foo"); | 9078 o.add("foo"); |
| 9077 o.add("foo"); | 9079 o.add("foo"); |
| 9078 return o; | 9080 return o; |
| 9079 } | 9081 } |
| 9080 | 9082 |
| 9081 checkUnnamed1808(core.List<core.String> o) { | 9083 checkUnnamed382(core.List<core.String> o) { |
| 9082 unittest.expect(o, unittest.hasLength(2)); | 9084 unittest.expect(o, unittest.hasLength(2)); |
| 9083 unittest.expect(o[0], unittest.equals('foo')); | 9085 unittest.expect(o[0], unittest.equals('foo')); |
| 9084 unittest.expect(o[1], unittest.equals('foo')); | 9086 unittest.expect(o[1], unittest.equals('foo')); |
| 9085 } | 9087 } |
| 9086 | 9088 |
| 9087 buildUnnamed1809() { | 9089 buildUnnamed383() { |
| 9088 var o = new core.List<core.String>(); | 9090 var o = new core.List<core.String>(); |
| 9089 o.add("foo"); | 9091 o.add("foo"); |
| 9090 o.add("foo"); | 9092 o.add("foo"); |
| 9091 return o; | 9093 return o; |
| 9092 } | 9094 } |
| 9093 | 9095 |
| 9094 checkUnnamed1809(core.List<core.String> o) { | 9096 checkUnnamed383(core.List<core.String> o) { |
| 9095 unittest.expect(o, unittest.hasLength(2)); | 9097 unittest.expect(o, unittest.hasLength(2)); |
| 9096 unittest.expect(o[0], unittest.equals('foo')); | 9098 unittest.expect(o[0], unittest.equals('foo')); |
| 9097 unittest.expect(o[1], unittest.equals('foo')); | 9099 unittest.expect(o[1], unittest.equals('foo')); |
| 9098 } | 9100 } |
| 9099 | 9101 |
| 9100 buildUnnamed1810() { | 9102 buildUnnamed384() { |
| 9101 var o = new core.List<core.String>(); | 9103 var o = new core.List<core.String>(); |
| 9102 o.add("foo"); | 9104 o.add("foo"); |
| 9103 o.add("foo"); | 9105 o.add("foo"); |
| 9104 return o; | 9106 return o; |
| 9105 } | 9107 } |
| 9106 | 9108 |
| 9107 checkUnnamed1810(core.List<core.String> o) { | 9109 checkUnnamed384(core.List<core.String> o) { |
| 9108 unittest.expect(o, unittest.hasLength(2)); | 9110 unittest.expect(o, unittest.hasLength(2)); |
| 9109 unittest.expect(o[0], unittest.equals('foo')); | 9111 unittest.expect(o[0], unittest.equals('foo')); |
| 9110 unittest.expect(o[1], unittest.equals('foo')); | 9112 unittest.expect(o[1], unittest.equals('foo')); |
| 9111 } | 9113 } |
| 9112 | 9114 |
| 9113 | 9115 |
| 9114 main() { | 9116 main() { |
| 9115 unittest.group("obj-schema-Account", () { | 9117 unittest.group("obj-schema-Account", () { |
| 9116 unittest.test("to-json--from-json", () { | 9118 unittest.test("to-json--from-json", () { |
| 9117 var o = buildAccount(); | 9119 var o = buildAccount(); |
| 9118 var od = new api.Account.fromJson(o.toJson()); | 9120 var od = new api.Account.fromJson(o.toJson()); |
| 9119 checkAccount(od); | 9121 checkAccount(od); |
| 9120 }); | 9122 }); |
| (...skipping 1735 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 10856 api.AccountActiveAdSummariesResourceApi res = new api.DfareportingApi(mock
).accountActiveAdSummaries; | 10858 api.AccountActiveAdSummariesResourceApi res = new api.DfareportingApi(mock
).accountActiveAdSummaries; |
| 10857 var arg_profileId = "foo"; | 10859 var arg_profileId = "foo"; |
| 10858 var arg_summaryAccountId = "foo"; | 10860 var arg_summaryAccountId = "foo"; |
| 10859 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 10861 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 10860 var path = (req.url).path; | 10862 var path = (req.url).path; |
| 10861 var pathOffset = 0; | 10863 var pathOffset = 0; |
| 10862 var index; | 10864 var index; |
| 10863 var subPart; | 10865 var subPart; |
| 10864 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 10866 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 10865 pathOffset += 1; | 10867 pathOffset += 1; |
| 10866 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 10868 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 10867 pathOffset += 18; | 10869 pathOffset += 18; |
| 10868 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 10870 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 10869 pathOffset += 13; | 10871 pathOffset += 13; |
| 10870 index = path.indexOf("/accountActiveAdSummaries/", pathOffset); | 10872 index = path.indexOf("/accountActiveAdSummaries/", pathOffset); |
| 10871 unittest.expect(index >= 0, unittest.isTrue); | 10873 unittest.expect(index >= 0, unittest.isTrue); |
| 10872 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 10874 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 10873 pathOffset = index; | 10875 pathOffset = index; |
| 10874 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 10876 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 10875 unittest.expect(path.substring(pathOffset, pathOffset + 26), unittest.eq
uals("/accountActiveAdSummaries/")); | 10877 unittest.expect(path.substring(pathOffset, pathOffset + 26), unittest.eq
uals("/accountActiveAdSummaries/")); |
| 10876 pathOffset += 26; | 10878 pathOffset += 26; |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 10917 api.AccountPermissionGroupsResourceApi res = new api.DfareportingApi(mock)
.accountPermissionGroups; | 10919 api.AccountPermissionGroupsResourceApi res = new api.DfareportingApi(mock)
.accountPermissionGroups; |
| 10918 var arg_profileId = "foo"; | 10920 var arg_profileId = "foo"; |
| 10919 var arg_id = "foo"; | 10921 var arg_id = "foo"; |
| 10920 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 10922 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 10921 var path = (req.url).path; | 10923 var path = (req.url).path; |
| 10922 var pathOffset = 0; | 10924 var pathOffset = 0; |
| 10923 var index; | 10925 var index; |
| 10924 var subPart; | 10926 var subPart; |
| 10925 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 10927 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 10926 pathOffset += 1; | 10928 pathOffset += 1; |
| 10927 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 10929 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 10928 pathOffset += 18; | 10930 pathOffset += 18; |
| 10929 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 10931 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 10930 pathOffset += 13; | 10932 pathOffset += 13; |
| 10931 index = path.indexOf("/accountPermissionGroups/", pathOffset); | 10933 index = path.indexOf("/accountPermissionGroups/", pathOffset); |
| 10932 unittest.expect(index >= 0, unittest.isTrue); | 10934 unittest.expect(index >= 0, unittest.isTrue); |
| 10933 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 10935 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 10934 pathOffset = index; | 10936 pathOffset = index; |
| 10935 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 10937 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 10936 unittest.expect(path.substring(pathOffset, pathOffset + 25), unittest.eq
uals("/accountPermissionGroups/")); | 10938 unittest.expect(path.substring(pathOffset, pathOffset + 25), unittest.eq
uals("/accountPermissionGroups/")); |
| 10937 pathOffset += 25; | 10939 pathOffset += 25; |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 10973 var mock = new HttpServerMock(); | 10975 var mock = new HttpServerMock(); |
| 10974 api.AccountPermissionGroupsResourceApi res = new api.DfareportingApi(mock)
.accountPermissionGroups; | 10976 api.AccountPermissionGroupsResourceApi res = new api.DfareportingApi(mock)
.accountPermissionGroups; |
| 10975 var arg_profileId = "foo"; | 10977 var arg_profileId = "foo"; |
| 10976 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 10978 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 10977 var path = (req.url).path; | 10979 var path = (req.url).path; |
| 10978 var pathOffset = 0; | 10980 var pathOffset = 0; |
| 10979 var index; | 10981 var index; |
| 10980 var subPart; | 10982 var subPart; |
| 10981 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 10983 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 10982 pathOffset += 1; | 10984 pathOffset += 1; |
| 10983 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 10985 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 10984 pathOffset += 18; | 10986 pathOffset += 18; |
| 10985 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 10987 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 10986 pathOffset += 13; | 10988 pathOffset += 13; |
| 10987 index = path.indexOf("/accountPermissionGroups", pathOffset); | 10989 index = path.indexOf("/accountPermissionGroups", pathOffset); |
| 10988 unittest.expect(index >= 0, unittest.isTrue); | 10990 unittest.expect(index >= 0, unittest.isTrue); |
| 10989 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 10991 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 10990 pathOffset = index; | 10992 pathOffset = index; |
| 10991 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 10993 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 10992 unittest.expect(path.substring(pathOffset, pathOffset + 24), unittest.eq
uals("/accountPermissionGroups")); | 10994 unittest.expect(path.substring(pathOffset, pathOffset + 24), unittest.eq
uals("/accountPermissionGroups")); |
| 10993 pathOffset += 24; | 10995 pathOffset += 24; |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 11031 api.AccountPermissionsResourceApi res = new api.DfareportingApi(mock).acco
untPermissions; | 11033 api.AccountPermissionsResourceApi res = new api.DfareportingApi(mock).acco
untPermissions; |
| 11032 var arg_profileId = "foo"; | 11034 var arg_profileId = "foo"; |
| 11033 var arg_id = "foo"; | 11035 var arg_id = "foo"; |
| 11034 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 11036 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 11035 var path = (req.url).path; | 11037 var path = (req.url).path; |
| 11036 var pathOffset = 0; | 11038 var pathOffset = 0; |
| 11037 var index; | 11039 var index; |
| 11038 var subPart; | 11040 var subPart; |
| 11039 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 11041 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 11040 pathOffset += 1; | 11042 pathOffset += 1; |
| 11041 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 11043 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 11042 pathOffset += 18; | 11044 pathOffset += 18; |
| 11043 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 11045 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 11044 pathOffset += 13; | 11046 pathOffset += 13; |
| 11045 index = path.indexOf("/accountPermissions/", pathOffset); | 11047 index = path.indexOf("/accountPermissions/", pathOffset); |
| 11046 unittest.expect(index >= 0, unittest.isTrue); | 11048 unittest.expect(index >= 0, unittest.isTrue); |
| 11047 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 11049 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 11048 pathOffset = index; | 11050 pathOffset = index; |
| 11049 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 11051 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 11050 unittest.expect(path.substring(pathOffset, pathOffset + 20), unittest.eq
uals("/accountPermissions/")); | 11052 unittest.expect(path.substring(pathOffset, pathOffset + 20), unittest.eq
uals("/accountPermissions/")); |
| 11051 pathOffset += 20; | 11053 pathOffset += 20; |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 11087 var mock = new HttpServerMock(); | 11089 var mock = new HttpServerMock(); |
| 11088 api.AccountPermissionsResourceApi res = new api.DfareportingApi(mock).acco
untPermissions; | 11090 api.AccountPermissionsResourceApi res = new api.DfareportingApi(mock).acco
untPermissions; |
| 11089 var arg_profileId = "foo"; | 11091 var arg_profileId = "foo"; |
| 11090 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 11092 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 11091 var path = (req.url).path; | 11093 var path = (req.url).path; |
| 11092 var pathOffset = 0; | 11094 var pathOffset = 0; |
| 11093 var index; | 11095 var index; |
| 11094 var subPart; | 11096 var subPart; |
| 11095 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 11097 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 11096 pathOffset += 1; | 11098 pathOffset += 1; |
| 11097 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 11099 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 11098 pathOffset += 18; | 11100 pathOffset += 18; |
| 11099 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 11101 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 11100 pathOffset += 13; | 11102 pathOffset += 13; |
| 11101 index = path.indexOf("/accountPermissions", pathOffset); | 11103 index = path.indexOf("/accountPermissions", pathOffset); |
| 11102 unittest.expect(index >= 0, unittest.isTrue); | 11104 unittest.expect(index >= 0, unittest.isTrue); |
| 11103 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 11105 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 11104 pathOffset = index; | 11106 pathOffset = index; |
| 11105 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 11107 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 11106 unittest.expect(path.substring(pathOffset, pathOffset + 19), unittest.eq
uals("/accountPermissions")); | 11108 unittest.expect(path.substring(pathOffset, pathOffset + 19), unittest.eq
uals("/accountPermissions")); |
| 11107 pathOffset += 19; | 11109 pathOffset += 19; |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 11145 api.AccountUserProfilesResourceApi res = new api.DfareportingApi(mock).acc
ountUserProfiles; | 11147 api.AccountUserProfilesResourceApi res = new api.DfareportingApi(mock).acc
ountUserProfiles; |
| 11146 var arg_profileId = "foo"; | 11148 var arg_profileId = "foo"; |
| 11147 var arg_id = "foo"; | 11149 var arg_id = "foo"; |
| 11148 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 11150 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 11149 var path = (req.url).path; | 11151 var path = (req.url).path; |
| 11150 var pathOffset = 0; | 11152 var pathOffset = 0; |
| 11151 var index; | 11153 var index; |
| 11152 var subPart; | 11154 var subPart; |
| 11153 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 11155 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 11154 pathOffset += 1; | 11156 pathOffset += 1; |
| 11155 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 11157 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 11156 pathOffset += 18; | 11158 pathOffset += 18; |
| 11157 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 11159 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 11158 pathOffset += 13; | 11160 pathOffset += 13; |
| 11159 index = path.indexOf("/accountUserProfiles/", pathOffset); | 11161 index = path.indexOf("/accountUserProfiles/", pathOffset); |
| 11160 unittest.expect(index >= 0, unittest.isTrue); | 11162 unittest.expect(index >= 0, unittest.isTrue); |
| 11161 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 11163 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 11162 pathOffset = index; | 11164 pathOffset = index; |
| 11163 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 11165 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 11164 unittest.expect(path.substring(pathOffset, pathOffset + 21), unittest.eq
uals("/accountUserProfiles/")); | 11166 unittest.expect(path.substring(pathOffset, pathOffset + 21), unittest.eq
uals("/accountUserProfiles/")); |
| 11165 pathOffset += 21; | 11167 pathOffset += 21; |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 11205 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 11207 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 11206 var obj = new api.AccountUserProfile.fromJson(json); | 11208 var obj = new api.AccountUserProfile.fromJson(json); |
| 11207 checkAccountUserProfile(obj); | 11209 checkAccountUserProfile(obj); |
| 11208 | 11210 |
| 11209 var path = (req.url).path; | 11211 var path = (req.url).path; |
| 11210 var pathOffset = 0; | 11212 var pathOffset = 0; |
| 11211 var index; | 11213 var index; |
| 11212 var subPart; | 11214 var subPart; |
| 11213 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 11215 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 11214 pathOffset += 1; | 11216 pathOffset += 1; |
| 11215 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 11217 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 11216 pathOffset += 18; | 11218 pathOffset += 18; |
| 11217 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 11219 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 11218 pathOffset += 13; | 11220 pathOffset += 13; |
| 11219 index = path.indexOf("/accountUserProfiles", pathOffset); | 11221 index = path.indexOf("/accountUserProfiles", pathOffset); |
| 11220 unittest.expect(index >= 0, unittest.isTrue); | 11222 unittest.expect(index >= 0, unittest.isTrue); |
| 11221 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 11223 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 11222 pathOffset = index; | 11224 pathOffset = index; |
| 11223 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 11225 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 11224 unittest.expect(path.substring(pathOffset, pathOffset + 20), unittest.eq
uals("/accountUserProfiles")); | 11226 unittest.expect(path.substring(pathOffset, pathOffset + 20), unittest.eq
uals("/accountUserProfiles")); |
| 11225 pathOffset += 20; | 11227 pathOffset += 20; |
| (...skipping 26 matching lines...) Expand all Loading... |
| 11252 checkAccountUserProfile(response); | 11254 checkAccountUserProfile(response); |
| 11253 }))); | 11255 }))); |
| 11254 }); | 11256 }); |
| 11255 | 11257 |
| 11256 unittest.test("method--list", () { | 11258 unittest.test("method--list", () { |
| 11257 | 11259 |
| 11258 var mock = new HttpServerMock(); | 11260 var mock = new HttpServerMock(); |
| 11259 api.AccountUserProfilesResourceApi res = new api.DfareportingApi(mock).acc
ountUserProfiles; | 11261 api.AccountUserProfilesResourceApi res = new api.DfareportingApi(mock).acc
ountUserProfiles; |
| 11260 var arg_profileId = "foo"; | 11262 var arg_profileId = "foo"; |
| 11261 var arg_active = true; | 11263 var arg_active = true; |
| 11262 var arg_ids = buildUnnamed1725(); | 11264 var arg_ids = buildUnnamed299(); |
| 11263 var arg_maxResults = 42; | 11265 var arg_maxResults = 42; |
| 11264 var arg_pageToken = "foo"; | 11266 var arg_pageToken = "foo"; |
| 11265 var arg_searchString = "foo"; | 11267 var arg_searchString = "foo"; |
| 11266 var arg_sortField = "foo"; | 11268 var arg_sortField = "foo"; |
| 11267 var arg_sortOrder = "foo"; | 11269 var arg_sortOrder = "foo"; |
| 11268 var arg_subaccountId = "foo"; | 11270 var arg_subaccountId = "foo"; |
| 11269 var arg_userRoleId = "foo"; | 11271 var arg_userRoleId = "foo"; |
| 11270 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 11272 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 11271 var path = (req.url).path; | 11273 var path = (req.url).path; |
| 11272 var pathOffset = 0; | 11274 var pathOffset = 0; |
| 11273 var index; | 11275 var index; |
| 11274 var subPart; | 11276 var subPart; |
| 11275 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 11277 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 11276 pathOffset += 1; | 11278 pathOffset += 1; |
| 11277 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 11279 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 11278 pathOffset += 18; | 11280 pathOffset += 18; |
| 11279 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 11281 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 11280 pathOffset += 13; | 11282 pathOffset += 13; |
| 11281 index = path.indexOf("/accountUserProfiles", pathOffset); | 11283 index = path.indexOf("/accountUserProfiles", pathOffset); |
| 11282 unittest.expect(index >= 0, unittest.isTrue); | 11284 unittest.expect(index >= 0, unittest.isTrue); |
| 11283 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 11285 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 11284 pathOffset = index; | 11286 pathOffset = index; |
| 11285 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 11287 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 11286 unittest.expect(path.substring(pathOffset, pathOffset + 20), unittest.eq
uals("/accountUserProfiles")); | 11288 unittest.expect(path.substring(pathOffset, pathOffset + 20), unittest.eq
uals("/accountUserProfiles")); |
| 11287 pathOffset += 20; | 11289 pathOffset += 20; |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 11334 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 11336 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 11335 var obj = new api.AccountUserProfile.fromJson(json); | 11337 var obj = new api.AccountUserProfile.fromJson(json); |
| 11336 checkAccountUserProfile(obj); | 11338 checkAccountUserProfile(obj); |
| 11337 | 11339 |
| 11338 var path = (req.url).path; | 11340 var path = (req.url).path; |
| 11339 var pathOffset = 0; | 11341 var pathOffset = 0; |
| 11340 var index; | 11342 var index; |
| 11341 var subPart; | 11343 var subPart; |
| 11342 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 11344 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 11343 pathOffset += 1; | 11345 pathOffset += 1; |
| 11344 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 11346 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 11345 pathOffset += 18; | 11347 pathOffset += 18; |
| 11346 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 11348 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 11347 pathOffset += 13; | 11349 pathOffset += 13; |
| 11348 index = path.indexOf("/accountUserProfiles", pathOffset); | 11350 index = path.indexOf("/accountUserProfiles", pathOffset); |
| 11349 unittest.expect(index >= 0, unittest.isTrue); | 11351 unittest.expect(index >= 0, unittest.isTrue); |
| 11350 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 11352 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 11351 pathOffset = index; | 11353 pathOffset = index; |
| 11352 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 11354 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 11353 unittest.expect(path.substring(pathOffset, pathOffset + 20), unittest.eq
uals("/accountUserProfiles")); | 11355 unittest.expect(path.substring(pathOffset, pathOffset + 20), unittest.eq
uals("/accountUserProfiles")); |
| 11354 pathOffset += 20; | 11356 pathOffset += 20; |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 11392 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 11394 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 11393 var obj = new api.AccountUserProfile.fromJson(json); | 11395 var obj = new api.AccountUserProfile.fromJson(json); |
| 11394 checkAccountUserProfile(obj); | 11396 checkAccountUserProfile(obj); |
| 11395 | 11397 |
| 11396 var path = (req.url).path; | 11398 var path = (req.url).path; |
| 11397 var pathOffset = 0; | 11399 var pathOffset = 0; |
| 11398 var index; | 11400 var index; |
| 11399 var subPart; | 11401 var subPart; |
| 11400 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 11402 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 11401 pathOffset += 1; | 11403 pathOffset += 1; |
| 11402 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 11404 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 11403 pathOffset += 18; | 11405 pathOffset += 18; |
| 11404 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 11406 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 11405 pathOffset += 13; | 11407 pathOffset += 13; |
| 11406 index = path.indexOf("/accountUserProfiles", pathOffset); | 11408 index = path.indexOf("/accountUserProfiles", pathOffset); |
| 11407 unittest.expect(index >= 0, unittest.isTrue); | 11409 unittest.expect(index >= 0, unittest.isTrue); |
| 11408 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 11410 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 11409 pathOffset = index; | 11411 pathOffset = index; |
| 11410 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 11412 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 11411 unittest.expect(path.substring(pathOffset, pathOffset + 20), unittest.eq
uals("/accountUserProfiles")); | 11413 unittest.expect(path.substring(pathOffset, pathOffset + 20), unittest.eq
uals("/accountUserProfiles")); |
| 11412 pathOffset += 20; | 11414 pathOffset += 20; |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 11450 api.AccountsResourceApi res = new api.DfareportingApi(mock).accounts; | 11452 api.AccountsResourceApi res = new api.DfareportingApi(mock).accounts; |
| 11451 var arg_profileId = "foo"; | 11453 var arg_profileId = "foo"; |
| 11452 var arg_id = "foo"; | 11454 var arg_id = "foo"; |
| 11453 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 11455 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 11454 var path = (req.url).path; | 11456 var path = (req.url).path; |
| 11455 var pathOffset = 0; | 11457 var pathOffset = 0; |
| 11456 var index; | 11458 var index; |
| 11457 var subPart; | 11459 var subPart; |
| 11458 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 11460 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 11459 pathOffset += 1; | 11461 pathOffset += 1; |
| 11460 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 11462 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 11461 pathOffset += 18; | 11463 pathOffset += 18; |
| 11462 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 11464 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 11463 pathOffset += 13; | 11465 pathOffset += 13; |
| 11464 index = path.indexOf("/accounts/", pathOffset); | 11466 index = path.indexOf("/accounts/", pathOffset); |
| 11465 unittest.expect(index >= 0, unittest.isTrue); | 11467 unittest.expect(index >= 0, unittest.isTrue); |
| 11466 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 11468 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 11467 pathOffset = index; | 11469 pathOffset = index; |
| 11468 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 11470 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 11469 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("/accounts/")); | 11471 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("/accounts/")); |
| 11470 pathOffset += 10; | 11472 pathOffset += 10; |
| (...skipping 29 matching lines...) Expand all Loading... |
| 11500 checkAccount(response); | 11502 checkAccount(response); |
| 11501 }))); | 11503 }))); |
| 11502 }); | 11504 }); |
| 11503 | 11505 |
| 11504 unittest.test("method--list", () { | 11506 unittest.test("method--list", () { |
| 11505 | 11507 |
| 11506 var mock = new HttpServerMock(); | 11508 var mock = new HttpServerMock(); |
| 11507 api.AccountsResourceApi res = new api.DfareportingApi(mock).accounts; | 11509 api.AccountsResourceApi res = new api.DfareportingApi(mock).accounts; |
| 11508 var arg_profileId = "foo"; | 11510 var arg_profileId = "foo"; |
| 11509 var arg_active = true; | 11511 var arg_active = true; |
| 11510 var arg_ids = buildUnnamed1726(); | 11512 var arg_ids = buildUnnamed300(); |
| 11511 var arg_maxResults = 42; | 11513 var arg_maxResults = 42; |
| 11512 var arg_pageToken = "foo"; | 11514 var arg_pageToken = "foo"; |
| 11513 var arg_searchString = "foo"; | 11515 var arg_searchString = "foo"; |
| 11514 var arg_sortField = "foo"; | 11516 var arg_sortField = "foo"; |
| 11515 var arg_sortOrder = "foo"; | 11517 var arg_sortOrder = "foo"; |
| 11516 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 11518 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 11517 var path = (req.url).path; | 11519 var path = (req.url).path; |
| 11518 var pathOffset = 0; | 11520 var pathOffset = 0; |
| 11519 var index; | 11521 var index; |
| 11520 var subPart; | 11522 var subPart; |
| 11521 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 11523 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 11522 pathOffset += 1; | 11524 pathOffset += 1; |
| 11523 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 11525 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 11524 pathOffset += 18; | 11526 pathOffset += 18; |
| 11525 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 11527 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 11526 pathOffset += 13; | 11528 pathOffset += 13; |
| 11527 index = path.indexOf("/accounts", pathOffset); | 11529 index = path.indexOf("/accounts", pathOffset); |
| 11528 unittest.expect(index >= 0, unittest.isTrue); | 11530 unittest.expect(index >= 0, unittest.isTrue); |
| 11529 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 11531 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 11530 pathOffset = index; | 11532 pathOffset = index; |
| 11531 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 11533 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 11532 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ
als("/accounts")); | 11534 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ
als("/accounts")); |
| 11533 pathOffset += 9; | 11535 pathOffset += 9; |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 11578 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 11580 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 11579 var obj = new api.Account.fromJson(json); | 11581 var obj = new api.Account.fromJson(json); |
| 11580 checkAccount(obj); | 11582 checkAccount(obj); |
| 11581 | 11583 |
| 11582 var path = (req.url).path; | 11584 var path = (req.url).path; |
| 11583 var pathOffset = 0; | 11585 var pathOffset = 0; |
| 11584 var index; | 11586 var index; |
| 11585 var subPart; | 11587 var subPart; |
| 11586 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 11588 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 11587 pathOffset += 1; | 11589 pathOffset += 1; |
| 11588 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 11590 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 11589 pathOffset += 18; | 11591 pathOffset += 18; |
| 11590 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 11592 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 11591 pathOffset += 13; | 11593 pathOffset += 13; |
| 11592 index = path.indexOf("/accounts", pathOffset); | 11594 index = path.indexOf("/accounts", pathOffset); |
| 11593 unittest.expect(index >= 0, unittest.isTrue); | 11595 unittest.expect(index >= 0, unittest.isTrue); |
| 11594 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 11596 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 11595 pathOffset = index; | 11597 pathOffset = index; |
| 11596 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 11598 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 11597 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ
als("/accounts")); | 11599 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ
als("/accounts")); |
| 11598 pathOffset += 9; | 11600 pathOffset += 9; |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 11636 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 11638 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 11637 var obj = new api.Account.fromJson(json); | 11639 var obj = new api.Account.fromJson(json); |
| 11638 checkAccount(obj); | 11640 checkAccount(obj); |
| 11639 | 11641 |
| 11640 var path = (req.url).path; | 11642 var path = (req.url).path; |
| 11641 var pathOffset = 0; | 11643 var pathOffset = 0; |
| 11642 var index; | 11644 var index; |
| 11643 var subPart; | 11645 var subPart; |
| 11644 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 11646 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 11645 pathOffset += 1; | 11647 pathOffset += 1; |
| 11646 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 11648 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 11647 pathOffset += 18; | 11649 pathOffset += 18; |
| 11648 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 11650 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 11649 pathOffset += 13; | 11651 pathOffset += 13; |
| 11650 index = path.indexOf("/accounts", pathOffset); | 11652 index = path.indexOf("/accounts", pathOffset); |
| 11651 unittest.expect(index >= 0, unittest.isTrue); | 11653 unittest.expect(index >= 0, unittest.isTrue); |
| 11652 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 11654 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 11653 pathOffset = index; | 11655 pathOffset = index; |
| 11654 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 11656 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 11655 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ
als("/accounts")); | 11657 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ
als("/accounts")); |
| 11656 pathOffset += 9; | 11658 pathOffset += 9; |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 11694 api.AdsResourceApi res = new api.DfareportingApi(mock).ads; | 11696 api.AdsResourceApi res = new api.DfareportingApi(mock).ads; |
| 11695 var arg_profileId = "foo"; | 11697 var arg_profileId = "foo"; |
| 11696 var arg_id = "foo"; | 11698 var arg_id = "foo"; |
| 11697 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 11699 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 11698 var path = (req.url).path; | 11700 var path = (req.url).path; |
| 11699 var pathOffset = 0; | 11701 var pathOffset = 0; |
| 11700 var index; | 11702 var index; |
| 11701 var subPart; | 11703 var subPart; |
| 11702 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 11704 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 11703 pathOffset += 1; | 11705 pathOffset += 1; |
| 11704 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 11706 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 11705 pathOffset += 18; | 11707 pathOffset += 18; |
| 11706 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 11708 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 11707 pathOffset += 13; | 11709 pathOffset += 13; |
| 11708 index = path.indexOf("/ads/", pathOffset); | 11710 index = path.indexOf("/ads/", pathOffset); |
| 11709 unittest.expect(index >= 0, unittest.isTrue); | 11711 unittest.expect(index >= 0, unittest.isTrue); |
| 11710 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 11712 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 11711 pathOffset = index; | 11713 pathOffset = index; |
| 11712 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 11714 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 11713 unittest.expect(path.substring(pathOffset, pathOffset + 5), unittest.equ
als("/ads/")); | 11715 unittest.expect(path.substring(pathOffset, pathOffset + 5), unittest.equ
als("/ads/")); |
| 11714 pathOffset += 5; | 11716 pathOffset += 5; |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 11754 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 11756 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 11755 var obj = new api.Ad.fromJson(json); | 11757 var obj = new api.Ad.fromJson(json); |
| 11756 checkAd(obj); | 11758 checkAd(obj); |
| 11757 | 11759 |
| 11758 var path = (req.url).path; | 11760 var path = (req.url).path; |
| 11759 var pathOffset = 0; | 11761 var pathOffset = 0; |
| 11760 var index; | 11762 var index; |
| 11761 var subPart; | 11763 var subPart; |
| 11762 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 11764 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 11763 pathOffset += 1; | 11765 pathOffset += 1; |
| 11764 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 11766 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 11765 pathOffset += 18; | 11767 pathOffset += 18; |
| 11766 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 11768 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 11767 pathOffset += 13; | 11769 pathOffset += 13; |
| 11768 index = path.indexOf("/ads", pathOffset); | 11770 index = path.indexOf("/ads", pathOffset); |
| 11769 unittest.expect(index >= 0, unittest.isTrue); | 11771 unittest.expect(index >= 0, unittest.isTrue); |
| 11770 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 11772 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 11771 pathOffset = index; | 11773 pathOffset = index; |
| 11772 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 11774 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 11773 unittest.expect(path.substring(pathOffset, pathOffset + 4), unittest.equ
als("/ads")); | 11775 unittest.expect(path.substring(pathOffset, pathOffset + 4), unittest.equ
als("/ads")); |
| 11774 pathOffset += 4; | 11776 pathOffset += 4; |
| (...skipping 28 matching lines...) Expand all Loading... |
| 11803 }); | 11805 }); |
| 11804 | 11806 |
| 11805 unittest.test("method--list", () { | 11807 unittest.test("method--list", () { |
| 11806 | 11808 |
| 11807 var mock = new HttpServerMock(); | 11809 var mock = new HttpServerMock(); |
| 11808 api.AdsResourceApi res = new api.DfareportingApi(mock).ads; | 11810 api.AdsResourceApi res = new api.DfareportingApi(mock).ads; |
| 11809 var arg_profileId = "foo"; | 11811 var arg_profileId = "foo"; |
| 11810 var arg_active = true; | 11812 var arg_active = true; |
| 11811 var arg_advertiserId = "foo"; | 11813 var arg_advertiserId = "foo"; |
| 11812 var arg_archived = true; | 11814 var arg_archived = true; |
| 11813 var arg_audienceSegmentIds = buildUnnamed1727(); | 11815 var arg_audienceSegmentIds = buildUnnamed301(); |
| 11814 var arg_campaignIds = buildUnnamed1728(); | 11816 var arg_campaignIds = buildUnnamed302(); |
| 11815 var arg_compatibility = "foo"; | 11817 var arg_compatibility = "foo"; |
| 11816 var arg_creativeIds = buildUnnamed1729(); | 11818 var arg_creativeIds = buildUnnamed303(); |
| 11817 var arg_creativeOptimizationConfigurationIds = buildUnnamed1730(); | 11819 var arg_creativeOptimizationConfigurationIds = buildUnnamed304(); |
| 11818 var arg_creativeType = "foo"; | 11820 var arg_creativeType = "foo"; |
| 11819 var arg_dynamicClickTracker = true; | 11821 var arg_dynamicClickTracker = true; |
| 11820 var arg_ids = buildUnnamed1731(); | 11822 var arg_ids = buildUnnamed305(); |
| 11821 var arg_landingPageIds = buildUnnamed1732(); | 11823 var arg_landingPageIds = buildUnnamed306(); |
| 11822 var arg_maxResults = 42; | 11824 var arg_maxResults = 42; |
| 11823 var arg_overriddenEventTagId = "foo"; | 11825 var arg_overriddenEventTagId = "foo"; |
| 11824 var arg_pageToken = "foo"; | 11826 var arg_pageToken = "foo"; |
| 11825 var arg_placementIds = buildUnnamed1733(); | 11827 var arg_placementIds = buildUnnamed307(); |
| 11826 var arg_remarketingListIds = buildUnnamed1734(); | 11828 var arg_remarketingListIds = buildUnnamed308(); |
| 11827 var arg_searchString = "foo"; | 11829 var arg_searchString = "foo"; |
| 11828 var arg_sizeIds = buildUnnamed1735(); | 11830 var arg_sizeIds = buildUnnamed309(); |
| 11829 var arg_sortField = "foo"; | 11831 var arg_sortField = "foo"; |
| 11830 var arg_sortOrder = "foo"; | 11832 var arg_sortOrder = "foo"; |
| 11831 var arg_sslCompliant = true; | 11833 var arg_sslCompliant = true; |
| 11832 var arg_sslRequired = true; | 11834 var arg_sslRequired = true; |
| 11833 var arg_type = buildUnnamed1736(); | 11835 var arg_type = buildUnnamed310(); |
| 11834 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 11836 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 11835 var path = (req.url).path; | 11837 var path = (req.url).path; |
| 11836 var pathOffset = 0; | 11838 var pathOffset = 0; |
| 11837 var index; | 11839 var index; |
| 11838 var subPart; | 11840 var subPart; |
| 11839 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 11841 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 11840 pathOffset += 1; | 11842 pathOffset += 1; |
| 11841 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 11843 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 11842 pathOffset += 18; | 11844 pathOffset += 18; |
| 11843 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 11845 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 11844 pathOffset += 13; | 11846 pathOffset += 13; |
| 11845 index = path.indexOf("/ads", pathOffset); | 11847 index = path.indexOf("/ads", pathOffset); |
| 11846 unittest.expect(index >= 0, unittest.isTrue); | 11848 unittest.expect(index >= 0, unittest.isTrue); |
| 11847 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 11849 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 11848 pathOffset = index; | 11850 pathOffset = index; |
| 11849 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 11851 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 11850 unittest.expect(path.substring(pathOffset, pathOffset + 4), unittest.equ
als("/ads")); | 11852 unittest.expect(path.substring(pathOffset, pathOffset + 4), unittest.equ
als("/ads")); |
| 11851 pathOffset += 4; | 11853 pathOffset += 4; |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 11913 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 11915 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 11914 var obj = new api.Ad.fromJson(json); | 11916 var obj = new api.Ad.fromJson(json); |
| 11915 checkAd(obj); | 11917 checkAd(obj); |
| 11916 | 11918 |
| 11917 var path = (req.url).path; | 11919 var path = (req.url).path; |
| 11918 var pathOffset = 0; | 11920 var pathOffset = 0; |
| 11919 var index; | 11921 var index; |
| 11920 var subPart; | 11922 var subPart; |
| 11921 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 11923 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 11922 pathOffset += 1; | 11924 pathOffset += 1; |
| 11923 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 11925 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 11924 pathOffset += 18; | 11926 pathOffset += 18; |
| 11925 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 11927 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 11926 pathOffset += 13; | 11928 pathOffset += 13; |
| 11927 index = path.indexOf("/ads", pathOffset); | 11929 index = path.indexOf("/ads", pathOffset); |
| 11928 unittest.expect(index >= 0, unittest.isTrue); | 11930 unittest.expect(index >= 0, unittest.isTrue); |
| 11929 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 11931 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 11930 pathOffset = index; | 11932 pathOffset = index; |
| 11931 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 11933 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 11932 unittest.expect(path.substring(pathOffset, pathOffset + 4), unittest.equ
als("/ads")); | 11934 unittest.expect(path.substring(pathOffset, pathOffset + 4), unittest.equ
als("/ads")); |
| 11933 pathOffset += 4; | 11935 pathOffset += 4; |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 11971 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 11973 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 11972 var obj = new api.Ad.fromJson(json); | 11974 var obj = new api.Ad.fromJson(json); |
| 11973 checkAd(obj); | 11975 checkAd(obj); |
| 11974 | 11976 |
| 11975 var path = (req.url).path; | 11977 var path = (req.url).path; |
| 11976 var pathOffset = 0; | 11978 var pathOffset = 0; |
| 11977 var index; | 11979 var index; |
| 11978 var subPart; | 11980 var subPart; |
| 11979 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 11981 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 11980 pathOffset += 1; | 11982 pathOffset += 1; |
| 11981 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 11983 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 11982 pathOffset += 18; | 11984 pathOffset += 18; |
| 11983 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 11985 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 11984 pathOffset += 13; | 11986 pathOffset += 13; |
| 11985 index = path.indexOf("/ads", pathOffset); | 11987 index = path.indexOf("/ads", pathOffset); |
| 11986 unittest.expect(index >= 0, unittest.isTrue); | 11988 unittest.expect(index >= 0, unittest.isTrue); |
| 11987 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 11989 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 11988 pathOffset = index; | 11990 pathOffset = index; |
| 11989 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 11991 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 11990 unittest.expect(path.substring(pathOffset, pathOffset + 4), unittest.equ
als("/ads")); | 11992 unittest.expect(path.substring(pathOffset, pathOffset + 4), unittest.equ
als("/ads")); |
| 11991 pathOffset += 4; | 11993 pathOffset += 4; |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 12029 api.AdvertiserGroupsResourceApi res = new api.DfareportingApi(mock).advert
iserGroups; | 12031 api.AdvertiserGroupsResourceApi res = new api.DfareportingApi(mock).advert
iserGroups; |
| 12030 var arg_profileId = "foo"; | 12032 var arg_profileId = "foo"; |
| 12031 var arg_id = "foo"; | 12033 var arg_id = "foo"; |
| 12032 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 12034 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 12033 var path = (req.url).path; | 12035 var path = (req.url).path; |
| 12034 var pathOffset = 0; | 12036 var pathOffset = 0; |
| 12035 var index; | 12037 var index; |
| 12036 var subPart; | 12038 var subPart; |
| 12037 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 12039 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 12038 pathOffset += 1; | 12040 pathOffset += 1; |
| 12039 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 12041 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 12040 pathOffset += 18; | 12042 pathOffset += 18; |
| 12041 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 12043 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 12042 pathOffset += 13; | 12044 pathOffset += 13; |
| 12043 index = path.indexOf("/advertiserGroups/", pathOffset); | 12045 index = path.indexOf("/advertiserGroups/", pathOffset); |
| 12044 unittest.expect(index >= 0, unittest.isTrue); | 12046 unittest.expect(index >= 0, unittest.isTrue); |
| 12045 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 12047 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 12046 pathOffset = index; | 12048 pathOffset = index; |
| 12047 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 12049 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 12048 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("/advertiserGroups/")); | 12050 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("/advertiserGroups/")); |
| 12049 pathOffset += 18; | 12051 pathOffset += 18; |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 12084 api.AdvertiserGroupsResourceApi res = new api.DfareportingApi(mock).advert
iserGroups; | 12086 api.AdvertiserGroupsResourceApi res = new api.DfareportingApi(mock).advert
iserGroups; |
| 12085 var arg_profileId = "foo"; | 12087 var arg_profileId = "foo"; |
| 12086 var arg_id = "foo"; | 12088 var arg_id = "foo"; |
| 12087 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 12089 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 12088 var path = (req.url).path; | 12090 var path = (req.url).path; |
| 12089 var pathOffset = 0; | 12091 var pathOffset = 0; |
| 12090 var index; | 12092 var index; |
| 12091 var subPart; | 12093 var subPart; |
| 12092 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 12094 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 12093 pathOffset += 1; | 12095 pathOffset += 1; |
| 12094 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 12096 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 12095 pathOffset += 18; | 12097 pathOffset += 18; |
| 12096 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 12098 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 12097 pathOffset += 13; | 12099 pathOffset += 13; |
| 12098 index = path.indexOf("/advertiserGroups/", pathOffset); | 12100 index = path.indexOf("/advertiserGroups/", pathOffset); |
| 12099 unittest.expect(index >= 0, unittest.isTrue); | 12101 unittest.expect(index >= 0, unittest.isTrue); |
| 12100 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 12102 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 12101 pathOffset = index; | 12103 pathOffset = index; |
| 12102 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 12104 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 12103 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("/advertiserGroups/")); | 12105 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("/advertiserGroups/")); |
| 12104 pathOffset += 18; | 12106 pathOffset += 18; |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 12144 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 12146 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 12145 var obj = new api.AdvertiserGroup.fromJson(json); | 12147 var obj = new api.AdvertiserGroup.fromJson(json); |
| 12146 checkAdvertiserGroup(obj); | 12148 checkAdvertiserGroup(obj); |
| 12147 | 12149 |
| 12148 var path = (req.url).path; | 12150 var path = (req.url).path; |
| 12149 var pathOffset = 0; | 12151 var pathOffset = 0; |
| 12150 var index; | 12152 var index; |
| 12151 var subPart; | 12153 var subPart; |
| 12152 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 12154 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 12153 pathOffset += 1; | 12155 pathOffset += 1; |
| 12154 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 12156 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 12155 pathOffset += 18; | 12157 pathOffset += 18; |
| 12156 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 12158 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 12157 pathOffset += 13; | 12159 pathOffset += 13; |
| 12158 index = path.indexOf("/advertiserGroups", pathOffset); | 12160 index = path.indexOf("/advertiserGroups", pathOffset); |
| 12159 unittest.expect(index >= 0, unittest.isTrue); | 12161 unittest.expect(index >= 0, unittest.isTrue); |
| 12160 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 12162 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 12161 pathOffset = index; | 12163 pathOffset = index; |
| 12162 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 12164 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 12163 unittest.expect(path.substring(pathOffset, pathOffset + 17), unittest.eq
uals("/advertiserGroups")); | 12165 unittest.expect(path.substring(pathOffset, pathOffset + 17), unittest.eq
uals("/advertiserGroups")); |
| 12164 pathOffset += 17; | 12166 pathOffset += 17; |
| (...skipping 25 matching lines...) Expand all Loading... |
| 12190 res.insert(arg_request, arg_profileId).then(unittest.expectAsync(((api.Adv
ertiserGroup response) { | 12192 res.insert(arg_request, arg_profileId).then(unittest.expectAsync(((api.Adv
ertiserGroup response) { |
| 12191 checkAdvertiserGroup(response); | 12193 checkAdvertiserGroup(response); |
| 12192 }))); | 12194 }))); |
| 12193 }); | 12195 }); |
| 12194 | 12196 |
| 12195 unittest.test("method--list", () { | 12197 unittest.test("method--list", () { |
| 12196 | 12198 |
| 12197 var mock = new HttpServerMock(); | 12199 var mock = new HttpServerMock(); |
| 12198 api.AdvertiserGroupsResourceApi res = new api.DfareportingApi(mock).advert
iserGroups; | 12200 api.AdvertiserGroupsResourceApi res = new api.DfareportingApi(mock).advert
iserGroups; |
| 12199 var arg_profileId = "foo"; | 12201 var arg_profileId = "foo"; |
| 12200 var arg_ids = buildUnnamed1737(); | 12202 var arg_ids = buildUnnamed311(); |
| 12201 var arg_maxResults = 42; | 12203 var arg_maxResults = 42; |
| 12202 var arg_pageToken = "foo"; | 12204 var arg_pageToken = "foo"; |
| 12203 var arg_searchString = "foo"; | 12205 var arg_searchString = "foo"; |
| 12204 var arg_sortField = "foo"; | 12206 var arg_sortField = "foo"; |
| 12205 var arg_sortOrder = "foo"; | 12207 var arg_sortOrder = "foo"; |
| 12206 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 12208 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 12207 var path = (req.url).path; | 12209 var path = (req.url).path; |
| 12208 var pathOffset = 0; | 12210 var pathOffset = 0; |
| 12209 var index; | 12211 var index; |
| 12210 var subPart; | 12212 var subPart; |
| 12211 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 12213 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 12212 pathOffset += 1; | 12214 pathOffset += 1; |
| 12213 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 12215 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 12214 pathOffset += 18; | 12216 pathOffset += 18; |
| 12215 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 12217 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 12216 pathOffset += 13; | 12218 pathOffset += 13; |
| 12217 index = path.indexOf("/advertiserGroups", pathOffset); | 12219 index = path.indexOf("/advertiserGroups", pathOffset); |
| 12218 unittest.expect(index >= 0, unittest.isTrue); | 12220 unittest.expect(index >= 0, unittest.isTrue); |
| 12219 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 12221 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 12220 pathOffset = index; | 12222 pathOffset = index; |
| 12221 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 12223 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 12222 unittest.expect(path.substring(pathOffset, pathOffset + 17), unittest.eq
uals("/advertiserGroups")); | 12224 unittest.expect(path.substring(pathOffset, pathOffset + 17), unittest.eq
uals("/advertiserGroups")); |
| 12223 pathOffset += 17; | 12225 pathOffset += 17; |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 12267 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 12269 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 12268 var obj = new api.AdvertiserGroup.fromJson(json); | 12270 var obj = new api.AdvertiserGroup.fromJson(json); |
| 12269 checkAdvertiserGroup(obj); | 12271 checkAdvertiserGroup(obj); |
| 12270 | 12272 |
| 12271 var path = (req.url).path; | 12273 var path = (req.url).path; |
| 12272 var pathOffset = 0; | 12274 var pathOffset = 0; |
| 12273 var index; | 12275 var index; |
| 12274 var subPart; | 12276 var subPart; |
| 12275 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 12277 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 12276 pathOffset += 1; | 12278 pathOffset += 1; |
| 12277 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 12279 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 12278 pathOffset += 18; | 12280 pathOffset += 18; |
| 12279 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 12281 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 12280 pathOffset += 13; | 12282 pathOffset += 13; |
| 12281 index = path.indexOf("/advertiserGroups", pathOffset); | 12283 index = path.indexOf("/advertiserGroups", pathOffset); |
| 12282 unittest.expect(index >= 0, unittest.isTrue); | 12284 unittest.expect(index >= 0, unittest.isTrue); |
| 12283 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 12285 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 12284 pathOffset = index; | 12286 pathOffset = index; |
| 12285 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 12287 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 12286 unittest.expect(path.substring(pathOffset, pathOffset + 17), unittest.eq
uals("/advertiserGroups")); | 12288 unittest.expect(path.substring(pathOffset, pathOffset + 17), unittest.eq
uals("/advertiserGroups")); |
| 12287 pathOffset += 17; | 12289 pathOffset += 17; |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 12325 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 12327 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 12326 var obj = new api.AdvertiserGroup.fromJson(json); | 12328 var obj = new api.AdvertiserGroup.fromJson(json); |
| 12327 checkAdvertiserGroup(obj); | 12329 checkAdvertiserGroup(obj); |
| 12328 | 12330 |
| 12329 var path = (req.url).path; | 12331 var path = (req.url).path; |
| 12330 var pathOffset = 0; | 12332 var pathOffset = 0; |
| 12331 var index; | 12333 var index; |
| 12332 var subPart; | 12334 var subPart; |
| 12333 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 12335 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 12334 pathOffset += 1; | 12336 pathOffset += 1; |
| 12335 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 12337 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 12336 pathOffset += 18; | 12338 pathOffset += 18; |
| 12337 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 12339 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 12338 pathOffset += 13; | 12340 pathOffset += 13; |
| 12339 index = path.indexOf("/advertiserGroups", pathOffset); | 12341 index = path.indexOf("/advertiserGroups", pathOffset); |
| 12340 unittest.expect(index >= 0, unittest.isTrue); | 12342 unittest.expect(index >= 0, unittest.isTrue); |
| 12341 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 12343 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 12342 pathOffset = index; | 12344 pathOffset = index; |
| 12343 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 12345 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 12344 unittest.expect(path.substring(pathOffset, pathOffset + 17), unittest.eq
uals("/advertiserGroups")); | 12346 unittest.expect(path.substring(pathOffset, pathOffset + 17), unittest.eq
uals("/advertiserGroups")); |
| 12345 pathOffset += 17; | 12347 pathOffset += 17; |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 12383 api.AdvertisersResourceApi res = new api.DfareportingApi(mock).advertisers
; | 12385 api.AdvertisersResourceApi res = new api.DfareportingApi(mock).advertisers
; |
| 12384 var arg_profileId = "foo"; | 12386 var arg_profileId = "foo"; |
| 12385 var arg_id = "foo"; | 12387 var arg_id = "foo"; |
| 12386 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 12388 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 12387 var path = (req.url).path; | 12389 var path = (req.url).path; |
| 12388 var pathOffset = 0; | 12390 var pathOffset = 0; |
| 12389 var index; | 12391 var index; |
| 12390 var subPart; | 12392 var subPart; |
| 12391 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 12393 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 12392 pathOffset += 1; | 12394 pathOffset += 1; |
| 12393 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 12395 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 12394 pathOffset += 18; | 12396 pathOffset += 18; |
| 12395 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 12397 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 12396 pathOffset += 13; | 12398 pathOffset += 13; |
| 12397 index = path.indexOf("/advertisers/", pathOffset); | 12399 index = path.indexOf("/advertisers/", pathOffset); |
| 12398 unittest.expect(index >= 0, unittest.isTrue); | 12400 unittest.expect(index >= 0, unittest.isTrue); |
| 12399 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 12401 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 12400 pathOffset = index; | 12402 pathOffset = index; |
| 12401 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 12403 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 12402 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("/advertisers/")); | 12404 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("/advertisers/")); |
| 12403 pathOffset += 13; | 12405 pathOffset += 13; |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 12443 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 12445 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 12444 var obj = new api.Advertiser.fromJson(json); | 12446 var obj = new api.Advertiser.fromJson(json); |
| 12445 checkAdvertiser(obj); | 12447 checkAdvertiser(obj); |
| 12446 | 12448 |
| 12447 var path = (req.url).path; | 12449 var path = (req.url).path; |
| 12448 var pathOffset = 0; | 12450 var pathOffset = 0; |
| 12449 var index; | 12451 var index; |
| 12450 var subPart; | 12452 var subPart; |
| 12451 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 12453 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 12452 pathOffset += 1; | 12454 pathOffset += 1; |
| 12453 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 12455 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 12454 pathOffset += 18; | 12456 pathOffset += 18; |
| 12455 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 12457 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 12456 pathOffset += 13; | 12458 pathOffset += 13; |
| 12457 index = path.indexOf("/advertisers", pathOffset); | 12459 index = path.indexOf("/advertisers", pathOffset); |
| 12458 unittest.expect(index >= 0, unittest.isTrue); | 12460 unittest.expect(index >= 0, unittest.isTrue); |
| 12459 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 12461 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 12460 pathOffset = index; | 12462 pathOffset = index; |
| 12461 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 12463 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 12462 unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.eq
uals("/advertisers")); | 12464 unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.eq
uals("/advertisers")); |
| 12463 pathOffset += 12; | 12465 pathOffset += 12; |
| (...skipping 25 matching lines...) Expand all Loading... |
| 12489 res.insert(arg_request, arg_profileId).then(unittest.expectAsync(((api.Adv
ertiser response) { | 12491 res.insert(arg_request, arg_profileId).then(unittest.expectAsync(((api.Adv
ertiser response) { |
| 12490 checkAdvertiser(response); | 12492 checkAdvertiser(response); |
| 12491 }))); | 12493 }))); |
| 12492 }); | 12494 }); |
| 12493 | 12495 |
| 12494 unittest.test("method--list", () { | 12496 unittest.test("method--list", () { |
| 12495 | 12497 |
| 12496 var mock = new HttpServerMock(); | 12498 var mock = new HttpServerMock(); |
| 12497 api.AdvertisersResourceApi res = new api.DfareportingApi(mock).advertisers
; | 12499 api.AdvertisersResourceApi res = new api.DfareportingApi(mock).advertisers
; |
| 12498 var arg_profileId = "foo"; | 12500 var arg_profileId = "foo"; |
| 12499 var arg_advertiserGroupIds = buildUnnamed1738(); | 12501 var arg_advertiserGroupIds = buildUnnamed312(); |
| 12500 var arg_floodlightConfigurationIds = buildUnnamed1739(); | 12502 var arg_floodlightConfigurationIds = buildUnnamed313(); |
| 12501 var arg_ids = buildUnnamed1740(); | 12503 var arg_ids = buildUnnamed314(); |
| 12502 var arg_includeAdvertisersWithoutGroupsOnly = true; | 12504 var arg_includeAdvertisersWithoutGroupsOnly = true; |
| 12503 var arg_maxResults = 42; | 12505 var arg_maxResults = 42; |
| 12504 var arg_onlyParent = true; | 12506 var arg_onlyParent = true; |
| 12505 var arg_pageToken = "foo"; | 12507 var arg_pageToken = "foo"; |
| 12506 var arg_searchString = "foo"; | 12508 var arg_searchString = "foo"; |
| 12507 var arg_sortField = "foo"; | 12509 var arg_sortField = "foo"; |
| 12508 var arg_sortOrder = "foo"; | 12510 var arg_sortOrder = "foo"; |
| 12509 var arg_status = "foo"; | 12511 var arg_status = "foo"; |
| 12510 var arg_subaccountId = "foo"; | 12512 var arg_subaccountId = "foo"; |
| 12511 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 12513 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 12512 var path = (req.url).path; | 12514 var path = (req.url).path; |
| 12513 var pathOffset = 0; | 12515 var pathOffset = 0; |
| 12514 var index; | 12516 var index; |
| 12515 var subPart; | 12517 var subPart; |
| 12516 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 12518 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 12517 pathOffset += 1; | 12519 pathOffset += 1; |
| 12518 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 12520 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 12519 pathOffset += 18; | 12521 pathOffset += 18; |
| 12520 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 12522 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 12521 pathOffset += 13; | 12523 pathOffset += 13; |
| 12522 index = path.indexOf("/advertisers", pathOffset); | 12524 index = path.indexOf("/advertisers", pathOffset); |
| 12523 unittest.expect(index >= 0, unittest.isTrue); | 12525 unittest.expect(index >= 0, unittest.isTrue); |
| 12524 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 12526 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 12525 pathOffset = index; | 12527 pathOffset = index; |
| 12526 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 12528 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 12527 unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.eq
uals("/advertisers")); | 12529 unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.eq
uals("/advertisers")); |
| 12528 pathOffset += 12; | 12530 pathOffset += 12; |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 12578 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 12580 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 12579 var obj = new api.Advertiser.fromJson(json); | 12581 var obj = new api.Advertiser.fromJson(json); |
| 12580 checkAdvertiser(obj); | 12582 checkAdvertiser(obj); |
| 12581 | 12583 |
| 12582 var path = (req.url).path; | 12584 var path = (req.url).path; |
| 12583 var pathOffset = 0; | 12585 var pathOffset = 0; |
| 12584 var index; | 12586 var index; |
| 12585 var subPart; | 12587 var subPart; |
| 12586 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 12588 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 12587 pathOffset += 1; | 12589 pathOffset += 1; |
| 12588 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 12590 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 12589 pathOffset += 18; | 12591 pathOffset += 18; |
| 12590 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 12592 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 12591 pathOffset += 13; | 12593 pathOffset += 13; |
| 12592 index = path.indexOf("/advertisers", pathOffset); | 12594 index = path.indexOf("/advertisers", pathOffset); |
| 12593 unittest.expect(index >= 0, unittest.isTrue); | 12595 unittest.expect(index >= 0, unittest.isTrue); |
| 12594 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 12596 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 12595 pathOffset = index; | 12597 pathOffset = index; |
| 12596 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 12598 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 12597 unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.eq
uals("/advertisers")); | 12599 unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.eq
uals("/advertisers")); |
| 12598 pathOffset += 12; | 12600 pathOffset += 12; |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 12636 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 12638 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 12637 var obj = new api.Advertiser.fromJson(json); | 12639 var obj = new api.Advertiser.fromJson(json); |
| 12638 checkAdvertiser(obj); | 12640 checkAdvertiser(obj); |
| 12639 | 12641 |
| 12640 var path = (req.url).path; | 12642 var path = (req.url).path; |
| 12641 var pathOffset = 0; | 12643 var pathOffset = 0; |
| 12642 var index; | 12644 var index; |
| 12643 var subPart; | 12645 var subPart; |
| 12644 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 12646 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 12645 pathOffset += 1; | 12647 pathOffset += 1; |
| 12646 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 12648 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 12647 pathOffset += 18; | 12649 pathOffset += 18; |
| 12648 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 12650 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 12649 pathOffset += 13; | 12651 pathOffset += 13; |
| 12650 index = path.indexOf("/advertisers", pathOffset); | 12652 index = path.indexOf("/advertisers", pathOffset); |
| 12651 unittest.expect(index >= 0, unittest.isTrue); | 12653 unittest.expect(index >= 0, unittest.isTrue); |
| 12652 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 12654 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 12653 pathOffset = index; | 12655 pathOffset = index; |
| 12654 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 12656 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 12655 unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.eq
uals("/advertisers")); | 12657 unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.eq
uals("/advertisers")); |
| 12656 pathOffset += 12; | 12658 pathOffset += 12; |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 12693 var mock = new HttpServerMock(); | 12695 var mock = new HttpServerMock(); |
| 12694 api.BrowsersResourceApi res = new api.DfareportingApi(mock).browsers; | 12696 api.BrowsersResourceApi res = new api.DfareportingApi(mock).browsers; |
| 12695 var arg_profileId = "foo"; | 12697 var arg_profileId = "foo"; |
| 12696 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 12698 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 12697 var path = (req.url).path; | 12699 var path = (req.url).path; |
| 12698 var pathOffset = 0; | 12700 var pathOffset = 0; |
| 12699 var index; | 12701 var index; |
| 12700 var subPart; | 12702 var subPart; |
| 12701 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 12703 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 12702 pathOffset += 1; | 12704 pathOffset += 1; |
| 12703 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 12705 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 12704 pathOffset += 18; | 12706 pathOffset += 18; |
| 12705 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 12707 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 12706 pathOffset += 13; | 12708 pathOffset += 13; |
| 12707 index = path.indexOf("/browsers", pathOffset); | 12709 index = path.indexOf("/browsers", pathOffset); |
| 12708 unittest.expect(index >= 0, unittest.isTrue); | 12710 unittest.expect(index >= 0, unittest.isTrue); |
| 12709 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 12711 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 12710 pathOffset = index; | 12712 pathOffset = index; |
| 12711 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 12713 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 12712 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ
als("/browsers")); | 12714 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ
als("/browsers")); |
| 12713 pathOffset += 9; | 12715 pathOffset += 9; |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 12755 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 12757 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 12756 var obj = new api.CampaignCreativeAssociation.fromJson(json); | 12758 var obj = new api.CampaignCreativeAssociation.fromJson(json); |
| 12757 checkCampaignCreativeAssociation(obj); | 12759 checkCampaignCreativeAssociation(obj); |
| 12758 | 12760 |
| 12759 var path = (req.url).path; | 12761 var path = (req.url).path; |
| 12760 var pathOffset = 0; | 12762 var pathOffset = 0; |
| 12761 var index; | 12763 var index; |
| 12762 var subPart; | 12764 var subPart; |
| 12763 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 12765 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 12764 pathOffset += 1; | 12766 pathOffset += 1; |
| 12765 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 12767 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 12766 pathOffset += 18; | 12768 pathOffset += 18; |
| 12767 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 12769 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 12768 pathOffset += 13; | 12770 pathOffset += 13; |
| 12769 index = path.indexOf("/campaigns/", pathOffset); | 12771 index = path.indexOf("/campaigns/", pathOffset); |
| 12770 unittest.expect(index >= 0, unittest.isTrue); | 12772 unittest.expect(index >= 0, unittest.isTrue); |
| 12771 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 12773 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 12772 pathOffset = index; | 12774 pathOffset = index; |
| 12773 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 12775 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 12774 unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.eq
uals("/campaigns/")); | 12776 unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.eq
uals("/campaigns/")); |
| 12775 pathOffset += 11; | 12777 pathOffset += 11; |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 12819 var arg_maxResults = 42; | 12821 var arg_maxResults = 42; |
| 12820 var arg_pageToken = "foo"; | 12822 var arg_pageToken = "foo"; |
| 12821 var arg_sortOrder = "foo"; | 12823 var arg_sortOrder = "foo"; |
| 12822 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 12824 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 12823 var path = (req.url).path; | 12825 var path = (req.url).path; |
| 12824 var pathOffset = 0; | 12826 var pathOffset = 0; |
| 12825 var index; | 12827 var index; |
| 12826 var subPart; | 12828 var subPart; |
| 12827 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 12829 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 12828 pathOffset += 1; | 12830 pathOffset += 1; |
| 12829 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 12831 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 12830 pathOffset += 18; | 12832 pathOffset += 18; |
| 12831 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 12833 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 12832 pathOffset += 13; | 12834 pathOffset += 13; |
| 12833 index = path.indexOf("/campaigns/", pathOffset); | 12835 index = path.indexOf("/campaigns/", pathOffset); |
| 12834 unittest.expect(index >= 0, unittest.isTrue); | 12836 unittest.expect(index >= 0, unittest.isTrue); |
| 12835 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 12837 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 12836 pathOffset = index; | 12838 pathOffset = index; |
| 12837 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 12839 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 12838 unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.eq
uals("/campaigns/")); | 12840 unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.eq
uals("/campaigns/")); |
| 12839 pathOffset += 11; | 12841 pathOffset += 11; |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 12887 api.CampaignsResourceApi res = new api.DfareportingApi(mock).campaigns; | 12889 api.CampaignsResourceApi res = new api.DfareportingApi(mock).campaigns; |
| 12888 var arg_profileId = "foo"; | 12890 var arg_profileId = "foo"; |
| 12889 var arg_id = "foo"; | 12891 var arg_id = "foo"; |
| 12890 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 12892 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 12891 var path = (req.url).path; | 12893 var path = (req.url).path; |
| 12892 var pathOffset = 0; | 12894 var pathOffset = 0; |
| 12893 var index; | 12895 var index; |
| 12894 var subPart; | 12896 var subPart; |
| 12895 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 12897 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 12896 pathOffset += 1; | 12898 pathOffset += 1; |
| 12897 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 12899 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 12898 pathOffset += 18; | 12900 pathOffset += 18; |
| 12899 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 12901 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 12900 pathOffset += 13; | 12902 pathOffset += 13; |
| 12901 index = path.indexOf("/campaigns/", pathOffset); | 12903 index = path.indexOf("/campaigns/", pathOffset); |
| 12902 unittest.expect(index >= 0, unittest.isTrue); | 12904 unittest.expect(index >= 0, unittest.isTrue); |
| 12903 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 12905 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 12904 pathOffset = index; | 12906 pathOffset = index; |
| 12905 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 12907 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 12906 unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.eq
uals("/campaigns/")); | 12908 unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.eq
uals("/campaigns/")); |
| 12907 pathOffset += 11; | 12909 pathOffset += 11; |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 12949 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 12951 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 12950 var obj = new api.Campaign.fromJson(json); | 12952 var obj = new api.Campaign.fromJson(json); |
| 12951 checkCampaign(obj); | 12953 checkCampaign(obj); |
| 12952 | 12954 |
| 12953 var path = (req.url).path; | 12955 var path = (req.url).path; |
| 12954 var pathOffset = 0; | 12956 var pathOffset = 0; |
| 12955 var index; | 12957 var index; |
| 12956 var subPart; | 12958 var subPart; |
| 12957 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 12959 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 12958 pathOffset += 1; | 12960 pathOffset += 1; |
| 12959 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 12961 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 12960 pathOffset += 18; | 12962 pathOffset += 18; |
| 12961 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 12963 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 12962 pathOffset += 13; | 12964 pathOffset += 13; |
| 12963 index = path.indexOf("/campaigns", pathOffset); | 12965 index = path.indexOf("/campaigns", pathOffset); |
| 12964 unittest.expect(index >= 0, unittest.isTrue); | 12966 unittest.expect(index >= 0, unittest.isTrue); |
| 12965 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 12967 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 12966 pathOffset = index; | 12968 pathOffset = index; |
| 12967 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 12969 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 12968 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("/campaigns")); | 12970 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("/campaigns")); |
| 12969 pathOffset += 10; | 12971 pathOffset += 10; |
| (...skipping 27 matching lines...) Expand all Loading... |
| 12997 res.insert(arg_request, arg_profileId, arg_defaultLandingPageName, arg_def
aultLandingPageUrl).then(unittest.expectAsync(((api.Campaign response) { | 12999 res.insert(arg_request, arg_profileId, arg_defaultLandingPageName, arg_def
aultLandingPageUrl).then(unittest.expectAsync(((api.Campaign response) { |
| 12998 checkCampaign(response); | 13000 checkCampaign(response); |
| 12999 }))); | 13001 }))); |
| 13000 }); | 13002 }); |
| 13001 | 13003 |
| 13002 unittest.test("method--list", () { | 13004 unittest.test("method--list", () { |
| 13003 | 13005 |
| 13004 var mock = new HttpServerMock(); | 13006 var mock = new HttpServerMock(); |
| 13005 api.CampaignsResourceApi res = new api.DfareportingApi(mock).campaigns; | 13007 api.CampaignsResourceApi res = new api.DfareportingApi(mock).campaigns; |
| 13006 var arg_profileId = "foo"; | 13008 var arg_profileId = "foo"; |
| 13007 var arg_advertiserGroupIds = buildUnnamed1741(); | 13009 var arg_advertiserGroupIds = buildUnnamed315(); |
| 13008 var arg_advertiserIds = buildUnnamed1742(); | 13010 var arg_advertiserIds = buildUnnamed316(); |
| 13009 var arg_archived = true; | 13011 var arg_archived = true; |
| 13010 var arg_atLeastOneOptimizationActivity = true; | 13012 var arg_atLeastOneOptimizationActivity = true; |
| 13011 var arg_excludedIds = buildUnnamed1743(); | 13013 var arg_excludedIds = buildUnnamed317(); |
| 13012 var arg_ids = buildUnnamed1744(); | 13014 var arg_ids = buildUnnamed318(); |
| 13013 var arg_maxResults = 42; | 13015 var arg_maxResults = 42; |
| 13014 var arg_overriddenEventTagId = "foo"; | 13016 var arg_overriddenEventTagId = "foo"; |
| 13015 var arg_pageToken = "foo"; | 13017 var arg_pageToken = "foo"; |
| 13016 var arg_searchString = "foo"; | 13018 var arg_searchString = "foo"; |
| 13017 var arg_sortField = "foo"; | 13019 var arg_sortField = "foo"; |
| 13018 var arg_sortOrder = "foo"; | 13020 var arg_sortOrder = "foo"; |
| 13019 var arg_subaccountId = "foo"; | 13021 var arg_subaccountId = "foo"; |
| 13020 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 13022 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 13021 var path = (req.url).path; | 13023 var path = (req.url).path; |
| 13022 var pathOffset = 0; | 13024 var pathOffset = 0; |
| 13023 var index; | 13025 var index; |
| 13024 var subPart; | 13026 var subPart; |
| 13025 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 13027 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 13026 pathOffset += 1; | 13028 pathOffset += 1; |
| 13027 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 13029 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 13028 pathOffset += 18; | 13030 pathOffset += 18; |
| 13029 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 13031 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 13030 pathOffset += 13; | 13032 pathOffset += 13; |
| 13031 index = path.indexOf("/campaigns", pathOffset); | 13033 index = path.indexOf("/campaigns", pathOffset); |
| 13032 unittest.expect(index >= 0, unittest.isTrue); | 13034 unittest.expect(index >= 0, unittest.isTrue); |
| 13033 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 13035 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 13034 pathOffset = index; | 13036 pathOffset = index; |
| 13035 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 13037 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 13036 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("/campaigns")); | 13038 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("/campaigns")); |
| 13037 pathOffset += 10; | 13039 pathOffset += 10; |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 13088 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 13090 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 13089 var obj = new api.Campaign.fromJson(json); | 13091 var obj = new api.Campaign.fromJson(json); |
| 13090 checkCampaign(obj); | 13092 checkCampaign(obj); |
| 13091 | 13093 |
| 13092 var path = (req.url).path; | 13094 var path = (req.url).path; |
| 13093 var pathOffset = 0; | 13095 var pathOffset = 0; |
| 13094 var index; | 13096 var index; |
| 13095 var subPart; | 13097 var subPart; |
| 13096 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 13098 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 13097 pathOffset += 1; | 13099 pathOffset += 1; |
| 13098 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 13100 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 13099 pathOffset += 18; | 13101 pathOffset += 18; |
| 13100 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 13102 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 13101 pathOffset += 13; | 13103 pathOffset += 13; |
| 13102 index = path.indexOf("/campaigns", pathOffset); | 13104 index = path.indexOf("/campaigns", pathOffset); |
| 13103 unittest.expect(index >= 0, unittest.isTrue); | 13105 unittest.expect(index >= 0, unittest.isTrue); |
| 13104 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 13106 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 13105 pathOffset = index; | 13107 pathOffset = index; |
| 13106 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 13108 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 13107 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("/campaigns")); | 13109 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("/campaigns")); |
| 13108 pathOffset += 10; | 13110 pathOffset += 10; |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 13146 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 13148 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 13147 var obj = new api.Campaign.fromJson(json); | 13149 var obj = new api.Campaign.fromJson(json); |
| 13148 checkCampaign(obj); | 13150 checkCampaign(obj); |
| 13149 | 13151 |
| 13150 var path = (req.url).path; | 13152 var path = (req.url).path; |
| 13151 var pathOffset = 0; | 13153 var pathOffset = 0; |
| 13152 var index; | 13154 var index; |
| 13153 var subPart; | 13155 var subPart; |
| 13154 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 13156 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 13155 pathOffset += 1; | 13157 pathOffset += 1; |
| 13156 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 13158 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 13157 pathOffset += 18; | 13159 pathOffset += 18; |
| 13158 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 13160 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 13159 pathOffset += 13; | 13161 pathOffset += 13; |
| 13160 index = path.indexOf("/campaigns", pathOffset); | 13162 index = path.indexOf("/campaigns", pathOffset); |
| 13161 unittest.expect(index >= 0, unittest.isTrue); | 13163 unittest.expect(index >= 0, unittest.isTrue); |
| 13162 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 13164 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 13163 pathOffset = index; | 13165 pathOffset = index; |
| 13164 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 13166 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 13165 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("/campaigns")); | 13167 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("/campaigns")); |
| 13166 pathOffset += 10; | 13168 pathOffset += 10; |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 13204 api.ChangeLogsResourceApi res = new api.DfareportingApi(mock).changeLogs; | 13206 api.ChangeLogsResourceApi res = new api.DfareportingApi(mock).changeLogs; |
| 13205 var arg_profileId = "foo"; | 13207 var arg_profileId = "foo"; |
| 13206 var arg_id = "foo"; | 13208 var arg_id = "foo"; |
| 13207 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 13209 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 13208 var path = (req.url).path; | 13210 var path = (req.url).path; |
| 13209 var pathOffset = 0; | 13211 var pathOffset = 0; |
| 13210 var index; | 13212 var index; |
| 13211 var subPart; | 13213 var subPart; |
| 13212 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 13214 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 13213 pathOffset += 1; | 13215 pathOffset += 1; |
| 13214 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 13216 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 13215 pathOffset += 18; | 13217 pathOffset += 18; |
| 13216 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 13218 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 13217 pathOffset += 13; | 13219 pathOffset += 13; |
| 13218 index = path.indexOf("/changeLogs/", pathOffset); | 13220 index = path.indexOf("/changeLogs/", pathOffset); |
| 13219 unittest.expect(index >= 0, unittest.isTrue); | 13221 unittest.expect(index >= 0, unittest.isTrue); |
| 13220 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 13222 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 13221 pathOffset = index; | 13223 pathOffset = index; |
| 13222 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 13224 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 13223 unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.eq
uals("/changeLogs/")); | 13225 unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.eq
uals("/changeLogs/")); |
| 13224 pathOffset += 12; | 13226 pathOffset += 12; |
| (...skipping 29 matching lines...) Expand all Loading... |
| 13254 checkChangeLog(response); | 13256 checkChangeLog(response); |
| 13255 }))); | 13257 }))); |
| 13256 }); | 13258 }); |
| 13257 | 13259 |
| 13258 unittest.test("method--list", () { | 13260 unittest.test("method--list", () { |
| 13259 | 13261 |
| 13260 var mock = new HttpServerMock(); | 13262 var mock = new HttpServerMock(); |
| 13261 api.ChangeLogsResourceApi res = new api.DfareportingApi(mock).changeLogs; | 13263 api.ChangeLogsResourceApi res = new api.DfareportingApi(mock).changeLogs; |
| 13262 var arg_profileId = "foo"; | 13264 var arg_profileId = "foo"; |
| 13263 var arg_action = "foo"; | 13265 var arg_action = "foo"; |
| 13264 var arg_ids = buildUnnamed1745(); | 13266 var arg_ids = buildUnnamed319(); |
| 13265 var arg_maxChangeTime = "foo"; | 13267 var arg_maxChangeTime = "foo"; |
| 13266 var arg_maxResults = 42; | 13268 var arg_maxResults = 42; |
| 13267 var arg_minChangeTime = "foo"; | 13269 var arg_minChangeTime = "foo"; |
| 13268 var arg_objectIds = buildUnnamed1746(); | 13270 var arg_objectIds = buildUnnamed320(); |
| 13269 var arg_objectType = "foo"; | 13271 var arg_objectType = "foo"; |
| 13270 var arg_pageToken = "foo"; | 13272 var arg_pageToken = "foo"; |
| 13271 var arg_searchString = "foo"; | 13273 var arg_searchString = "foo"; |
| 13272 var arg_userProfileIds = buildUnnamed1747(); | 13274 var arg_userProfileIds = buildUnnamed321(); |
| 13273 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 13275 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 13274 var path = (req.url).path; | 13276 var path = (req.url).path; |
| 13275 var pathOffset = 0; | 13277 var pathOffset = 0; |
| 13276 var index; | 13278 var index; |
| 13277 var subPart; | 13279 var subPart; |
| 13278 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 13280 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 13279 pathOffset += 1; | 13281 pathOffset += 1; |
| 13280 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 13282 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 13281 pathOffset += 18; | 13283 pathOffset += 18; |
| 13282 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 13284 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 13283 pathOffset += 13; | 13285 pathOffset += 13; |
| 13284 index = path.indexOf("/changeLogs", pathOffset); | 13286 index = path.indexOf("/changeLogs", pathOffset); |
| 13285 unittest.expect(index >= 0, unittest.isTrue); | 13287 unittest.expect(index >= 0, unittest.isTrue); |
| 13286 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 13288 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 13287 pathOffset = index; | 13289 pathOffset = index; |
| 13288 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 13290 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 13289 unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.eq
uals("/changeLogs")); | 13291 unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.eq
uals("/changeLogs")); |
| 13290 pathOffset += 11; | 13292 pathOffset += 11; |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 13330 | 13332 |
| 13331 }); | 13333 }); |
| 13332 | 13334 |
| 13333 | 13335 |
| 13334 unittest.group("resource-CitiesResourceApi", () { | 13336 unittest.group("resource-CitiesResourceApi", () { |
| 13335 unittest.test("method--list", () { | 13337 unittest.test("method--list", () { |
| 13336 | 13338 |
| 13337 var mock = new HttpServerMock(); | 13339 var mock = new HttpServerMock(); |
| 13338 api.CitiesResourceApi res = new api.DfareportingApi(mock).cities; | 13340 api.CitiesResourceApi res = new api.DfareportingApi(mock).cities; |
| 13339 var arg_profileId = "foo"; | 13341 var arg_profileId = "foo"; |
| 13340 var arg_countryDartIds = buildUnnamed1748(); | 13342 var arg_countryDartIds = buildUnnamed322(); |
| 13341 var arg_dartIds = buildUnnamed1749(); | 13343 var arg_dartIds = buildUnnamed323(); |
| 13342 var arg_namePrefix = "foo"; | 13344 var arg_namePrefix = "foo"; |
| 13343 var arg_regionDartIds = buildUnnamed1750(); | 13345 var arg_regionDartIds = buildUnnamed324(); |
| 13344 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 13346 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 13345 var path = (req.url).path; | 13347 var path = (req.url).path; |
| 13346 var pathOffset = 0; | 13348 var pathOffset = 0; |
| 13347 var index; | 13349 var index; |
| 13348 var subPart; | 13350 var subPart; |
| 13349 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 13351 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 13350 pathOffset += 1; | 13352 pathOffset += 1; |
| 13351 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 13353 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 13352 pathOffset += 18; | 13354 pathOffset += 18; |
| 13353 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 13355 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 13354 pathOffset += 13; | 13356 pathOffset += 13; |
| 13355 index = path.indexOf("/cities", pathOffset); | 13357 index = path.indexOf("/cities", pathOffset); |
| 13356 unittest.expect(index >= 0, unittest.isTrue); | 13358 unittest.expect(index >= 0, unittest.isTrue); |
| 13357 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 13359 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 13358 pathOffset = index; | 13360 pathOffset = index; |
| 13359 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 13361 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 13360 unittest.expect(path.substring(pathOffset, pathOffset + 7), unittest.equ
als("/cities")); | 13362 unittest.expect(path.substring(pathOffset, pathOffset + 7), unittest.equ
als("/cities")); |
| 13361 pathOffset += 7; | 13363 pathOffset += 7; |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 13403 api.ConnectionTypesResourceApi res = new api.DfareportingApi(mock).connect
ionTypes; | 13405 api.ConnectionTypesResourceApi res = new api.DfareportingApi(mock).connect
ionTypes; |
| 13404 var arg_profileId = "foo"; | 13406 var arg_profileId = "foo"; |
| 13405 var arg_id = "foo"; | 13407 var arg_id = "foo"; |
| 13406 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 13408 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 13407 var path = (req.url).path; | 13409 var path = (req.url).path; |
| 13408 var pathOffset = 0; | 13410 var pathOffset = 0; |
| 13409 var index; | 13411 var index; |
| 13410 var subPart; | 13412 var subPart; |
| 13411 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 13413 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 13412 pathOffset += 1; | 13414 pathOffset += 1; |
| 13413 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 13415 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 13414 pathOffset += 18; | 13416 pathOffset += 18; |
| 13415 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 13417 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 13416 pathOffset += 13; | 13418 pathOffset += 13; |
| 13417 index = path.indexOf("/connectionTypes/", pathOffset); | 13419 index = path.indexOf("/connectionTypes/", pathOffset); |
| 13418 unittest.expect(index >= 0, unittest.isTrue); | 13420 unittest.expect(index >= 0, unittest.isTrue); |
| 13419 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 13421 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 13420 pathOffset = index; | 13422 pathOffset = index; |
| 13421 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 13423 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 13422 unittest.expect(path.substring(pathOffset, pathOffset + 17), unittest.eq
uals("/connectionTypes/")); | 13424 unittest.expect(path.substring(pathOffset, pathOffset + 17), unittest.eq
uals("/connectionTypes/")); |
| 13423 pathOffset += 17; | 13425 pathOffset += 17; |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 13459 var mock = new HttpServerMock(); | 13461 var mock = new HttpServerMock(); |
| 13460 api.ConnectionTypesResourceApi res = new api.DfareportingApi(mock).connect
ionTypes; | 13462 api.ConnectionTypesResourceApi res = new api.DfareportingApi(mock).connect
ionTypes; |
| 13461 var arg_profileId = "foo"; | 13463 var arg_profileId = "foo"; |
| 13462 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 13464 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 13463 var path = (req.url).path; | 13465 var path = (req.url).path; |
| 13464 var pathOffset = 0; | 13466 var pathOffset = 0; |
| 13465 var index; | 13467 var index; |
| 13466 var subPart; | 13468 var subPart; |
| 13467 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 13469 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 13468 pathOffset += 1; | 13470 pathOffset += 1; |
| 13469 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 13471 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 13470 pathOffset += 18; | 13472 pathOffset += 18; |
| 13471 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 13473 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 13472 pathOffset += 13; | 13474 pathOffset += 13; |
| 13473 index = path.indexOf("/connectionTypes", pathOffset); | 13475 index = path.indexOf("/connectionTypes", pathOffset); |
| 13474 unittest.expect(index >= 0, unittest.isTrue); | 13476 unittest.expect(index >= 0, unittest.isTrue); |
| 13475 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 13477 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 13476 pathOffset = index; | 13478 pathOffset = index; |
| 13477 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 13479 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 13478 unittest.expect(path.substring(pathOffset, pathOffset + 16), unittest.eq
uals("/connectionTypes")); | 13480 unittest.expect(path.substring(pathOffset, pathOffset + 16), unittest.eq
uals("/connectionTypes")); |
| 13479 pathOffset += 16; | 13481 pathOffset += 16; |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 13517 api.ContentCategoriesResourceApi res = new api.DfareportingApi(mock).conte
ntCategories; | 13519 api.ContentCategoriesResourceApi res = new api.DfareportingApi(mock).conte
ntCategories; |
| 13518 var arg_profileId = "foo"; | 13520 var arg_profileId = "foo"; |
| 13519 var arg_id = "foo"; | 13521 var arg_id = "foo"; |
| 13520 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 13522 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 13521 var path = (req.url).path; | 13523 var path = (req.url).path; |
| 13522 var pathOffset = 0; | 13524 var pathOffset = 0; |
| 13523 var index; | 13525 var index; |
| 13524 var subPart; | 13526 var subPart; |
| 13525 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 13527 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 13526 pathOffset += 1; | 13528 pathOffset += 1; |
| 13527 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 13529 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 13528 pathOffset += 18; | 13530 pathOffset += 18; |
| 13529 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 13531 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 13530 pathOffset += 13; | 13532 pathOffset += 13; |
| 13531 index = path.indexOf("/contentCategories/", pathOffset); | 13533 index = path.indexOf("/contentCategories/", pathOffset); |
| 13532 unittest.expect(index >= 0, unittest.isTrue); | 13534 unittest.expect(index >= 0, unittest.isTrue); |
| 13533 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 13535 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 13534 pathOffset = index; | 13536 pathOffset = index; |
| 13535 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 13537 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 13536 unittest.expect(path.substring(pathOffset, pathOffset + 19), unittest.eq
uals("/contentCategories/")); | 13538 unittest.expect(path.substring(pathOffset, pathOffset + 19), unittest.eq
uals("/contentCategories/")); |
| 13537 pathOffset += 19; | 13539 pathOffset += 19; |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 13572 api.ContentCategoriesResourceApi res = new api.DfareportingApi(mock).conte
ntCategories; | 13574 api.ContentCategoriesResourceApi res = new api.DfareportingApi(mock).conte
ntCategories; |
| 13573 var arg_profileId = "foo"; | 13575 var arg_profileId = "foo"; |
| 13574 var arg_id = "foo"; | 13576 var arg_id = "foo"; |
| 13575 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 13577 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 13576 var path = (req.url).path; | 13578 var path = (req.url).path; |
| 13577 var pathOffset = 0; | 13579 var pathOffset = 0; |
| 13578 var index; | 13580 var index; |
| 13579 var subPart; | 13581 var subPart; |
| 13580 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 13582 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 13581 pathOffset += 1; | 13583 pathOffset += 1; |
| 13582 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 13584 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 13583 pathOffset += 18; | 13585 pathOffset += 18; |
| 13584 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 13586 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 13585 pathOffset += 13; | 13587 pathOffset += 13; |
| 13586 index = path.indexOf("/contentCategories/", pathOffset); | 13588 index = path.indexOf("/contentCategories/", pathOffset); |
| 13587 unittest.expect(index >= 0, unittest.isTrue); | 13589 unittest.expect(index >= 0, unittest.isTrue); |
| 13588 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 13590 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 13589 pathOffset = index; | 13591 pathOffset = index; |
| 13590 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 13592 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 13591 unittest.expect(path.substring(pathOffset, pathOffset + 19), unittest.eq
uals("/contentCategories/")); | 13593 unittest.expect(path.substring(pathOffset, pathOffset + 19), unittest.eq
uals("/contentCategories/")); |
| 13592 pathOffset += 19; | 13594 pathOffset += 19; |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 13632 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 13634 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 13633 var obj = new api.ContentCategory.fromJson(json); | 13635 var obj = new api.ContentCategory.fromJson(json); |
| 13634 checkContentCategory(obj); | 13636 checkContentCategory(obj); |
| 13635 | 13637 |
| 13636 var path = (req.url).path; | 13638 var path = (req.url).path; |
| 13637 var pathOffset = 0; | 13639 var pathOffset = 0; |
| 13638 var index; | 13640 var index; |
| 13639 var subPart; | 13641 var subPart; |
| 13640 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 13642 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 13641 pathOffset += 1; | 13643 pathOffset += 1; |
| 13642 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 13644 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 13643 pathOffset += 18; | 13645 pathOffset += 18; |
| 13644 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 13646 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 13645 pathOffset += 13; | 13647 pathOffset += 13; |
| 13646 index = path.indexOf("/contentCategories", pathOffset); | 13648 index = path.indexOf("/contentCategories", pathOffset); |
| 13647 unittest.expect(index >= 0, unittest.isTrue); | 13649 unittest.expect(index >= 0, unittest.isTrue); |
| 13648 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 13650 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 13649 pathOffset = index; | 13651 pathOffset = index; |
| 13650 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 13652 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 13651 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("/contentCategories")); | 13653 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("/contentCategories")); |
| 13652 pathOffset += 18; | 13654 pathOffset += 18; |
| (...skipping 25 matching lines...) Expand all Loading... |
| 13678 res.insert(arg_request, arg_profileId).then(unittest.expectAsync(((api.Con
tentCategory response) { | 13680 res.insert(arg_request, arg_profileId).then(unittest.expectAsync(((api.Con
tentCategory response) { |
| 13679 checkContentCategory(response); | 13681 checkContentCategory(response); |
| 13680 }))); | 13682 }))); |
| 13681 }); | 13683 }); |
| 13682 | 13684 |
| 13683 unittest.test("method--list", () { | 13685 unittest.test("method--list", () { |
| 13684 | 13686 |
| 13685 var mock = new HttpServerMock(); | 13687 var mock = new HttpServerMock(); |
| 13686 api.ContentCategoriesResourceApi res = new api.DfareportingApi(mock).conte
ntCategories; | 13688 api.ContentCategoriesResourceApi res = new api.DfareportingApi(mock).conte
ntCategories; |
| 13687 var arg_profileId = "foo"; | 13689 var arg_profileId = "foo"; |
| 13688 var arg_ids = buildUnnamed1751(); | 13690 var arg_ids = buildUnnamed325(); |
| 13689 var arg_maxResults = 42; | 13691 var arg_maxResults = 42; |
| 13690 var arg_pageToken = "foo"; | 13692 var arg_pageToken = "foo"; |
| 13691 var arg_searchString = "foo"; | 13693 var arg_searchString = "foo"; |
| 13692 var arg_sortField = "foo"; | 13694 var arg_sortField = "foo"; |
| 13693 var arg_sortOrder = "foo"; | 13695 var arg_sortOrder = "foo"; |
| 13694 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 13696 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 13695 var path = (req.url).path; | 13697 var path = (req.url).path; |
| 13696 var pathOffset = 0; | 13698 var pathOffset = 0; |
| 13697 var index; | 13699 var index; |
| 13698 var subPart; | 13700 var subPart; |
| 13699 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 13701 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 13700 pathOffset += 1; | 13702 pathOffset += 1; |
| 13701 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 13703 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 13702 pathOffset += 18; | 13704 pathOffset += 18; |
| 13703 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 13705 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 13704 pathOffset += 13; | 13706 pathOffset += 13; |
| 13705 index = path.indexOf("/contentCategories", pathOffset); | 13707 index = path.indexOf("/contentCategories", pathOffset); |
| 13706 unittest.expect(index >= 0, unittest.isTrue); | 13708 unittest.expect(index >= 0, unittest.isTrue); |
| 13707 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 13709 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 13708 pathOffset = index; | 13710 pathOffset = index; |
| 13709 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 13711 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 13710 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("/contentCategories")); | 13712 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("/contentCategories")); |
| 13711 pathOffset += 18; | 13713 pathOffset += 18; |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 13755 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 13757 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 13756 var obj = new api.ContentCategory.fromJson(json); | 13758 var obj = new api.ContentCategory.fromJson(json); |
| 13757 checkContentCategory(obj); | 13759 checkContentCategory(obj); |
| 13758 | 13760 |
| 13759 var path = (req.url).path; | 13761 var path = (req.url).path; |
| 13760 var pathOffset = 0; | 13762 var pathOffset = 0; |
| 13761 var index; | 13763 var index; |
| 13762 var subPart; | 13764 var subPart; |
| 13763 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 13765 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 13764 pathOffset += 1; | 13766 pathOffset += 1; |
| 13765 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 13767 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 13766 pathOffset += 18; | 13768 pathOffset += 18; |
| 13767 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 13769 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 13768 pathOffset += 13; | 13770 pathOffset += 13; |
| 13769 index = path.indexOf("/contentCategories", pathOffset); | 13771 index = path.indexOf("/contentCategories", pathOffset); |
| 13770 unittest.expect(index >= 0, unittest.isTrue); | 13772 unittest.expect(index >= 0, unittest.isTrue); |
| 13771 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 13773 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 13772 pathOffset = index; | 13774 pathOffset = index; |
| 13773 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 13775 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 13774 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("/contentCategories")); | 13776 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("/contentCategories")); |
| 13775 pathOffset += 18; | 13777 pathOffset += 18; |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 13813 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 13815 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 13814 var obj = new api.ContentCategory.fromJson(json); | 13816 var obj = new api.ContentCategory.fromJson(json); |
| 13815 checkContentCategory(obj); | 13817 checkContentCategory(obj); |
| 13816 | 13818 |
| 13817 var path = (req.url).path; | 13819 var path = (req.url).path; |
| 13818 var pathOffset = 0; | 13820 var pathOffset = 0; |
| 13819 var index; | 13821 var index; |
| 13820 var subPart; | 13822 var subPart; |
| 13821 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 13823 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 13822 pathOffset += 1; | 13824 pathOffset += 1; |
| 13823 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 13825 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 13824 pathOffset += 18; | 13826 pathOffset += 18; |
| 13825 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 13827 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 13826 pathOffset += 13; | 13828 pathOffset += 13; |
| 13827 index = path.indexOf("/contentCategories", pathOffset); | 13829 index = path.indexOf("/contentCategories", pathOffset); |
| 13828 unittest.expect(index >= 0, unittest.isTrue); | 13830 unittest.expect(index >= 0, unittest.isTrue); |
| 13829 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 13831 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 13830 pathOffset = index; | 13832 pathOffset = index; |
| 13831 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 13833 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 13832 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("/contentCategories")); | 13834 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("/contentCategories")); |
| 13833 pathOffset += 18; | 13835 pathOffset += 18; |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 13871 api.CountriesResourceApi res = new api.DfareportingApi(mock).countries; | 13873 api.CountriesResourceApi res = new api.DfareportingApi(mock).countries; |
| 13872 var arg_profileId = "foo"; | 13874 var arg_profileId = "foo"; |
| 13873 var arg_dartId = "foo"; | 13875 var arg_dartId = "foo"; |
| 13874 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 13876 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 13875 var path = (req.url).path; | 13877 var path = (req.url).path; |
| 13876 var pathOffset = 0; | 13878 var pathOffset = 0; |
| 13877 var index; | 13879 var index; |
| 13878 var subPart; | 13880 var subPart; |
| 13879 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 13881 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 13880 pathOffset += 1; | 13882 pathOffset += 1; |
| 13881 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 13883 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 13882 pathOffset += 18; | 13884 pathOffset += 18; |
| 13883 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 13885 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 13884 pathOffset += 13; | 13886 pathOffset += 13; |
| 13885 index = path.indexOf("/countries/", pathOffset); | 13887 index = path.indexOf("/countries/", pathOffset); |
| 13886 unittest.expect(index >= 0, unittest.isTrue); | 13888 unittest.expect(index >= 0, unittest.isTrue); |
| 13887 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 13889 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 13888 pathOffset = index; | 13890 pathOffset = index; |
| 13889 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 13891 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 13890 unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.eq
uals("/countries/")); | 13892 unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.eq
uals("/countries/")); |
| 13891 pathOffset += 11; | 13893 pathOffset += 11; |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 13927 var mock = new HttpServerMock(); | 13929 var mock = new HttpServerMock(); |
| 13928 api.CountriesResourceApi res = new api.DfareportingApi(mock).countries; | 13930 api.CountriesResourceApi res = new api.DfareportingApi(mock).countries; |
| 13929 var arg_profileId = "foo"; | 13931 var arg_profileId = "foo"; |
| 13930 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 13932 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 13931 var path = (req.url).path; | 13933 var path = (req.url).path; |
| 13932 var pathOffset = 0; | 13934 var pathOffset = 0; |
| 13933 var index; | 13935 var index; |
| 13934 var subPart; | 13936 var subPart; |
| 13935 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 13937 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 13936 pathOffset += 1; | 13938 pathOffset += 1; |
| 13937 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 13939 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 13938 pathOffset += 18; | 13940 pathOffset += 18; |
| 13939 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 13941 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 13940 pathOffset += 13; | 13942 pathOffset += 13; |
| 13941 index = path.indexOf("/countries", pathOffset); | 13943 index = path.indexOf("/countries", pathOffset); |
| 13942 unittest.expect(index >= 0, unittest.isTrue); | 13944 unittest.expect(index >= 0, unittest.isTrue); |
| 13943 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 13945 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 13944 pathOffset = index; | 13946 pathOffset = index; |
| 13945 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 13947 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 13946 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("/countries")); | 13948 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("/countries")); |
| 13947 pathOffset += 10; | 13949 pathOffset += 10; |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 13991 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 13993 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 13992 var obj = new api.CreativeAssetMetadata.fromJson(json); | 13994 var obj = new api.CreativeAssetMetadata.fromJson(json); |
| 13993 checkCreativeAssetMetadata(obj); | 13995 checkCreativeAssetMetadata(obj); |
| 13994 | 13996 |
| 13995 var path = (req.url).path; | 13997 var path = (req.url).path; |
| 13996 var pathOffset = 0; | 13998 var pathOffset = 0; |
| 13997 var index; | 13999 var index; |
| 13998 var subPart; | 14000 var subPart; |
| 13999 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 14001 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 14000 pathOffset += 1; | 14002 pathOffset += 1; |
| 14001 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 14003 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 14002 pathOffset += 18; | 14004 pathOffset += 18; |
| 14003 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 14005 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 14004 pathOffset += 13; | 14006 pathOffset += 13; |
| 14005 index = path.indexOf("/creativeAssets/", pathOffset); | 14007 index = path.indexOf("/creativeAssets/", pathOffset); |
| 14006 unittest.expect(index >= 0, unittest.isTrue); | 14008 unittest.expect(index >= 0, unittest.isTrue); |
| 14007 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 14009 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 14008 pathOffset = index; | 14010 pathOffset = index; |
| 14009 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 14011 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 14010 unittest.expect(path.substring(pathOffset, pathOffset + 16), unittest.eq
uals("/creativeAssets/")); | 14012 unittest.expect(path.substring(pathOffset, pathOffset + 16), unittest.eq
uals("/creativeAssets/")); |
| 14011 pathOffset += 16; | 14013 pathOffset += 16; |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 14057 var arg_profileId = "foo"; | 14059 var arg_profileId = "foo"; |
| 14058 var arg_creativeFieldId = "foo"; | 14060 var arg_creativeFieldId = "foo"; |
| 14059 var arg_id = "foo"; | 14061 var arg_id = "foo"; |
| 14060 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 14062 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 14061 var path = (req.url).path; | 14063 var path = (req.url).path; |
| 14062 var pathOffset = 0; | 14064 var pathOffset = 0; |
| 14063 var index; | 14065 var index; |
| 14064 var subPart; | 14066 var subPart; |
| 14065 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 14067 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 14066 pathOffset += 1; | 14068 pathOffset += 1; |
| 14067 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 14069 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 14068 pathOffset += 18; | 14070 pathOffset += 18; |
| 14069 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 14071 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 14070 pathOffset += 13; | 14072 pathOffset += 13; |
| 14071 index = path.indexOf("/creativeFields/", pathOffset); | 14073 index = path.indexOf("/creativeFields/", pathOffset); |
| 14072 unittest.expect(index >= 0, unittest.isTrue); | 14074 unittest.expect(index >= 0, unittest.isTrue); |
| 14073 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 14075 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 14074 pathOffset = index; | 14076 pathOffset = index; |
| 14075 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 14077 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 14076 unittest.expect(path.substring(pathOffset, pathOffset + 16), unittest.eq
uals("/creativeFields/")); | 14078 unittest.expect(path.substring(pathOffset, pathOffset + 16), unittest.eq
uals("/creativeFields/")); |
| 14077 pathOffset += 16; | 14079 pathOffset += 16; |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 14120 var arg_profileId = "foo"; | 14122 var arg_profileId = "foo"; |
| 14121 var arg_creativeFieldId = "foo"; | 14123 var arg_creativeFieldId = "foo"; |
| 14122 var arg_id = "foo"; | 14124 var arg_id = "foo"; |
| 14123 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 14125 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 14124 var path = (req.url).path; | 14126 var path = (req.url).path; |
| 14125 var pathOffset = 0; | 14127 var pathOffset = 0; |
| 14126 var index; | 14128 var index; |
| 14127 var subPart; | 14129 var subPart; |
| 14128 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 14130 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 14129 pathOffset += 1; | 14131 pathOffset += 1; |
| 14130 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 14132 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 14131 pathOffset += 18; | 14133 pathOffset += 18; |
| 14132 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 14134 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 14133 pathOffset += 13; | 14135 pathOffset += 13; |
| 14134 index = path.indexOf("/creativeFields/", pathOffset); | 14136 index = path.indexOf("/creativeFields/", pathOffset); |
| 14135 unittest.expect(index >= 0, unittest.isTrue); | 14137 unittest.expect(index >= 0, unittest.isTrue); |
| 14136 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 14138 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 14137 pathOffset = index; | 14139 pathOffset = index; |
| 14138 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 14140 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 14139 unittest.expect(path.substring(pathOffset, pathOffset + 16), unittest.eq
uals("/creativeFields/")); | 14141 unittest.expect(path.substring(pathOffset, pathOffset + 16), unittest.eq
uals("/creativeFields/")); |
| 14140 pathOffset += 16; | 14142 pathOffset += 16; |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 14188 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 14190 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 14189 var obj = new api.CreativeFieldValue.fromJson(json); | 14191 var obj = new api.CreativeFieldValue.fromJson(json); |
| 14190 checkCreativeFieldValue(obj); | 14192 checkCreativeFieldValue(obj); |
| 14191 | 14193 |
| 14192 var path = (req.url).path; | 14194 var path = (req.url).path; |
| 14193 var pathOffset = 0; | 14195 var pathOffset = 0; |
| 14194 var index; | 14196 var index; |
| 14195 var subPart; | 14197 var subPart; |
| 14196 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 14198 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 14197 pathOffset += 1; | 14199 pathOffset += 1; |
| 14198 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 14200 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 14199 pathOffset += 18; | 14201 pathOffset += 18; |
| 14200 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 14202 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 14201 pathOffset += 13; | 14203 pathOffset += 13; |
| 14202 index = path.indexOf("/creativeFields/", pathOffset); | 14204 index = path.indexOf("/creativeFields/", pathOffset); |
| 14203 unittest.expect(index >= 0, unittest.isTrue); | 14205 unittest.expect(index >= 0, unittest.isTrue); |
| 14204 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 14206 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 14205 pathOffset = index; | 14207 pathOffset = index; |
| 14206 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 14208 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 14207 unittest.expect(path.substring(pathOffset, pathOffset + 16), unittest.eq
uals("/creativeFields/")); | 14209 unittest.expect(path.substring(pathOffset, pathOffset + 16), unittest.eq
uals("/creativeFields/")); |
| 14208 pathOffset += 16; | 14210 pathOffset += 16; |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 14242 checkCreativeFieldValue(response); | 14244 checkCreativeFieldValue(response); |
| 14243 }))); | 14245 }))); |
| 14244 }); | 14246 }); |
| 14245 | 14247 |
| 14246 unittest.test("method--list", () { | 14248 unittest.test("method--list", () { |
| 14247 | 14249 |
| 14248 var mock = new HttpServerMock(); | 14250 var mock = new HttpServerMock(); |
| 14249 api.CreativeFieldValuesResourceApi res = new api.DfareportingApi(mock).cre
ativeFieldValues; | 14251 api.CreativeFieldValuesResourceApi res = new api.DfareportingApi(mock).cre
ativeFieldValues; |
| 14250 var arg_profileId = "foo"; | 14252 var arg_profileId = "foo"; |
| 14251 var arg_creativeFieldId = "foo"; | 14253 var arg_creativeFieldId = "foo"; |
| 14252 var arg_ids = buildUnnamed1752(); | 14254 var arg_ids = buildUnnamed326(); |
| 14253 var arg_maxResults = 42; | 14255 var arg_maxResults = 42; |
| 14254 var arg_pageToken = "foo"; | 14256 var arg_pageToken = "foo"; |
| 14255 var arg_searchString = "foo"; | 14257 var arg_searchString = "foo"; |
| 14256 var arg_sortField = "foo"; | 14258 var arg_sortField = "foo"; |
| 14257 var arg_sortOrder = "foo"; | 14259 var arg_sortOrder = "foo"; |
| 14258 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 14260 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 14259 var path = (req.url).path; | 14261 var path = (req.url).path; |
| 14260 var pathOffset = 0; | 14262 var pathOffset = 0; |
| 14261 var index; | 14263 var index; |
| 14262 var subPart; | 14264 var subPart; |
| 14263 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 14265 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 14264 pathOffset += 1; | 14266 pathOffset += 1; |
| 14265 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 14267 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 14266 pathOffset += 18; | 14268 pathOffset += 18; |
| 14267 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 14269 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 14268 pathOffset += 13; | 14270 pathOffset += 13; |
| 14269 index = path.indexOf("/creativeFields/", pathOffset); | 14271 index = path.indexOf("/creativeFields/", pathOffset); |
| 14270 unittest.expect(index >= 0, unittest.isTrue); | 14272 unittest.expect(index >= 0, unittest.isTrue); |
| 14271 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 14273 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 14272 pathOffset = index; | 14274 pathOffset = index; |
| 14273 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 14275 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 14274 unittest.expect(path.substring(pathOffset, pathOffset + 16), unittest.eq
uals("/creativeFields/")); | 14276 unittest.expect(path.substring(pathOffset, pathOffset + 16), unittest.eq
uals("/creativeFields/")); |
| 14275 pathOffset += 16; | 14277 pathOffset += 16; |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 14327 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 14329 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 14328 var obj = new api.CreativeFieldValue.fromJson(json); | 14330 var obj = new api.CreativeFieldValue.fromJson(json); |
| 14329 checkCreativeFieldValue(obj); | 14331 checkCreativeFieldValue(obj); |
| 14330 | 14332 |
| 14331 var path = (req.url).path; | 14333 var path = (req.url).path; |
| 14332 var pathOffset = 0; | 14334 var pathOffset = 0; |
| 14333 var index; | 14335 var index; |
| 14334 var subPart; | 14336 var subPart; |
| 14335 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 14337 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 14336 pathOffset += 1; | 14338 pathOffset += 1; |
| 14337 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 14339 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 14338 pathOffset += 18; | 14340 pathOffset += 18; |
| 14339 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 14341 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 14340 pathOffset += 13; | 14342 pathOffset += 13; |
| 14341 index = path.indexOf("/creativeFields/", pathOffset); | 14343 index = path.indexOf("/creativeFields/", pathOffset); |
| 14342 unittest.expect(index >= 0, unittest.isTrue); | 14344 unittest.expect(index >= 0, unittest.isTrue); |
| 14343 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 14345 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 14344 pathOffset = index; | 14346 pathOffset = index; |
| 14345 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 14347 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 14346 unittest.expect(path.substring(pathOffset, pathOffset + 16), unittest.eq
uals("/creativeFields/")); | 14348 unittest.expect(path.substring(pathOffset, pathOffset + 16), unittest.eq
uals("/creativeFields/")); |
| 14347 pathOffset += 16; | 14349 pathOffset += 16; |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 14393 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 14395 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 14394 var obj = new api.CreativeFieldValue.fromJson(json); | 14396 var obj = new api.CreativeFieldValue.fromJson(json); |
| 14395 checkCreativeFieldValue(obj); | 14397 checkCreativeFieldValue(obj); |
| 14396 | 14398 |
| 14397 var path = (req.url).path; | 14399 var path = (req.url).path; |
| 14398 var pathOffset = 0; | 14400 var pathOffset = 0; |
| 14399 var index; | 14401 var index; |
| 14400 var subPart; | 14402 var subPart; |
| 14401 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 14403 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 14402 pathOffset += 1; | 14404 pathOffset += 1; |
| 14403 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 14405 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 14404 pathOffset += 18; | 14406 pathOffset += 18; |
| 14405 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 14407 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 14406 pathOffset += 13; | 14408 pathOffset += 13; |
| 14407 index = path.indexOf("/creativeFields/", pathOffset); | 14409 index = path.indexOf("/creativeFields/", pathOffset); |
| 14408 unittest.expect(index >= 0, unittest.isTrue); | 14410 unittest.expect(index >= 0, unittest.isTrue); |
| 14409 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 14411 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 14410 pathOffset = index; | 14412 pathOffset = index; |
| 14411 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 14413 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 14412 unittest.expect(path.substring(pathOffset, pathOffset + 16), unittest.eq
uals("/creativeFields/")); | 14414 unittest.expect(path.substring(pathOffset, pathOffset + 16), unittest.eq
uals("/creativeFields/")); |
| 14413 pathOffset += 16; | 14415 pathOffset += 16; |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 14458 api.CreativeFieldsResourceApi res = new api.DfareportingApi(mock).creative
Fields; | 14460 api.CreativeFieldsResourceApi res = new api.DfareportingApi(mock).creative
Fields; |
| 14459 var arg_profileId = "foo"; | 14461 var arg_profileId = "foo"; |
| 14460 var arg_id = "foo"; | 14462 var arg_id = "foo"; |
| 14461 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 14463 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 14462 var path = (req.url).path; | 14464 var path = (req.url).path; |
| 14463 var pathOffset = 0; | 14465 var pathOffset = 0; |
| 14464 var index; | 14466 var index; |
| 14465 var subPart; | 14467 var subPart; |
| 14466 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 14468 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 14467 pathOffset += 1; | 14469 pathOffset += 1; |
| 14468 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 14470 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 14469 pathOffset += 18; | 14471 pathOffset += 18; |
| 14470 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 14472 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 14471 pathOffset += 13; | 14473 pathOffset += 13; |
| 14472 index = path.indexOf("/creativeFields/", pathOffset); | 14474 index = path.indexOf("/creativeFields/", pathOffset); |
| 14473 unittest.expect(index >= 0, unittest.isTrue); | 14475 unittest.expect(index >= 0, unittest.isTrue); |
| 14474 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 14476 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 14475 pathOffset = index; | 14477 pathOffset = index; |
| 14476 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 14478 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 14477 unittest.expect(path.substring(pathOffset, pathOffset + 16), unittest.eq
uals("/creativeFields/")); | 14479 unittest.expect(path.substring(pathOffset, pathOffset + 16), unittest.eq
uals("/creativeFields/")); |
| 14478 pathOffset += 16; | 14480 pathOffset += 16; |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 14513 api.CreativeFieldsResourceApi res = new api.DfareportingApi(mock).creative
Fields; | 14515 api.CreativeFieldsResourceApi res = new api.DfareportingApi(mock).creative
Fields; |
| 14514 var arg_profileId = "foo"; | 14516 var arg_profileId = "foo"; |
| 14515 var arg_id = "foo"; | 14517 var arg_id = "foo"; |
| 14516 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 14518 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 14517 var path = (req.url).path; | 14519 var path = (req.url).path; |
| 14518 var pathOffset = 0; | 14520 var pathOffset = 0; |
| 14519 var index; | 14521 var index; |
| 14520 var subPart; | 14522 var subPart; |
| 14521 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 14523 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 14522 pathOffset += 1; | 14524 pathOffset += 1; |
| 14523 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 14525 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 14524 pathOffset += 18; | 14526 pathOffset += 18; |
| 14525 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 14527 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 14526 pathOffset += 13; | 14528 pathOffset += 13; |
| 14527 index = path.indexOf("/creativeFields/", pathOffset); | 14529 index = path.indexOf("/creativeFields/", pathOffset); |
| 14528 unittest.expect(index >= 0, unittest.isTrue); | 14530 unittest.expect(index >= 0, unittest.isTrue); |
| 14529 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 14531 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 14530 pathOffset = index; | 14532 pathOffset = index; |
| 14531 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 14533 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 14532 unittest.expect(path.substring(pathOffset, pathOffset + 16), unittest.eq
uals("/creativeFields/")); | 14534 unittest.expect(path.substring(pathOffset, pathOffset + 16), unittest.eq
uals("/creativeFields/")); |
| 14533 pathOffset += 16; | 14535 pathOffset += 16; |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 14573 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 14575 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 14574 var obj = new api.CreativeField.fromJson(json); | 14576 var obj = new api.CreativeField.fromJson(json); |
| 14575 checkCreativeField(obj); | 14577 checkCreativeField(obj); |
| 14576 | 14578 |
| 14577 var path = (req.url).path; | 14579 var path = (req.url).path; |
| 14578 var pathOffset = 0; | 14580 var pathOffset = 0; |
| 14579 var index; | 14581 var index; |
| 14580 var subPart; | 14582 var subPart; |
| 14581 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 14583 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 14582 pathOffset += 1; | 14584 pathOffset += 1; |
| 14583 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 14585 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 14584 pathOffset += 18; | 14586 pathOffset += 18; |
| 14585 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 14587 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 14586 pathOffset += 13; | 14588 pathOffset += 13; |
| 14587 index = path.indexOf("/creativeFields", pathOffset); | 14589 index = path.indexOf("/creativeFields", pathOffset); |
| 14588 unittest.expect(index >= 0, unittest.isTrue); | 14590 unittest.expect(index >= 0, unittest.isTrue); |
| 14589 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 14591 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 14590 pathOffset = index; | 14592 pathOffset = index; |
| 14591 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 14593 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 14592 unittest.expect(path.substring(pathOffset, pathOffset + 15), unittest.eq
uals("/creativeFields")); | 14594 unittest.expect(path.substring(pathOffset, pathOffset + 15), unittest.eq
uals("/creativeFields")); |
| 14593 pathOffset += 15; | 14595 pathOffset += 15; |
| (...skipping 25 matching lines...) Expand all Loading... |
| 14619 res.insert(arg_request, arg_profileId).then(unittest.expectAsync(((api.Cre
ativeField response) { | 14621 res.insert(arg_request, arg_profileId).then(unittest.expectAsync(((api.Cre
ativeField response) { |
| 14620 checkCreativeField(response); | 14622 checkCreativeField(response); |
| 14621 }))); | 14623 }))); |
| 14622 }); | 14624 }); |
| 14623 | 14625 |
| 14624 unittest.test("method--list", () { | 14626 unittest.test("method--list", () { |
| 14625 | 14627 |
| 14626 var mock = new HttpServerMock(); | 14628 var mock = new HttpServerMock(); |
| 14627 api.CreativeFieldsResourceApi res = new api.DfareportingApi(mock).creative
Fields; | 14629 api.CreativeFieldsResourceApi res = new api.DfareportingApi(mock).creative
Fields; |
| 14628 var arg_profileId = "foo"; | 14630 var arg_profileId = "foo"; |
| 14629 var arg_advertiserIds = buildUnnamed1753(); | 14631 var arg_advertiserIds = buildUnnamed327(); |
| 14630 var arg_ids = buildUnnamed1754(); | 14632 var arg_ids = buildUnnamed328(); |
| 14631 var arg_maxResults = 42; | 14633 var arg_maxResults = 42; |
| 14632 var arg_pageToken = "foo"; | 14634 var arg_pageToken = "foo"; |
| 14633 var arg_searchString = "foo"; | 14635 var arg_searchString = "foo"; |
| 14634 var arg_sortField = "foo"; | 14636 var arg_sortField = "foo"; |
| 14635 var arg_sortOrder = "foo"; | 14637 var arg_sortOrder = "foo"; |
| 14636 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 14638 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 14637 var path = (req.url).path; | 14639 var path = (req.url).path; |
| 14638 var pathOffset = 0; | 14640 var pathOffset = 0; |
| 14639 var index; | 14641 var index; |
| 14640 var subPart; | 14642 var subPart; |
| 14641 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 14643 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 14642 pathOffset += 1; | 14644 pathOffset += 1; |
| 14643 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 14645 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 14644 pathOffset += 18; | 14646 pathOffset += 18; |
| 14645 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 14647 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 14646 pathOffset += 13; | 14648 pathOffset += 13; |
| 14647 index = path.indexOf("/creativeFields", pathOffset); | 14649 index = path.indexOf("/creativeFields", pathOffset); |
| 14648 unittest.expect(index >= 0, unittest.isTrue); | 14650 unittest.expect(index >= 0, unittest.isTrue); |
| 14649 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 14651 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 14650 pathOffset = index; | 14652 pathOffset = index; |
| 14651 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 14653 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 14652 unittest.expect(path.substring(pathOffset, pathOffset + 15), unittest.eq
uals("/creativeFields")); | 14654 unittest.expect(path.substring(pathOffset, pathOffset + 15), unittest.eq
uals("/creativeFields")); |
| 14653 pathOffset += 15; | 14655 pathOffset += 15; |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 14698 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 14700 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 14699 var obj = new api.CreativeField.fromJson(json); | 14701 var obj = new api.CreativeField.fromJson(json); |
| 14700 checkCreativeField(obj); | 14702 checkCreativeField(obj); |
| 14701 | 14703 |
| 14702 var path = (req.url).path; | 14704 var path = (req.url).path; |
| 14703 var pathOffset = 0; | 14705 var pathOffset = 0; |
| 14704 var index; | 14706 var index; |
| 14705 var subPart; | 14707 var subPart; |
| 14706 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 14708 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 14707 pathOffset += 1; | 14709 pathOffset += 1; |
| 14708 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 14710 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 14709 pathOffset += 18; | 14711 pathOffset += 18; |
| 14710 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 14712 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 14711 pathOffset += 13; | 14713 pathOffset += 13; |
| 14712 index = path.indexOf("/creativeFields", pathOffset); | 14714 index = path.indexOf("/creativeFields", pathOffset); |
| 14713 unittest.expect(index >= 0, unittest.isTrue); | 14715 unittest.expect(index >= 0, unittest.isTrue); |
| 14714 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 14716 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 14715 pathOffset = index; | 14717 pathOffset = index; |
| 14716 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 14718 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 14717 unittest.expect(path.substring(pathOffset, pathOffset + 15), unittest.eq
uals("/creativeFields")); | 14719 unittest.expect(path.substring(pathOffset, pathOffset + 15), unittest.eq
uals("/creativeFields")); |
| 14718 pathOffset += 15; | 14720 pathOffset += 15; |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 14756 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 14758 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 14757 var obj = new api.CreativeField.fromJson(json); | 14759 var obj = new api.CreativeField.fromJson(json); |
| 14758 checkCreativeField(obj); | 14760 checkCreativeField(obj); |
| 14759 | 14761 |
| 14760 var path = (req.url).path; | 14762 var path = (req.url).path; |
| 14761 var pathOffset = 0; | 14763 var pathOffset = 0; |
| 14762 var index; | 14764 var index; |
| 14763 var subPart; | 14765 var subPart; |
| 14764 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 14766 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 14765 pathOffset += 1; | 14767 pathOffset += 1; |
| 14766 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 14768 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 14767 pathOffset += 18; | 14769 pathOffset += 18; |
| 14768 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 14770 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 14769 pathOffset += 13; | 14771 pathOffset += 13; |
| 14770 index = path.indexOf("/creativeFields", pathOffset); | 14772 index = path.indexOf("/creativeFields", pathOffset); |
| 14771 unittest.expect(index >= 0, unittest.isTrue); | 14773 unittest.expect(index >= 0, unittest.isTrue); |
| 14772 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 14774 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 14773 pathOffset = index; | 14775 pathOffset = index; |
| 14774 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 14776 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 14775 unittest.expect(path.substring(pathOffset, pathOffset + 15), unittest.eq
uals("/creativeFields")); | 14777 unittest.expect(path.substring(pathOffset, pathOffset + 15), unittest.eq
uals("/creativeFields")); |
| 14776 pathOffset += 15; | 14778 pathOffset += 15; |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 14814 api.CreativeGroupsResourceApi res = new api.DfareportingApi(mock).creative
Groups; | 14816 api.CreativeGroupsResourceApi res = new api.DfareportingApi(mock).creative
Groups; |
| 14815 var arg_profileId = "foo"; | 14817 var arg_profileId = "foo"; |
| 14816 var arg_id = "foo"; | 14818 var arg_id = "foo"; |
| 14817 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 14819 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 14818 var path = (req.url).path; | 14820 var path = (req.url).path; |
| 14819 var pathOffset = 0; | 14821 var pathOffset = 0; |
| 14820 var index; | 14822 var index; |
| 14821 var subPart; | 14823 var subPart; |
| 14822 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 14824 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 14823 pathOffset += 1; | 14825 pathOffset += 1; |
| 14824 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 14826 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 14825 pathOffset += 18; | 14827 pathOffset += 18; |
| 14826 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 14828 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 14827 pathOffset += 13; | 14829 pathOffset += 13; |
| 14828 index = path.indexOf("/creativeGroups/", pathOffset); | 14830 index = path.indexOf("/creativeGroups/", pathOffset); |
| 14829 unittest.expect(index >= 0, unittest.isTrue); | 14831 unittest.expect(index >= 0, unittest.isTrue); |
| 14830 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 14832 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 14831 pathOffset = index; | 14833 pathOffset = index; |
| 14832 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 14834 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 14833 unittest.expect(path.substring(pathOffset, pathOffset + 16), unittest.eq
uals("/creativeGroups/")); | 14835 unittest.expect(path.substring(pathOffset, pathOffset + 16), unittest.eq
uals("/creativeGroups/")); |
| 14834 pathOffset += 16; | 14836 pathOffset += 16; |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 14874 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 14876 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 14875 var obj = new api.CreativeGroup.fromJson(json); | 14877 var obj = new api.CreativeGroup.fromJson(json); |
| 14876 checkCreativeGroup(obj); | 14878 checkCreativeGroup(obj); |
| 14877 | 14879 |
| 14878 var path = (req.url).path; | 14880 var path = (req.url).path; |
| 14879 var pathOffset = 0; | 14881 var pathOffset = 0; |
| 14880 var index; | 14882 var index; |
| 14881 var subPart; | 14883 var subPart; |
| 14882 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 14884 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 14883 pathOffset += 1; | 14885 pathOffset += 1; |
| 14884 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 14886 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 14885 pathOffset += 18; | 14887 pathOffset += 18; |
| 14886 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 14888 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 14887 pathOffset += 13; | 14889 pathOffset += 13; |
| 14888 index = path.indexOf("/creativeGroups", pathOffset); | 14890 index = path.indexOf("/creativeGroups", pathOffset); |
| 14889 unittest.expect(index >= 0, unittest.isTrue); | 14891 unittest.expect(index >= 0, unittest.isTrue); |
| 14890 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 14892 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 14891 pathOffset = index; | 14893 pathOffset = index; |
| 14892 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 14894 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 14893 unittest.expect(path.substring(pathOffset, pathOffset + 15), unittest.eq
uals("/creativeGroups")); | 14895 unittest.expect(path.substring(pathOffset, pathOffset + 15), unittest.eq
uals("/creativeGroups")); |
| 14894 pathOffset += 15; | 14896 pathOffset += 15; |
| (...skipping 25 matching lines...) Expand all Loading... |
| 14920 res.insert(arg_request, arg_profileId).then(unittest.expectAsync(((api.Cre
ativeGroup response) { | 14922 res.insert(arg_request, arg_profileId).then(unittest.expectAsync(((api.Cre
ativeGroup response) { |
| 14921 checkCreativeGroup(response); | 14923 checkCreativeGroup(response); |
| 14922 }))); | 14924 }))); |
| 14923 }); | 14925 }); |
| 14924 | 14926 |
| 14925 unittest.test("method--list", () { | 14927 unittest.test("method--list", () { |
| 14926 | 14928 |
| 14927 var mock = new HttpServerMock(); | 14929 var mock = new HttpServerMock(); |
| 14928 api.CreativeGroupsResourceApi res = new api.DfareportingApi(mock).creative
Groups; | 14930 api.CreativeGroupsResourceApi res = new api.DfareportingApi(mock).creative
Groups; |
| 14929 var arg_profileId = "foo"; | 14931 var arg_profileId = "foo"; |
| 14930 var arg_advertiserIds = buildUnnamed1755(); | 14932 var arg_advertiserIds = buildUnnamed329(); |
| 14931 var arg_groupNumber = 42; | 14933 var arg_groupNumber = 42; |
| 14932 var arg_ids = buildUnnamed1756(); | 14934 var arg_ids = buildUnnamed330(); |
| 14933 var arg_maxResults = 42; | 14935 var arg_maxResults = 42; |
| 14934 var arg_pageToken = "foo"; | 14936 var arg_pageToken = "foo"; |
| 14935 var arg_searchString = "foo"; | 14937 var arg_searchString = "foo"; |
| 14936 var arg_sortField = "foo"; | 14938 var arg_sortField = "foo"; |
| 14937 var arg_sortOrder = "foo"; | 14939 var arg_sortOrder = "foo"; |
| 14938 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 14940 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 14939 var path = (req.url).path; | 14941 var path = (req.url).path; |
| 14940 var pathOffset = 0; | 14942 var pathOffset = 0; |
| 14941 var index; | 14943 var index; |
| 14942 var subPart; | 14944 var subPart; |
| 14943 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 14945 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 14944 pathOffset += 1; | 14946 pathOffset += 1; |
| 14945 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 14947 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 14946 pathOffset += 18; | 14948 pathOffset += 18; |
| 14947 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 14949 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 14948 pathOffset += 13; | 14950 pathOffset += 13; |
| 14949 index = path.indexOf("/creativeGroups", pathOffset); | 14951 index = path.indexOf("/creativeGroups", pathOffset); |
| 14950 unittest.expect(index >= 0, unittest.isTrue); | 14952 unittest.expect(index >= 0, unittest.isTrue); |
| 14951 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 14953 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 14952 pathOffset = index; | 14954 pathOffset = index; |
| 14953 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 14955 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 14954 unittest.expect(path.substring(pathOffset, pathOffset + 15), unittest.eq
uals("/creativeGroups")); | 14956 unittest.expect(path.substring(pathOffset, pathOffset + 15), unittest.eq
uals("/creativeGroups")); |
| 14955 pathOffset += 15; | 14957 pathOffset += 15; |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 15001 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 15003 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 15002 var obj = new api.CreativeGroup.fromJson(json); | 15004 var obj = new api.CreativeGroup.fromJson(json); |
| 15003 checkCreativeGroup(obj); | 15005 checkCreativeGroup(obj); |
| 15004 | 15006 |
| 15005 var path = (req.url).path; | 15007 var path = (req.url).path; |
| 15006 var pathOffset = 0; | 15008 var pathOffset = 0; |
| 15007 var index; | 15009 var index; |
| 15008 var subPart; | 15010 var subPart; |
| 15009 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 15011 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 15010 pathOffset += 1; | 15012 pathOffset += 1; |
| 15011 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 15013 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 15012 pathOffset += 18; | 15014 pathOffset += 18; |
| 15013 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 15015 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 15014 pathOffset += 13; | 15016 pathOffset += 13; |
| 15015 index = path.indexOf("/creativeGroups", pathOffset); | 15017 index = path.indexOf("/creativeGroups", pathOffset); |
| 15016 unittest.expect(index >= 0, unittest.isTrue); | 15018 unittest.expect(index >= 0, unittest.isTrue); |
| 15017 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 15019 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 15018 pathOffset = index; | 15020 pathOffset = index; |
| 15019 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 15021 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 15020 unittest.expect(path.substring(pathOffset, pathOffset + 15), unittest.eq
uals("/creativeGroups")); | 15022 unittest.expect(path.substring(pathOffset, pathOffset + 15), unittest.eq
uals("/creativeGroups")); |
| 15021 pathOffset += 15; | 15023 pathOffset += 15; |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 15059 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 15061 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 15060 var obj = new api.CreativeGroup.fromJson(json); | 15062 var obj = new api.CreativeGroup.fromJson(json); |
| 15061 checkCreativeGroup(obj); | 15063 checkCreativeGroup(obj); |
| 15062 | 15064 |
| 15063 var path = (req.url).path; | 15065 var path = (req.url).path; |
| 15064 var pathOffset = 0; | 15066 var pathOffset = 0; |
| 15065 var index; | 15067 var index; |
| 15066 var subPart; | 15068 var subPart; |
| 15067 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 15069 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 15068 pathOffset += 1; | 15070 pathOffset += 1; |
| 15069 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 15071 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 15070 pathOffset += 18; | 15072 pathOffset += 18; |
| 15071 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 15073 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 15072 pathOffset += 13; | 15074 pathOffset += 13; |
| 15073 index = path.indexOf("/creativeGroups", pathOffset); | 15075 index = path.indexOf("/creativeGroups", pathOffset); |
| 15074 unittest.expect(index >= 0, unittest.isTrue); | 15076 unittest.expect(index >= 0, unittest.isTrue); |
| 15075 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 15077 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 15076 pathOffset = index; | 15078 pathOffset = index; |
| 15077 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 15079 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 15078 unittest.expect(path.substring(pathOffset, pathOffset + 15), unittest.eq
uals("/creativeGroups")); | 15080 unittest.expect(path.substring(pathOffset, pathOffset + 15), unittest.eq
uals("/creativeGroups")); |
| 15079 pathOffset += 15; | 15081 pathOffset += 15; |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 15117 api.CreativesResourceApi res = new api.DfareportingApi(mock).creatives; | 15119 api.CreativesResourceApi res = new api.DfareportingApi(mock).creatives; |
| 15118 var arg_profileId = "foo"; | 15120 var arg_profileId = "foo"; |
| 15119 var arg_id = "foo"; | 15121 var arg_id = "foo"; |
| 15120 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 15122 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 15121 var path = (req.url).path; | 15123 var path = (req.url).path; |
| 15122 var pathOffset = 0; | 15124 var pathOffset = 0; |
| 15123 var index; | 15125 var index; |
| 15124 var subPart; | 15126 var subPart; |
| 15125 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 15127 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 15126 pathOffset += 1; | 15128 pathOffset += 1; |
| 15127 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 15129 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 15128 pathOffset += 18; | 15130 pathOffset += 18; |
| 15129 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 15131 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 15130 pathOffset += 13; | 15132 pathOffset += 13; |
| 15131 index = path.indexOf("/creatives/", pathOffset); | 15133 index = path.indexOf("/creatives/", pathOffset); |
| 15132 unittest.expect(index >= 0, unittest.isTrue); | 15134 unittest.expect(index >= 0, unittest.isTrue); |
| 15133 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 15135 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 15134 pathOffset = index; | 15136 pathOffset = index; |
| 15135 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 15137 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 15136 unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.eq
uals("/creatives/")); | 15138 unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.eq
uals("/creatives/")); |
| 15137 pathOffset += 11; | 15139 pathOffset += 11; |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 15177 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 15179 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 15178 var obj = new api.Creative.fromJson(json); | 15180 var obj = new api.Creative.fromJson(json); |
| 15179 checkCreative(obj); | 15181 checkCreative(obj); |
| 15180 | 15182 |
| 15181 var path = (req.url).path; | 15183 var path = (req.url).path; |
| 15182 var pathOffset = 0; | 15184 var pathOffset = 0; |
| 15183 var index; | 15185 var index; |
| 15184 var subPart; | 15186 var subPart; |
| 15185 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 15187 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 15186 pathOffset += 1; | 15188 pathOffset += 1; |
| 15187 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 15189 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 15188 pathOffset += 18; | 15190 pathOffset += 18; |
| 15189 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 15191 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 15190 pathOffset += 13; | 15192 pathOffset += 13; |
| 15191 index = path.indexOf("/creatives", pathOffset); | 15193 index = path.indexOf("/creatives", pathOffset); |
| 15192 unittest.expect(index >= 0, unittest.isTrue); | 15194 unittest.expect(index >= 0, unittest.isTrue); |
| 15193 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 15195 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 15194 pathOffset = index; | 15196 pathOffset = index; |
| 15195 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 15197 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 15196 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("/creatives")); | 15198 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("/creatives")); |
| 15197 pathOffset += 10; | 15199 pathOffset += 10; |
| (...skipping 29 matching lines...) Expand all Loading... |
| 15227 | 15229 |
| 15228 unittest.test("method--list", () { | 15230 unittest.test("method--list", () { |
| 15229 | 15231 |
| 15230 var mock = new HttpServerMock(); | 15232 var mock = new HttpServerMock(); |
| 15231 api.CreativesResourceApi res = new api.DfareportingApi(mock).creatives; | 15233 api.CreativesResourceApi res = new api.DfareportingApi(mock).creatives; |
| 15232 var arg_profileId = "foo"; | 15234 var arg_profileId = "foo"; |
| 15233 var arg_active = true; | 15235 var arg_active = true; |
| 15234 var arg_advertiserId = "foo"; | 15236 var arg_advertiserId = "foo"; |
| 15235 var arg_archived = true; | 15237 var arg_archived = true; |
| 15236 var arg_campaignId = "foo"; | 15238 var arg_campaignId = "foo"; |
| 15237 var arg_companionCreativeIds = buildUnnamed1757(); | 15239 var arg_companionCreativeIds = buildUnnamed331(); |
| 15238 var arg_creativeFieldIds = buildUnnamed1758(); | 15240 var arg_creativeFieldIds = buildUnnamed332(); |
| 15239 var arg_ids = buildUnnamed1759(); | 15241 var arg_ids = buildUnnamed333(); |
| 15240 var arg_maxResults = 42; | 15242 var arg_maxResults = 42; |
| 15241 var arg_pageToken = "foo"; | 15243 var arg_pageToken = "foo"; |
| 15242 var arg_renderingIds = buildUnnamed1760(); | 15244 var arg_renderingIds = buildUnnamed334(); |
| 15243 var arg_searchString = "foo"; | 15245 var arg_searchString = "foo"; |
| 15244 var arg_sizeIds = buildUnnamed1761(); | 15246 var arg_sizeIds = buildUnnamed335(); |
| 15245 var arg_sortField = "foo"; | 15247 var arg_sortField = "foo"; |
| 15246 var arg_sortOrder = "foo"; | 15248 var arg_sortOrder = "foo"; |
| 15247 var arg_studioCreativeId = "foo"; | 15249 var arg_studioCreativeId = "foo"; |
| 15248 var arg_types = buildUnnamed1762(); | 15250 var arg_types = buildUnnamed336(); |
| 15249 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 15251 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 15250 var path = (req.url).path; | 15252 var path = (req.url).path; |
| 15251 var pathOffset = 0; | 15253 var pathOffset = 0; |
| 15252 var index; | 15254 var index; |
| 15253 var subPart; | 15255 var subPart; |
| 15254 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 15256 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 15255 pathOffset += 1; | 15257 pathOffset += 1; |
| 15256 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 15258 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 15257 pathOffset += 18; | 15259 pathOffset += 18; |
| 15258 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 15260 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 15259 pathOffset += 13; | 15261 pathOffset += 13; |
| 15260 index = path.indexOf("/creatives", pathOffset); | 15262 index = path.indexOf("/creatives", pathOffset); |
| 15261 unittest.expect(index >= 0, unittest.isTrue); | 15263 unittest.expect(index >= 0, unittest.isTrue); |
| 15262 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 15264 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 15263 pathOffset = index; | 15265 pathOffset = index; |
| 15264 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 15266 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 15265 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("/creatives")); | 15267 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("/creatives")); |
| 15266 pathOffset += 10; | 15268 pathOffset += 10; |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 15320 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 15322 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 15321 var obj = new api.Creative.fromJson(json); | 15323 var obj = new api.Creative.fromJson(json); |
| 15322 checkCreative(obj); | 15324 checkCreative(obj); |
| 15323 | 15325 |
| 15324 var path = (req.url).path; | 15326 var path = (req.url).path; |
| 15325 var pathOffset = 0; | 15327 var pathOffset = 0; |
| 15326 var index; | 15328 var index; |
| 15327 var subPart; | 15329 var subPart; |
| 15328 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 15330 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 15329 pathOffset += 1; | 15331 pathOffset += 1; |
| 15330 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 15332 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 15331 pathOffset += 18; | 15333 pathOffset += 18; |
| 15332 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 15334 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 15333 pathOffset += 13; | 15335 pathOffset += 13; |
| 15334 index = path.indexOf("/creatives", pathOffset); | 15336 index = path.indexOf("/creatives", pathOffset); |
| 15335 unittest.expect(index >= 0, unittest.isTrue); | 15337 unittest.expect(index >= 0, unittest.isTrue); |
| 15336 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 15338 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 15337 pathOffset = index; | 15339 pathOffset = index; |
| 15338 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 15340 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 15339 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("/creatives")); | 15341 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("/creatives")); |
| 15340 pathOffset += 10; | 15342 pathOffset += 10; |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 15378 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 15380 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 15379 var obj = new api.Creative.fromJson(json); | 15381 var obj = new api.Creative.fromJson(json); |
| 15380 checkCreative(obj); | 15382 checkCreative(obj); |
| 15381 | 15383 |
| 15382 var path = (req.url).path; | 15384 var path = (req.url).path; |
| 15383 var pathOffset = 0; | 15385 var pathOffset = 0; |
| 15384 var index; | 15386 var index; |
| 15385 var subPart; | 15387 var subPart; |
| 15386 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 15388 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 15387 pathOffset += 1; | 15389 pathOffset += 1; |
| 15388 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 15390 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 15389 pathOffset += 18; | 15391 pathOffset += 18; |
| 15390 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 15392 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 15391 pathOffset += 13; | 15393 pathOffset += 13; |
| 15392 index = path.indexOf("/creatives", pathOffset); | 15394 index = path.indexOf("/creatives", pathOffset); |
| 15393 unittest.expect(index >= 0, unittest.isTrue); | 15395 unittest.expect(index >= 0, unittest.isTrue); |
| 15394 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 15396 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 15395 pathOffset = index; | 15397 pathOffset = index; |
| 15396 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 15398 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 15397 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("/creatives")); | 15399 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("/creatives")); |
| 15398 pathOffset += 10; | 15400 pathOffset += 10; |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 15441 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 15443 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 15442 var obj = new api.DimensionValueRequest.fromJson(json); | 15444 var obj = new api.DimensionValueRequest.fromJson(json); |
| 15443 checkDimensionValueRequest(obj); | 15445 checkDimensionValueRequest(obj); |
| 15444 | 15446 |
| 15445 var path = (req.url).path; | 15447 var path = (req.url).path; |
| 15446 var pathOffset = 0; | 15448 var pathOffset = 0; |
| 15447 var index; | 15449 var index; |
| 15448 var subPart; | 15450 var subPart; |
| 15449 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 15451 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 15450 pathOffset += 1; | 15452 pathOffset += 1; |
| 15451 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 15453 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 15452 pathOffset += 18; | 15454 pathOffset += 18; |
| 15453 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 15455 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 15454 pathOffset += 13; | 15456 pathOffset += 13; |
| 15455 index = path.indexOf("/dimensionvalues/query", pathOffset); | 15457 index = path.indexOf("/dimensionvalues/query", pathOffset); |
| 15456 unittest.expect(index >= 0, unittest.isTrue); | 15458 unittest.expect(index >= 0, unittest.isTrue); |
| 15457 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 15459 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 15458 pathOffset = index; | 15460 pathOffset = index; |
| 15459 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 15461 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 15460 unittest.expect(path.substring(pathOffset, pathOffset + 22), unittest.eq
uals("/dimensionvalues/query")); | 15462 unittest.expect(path.substring(pathOffset, pathOffset + 22), unittest.eq
uals("/dimensionvalues/query")); |
| 15461 pathOffset += 22; | 15463 pathOffset += 22; |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 15501 api.DirectorySiteContactsResourceApi res = new api.DfareportingApi(mock).d
irectorySiteContacts; | 15503 api.DirectorySiteContactsResourceApi res = new api.DfareportingApi(mock).d
irectorySiteContacts; |
| 15502 var arg_profileId = "foo"; | 15504 var arg_profileId = "foo"; |
| 15503 var arg_id = "foo"; | 15505 var arg_id = "foo"; |
| 15504 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 15506 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 15505 var path = (req.url).path; | 15507 var path = (req.url).path; |
| 15506 var pathOffset = 0; | 15508 var pathOffset = 0; |
| 15507 var index; | 15509 var index; |
| 15508 var subPart; | 15510 var subPart; |
| 15509 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 15511 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 15510 pathOffset += 1; | 15512 pathOffset += 1; |
| 15511 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 15513 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 15512 pathOffset += 18; | 15514 pathOffset += 18; |
| 15513 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 15515 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 15514 pathOffset += 13; | 15516 pathOffset += 13; |
| 15515 index = path.indexOf("/directorySiteContacts/", pathOffset); | 15517 index = path.indexOf("/directorySiteContacts/", pathOffset); |
| 15516 unittest.expect(index >= 0, unittest.isTrue); | 15518 unittest.expect(index >= 0, unittest.isTrue); |
| 15517 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 15519 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 15518 pathOffset = index; | 15520 pathOffset = index; |
| 15519 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 15521 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 15520 unittest.expect(path.substring(pathOffset, pathOffset + 23), unittest.eq
uals("/directorySiteContacts/")); | 15522 unittest.expect(path.substring(pathOffset, pathOffset + 23), unittest.eq
uals("/directorySiteContacts/")); |
| 15521 pathOffset += 23; | 15523 pathOffset += 23; |
| (...skipping 28 matching lines...) Expand all Loading... |
| 15550 res.get(arg_profileId, arg_id).then(unittest.expectAsync(((api.DirectorySi
teContact response) { | 15552 res.get(arg_profileId, arg_id).then(unittest.expectAsync(((api.DirectorySi
teContact response) { |
| 15551 checkDirectorySiteContact(response); | 15553 checkDirectorySiteContact(response); |
| 15552 }))); | 15554 }))); |
| 15553 }); | 15555 }); |
| 15554 | 15556 |
| 15555 unittest.test("method--list", () { | 15557 unittest.test("method--list", () { |
| 15556 | 15558 |
| 15557 var mock = new HttpServerMock(); | 15559 var mock = new HttpServerMock(); |
| 15558 api.DirectorySiteContactsResourceApi res = new api.DfareportingApi(mock).d
irectorySiteContacts; | 15560 api.DirectorySiteContactsResourceApi res = new api.DfareportingApi(mock).d
irectorySiteContacts; |
| 15559 var arg_profileId = "foo"; | 15561 var arg_profileId = "foo"; |
| 15560 var arg_directorySiteIds = buildUnnamed1763(); | 15562 var arg_directorySiteIds = buildUnnamed337(); |
| 15561 var arg_ids = buildUnnamed1764(); | 15563 var arg_ids = buildUnnamed338(); |
| 15562 var arg_maxResults = 42; | 15564 var arg_maxResults = 42; |
| 15563 var arg_pageToken = "foo"; | 15565 var arg_pageToken = "foo"; |
| 15564 var arg_searchString = "foo"; | 15566 var arg_searchString = "foo"; |
| 15565 var arg_sortField = "foo"; | 15567 var arg_sortField = "foo"; |
| 15566 var arg_sortOrder = "foo"; | 15568 var arg_sortOrder = "foo"; |
| 15567 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 15569 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 15568 var path = (req.url).path; | 15570 var path = (req.url).path; |
| 15569 var pathOffset = 0; | 15571 var pathOffset = 0; |
| 15570 var index; | 15572 var index; |
| 15571 var subPart; | 15573 var subPart; |
| 15572 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 15574 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 15573 pathOffset += 1; | 15575 pathOffset += 1; |
| 15574 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 15576 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 15575 pathOffset += 18; | 15577 pathOffset += 18; |
| 15576 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 15578 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 15577 pathOffset += 13; | 15579 pathOffset += 13; |
| 15578 index = path.indexOf("/directorySiteContacts", pathOffset); | 15580 index = path.indexOf("/directorySiteContacts", pathOffset); |
| 15579 unittest.expect(index >= 0, unittest.isTrue); | 15581 unittest.expect(index >= 0, unittest.isTrue); |
| 15580 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 15582 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 15581 pathOffset = index; | 15583 pathOffset = index; |
| 15582 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 15584 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 15583 unittest.expect(path.substring(pathOffset, pathOffset + 22), unittest.eq
uals("/directorySiteContacts")); | 15585 unittest.expect(path.substring(pathOffset, pathOffset + 22), unittest.eq
uals("/directorySiteContacts")); |
| 15584 pathOffset += 22; | 15586 pathOffset += 22; |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 15629 api.DirectorySitesResourceApi res = new api.DfareportingApi(mock).director
ySites; | 15631 api.DirectorySitesResourceApi res = new api.DfareportingApi(mock).director
ySites; |
| 15630 var arg_profileId = "foo"; | 15632 var arg_profileId = "foo"; |
| 15631 var arg_id = "foo"; | 15633 var arg_id = "foo"; |
| 15632 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 15634 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 15633 var path = (req.url).path; | 15635 var path = (req.url).path; |
| 15634 var pathOffset = 0; | 15636 var pathOffset = 0; |
| 15635 var index; | 15637 var index; |
| 15636 var subPart; | 15638 var subPart; |
| 15637 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 15639 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 15638 pathOffset += 1; | 15640 pathOffset += 1; |
| 15639 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 15641 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 15640 pathOffset += 18; | 15642 pathOffset += 18; |
| 15641 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 15643 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 15642 pathOffset += 13; | 15644 pathOffset += 13; |
| 15643 index = path.indexOf("/directorySites/", pathOffset); | 15645 index = path.indexOf("/directorySites/", pathOffset); |
| 15644 unittest.expect(index >= 0, unittest.isTrue); | 15646 unittest.expect(index >= 0, unittest.isTrue); |
| 15645 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 15647 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 15646 pathOffset = index; | 15648 pathOffset = index; |
| 15647 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 15649 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 15648 unittest.expect(path.substring(pathOffset, pathOffset + 16), unittest.eq
uals("/directorySites/")); | 15650 unittest.expect(path.substring(pathOffset, pathOffset + 16), unittest.eq
uals("/directorySites/")); |
| 15649 pathOffset += 16; | 15651 pathOffset += 16; |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 15689 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 15691 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 15690 var obj = new api.DirectorySite.fromJson(json); | 15692 var obj = new api.DirectorySite.fromJson(json); |
| 15691 checkDirectorySite(obj); | 15693 checkDirectorySite(obj); |
| 15692 | 15694 |
| 15693 var path = (req.url).path; | 15695 var path = (req.url).path; |
| 15694 var pathOffset = 0; | 15696 var pathOffset = 0; |
| 15695 var index; | 15697 var index; |
| 15696 var subPart; | 15698 var subPart; |
| 15697 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 15699 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 15698 pathOffset += 1; | 15700 pathOffset += 1; |
| 15699 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 15701 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 15700 pathOffset += 18; | 15702 pathOffset += 18; |
| 15701 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 15703 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 15702 pathOffset += 13; | 15704 pathOffset += 13; |
| 15703 index = path.indexOf("/directorySites", pathOffset); | 15705 index = path.indexOf("/directorySites", pathOffset); |
| 15704 unittest.expect(index >= 0, unittest.isTrue); | 15706 unittest.expect(index >= 0, unittest.isTrue); |
| 15705 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 15707 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 15706 pathOffset = index; | 15708 pathOffset = index; |
| 15707 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 15709 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 15708 unittest.expect(path.substring(pathOffset, pathOffset + 15), unittest.eq
uals("/directorySites")); | 15710 unittest.expect(path.substring(pathOffset, pathOffset + 15), unittest.eq
uals("/directorySites")); |
| 15709 pathOffset += 15; | 15711 pathOffset += 15; |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 15741 | 15743 |
| 15742 var mock = new HttpServerMock(); | 15744 var mock = new HttpServerMock(); |
| 15743 api.DirectorySitesResourceApi res = new api.DfareportingApi(mock).director
ySites; | 15745 api.DirectorySitesResourceApi res = new api.DfareportingApi(mock).director
ySites; |
| 15744 var arg_profileId = "foo"; | 15746 var arg_profileId = "foo"; |
| 15745 var arg_acceptsInStreamVideoPlacements = true; | 15747 var arg_acceptsInStreamVideoPlacements = true; |
| 15746 var arg_acceptsInterstitialPlacements = true; | 15748 var arg_acceptsInterstitialPlacements = true; |
| 15747 var arg_acceptsPublisherPaidPlacements = true; | 15749 var arg_acceptsPublisherPaidPlacements = true; |
| 15748 var arg_active = true; | 15750 var arg_active = true; |
| 15749 var arg_countryId = "foo"; | 15751 var arg_countryId = "foo"; |
| 15750 var arg_dfpNetworkCode = "foo"; | 15752 var arg_dfpNetworkCode = "foo"; |
| 15751 var arg_ids = buildUnnamed1765(); | 15753 var arg_ids = buildUnnamed339(); |
| 15752 var arg_maxResults = 42; | 15754 var arg_maxResults = 42; |
| 15753 var arg_pageToken = "foo"; | 15755 var arg_pageToken = "foo"; |
| 15754 var arg_parentId = "foo"; | 15756 var arg_parentId = "foo"; |
| 15755 var arg_searchString = "foo"; | 15757 var arg_searchString = "foo"; |
| 15756 var arg_sortField = "foo"; | 15758 var arg_sortField = "foo"; |
| 15757 var arg_sortOrder = "foo"; | 15759 var arg_sortOrder = "foo"; |
| 15758 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 15760 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 15759 var path = (req.url).path; | 15761 var path = (req.url).path; |
| 15760 var pathOffset = 0; | 15762 var pathOffset = 0; |
| 15761 var index; | 15763 var index; |
| 15762 var subPart; | 15764 var subPart; |
| 15763 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 15765 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 15764 pathOffset += 1; | 15766 pathOffset += 1; |
| 15765 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 15767 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 15766 pathOffset += 18; | 15768 pathOffset += 18; |
| 15767 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 15769 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 15768 pathOffset += 13; | 15770 pathOffset += 13; |
| 15769 index = path.indexOf("/directorySites", pathOffset); | 15771 index = path.indexOf("/directorySites", pathOffset); |
| 15770 unittest.expect(index >= 0, unittest.isTrue); | 15772 unittest.expect(index >= 0, unittest.isTrue); |
| 15771 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 15773 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 15772 pathOffset = index; | 15774 pathOffset = index; |
| 15773 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 15775 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 15774 unittest.expect(path.substring(pathOffset, pathOffset + 15), unittest.eq
uals("/directorySites")); | 15776 unittest.expect(path.substring(pathOffset, pathOffset + 15), unittest.eq
uals("/directorySites")); |
| 15775 pathOffset += 15; | 15777 pathOffset += 15; |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 15826 api.EventTagsResourceApi res = new api.DfareportingApi(mock).eventTags; | 15828 api.EventTagsResourceApi res = new api.DfareportingApi(mock).eventTags; |
| 15827 var arg_profileId = "foo"; | 15829 var arg_profileId = "foo"; |
| 15828 var arg_id = "foo"; | 15830 var arg_id = "foo"; |
| 15829 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 15831 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 15830 var path = (req.url).path; | 15832 var path = (req.url).path; |
| 15831 var pathOffset = 0; | 15833 var pathOffset = 0; |
| 15832 var index; | 15834 var index; |
| 15833 var subPart; | 15835 var subPart; |
| 15834 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 15836 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 15835 pathOffset += 1; | 15837 pathOffset += 1; |
| 15836 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 15838 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 15837 pathOffset += 18; | 15839 pathOffset += 18; |
| 15838 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 15840 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 15839 pathOffset += 13; | 15841 pathOffset += 13; |
| 15840 index = path.indexOf("/eventTags/", pathOffset); | 15842 index = path.indexOf("/eventTags/", pathOffset); |
| 15841 unittest.expect(index >= 0, unittest.isTrue); | 15843 unittest.expect(index >= 0, unittest.isTrue); |
| 15842 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 15844 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 15843 pathOffset = index; | 15845 pathOffset = index; |
| 15844 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 15846 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 15845 unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.eq
uals("/eventTags/")); | 15847 unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.eq
uals("/eventTags/")); |
| 15846 pathOffset += 11; | 15848 pathOffset += 11; |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 15881 api.EventTagsResourceApi res = new api.DfareportingApi(mock).eventTags; | 15883 api.EventTagsResourceApi res = new api.DfareportingApi(mock).eventTags; |
| 15882 var arg_profileId = "foo"; | 15884 var arg_profileId = "foo"; |
| 15883 var arg_id = "foo"; | 15885 var arg_id = "foo"; |
| 15884 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 15886 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 15885 var path = (req.url).path; | 15887 var path = (req.url).path; |
| 15886 var pathOffset = 0; | 15888 var pathOffset = 0; |
| 15887 var index; | 15889 var index; |
| 15888 var subPart; | 15890 var subPart; |
| 15889 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 15891 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 15890 pathOffset += 1; | 15892 pathOffset += 1; |
| 15891 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 15893 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 15892 pathOffset += 18; | 15894 pathOffset += 18; |
| 15893 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 15895 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 15894 pathOffset += 13; | 15896 pathOffset += 13; |
| 15895 index = path.indexOf("/eventTags/", pathOffset); | 15897 index = path.indexOf("/eventTags/", pathOffset); |
| 15896 unittest.expect(index >= 0, unittest.isTrue); | 15898 unittest.expect(index >= 0, unittest.isTrue); |
| 15897 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 15899 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 15898 pathOffset = index; | 15900 pathOffset = index; |
| 15899 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 15901 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 15900 unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.eq
uals("/eventTags/")); | 15902 unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.eq
uals("/eventTags/")); |
| 15901 pathOffset += 11; | 15903 pathOffset += 11; |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 15941 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 15943 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 15942 var obj = new api.EventTag.fromJson(json); | 15944 var obj = new api.EventTag.fromJson(json); |
| 15943 checkEventTag(obj); | 15945 checkEventTag(obj); |
| 15944 | 15946 |
| 15945 var path = (req.url).path; | 15947 var path = (req.url).path; |
| 15946 var pathOffset = 0; | 15948 var pathOffset = 0; |
| 15947 var index; | 15949 var index; |
| 15948 var subPart; | 15950 var subPart; |
| 15949 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 15951 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 15950 pathOffset += 1; | 15952 pathOffset += 1; |
| 15951 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 15953 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 15952 pathOffset += 18; | 15954 pathOffset += 18; |
| 15953 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 15955 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 15954 pathOffset += 13; | 15956 pathOffset += 13; |
| 15955 index = path.indexOf("/eventTags", pathOffset); | 15957 index = path.indexOf("/eventTags", pathOffset); |
| 15956 unittest.expect(index >= 0, unittest.isTrue); | 15958 unittest.expect(index >= 0, unittest.isTrue); |
| 15957 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 15959 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 15958 pathOffset = index; | 15960 pathOffset = index; |
| 15959 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 15961 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 15960 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("/eventTags")); | 15962 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("/eventTags")); |
| 15961 pathOffset += 10; | 15963 pathOffset += 10; |
| (...skipping 30 matching lines...) Expand all Loading... |
| 15992 unittest.test("method--list", () { | 15994 unittest.test("method--list", () { |
| 15993 | 15995 |
| 15994 var mock = new HttpServerMock(); | 15996 var mock = new HttpServerMock(); |
| 15995 api.EventTagsResourceApi res = new api.DfareportingApi(mock).eventTags; | 15997 api.EventTagsResourceApi res = new api.DfareportingApi(mock).eventTags; |
| 15996 var arg_profileId = "foo"; | 15998 var arg_profileId = "foo"; |
| 15997 var arg_adId = "foo"; | 15999 var arg_adId = "foo"; |
| 15998 var arg_advertiserId = "foo"; | 16000 var arg_advertiserId = "foo"; |
| 15999 var arg_campaignId = "foo"; | 16001 var arg_campaignId = "foo"; |
| 16000 var arg_definitionsOnly = true; | 16002 var arg_definitionsOnly = true; |
| 16001 var arg_enabled = true; | 16003 var arg_enabled = true; |
| 16002 var arg_eventTagTypes = buildUnnamed1766(); | 16004 var arg_eventTagTypes = buildUnnamed340(); |
| 16003 var arg_ids = buildUnnamed1767(); | 16005 var arg_ids = buildUnnamed341(); |
| 16004 var arg_searchString = "foo"; | 16006 var arg_searchString = "foo"; |
| 16005 var arg_sortField = "foo"; | 16007 var arg_sortField = "foo"; |
| 16006 var arg_sortOrder = "foo"; | 16008 var arg_sortOrder = "foo"; |
| 16007 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 16009 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 16008 var path = (req.url).path; | 16010 var path = (req.url).path; |
| 16009 var pathOffset = 0; | 16011 var pathOffset = 0; |
| 16010 var index; | 16012 var index; |
| 16011 var subPart; | 16013 var subPart; |
| 16012 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 16014 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 16013 pathOffset += 1; | 16015 pathOffset += 1; |
| 16014 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 16016 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 16015 pathOffset += 18; | 16017 pathOffset += 18; |
| 16016 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 16018 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 16017 pathOffset += 13; | 16019 pathOffset += 13; |
| 16018 index = path.indexOf("/eventTags", pathOffset); | 16020 index = path.indexOf("/eventTags", pathOffset); |
| 16019 unittest.expect(index >= 0, unittest.isTrue); | 16021 unittest.expect(index >= 0, unittest.isTrue); |
| 16020 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 16022 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 16021 pathOffset = index; | 16023 pathOffset = index; |
| 16022 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 16024 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 16023 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("/eventTags")); | 16025 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("/eventTags")); |
| 16024 pathOffset += 10; | 16026 pathOffset += 10; |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 16072 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 16074 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 16073 var obj = new api.EventTag.fromJson(json); | 16075 var obj = new api.EventTag.fromJson(json); |
| 16074 checkEventTag(obj); | 16076 checkEventTag(obj); |
| 16075 | 16077 |
| 16076 var path = (req.url).path; | 16078 var path = (req.url).path; |
| 16077 var pathOffset = 0; | 16079 var pathOffset = 0; |
| 16078 var index; | 16080 var index; |
| 16079 var subPart; | 16081 var subPart; |
| 16080 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 16082 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 16081 pathOffset += 1; | 16083 pathOffset += 1; |
| 16082 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 16084 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 16083 pathOffset += 18; | 16085 pathOffset += 18; |
| 16084 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 16086 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 16085 pathOffset += 13; | 16087 pathOffset += 13; |
| 16086 index = path.indexOf("/eventTags", pathOffset); | 16088 index = path.indexOf("/eventTags", pathOffset); |
| 16087 unittest.expect(index >= 0, unittest.isTrue); | 16089 unittest.expect(index >= 0, unittest.isTrue); |
| 16088 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 16090 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 16089 pathOffset = index; | 16091 pathOffset = index; |
| 16090 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 16092 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 16091 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("/eventTags")); | 16093 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("/eventTags")); |
| 16092 pathOffset += 10; | 16094 pathOffset += 10; |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 16130 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 16132 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 16131 var obj = new api.EventTag.fromJson(json); | 16133 var obj = new api.EventTag.fromJson(json); |
| 16132 checkEventTag(obj); | 16134 checkEventTag(obj); |
| 16133 | 16135 |
| 16134 var path = (req.url).path; | 16136 var path = (req.url).path; |
| 16135 var pathOffset = 0; | 16137 var pathOffset = 0; |
| 16136 var index; | 16138 var index; |
| 16137 var subPart; | 16139 var subPart; |
| 16138 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 16140 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 16139 pathOffset += 1; | 16141 pathOffset += 1; |
| 16140 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 16142 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 16141 pathOffset += 18; | 16143 pathOffset += 18; |
| 16142 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 16144 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 16143 pathOffset += 13; | 16145 pathOffset += 13; |
| 16144 index = path.indexOf("/eventTags", pathOffset); | 16146 index = path.indexOf("/eventTags", pathOffset); |
| 16145 unittest.expect(index >= 0, unittest.isTrue); | 16147 unittest.expect(index >= 0, unittest.isTrue); |
| 16146 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 16148 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 16147 pathOffset = index; | 16149 pathOffset = index; |
| 16148 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 16150 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 16149 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("/eventTags")); | 16151 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("/eventTags")); |
| 16150 pathOffset += 10; | 16152 pathOffset += 10; |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 16190 api.FilesResourceApi res = new api.DfareportingApi(mock).files; | 16192 api.FilesResourceApi res = new api.DfareportingApi(mock).files; |
| 16191 var arg_reportId = "foo"; | 16193 var arg_reportId = "foo"; |
| 16192 var arg_fileId = "foo"; | 16194 var arg_fileId = "foo"; |
| 16193 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 16195 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 16194 var path = (req.url).path; | 16196 var path = (req.url).path; |
| 16195 var pathOffset = 0; | 16197 var pathOffset = 0; |
| 16196 var index; | 16198 var index; |
| 16197 var subPart; | 16199 var subPart; |
| 16198 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 16200 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 16199 pathOffset += 1; | 16201 pathOffset += 1; |
| 16200 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 16202 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 16201 pathOffset += 18; | 16203 pathOffset += 18; |
| 16202 unittest.expect(path.substring(pathOffset, pathOffset + 8), unittest.equ
als("reports/")); | 16204 unittest.expect(path.substring(pathOffset, pathOffset + 8), unittest.equ
als("reports/")); |
| 16203 pathOffset += 8; | 16205 pathOffset += 8; |
| 16204 index = path.indexOf("/files/", pathOffset); | 16206 index = path.indexOf("/files/", pathOffset); |
| 16205 unittest.expect(index >= 0, unittest.isTrue); | 16207 unittest.expect(index >= 0, unittest.isTrue); |
| 16206 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 16208 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 16207 pathOffset = index; | 16209 pathOffset = index; |
| 16208 unittest.expect(subPart, unittest.equals("$arg_reportId")); | 16210 unittest.expect(subPart, unittest.equals("$arg_reportId")); |
| 16209 unittest.expect(path.substring(pathOffset, pathOffset + 7), unittest.equ
als("/files/")); | 16211 unittest.expect(path.substring(pathOffset, pathOffset + 7), unittest.equ
als("/files/")); |
| 16210 pathOffset += 7; | 16212 pathOffset += 7; |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 16251 var arg_scope = "foo"; | 16253 var arg_scope = "foo"; |
| 16252 var arg_sortField = "foo"; | 16254 var arg_sortField = "foo"; |
| 16253 var arg_sortOrder = "foo"; | 16255 var arg_sortOrder = "foo"; |
| 16254 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 16256 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 16255 var path = (req.url).path; | 16257 var path = (req.url).path; |
| 16256 var pathOffset = 0; | 16258 var pathOffset = 0; |
| 16257 var index; | 16259 var index; |
| 16258 var subPart; | 16260 var subPart; |
| 16259 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 16261 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 16260 pathOffset += 1; | 16262 pathOffset += 1; |
| 16261 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 16263 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 16262 pathOffset += 18; | 16264 pathOffset += 18; |
| 16263 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 16265 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 16264 pathOffset += 13; | 16266 pathOffset += 13; |
| 16265 index = path.indexOf("/files", pathOffset); | 16267 index = path.indexOf("/files", pathOffset); |
| 16266 unittest.expect(index >= 0, unittest.isTrue); | 16268 unittest.expect(index >= 0, unittest.isTrue); |
| 16267 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 16269 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 16268 pathOffset = index; | 16270 pathOffset = index; |
| 16269 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 16271 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 16270 unittest.expect(path.substring(pathOffset, pathOffset + 6), unittest.equ
als("/files")); | 16272 unittest.expect(path.substring(pathOffset, pathOffset + 6), unittest.equ
als("/files")); |
| 16271 pathOffset += 6; | 16273 pathOffset += 6; |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 16314 api.FloodlightActivitiesResourceApi res = new api.DfareportingApi(mock).fl
oodlightActivities; | 16316 api.FloodlightActivitiesResourceApi res = new api.DfareportingApi(mock).fl
oodlightActivities; |
| 16315 var arg_profileId = "foo"; | 16317 var arg_profileId = "foo"; |
| 16316 var arg_id = "foo"; | 16318 var arg_id = "foo"; |
| 16317 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 16319 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 16318 var path = (req.url).path; | 16320 var path = (req.url).path; |
| 16319 var pathOffset = 0; | 16321 var pathOffset = 0; |
| 16320 var index; | 16322 var index; |
| 16321 var subPart; | 16323 var subPart; |
| 16322 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 16324 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 16323 pathOffset += 1; | 16325 pathOffset += 1; |
| 16324 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 16326 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 16325 pathOffset += 18; | 16327 pathOffset += 18; |
| 16326 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 16328 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 16327 pathOffset += 13; | 16329 pathOffset += 13; |
| 16328 index = path.indexOf("/floodlightActivities/", pathOffset); | 16330 index = path.indexOf("/floodlightActivities/", pathOffset); |
| 16329 unittest.expect(index >= 0, unittest.isTrue); | 16331 unittest.expect(index >= 0, unittest.isTrue); |
| 16330 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 16332 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 16331 pathOffset = index; | 16333 pathOffset = index; |
| 16332 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 16334 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 16333 unittest.expect(path.substring(pathOffset, pathOffset + 22), unittest.eq
uals("/floodlightActivities/")); | 16335 unittest.expect(path.substring(pathOffset, pathOffset + 22), unittest.eq
uals("/floodlightActivities/")); |
| 16334 pathOffset += 22; | 16336 pathOffset += 22; |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 16369 api.FloodlightActivitiesResourceApi res = new api.DfareportingApi(mock).fl
oodlightActivities; | 16371 api.FloodlightActivitiesResourceApi res = new api.DfareportingApi(mock).fl
oodlightActivities; |
| 16370 var arg_profileId = "foo"; | 16372 var arg_profileId = "foo"; |
| 16371 var arg_floodlightActivityId = "foo"; | 16373 var arg_floodlightActivityId = "foo"; |
| 16372 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 16374 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 16373 var path = (req.url).path; | 16375 var path = (req.url).path; |
| 16374 var pathOffset = 0; | 16376 var pathOffset = 0; |
| 16375 var index; | 16377 var index; |
| 16376 var subPart; | 16378 var subPart; |
| 16377 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 16379 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 16378 pathOffset += 1; | 16380 pathOffset += 1; |
| 16379 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 16381 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 16380 pathOffset += 18; | 16382 pathOffset += 18; |
| 16381 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 16383 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 16382 pathOffset += 13; | 16384 pathOffset += 13; |
| 16383 index = path.indexOf("/floodlightActivities/generatetag", pathOffset); | 16385 index = path.indexOf("/floodlightActivities/generatetag", pathOffset); |
| 16384 unittest.expect(index >= 0, unittest.isTrue); | 16386 unittest.expect(index >= 0, unittest.isTrue); |
| 16385 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 16387 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 16386 pathOffset = index; | 16388 pathOffset = index; |
| 16387 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 16389 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 16388 unittest.expect(path.substring(pathOffset, pathOffset + 33), unittest.eq
uals("/floodlightActivities/generatetag")); | 16390 unittest.expect(path.substring(pathOffset, pathOffset + 33), unittest.eq
uals("/floodlightActivities/generatetag")); |
| 16389 pathOffset += 33; | 16391 pathOffset += 33; |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 16424 api.FloodlightActivitiesResourceApi res = new api.DfareportingApi(mock).fl
oodlightActivities; | 16426 api.FloodlightActivitiesResourceApi res = new api.DfareportingApi(mock).fl
oodlightActivities; |
| 16425 var arg_profileId = "foo"; | 16427 var arg_profileId = "foo"; |
| 16426 var arg_id = "foo"; | 16428 var arg_id = "foo"; |
| 16427 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 16429 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 16428 var path = (req.url).path; | 16430 var path = (req.url).path; |
| 16429 var pathOffset = 0; | 16431 var pathOffset = 0; |
| 16430 var index; | 16432 var index; |
| 16431 var subPart; | 16433 var subPart; |
| 16432 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 16434 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 16433 pathOffset += 1; | 16435 pathOffset += 1; |
| 16434 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 16436 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 16435 pathOffset += 18; | 16437 pathOffset += 18; |
| 16436 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 16438 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 16437 pathOffset += 13; | 16439 pathOffset += 13; |
| 16438 index = path.indexOf("/floodlightActivities/", pathOffset); | 16440 index = path.indexOf("/floodlightActivities/", pathOffset); |
| 16439 unittest.expect(index >= 0, unittest.isTrue); | 16441 unittest.expect(index >= 0, unittest.isTrue); |
| 16440 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 16442 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 16441 pathOffset = index; | 16443 pathOffset = index; |
| 16442 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 16444 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 16443 unittest.expect(path.substring(pathOffset, pathOffset + 22), unittest.eq
uals("/floodlightActivities/")); | 16445 unittest.expect(path.substring(pathOffset, pathOffset + 22), unittest.eq
uals("/floodlightActivities/")); |
| 16444 pathOffset += 22; | 16446 pathOffset += 22; |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 16484 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 16486 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 16485 var obj = new api.FloodlightActivity.fromJson(json); | 16487 var obj = new api.FloodlightActivity.fromJson(json); |
| 16486 checkFloodlightActivity(obj); | 16488 checkFloodlightActivity(obj); |
| 16487 | 16489 |
| 16488 var path = (req.url).path; | 16490 var path = (req.url).path; |
| 16489 var pathOffset = 0; | 16491 var pathOffset = 0; |
| 16490 var index; | 16492 var index; |
| 16491 var subPart; | 16493 var subPart; |
| 16492 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 16494 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 16493 pathOffset += 1; | 16495 pathOffset += 1; |
| 16494 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 16496 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 16495 pathOffset += 18; | 16497 pathOffset += 18; |
| 16496 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 16498 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 16497 pathOffset += 13; | 16499 pathOffset += 13; |
| 16498 index = path.indexOf("/floodlightActivities", pathOffset); | 16500 index = path.indexOf("/floodlightActivities", pathOffset); |
| 16499 unittest.expect(index >= 0, unittest.isTrue); | 16501 unittest.expect(index >= 0, unittest.isTrue); |
| 16500 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 16502 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 16501 pathOffset = index; | 16503 pathOffset = index; |
| 16502 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 16504 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 16503 unittest.expect(path.substring(pathOffset, pathOffset + 21), unittest.eq
uals("/floodlightActivities")); | 16505 unittest.expect(path.substring(pathOffset, pathOffset + 21), unittest.eq
uals("/floodlightActivities")); |
| 16504 pathOffset += 21; | 16506 pathOffset += 21; |
| (...skipping 26 matching lines...) Expand all Loading... |
| 16531 checkFloodlightActivity(response); | 16533 checkFloodlightActivity(response); |
| 16532 }))); | 16534 }))); |
| 16533 }); | 16535 }); |
| 16534 | 16536 |
| 16535 unittest.test("method--list", () { | 16537 unittest.test("method--list", () { |
| 16536 | 16538 |
| 16537 var mock = new HttpServerMock(); | 16539 var mock = new HttpServerMock(); |
| 16538 api.FloodlightActivitiesResourceApi res = new api.DfareportingApi(mock).fl
oodlightActivities; | 16540 api.FloodlightActivitiesResourceApi res = new api.DfareportingApi(mock).fl
oodlightActivities; |
| 16539 var arg_profileId = "foo"; | 16541 var arg_profileId = "foo"; |
| 16540 var arg_advertiserId = "foo"; | 16542 var arg_advertiserId = "foo"; |
| 16541 var arg_floodlightActivityGroupIds = buildUnnamed1768(); | 16543 var arg_floodlightActivityGroupIds = buildUnnamed342(); |
| 16542 var arg_floodlightActivityGroupName = "foo"; | 16544 var arg_floodlightActivityGroupName = "foo"; |
| 16543 var arg_floodlightActivityGroupTagString = "foo"; | 16545 var arg_floodlightActivityGroupTagString = "foo"; |
| 16544 var arg_floodlightActivityGroupType = "foo"; | 16546 var arg_floodlightActivityGroupType = "foo"; |
| 16545 var arg_floodlightConfigurationId = "foo"; | 16547 var arg_floodlightConfigurationId = "foo"; |
| 16546 var arg_ids = buildUnnamed1769(); | 16548 var arg_ids = buildUnnamed343(); |
| 16547 var arg_maxResults = 42; | 16549 var arg_maxResults = 42; |
| 16548 var arg_pageToken = "foo"; | 16550 var arg_pageToken = "foo"; |
| 16549 var arg_searchString = "foo"; | 16551 var arg_searchString = "foo"; |
| 16550 var arg_sortField = "foo"; | 16552 var arg_sortField = "foo"; |
| 16551 var arg_sortOrder = "foo"; | 16553 var arg_sortOrder = "foo"; |
| 16552 var arg_tagString = "foo"; | 16554 var arg_tagString = "foo"; |
| 16553 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 16555 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 16554 var path = (req.url).path; | 16556 var path = (req.url).path; |
| 16555 var pathOffset = 0; | 16557 var pathOffset = 0; |
| 16556 var index; | 16558 var index; |
| 16557 var subPart; | 16559 var subPart; |
| 16558 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 16560 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 16559 pathOffset += 1; | 16561 pathOffset += 1; |
| 16560 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 16562 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 16561 pathOffset += 18; | 16563 pathOffset += 18; |
| 16562 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 16564 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 16563 pathOffset += 13; | 16565 pathOffset += 13; |
| 16564 index = path.indexOf("/floodlightActivities", pathOffset); | 16566 index = path.indexOf("/floodlightActivities", pathOffset); |
| 16565 unittest.expect(index >= 0, unittest.isTrue); | 16567 unittest.expect(index >= 0, unittest.isTrue); |
| 16566 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 16568 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 16567 pathOffset = index; | 16569 pathOffset = index; |
| 16568 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 16570 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 16569 unittest.expect(path.substring(pathOffset, pathOffset + 21), unittest.eq
uals("/floodlightActivities")); | 16571 unittest.expect(path.substring(pathOffset, pathOffset + 21), unittest.eq
uals("/floodlightActivities")); |
| 16570 pathOffset += 21; | 16572 pathOffset += 21; |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 16621 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 16623 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 16622 var obj = new api.FloodlightActivity.fromJson(json); | 16624 var obj = new api.FloodlightActivity.fromJson(json); |
| 16623 checkFloodlightActivity(obj); | 16625 checkFloodlightActivity(obj); |
| 16624 | 16626 |
| 16625 var path = (req.url).path; | 16627 var path = (req.url).path; |
| 16626 var pathOffset = 0; | 16628 var pathOffset = 0; |
| 16627 var index; | 16629 var index; |
| 16628 var subPart; | 16630 var subPart; |
| 16629 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 16631 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 16630 pathOffset += 1; | 16632 pathOffset += 1; |
| 16631 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 16633 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 16632 pathOffset += 18; | 16634 pathOffset += 18; |
| 16633 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 16635 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 16634 pathOffset += 13; | 16636 pathOffset += 13; |
| 16635 index = path.indexOf("/floodlightActivities", pathOffset); | 16637 index = path.indexOf("/floodlightActivities", pathOffset); |
| 16636 unittest.expect(index >= 0, unittest.isTrue); | 16638 unittest.expect(index >= 0, unittest.isTrue); |
| 16637 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 16639 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 16638 pathOffset = index; | 16640 pathOffset = index; |
| 16639 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 16641 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 16640 unittest.expect(path.substring(pathOffset, pathOffset + 21), unittest.eq
uals("/floodlightActivities")); | 16642 unittest.expect(path.substring(pathOffset, pathOffset + 21), unittest.eq
uals("/floodlightActivities")); |
| 16641 pathOffset += 21; | 16643 pathOffset += 21; |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 16679 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 16681 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 16680 var obj = new api.FloodlightActivity.fromJson(json); | 16682 var obj = new api.FloodlightActivity.fromJson(json); |
| 16681 checkFloodlightActivity(obj); | 16683 checkFloodlightActivity(obj); |
| 16682 | 16684 |
| 16683 var path = (req.url).path; | 16685 var path = (req.url).path; |
| 16684 var pathOffset = 0; | 16686 var pathOffset = 0; |
| 16685 var index; | 16687 var index; |
| 16686 var subPart; | 16688 var subPart; |
| 16687 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 16689 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 16688 pathOffset += 1; | 16690 pathOffset += 1; |
| 16689 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 16691 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 16690 pathOffset += 18; | 16692 pathOffset += 18; |
| 16691 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 16693 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 16692 pathOffset += 13; | 16694 pathOffset += 13; |
| 16693 index = path.indexOf("/floodlightActivities", pathOffset); | 16695 index = path.indexOf("/floodlightActivities", pathOffset); |
| 16694 unittest.expect(index >= 0, unittest.isTrue); | 16696 unittest.expect(index >= 0, unittest.isTrue); |
| 16695 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 16697 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 16696 pathOffset = index; | 16698 pathOffset = index; |
| 16697 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 16699 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 16698 unittest.expect(path.substring(pathOffset, pathOffset + 21), unittest.eq
uals("/floodlightActivities")); | 16700 unittest.expect(path.substring(pathOffset, pathOffset + 21), unittest.eq
uals("/floodlightActivities")); |
| 16699 pathOffset += 21; | 16701 pathOffset += 21; |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 16737 api.FloodlightActivityGroupsResourceApi res = new api.DfareportingApi(mock
).floodlightActivityGroups; | 16739 api.FloodlightActivityGroupsResourceApi res = new api.DfareportingApi(mock
).floodlightActivityGroups; |
| 16738 var arg_profileId = "foo"; | 16740 var arg_profileId = "foo"; |
| 16739 var arg_id = "foo"; | 16741 var arg_id = "foo"; |
| 16740 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 16742 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 16741 var path = (req.url).path; | 16743 var path = (req.url).path; |
| 16742 var pathOffset = 0; | 16744 var pathOffset = 0; |
| 16743 var index; | 16745 var index; |
| 16744 var subPart; | 16746 var subPart; |
| 16745 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 16747 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 16746 pathOffset += 1; | 16748 pathOffset += 1; |
| 16747 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 16749 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 16748 pathOffset += 18; | 16750 pathOffset += 18; |
| 16749 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 16751 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 16750 pathOffset += 13; | 16752 pathOffset += 13; |
| 16751 index = path.indexOf("/floodlightActivityGroups/", pathOffset); | 16753 index = path.indexOf("/floodlightActivityGroups/", pathOffset); |
| 16752 unittest.expect(index >= 0, unittest.isTrue); | 16754 unittest.expect(index >= 0, unittest.isTrue); |
| 16753 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 16755 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 16754 pathOffset = index; | 16756 pathOffset = index; |
| 16755 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 16757 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 16756 unittest.expect(path.substring(pathOffset, pathOffset + 26), unittest.eq
uals("/floodlightActivityGroups/")); | 16758 unittest.expect(path.substring(pathOffset, pathOffset + 26), unittest.eq
uals("/floodlightActivityGroups/")); |
| 16757 pathOffset += 26; | 16759 pathOffset += 26; |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 16797 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 16799 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 16798 var obj = new api.FloodlightActivityGroup.fromJson(json); | 16800 var obj = new api.FloodlightActivityGroup.fromJson(json); |
| 16799 checkFloodlightActivityGroup(obj); | 16801 checkFloodlightActivityGroup(obj); |
| 16800 | 16802 |
| 16801 var path = (req.url).path; | 16803 var path = (req.url).path; |
| 16802 var pathOffset = 0; | 16804 var pathOffset = 0; |
| 16803 var index; | 16805 var index; |
| 16804 var subPart; | 16806 var subPart; |
| 16805 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 16807 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 16806 pathOffset += 1; | 16808 pathOffset += 1; |
| 16807 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 16809 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 16808 pathOffset += 18; | 16810 pathOffset += 18; |
| 16809 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 16811 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 16810 pathOffset += 13; | 16812 pathOffset += 13; |
| 16811 index = path.indexOf("/floodlightActivityGroups", pathOffset); | 16813 index = path.indexOf("/floodlightActivityGroups", pathOffset); |
| 16812 unittest.expect(index >= 0, unittest.isTrue); | 16814 unittest.expect(index >= 0, unittest.isTrue); |
| 16813 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 16815 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 16814 pathOffset = index; | 16816 pathOffset = index; |
| 16815 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 16817 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 16816 unittest.expect(path.substring(pathOffset, pathOffset + 25), unittest.eq
uals("/floodlightActivityGroups")); | 16818 unittest.expect(path.substring(pathOffset, pathOffset + 25), unittest.eq
uals("/floodlightActivityGroups")); |
| 16817 pathOffset += 25; | 16819 pathOffset += 25; |
| (...skipping 27 matching lines...) Expand all Loading... |
| 16845 }))); | 16847 }))); |
| 16846 }); | 16848 }); |
| 16847 | 16849 |
| 16848 unittest.test("method--list", () { | 16850 unittest.test("method--list", () { |
| 16849 | 16851 |
| 16850 var mock = new HttpServerMock(); | 16852 var mock = new HttpServerMock(); |
| 16851 api.FloodlightActivityGroupsResourceApi res = new api.DfareportingApi(mock
).floodlightActivityGroups; | 16853 api.FloodlightActivityGroupsResourceApi res = new api.DfareportingApi(mock
).floodlightActivityGroups; |
| 16852 var arg_profileId = "foo"; | 16854 var arg_profileId = "foo"; |
| 16853 var arg_advertiserId = "foo"; | 16855 var arg_advertiserId = "foo"; |
| 16854 var arg_floodlightConfigurationId = "foo"; | 16856 var arg_floodlightConfigurationId = "foo"; |
| 16855 var arg_ids = buildUnnamed1770(); | 16857 var arg_ids = buildUnnamed344(); |
| 16856 var arg_maxResults = 42; | 16858 var arg_maxResults = 42; |
| 16857 var arg_pageToken = "foo"; | 16859 var arg_pageToken = "foo"; |
| 16858 var arg_searchString = "foo"; | 16860 var arg_searchString = "foo"; |
| 16859 var arg_sortField = "foo"; | 16861 var arg_sortField = "foo"; |
| 16860 var arg_sortOrder = "foo"; | 16862 var arg_sortOrder = "foo"; |
| 16861 var arg_type = "foo"; | 16863 var arg_type = "foo"; |
| 16862 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 16864 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 16863 var path = (req.url).path; | 16865 var path = (req.url).path; |
| 16864 var pathOffset = 0; | 16866 var pathOffset = 0; |
| 16865 var index; | 16867 var index; |
| 16866 var subPart; | 16868 var subPart; |
| 16867 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 16869 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 16868 pathOffset += 1; | 16870 pathOffset += 1; |
| 16869 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 16871 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 16870 pathOffset += 18; | 16872 pathOffset += 18; |
| 16871 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 16873 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 16872 pathOffset += 13; | 16874 pathOffset += 13; |
| 16873 index = path.indexOf("/floodlightActivityGroups", pathOffset); | 16875 index = path.indexOf("/floodlightActivityGroups", pathOffset); |
| 16874 unittest.expect(index >= 0, unittest.isTrue); | 16876 unittest.expect(index >= 0, unittest.isTrue); |
| 16875 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 16877 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 16876 pathOffset = index; | 16878 pathOffset = index; |
| 16877 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 16879 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 16878 unittest.expect(path.substring(pathOffset, pathOffset + 25), unittest.eq
uals("/floodlightActivityGroups")); | 16880 unittest.expect(path.substring(pathOffset, pathOffset + 25), unittest.eq
uals("/floodlightActivityGroups")); |
| 16879 pathOffset += 25; | 16881 pathOffset += 25; |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 16926 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 16928 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 16927 var obj = new api.FloodlightActivityGroup.fromJson(json); | 16929 var obj = new api.FloodlightActivityGroup.fromJson(json); |
| 16928 checkFloodlightActivityGroup(obj); | 16930 checkFloodlightActivityGroup(obj); |
| 16929 | 16931 |
| 16930 var path = (req.url).path; | 16932 var path = (req.url).path; |
| 16931 var pathOffset = 0; | 16933 var pathOffset = 0; |
| 16932 var index; | 16934 var index; |
| 16933 var subPart; | 16935 var subPart; |
| 16934 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 16936 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 16935 pathOffset += 1; | 16937 pathOffset += 1; |
| 16936 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 16938 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 16937 pathOffset += 18; | 16939 pathOffset += 18; |
| 16938 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 16940 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 16939 pathOffset += 13; | 16941 pathOffset += 13; |
| 16940 index = path.indexOf("/floodlightActivityGroups", pathOffset); | 16942 index = path.indexOf("/floodlightActivityGroups", pathOffset); |
| 16941 unittest.expect(index >= 0, unittest.isTrue); | 16943 unittest.expect(index >= 0, unittest.isTrue); |
| 16942 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 16944 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 16943 pathOffset = index; | 16945 pathOffset = index; |
| 16944 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 16946 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 16945 unittest.expect(path.substring(pathOffset, pathOffset + 25), unittest.eq
uals("/floodlightActivityGroups")); | 16947 unittest.expect(path.substring(pathOffset, pathOffset + 25), unittest.eq
uals("/floodlightActivityGroups")); |
| 16946 pathOffset += 25; | 16948 pathOffset += 25; |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 16984 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 16986 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 16985 var obj = new api.FloodlightActivityGroup.fromJson(json); | 16987 var obj = new api.FloodlightActivityGroup.fromJson(json); |
| 16986 checkFloodlightActivityGroup(obj); | 16988 checkFloodlightActivityGroup(obj); |
| 16987 | 16989 |
| 16988 var path = (req.url).path; | 16990 var path = (req.url).path; |
| 16989 var pathOffset = 0; | 16991 var pathOffset = 0; |
| 16990 var index; | 16992 var index; |
| 16991 var subPart; | 16993 var subPart; |
| 16992 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 16994 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 16993 pathOffset += 1; | 16995 pathOffset += 1; |
| 16994 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 16996 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 16995 pathOffset += 18; | 16997 pathOffset += 18; |
| 16996 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 16998 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 16997 pathOffset += 13; | 16999 pathOffset += 13; |
| 16998 index = path.indexOf("/floodlightActivityGroups", pathOffset); | 17000 index = path.indexOf("/floodlightActivityGroups", pathOffset); |
| 16999 unittest.expect(index >= 0, unittest.isTrue); | 17001 unittest.expect(index >= 0, unittest.isTrue); |
| 17000 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 17002 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 17001 pathOffset = index; | 17003 pathOffset = index; |
| 17002 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 17004 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 17003 unittest.expect(path.substring(pathOffset, pathOffset + 25), unittest.eq
uals("/floodlightActivityGroups")); | 17005 unittest.expect(path.substring(pathOffset, pathOffset + 25), unittest.eq
uals("/floodlightActivityGroups")); |
| 17004 pathOffset += 25; | 17006 pathOffset += 25; |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 17042 api.FloodlightConfigurationsResourceApi res = new api.DfareportingApi(mock
).floodlightConfigurations; | 17044 api.FloodlightConfigurationsResourceApi res = new api.DfareportingApi(mock
).floodlightConfigurations; |
| 17043 var arg_profileId = "foo"; | 17045 var arg_profileId = "foo"; |
| 17044 var arg_id = "foo"; | 17046 var arg_id = "foo"; |
| 17045 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 17047 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 17046 var path = (req.url).path; | 17048 var path = (req.url).path; |
| 17047 var pathOffset = 0; | 17049 var pathOffset = 0; |
| 17048 var index; | 17050 var index; |
| 17049 var subPart; | 17051 var subPart; |
| 17050 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 17052 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 17051 pathOffset += 1; | 17053 pathOffset += 1; |
| 17052 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 17054 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 17053 pathOffset += 18; | 17055 pathOffset += 18; |
| 17054 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 17056 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 17055 pathOffset += 13; | 17057 pathOffset += 13; |
| 17056 index = path.indexOf("/floodlightConfigurations/", pathOffset); | 17058 index = path.indexOf("/floodlightConfigurations/", pathOffset); |
| 17057 unittest.expect(index >= 0, unittest.isTrue); | 17059 unittest.expect(index >= 0, unittest.isTrue); |
| 17058 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 17060 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 17059 pathOffset = index; | 17061 pathOffset = index; |
| 17060 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 17062 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 17061 unittest.expect(path.substring(pathOffset, pathOffset + 26), unittest.eq
uals("/floodlightConfigurations/")); | 17063 unittest.expect(path.substring(pathOffset, pathOffset + 26), unittest.eq
uals("/floodlightConfigurations/")); |
| 17062 pathOffset += 26; | 17064 pathOffset += 26; |
| (...skipping 28 matching lines...) Expand all Loading... |
| 17091 res.get(arg_profileId, arg_id).then(unittest.expectAsync(((api.FloodlightC
onfiguration response) { | 17093 res.get(arg_profileId, arg_id).then(unittest.expectAsync(((api.FloodlightC
onfiguration response) { |
| 17092 checkFloodlightConfiguration(response); | 17094 checkFloodlightConfiguration(response); |
| 17093 }))); | 17095 }))); |
| 17094 }); | 17096 }); |
| 17095 | 17097 |
| 17096 unittest.test("method--list", () { | 17098 unittest.test("method--list", () { |
| 17097 | 17099 |
| 17098 var mock = new HttpServerMock(); | 17100 var mock = new HttpServerMock(); |
| 17099 api.FloodlightConfigurationsResourceApi res = new api.DfareportingApi(mock
).floodlightConfigurations; | 17101 api.FloodlightConfigurationsResourceApi res = new api.DfareportingApi(mock
).floodlightConfigurations; |
| 17100 var arg_profileId = "foo"; | 17102 var arg_profileId = "foo"; |
| 17101 var arg_ids = buildUnnamed1771(); | 17103 var arg_ids = buildUnnamed345(); |
| 17102 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 17104 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 17103 var path = (req.url).path; | 17105 var path = (req.url).path; |
| 17104 var pathOffset = 0; | 17106 var pathOffset = 0; |
| 17105 var index; | 17107 var index; |
| 17106 var subPart; | 17108 var subPart; |
| 17107 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 17109 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 17108 pathOffset += 1; | 17110 pathOffset += 1; |
| 17109 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 17111 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 17110 pathOffset += 18; | 17112 pathOffset += 18; |
| 17111 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 17113 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 17112 pathOffset += 13; | 17114 pathOffset += 13; |
| 17113 index = path.indexOf("/floodlightConfigurations", pathOffset); | 17115 index = path.indexOf("/floodlightConfigurations", pathOffset); |
| 17114 unittest.expect(index >= 0, unittest.isTrue); | 17116 unittest.expect(index >= 0, unittest.isTrue); |
| 17115 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 17117 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 17116 pathOffset = index; | 17118 pathOffset = index; |
| 17117 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 17119 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 17118 unittest.expect(path.substring(pathOffset, pathOffset + 25), unittest.eq
uals("/floodlightConfigurations")); | 17120 unittest.expect(path.substring(pathOffset, pathOffset + 25), unittest.eq
uals("/floodlightConfigurations")); |
| 17119 pathOffset += 25; | 17121 pathOffset += 25; |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 17158 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 17160 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 17159 var obj = new api.FloodlightConfiguration.fromJson(json); | 17161 var obj = new api.FloodlightConfiguration.fromJson(json); |
| 17160 checkFloodlightConfiguration(obj); | 17162 checkFloodlightConfiguration(obj); |
| 17161 | 17163 |
| 17162 var path = (req.url).path; | 17164 var path = (req.url).path; |
| 17163 var pathOffset = 0; | 17165 var pathOffset = 0; |
| 17164 var index; | 17166 var index; |
| 17165 var subPart; | 17167 var subPart; |
| 17166 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 17168 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 17167 pathOffset += 1; | 17169 pathOffset += 1; |
| 17168 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 17170 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 17169 pathOffset += 18; | 17171 pathOffset += 18; |
| 17170 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 17172 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 17171 pathOffset += 13; | 17173 pathOffset += 13; |
| 17172 index = path.indexOf("/floodlightConfigurations", pathOffset); | 17174 index = path.indexOf("/floodlightConfigurations", pathOffset); |
| 17173 unittest.expect(index >= 0, unittest.isTrue); | 17175 unittest.expect(index >= 0, unittest.isTrue); |
| 17174 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 17176 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 17175 pathOffset = index; | 17177 pathOffset = index; |
| 17176 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 17178 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 17177 unittest.expect(path.substring(pathOffset, pathOffset + 25), unittest.eq
uals("/floodlightConfigurations")); | 17179 unittest.expect(path.substring(pathOffset, pathOffset + 25), unittest.eq
uals("/floodlightConfigurations")); |
| 17178 pathOffset += 25; | 17180 pathOffset += 25; |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 17216 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 17218 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 17217 var obj = new api.FloodlightConfiguration.fromJson(json); | 17219 var obj = new api.FloodlightConfiguration.fromJson(json); |
| 17218 checkFloodlightConfiguration(obj); | 17220 checkFloodlightConfiguration(obj); |
| 17219 | 17221 |
| 17220 var path = (req.url).path; | 17222 var path = (req.url).path; |
| 17221 var pathOffset = 0; | 17223 var pathOffset = 0; |
| 17222 var index; | 17224 var index; |
| 17223 var subPart; | 17225 var subPart; |
| 17224 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 17226 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 17225 pathOffset += 1; | 17227 pathOffset += 1; |
| 17226 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 17228 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 17227 pathOffset += 18; | 17229 pathOffset += 18; |
| 17228 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 17230 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 17229 pathOffset += 13; | 17231 pathOffset += 13; |
| 17230 index = path.indexOf("/floodlightConfigurations", pathOffset); | 17232 index = path.indexOf("/floodlightConfigurations", pathOffset); |
| 17231 unittest.expect(index >= 0, unittest.isTrue); | 17233 unittest.expect(index >= 0, unittest.isTrue); |
| 17232 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 17234 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 17233 pathOffset = index; | 17235 pathOffset = index; |
| 17234 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 17236 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 17235 unittest.expect(path.substring(pathOffset, pathOffset + 25), unittest.eq
uals("/floodlightConfigurations")); | 17237 unittest.expect(path.substring(pathOffset, pathOffset + 25), unittest.eq
uals("/floodlightConfigurations")); |
| 17236 pathOffset += 25; | 17238 pathOffset += 25; |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 17275 var arg_profileId = "foo"; | 17277 var arg_profileId = "foo"; |
| 17276 var arg_projectId = "foo"; | 17278 var arg_projectId = "foo"; |
| 17277 var arg_id = "foo"; | 17279 var arg_id = "foo"; |
| 17278 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 17280 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 17279 var path = (req.url).path; | 17281 var path = (req.url).path; |
| 17280 var pathOffset = 0; | 17282 var pathOffset = 0; |
| 17281 var index; | 17283 var index; |
| 17282 var subPart; | 17284 var subPart; |
| 17283 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 17285 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 17284 pathOffset += 1; | 17286 pathOffset += 1; |
| 17285 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 17287 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 17286 pathOffset += 18; | 17288 pathOffset += 18; |
| 17287 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 17289 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 17288 pathOffset += 13; | 17290 pathOffset += 13; |
| 17289 index = path.indexOf("/projects/", pathOffset); | 17291 index = path.indexOf("/projects/", pathOffset); |
| 17290 unittest.expect(index >= 0, unittest.isTrue); | 17292 unittest.expect(index >= 0, unittest.isTrue); |
| 17291 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 17293 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 17292 pathOffset = index; | 17294 pathOffset = index; |
| 17293 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 17295 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 17294 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("/projects/")); | 17296 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("/projects/")); |
| 17295 pathOffset += 10; | 17297 pathOffset += 10; |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 17332 checkInventoryItem(response); | 17334 checkInventoryItem(response); |
| 17333 }))); | 17335 }))); |
| 17334 }); | 17336 }); |
| 17335 | 17337 |
| 17336 unittest.test("method--list", () { | 17338 unittest.test("method--list", () { |
| 17337 | 17339 |
| 17338 var mock = new HttpServerMock(); | 17340 var mock = new HttpServerMock(); |
| 17339 api.InventoryItemsResourceApi res = new api.DfareportingApi(mock).inventor
yItems; | 17341 api.InventoryItemsResourceApi res = new api.DfareportingApi(mock).inventor
yItems; |
| 17340 var arg_profileId = "foo"; | 17342 var arg_profileId = "foo"; |
| 17341 var arg_projectId = "foo"; | 17343 var arg_projectId = "foo"; |
| 17342 var arg_ids = buildUnnamed1772(); | 17344 var arg_ids = buildUnnamed346(); |
| 17343 var arg_inPlan = true; | 17345 var arg_inPlan = true; |
| 17344 var arg_maxResults = 42; | 17346 var arg_maxResults = 42; |
| 17345 var arg_orderId = buildUnnamed1773(); | 17347 var arg_orderId = buildUnnamed347(); |
| 17346 var arg_pageToken = "foo"; | 17348 var arg_pageToken = "foo"; |
| 17347 var arg_siteId = buildUnnamed1774(); | 17349 var arg_siteId = buildUnnamed348(); |
| 17348 var arg_sortField = "foo"; | 17350 var arg_sortField = "foo"; |
| 17349 var arg_sortOrder = "foo"; | 17351 var arg_sortOrder = "foo"; |
| 17352 var arg_type = "foo"; |
| 17350 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 17353 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 17351 var path = (req.url).path; | 17354 var path = (req.url).path; |
| 17352 var pathOffset = 0; | 17355 var pathOffset = 0; |
| 17353 var index; | 17356 var index; |
| 17354 var subPart; | 17357 var subPart; |
| 17355 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 17358 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 17356 pathOffset += 1; | 17359 pathOffset += 1; |
| 17357 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 17360 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 17358 pathOffset += 18; | 17361 pathOffset += 18; |
| 17359 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 17362 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 17360 pathOffset += 13; | 17363 pathOffset += 13; |
| 17361 index = path.indexOf("/projects/", pathOffset); | 17364 index = path.indexOf("/projects/", pathOffset); |
| 17362 unittest.expect(index >= 0, unittest.isTrue); | 17365 unittest.expect(index >= 0, unittest.isTrue); |
| 17363 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 17366 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 17364 pathOffset = index; | 17367 pathOffset = index; |
| 17365 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 17368 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 17366 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("/projects/")); | 17369 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("/projects/")); |
| 17367 pathOffset += 10; | 17370 pathOffset += 10; |
| (...skipping 22 matching lines...) Expand all Loading... |
| 17390 } | 17393 } |
| 17391 } | 17394 } |
| 17392 unittest.expect(queryMap["ids"], unittest.equals(arg_ids)); | 17395 unittest.expect(queryMap["ids"], unittest.equals(arg_ids)); |
| 17393 unittest.expect(queryMap["inPlan"].first, unittest.equals("$arg_inPlan")
); | 17396 unittest.expect(queryMap["inPlan"].first, unittest.equals("$arg_inPlan")
); |
| 17394 unittest.expect(core.int.parse(queryMap["maxResults"].first), unittest.e
quals(arg_maxResults)); | 17397 unittest.expect(core.int.parse(queryMap["maxResults"].first), unittest.e
quals(arg_maxResults)); |
| 17395 unittest.expect(queryMap["orderId"], unittest.equals(arg_orderId)); | 17398 unittest.expect(queryMap["orderId"], unittest.equals(arg_orderId)); |
| 17396 unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageTok
en)); | 17399 unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageTok
en)); |
| 17397 unittest.expect(queryMap["siteId"], unittest.equals(arg_siteId)); | 17400 unittest.expect(queryMap["siteId"], unittest.equals(arg_siteId)); |
| 17398 unittest.expect(queryMap["sortField"].first, unittest.equals(arg_sortFie
ld)); | 17401 unittest.expect(queryMap["sortField"].first, unittest.equals(arg_sortFie
ld)); |
| 17399 unittest.expect(queryMap["sortOrder"].first, unittest.equals(arg_sortOrd
er)); | 17402 unittest.expect(queryMap["sortOrder"].first, unittest.equals(arg_sortOrd
er)); |
| 17403 unittest.expect(queryMap["type"].first, unittest.equals(arg_type)); |
| 17400 | 17404 |
| 17401 | 17405 |
| 17402 var h = { | 17406 var h = { |
| 17403 "content-type" : "application/json; charset=utf-8", | 17407 "content-type" : "application/json; charset=utf-8", |
| 17404 }; | 17408 }; |
| 17405 var resp = convert.JSON.encode(buildInventoryItemsListResponse()); | 17409 var resp = convert.JSON.encode(buildInventoryItemsListResponse()); |
| 17406 return new async.Future.value(stringResponse(200, h, resp)); | 17410 return new async.Future.value(stringResponse(200, h, resp)); |
| 17407 }), true); | 17411 }), true); |
| 17408 res.list(arg_profileId, arg_projectId, ids: arg_ids, inPlan: arg_inPlan, m
axResults: arg_maxResults, orderId: arg_orderId, pageToken: arg_pageToken, siteI
d: arg_siteId, sortField: arg_sortField, sortOrder: arg_sortOrder).then(unittest
.expectAsync(((api.InventoryItemsListResponse response) { | 17412 res.list(arg_profileId, arg_projectId, ids: arg_ids, inPlan: arg_inPlan, m
axResults: arg_maxResults, orderId: arg_orderId, pageToken: arg_pageToken, siteI
d: arg_siteId, sortField: arg_sortField, sortOrder: arg_sortOrder, type: arg_typ
e).then(unittest.expectAsync(((api.InventoryItemsListResponse response) { |
| 17409 checkInventoryItemsListResponse(response); | 17413 checkInventoryItemsListResponse(response); |
| 17410 }))); | 17414 }))); |
| 17411 }); | 17415 }); |
| 17412 | 17416 |
| 17413 }); | 17417 }); |
| 17414 | 17418 |
| 17415 | 17419 |
| 17416 unittest.group("resource-LandingPagesResourceApi", () { | 17420 unittest.group("resource-LandingPagesResourceApi", () { |
| 17417 unittest.test("method--delete", () { | 17421 unittest.test("method--delete", () { |
| 17418 | 17422 |
| 17419 var mock = new HttpServerMock(); | 17423 var mock = new HttpServerMock(); |
| 17420 api.LandingPagesResourceApi res = new api.DfareportingApi(mock).landingPag
es; | 17424 api.LandingPagesResourceApi res = new api.DfareportingApi(mock).landingPag
es; |
| 17421 var arg_profileId = "foo"; | 17425 var arg_profileId = "foo"; |
| 17422 var arg_campaignId = "foo"; | 17426 var arg_campaignId = "foo"; |
| 17423 var arg_id = "foo"; | 17427 var arg_id = "foo"; |
| 17424 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 17428 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 17425 var path = (req.url).path; | 17429 var path = (req.url).path; |
| 17426 var pathOffset = 0; | 17430 var pathOffset = 0; |
| 17427 var index; | 17431 var index; |
| 17428 var subPart; | 17432 var subPart; |
| 17429 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 17433 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 17430 pathOffset += 1; | 17434 pathOffset += 1; |
| 17431 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 17435 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 17432 pathOffset += 18; | 17436 pathOffset += 18; |
| 17433 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 17437 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 17434 pathOffset += 13; | 17438 pathOffset += 13; |
| 17435 index = path.indexOf("/campaigns/", pathOffset); | 17439 index = path.indexOf("/campaigns/", pathOffset); |
| 17436 unittest.expect(index >= 0, unittest.isTrue); | 17440 unittest.expect(index >= 0, unittest.isTrue); |
| 17437 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 17441 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 17438 pathOffset = index; | 17442 pathOffset = index; |
| 17439 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 17443 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 17440 unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.eq
uals("/campaigns/")); | 17444 unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.eq
uals("/campaigns/")); |
| 17441 pathOffset += 11; | 17445 pathOffset += 11; |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 17484 var arg_profileId = "foo"; | 17488 var arg_profileId = "foo"; |
| 17485 var arg_campaignId = "foo"; | 17489 var arg_campaignId = "foo"; |
| 17486 var arg_id = "foo"; | 17490 var arg_id = "foo"; |
| 17487 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 17491 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 17488 var path = (req.url).path; | 17492 var path = (req.url).path; |
| 17489 var pathOffset = 0; | 17493 var pathOffset = 0; |
| 17490 var index; | 17494 var index; |
| 17491 var subPart; | 17495 var subPart; |
| 17492 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 17496 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 17493 pathOffset += 1; | 17497 pathOffset += 1; |
| 17494 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 17498 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 17495 pathOffset += 18; | 17499 pathOffset += 18; |
| 17496 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 17500 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 17497 pathOffset += 13; | 17501 pathOffset += 13; |
| 17498 index = path.indexOf("/campaigns/", pathOffset); | 17502 index = path.indexOf("/campaigns/", pathOffset); |
| 17499 unittest.expect(index >= 0, unittest.isTrue); | 17503 unittest.expect(index >= 0, unittest.isTrue); |
| 17500 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 17504 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 17501 pathOffset = index; | 17505 pathOffset = index; |
| 17502 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 17506 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 17503 unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.eq
uals("/campaigns/")); | 17507 unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.eq
uals("/campaigns/")); |
| 17504 pathOffset += 11; | 17508 pathOffset += 11; |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 17552 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 17556 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 17553 var obj = new api.LandingPage.fromJson(json); | 17557 var obj = new api.LandingPage.fromJson(json); |
| 17554 checkLandingPage(obj); | 17558 checkLandingPage(obj); |
| 17555 | 17559 |
| 17556 var path = (req.url).path; | 17560 var path = (req.url).path; |
| 17557 var pathOffset = 0; | 17561 var pathOffset = 0; |
| 17558 var index; | 17562 var index; |
| 17559 var subPart; | 17563 var subPart; |
| 17560 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 17564 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 17561 pathOffset += 1; | 17565 pathOffset += 1; |
| 17562 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 17566 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 17563 pathOffset += 18; | 17567 pathOffset += 18; |
| 17564 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 17568 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 17565 pathOffset += 13; | 17569 pathOffset += 13; |
| 17566 index = path.indexOf("/campaigns/", pathOffset); | 17570 index = path.indexOf("/campaigns/", pathOffset); |
| 17567 unittest.expect(index >= 0, unittest.isTrue); | 17571 unittest.expect(index >= 0, unittest.isTrue); |
| 17568 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 17572 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 17569 pathOffset = index; | 17573 pathOffset = index; |
| 17570 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 17574 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 17571 unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.eq
uals("/campaigns/")); | 17575 unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.eq
uals("/campaigns/")); |
| 17572 pathOffset += 11; | 17576 pathOffset += 11; |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 17613 api.LandingPagesResourceApi res = new api.DfareportingApi(mock).landingPag
es; | 17617 api.LandingPagesResourceApi res = new api.DfareportingApi(mock).landingPag
es; |
| 17614 var arg_profileId = "foo"; | 17618 var arg_profileId = "foo"; |
| 17615 var arg_campaignId = "foo"; | 17619 var arg_campaignId = "foo"; |
| 17616 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 17620 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 17617 var path = (req.url).path; | 17621 var path = (req.url).path; |
| 17618 var pathOffset = 0; | 17622 var pathOffset = 0; |
| 17619 var index; | 17623 var index; |
| 17620 var subPart; | 17624 var subPart; |
| 17621 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 17625 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 17622 pathOffset += 1; | 17626 pathOffset += 1; |
| 17623 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 17627 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 17624 pathOffset += 18; | 17628 pathOffset += 18; |
| 17625 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 17629 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 17626 pathOffset += 13; | 17630 pathOffset += 13; |
| 17627 index = path.indexOf("/campaigns/", pathOffset); | 17631 index = path.indexOf("/campaigns/", pathOffset); |
| 17628 unittest.expect(index >= 0, unittest.isTrue); | 17632 unittest.expect(index >= 0, unittest.isTrue); |
| 17629 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 17633 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 17630 pathOffset = index; | 17634 pathOffset = index; |
| 17631 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 17635 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 17632 unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.eq
uals("/campaigns/")); | 17636 unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.eq
uals("/campaigns/")); |
| 17633 pathOffset += 11; | 17637 pathOffset += 11; |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 17679 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 17683 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 17680 var obj = new api.LandingPage.fromJson(json); | 17684 var obj = new api.LandingPage.fromJson(json); |
| 17681 checkLandingPage(obj); | 17685 checkLandingPage(obj); |
| 17682 | 17686 |
| 17683 var path = (req.url).path; | 17687 var path = (req.url).path; |
| 17684 var pathOffset = 0; | 17688 var pathOffset = 0; |
| 17685 var index; | 17689 var index; |
| 17686 var subPart; | 17690 var subPart; |
| 17687 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 17691 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 17688 pathOffset += 1; | 17692 pathOffset += 1; |
| 17689 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 17693 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 17690 pathOffset += 18; | 17694 pathOffset += 18; |
| 17691 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 17695 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 17692 pathOffset += 13; | 17696 pathOffset += 13; |
| 17693 index = path.indexOf("/campaigns/", pathOffset); | 17697 index = path.indexOf("/campaigns/", pathOffset); |
| 17694 unittest.expect(index >= 0, unittest.isTrue); | 17698 unittest.expect(index >= 0, unittest.isTrue); |
| 17695 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 17699 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 17696 pathOffset = index; | 17700 pathOffset = index; |
| 17697 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 17701 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 17698 unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.eq
uals("/campaigns/")); | 17702 unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.eq
uals("/campaigns/")); |
| 17699 pathOffset += 11; | 17703 pathOffset += 11; |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 17745 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 17749 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 17746 var obj = new api.LandingPage.fromJson(json); | 17750 var obj = new api.LandingPage.fromJson(json); |
| 17747 checkLandingPage(obj); | 17751 checkLandingPage(obj); |
| 17748 | 17752 |
| 17749 var path = (req.url).path; | 17753 var path = (req.url).path; |
| 17750 var pathOffset = 0; | 17754 var pathOffset = 0; |
| 17751 var index; | 17755 var index; |
| 17752 var subPart; | 17756 var subPart; |
| 17753 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 17757 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 17754 pathOffset += 1; | 17758 pathOffset += 1; |
| 17755 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 17759 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 17756 pathOffset += 18; | 17760 pathOffset += 18; |
| 17757 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 17761 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 17758 pathOffset += 13; | 17762 pathOffset += 13; |
| 17759 index = path.indexOf("/campaigns/", pathOffset); | 17763 index = path.indexOf("/campaigns/", pathOffset); |
| 17760 unittest.expect(index >= 0, unittest.isTrue); | 17764 unittest.expect(index >= 0, unittest.isTrue); |
| 17761 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 17765 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 17762 pathOffset = index; | 17766 pathOffset = index; |
| 17763 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 17767 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 17764 unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.eq
uals("/campaigns/")); | 17768 unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.eq
uals("/campaigns/")); |
| 17765 pathOffset += 11; | 17769 pathOffset += 11; |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 17809 var mock = new HttpServerMock(); | 17813 var mock = new HttpServerMock(); |
| 17810 api.MetrosResourceApi res = new api.DfareportingApi(mock).metros; | 17814 api.MetrosResourceApi res = new api.DfareportingApi(mock).metros; |
| 17811 var arg_profileId = "foo"; | 17815 var arg_profileId = "foo"; |
| 17812 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 17816 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 17813 var path = (req.url).path; | 17817 var path = (req.url).path; |
| 17814 var pathOffset = 0; | 17818 var pathOffset = 0; |
| 17815 var index; | 17819 var index; |
| 17816 var subPart; | 17820 var subPart; |
| 17817 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 17821 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 17818 pathOffset += 1; | 17822 pathOffset += 1; |
| 17819 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 17823 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 17820 pathOffset += 18; | 17824 pathOffset += 18; |
| 17821 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 17825 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 17822 pathOffset += 13; | 17826 pathOffset += 13; |
| 17823 index = path.indexOf("/metros", pathOffset); | 17827 index = path.indexOf("/metros", pathOffset); |
| 17824 unittest.expect(index >= 0, unittest.isTrue); | 17828 unittest.expect(index >= 0, unittest.isTrue); |
| 17825 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 17829 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 17826 pathOffset = index; | 17830 pathOffset = index; |
| 17827 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 17831 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 17828 unittest.expect(path.substring(pathOffset, pathOffset + 7), unittest.equ
als("/metros")); | 17832 unittest.expect(path.substring(pathOffset, pathOffset + 7), unittest.equ
als("/metros")); |
| 17829 pathOffset += 7; | 17833 pathOffset += 7; |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 17867 api.MobileCarriersResourceApi res = new api.DfareportingApi(mock).mobileCa
rriers; | 17871 api.MobileCarriersResourceApi res = new api.DfareportingApi(mock).mobileCa
rriers; |
| 17868 var arg_profileId = "foo"; | 17872 var arg_profileId = "foo"; |
| 17869 var arg_id = "foo"; | 17873 var arg_id = "foo"; |
| 17870 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 17874 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 17871 var path = (req.url).path; | 17875 var path = (req.url).path; |
| 17872 var pathOffset = 0; | 17876 var pathOffset = 0; |
| 17873 var index; | 17877 var index; |
| 17874 var subPart; | 17878 var subPart; |
| 17875 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 17879 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 17876 pathOffset += 1; | 17880 pathOffset += 1; |
| 17877 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 17881 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 17878 pathOffset += 18; | 17882 pathOffset += 18; |
| 17879 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 17883 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 17880 pathOffset += 13; | 17884 pathOffset += 13; |
| 17881 index = path.indexOf("/mobileCarriers/", pathOffset); | 17885 index = path.indexOf("/mobileCarriers/", pathOffset); |
| 17882 unittest.expect(index >= 0, unittest.isTrue); | 17886 unittest.expect(index >= 0, unittest.isTrue); |
| 17883 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 17887 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 17884 pathOffset = index; | 17888 pathOffset = index; |
| 17885 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 17889 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 17886 unittest.expect(path.substring(pathOffset, pathOffset + 16), unittest.eq
uals("/mobileCarriers/")); | 17890 unittest.expect(path.substring(pathOffset, pathOffset + 16), unittest.eq
uals("/mobileCarriers/")); |
| 17887 pathOffset += 16; | 17891 pathOffset += 16; |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 17923 var mock = new HttpServerMock(); | 17927 var mock = new HttpServerMock(); |
| 17924 api.MobileCarriersResourceApi res = new api.DfareportingApi(mock).mobileCa
rriers; | 17928 api.MobileCarriersResourceApi res = new api.DfareportingApi(mock).mobileCa
rriers; |
| 17925 var arg_profileId = "foo"; | 17929 var arg_profileId = "foo"; |
| 17926 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 17930 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 17927 var path = (req.url).path; | 17931 var path = (req.url).path; |
| 17928 var pathOffset = 0; | 17932 var pathOffset = 0; |
| 17929 var index; | 17933 var index; |
| 17930 var subPart; | 17934 var subPart; |
| 17931 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 17935 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 17932 pathOffset += 1; | 17936 pathOffset += 1; |
| 17933 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 17937 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 17934 pathOffset += 18; | 17938 pathOffset += 18; |
| 17935 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 17939 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 17936 pathOffset += 13; | 17940 pathOffset += 13; |
| 17937 index = path.indexOf("/mobileCarriers", pathOffset); | 17941 index = path.indexOf("/mobileCarriers", pathOffset); |
| 17938 unittest.expect(index >= 0, unittest.isTrue); | 17942 unittest.expect(index >= 0, unittest.isTrue); |
| 17939 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 17943 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 17940 pathOffset = index; | 17944 pathOffset = index; |
| 17941 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 17945 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 17942 unittest.expect(path.substring(pathOffset, pathOffset + 15), unittest.eq
uals("/mobileCarriers")); | 17946 unittest.expect(path.substring(pathOffset, pathOffset + 15), unittest.eq
uals("/mobileCarriers")); |
| 17943 pathOffset += 15; | 17947 pathOffset += 15; |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 17981 api.OperatingSystemVersionsResourceApi res = new api.DfareportingApi(mock)
.operatingSystemVersions; | 17985 api.OperatingSystemVersionsResourceApi res = new api.DfareportingApi(mock)
.operatingSystemVersions; |
| 17982 var arg_profileId = "foo"; | 17986 var arg_profileId = "foo"; |
| 17983 var arg_id = "foo"; | 17987 var arg_id = "foo"; |
| 17984 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 17988 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 17985 var path = (req.url).path; | 17989 var path = (req.url).path; |
| 17986 var pathOffset = 0; | 17990 var pathOffset = 0; |
| 17987 var index; | 17991 var index; |
| 17988 var subPart; | 17992 var subPart; |
| 17989 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 17993 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 17990 pathOffset += 1; | 17994 pathOffset += 1; |
| 17991 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 17995 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 17992 pathOffset += 18; | 17996 pathOffset += 18; |
| 17993 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 17997 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 17994 pathOffset += 13; | 17998 pathOffset += 13; |
| 17995 index = path.indexOf("/operatingSystemVersions/", pathOffset); | 17999 index = path.indexOf("/operatingSystemVersions/", pathOffset); |
| 17996 unittest.expect(index >= 0, unittest.isTrue); | 18000 unittest.expect(index >= 0, unittest.isTrue); |
| 17997 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 18001 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 17998 pathOffset = index; | 18002 pathOffset = index; |
| 17999 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 18003 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 18000 unittest.expect(path.substring(pathOffset, pathOffset + 25), unittest.eq
uals("/operatingSystemVersions/")); | 18004 unittest.expect(path.substring(pathOffset, pathOffset + 25), unittest.eq
uals("/operatingSystemVersions/")); |
| 18001 pathOffset += 25; | 18005 pathOffset += 25; |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 18037 var mock = new HttpServerMock(); | 18041 var mock = new HttpServerMock(); |
| 18038 api.OperatingSystemVersionsResourceApi res = new api.DfareportingApi(mock)
.operatingSystemVersions; | 18042 api.OperatingSystemVersionsResourceApi res = new api.DfareportingApi(mock)
.operatingSystemVersions; |
| 18039 var arg_profileId = "foo"; | 18043 var arg_profileId = "foo"; |
| 18040 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 18044 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 18041 var path = (req.url).path; | 18045 var path = (req.url).path; |
| 18042 var pathOffset = 0; | 18046 var pathOffset = 0; |
| 18043 var index; | 18047 var index; |
| 18044 var subPart; | 18048 var subPart; |
| 18045 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 18049 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 18046 pathOffset += 1; | 18050 pathOffset += 1; |
| 18047 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 18051 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 18048 pathOffset += 18; | 18052 pathOffset += 18; |
| 18049 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 18053 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 18050 pathOffset += 13; | 18054 pathOffset += 13; |
| 18051 index = path.indexOf("/operatingSystemVersions", pathOffset); | 18055 index = path.indexOf("/operatingSystemVersions", pathOffset); |
| 18052 unittest.expect(index >= 0, unittest.isTrue); | 18056 unittest.expect(index >= 0, unittest.isTrue); |
| 18053 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 18057 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 18054 pathOffset = index; | 18058 pathOffset = index; |
| 18055 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 18059 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 18056 unittest.expect(path.substring(pathOffset, pathOffset + 24), unittest.eq
uals("/operatingSystemVersions")); | 18060 unittest.expect(path.substring(pathOffset, pathOffset + 24), unittest.eq
uals("/operatingSystemVersions")); |
| 18057 pathOffset += 24; | 18061 pathOffset += 24; |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 18095 api.OperatingSystemsResourceApi res = new api.DfareportingApi(mock).operat
ingSystems; | 18099 api.OperatingSystemsResourceApi res = new api.DfareportingApi(mock).operat
ingSystems; |
| 18096 var arg_profileId = "foo"; | 18100 var arg_profileId = "foo"; |
| 18097 var arg_dartId = "foo"; | 18101 var arg_dartId = "foo"; |
| 18098 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 18102 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 18099 var path = (req.url).path; | 18103 var path = (req.url).path; |
| 18100 var pathOffset = 0; | 18104 var pathOffset = 0; |
| 18101 var index; | 18105 var index; |
| 18102 var subPart; | 18106 var subPart; |
| 18103 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 18107 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 18104 pathOffset += 1; | 18108 pathOffset += 1; |
| 18105 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 18109 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 18106 pathOffset += 18; | 18110 pathOffset += 18; |
| 18107 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 18111 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 18108 pathOffset += 13; | 18112 pathOffset += 13; |
| 18109 index = path.indexOf("/operatingSystems/", pathOffset); | 18113 index = path.indexOf("/operatingSystems/", pathOffset); |
| 18110 unittest.expect(index >= 0, unittest.isTrue); | 18114 unittest.expect(index >= 0, unittest.isTrue); |
| 18111 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 18115 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 18112 pathOffset = index; | 18116 pathOffset = index; |
| 18113 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 18117 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 18114 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("/operatingSystems/")); | 18118 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("/operatingSystems/")); |
| 18115 pathOffset += 18; | 18119 pathOffset += 18; |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 18151 var mock = new HttpServerMock(); | 18155 var mock = new HttpServerMock(); |
| 18152 api.OperatingSystemsResourceApi res = new api.DfareportingApi(mock).operat
ingSystems; | 18156 api.OperatingSystemsResourceApi res = new api.DfareportingApi(mock).operat
ingSystems; |
| 18153 var arg_profileId = "foo"; | 18157 var arg_profileId = "foo"; |
| 18154 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 18158 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 18155 var path = (req.url).path; | 18159 var path = (req.url).path; |
| 18156 var pathOffset = 0; | 18160 var pathOffset = 0; |
| 18157 var index; | 18161 var index; |
| 18158 var subPart; | 18162 var subPart; |
| 18159 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 18163 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 18160 pathOffset += 1; | 18164 pathOffset += 1; |
| 18161 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 18165 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 18162 pathOffset += 18; | 18166 pathOffset += 18; |
| 18163 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 18167 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 18164 pathOffset += 13; | 18168 pathOffset += 13; |
| 18165 index = path.indexOf("/operatingSystems", pathOffset); | 18169 index = path.indexOf("/operatingSystems", pathOffset); |
| 18166 unittest.expect(index >= 0, unittest.isTrue); | 18170 unittest.expect(index >= 0, unittest.isTrue); |
| 18167 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 18171 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 18168 pathOffset = index; | 18172 pathOffset = index; |
| 18169 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 18173 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 18170 unittest.expect(path.substring(pathOffset, pathOffset + 17), unittest.eq
uals("/operatingSystems")); | 18174 unittest.expect(path.substring(pathOffset, pathOffset + 17), unittest.eq
uals("/operatingSystems")); |
| 18171 pathOffset += 17; | 18175 pathOffset += 17; |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 18210 var arg_profileId = "foo"; | 18214 var arg_profileId = "foo"; |
| 18211 var arg_projectId = "foo"; | 18215 var arg_projectId = "foo"; |
| 18212 var arg_id = "foo"; | 18216 var arg_id = "foo"; |
| 18213 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 18217 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 18214 var path = (req.url).path; | 18218 var path = (req.url).path; |
| 18215 var pathOffset = 0; | 18219 var pathOffset = 0; |
| 18216 var index; | 18220 var index; |
| 18217 var subPart; | 18221 var subPart; |
| 18218 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 18222 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 18219 pathOffset += 1; | 18223 pathOffset += 1; |
| 18220 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 18224 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 18221 pathOffset += 18; | 18225 pathOffset += 18; |
| 18222 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 18226 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 18223 pathOffset += 13; | 18227 pathOffset += 13; |
| 18224 index = path.indexOf("/projects/", pathOffset); | 18228 index = path.indexOf("/projects/", pathOffset); |
| 18225 unittest.expect(index >= 0, unittest.isTrue); | 18229 unittest.expect(index >= 0, unittest.isTrue); |
| 18226 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 18230 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 18227 pathOffset = index; | 18231 pathOffset = index; |
| 18228 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 18232 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 18229 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("/projects/")); | 18233 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("/projects/")); |
| 18230 pathOffset += 10; | 18234 pathOffset += 10; |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 18268 }))); | 18272 }))); |
| 18269 }); | 18273 }); |
| 18270 | 18274 |
| 18271 unittest.test("method--list", () { | 18275 unittest.test("method--list", () { |
| 18272 | 18276 |
| 18273 var mock = new HttpServerMock(); | 18277 var mock = new HttpServerMock(); |
| 18274 api.OrderDocumentsResourceApi res = new api.DfareportingApi(mock).orderDoc
uments; | 18278 api.OrderDocumentsResourceApi res = new api.DfareportingApi(mock).orderDoc
uments; |
| 18275 var arg_profileId = "foo"; | 18279 var arg_profileId = "foo"; |
| 18276 var arg_projectId = "foo"; | 18280 var arg_projectId = "foo"; |
| 18277 var arg_approved = true; | 18281 var arg_approved = true; |
| 18278 var arg_ids = buildUnnamed1775(); | 18282 var arg_ids = buildUnnamed349(); |
| 18279 var arg_maxResults = 42; | 18283 var arg_maxResults = 42; |
| 18280 var arg_orderId = buildUnnamed1776(); | 18284 var arg_orderId = buildUnnamed350(); |
| 18281 var arg_pageToken = "foo"; | 18285 var arg_pageToken = "foo"; |
| 18282 var arg_searchString = "foo"; | 18286 var arg_searchString = "foo"; |
| 18283 var arg_siteId = buildUnnamed1777(); | 18287 var arg_siteId = buildUnnamed351(); |
| 18284 var arg_sortField = "foo"; | 18288 var arg_sortField = "foo"; |
| 18285 var arg_sortOrder = "foo"; | 18289 var arg_sortOrder = "foo"; |
| 18286 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 18290 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 18287 var path = (req.url).path; | 18291 var path = (req.url).path; |
| 18288 var pathOffset = 0; | 18292 var pathOffset = 0; |
| 18289 var index; | 18293 var index; |
| 18290 var subPart; | 18294 var subPart; |
| 18291 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 18295 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 18292 pathOffset += 1; | 18296 pathOffset += 1; |
| 18293 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 18297 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 18294 pathOffset += 18; | 18298 pathOffset += 18; |
| 18295 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 18299 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 18296 pathOffset += 13; | 18300 pathOffset += 13; |
| 18297 index = path.indexOf("/projects/", pathOffset); | 18301 index = path.indexOf("/projects/", pathOffset); |
| 18298 unittest.expect(index >= 0, unittest.isTrue); | 18302 unittest.expect(index >= 0, unittest.isTrue); |
| 18299 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 18303 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 18300 pathOffset = index; | 18304 pathOffset = index; |
| 18301 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 18305 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 18302 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("/projects/")); | 18306 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("/projects/")); |
| 18303 pathOffset += 10; | 18307 pathOffset += 10; |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 18358 var arg_profileId = "foo"; | 18362 var arg_profileId = "foo"; |
| 18359 var arg_projectId = "foo"; | 18363 var arg_projectId = "foo"; |
| 18360 var arg_id = "foo"; | 18364 var arg_id = "foo"; |
| 18361 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 18365 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 18362 var path = (req.url).path; | 18366 var path = (req.url).path; |
| 18363 var pathOffset = 0; | 18367 var pathOffset = 0; |
| 18364 var index; | 18368 var index; |
| 18365 var subPart; | 18369 var subPart; |
| 18366 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 18370 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 18367 pathOffset += 1; | 18371 pathOffset += 1; |
| 18368 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 18372 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 18369 pathOffset += 18; | 18373 pathOffset += 18; |
| 18370 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 18374 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 18371 pathOffset += 13; | 18375 pathOffset += 13; |
| 18372 index = path.indexOf("/projects/", pathOffset); | 18376 index = path.indexOf("/projects/", pathOffset); |
| 18373 unittest.expect(index >= 0, unittest.isTrue); | 18377 unittest.expect(index >= 0, unittest.isTrue); |
| 18374 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 18378 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 18375 pathOffset = index; | 18379 pathOffset = index; |
| 18376 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 18380 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 18377 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("/projects/")); | 18381 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("/projects/")); |
| 18378 pathOffset += 10; | 18382 pathOffset += 10; |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 18415 checkOrder(response); | 18419 checkOrder(response); |
| 18416 }))); | 18420 }))); |
| 18417 }); | 18421 }); |
| 18418 | 18422 |
| 18419 unittest.test("method--list", () { | 18423 unittest.test("method--list", () { |
| 18420 | 18424 |
| 18421 var mock = new HttpServerMock(); | 18425 var mock = new HttpServerMock(); |
| 18422 api.OrdersResourceApi res = new api.DfareportingApi(mock).orders; | 18426 api.OrdersResourceApi res = new api.DfareportingApi(mock).orders; |
| 18423 var arg_profileId = "foo"; | 18427 var arg_profileId = "foo"; |
| 18424 var arg_projectId = "foo"; | 18428 var arg_projectId = "foo"; |
| 18425 var arg_ids = buildUnnamed1778(); | 18429 var arg_ids = buildUnnamed352(); |
| 18426 var arg_maxResults = 42; | 18430 var arg_maxResults = 42; |
| 18427 var arg_pageToken = "foo"; | 18431 var arg_pageToken = "foo"; |
| 18428 var arg_searchString = "foo"; | 18432 var arg_searchString = "foo"; |
| 18429 var arg_siteId = buildUnnamed1779(); | 18433 var arg_siteId = buildUnnamed353(); |
| 18430 var arg_sortField = "foo"; | 18434 var arg_sortField = "foo"; |
| 18431 var arg_sortOrder = "foo"; | 18435 var arg_sortOrder = "foo"; |
| 18432 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 18436 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 18433 var path = (req.url).path; | 18437 var path = (req.url).path; |
| 18434 var pathOffset = 0; | 18438 var pathOffset = 0; |
| 18435 var index; | 18439 var index; |
| 18436 var subPart; | 18440 var subPart; |
| 18437 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 18441 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 18438 pathOffset += 1; | 18442 pathOffset += 1; |
| 18439 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 18443 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 18440 pathOffset += 18; | 18444 pathOffset += 18; |
| 18441 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 18445 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 18442 pathOffset += 13; | 18446 pathOffset += 13; |
| 18443 index = path.indexOf("/projects/", pathOffset); | 18447 index = path.indexOf("/projects/", pathOffset); |
| 18444 unittest.expect(index >= 0, unittest.isTrue); | 18448 unittest.expect(index >= 0, unittest.isTrue); |
| 18445 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 18449 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 18446 pathOffset = index; | 18450 pathOffset = index; |
| 18447 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 18451 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 18448 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("/projects/")); | 18452 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("/projects/")); |
| 18449 pathOffset += 10; | 18453 pathOffset += 10; |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 18501 api.PlacementGroupsResourceApi res = new api.DfareportingApi(mock).placeme
ntGroups; | 18505 api.PlacementGroupsResourceApi res = new api.DfareportingApi(mock).placeme
ntGroups; |
| 18502 var arg_profileId = "foo"; | 18506 var arg_profileId = "foo"; |
| 18503 var arg_id = "foo"; | 18507 var arg_id = "foo"; |
| 18504 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 18508 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 18505 var path = (req.url).path; | 18509 var path = (req.url).path; |
| 18506 var pathOffset = 0; | 18510 var pathOffset = 0; |
| 18507 var index; | 18511 var index; |
| 18508 var subPart; | 18512 var subPart; |
| 18509 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 18513 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 18510 pathOffset += 1; | 18514 pathOffset += 1; |
| 18511 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 18515 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 18512 pathOffset += 18; | 18516 pathOffset += 18; |
| 18513 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 18517 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 18514 pathOffset += 13; | 18518 pathOffset += 13; |
| 18515 index = path.indexOf("/placementGroups/", pathOffset); | 18519 index = path.indexOf("/placementGroups/", pathOffset); |
| 18516 unittest.expect(index >= 0, unittest.isTrue); | 18520 unittest.expect(index >= 0, unittest.isTrue); |
| 18517 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 18521 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 18518 pathOffset = index; | 18522 pathOffset = index; |
| 18519 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 18523 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 18520 unittest.expect(path.substring(pathOffset, pathOffset + 17), unittest.eq
uals("/placementGroups/")); | 18524 unittest.expect(path.substring(pathOffset, pathOffset + 17), unittest.eq
uals("/placementGroups/")); |
| 18521 pathOffset += 17; | 18525 pathOffset += 17; |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 18561 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 18565 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 18562 var obj = new api.PlacementGroup.fromJson(json); | 18566 var obj = new api.PlacementGroup.fromJson(json); |
| 18563 checkPlacementGroup(obj); | 18567 checkPlacementGroup(obj); |
| 18564 | 18568 |
| 18565 var path = (req.url).path; | 18569 var path = (req.url).path; |
| 18566 var pathOffset = 0; | 18570 var pathOffset = 0; |
| 18567 var index; | 18571 var index; |
| 18568 var subPart; | 18572 var subPart; |
| 18569 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 18573 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 18570 pathOffset += 1; | 18574 pathOffset += 1; |
| 18571 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 18575 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 18572 pathOffset += 18; | 18576 pathOffset += 18; |
| 18573 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 18577 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 18574 pathOffset += 13; | 18578 pathOffset += 13; |
| 18575 index = path.indexOf("/placementGroups", pathOffset); | 18579 index = path.indexOf("/placementGroups", pathOffset); |
| 18576 unittest.expect(index >= 0, unittest.isTrue); | 18580 unittest.expect(index >= 0, unittest.isTrue); |
| 18577 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 18581 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 18578 pathOffset = index; | 18582 pathOffset = index; |
| 18579 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 18583 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 18580 unittest.expect(path.substring(pathOffset, pathOffset + 16), unittest.eq
uals("/placementGroups")); | 18584 unittest.expect(path.substring(pathOffset, pathOffset + 16), unittest.eq
uals("/placementGroups")); |
| 18581 pathOffset += 16; | 18585 pathOffset += 16; |
| (...skipping 25 matching lines...) Expand all Loading... |
| 18607 res.insert(arg_request, arg_profileId).then(unittest.expectAsync(((api.Pla
cementGroup response) { | 18611 res.insert(arg_request, arg_profileId).then(unittest.expectAsync(((api.Pla
cementGroup response) { |
| 18608 checkPlacementGroup(response); | 18612 checkPlacementGroup(response); |
| 18609 }))); | 18613 }))); |
| 18610 }); | 18614 }); |
| 18611 | 18615 |
| 18612 unittest.test("method--list", () { | 18616 unittest.test("method--list", () { |
| 18613 | 18617 |
| 18614 var mock = new HttpServerMock(); | 18618 var mock = new HttpServerMock(); |
| 18615 api.PlacementGroupsResourceApi res = new api.DfareportingApi(mock).placeme
ntGroups; | 18619 api.PlacementGroupsResourceApi res = new api.DfareportingApi(mock).placeme
ntGroups; |
| 18616 var arg_profileId = "foo"; | 18620 var arg_profileId = "foo"; |
| 18617 var arg_advertiserIds = buildUnnamed1780(); | 18621 var arg_advertiserIds = buildUnnamed354(); |
| 18618 var arg_archived = true; | 18622 var arg_archived = true; |
| 18619 var arg_campaignIds = buildUnnamed1781(); | 18623 var arg_campaignIds = buildUnnamed355(); |
| 18620 var arg_contentCategoryIds = buildUnnamed1782(); | 18624 var arg_contentCategoryIds = buildUnnamed356(); |
| 18621 var arg_directorySiteIds = buildUnnamed1783(); | 18625 var arg_directorySiteIds = buildUnnamed357(); |
| 18622 var arg_ids = buildUnnamed1784(); | 18626 var arg_ids = buildUnnamed358(); |
| 18623 var arg_maxEndDate = "foo"; | 18627 var arg_maxEndDate = "foo"; |
| 18624 var arg_maxResults = 42; | 18628 var arg_maxResults = 42; |
| 18625 var arg_maxStartDate = "foo"; | 18629 var arg_maxStartDate = "foo"; |
| 18626 var arg_minEndDate = "foo"; | 18630 var arg_minEndDate = "foo"; |
| 18627 var arg_minStartDate = "foo"; | 18631 var arg_minStartDate = "foo"; |
| 18628 var arg_pageToken = "foo"; | 18632 var arg_pageToken = "foo"; |
| 18629 var arg_placementGroupType = "foo"; | 18633 var arg_placementGroupType = "foo"; |
| 18630 var arg_placementStrategyIds = buildUnnamed1785(); | 18634 var arg_placementStrategyIds = buildUnnamed359(); |
| 18631 var arg_pricingTypes = buildUnnamed1786(); | 18635 var arg_pricingTypes = buildUnnamed360(); |
| 18632 var arg_searchString = "foo"; | 18636 var arg_searchString = "foo"; |
| 18633 var arg_siteIds = buildUnnamed1787(); | 18637 var arg_siteIds = buildUnnamed361(); |
| 18634 var arg_sortField = "foo"; | 18638 var arg_sortField = "foo"; |
| 18635 var arg_sortOrder = "foo"; | 18639 var arg_sortOrder = "foo"; |
| 18636 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 18640 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 18637 var path = (req.url).path; | 18641 var path = (req.url).path; |
| 18638 var pathOffset = 0; | 18642 var pathOffset = 0; |
| 18639 var index; | 18643 var index; |
| 18640 var subPart; | 18644 var subPart; |
| 18641 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 18645 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 18642 pathOffset += 1; | 18646 pathOffset += 1; |
| 18643 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 18647 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 18644 pathOffset += 18; | 18648 pathOffset += 18; |
| 18645 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 18649 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 18646 pathOffset += 13; | 18650 pathOffset += 13; |
| 18647 index = path.indexOf("/placementGroups", pathOffset); | 18651 index = path.indexOf("/placementGroups", pathOffset); |
| 18648 unittest.expect(index >= 0, unittest.isTrue); | 18652 unittest.expect(index >= 0, unittest.isTrue); |
| 18649 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 18653 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 18650 pathOffset = index; | 18654 pathOffset = index; |
| 18651 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 18655 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 18652 unittest.expect(path.substring(pathOffset, pathOffset + 16), unittest.eq
uals("/placementGroups")); | 18656 unittest.expect(path.substring(pathOffset, pathOffset + 16), unittest.eq
uals("/placementGroups")); |
| 18653 pathOffset += 16; | 18657 pathOffset += 16; |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 18710 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 18714 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 18711 var obj = new api.PlacementGroup.fromJson(json); | 18715 var obj = new api.PlacementGroup.fromJson(json); |
| 18712 checkPlacementGroup(obj); | 18716 checkPlacementGroup(obj); |
| 18713 | 18717 |
| 18714 var path = (req.url).path; | 18718 var path = (req.url).path; |
| 18715 var pathOffset = 0; | 18719 var pathOffset = 0; |
| 18716 var index; | 18720 var index; |
| 18717 var subPart; | 18721 var subPart; |
| 18718 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 18722 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 18719 pathOffset += 1; | 18723 pathOffset += 1; |
| 18720 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 18724 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 18721 pathOffset += 18; | 18725 pathOffset += 18; |
| 18722 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 18726 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 18723 pathOffset += 13; | 18727 pathOffset += 13; |
| 18724 index = path.indexOf("/placementGroups", pathOffset); | 18728 index = path.indexOf("/placementGroups", pathOffset); |
| 18725 unittest.expect(index >= 0, unittest.isTrue); | 18729 unittest.expect(index >= 0, unittest.isTrue); |
| 18726 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 18730 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 18727 pathOffset = index; | 18731 pathOffset = index; |
| 18728 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 18732 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 18729 unittest.expect(path.substring(pathOffset, pathOffset + 16), unittest.eq
uals("/placementGroups")); | 18733 unittest.expect(path.substring(pathOffset, pathOffset + 16), unittest.eq
uals("/placementGroups")); |
| 18730 pathOffset += 16; | 18734 pathOffset += 16; |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 18768 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 18772 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 18769 var obj = new api.PlacementGroup.fromJson(json); | 18773 var obj = new api.PlacementGroup.fromJson(json); |
| 18770 checkPlacementGroup(obj); | 18774 checkPlacementGroup(obj); |
| 18771 | 18775 |
| 18772 var path = (req.url).path; | 18776 var path = (req.url).path; |
| 18773 var pathOffset = 0; | 18777 var pathOffset = 0; |
| 18774 var index; | 18778 var index; |
| 18775 var subPart; | 18779 var subPart; |
| 18776 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 18780 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 18777 pathOffset += 1; | 18781 pathOffset += 1; |
| 18778 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 18782 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 18779 pathOffset += 18; | 18783 pathOffset += 18; |
| 18780 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 18784 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 18781 pathOffset += 13; | 18785 pathOffset += 13; |
| 18782 index = path.indexOf("/placementGroups", pathOffset); | 18786 index = path.indexOf("/placementGroups", pathOffset); |
| 18783 unittest.expect(index >= 0, unittest.isTrue); | 18787 unittest.expect(index >= 0, unittest.isTrue); |
| 18784 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 18788 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 18785 pathOffset = index; | 18789 pathOffset = index; |
| 18786 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 18790 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 18787 unittest.expect(path.substring(pathOffset, pathOffset + 16), unittest.eq
uals("/placementGroups")); | 18791 unittest.expect(path.substring(pathOffset, pathOffset + 16), unittest.eq
uals("/placementGroups")); |
| 18788 pathOffset += 16; | 18792 pathOffset += 16; |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 18826 api.PlacementStrategiesResourceApi res = new api.DfareportingApi(mock).pla
cementStrategies; | 18830 api.PlacementStrategiesResourceApi res = new api.DfareportingApi(mock).pla
cementStrategies; |
| 18827 var arg_profileId = "foo"; | 18831 var arg_profileId = "foo"; |
| 18828 var arg_id = "foo"; | 18832 var arg_id = "foo"; |
| 18829 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 18833 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 18830 var path = (req.url).path; | 18834 var path = (req.url).path; |
| 18831 var pathOffset = 0; | 18835 var pathOffset = 0; |
| 18832 var index; | 18836 var index; |
| 18833 var subPart; | 18837 var subPart; |
| 18834 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 18838 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 18835 pathOffset += 1; | 18839 pathOffset += 1; |
| 18836 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 18840 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 18837 pathOffset += 18; | 18841 pathOffset += 18; |
| 18838 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 18842 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 18839 pathOffset += 13; | 18843 pathOffset += 13; |
| 18840 index = path.indexOf("/placementStrategies/", pathOffset); | 18844 index = path.indexOf("/placementStrategies/", pathOffset); |
| 18841 unittest.expect(index >= 0, unittest.isTrue); | 18845 unittest.expect(index >= 0, unittest.isTrue); |
| 18842 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 18846 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 18843 pathOffset = index; | 18847 pathOffset = index; |
| 18844 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 18848 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 18845 unittest.expect(path.substring(pathOffset, pathOffset + 21), unittest.eq
uals("/placementStrategies/")); | 18849 unittest.expect(path.substring(pathOffset, pathOffset + 21), unittest.eq
uals("/placementStrategies/")); |
| 18846 pathOffset += 21; | 18850 pathOffset += 21; |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 18881 api.PlacementStrategiesResourceApi res = new api.DfareportingApi(mock).pla
cementStrategies; | 18885 api.PlacementStrategiesResourceApi res = new api.DfareportingApi(mock).pla
cementStrategies; |
| 18882 var arg_profileId = "foo"; | 18886 var arg_profileId = "foo"; |
| 18883 var arg_id = "foo"; | 18887 var arg_id = "foo"; |
| 18884 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 18888 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 18885 var path = (req.url).path; | 18889 var path = (req.url).path; |
| 18886 var pathOffset = 0; | 18890 var pathOffset = 0; |
| 18887 var index; | 18891 var index; |
| 18888 var subPart; | 18892 var subPart; |
| 18889 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 18893 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 18890 pathOffset += 1; | 18894 pathOffset += 1; |
| 18891 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 18895 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 18892 pathOffset += 18; | 18896 pathOffset += 18; |
| 18893 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 18897 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 18894 pathOffset += 13; | 18898 pathOffset += 13; |
| 18895 index = path.indexOf("/placementStrategies/", pathOffset); | 18899 index = path.indexOf("/placementStrategies/", pathOffset); |
| 18896 unittest.expect(index >= 0, unittest.isTrue); | 18900 unittest.expect(index >= 0, unittest.isTrue); |
| 18897 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 18901 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 18898 pathOffset = index; | 18902 pathOffset = index; |
| 18899 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 18903 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 18900 unittest.expect(path.substring(pathOffset, pathOffset + 21), unittest.eq
uals("/placementStrategies/")); | 18904 unittest.expect(path.substring(pathOffset, pathOffset + 21), unittest.eq
uals("/placementStrategies/")); |
| 18901 pathOffset += 21; | 18905 pathOffset += 21; |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 18941 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 18945 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 18942 var obj = new api.PlacementStrategy.fromJson(json); | 18946 var obj = new api.PlacementStrategy.fromJson(json); |
| 18943 checkPlacementStrategy(obj); | 18947 checkPlacementStrategy(obj); |
| 18944 | 18948 |
| 18945 var path = (req.url).path; | 18949 var path = (req.url).path; |
| 18946 var pathOffset = 0; | 18950 var pathOffset = 0; |
| 18947 var index; | 18951 var index; |
| 18948 var subPart; | 18952 var subPart; |
| 18949 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 18953 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 18950 pathOffset += 1; | 18954 pathOffset += 1; |
| 18951 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 18955 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 18952 pathOffset += 18; | 18956 pathOffset += 18; |
| 18953 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 18957 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 18954 pathOffset += 13; | 18958 pathOffset += 13; |
| 18955 index = path.indexOf("/placementStrategies", pathOffset); | 18959 index = path.indexOf("/placementStrategies", pathOffset); |
| 18956 unittest.expect(index >= 0, unittest.isTrue); | 18960 unittest.expect(index >= 0, unittest.isTrue); |
| 18957 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 18961 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 18958 pathOffset = index; | 18962 pathOffset = index; |
| 18959 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 18963 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 18960 unittest.expect(path.substring(pathOffset, pathOffset + 20), unittest.eq
uals("/placementStrategies")); | 18964 unittest.expect(path.substring(pathOffset, pathOffset + 20), unittest.eq
uals("/placementStrategies")); |
| 18961 pathOffset += 20; | 18965 pathOffset += 20; |
| (...skipping 25 matching lines...) Expand all Loading... |
| 18987 res.insert(arg_request, arg_profileId).then(unittest.expectAsync(((api.Pla
cementStrategy response) { | 18991 res.insert(arg_request, arg_profileId).then(unittest.expectAsync(((api.Pla
cementStrategy response) { |
| 18988 checkPlacementStrategy(response); | 18992 checkPlacementStrategy(response); |
| 18989 }))); | 18993 }))); |
| 18990 }); | 18994 }); |
| 18991 | 18995 |
| 18992 unittest.test("method--list", () { | 18996 unittest.test("method--list", () { |
| 18993 | 18997 |
| 18994 var mock = new HttpServerMock(); | 18998 var mock = new HttpServerMock(); |
| 18995 api.PlacementStrategiesResourceApi res = new api.DfareportingApi(mock).pla
cementStrategies; | 18999 api.PlacementStrategiesResourceApi res = new api.DfareportingApi(mock).pla
cementStrategies; |
| 18996 var arg_profileId = "foo"; | 19000 var arg_profileId = "foo"; |
| 18997 var arg_ids = buildUnnamed1788(); | 19001 var arg_ids = buildUnnamed362(); |
| 18998 var arg_maxResults = 42; | 19002 var arg_maxResults = 42; |
| 18999 var arg_pageToken = "foo"; | 19003 var arg_pageToken = "foo"; |
| 19000 var arg_searchString = "foo"; | 19004 var arg_searchString = "foo"; |
| 19001 var arg_sortField = "foo"; | 19005 var arg_sortField = "foo"; |
| 19002 var arg_sortOrder = "foo"; | 19006 var arg_sortOrder = "foo"; |
| 19003 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 19007 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 19004 var path = (req.url).path; | 19008 var path = (req.url).path; |
| 19005 var pathOffset = 0; | 19009 var pathOffset = 0; |
| 19006 var index; | 19010 var index; |
| 19007 var subPart; | 19011 var subPart; |
| 19008 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 19012 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 19009 pathOffset += 1; | 19013 pathOffset += 1; |
| 19010 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 19014 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 19011 pathOffset += 18; | 19015 pathOffset += 18; |
| 19012 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 19016 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 19013 pathOffset += 13; | 19017 pathOffset += 13; |
| 19014 index = path.indexOf("/placementStrategies", pathOffset); | 19018 index = path.indexOf("/placementStrategies", pathOffset); |
| 19015 unittest.expect(index >= 0, unittest.isTrue); | 19019 unittest.expect(index >= 0, unittest.isTrue); |
| 19016 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 19020 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 19017 pathOffset = index; | 19021 pathOffset = index; |
| 19018 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 19022 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 19019 unittest.expect(path.substring(pathOffset, pathOffset + 20), unittest.eq
uals("/placementStrategies")); | 19023 unittest.expect(path.substring(pathOffset, pathOffset + 20), unittest.eq
uals("/placementStrategies")); |
| 19020 pathOffset += 20; | 19024 pathOffset += 20; |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 19064 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 19068 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 19065 var obj = new api.PlacementStrategy.fromJson(json); | 19069 var obj = new api.PlacementStrategy.fromJson(json); |
| 19066 checkPlacementStrategy(obj); | 19070 checkPlacementStrategy(obj); |
| 19067 | 19071 |
| 19068 var path = (req.url).path; | 19072 var path = (req.url).path; |
| 19069 var pathOffset = 0; | 19073 var pathOffset = 0; |
| 19070 var index; | 19074 var index; |
| 19071 var subPart; | 19075 var subPart; |
| 19072 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 19076 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 19073 pathOffset += 1; | 19077 pathOffset += 1; |
| 19074 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 19078 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 19075 pathOffset += 18; | 19079 pathOffset += 18; |
| 19076 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 19080 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 19077 pathOffset += 13; | 19081 pathOffset += 13; |
| 19078 index = path.indexOf("/placementStrategies", pathOffset); | 19082 index = path.indexOf("/placementStrategies", pathOffset); |
| 19079 unittest.expect(index >= 0, unittest.isTrue); | 19083 unittest.expect(index >= 0, unittest.isTrue); |
| 19080 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 19084 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 19081 pathOffset = index; | 19085 pathOffset = index; |
| 19082 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 19086 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 19083 unittest.expect(path.substring(pathOffset, pathOffset + 20), unittest.eq
uals("/placementStrategies")); | 19087 unittest.expect(path.substring(pathOffset, pathOffset + 20), unittest.eq
uals("/placementStrategies")); |
| 19084 pathOffset += 20; | 19088 pathOffset += 20; |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 19122 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 19126 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 19123 var obj = new api.PlacementStrategy.fromJson(json); | 19127 var obj = new api.PlacementStrategy.fromJson(json); |
| 19124 checkPlacementStrategy(obj); | 19128 checkPlacementStrategy(obj); |
| 19125 | 19129 |
| 19126 var path = (req.url).path; | 19130 var path = (req.url).path; |
| 19127 var pathOffset = 0; | 19131 var pathOffset = 0; |
| 19128 var index; | 19132 var index; |
| 19129 var subPart; | 19133 var subPart; |
| 19130 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 19134 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 19131 pathOffset += 1; | 19135 pathOffset += 1; |
| 19132 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 19136 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 19133 pathOffset += 18; | 19137 pathOffset += 18; |
| 19134 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 19138 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 19135 pathOffset += 13; | 19139 pathOffset += 13; |
| 19136 index = path.indexOf("/placementStrategies", pathOffset); | 19140 index = path.indexOf("/placementStrategies", pathOffset); |
| 19137 unittest.expect(index >= 0, unittest.isTrue); | 19141 unittest.expect(index >= 0, unittest.isTrue); |
| 19138 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 19142 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 19139 pathOffset = index; | 19143 pathOffset = index; |
| 19140 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 19144 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 19141 unittest.expect(path.substring(pathOffset, pathOffset + 20), unittest.eq
uals("/placementStrategies")); | 19145 unittest.expect(path.substring(pathOffset, pathOffset + 20), unittest.eq
uals("/placementStrategies")); |
| 19142 pathOffset += 20; | 19146 pathOffset += 20; |
| (...skipping 30 matching lines...) Expand all Loading... |
| 19173 }); | 19177 }); |
| 19174 | 19178 |
| 19175 | 19179 |
| 19176 unittest.group("resource-PlacementsResourceApi", () { | 19180 unittest.group("resource-PlacementsResourceApi", () { |
| 19177 unittest.test("method--generatetags", () { | 19181 unittest.test("method--generatetags", () { |
| 19178 | 19182 |
| 19179 var mock = new HttpServerMock(); | 19183 var mock = new HttpServerMock(); |
| 19180 api.PlacementsResourceApi res = new api.DfareportingApi(mock).placements; | 19184 api.PlacementsResourceApi res = new api.DfareportingApi(mock).placements; |
| 19181 var arg_profileId = "foo"; | 19185 var arg_profileId = "foo"; |
| 19182 var arg_campaignId = "foo"; | 19186 var arg_campaignId = "foo"; |
| 19183 var arg_placementIds = buildUnnamed1789(); | 19187 var arg_placementIds = buildUnnamed363(); |
| 19184 var arg_tagFormats = buildUnnamed1790(); | 19188 var arg_tagFormats = buildUnnamed364(); |
| 19185 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 19189 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 19186 var path = (req.url).path; | 19190 var path = (req.url).path; |
| 19187 var pathOffset = 0; | 19191 var pathOffset = 0; |
| 19188 var index; | 19192 var index; |
| 19189 var subPart; | 19193 var subPart; |
| 19190 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 19194 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 19191 pathOffset += 1; | 19195 pathOffset += 1; |
| 19192 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 19196 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 19193 pathOffset += 18; | 19197 pathOffset += 18; |
| 19194 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 19198 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 19195 pathOffset += 13; | 19199 pathOffset += 13; |
| 19196 index = path.indexOf("/placements/generatetags", pathOffset); | 19200 index = path.indexOf("/placements/generatetags", pathOffset); |
| 19197 unittest.expect(index >= 0, unittest.isTrue); | 19201 unittest.expect(index >= 0, unittest.isTrue); |
| 19198 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 19202 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 19199 pathOffset = index; | 19203 pathOffset = index; |
| 19200 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 19204 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 19201 unittest.expect(path.substring(pathOffset, pathOffset + 24), unittest.eq
uals("/placements/generatetags")); | 19205 unittest.expect(path.substring(pathOffset, pathOffset + 24), unittest.eq
uals("/placements/generatetags")); |
| 19202 pathOffset += 24; | 19206 pathOffset += 24; |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 19239 api.PlacementsResourceApi res = new api.DfareportingApi(mock).placements; | 19243 api.PlacementsResourceApi res = new api.DfareportingApi(mock).placements; |
| 19240 var arg_profileId = "foo"; | 19244 var arg_profileId = "foo"; |
| 19241 var arg_id = "foo"; | 19245 var arg_id = "foo"; |
| 19242 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 19246 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 19243 var path = (req.url).path; | 19247 var path = (req.url).path; |
| 19244 var pathOffset = 0; | 19248 var pathOffset = 0; |
| 19245 var index; | 19249 var index; |
| 19246 var subPart; | 19250 var subPart; |
| 19247 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 19251 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 19248 pathOffset += 1; | 19252 pathOffset += 1; |
| 19249 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 19253 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 19250 pathOffset += 18; | 19254 pathOffset += 18; |
| 19251 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 19255 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 19252 pathOffset += 13; | 19256 pathOffset += 13; |
| 19253 index = path.indexOf("/placements/", pathOffset); | 19257 index = path.indexOf("/placements/", pathOffset); |
| 19254 unittest.expect(index >= 0, unittest.isTrue); | 19258 unittest.expect(index >= 0, unittest.isTrue); |
| 19255 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 19259 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 19256 pathOffset = index; | 19260 pathOffset = index; |
| 19257 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 19261 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 19258 unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.eq
uals("/placements/")); | 19262 unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.eq
uals("/placements/")); |
| 19259 pathOffset += 12; | 19263 pathOffset += 12; |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 19299 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 19303 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 19300 var obj = new api.Placement.fromJson(json); | 19304 var obj = new api.Placement.fromJson(json); |
| 19301 checkPlacement(obj); | 19305 checkPlacement(obj); |
| 19302 | 19306 |
| 19303 var path = (req.url).path; | 19307 var path = (req.url).path; |
| 19304 var pathOffset = 0; | 19308 var pathOffset = 0; |
| 19305 var index; | 19309 var index; |
| 19306 var subPart; | 19310 var subPart; |
| 19307 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 19311 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 19308 pathOffset += 1; | 19312 pathOffset += 1; |
| 19309 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 19313 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 19310 pathOffset += 18; | 19314 pathOffset += 18; |
| 19311 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 19315 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 19312 pathOffset += 13; | 19316 pathOffset += 13; |
| 19313 index = path.indexOf("/placements", pathOffset); | 19317 index = path.indexOf("/placements", pathOffset); |
| 19314 unittest.expect(index >= 0, unittest.isTrue); | 19318 unittest.expect(index >= 0, unittest.isTrue); |
| 19315 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 19319 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 19316 pathOffset = index; | 19320 pathOffset = index; |
| 19317 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 19321 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 19318 unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.eq
uals("/placements")); | 19322 unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.eq
uals("/placements")); |
| 19319 pathOffset += 11; | 19323 pathOffset += 11; |
| (...skipping 25 matching lines...) Expand all Loading... |
| 19345 res.insert(arg_request, arg_profileId).then(unittest.expectAsync(((api.Pla
cement response) { | 19349 res.insert(arg_request, arg_profileId).then(unittest.expectAsync(((api.Pla
cement response) { |
| 19346 checkPlacement(response); | 19350 checkPlacement(response); |
| 19347 }))); | 19351 }))); |
| 19348 }); | 19352 }); |
| 19349 | 19353 |
| 19350 unittest.test("method--list", () { | 19354 unittest.test("method--list", () { |
| 19351 | 19355 |
| 19352 var mock = new HttpServerMock(); | 19356 var mock = new HttpServerMock(); |
| 19353 api.PlacementsResourceApi res = new api.DfareportingApi(mock).placements; | 19357 api.PlacementsResourceApi res = new api.DfareportingApi(mock).placements; |
| 19354 var arg_profileId = "foo"; | 19358 var arg_profileId = "foo"; |
| 19355 var arg_advertiserIds = buildUnnamed1791(); | 19359 var arg_advertiserIds = buildUnnamed365(); |
| 19356 var arg_archived = true; | 19360 var arg_archived = true; |
| 19357 var arg_campaignIds = buildUnnamed1792(); | 19361 var arg_campaignIds = buildUnnamed366(); |
| 19358 var arg_compatibilities = buildUnnamed1793(); | 19362 var arg_compatibilities = buildUnnamed367(); |
| 19359 var arg_contentCategoryIds = buildUnnamed1794(); | 19363 var arg_contentCategoryIds = buildUnnamed368(); |
| 19360 var arg_directorySiteIds = buildUnnamed1795(); | 19364 var arg_directorySiteIds = buildUnnamed369(); |
| 19361 var arg_groupIds = buildUnnamed1796(); | 19365 var arg_groupIds = buildUnnamed370(); |
| 19362 var arg_ids = buildUnnamed1797(); | 19366 var arg_ids = buildUnnamed371(); |
| 19363 var arg_maxEndDate = "foo"; | 19367 var arg_maxEndDate = "foo"; |
| 19364 var arg_maxResults = 42; | 19368 var arg_maxResults = 42; |
| 19365 var arg_maxStartDate = "foo"; | 19369 var arg_maxStartDate = "foo"; |
| 19366 var arg_minEndDate = "foo"; | 19370 var arg_minEndDate = "foo"; |
| 19367 var arg_minStartDate = "foo"; | 19371 var arg_minStartDate = "foo"; |
| 19368 var arg_pageToken = "foo"; | 19372 var arg_pageToken = "foo"; |
| 19369 var arg_paymentSource = "foo"; | 19373 var arg_paymentSource = "foo"; |
| 19370 var arg_placementStrategyIds = buildUnnamed1798(); | 19374 var arg_placementStrategyIds = buildUnnamed372(); |
| 19371 var arg_pricingTypes = buildUnnamed1799(); | 19375 var arg_pricingTypes = buildUnnamed373(); |
| 19372 var arg_searchString = "foo"; | 19376 var arg_searchString = "foo"; |
| 19373 var arg_siteIds = buildUnnamed1800(); | 19377 var arg_siteIds = buildUnnamed374(); |
| 19374 var arg_sizeIds = buildUnnamed1801(); | 19378 var arg_sizeIds = buildUnnamed375(); |
| 19375 var arg_sortField = "foo"; | 19379 var arg_sortField = "foo"; |
| 19376 var arg_sortOrder = "foo"; | 19380 var arg_sortOrder = "foo"; |
| 19377 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 19381 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 19378 var path = (req.url).path; | 19382 var path = (req.url).path; |
| 19379 var pathOffset = 0; | 19383 var pathOffset = 0; |
| 19380 var index; | 19384 var index; |
| 19381 var subPart; | 19385 var subPart; |
| 19382 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 19386 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 19383 pathOffset += 1; | 19387 pathOffset += 1; |
| 19384 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 19388 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 19385 pathOffset += 18; | 19389 pathOffset += 18; |
| 19386 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 19390 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 19387 pathOffset += 13; | 19391 pathOffset += 13; |
| 19388 index = path.indexOf("/placements", pathOffset); | 19392 index = path.indexOf("/placements", pathOffset); |
| 19389 unittest.expect(index >= 0, unittest.isTrue); | 19393 unittest.expect(index >= 0, unittest.isTrue); |
| 19390 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 19394 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 19391 pathOffset = index; | 19395 pathOffset = index; |
| 19392 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 19396 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 19393 unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.eq
uals("/placements")); | 19397 unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.eq
uals("/placements")); |
| 19394 pathOffset += 11; | 19398 pathOffset += 11; |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 19454 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 19458 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 19455 var obj = new api.Placement.fromJson(json); | 19459 var obj = new api.Placement.fromJson(json); |
| 19456 checkPlacement(obj); | 19460 checkPlacement(obj); |
| 19457 | 19461 |
| 19458 var path = (req.url).path; | 19462 var path = (req.url).path; |
| 19459 var pathOffset = 0; | 19463 var pathOffset = 0; |
| 19460 var index; | 19464 var index; |
| 19461 var subPart; | 19465 var subPart; |
| 19462 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 19466 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 19463 pathOffset += 1; | 19467 pathOffset += 1; |
| 19464 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 19468 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 19465 pathOffset += 18; | 19469 pathOffset += 18; |
| 19466 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 19470 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 19467 pathOffset += 13; | 19471 pathOffset += 13; |
| 19468 index = path.indexOf("/placements", pathOffset); | 19472 index = path.indexOf("/placements", pathOffset); |
| 19469 unittest.expect(index >= 0, unittest.isTrue); | 19473 unittest.expect(index >= 0, unittest.isTrue); |
| 19470 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 19474 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 19471 pathOffset = index; | 19475 pathOffset = index; |
| 19472 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 19476 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 19473 unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.eq
uals("/placements")); | 19477 unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.eq
uals("/placements")); |
| 19474 pathOffset += 11; | 19478 pathOffset += 11; |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 19512 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 19516 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 19513 var obj = new api.Placement.fromJson(json); | 19517 var obj = new api.Placement.fromJson(json); |
| 19514 checkPlacement(obj); | 19518 checkPlacement(obj); |
| 19515 | 19519 |
| 19516 var path = (req.url).path; | 19520 var path = (req.url).path; |
| 19517 var pathOffset = 0; | 19521 var pathOffset = 0; |
| 19518 var index; | 19522 var index; |
| 19519 var subPart; | 19523 var subPart; |
| 19520 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 19524 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 19521 pathOffset += 1; | 19525 pathOffset += 1; |
| 19522 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 19526 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 19523 pathOffset += 18; | 19527 pathOffset += 18; |
| 19524 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 19528 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 19525 pathOffset += 13; | 19529 pathOffset += 13; |
| 19526 index = path.indexOf("/placements", pathOffset); | 19530 index = path.indexOf("/placements", pathOffset); |
| 19527 unittest.expect(index >= 0, unittest.isTrue); | 19531 unittest.expect(index >= 0, unittest.isTrue); |
| 19528 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 19532 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 19529 pathOffset = index; | 19533 pathOffset = index; |
| 19530 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 19534 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 19531 unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.eq
uals("/placements")); | 19535 unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.eq
uals("/placements")); |
| 19532 pathOffset += 11; | 19536 pathOffset += 11; |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 19570 api.PlatformTypesResourceApi res = new api.DfareportingApi(mock).platformT
ypes; | 19574 api.PlatformTypesResourceApi res = new api.DfareportingApi(mock).platformT
ypes; |
| 19571 var arg_profileId = "foo"; | 19575 var arg_profileId = "foo"; |
| 19572 var arg_id = "foo"; | 19576 var arg_id = "foo"; |
| 19573 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 19577 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 19574 var path = (req.url).path; | 19578 var path = (req.url).path; |
| 19575 var pathOffset = 0; | 19579 var pathOffset = 0; |
| 19576 var index; | 19580 var index; |
| 19577 var subPart; | 19581 var subPart; |
| 19578 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 19582 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 19579 pathOffset += 1; | 19583 pathOffset += 1; |
| 19580 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 19584 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 19581 pathOffset += 18; | 19585 pathOffset += 18; |
| 19582 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 19586 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 19583 pathOffset += 13; | 19587 pathOffset += 13; |
| 19584 index = path.indexOf("/platformTypes/", pathOffset); | 19588 index = path.indexOf("/platformTypes/", pathOffset); |
| 19585 unittest.expect(index >= 0, unittest.isTrue); | 19589 unittest.expect(index >= 0, unittest.isTrue); |
| 19586 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 19590 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 19587 pathOffset = index; | 19591 pathOffset = index; |
| 19588 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 19592 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 19589 unittest.expect(path.substring(pathOffset, pathOffset + 15), unittest.eq
uals("/platformTypes/")); | 19593 unittest.expect(path.substring(pathOffset, pathOffset + 15), unittest.eq
uals("/platformTypes/")); |
| 19590 pathOffset += 15; | 19594 pathOffset += 15; |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 19626 var mock = new HttpServerMock(); | 19630 var mock = new HttpServerMock(); |
| 19627 api.PlatformTypesResourceApi res = new api.DfareportingApi(mock).platformT
ypes; | 19631 api.PlatformTypesResourceApi res = new api.DfareportingApi(mock).platformT
ypes; |
| 19628 var arg_profileId = "foo"; | 19632 var arg_profileId = "foo"; |
| 19629 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 19633 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 19630 var path = (req.url).path; | 19634 var path = (req.url).path; |
| 19631 var pathOffset = 0; | 19635 var pathOffset = 0; |
| 19632 var index; | 19636 var index; |
| 19633 var subPart; | 19637 var subPart; |
| 19634 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 19638 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 19635 pathOffset += 1; | 19639 pathOffset += 1; |
| 19636 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 19640 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 19637 pathOffset += 18; | 19641 pathOffset += 18; |
| 19638 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 19642 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 19639 pathOffset += 13; | 19643 pathOffset += 13; |
| 19640 index = path.indexOf("/platformTypes", pathOffset); | 19644 index = path.indexOf("/platformTypes", pathOffset); |
| 19641 unittest.expect(index >= 0, unittest.isTrue); | 19645 unittest.expect(index >= 0, unittest.isTrue); |
| 19642 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 19646 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 19643 pathOffset = index; | 19647 pathOffset = index; |
| 19644 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 19648 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 19645 unittest.expect(path.substring(pathOffset, pathOffset + 14), unittest.eq
uals("/platformTypes")); | 19649 unittest.expect(path.substring(pathOffset, pathOffset + 14), unittest.eq
uals("/platformTypes")); |
| 19646 pathOffset += 14; | 19650 pathOffset += 14; |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 19684 api.PostalCodesResourceApi res = new api.DfareportingApi(mock).postalCodes
; | 19688 api.PostalCodesResourceApi res = new api.DfareportingApi(mock).postalCodes
; |
| 19685 var arg_profileId = "foo"; | 19689 var arg_profileId = "foo"; |
| 19686 var arg_code = "foo"; | 19690 var arg_code = "foo"; |
| 19687 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 19691 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 19688 var path = (req.url).path; | 19692 var path = (req.url).path; |
| 19689 var pathOffset = 0; | 19693 var pathOffset = 0; |
| 19690 var index; | 19694 var index; |
| 19691 var subPart; | 19695 var subPart; |
| 19692 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 19696 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 19693 pathOffset += 1; | 19697 pathOffset += 1; |
| 19694 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 19698 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 19695 pathOffset += 18; | 19699 pathOffset += 18; |
| 19696 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 19700 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 19697 pathOffset += 13; | 19701 pathOffset += 13; |
| 19698 index = path.indexOf("/postalCodes/", pathOffset); | 19702 index = path.indexOf("/postalCodes/", pathOffset); |
| 19699 unittest.expect(index >= 0, unittest.isTrue); | 19703 unittest.expect(index >= 0, unittest.isTrue); |
| 19700 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 19704 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 19701 pathOffset = index; | 19705 pathOffset = index; |
| 19702 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 19706 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 19703 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("/postalCodes/")); | 19707 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("/postalCodes/")); |
| 19704 pathOffset += 13; | 19708 pathOffset += 13; |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 19740 var mock = new HttpServerMock(); | 19744 var mock = new HttpServerMock(); |
| 19741 api.PostalCodesResourceApi res = new api.DfareportingApi(mock).postalCodes
; | 19745 api.PostalCodesResourceApi res = new api.DfareportingApi(mock).postalCodes
; |
| 19742 var arg_profileId = "foo"; | 19746 var arg_profileId = "foo"; |
| 19743 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 19747 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 19744 var path = (req.url).path; | 19748 var path = (req.url).path; |
| 19745 var pathOffset = 0; | 19749 var pathOffset = 0; |
| 19746 var index; | 19750 var index; |
| 19747 var subPart; | 19751 var subPart; |
| 19748 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 19752 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 19749 pathOffset += 1; | 19753 pathOffset += 1; |
| 19750 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 19754 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 19751 pathOffset += 18; | 19755 pathOffset += 18; |
| 19752 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 19756 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 19753 pathOffset += 13; | 19757 pathOffset += 13; |
| 19754 index = path.indexOf("/postalCodes", pathOffset); | 19758 index = path.indexOf("/postalCodes", pathOffset); |
| 19755 unittest.expect(index >= 0, unittest.isTrue); | 19759 unittest.expect(index >= 0, unittest.isTrue); |
| 19756 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 19760 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 19757 pathOffset = index; | 19761 pathOffset = index; |
| 19758 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 19762 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 19759 unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.eq
uals("/postalCodes")); | 19763 unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.eq
uals("/postalCodes")); |
| 19760 pathOffset += 12; | 19764 pathOffset += 12; |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 19798 api.ProjectsResourceApi res = new api.DfareportingApi(mock).projects; | 19802 api.ProjectsResourceApi res = new api.DfareportingApi(mock).projects; |
| 19799 var arg_profileId = "foo"; | 19803 var arg_profileId = "foo"; |
| 19800 var arg_id = "foo"; | 19804 var arg_id = "foo"; |
| 19801 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 19805 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 19802 var path = (req.url).path; | 19806 var path = (req.url).path; |
| 19803 var pathOffset = 0; | 19807 var pathOffset = 0; |
| 19804 var index; | 19808 var index; |
| 19805 var subPart; | 19809 var subPart; |
| 19806 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 19810 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 19807 pathOffset += 1; | 19811 pathOffset += 1; |
| 19808 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 19812 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 19809 pathOffset += 18; | 19813 pathOffset += 18; |
| 19810 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 19814 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 19811 pathOffset += 13; | 19815 pathOffset += 13; |
| 19812 index = path.indexOf("/projects/", pathOffset); | 19816 index = path.indexOf("/projects/", pathOffset); |
| 19813 unittest.expect(index >= 0, unittest.isTrue); | 19817 unittest.expect(index >= 0, unittest.isTrue); |
| 19814 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 19818 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 19815 pathOffset = index; | 19819 pathOffset = index; |
| 19816 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 19820 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 19817 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("/projects/")); | 19821 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("/projects/")); |
| 19818 pathOffset += 10; | 19822 pathOffset += 10; |
| (...skipping 28 matching lines...) Expand all Loading... |
| 19847 res.get(arg_profileId, arg_id).then(unittest.expectAsync(((api.Project res
ponse) { | 19851 res.get(arg_profileId, arg_id).then(unittest.expectAsync(((api.Project res
ponse) { |
| 19848 checkProject(response); | 19852 checkProject(response); |
| 19849 }))); | 19853 }))); |
| 19850 }); | 19854 }); |
| 19851 | 19855 |
| 19852 unittest.test("method--list", () { | 19856 unittest.test("method--list", () { |
| 19853 | 19857 |
| 19854 var mock = new HttpServerMock(); | 19858 var mock = new HttpServerMock(); |
| 19855 api.ProjectsResourceApi res = new api.DfareportingApi(mock).projects; | 19859 api.ProjectsResourceApi res = new api.DfareportingApi(mock).projects; |
| 19856 var arg_profileId = "foo"; | 19860 var arg_profileId = "foo"; |
| 19857 var arg_advertiserIds = buildUnnamed1802(); | 19861 var arg_advertiserIds = buildUnnamed376(); |
| 19858 var arg_ids = buildUnnamed1803(); | 19862 var arg_ids = buildUnnamed377(); |
| 19859 var arg_maxResults = 42; | 19863 var arg_maxResults = 42; |
| 19860 var arg_pageToken = "foo"; | 19864 var arg_pageToken = "foo"; |
| 19861 var arg_searchString = "foo"; | 19865 var arg_searchString = "foo"; |
| 19862 var arg_sortField = "foo"; | 19866 var arg_sortField = "foo"; |
| 19863 var arg_sortOrder = "foo"; | 19867 var arg_sortOrder = "foo"; |
| 19864 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 19868 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 19865 var path = (req.url).path; | 19869 var path = (req.url).path; |
| 19866 var pathOffset = 0; | 19870 var pathOffset = 0; |
| 19867 var index; | 19871 var index; |
| 19868 var subPart; | 19872 var subPart; |
| 19869 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 19873 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 19870 pathOffset += 1; | 19874 pathOffset += 1; |
| 19871 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 19875 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 19872 pathOffset += 18; | 19876 pathOffset += 18; |
| 19873 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 19877 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 19874 pathOffset += 13; | 19878 pathOffset += 13; |
| 19875 index = path.indexOf("/projects", pathOffset); | 19879 index = path.indexOf("/projects", pathOffset); |
| 19876 unittest.expect(index >= 0, unittest.isTrue); | 19880 unittest.expect(index >= 0, unittest.isTrue); |
| 19877 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 19881 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 19878 pathOffset = index; | 19882 pathOffset = index; |
| 19879 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 19883 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 19880 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ
als("/projects")); | 19884 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ
als("/projects")); |
| 19881 pathOffset += 9; | 19885 pathOffset += 9; |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 19925 var mock = new HttpServerMock(); | 19929 var mock = new HttpServerMock(); |
| 19926 api.RegionsResourceApi res = new api.DfareportingApi(mock).regions; | 19930 api.RegionsResourceApi res = new api.DfareportingApi(mock).regions; |
| 19927 var arg_profileId = "foo"; | 19931 var arg_profileId = "foo"; |
| 19928 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 19932 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 19929 var path = (req.url).path; | 19933 var path = (req.url).path; |
| 19930 var pathOffset = 0; | 19934 var pathOffset = 0; |
| 19931 var index; | 19935 var index; |
| 19932 var subPart; | 19936 var subPart; |
| 19933 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 19937 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 19934 pathOffset += 1; | 19938 pathOffset += 1; |
| 19935 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 19939 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 19936 pathOffset += 18; | 19940 pathOffset += 18; |
| 19937 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 19941 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 19938 pathOffset += 13; | 19942 pathOffset += 13; |
| 19939 index = path.indexOf("/regions", pathOffset); | 19943 index = path.indexOf("/regions", pathOffset); |
| 19940 unittest.expect(index >= 0, unittest.isTrue); | 19944 unittest.expect(index >= 0, unittest.isTrue); |
| 19941 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 19945 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 19942 pathOffset = index; | 19946 pathOffset = index; |
| 19943 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 19947 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 19944 unittest.expect(path.substring(pathOffset, pathOffset + 8), unittest.equ
als("/regions")); | 19948 unittest.expect(path.substring(pathOffset, pathOffset + 8), unittest.equ
als("/regions")); |
| 19945 pathOffset += 8; | 19949 pathOffset += 8; |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 19983 api.RemarketingListSharesResourceApi res = new api.DfareportingApi(mock).r
emarketingListShares; | 19987 api.RemarketingListSharesResourceApi res = new api.DfareportingApi(mock).r
emarketingListShares; |
| 19984 var arg_profileId = "foo"; | 19988 var arg_profileId = "foo"; |
| 19985 var arg_remarketingListId = "foo"; | 19989 var arg_remarketingListId = "foo"; |
| 19986 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 19990 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 19987 var path = (req.url).path; | 19991 var path = (req.url).path; |
| 19988 var pathOffset = 0; | 19992 var pathOffset = 0; |
| 19989 var index; | 19993 var index; |
| 19990 var subPart; | 19994 var subPart; |
| 19991 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 19995 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 19992 pathOffset += 1; | 19996 pathOffset += 1; |
| 19993 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 19997 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 19994 pathOffset += 18; | 19998 pathOffset += 18; |
| 19995 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 19999 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 19996 pathOffset += 13; | 20000 pathOffset += 13; |
| 19997 index = path.indexOf("/remarketingListShares/", pathOffset); | 20001 index = path.indexOf("/remarketingListShares/", pathOffset); |
| 19998 unittest.expect(index >= 0, unittest.isTrue); | 20002 unittest.expect(index >= 0, unittest.isTrue); |
| 19999 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 20003 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 20000 pathOffset = index; | 20004 pathOffset = index; |
| 20001 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 20005 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 20002 unittest.expect(path.substring(pathOffset, pathOffset + 23), unittest.eq
uals("/remarketingListShares/")); | 20006 unittest.expect(path.substring(pathOffset, pathOffset + 23), unittest.eq
uals("/remarketingListShares/")); |
| 20003 pathOffset += 23; | 20007 pathOffset += 23; |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 20044 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 20048 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 20045 var obj = new api.RemarketingListShare.fromJson(json); | 20049 var obj = new api.RemarketingListShare.fromJson(json); |
| 20046 checkRemarketingListShare(obj); | 20050 checkRemarketingListShare(obj); |
| 20047 | 20051 |
| 20048 var path = (req.url).path; | 20052 var path = (req.url).path; |
| 20049 var pathOffset = 0; | 20053 var pathOffset = 0; |
| 20050 var index; | 20054 var index; |
| 20051 var subPart; | 20055 var subPart; |
| 20052 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 20056 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 20053 pathOffset += 1; | 20057 pathOffset += 1; |
| 20054 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 20058 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 20055 pathOffset += 18; | 20059 pathOffset += 18; |
| 20056 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 20060 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 20057 pathOffset += 13; | 20061 pathOffset += 13; |
| 20058 index = path.indexOf("/remarketingListShares", pathOffset); | 20062 index = path.indexOf("/remarketingListShares", pathOffset); |
| 20059 unittest.expect(index >= 0, unittest.isTrue); | 20063 unittest.expect(index >= 0, unittest.isTrue); |
| 20060 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 20064 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 20061 pathOffset = index; | 20065 pathOffset = index; |
| 20062 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 20066 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 20063 unittest.expect(path.substring(pathOffset, pathOffset + 22), unittest.eq
uals("/remarketingListShares")); | 20067 unittest.expect(path.substring(pathOffset, pathOffset + 22), unittest.eq
uals("/remarketingListShares")); |
| 20064 pathOffset += 22; | 20068 pathOffset += 22; |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 20102 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 20106 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 20103 var obj = new api.RemarketingListShare.fromJson(json); | 20107 var obj = new api.RemarketingListShare.fromJson(json); |
| 20104 checkRemarketingListShare(obj); | 20108 checkRemarketingListShare(obj); |
| 20105 | 20109 |
| 20106 var path = (req.url).path; | 20110 var path = (req.url).path; |
| 20107 var pathOffset = 0; | 20111 var pathOffset = 0; |
| 20108 var index; | 20112 var index; |
| 20109 var subPart; | 20113 var subPart; |
| 20110 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 20114 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 20111 pathOffset += 1; | 20115 pathOffset += 1; |
| 20112 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 20116 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 20113 pathOffset += 18; | 20117 pathOffset += 18; |
| 20114 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 20118 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 20115 pathOffset += 13; | 20119 pathOffset += 13; |
| 20116 index = path.indexOf("/remarketingListShares", pathOffset); | 20120 index = path.indexOf("/remarketingListShares", pathOffset); |
| 20117 unittest.expect(index >= 0, unittest.isTrue); | 20121 unittest.expect(index >= 0, unittest.isTrue); |
| 20118 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 20122 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 20119 pathOffset = index; | 20123 pathOffset = index; |
| 20120 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 20124 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 20121 unittest.expect(path.substring(pathOffset, pathOffset + 22), unittest.eq
uals("/remarketingListShares")); | 20125 unittest.expect(path.substring(pathOffset, pathOffset + 22), unittest.eq
uals("/remarketingListShares")); |
| 20122 pathOffset += 22; | 20126 pathOffset += 22; |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 20160 api.RemarketingListsResourceApi res = new api.DfareportingApi(mock).remark
etingLists; | 20164 api.RemarketingListsResourceApi res = new api.DfareportingApi(mock).remark
etingLists; |
| 20161 var arg_profileId = "foo"; | 20165 var arg_profileId = "foo"; |
| 20162 var arg_id = "foo"; | 20166 var arg_id = "foo"; |
| 20163 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 20167 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 20164 var path = (req.url).path; | 20168 var path = (req.url).path; |
| 20165 var pathOffset = 0; | 20169 var pathOffset = 0; |
| 20166 var index; | 20170 var index; |
| 20167 var subPart; | 20171 var subPart; |
| 20168 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 20172 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 20169 pathOffset += 1; | 20173 pathOffset += 1; |
| 20170 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 20174 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 20171 pathOffset += 18; | 20175 pathOffset += 18; |
| 20172 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 20176 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 20173 pathOffset += 13; | 20177 pathOffset += 13; |
| 20174 index = path.indexOf("/remarketingLists/", pathOffset); | 20178 index = path.indexOf("/remarketingLists/", pathOffset); |
| 20175 unittest.expect(index >= 0, unittest.isTrue); | 20179 unittest.expect(index >= 0, unittest.isTrue); |
| 20176 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 20180 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 20177 pathOffset = index; | 20181 pathOffset = index; |
| 20178 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 20182 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 20179 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("/remarketingLists/")); | 20183 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("/remarketingLists/")); |
| 20180 pathOffset += 18; | 20184 pathOffset += 18; |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 20220 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 20224 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 20221 var obj = new api.RemarketingList.fromJson(json); | 20225 var obj = new api.RemarketingList.fromJson(json); |
| 20222 checkRemarketingList(obj); | 20226 checkRemarketingList(obj); |
| 20223 | 20227 |
| 20224 var path = (req.url).path; | 20228 var path = (req.url).path; |
| 20225 var pathOffset = 0; | 20229 var pathOffset = 0; |
| 20226 var index; | 20230 var index; |
| 20227 var subPart; | 20231 var subPart; |
| 20228 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 20232 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 20229 pathOffset += 1; | 20233 pathOffset += 1; |
| 20230 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 20234 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 20231 pathOffset += 18; | 20235 pathOffset += 18; |
| 20232 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 20236 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 20233 pathOffset += 13; | 20237 pathOffset += 13; |
| 20234 index = path.indexOf("/remarketingLists", pathOffset); | 20238 index = path.indexOf("/remarketingLists", pathOffset); |
| 20235 unittest.expect(index >= 0, unittest.isTrue); | 20239 unittest.expect(index >= 0, unittest.isTrue); |
| 20236 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 20240 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 20237 pathOffset = index; | 20241 pathOffset = index; |
| 20238 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 20242 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 20239 unittest.expect(path.substring(pathOffset, pathOffset + 17), unittest.eq
uals("/remarketingLists")); | 20243 unittest.expect(path.substring(pathOffset, pathOffset + 17), unittest.eq
uals("/remarketingLists")); |
| 20240 pathOffset += 17; | 20244 pathOffset += 17; |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 20281 var arg_pageToken = "foo"; | 20285 var arg_pageToken = "foo"; |
| 20282 var arg_sortField = "foo"; | 20286 var arg_sortField = "foo"; |
| 20283 var arg_sortOrder = "foo"; | 20287 var arg_sortOrder = "foo"; |
| 20284 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 20288 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 20285 var path = (req.url).path; | 20289 var path = (req.url).path; |
| 20286 var pathOffset = 0; | 20290 var pathOffset = 0; |
| 20287 var index; | 20291 var index; |
| 20288 var subPart; | 20292 var subPart; |
| 20289 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 20293 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 20290 pathOffset += 1; | 20294 pathOffset += 1; |
| 20291 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 20295 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 20292 pathOffset += 18; | 20296 pathOffset += 18; |
| 20293 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 20297 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 20294 pathOffset += 13; | 20298 pathOffset += 13; |
| 20295 index = path.indexOf("/remarketingLists", pathOffset); | 20299 index = path.indexOf("/remarketingLists", pathOffset); |
| 20296 unittest.expect(index >= 0, unittest.isTrue); | 20300 unittest.expect(index >= 0, unittest.isTrue); |
| 20297 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 20301 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 20298 pathOffset = index; | 20302 pathOffset = index; |
| 20299 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 20303 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 20300 unittest.expect(path.substring(pathOffset, pathOffset + 17), unittest.eq
uals("/remarketingLists")); | 20304 unittest.expect(path.substring(pathOffset, pathOffset + 17), unittest.eq
uals("/remarketingLists")); |
| 20301 pathOffset += 17; | 20305 pathOffset += 17; |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 20347 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 20351 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 20348 var obj = new api.RemarketingList.fromJson(json); | 20352 var obj = new api.RemarketingList.fromJson(json); |
| 20349 checkRemarketingList(obj); | 20353 checkRemarketingList(obj); |
| 20350 | 20354 |
| 20351 var path = (req.url).path; | 20355 var path = (req.url).path; |
| 20352 var pathOffset = 0; | 20356 var pathOffset = 0; |
| 20353 var index; | 20357 var index; |
| 20354 var subPart; | 20358 var subPart; |
| 20355 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 20359 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 20356 pathOffset += 1; | 20360 pathOffset += 1; |
| 20357 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 20361 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 20358 pathOffset += 18; | 20362 pathOffset += 18; |
| 20359 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 20363 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 20360 pathOffset += 13; | 20364 pathOffset += 13; |
| 20361 index = path.indexOf("/remarketingLists", pathOffset); | 20365 index = path.indexOf("/remarketingLists", pathOffset); |
| 20362 unittest.expect(index >= 0, unittest.isTrue); | 20366 unittest.expect(index >= 0, unittest.isTrue); |
| 20363 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 20367 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 20364 pathOffset = index; | 20368 pathOffset = index; |
| 20365 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 20369 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 20366 unittest.expect(path.substring(pathOffset, pathOffset + 17), unittest.eq
uals("/remarketingLists")); | 20370 unittest.expect(path.substring(pathOffset, pathOffset + 17), unittest.eq
uals("/remarketingLists")); |
| 20367 pathOffset += 17; | 20371 pathOffset += 17; |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 20405 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 20409 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 20406 var obj = new api.RemarketingList.fromJson(json); | 20410 var obj = new api.RemarketingList.fromJson(json); |
| 20407 checkRemarketingList(obj); | 20411 checkRemarketingList(obj); |
| 20408 | 20412 |
| 20409 var path = (req.url).path; | 20413 var path = (req.url).path; |
| 20410 var pathOffset = 0; | 20414 var pathOffset = 0; |
| 20411 var index; | 20415 var index; |
| 20412 var subPart; | 20416 var subPart; |
| 20413 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 20417 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 20414 pathOffset += 1; | 20418 pathOffset += 1; |
| 20415 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 20419 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 20416 pathOffset += 18; | 20420 pathOffset += 18; |
| 20417 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 20421 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 20418 pathOffset += 13; | 20422 pathOffset += 13; |
| 20419 index = path.indexOf("/remarketingLists", pathOffset); | 20423 index = path.indexOf("/remarketingLists", pathOffset); |
| 20420 unittest.expect(index >= 0, unittest.isTrue); | 20424 unittest.expect(index >= 0, unittest.isTrue); |
| 20421 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 20425 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 20422 pathOffset = index; | 20426 pathOffset = index; |
| 20423 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 20427 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 20424 unittest.expect(path.substring(pathOffset, pathOffset + 17), unittest.eq
uals("/remarketingLists")); | 20428 unittest.expect(path.substring(pathOffset, pathOffset + 17), unittest.eq
uals("/remarketingLists")); |
| 20425 pathOffset += 17; | 20429 pathOffset += 17; |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 20463 api.ReportsResourceApi res = new api.DfareportingApi(mock).reports; | 20467 api.ReportsResourceApi res = new api.DfareportingApi(mock).reports; |
| 20464 var arg_profileId = "foo"; | 20468 var arg_profileId = "foo"; |
| 20465 var arg_reportId = "foo"; | 20469 var arg_reportId = "foo"; |
| 20466 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 20470 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 20467 var path = (req.url).path; | 20471 var path = (req.url).path; |
| 20468 var pathOffset = 0; | 20472 var pathOffset = 0; |
| 20469 var index; | 20473 var index; |
| 20470 var subPart; | 20474 var subPart; |
| 20471 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 20475 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 20472 pathOffset += 1; | 20476 pathOffset += 1; |
| 20473 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 20477 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 20474 pathOffset += 18; | 20478 pathOffset += 18; |
| 20475 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 20479 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 20476 pathOffset += 13; | 20480 pathOffset += 13; |
| 20477 index = path.indexOf("/reports/", pathOffset); | 20481 index = path.indexOf("/reports/", pathOffset); |
| 20478 unittest.expect(index >= 0, unittest.isTrue); | 20482 unittest.expect(index >= 0, unittest.isTrue); |
| 20479 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 20483 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 20480 pathOffset = index; | 20484 pathOffset = index; |
| 20481 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 20485 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 20482 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ
als("/reports/")); | 20486 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ
als("/reports/")); |
| 20483 pathOffset += 9; | 20487 pathOffset += 9; |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 20518 api.ReportsResourceApi res = new api.DfareportingApi(mock).reports; | 20522 api.ReportsResourceApi res = new api.DfareportingApi(mock).reports; |
| 20519 var arg_profileId = "foo"; | 20523 var arg_profileId = "foo"; |
| 20520 var arg_reportId = "foo"; | 20524 var arg_reportId = "foo"; |
| 20521 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 20525 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 20522 var path = (req.url).path; | 20526 var path = (req.url).path; |
| 20523 var pathOffset = 0; | 20527 var pathOffset = 0; |
| 20524 var index; | 20528 var index; |
| 20525 var subPart; | 20529 var subPart; |
| 20526 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 20530 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 20527 pathOffset += 1; | 20531 pathOffset += 1; |
| 20528 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 20532 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 20529 pathOffset += 18; | 20533 pathOffset += 18; |
| 20530 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 20534 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 20531 pathOffset += 13; | 20535 pathOffset += 13; |
| 20532 index = path.indexOf("/reports/", pathOffset); | 20536 index = path.indexOf("/reports/", pathOffset); |
| 20533 unittest.expect(index >= 0, unittest.isTrue); | 20537 unittest.expect(index >= 0, unittest.isTrue); |
| 20534 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 20538 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 20535 pathOffset = index; | 20539 pathOffset = index; |
| 20536 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 20540 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 20537 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ
als("/reports/")); | 20541 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ
als("/reports/")); |
| 20538 pathOffset += 9; | 20542 pathOffset += 9; |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 20578 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 20582 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 20579 var obj = new api.Report.fromJson(json); | 20583 var obj = new api.Report.fromJson(json); |
| 20580 checkReport(obj); | 20584 checkReport(obj); |
| 20581 | 20585 |
| 20582 var path = (req.url).path; | 20586 var path = (req.url).path; |
| 20583 var pathOffset = 0; | 20587 var pathOffset = 0; |
| 20584 var index; | 20588 var index; |
| 20585 var subPart; | 20589 var subPart; |
| 20586 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 20590 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 20587 pathOffset += 1; | 20591 pathOffset += 1; |
| 20588 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 20592 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 20589 pathOffset += 18; | 20593 pathOffset += 18; |
| 20590 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 20594 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 20591 pathOffset += 13; | 20595 pathOffset += 13; |
| 20592 index = path.indexOf("/reports", pathOffset); | 20596 index = path.indexOf("/reports", pathOffset); |
| 20593 unittest.expect(index >= 0, unittest.isTrue); | 20597 unittest.expect(index >= 0, unittest.isTrue); |
| 20594 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 20598 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 20595 pathOffset = index; | 20599 pathOffset = index; |
| 20596 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 20600 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 20597 unittest.expect(path.substring(pathOffset, pathOffset + 8), unittest.equ
als("/reports")); | 20601 unittest.expect(path.substring(pathOffset, pathOffset + 8), unittest.equ
als("/reports")); |
| 20598 pathOffset += 8; | 20602 pathOffset += 8; |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 20636 var arg_scope = "foo"; | 20640 var arg_scope = "foo"; |
| 20637 var arg_sortField = "foo"; | 20641 var arg_sortField = "foo"; |
| 20638 var arg_sortOrder = "foo"; | 20642 var arg_sortOrder = "foo"; |
| 20639 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 20643 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 20640 var path = (req.url).path; | 20644 var path = (req.url).path; |
| 20641 var pathOffset = 0; | 20645 var pathOffset = 0; |
| 20642 var index; | 20646 var index; |
| 20643 var subPart; | 20647 var subPart; |
| 20644 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 20648 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 20645 pathOffset += 1; | 20649 pathOffset += 1; |
| 20646 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 20650 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 20647 pathOffset += 18; | 20651 pathOffset += 18; |
| 20648 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 20652 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 20649 pathOffset += 13; | 20653 pathOffset += 13; |
| 20650 index = path.indexOf("/reports", pathOffset); | 20654 index = path.indexOf("/reports", pathOffset); |
| 20651 unittest.expect(index >= 0, unittest.isTrue); | 20655 unittest.expect(index >= 0, unittest.isTrue); |
| 20652 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 20656 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 20653 pathOffset = index; | 20657 pathOffset = index; |
| 20654 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 20658 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 20655 unittest.expect(path.substring(pathOffset, pathOffset + 8), unittest.equ
als("/reports")); | 20659 unittest.expect(path.substring(pathOffset, pathOffset + 8), unittest.equ
als("/reports")); |
| 20656 pathOffset += 8; | 20660 pathOffset += 8; |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 20699 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 20703 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 20700 var obj = new api.Report.fromJson(json); | 20704 var obj = new api.Report.fromJson(json); |
| 20701 checkReport(obj); | 20705 checkReport(obj); |
| 20702 | 20706 |
| 20703 var path = (req.url).path; | 20707 var path = (req.url).path; |
| 20704 var pathOffset = 0; | 20708 var pathOffset = 0; |
| 20705 var index; | 20709 var index; |
| 20706 var subPart; | 20710 var subPart; |
| 20707 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 20711 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 20708 pathOffset += 1; | 20712 pathOffset += 1; |
| 20709 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 20713 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 20710 pathOffset += 18; | 20714 pathOffset += 18; |
| 20711 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 20715 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 20712 pathOffset += 13; | 20716 pathOffset += 13; |
| 20713 index = path.indexOf("/reports/", pathOffset); | 20717 index = path.indexOf("/reports/", pathOffset); |
| 20714 unittest.expect(index >= 0, unittest.isTrue); | 20718 unittest.expect(index >= 0, unittest.isTrue); |
| 20715 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 20719 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 20716 pathOffset = index; | 20720 pathOffset = index; |
| 20717 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 20721 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 20718 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ
als("/reports/")); | 20722 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ
als("/reports/")); |
| 20719 pathOffset += 9; | 20723 pathOffset += 9; |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 20757 var arg_profileId = "foo"; | 20761 var arg_profileId = "foo"; |
| 20758 var arg_reportId = "foo"; | 20762 var arg_reportId = "foo"; |
| 20759 var arg_synchronous = true; | 20763 var arg_synchronous = true; |
| 20760 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 20764 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 20761 var path = (req.url).path; | 20765 var path = (req.url).path; |
| 20762 var pathOffset = 0; | 20766 var pathOffset = 0; |
| 20763 var index; | 20767 var index; |
| 20764 var subPart; | 20768 var subPart; |
| 20765 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 20769 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 20766 pathOffset += 1; | 20770 pathOffset += 1; |
| 20767 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 20771 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 20768 pathOffset += 18; | 20772 pathOffset += 18; |
| 20769 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 20773 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 20770 pathOffset += 13; | 20774 pathOffset += 13; |
| 20771 index = path.indexOf("/reports/", pathOffset); | 20775 index = path.indexOf("/reports/", pathOffset); |
| 20772 unittest.expect(index >= 0, unittest.isTrue); | 20776 unittest.expect(index >= 0, unittest.isTrue); |
| 20773 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 20777 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 20774 pathOffset = index; | 20778 pathOffset = index; |
| 20775 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 20779 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 20776 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ
als("/reports/")); | 20780 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ
als("/reports/")); |
| 20777 pathOffset += 9; | 20781 pathOffset += 9; |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 20823 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 20827 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 20824 var obj = new api.Report.fromJson(json); | 20828 var obj = new api.Report.fromJson(json); |
| 20825 checkReport(obj); | 20829 checkReport(obj); |
| 20826 | 20830 |
| 20827 var path = (req.url).path; | 20831 var path = (req.url).path; |
| 20828 var pathOffset = 0; | 20832 var pathOffset = 0; |
| 20829 var index; | 20833 var index; |
| 20830 var subPart; | 20834 var subPart; |
| 20831 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 20835 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 20832 pathOffset += 1; | 20836 pathOffset += 1; |
| 20833 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 20837 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 20834 pathOffset += 18; | 20838 pathOffset += 18; |
| 20835 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 20839 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 20836 pathOffset += 13; | 20840 pathOffset += 13; |
| 20837 index = path.indexOf("/reports/", pathOffset); | 20841 index = path.indexOf("/reports/", pathOffset); |
| 20838 unittest.expect(index >= 0, unittest.isTrue); | 20842 unittest.expect(index >= 0, unittest.isTrue); |
| 20839 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 20843 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 20840 pathOffset = index; | 20844 pathOffset = index; |
| 20841 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 20845 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 20842 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ
als("/reports/")); | 20846 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ
als("/reports/")); |
| 20843 pathOffset += 9; | 20847 pathOffset += 9; |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 20887 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 20891 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 20888 var obj = new api.Report.fromJson(json); | 20892 var obj = new api.Report.fromJson(json); |
| 20889 checkReport(obj); | 20893 checkReport(obj); |
| 20890 | 20894 |
| 20891 var path = (req.url).path; | 20895 var path = (req.url).path; |
| 20892 var pathOffset = 0; | 20896 var pathOffset = 0; |
| 20893 var index; | 20897 var index; |
| 20894 var subPart; | 20898 var subPart; |
| 20895 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 20899 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 20896 pathOffset += 1; | 20900 pathOffset += 1; |
| 20897 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 20901 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 20898 pathOffset += 18; | 20902 pathOffset += 18; |
| 20899 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 20903 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 20900 pathOffset += 13; | 20904 pathOffset += 13; |
| 20901 index = path.indexOf("/reports/compatiblefields/query", pathOffset); | 20905 index = path.indexOf("/reports/compatiblefields/query", pathOffset); |
| 20902 unittest.expect(index >= 0, unittest.isTrue); | 20906 unittest.expect(index >= 0, unittest.isTrue); |
| 20903 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 20907 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 20904 pathOffset = index; | 20908 pathOffset = index; |
| 20905 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 20909 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 20906 unittest.expect(path.substring(pathOffset, pathOffset + 31), unittest.eq
uals("/reports/compatiblefields/query")); | 20910 unittest.expect(path.substring(pathOffset, pathOffset + 31), unittest.eq
uals("/reports/compatiblefields/query")); |
| 20907 pathOffset += 31; | 20911 pathOffset += 31; |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 20948 var arg_profileId = "foo"; | 20952 var arg_profileId = "foo"; |
| 20949 var arg_reportId = "foo"; | 20953 var arg_reportId = "foo"; |
| 20950 var arg_fileId = "foo"; | 20954 var arg_fileId = "foo"; |
| 20951 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 20955 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 20952 var path = (req.url).path; | 20956 var path = (req.url).path; |
| 20953 var pathOffset = 0; | 20957 var pathOffset = 0; |
| 20954 var index; | 20958 var index; |
| 20955 var subPart; | 20959 var subPart; |
| 20956 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 20960 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 20957 pathOffset += 1; | 20961 pathOffset += 1; |
| 20958 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 20962 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 20959 pathOffset += 18; | 20963 pathOffset += 18; |
| 20960 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 20964 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 20961 pathOffset += 13; | 20965 pathOffset += 13; |
| 20962 index = path.indexOf("/reports/", pathOffset); | 20966 index = path.indexOf("/reports/", pathOffset); |
| 20963 unittest.expect(index >= 0, unittest.isTrue); | 20967 unittest.expect(index >= 0, unittest.isTrue); |
| 20964 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 20968 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 20965 pathOffset = index; | 20969 pathOffset = index; |
| 20966 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 20970 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 20967 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ
als("/reports/")); | 20971 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ
als("/reports/")); |
| 20968 pathOffset += 9; | 20972 pathOffset += 9; |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 21016 var arg_pageToken = "foo"; | 21020 var arg_pageToken = "foo"; |
| 21017 var arg_sortField = "foo"; | 21021 var arg_sortField = "foo"; |
| 21018 var arg_sortOrder = "foo"; | 21022 var arg_sortOrder = "foo"; |
| 21019 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 21023 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 21020 var path = (req.url).path; | 21024 var path = (req.url).path; |
| 21021 var pathOffset = 0; | 21025 var pathOffset = 0; |
| 21022 var index; | 21026 var index; |
| 21023 var subPart; | 21027 var subPart; |
| 21024 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 21028 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 21025 pathOffset += 1; | 21029 pathOffset += 1; |
| 21026 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 21030 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 21027 pathOffset += 18; | 21031 pathOffset += 18; |
| 21028 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 21032 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 21029 pathOffset += 13; | 21033 pathOffset += 13; |
| 21030 index = path.indexOf("/reports/", pathOffset); | 21034 index = path.indexOf("/reports/", pathOffset); |
| 21031 unittest.expect(index >= 0, unittest.isTrue); | 21035 unittest.expect(index >= 0, unittest.isTrue); |
| 21032 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 21036 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 21033 pathOffset = index; | 21037 pathOffset = index; |
| 21034 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 21038 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 21035 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ
als("/reports/")); | 21039 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ
als("/reports/")); |
| 21036 pathOffset += 9; | 21040 pathOffset += 9; |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 21085 api.SitesResourceApi res = new api.DfareportingApi(mock).sites; | 21089 api.SitesResourceApi res = new api.DfareportingApi(mock).sites; |
| 21086 var arg_profileId = "foo"; | 21090 var arg_profileId = "foo"; |
| 21087 var arg_id = "foo"; | 21091 var arg_id = "foo"; |
| 21088 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 21092 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 21089 var path = (req.url).path; | 21093 var path = (req.url).path; |
| 21090 var pathOffset = 0; | 21094 var pathOffset = 0; |
| 21091 var index; | 21095 var index; |
| 21092 var subPart; | 21096 var subPart; |
| 21093 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 21097 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 21094 pathOffset += 1; | 21098 pathOffset += 1; |
| 21095 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 21099 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 21096 pathOffset += 18; | 21100 pathOffset += 18; |
| 21097 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 21101 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 21098 pathOffset += 13; | 21102 pathOffset += 13; |
| 21099 index = path.indexOf("/sites/", pathOffset); | 21103 index = path.indexOf("/sites/", pathOffset); |
| 21100 unittest.expect(index >= 0, unittest.isTrue); | 21104 unittest.expect(index >= 0, unittest.isTrue); |
| 21101 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 21105 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 21102 pathOffset = index; | 21106 pathOffset = index; |
| 21103 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 21107 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 21104 unittest.expect(path.substring(pathOffset, pathOffset + 7), unittest.equ
als("/sites/")); | 21108 unittest.expect(path.substring(pathOffset, pathOffset + 7), unittest.equ
als("/sites/")); |
| 21105 pathOffset += 7; | 21109 pathOffset += 7; |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 21145 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 21149 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 21146 var obj = new api.Site.fromJson(json); | 21150 var obj = new api.Site.fromJson(json); |
| 21147 checkSite(obj); | 21151 checkSite(obj); |
| 21148 | 21152 |
| 21149 var path = (req.url).path; | 21153 var path = (req.url).path; |
| 21150 var pathOffset = 0; | 21154 var pathOffset = 0; |
| 21151 var index; | 21155 var index; |
| 21152 var subPart; | 21156 var subPart; |
| 21153 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 21157 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 21154 pathOffset += 1; | 21158 pathOffset += 1; |
| 21155 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 21159 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 21156 pathOffset += 18; | 21160 pathOffset += 18; |
| 21157 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 21161 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 21158 pathOffset += 13; | 21162 pathOffset += 13; |
| 21159 index = path.indexOf("/sites", pathOffset); | 21163 index = path.indexOf("/sites", pathOffset); |
| 21160 unittest.expect(index >= 0, unittest.isTrue); | 21164 unittest.expect(index >= 0, unittest.isTrue); |
| 21161 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 21165 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 21162 pathOffset = index; | 21166 pathOffset = index; |
| 21163 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 21167 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 21164 unittest.expect(path.substring(pathOffset, pathOffset + 6), unittest.equ
als("/sites")); | 21168 unittest.expect(path.substring(pathOffset, pathOffset + 6), unittest.equ
als("/sites")); |
| 21165 pathOffset += 6; | 21169 pathOffset += 6; |
| (...skipping 30 matching lines...) Expand all Loading... |
| 21196 unittest.test("method--list", () { | 21200 unittest.test("method--list", () { |
| 21197 | 21201 |
| 21198 var mock = new HttpServerMock(); | 21202 var mock = new HttpServerMock(); |
| 21199 api.SitesResourceApi res = new api.DfareportingApi(mock).sites; | 21203 api.SitesResourceApi res = new api.DfareportingApi(mock).sites; |
| 21200 var arg_profileId = "foo"; | 21204 var arg_profileId = "foo"; |
| 21201 var arg_acceptsInStreamVideoPlacements = true; | 21205 var arg_acceptsInStreamVideoPlacements = true; |
| 21202 var arg_acceptsInterstitialPlacements = true; | 21206 var arg_acceptsInterstitialPlacements = true; |
| 21203 var arg_acceptsPublisherPaidPlacements = true; | 21207 var arg_acceptsPublisherPaidPlacements = true; |
| 21204 var arg_adWordsSite = true; | 21208 var arg_adWordsSite = true; |
| 21205 var arg_approved = true; | 21209 var arg_approved = true; |
| 21206 var arg_campaignIds = buildUnnamed1804(); | 21210 var arg_campaignIds = buildUnnamed378(); |
| 21207 var arg_directorySiteIds = buildUnnamed1805(); | 21211 var arg_directorySiteIds = buildUnnamed379(); |
| 21208 var arg_ids = buildUnnamed1806(); | 21212 var arg_ids = buildUnnamed380(); |
| 21209 var arg_maxResults = 42; | 21213 var arg_maxResults = 42; |
| 21210 var arg_pageToken = "foo"; | 21214 var arg_pageToken = "foo"; |
| 21211 var arg_searchString = "foo"; | 21215 var arg_searchString = "foo"; |
| 21212 var arg_sortField = "foo"; | 21216 var arg_sortField = "foo"; |
| 21213 var arg_sortOrder = "foo"; | 21217 var arg_sortOrder = "foo"; |
| 21214 var arg_subaccountId = "foo"; | 21218 var arg_subaccountId = "foo"; |
| 21215 var arg_unmappedSite = true; | 21219 var arg_unmappedSite = true; |
| 21216 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 21220 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 21217 var path = (req.url).path; | 21221 var path = (req.url).path; |
| 21218 var pathOffset = 0; | 21222 var pathOffset = 0; |
| 21219 var index; | 21223 var index; |
| 21220 var subPart; | 21224 var subPart; |
| 21221 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 21225 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 21222 pathOffset += 1; | 21226 pathOffset += 1; |
| 21223 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 21227 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 21224 pathOffset += 18; | 21228 pathOffset += 18; |
| 21225 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 21229 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 21226 pathOffset += 13; | 21230 pathOffset += 13; |
| 21227 index = path.indexOf("/sites", pathOffset); | 21231 index = path.indexOf("/sites", pathOffset); |
| 21228 unittest.expect(index >= 0, unittest.isTrue); | 21232 unittest.expect(index >= 0, unittest.isTrue); |
| 21229 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 21233 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 21230 pathOffset = index; | 21234 pathOffset = index; |
| 21231 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 21235 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 21232 unittest.expect(path.substring(pathOffset, pathOffset + 6), unittest.equ
als("/sites")); | 21236 unittest.expect(path.substring(pathOffset, pathOffset + 6), unittest.equ
als("/sites")); |
| 21233 pathOffset += 6; | 21237 pathOffset += 6; |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 21286 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 21290 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 21287 var obj = new api.Site.fromJson(json); | 21291 var obj = new api.Site.fromJson(json); |
| 21288 checkSite(obj); | 21292 checkSite(obj); |
| 21289 | 21293 |
| 21290 var path = (req.url).path; | 21294 var path = (req.url).path; |
| 21291 var pathOffset = 0; | 21295 var pathOffset = 0; |
| 21292 var index; | 21296 var index; |
| 21293 var subPart; | 21297 var subPart; |
| 21294 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 21298 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 21295 pathOffset += 1; | 21299 pathOffset += 1; |
| 21296 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 21300 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 21297 pathOffset += 18; | 21301 pathOffset += 18; |
| 21298 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 21302 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 21299 pathOffset += 13; | 21303 pathOffset += 13; |
| 21300 index = path.indexOf("/sites", pathOffset); | 21304 index = path.indexOf("/sites", pathOffset); |
| 21301 unittest.expect(index >= 0, unittest.isTrue); | 21305 unittest.expect(index >= 0, unittest.isTrue); |
| 21302 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 21306 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 21303 pathOffset = index; | 21307 pathOffset = index; |
| 21304 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 21308 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 21305 unittest.expect(path.substring(pathOffset, pathOffset + 6), unittest.equ
als("/sites")); | 21309 unittest.expect(path.substring(pathOffset, pathOffset + 6), unittest.equ
als("/sites")); |
| 21306 pathOffset += 6; | 21310 pathOffset += 6; |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 21344 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 21348 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 21345 var obj = new api.Site.fromJson(json); | 21349 var obj = new api.Site.fromJson(json); |
| 21346 checkSite(obj); | 21350 checkSite(obj); |
| 21347 | 21351 |
| 21348 var path = (req.url).path; | 21352 var path = (req.url).path; |
| 21349 var pathOffset = 0; | 21353 var pathOffset = 0; |
| 21350 var index; | 21354 var index; |
| 21351 var subPart; | 21355 var subPart; |
| 21352 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 21356 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 21353 pathOffset += 1; | 21357 pathOffset += 1; |
| 21354 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 21358 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 21355 pathOffset += 18; | 21359 pathOffset += 18; |
| 21356 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 21360 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 21357 pathOffset += 13; | 21361 pathOffset += 13; |
| 21358 index = path.indexOf("/sites", pathOffset); | 21362 index = path.indexOf("/sites", pathOffset); |
| 21359 unittest.expect(index >= 0, unittest.isTrue); | 21363 unittest.expect(index >= 0, unittest.isTrue); |
| 21360 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 21364 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 21361 pathOffset = index; | 21365 pathOffset = index; |
| 21362 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 21366 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 21363 unittest.expect(path.substring(pathOffset, pathOffset + 6), unittest.equ
als("/sites")); | 21367 unittest.expect(path.substring(pathOffset, pathOffset + 6), unittest.equ
als("/sites")); |
| 21364 pathOffset += 6; | 21368 pathOffset += 6; |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 21402 api.SizesResourceApi res = new api.DfareportingApi(mock).sizes; | 21406 api.SizesResourceApi res = new api.DfareportingApi(mock).sizes; |
| 21403 var arg_profileId = "foo"; | 21407 var arg_profileId = "foo"; |
| 21404 var arg_id = "foo"; | 21408 var arg_id = "foo"; |
| 21405 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 21409 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 21406 var path = (req.url).path; | 21410 var path = (req.url).path; |
| 21407 var pathOffset = 0; | 21411 var pathOffset = 0; |
| 21408 var index; | 21412 var index; |
| 21409 var subPart; | 21413 var subPart; |
| 21410 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 21414 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 21411 pathOffset += 1; | 21415 pathOffset += 1; |
| 21412 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 21416 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 21413 pathOffset += 18; | 21417 pathOffset += 18; |
| 21414 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 21418 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 21415 pathOffset += 13; | 21419 pathOffset += 13; |
| 21416 index = path.indexOf("/sizes/", pathOffset); | 21420 index = path.indexOf("/sizes/", pathOffset); |
| 21417 unittest.expect(index >= 0, unittest.isTrue); | 21421 unittest.expect(index >= 0, unittest.isTrue); |
| 21418 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 21422 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 21419 pathOffset = index; | 21423 pathOffset = index; |
| 21420 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 21424 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 21421 unittest.expect(path.substring(pathOffset, pathOffset + 7), unittest.equ
als("/sizes/")); | 21425 unittest.expect(path.substring(pathOffset, pathOffset + 7), unittest.equ
als("/sizes/")); |
| 21422 pathOffset += 7; | 21426 pathOffset += 7; |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 21462 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 21466 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 21463 var obj = new api.Size.fromJson(json); | 21467 var obj = new api.Size.fromJson(json); |
| 21464 checkSize(obj); | 21468 checkSize(obj); |
| 21465 | 21469 |
| 21466 var path = (req.url).path; | 21470 var path = (req.url).path; |
| 21467 var pathOffset = 0; | 21471 var pathOffset = 0; |
| 21468 var index; | 21472 var index; |
| 21469 var subPart; | 21473 var subPart; |
| 21470 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 21474 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 21471 pathOffset += 1; | 21475 pathOffset += 1; |
| 21472 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 21476 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 21473 pathOffset += 18; | 21477 pathOffset += 18; |
| 21474 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 21478 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 21475 pathOffset += 13; | 21479 pathOffset += 13; |
| 21476 index = path.indexOf("/sizes", pathOffset); | 21480 index = path.indexOf("/sizes", pathOffset); |
| 21477 unittest.expect(index >= 0, unittest.isTrue); | 21481 unittest.expect(index >= 0, unittest.isTrue); |
| 21478 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 21482 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 21479 pathOffset = index; | 21483 pathOffset = index; |
| 21480 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 21484 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 21481 unittest.expect(path.substring(pathOffset, pathOffset + 6), unittest.equ
als("/sizes")); | 21485 unittest.expect(path.substring(pathOffset, pathOffset + 6), unittest.equ
als("/sizes")); |
| 21482 pathOffset += 6; | 21486 pathOffset += 6; |
| (...skipping 27 matching lines...) Expand all Loading... |
| 21510 }))); | 21514 }))); |
| 21511 }); | 21515 }); |
| 21512 | 21516 |
| 21513 unittest.test("method--list", () { | 21517 unittest.test("method--list", () { |
| 21514 | 21518 |
| 21515 var mock = new HttpServerMock(); | 21519 var mock = new HttpServerMock(); |
| 21516 api.SizesResourceApi res = new api.DfareportingApi(mock).sizes; | 21520 api.SizesResourceApi res = new api.DfareportingApi(mock).sizes; |
| 21517 var arg_profileId = "foo"; | 21521 var arg_profileId = "foo"; |
| 21518 var arg_height = 42; | 21522 var arg_height = 42; |
| 21519 var arg_iabStandard = true; | 21523 var arg_iabStandard = true; |
| 21520 var arg_ids = buildUnnamed1807(); | 21524 var arg_ids = buildUnnamed381(); |
| 21521 var arg_width = 42; | 21525 var arg_width = 42; |
| 21522 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 21526 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 21523 var path = (req.url).path; | 21527 var path = (req.url).path; |
| 21524 var pathOffset = 0; | 21528 var pathOffset = 0; |
| 21525 var index; | 21529 var index; |
| 21526 var subPart; | 21530 var subPart; |
| 21527 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 21531 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 21528 pathOffset += 1; | 21532 pathOffset += 1; |
| 21529 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 21533 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 21530 pathOffset += 18; | 21534 pathOffset += 18; |
| 21531 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 21535 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 21532 pathOffset += 13; | 21536 pathOffset += 13; |
| 21533 index = path.indexOf("/sizes", pathOffset); | 21537 index = path.indexOf("/sizes", pathOffset); |
| 21534 unittest.expect(index >= 0, unittest.isTrue); | 21538 unittest.expect(index >= 0, unittest.isTrue); |
| 21535 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 21539 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 21536 pathOffset = index; | 21540 pathOffset = index; |
| 21537 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 21541 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 21538 unittest.expect(path.substring(pathOffset, pathOffset + 6), unittest.equ
als("/sizes")); | 21542 unittest.expect(path.substring(pathOffset, pathOffset + 6), unittest.equ
als("/sizes")); |
| 21539 pathOffset += 6; | 21543 pathOffset += 6; |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 21581 api.SubaccountsResourceApi res = new api.DfareportingApi(mock).subaccounts
; | 21585 api.SubaccountsResourceApi res = new api.DfareportingApi(mock).subaccounts
; |
| 21582 var arg_profileId = "foo"; | 21586 var arg_profileId = "foo"; |
| 21583 var arg_id = "foo"; | 21587 var arg_id = "foo"; |
| 21584 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 21588 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 21585 var path = (req.url).path; | 21589 var path = (req.url).path; |
| 21586 var pathOffset = 0; | 21590 var pathOffset = 0; |
| 21587 var index; | 21591 var index; |
| 21588 var subPart; | 21592 var subPart; |
| 21589 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 21593 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 21590 pathOffset += 1; | 21594 pathOffset += 1; |
| 21591 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 21595 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 21592 pathOffset += 18; | 21596 pathOffset += 18; |
| 21593 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 21597 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 21594 pathOffset += 13; | 21598 pathOffset += 13; |
| 21595 index = path.indexOf("/subaccounts/", pathOffset); | 21599 index = path.indexOf("/subaccounts/", pathOffset); |
| 21596 unittest.expect(index >= 0, unittest.isTrue); | 21600 unittest.expect(index >= 0, unittest.isTrue); |
| 21597 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 21601 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 21598 pathOffset = index; | 21602 pathOffset = index; |
| 21599 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 21603 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 21600 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("/subaccounts/")); | 21604 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("/subaccounts/")); |
| 21601 pathOffset += 13; | 21605 pathOffset += 13; |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 21641 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 21645 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 21642 var obj = new api.Subaccount.fromJson(json); | 21646 var obj = new api.Subaccount.fromJson(json); |
| 21643 checkSubaccount(obj); | 21647 checkSubaccount(obj); |
| 21644 | 21648 |
| 21645 var path = (req.url).path; | 21649 var path = (req.url).path; |
| 21646 var pathOffset = 0; | 21650 var pathOffset = 0; |
| 21647 var index; | 21651 var index; |
| 21648 var subPart; | 21652 var subPart; |
| 21649 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 21653 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 21650 pathOffset += 1; | 21654 pathOffset += 1; |
| 21651 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 21655 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 21652 pathOffset += 18; | 21656 pathOffset += 18; |
| 21653 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 21657 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 21654 pathOffset += 13; | 21658 pathOffset += 13; |
| 21655 index = path.indexOf("/subaccounts", pathOffset); | 21659 index = path.indexOf("/subaccounts", pathOffset); |
| 21656 unittest.expect(index >= 0, unittest.isTrue); | 21660 unittest.expect(index >= 0, unittest.isTrue); |
| 21657 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 21661 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 21658 pathOffset = index; | 21662 pathOffset = index; |
| 21659 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 21663 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 21660 unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.eq
uals("/subaccounts")); | 21664 unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.eq
uals("/subaccounts")); |
| 21661 pathOffset += 12; | 21665 pathOffset += 12; |
| (...skipping 25 matching lines...) Expand all Loading... |
| 21687 res.insert(arg_request, arg_profileId).then(unittest.expectAsync(((api.Sub
account response) { | 21691 res.insert(arg_request, arg_profileId).then(unittest.expectAsync(((api.Sub
account response) { |
| 21688 checkSubaccount(response); | 21692 checkSubaccount(response); |
| 21689 }))); | 21693 }))); |
| 21690 }); | 21694 }); |
| 21691 | 21695 |
| 21692 unittest.test("method--list", () { | 21696 unittest.test("method--list", () { |
| 21693 | 21697 |
| 21694 var mock = new HttpServerMock(); | 21698 var mock = new HttpServerMock(); |
| 21695 api.SubaccountsResourceApi res = new api.DfareportingApi(mock).subaccounts
; | 21699 api.SubaccountsResourceApi res = new api.DfareportingApi(mock).subaccounts
; |
| 21696 var arg_profileId = "foo"; | 21700 var arg_profileId = "foo"; |
| 21697 var arg_ids = buildUnnamed1808(); | 21701 var arg_ids = buildUnnamed382(); |
| 21698 var arg_maxResults = 42; | 21702 var arg_maxResults = 42; |
| 21699 var arg_pageToken = "foo"; | 21703 var arg_pageToken = "foo"; |
| 21700 var arg_searchString = "foo"; | 21704 var arg_searchString = "foo"; |
| 21701 var arg_sortField = "foo"; | 21705 var arg_sortField = "foo"; |
| 21702 var arg_sortOrder = "foo"; | 21706 var arg_sortOrder = "foo"; |
| 21703 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 21707 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 21704 var path = (req.url).path; | 21708 var path = (req.url).path; |
| 21705 var pathOffset = 0; | 21709 var pathOffset = 0; |
| 21706 var index; | 21710 var index; |
| 21707 var subPart; | 21711 var subPart; |
| 21708 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 21712 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 21709 pathOffset += 1; | 21713 pathOffset += 1; |
| 21710 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 21714 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 21711 pathOffset += 18; | 21715 pathOffset += 18; |
| 21712 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 21716 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 21713 pathOffset += 13; | 21717 pathOffset += 13; |
| 21714 index = path.indexOf("/subaccounts", pathOffset); | 21718 index = path.indexOf("/subaccounts", pathOffset); |
| 21715 unittest.expect(index >= 0, unittest.isTrue); | 21719 unittest.expect(index >= 0, unittest.isTrue); |
| 21716 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 21720 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 21717 pathOffset = index; | 21721 pathOffset = index; |
| 21718 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 21722 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 21719 unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.eq
uals("/subaccounts")); | 21723 unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.eq
uals("/subaccounts")); |
| 21720 pathOffset += 12; | 21724 pathOffset += 12; |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 21764 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 21768 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 21765 var obj = new api.Subaccount.fromJson(json); | 21769 var obj = new api.Subaccount.fromJson(json); |
| 21766 checkSubaccount(obj); | 21770 checkSubaccount(obj); |
| 21767 | 21771 |
| 21768 var path = (req.url).path; | 21772 var path = (req.url).path; |
| 21769 var pathOffset = 0; | 21773 var pathOffset = 0; |
| 21770 var index; | 21774 var index; |
| 21771 var subPart; | 21775 var subPart; |
| 21772 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 21776 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 21773 pathOffset += 1; | 21777 pathOffset += 1; |
| 21774 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 21778 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 21775 pathOffset += 18; | 21779 pathOffset += 18; |
| 21776 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 21780 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 21777 pathOffset += 13; | 21781 pathOffset += 13; |
| 21778 index = path.indexOf("/subaccounts", pathOffset); | 21782 index = path.indexOf("/subaccounts", pathOffset); |
| 21779 unittest.expect(index >= 0, unittest.isTrue); | 21783 unittest.expect(index >= 0, unittest.isTrue); |
| 21780 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 21784 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 21781 pathOffset = index; | 21785 pathOffset = index; |
| 21782 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 21786 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 21783 unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.eq
uals("/subaccounts")); | 21787 unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.eq
uals("/subaccounts")); |
| 21784 pathOffset += 12; | 21788 pathOffset += 12; |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 21822 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 21826 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 21823 var obj = new api.Subaccount.fromJson(json); | 21827 var obj = new api.Subaccount.fromJson(json); |
| 21824 checkSubaccount(obj); | 21828 checkSubaccount(obj); |
| 21825 | 21829 |
| 21826 var path = (req.url).path; | 21830 var path = (req.url).path; |
| 21827 var pathOffset = 0; | 21831 var pathOffset = 0; |
| 21828 var index; | 21832 var index; |
| 21829 var subPart; | 21833 var subPart; |
| 21830 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 21834 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 21831 pathOffset += 1; | 21835 pathOffset += 1; |
| 21832 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 21836 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 21833 pathOffset += 18; | 21837 pathOffset += 18; |
| 21834 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 21838 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 21835 pathOffset += 13; | 21839 pathOffset += 13; |
| 21836 index = path.indexOf("/subaccounts", pathOffset); | 21840 index = path.indexOf("/subaccounts", pathOffset); |
| 21837 unittest.expect(index >= 0, unittest.isTrue); | 21841 unittest.expect(index >= 0, unittest.isTrue); |
| 21838 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 21842 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 21839 pathOffset = index; | 21843 pathOffset = index; |
| 21840 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 21844 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 21841 unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.eq
uals("/subaccounts")); | 21845 unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.eq
uals("/subaccounts")); |
| 21842 pathOffset += 12; | 21846 pathOffset += 12; |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 21880 api.TargetableRemarketingListsResourceApi res = new api.DfareportingApi(mo
ck).targetableRemarketingLists; | 21884 api.TargetableRemarketingListsResourceApi res = new api.DfareportingApi(mo
ck).targetableRemarketingLists; |
| 21881 var arg_profileId = "foo"; | 21885 var arg_profileId = "foo"; |
| 21882 var arg_id = "foo"; | 21886 var arg_id = "foo"; |
| 21883 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 21887 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 21884 var path = (req.url).path; | 21888 var path = (req.url).path; |
| 21885 var pathOffset = 0; | 21889 var pathOffset = 0; |
| 21886 var index; | 21890 var index; |
| 21887 var subPart; | 21891 var subPart; |
| 21888 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 21892 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 21889 pathOffset += 1; | 21893 pathOffset += 1; |
| 21890 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 21894 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 21891 pathOffset += 18; | 21895 pathOffset += 18; |
| 21892 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 21896 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 21893 pathOffset += 13; | 21897 pathOffset += 13; |
| 21894 index = path.indexOf("/targetableRemarketingLists/", pathOffset); | 21898 index = path.indexOf("/targetableRemarketingLists/", pathOffset); |
| 21895 unittest.expect(index >= 0, unittest.isTrue); | 21899 unittest.expect(index >= 0, unittest.isTrue); |
| 21896 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 21900 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 21897 pathOffset = index; | 21901 pathOffset = index; |
| 21898 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 21902 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 21899 unittest.expect(path.substring(pathOffset, pathOffset + 28), unittest.eq
uals("/targetableRemarketingLists/")); | 21903 unittest.expect(path.substring(pathOffset, pathOffset + 28), unittest.eq
uals("/targetableRemarketingLists/")); |
| 21900 pathOffset += 28; | 21904 pathOffset += 28; |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 21943 var arg_pageToken = "foo"; | 21947 var arg_pageToken = "foo"; |
| 21944 var arg_sortField = "foo"; | 21948 var arg_sortField = "foo"; |
| 21945 var arg_sortOrder = "foo"; | 21949 var arg_sortOrder = "foo"; |
| 21946 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 21950 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 21947 var path = (req.url).path; | 21951 var path = (req.url).path; |
| 21948 var pathOffset = 0; | 21952 var pathOffset = 0; |
| 21949 var index; | 21953 var index; |
| 21950 var subPart; | 21954 var subPart; |
| 21951 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 21955 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 21952 pathOffset += 1; | 21956 pathOffset += 1; |
| 21953 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 21957 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 21954 pathOffset += 18; | 21958 pathOffset += 18; |
| 21955 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 21959 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 21956 pathOffset += 13; | 21960 pathOffset += 13; |
| 21957 index = path.indexOf("/targetableRemarketingLists", pathOffset); | 21961 index = path.indexOf("/targetableRemarketingLists", pathOffset); |
| 21958 unittest.expect(index >= 0, unittest.isTrue); | 21962 unittest.expect(index >= 0, unittest.isTrue); |
| 21959 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 21963 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 21960 pathOffset = index; | 21964 pathOffset = index; |
| 21961 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 21965 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 21962 unittest.expect(path.substring(pathOffset, pathOffset + 27), unittest.eq
uals("/targetableRemarketingLists")); | 21966 unittest.expect(path.substring(pathOffset, pathOffset + 27), unittest.eq
uals("/targetableRemarketingLists")); |
| 21963 pathOffset += 27; | 21967 pathOffset += 27; |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 22007 var mock = new HttpServerMock(); | 22011 var mock = new HttpServerMock(); |
| 22008 api.UserProfilesResourceApi res = new api.DfareportingApi(mock).userProfil
es; | 22012 api.UserProfilesResourceApi res = new api.DfareportingApi(mock).userProfil
es; |
| 22009 var arg_profileId = "foo"; | 22013 var arg_profileId = "foo"; |
| 22010 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 22014 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 22011 var path = (req.url).path; | 22015 var path = (req.url).path; |
| 22012 var pathOffset = 0; | 22016 var pathOffset = 0; |
| 22013 var index; | 22017 var index; |
| 22014 var subPart; | 22018 var subPart; |
| 22015 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 22019 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 22016 pathOffset += 1; | 22020 pathOffset += 1; |
| 22017 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 22021 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 22018 pathOffset += 18; | 22022 pathOffset += 18; |
| 22019 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 22023 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 22020 pathOffset += 13; | 22024 pathOffset += 13; |
| 22021 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset)); | 22025 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset)); |
| 22022 pathOffset = path.length; | 22026 pathOffset = path.length; |
| 22023 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 22027 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 22024 | 22028 |
| 22025 var query = (req.url).query; | 22029 var query = (req.url).query; |
| 22026 var queryOffset = 0; | 22030 var queryOffset = 0; |
| 22027 var queryMap = {}; | 22031 var queryMap = {}; |
| (...skipping 27 matching lines...) Expand all Loading... |
| 22055 | 22059 |
| 22056 var mock = new HttpServerMock(); | 22060 var mock = new HttpServerMock(); |
| 22057 api.UserProfilesResourceApi res = new api.DfareportingApi(mock).userProfil
es; | 22061 api.UserProfilesResourceApi res = new api.DfareportingApi(mock).userProfil
es; |
| 22058 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 22062 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 22059 var path = (req.url).path; | 22063 var path = (req.url).path; |
| 22060 var pathOffset = 0; | 22064 var pathOffset = 0; |
| 22061 var index; | 22065 var index; |
| 22062 var subPart; | 22066 var subPart; |
| 22063 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 22067 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 22064 pathOffset += 1; | 22068 pathOffset += 1; |
| 22065 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 22069 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 22066 pathOffset += 18; | 22070 pathOffset += 18; |
| 22067 unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.eq
uals("userprofiles")); | 22071 unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.eq
uals("userprofiles")); |
| 22068 pathOffset += 12; | 22072 pathOffset += 12; |
| 22069 | 22073 |
| 22070 var query = (req.url).query; | 22074 var query = (req.url).query; |
| 22071 var queryOffset = 0; | 22075 var queryOffset = 0; |
| 22072 var queryMap = {}; | 22076 var queryMap = {}; |
| 22073 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); | 22077 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); |
| 22074 parseBool(n) { | 22078 parseBool(n) { |
| 22075 if (n == "true") return true; | 22079 if (n == "true") return true; |
| (...skipping 30 matching lines...) Expand all Loading... |
| 22106 api.UserRolePermissionGroupsResourceApi res = new api.DfareportingApi(mock
).userRolePermissionGroups; | 22110 api.UserRolePermissionGroupsResourceApi res = new api.DfareportingApi(mock
).userRolePermissionGroups; |
| 22107 var arg_profileId = "foo"; | 22111 var arg_profileId = "foo"; |
| 22108 var arg_id = "foo"; | 22112 var arg_id = "foo"; |
| 22109 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 22113 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 22110 var path = (req.url).path; | 22114 var path = (req.url).path; |
| 22111 var pathOffset = 0; | 22115 var pathOffset = 0; |
| 22112 var index; | 22116 var index; |
| 22113 var subPart; | 22117 var subPart; |
| 22114 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 22118 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 22115 pathOffset += 1; | 22119 pathOffset += 1; |
| 22116 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 22120 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 22117 pathOffset += 18; | 22121 pathOffset += 18; |
| 22118 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 22122 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 22119 pathOffset += 13; | 22123 pathOffset += 13; |
| 22120 index = path.indexOf("/userRolePermissionGroups/", pathOffset); | 22124 index = path.indexOf("/userRolePermissionGroups/", pathOffset); |
| 22121 unittest.expect(index >= 0, unittest.isTrue); | 22125 unittest.expect(index >= 0, unittest.isTrue); |
| 22122 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 22126 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 22123 pathOffset = index; | 22127 pathOffset = index; |
| 22124 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 22128 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 22125 unittest.expect(path.substring(pathOffset, pathOffset + 26), unittest.eq
uals("/userRolePermissionGroups/")); | 22129 unittest.expect(path.substring(pathOffset, pathOffset + 26), unittest.eq
uals("/userRolePermissionGroups/")); |
| 22126 pathOffset += 26; | 22130 pathOffset += 26; |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 22162 var mock = new HttpServerMock(); | 22166 var mock = new HttpServerMock(); |
| 22163 api.UserRolePermissionGroupsResourceApi res = new api.DfareportingApi(mock
).userRolePermissionGroups; | 22167 api.UserRolePermissionGroupsResourceApi res = new api.DfareportingApi(mock
).userRolePermissionGroups; |
| 22164 var arg_profileId = "foo"; | 22168 var arg_profileId = "foo"; |
| 22165 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 22169 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 22166 var path = (req.url).path; | 22170 var path = (req.url).path; |
| 22167 var pathOffset = 0; | 22171 var pathOffset = 0; |
| 22168 var index; | 22172 var index; |
| 22169 var subPart; | 22173 var subPart; |
| 22170 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 22174 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 22171 pathOffset += 1; | 22175 pathOffset += 1; |
| 22172 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 22176 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 22173 pathOffset += 18; | 22177 pathOffset += 18; |
| 22174 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 22178 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 22175 pathOffset += 13; | 22179 pathOffset += 13; |
| 22176 index = path.indexOf("/userRolePermissionGroups", pathOffset); | 22180 index = path.indexOf("/userRolePermissionGroups", pathOffset); |
| 22177 unittest.expect(index >= 0, unittest.isTrue); | 22181 unittest.expect(index >= 0, unittest.isTrue); |
| 22178 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 22182 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 22179 pathOffset = index; | 22183 pathOffset = index; |
| 22180 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 22184 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 22181 unittest.expect(path.substring(pathOffset, pathOffset + 25), unittest.eq
uals("/userRolePermissionGroups")); | 22185 unittest.expect(path.substring(pathOffset, pathOffset + 25), unittest.eq
uals("/userRolePermissionGroups")); |
| 22182 pathOffset += 25; | 22186 pathOffset += 25; |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 22220 api.UserRolePermissionsResourceApi res = new api.DfareportingApi(mock).use
rRolePermissions; | 22224 api.UserRolePermissionsResourceApi res = new api.DfareportingApi(mock).use
rRolePermissions; |
| 22221 var arg_profileId = "foo"; | 22225 var arg_profileId = "foo"; |
| 22222 var arg_id = "foo"; | 22226 var arg_id = "foo"; |
| 22223 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 22227 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 22224 var path = (req.url).path; | 22228 var path = (req.url).path; |
| 22225 var pathOffset = 0; | 22229 var pathOffset = 0; |
| 22226 var index; | 22230 var index; |
| 22227 var subPart; | 22231 var subPart; |
| 22228 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 22232 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 22229 pathOffset += 1; | 22233 pathOffset += 1; |
| 22230 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 22234 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 22231 pathOffset += 18; | 22235 pathOffset += 18; |
| 22232 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 22236 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 22233 pathOffset += 13; | 22237 pathOffset += 13; |
| 22234 index = path.indexOf("/userRolePermissions/", pathOffset); | 22238 index = path.indexOf("/userRolePermissions/", pathOffset); |
| 22235 unittest.expect(index >= 0, unittest.isTrue); | 22239 unittest.expect(index >= 0, unittest.isTrue); |
| 22236 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 22240 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 22237 pathOffset = index; | 22241 pathOffset = index; |
| 22238 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 22242 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 22239 unittest.expect(path.substring(pathOffset, pathOffset + 21), unittest.eq
uals("/userRolePermissions/")); | 22243 unittest.expect(path.substring(pathOffset, pathOffset + 21), unittest.eq
uals("/userRolePermissions/")); |
| 22240 pathOffset += 21; | 22244 pathOffset += 21; |
| (...skipping 28 matching lines...) Expand all Loading... |
| 22269 res.get(arg_profileId, arg_id).then(unittest.expectAsync(((api.UserRolePer
mission response) { | 22273 res.get(arg_profileId, arg_id).then(unittest.expectAsync(((api.UserRolePer
mission response) { |
| 22270 checkUserRolePermission(response); | 22274 checkUserRolePermission(response); |
| 22271 }))); | 22275 }))); |
| 22272 }); | 22276 }); |
| 22273 | 22277 |
| 22274 unittest.test("method--list", () { | 22278 unittest.test("method--list", () { |
| 22275 | 22279 |
| 22276 var mock = new HttpServerMock(); | 22280 var mock = new HttpServerMock(); |
| 22277 api.UserRolePermissionsResourceApi res = new api.DfareportingApi(mock).use
rRolePermissions; | 22281 api.UserRolePermissionsResourceApi res = new api.DfareportingApi(mock).use
rRolePermissions; |
| 22278 var arg_profileId = "foo"; | 22282 var arg_profileId = "foo"; |
| 22279 var arg_ids = buildUnnamed1809(); | 22283 var arg_ids = buildUnnamed383(); |
| 22280 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 22284 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 22281 var path = (req.url).path; | 22285 var path = (req.url).path; |
| 22282 var pathOffset = 0; | 22286 var pathOffset = 0; |
| 22283 var index; | 22287 var index; |
| 22284 var subPart; | 22288 var subPart; |
| 22285 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 22289 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 22286 pathOffset += 1; | 22290 pathOffset += 1; |
| 22287 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 22291 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 22288 pathOffset += 18; | 22292 pathOffset += 18; |
| 22289 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 22293 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 22290 pathOffset += 13; | 22294 pathOffset += 13; |
| 22291 index = path.indexOf("/userRolePermissions", pathOffset); | 22295 index = path.indexOf("/userRolePermissions", pathOffset); |
| 22292 unittest.expect(index >= 0, unittest.isTrue); | 22296 unittest.expect(index >= 0, unittest.isTrue); |
| 22293 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 22297 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 22294 pathOffset = index; | 22298 pathOffset = index; |
| 22295 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 22299 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 22296 unittest.expect(path.substring(pathOffset, pathOffset + 20), unittest.eq
uals("/userRolePermissions")); | 22300 unittest.expect(path.substring(pathOffset, pathOffset + 20), unittest.eq
uals("/userRolePermissions")); |
| 22297 pathOffset += 20; | 22301 pathOffset += 20; |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 22336 api.UserRolesResourceApi res = new api.DfareportingApi(mock).userRoles; | 22340 api.UserRolesResourceApi res = new api.DfareportingApi(mock).userRoles; |
| 22337 var arg_profileId = "foo"; | 22341 var arg_profileId = "foo"; |
| 22338 var arg_id = "foo"; | 22342 var arg_id = "foo"; |
| 22339 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 22343 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 22340 var path = (req.url).path; | 22344 var path = (req.url).path; |
| 22341 var pathOffset = 0; | 22345 var pathOffset = 0; |
| 22342 var index; | 22346 var index; |
| 22343 var subPart; | 22347 var subPart; |
| 22344 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 22348 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 22345 pathOffset += 1; | 22349 pathOffset += 1; |
| 22346 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 22350 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 22347 pathOffset += 18; | 22351 pathOffset += 18; |
| 22348 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 22352 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 22349 pathOffset += 13; | 22353 pathOffset += 13; |
| 22350 index = path.indexOf("/userRoles/", pathOffset); | 22354 index = path.indexOf("/userRoles/", pathOffset); |
| 22351 unittest.expect(index >= 0, unittest.isTrue); | 22355 unittest.expect(index >= 0, unittest.isTrue); |
| 22352 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 22356 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 22353 pathOffset = index; | 22357 pathOffset = index; |
| 22354 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 22358 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 22355 unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.eq
uals("/userRoles/")); | 22359 unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.eq
uals("/userRoles/")); |
| 22356 pathOffset += 11; | 22360 pathOffset += 11; |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 22391 api.UserRolesResourceApi res = new api.DfareportingApi(mock).userRoles; | 22395 api.UserRolesResourceApi res = new api.DfareportingApi(mock).userRoles; |
| 22392 var arg_profileId = "foo"; | 22396 var arg_profileId = "foo"; |
| 22393 var arg_id = "foo"; | 22397 var arg_id = "foo"; |
| 22394 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 22398 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 22395 var path = (req.url).path; | 22399 var path = (req.url).path; |
| 22396 var pathOffset = 0; | 22400 var pathOffset = 0; |
| 22397 var index; | 22401 var index; |
| 22398 var subPart; | 22402 var subPart; |
| 22399 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 22403 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 22400 pathOffset += 1; | 22404 pathOffset += 1; |
| 22401 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 22405 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 22402 pathOffset += 18; | 22406 pathOffset += 18; |
| 22403 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 22407 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 22404 pathOffset += 13; | 22408 pathOffset += 13; |
| 22405 index = path.indexOf("/userRoles/", pathOffset); | 22409 index = path.indexOf("/userRoles/", pathOffset); |
| 22406 unittest.expect(index >= 0, unittest.isTrue); | 22410 unittest.expect(index >= 0, unittest.isTrue); |
| 22407 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 22411 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 22408 pathOffset = index; | 22412 pathOffset = index; |
| 22409 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 22413 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 22410 unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.eq
uals("/userRoles/")); | 22414 unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.eq
uals("/userRoles/")); |
| 22411 pathOffset += 11; | 22415 pathOffset += 11; |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 22451 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 22455 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 22452 var obj = new api.UserRole.fromJson(json); | 22456 var obj = new api.UserRole.fromJson(json); |
| 22453 checkUserRole(obj); | 22457 checkUserRole(obj); |
| 22454 | 22458 |
| 22455 var path = (req.url).path; | 22459 var path = (req.url).path; |
| 22456 var pathOffset = 0; | 22460 var pathOffset = 0; |
| 22457 var index; | 22461 var index; |
| 22458 var subPart; | 22462 var subPart; |
| 22459 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 22463 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 22460 pathOffset += 1; | 22464 pathOffset += 1; |
| 22461 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 22465 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 22462 pathOffset += 18; | 22466 pathOffset += 18; |
| 22463 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 22467 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 22464 pathOffset += 13; | 22468 pathOffset += 13; |
| 22465 index = path.indexOf("/userRoles", pathOffset); | 22469 index = path.indexOf("/userRoles", pathOffset); |
| 22466 unittest.expect(index >= 0, unittest.isTrue); | 22470 unittest.expect(index >= 0, unittest.isTrue); |
| 22467 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 22471 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 22468 pathOffset = index; | 22472 pathOffset = index; |
| 22469 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 22473 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 22470 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("/userRoles")); | 22474 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("/userRoles")); |
| 22471 pathOffset += 10; | 22475 pathOffset += 10; |
| (...skipping 26 matching lines...) Expand all Loading... |
| 22498 checkUserRole(response); | 22502 checkUserRole(response); |
| 22499 }))); | 22503 }))); |
| 22500 }); | 22504 }); |
| 22501 | 22505 |
| 22502 unittest.test("method--list", () { | 22506 unittest.test("method--list", () { |
| 22503 | 22507 |
| 22504 var mock = new HttpServerMock(); | 22508 var mock = new HttpServerMock(); |
| 22505 api.UserRolesResourceApi res = new api.DfareportingApi(mock).userRoles; | 22509 api.UserRolesResourceApi res = new api.DfareportingApi(mock).userRoles; |
| 22506 var arg_profileId = "foo"; | 22510 var arg_profileId = "foo"; |
| 22507 var arg_accountUserRoleOnly = true; | 22511 var arg_accountUserRoleOnly = true; |
| 22508 var arg_ids = buildUnnamed1810(); | 22512 var arg_ids = buildUnnamed384(); |
| 22509 var arg_maxResults = 42; | 22513 var arg_maxResults = 42; |
| 22510 var arg_pageToken = "foo"; | 22514 var arg_pageToken = "foo"; |
| 22511 var arg_searchString = "foo"; | 22515 var arg_searchString = "foo"; |
| 22512 var arg_sortField = "foo"; | 22516 var arg_sortField = "foo"; |
| 22513 var arg_sortOrder = "foo"; | 22517 var arg_sortOrder = "foo"; |
| 22514 var arg_subaccountId = "foo"; | 22518 var arg_subaccountId = "foo"; |
| 22515 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 22519 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 22516 var path = (req.url).path; | 22520 var path = (req.url).path; |
| 22517 var pathOffset = 0; | 22521 var pathOffset = 0; |
| 22518 var index; | 22522 var index; |
| 22519 var subPart; | 22523 var subPart; |
| 22520 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 22524 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 22521 pathOffset += 1; | 22525 pathOffset += 1; |
| 22522 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 22526 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 22523 pathOffset += 18; | 22527 pathOffset += 18; |
| 22524 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 22528 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 22525 pathOffset += 13; | 22529 pathOffset += 13; |
| 22526 index = path.indexOf("/userRoles", pathOffset); | 22530 index = path.indexOf("/userRoles", pathOffset); |
| 22527 unittest.expect(index >= 0, unittest.isTrue); | 22531 unittest.expect(index >= 0, unittest.isTrue); |
| 22528 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 22532 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 22529 pathOffset = index; | 22533 pathOffset = index; |
| 22530 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 22534 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 22531 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("/userRoles")); | 22535 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("/userRoles")); |
| 22532 pathOffset += 10; | 22536 pathOffset += 10; |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 22578 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 22582 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 22579 var obj = new api.UserRole.fromJson(json); | 22583 var obj = new api.UserRole.fromJson(json); |
| 22580 checkUserRole(obj); | 22584 checkUserRole(obj); |
| 22581 | 22585 |
| 22582 var path = (req.url).path; | 22586 var path = (req.url).path; |
| 22583 var pathOffset = 0; | 22587 var pathOffset = 0; |
| 22584 var index; | 22588 var index; |
| 22585 var subPart; | 22589 var subPart; |
| 22586 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 22590 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 22587 pathOffset += 1; | 22591 pathOffset += 1; |
| 22588 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 22592 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 22589 pathOffset += 18; | 22593 pathOffset += 18; |
| 22590 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 22594 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 22591 pathOffset += 13; | 22595 pathOffset += 13; |
| 22592 index = path.indexOf("/userRoles", pathOffset); | 22596 index = path.indexOf("/userRoles", pathOffset); |
| 22593 unittest.expect(index >= 0, unittest.isTrue); | 22597 unittest.expect(index >= 0, unittest.isTrue); |
| 22594 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 22598 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 22595 pathOffset = index; | 22599 pathOffset = index; |
| 22596 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 22600 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 22597 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("/userRoles")); | 22601 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("/userRoles")); |
| 22598 pathOffset += 10; | 22602 pathOffset += 10; |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 22636 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 22640 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 22637 var obj = new api.UserRole.fromJson(json); | 22641 var obj = new api.UserRole.fromJson(json); |
| 22638 checkUserRole(obj); | 22642 checkUserRole(obj); |
| 22639 | 22643 |
| 22640 var path = (req.url).path; | 22644 var path = (req.url).path; |
| 22641 var pathOffset = 0; | 22645 var pathOffset = 0; |
| 22642 var index; | 22646 var index; |
| 22643 var subPart; | 22647 var subPart; |
| 22644 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 22648 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 22645 pathOffset += 1; | 22649 pathOffset += 1; |
| 22646 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.3/")); | 22650 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.4/")); |
| 22647 pathOffset += 18; | 22651 pathOffset += 18; |
| 22648 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 22652 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 22649 pathOffset += 13; | 22653 pathOffset += 13; |
| 22650 index = path.indexOf("/userRoles", pathOffset); | 22654 index = path.indexOf("/userRoles", pathOffset); |
| 22651 unittest.expect(index >= 0, unittest.isTrue); | 22655 unittest.expect(index >= 0, unittest.isTrue); |
| 22652 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 22656 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 22653 pathOffset = index; | 22657 pathOffset = index; |
| 22654 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 22658 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 22655 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("/userRoles")); | 22659 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("/userRoles")); |
| 22656 pathOffset += 10; | 22660 pathOffset += 10; |
| (...skipping 25 matching lines...) Expand all Loading... |
| 22682 res.update(arg_request, arg_profileId).then(unittest.expectAsync(((api.Use
rRole response) { | 22686 res.update(arg_request, arg_profileId).then(unittest.expectAsync(((api.Use
rRole response) { |
| 22683 checkUserRole(response); | 22687 checkUserRole(response); |
| 22684 }))); | 22688 }))); |
| 22685 }); | 22689 }); |
| 22686 | 22690 |
| 22687 }); | 22691 }); |
| 22688 | 22692 |
| 22689 | 22693 |
| 22690 } | 22694 } |
| 22691 | 22695 |
| OLD | NEW |