| OLD | NEW |
| 1 library googleapis.dfareporting.v2_5.test; | 1 library googleapis.dfareporting.v2_6.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_5.dart' as api; | 12 import 'package:googleapis/dfareporting/v2_6.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 buildUnnamed1404() { | 54 buildUnnamed2137() { |
| 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 checkUnnamed1404(core.List<core.String> o) { | 61 checkUnnamed2137(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 buildUnnamed1405() { | 67 buildUnnamed2138() { |
| 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 checkUnnamed1405(core.List<core.String> o) { | 74 checkUnnamed2138(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 = buildUnnamed1404(); | 85 o.accountPermissionIds = buildUnnamed2137(); |
| 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 = buildUnnamed1405(); | 90 o.availablePermissionIds = buildUnnamed2138(); |
| 91 o.comscoreVceEnabled = true; | |
| 92 o.countryId = "foo"; | 91 o.countryId = "foo"; |
| 93 o.currencyId = "foo"; | 92 o.currencyId = "foo"; |
| 94 o.defaultCreativeSizeId = "foo"; | 93 o.defaultCreativeSizeId = "foo"; |
| 95 o.description = "foo"; | 94 o.description = "foo"; |
| 96 o.id = "foo"; | 95 o.id = "foo"; |
| 97 o.kind = "foo"; | 96 o.kind = "foo"; |
| 98 o.locale = "foo"; | 97 o.locale = "foo"; |
| 99 o.maximumImageSize = "foo"; | 98 o.maximumImageSize = "foo"; |
| 100 o.name = "foo"; | 99 o.name = "foo"; |
| 101 o.nielsenOcrEnabled = true; | 100 o.nielsenOcrEnabled = true; |
| 102 o.reportsConfiguration = buildReportsConfiguration(); | 101 o.reportsConfiguration = buildReportsConfiguration(); |
| 102 o.shareReportsWithTwitter = true; |
| 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 checkUnnamed1404(o.accountPermissionIds); | 112 checkUnnamed2137(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 checkUnnamed1405(o.availablePermissionIds); | 117 checkUnnamed2138(o.availablePermissionIds); |
| 118 unittest.expect(o.comscoreVceEnabled, unittest.isTrue); | |
| 119 unittest.expect(o.countryId, unittest.equals('foo')); | 118 unittest.expect(o.countryId, unittest.equals('foo')); |
| 120 unittest.expect(o.currencyId, unittest.equals('foo')); | 119 unittest.expect(o.currencyId, unittest.equals('foo')); |
| 121 unittest.expect(o.defaultCreativeSizeId, unittest.equals('foo')); | 120 unittest.expect(o.defaultCreativeSizeId, unittest.equals('foo')); |
| 122 unittest.expect(o.description, unittest.equals('foo')); | 121 unittest.expect(o.description, unittest.equals('foo')); |
| 123 unittest.expect(o.id, unittest.equals('foo')); | 122 unittest.expect(o.id, unittest.equals('foo')); |
| 124 unittest.expect(o.kind, unittest.equals('foo')); | 123 unittest.expect(o.kind, unittest.equals('foo')); |
| 125 unittest.expect(o.locale, unittest.equals('foo')); | 124 unittest.expect(o.locale, unittest.equals('foo')); |
| 126 unittest.expect(o.maximumImageSize, unittest.equals('foo')); | 125 unittest.expect(o.maximumImageSize, unittest.equals('foo')); |
| 127 unittest.expect(o.name, unittest.equals('foo')); | 126 unittest.expect(o.name, unittest.equals('foo')); |
| 128 unittest.expect(o.nielsenOcrEnabled, unittest.isTrue); | 127 unittest.expect(o.nielsenOcrEnabled, unittest.isTrue); |
| 129 checkReportsConfiguration(o.reportsConfiguration); | 128 checkReportsConfiguration(o.reportsConfiguration); |
| 129 unittest.expect(o.shareReportsWithTwitter, unittest.isTrue); |
| 130 unittest.expect(o.teaserSizeLimit, unittest.equals('foo')); | 130 unittest.expect(o.teaserSizeLimit, unittest.equals('foo')); |
| 131 } | 131 } |
| 132 buildCounterAccount--; | 132 buildCounterAccount--; |
| 133 } | 133 } |
| 134 | 134 |
| 135 core.int buildCounterAccountActiveAdSummary = 0; | 135 core.int buildCounterAccountActiveAdSummary = 0; |
| 136 buildAccountActiveAdSummary() { | 136 buildAccountActiveAdSummary() { |
| 137 var o = new api.AccountActiveAdSummary(); | 137 var o = new api.AccountActiveAdSummary(); |
| 138 buildCounterAccountActiveAdSummary++; | 138 buildCounterAccountActiveAdSummary++; |
| 139 if (buildCounterAccountActiveAdSummary < 3) { | 139 if (buildCounterAccountActiveAdSummary < 3) { |
| (...skipping 12 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 buildUnnamed1406() { | 162 buildUnnamed2139() { |
| 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 checkUnnamed1406(core.List<core.String> o) { | 169 checkUnnamed2139(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 = buildUnnamed1406(); | 180 o.accountProfiles = buildUnnamed2139(); |
| 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 checkUnnamed1406(o.accountProfiles); | 194 checkUnnamed2139(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 buildUnnamed1407() { | 227 buildUnnamed2140() { |
| 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 checkUnnamed1407(core.List<api.AccountPermissionGroup> o) { | 234 checkUnnamed2140(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 = buildUnnamed1407(); | 245 o.accountPermissionGroups = buildUnnamed2140(); |
| 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 checkUnnamed1407(o.accountPermissionGroups); | 255 checkUnnamed2140(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 buildUnnamed1408() { | 261 buildUnnamed2141() { |
| 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 checkUnnamed1408(core.List<api.AccountPermission> o) { | 268 checkUnnamed2141(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 = buildUnnamed1408(); | 279 o.accountPermissions = buildUnnamed2141(); |
| 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 checkUnnamed1408(o.accountPermissions); | 289 checkUnnamed2141(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 buildUnnamed1409() { | 344 buildUnnamed2142() { |
| 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 checkUnnamed1409(core.List<api.AccountUserProfile> o) { | 351 checkUnnamed2142(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 = buildUnnamed1409(); | 362 o.accountUserProfiles = buildUnnamed2142(); |
| 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 checkUnnamed1409(o.accountUserProfiles); | 373 checkUnnamed2142(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 buildUnnamed1410() { | 380 buildUnnamed2143() { |
| 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 checkUnnamed1410(core.List<api.Account> o) { | 387 checkUnnamed2143(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 = buildUnnamed1410(); | 398 o.accounts = buildUnnamed2143(); |
| 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 checkUnnamed1410(o.accounts); | 409 checkUnnamed2143(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 buildUnnamed1411() { | 416 buildUnnamed2144() { |
| 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 checkUnnamed1411(core.List<api.DimensionValue> o) { | 423 checkUnnamed2144(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 buildUnnamed1412() { | 429 buildUnnamed2145() { |
| 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 checkUnnamed1412(core.List<core.String> o) { | 436 checkUnnamed2145(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 = buildUnnamed1411(); | 447 o.filters = buildUnnamed2144(); |
| 448 o.kind = "foo"; | 448 o.kind = "foo"; |
| 449 o.metricNames = buildUnnamed1412(); | 449 o.metricNames = buildUnnamed2145(); |
| 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 checkUnnamed1411(o.filters); | 458 checkUnnamed2144(o.filters); |
| 459 unittest.expect(o.kind, unittest.equals('foo')); | 459 unittest.expect(o.kind, unittest.equals('foo')); |
| 460 checkUnnamed1412(o.metricNames); | 460 checkUnnamed2145(o.metricNames); |
| 461 } | 461 } |
| 462 buildCounterActivities--; | 462 buildCounterActivities--; |
| 463 } | 463 } |
| 464 | 464 |
| 465 buildUnnamed1413() { | 465 buildUnnamed2146() { |
| 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 checkUnnamed1413(core.List<api.CreativeGroupAssignment> o) { | 472 checkUnnamed2146(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 buildUnnamed1414() { | 478 buildUnnamed2147() { |
| 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 checkUnnamed1414(core.List<api.EventTagOverride> o) { | 485 checkUnnamed2147(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 buildUnnamed1415() { | 491 buildUnnamed2148() { |
| 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 checkUnnamed1415(core.List<api.PlacementAssignment> o) { | 498 checkUnnamed2148(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 = buildUnnamed1413(); | 522 o.creativeGroupAssignments = buildUnnamed2146(); |
| 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 = buildUnnamed1414(); | 529 o.eventTagOverrides = buildUnnamed2147(); |
| 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.languageTargeting = buildLanguageTargeting(); |
| 535 o.lastModifiedInfo = buildLastModifiedInfo(); | 536 o.lastModifiedInfo = buildLastModifiedInfo(); |
| 536 o.name = "foo"; | 537 o.name = "foo"; |
| 537 o.placementAssignments = buildUnnamed1415(); | 538 o.placementAssignments = buildUnnamed2148(); |
| 538 o.remarketingListExpression = buildListTargetingExpression(); | 539 o.remarketingListExpression = buildListTargetingExpression(); |
| 539 o.size = buildSize(); | 540 o.size = buildSize(); |
| 540 o.sslCompliant = true; | 541 o.sslCompliant = true; |
| 541 o.sslRequired = true; | 542 o.sslRequired = true; |
| 542 o.startTime = core.DateTime.parse("2002-02-27T14:01:02"); | 543 o.startTime = core.DateTime.parse("2002-02-27T14:01:02"); |
| 543 o.subaccountId = "foo"; | 544 o.subaccountId = "foo"; |
| 545 o.targetingTemplateId = "foo"; |
| 544 o.technologyTargeting = buildTechnologyTargeting(); | 546 o.technologyTargeting = buildTechnologyTargeting(); |
| 545 o.type = "foo"; | 547 o.type = "foo"; |
| 546 } | 548 } |
| 547 buildCounterAd--; | 549 buildCounterAd--; |
| 548 return o; | 550 return o; |
| 549 } | 551 } |
| 550 | 552 |
| 551 checkAd(api.Ad o) { | 553 checkAd(api.Ad o) { |
| 552 buildCounterAd++; | 554 buildCounterAd++; |
| 553 if (buildCounterAd < 3) { | 555 if (buildCounterAd < 3) { |
| 554 unittest.expect(o.accountId, unittest.equals('foo')); | 556 unittest.expect(o.accountId, unittest.equals('foo')); |
| 555 unittest.expect(o.active, unittest.isTrue); | 557 unittest.expect(o.active, unittest.isTrue); |
| 556 unittest.expect(o.advertiserId, unittest.equals('foo')); | 558 unittest.expect(o.advertiserId, unittest.equals('foo')); |
| 557 checkDimensionValue(o.advertiserIdDimensionValue); | 559 checkDimensionValue(o.advertiserIdDimensionValue); |
| 558 unittest.expect(o.archived, unittest.isTrue); | 560 unittest.expect(o.archived, unittest.isTrue); |
| 559 unittest.expect(o.audienceSegmentId, unittest.equals('foo')); | 561 unittest.expect(o.audienceSegmentId, unittest.equals('foo')); |
| 560 unittest.expect(o.campaignId, unittest.equals('foo')); | 562 unittest.expect(o.campaignId, unittest.equals('foo')); |
| 561 checkDimensionValue(o.campaignIdDimensionValue); | 563 checkDimensionValue(o.campaignIdDimensionValue); |
| 562 checkClickThroughUrl(o.clickThroughUrl); | 564 checkClickThroughUrl(o.clickThroughUrl); |
| 563 checkClickThroughUrlSuffixProperties(o.clickThroughUrlSuffixProperties); | 565 checkClickThroughUrlSuffixProperties(o.clickThroughUrlSuffixProperties); |
| 564 unittest.expect(o.comments, unittest.equals('foo')); | 566 unittest.expect(o.comments, unittest.equals('foo')); |
| 565 unittest.expect(o.compatibility, unittest.equals('foo')); | 567 unittest.expect(o.compatibility, unittest.equals('foo')); |
| 566 checkLastModifiedInfo(o.createInfo); | 568 checkLastModifiedInfo(o.createInfo); |
| 567 checkUnnamed1413(o.creativeGroupAssignments); | 569 checkUnnamed2146(o.creativeGroupAssignments); |
| 568 checkCreativeRotation(o.creativeRotation); | 570 checkCreativeRotation(o.creativeRotation); |
| 569 checkDayPartTargeting(o.dayPartTargeting); | 571 checkDayPartTargeting(o.dayPartTargeting); |
| 570 checkDefaultClickThroughEventTagProperties(o.defaultClickThroughEventTagProp
erties); | 572 checkDefaultClickThroughEventTagProperties(o.defaultClickThroughEventTagProp
erties); |
| 571 checkDeliverySchedule(o.deliverySchedule); | 573 checkDeliverySchedule(o.deliverySchedule); |
| 572 unittest.expect(o.dynamicClickTracker, unittest.isTrue); | 574 unittest.expect(o.dynamicClickTracker, unittest.isTrue); |
| 573 unittest.expect(o.endTime, unittest.equals(core.DateTime.parse("2002-02-27T1
4:01:02"))); | 575 unittest.expect(o.endTime, unittest.equals(core.DateTime.parse("2002-02-27T1
4:01:02"))); |
| 574 checkUnnamed1414(o.eventTagOverrides); | 576 checkUnnamed2147(o.eventTagOverrides); |
| 575 checkGeoTargeting(o.geoTargeting); | 577 checkGeoTargeting(o.geoTargeting); |
| 576 unittest.expect(o.id, unittest.equals('foo')); | 578 unittest.expect(o.id, unittest.equals('foo')); |
| 577 checkDimensionValue(o.idDimensionValue); | 579 checkDimensionValue(o.idDimensionValue); |
| 578 checkKeyValueTargetingExpression(o.keyValueTargetingExpression); | 580 checkKeyValueTargetingExpression(o.keyValueTargetingExpression); |
| 579 unittest.expect(o.kind, unittest.equals('foo')); | 581 unittest.expect(o.kind, unittest.equals('foo')); |
| 582 checkLanguageTargeting(o.languageTargeting); |
| 580 checkLastModifiedInfo(o.lastModifiedInfo); | 583 checkLastModifiedInfo(o.lastModifiedInfo); |
| 581 unittest.expect(o.name, unittest.equals('foo')); | 584 unittest.expect(o.name, unittest.equals('foo')); |
| 582 checkUnnamed1415(o.placementAssignments); | 585 checkUnnamed2148(o.placementAssignments); |
| 583 checkListTargetingExpression(o.remarketingListExpression); | 586 checkListTargetingExpression(o.remarketingListExpression); |
| 584 checkSize(o.size); | 587 checkSize(o.size); |
| 585 unittest.expect(o.sslCompliant, unittest.isTrue); | 588 unittest.expect(o.sslCompliant, unittest.isTrue); |
| 586 unittest.expect(o.sslRequired, unittest.isTrue); | 589 unittest.expect(o.sslRequired, unittest.isTrue); |
| 587 unittest.expect(o.startTime, unittest.equals(core.DateTime.parse("2002-02-27
T14:01:02"))); | 590 unittest.expect(o.startTime, unittest.equals(core.DateTime.parse("2002-02-27
T14:01:02"))); |
| 588 unittest.expect(o.subaccountId, unittest.equals('foo')); | 591 unittest.expect(o.subaccountId, unittest.equals('foo')); |
| 592 unittest.expect(o.targetingTemplateId, unittest.equals('foo')); |
| 589 checkTechnologyTargeting(o.technologyTargeting); | 593 checkTechnologyTargeting(o.technologyTargeting); |
| 590 unittest.expect(o.type, unittest.equals('foo')); | 594 unittest.expect(o.type, unittest.equals('foo')); |
| 591 } | 595 } |
| 592 buildCounterAd--; | 596 buildCounterAd--; |
| 593 } | 597 } |
| 594 | 598 |
| 595 core.int buildCounterAdSlot = 0; | 599 core.int buildCounterAdSlot = 0; |
| 596 buildAdSlot() { | 600 buildAdSlot() { |
| 597 var o = new api.AdSlot(); | 601 var o = new api.AdSlot(); |
| 598 buildCounterAdSlot++; | 602 buildCounterAdSlot++; |
| (...skipping 19 matching lines...) Expand all Loading... |
| 618 unittest.expect(o.height, unittest.equals('foo')); | 622 unittest.expect(o.height, unittest.equals('foo')); |
| 619 unittest.expect(o.linkedPlacementId, unittest.equals('foo')); | 623 unittest.expect(o.linkedPlacementId, unittest.equals('foo')); |
| 620 unittest.expect(o.name, unittest.equals('foo')); | 624 unittest.expect(o.name, unittest.equals('foo')); |
| 621 unittest.expect(o.paymentSourceType, unittest.equals('foo')); | 625 unittest.expect(o.paymentSourceType, unittest.equals('foo')); |
| 622 unittest.expect(o.primary, unittest.isTrue); | 626 unittest.expect(o.primary, unittest.isTrue); |
| 623 unittest.expect(o.width, unittest.equals('foo')); | 627 unittest.expect(o.width, unittest.equals('foo')); |
| 624 } | 628 } |
| 625 buildCounterAdSlot--; | 629 buildCounterAdSlot--; |
| 626 } | 630 } |
| 627 | 631 |
| 628 buildUnnamed1416() { | 632 buildUnnamed2149() { |
| 629 var o = new core.List<api.Ad>(); | 633 var o = new core.List<api.Ad>(); |
| 630 o.add(buildAd()); | 634 o.add(buildAd()); |
| 631 o.add(buildAd()); | 635 o.add(buildAd()); |
| 632 return o; | 636 return o; |
| 633 } | 637 } |
| 634 | 638 |
| 635 checkUnnamed1416(core.List<api.Ad> o) { | 639 checkUnnamed2149(core.List<api.Ad> o) { |
| 636 unittest.expect(o, unittest.hasLength(2)); | 640 unittest.expect(o, unittest.hasLength(2)); |
| 637 checkAd(o[0]); | 641 checkAd(o[0]); |
| 638 checkAd(o[1]); | 642 checkAd(o[1]); |
| 639 } | 643 } |
| 640 | 644 |
| 641 core.int buildCounterAdsListResponse = 0; | 645 core.int buildCounterAdsListResponse = 0; |
| 642 buildAdsListResponse() { | 646 buildAdsListResponse() { |
| 643 var o = new api.AdsListResponse(); | 647 var o = new api.AdsListResponse(); |
| 644 buildCounterAdsListResponse++; | 648 buildCounterAdsListResponse++; |
| 645 if (buildCounterAdsListResponse < 3) { | 649 if (buildCounterAdsListResponse < 3) { |
| 646 o.ads = buildUnnamed1416(); | 650 o.ads = buildUnnamed2149(); |
| 647 o.kind = "foo"; | 651 o.kind = "foo"; |
| 648 o.nextPageToken = "foo"; | 652 o.nextPageToken = "foo"; |
| 649 } | 653 } |
| 650 buildCounterAdsListResponse--; | 654 buildCounterAdsListResponse--; |
| 651 return o; | 655 return o; |
| 652 } | 656 } |
| 653 | 657 |
| 654 checkAdsListResponse(api.AdsListResponse o) { | 658 checkAdsListResponse(api.AdsListResponse o) { |
| 655 buildCounterAdsListResponse++; | 659 buildCounterAdsListResponse++; |
| 656 if (buildCounterAdsListResponse < 3) { | 660 if (buildCounterAdsListResponse < 3) { |
| 657 checkUnnamed1416(o.ads); | 661 checkUnnamed2149(o.ads); |
| 658 unittest.expect(o.kind, unittest.equals('foo')); | 662 unittest.expect(o.kind, unittest.equals('foo')); |
| 659 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 663 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 660 } | 664 } |
| 661 buildCounterAdsListResponse--; | 665 buildCounterAdsListResponse--; |
| 662 } | 666 } |
| 663 | 667 |
| 664 core.int buildCounterAdvertiser = 0; | 668 core.int buildCounterAdvertiser = 0; |
| 665 buildAdvertiser() { | 669 buildAdvertiser() { |
| 666 var o = new api.Advertiser(); | 670 var o = new api.Advertiser(); |
| 667 buildCounterAdvertiser++; | 671 buildCounterAdvertiser++; |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 726 buildCounterAdvertiserGroup++; | 730 buildCounterAdvertiserGroup++; |
| 727 if (buildCounterAdvertiserGroup < 3) { | 731 if (buildCounterAdvertiserGroup < 3) { |
| 728 unittest.expect(o.accountId, unittest.equals('foo')); | 732 unittest.expect(o.accountId, unittest.equals('foo')); |
| 729 unittest.expect(o.id, unittest.equals('foo')); | 733 unittest.expect(o.id, unittest.equals('foo')); |
| 730 unittest.expect(o.kind, unittest.equals('foo')); | 734 unittest.expect(o.kind, unittest.equals('foo')); |
| 731 unittest.expect(o.name, unittest.equals('foo')); | 735 unittest.expect(o.name, unittest.equals('foo')); |
| 732 } | 736 } |
| 733 buildCounterAdvertiserGroup--; | 737 buildCounterAdvertiserGroup--; |
| 734 } | 738 } |
| 735 | 739 |
| 736 buildUnnamed1417() { | 740 buildUnnamed2150() { |
| 737 var o = new core.List<api.AdvertiserGroup>(); | 741 var o = new core.List<api.AdvertiserGroup>(); |
| 738 o.add(buildAdvertiserGroup()); | 742 o.add(buildAdvertiserGroup()); |
| 739 o.add(buildAdvertiserGroup()); | 743 o.add(buildAdvertiserGroup()); |
| 740 return o; | 744 return o; |
| 741 } | 745 } |
| 742 | 746 |
| 743 checkUnnamed1417(core.List<api.AdvertiserGroup> o) { | 747 checkUnnamed2150(core.List<api.AdvertiserGroup> o) { |
| 744 unittest.expect(o, unittest.hasLength(2)); | 748 unittest.expect(o, unittest.hasLength(2)); |
| 745 checkAdvertiserGroup(o[0]); | 749 checkAdvertiserGroup(o[0]); |
| 746 checkAdvertiserGroup(o[1]); | 750 checkAdvertiserGroup(o[1]); |
| 747 } | 751 } |
| 748 | 752 |
| 749 core.int buildCounterAdvertiserGroupsListResponse = 0; | 753 core.int buildCounterAdvertiserGroupsListResponse = 0; |
| 750 buildAdvertiserGroupsListResponse() { | 754 buildAdvertiserGroupsListResponse() { |
| 751 var o = new api.AdvertiserGroupsListResponse(); | 755 var o = new api.AdvertiserGroupsListResponse(); |
| 752 buildCounterAdvertiserGroupsListResponse++; | 756 buildCounterAdvertiserGroupsListResponse++; |
| 753 if (buildCounterAdvertiserGroupsListResponse < 3) { | 757 if (buildCounterAdvertiserGroupsListResponse < 3) { |
| 754 o.advertiserGroups = buildUnnamed1417(); | 758 o.advertiserGroups = buildUnnamed2150(); |
| 755 o.kind = "foo"; | 759 o.kind = "foo"; |
| 756 o.nextPageToken = "foo"; | 760 o.nextPageToken = "foo"; |
| 757 } | 761 } |
| 758 buildCounterAdvertiserGroupsListResponse--; | 762 buildCounterAdvertiserGroupsListResponse--; |
| 759 return o; | 763 return o; |
| 760 } | 764 } |
| 761 | 765 |
| 762 checkAdvertiserGroupsListResponse(api.AdvertiserGroupsListResponse o) { | 766 checkAdvertiserGroupsListResponse(api.AdvertiserGroupsListResponse o) { |
| 763 buildCounterAdvertiserGroupsListResponse++; | 767 buildCounterAdvertiserGroupsListResponse++; |
| 764 if (buildCounterAdvertiserGroupsListResponse < 3) { | 768 if (buildCounterAdvertiserGroupsListResponse < 3) { |
| 765 checkUnnamed1417(o.advertiserGroups); | 769 checkUnnamed2150(o.advertiserGroups); |
| 766 unittest.expect(o.kind, unittest.equals('foo')); | 770 unittest.expect(o.kind, unittest.equals('foo')); |
| 767 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 771 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 768 } | 772 } |
| 769 buildCounterAdvertiserGroupsListResponse--; | 773 buildCounterAdvertiserGroupsListResponse--; |
| 770 } | 774 } |
| 771 | 775 |
| 772 buildUnnamed1418() { | 776 buildUnnamed2151() { |
| 773 var o = new core.List<api.Advertiser>(); | 777 var o = new core.List<api.Advertiser>(); |
| 774 o.add(buildAdvertiser()); | 778 o.add(buildAdvertiser()); |
| 775 o.add(buildAdvertiser()); | 779 o.add(buildAdvertiser()); |
| 776 return o; | 780 return o; |
| 777 } | 781 } |
| 778 | 782 |
| 779 checkUnnamed1418(core.List<api.Advertiser> o) { | 783 checkUnnamed2151(core.List<api.Advertiser> o) { |
| 780 unittest.expect(o, unittest.hasLength(2)); | 784 unittest.expect(o, unittest.hasLength(2)); |
| 781 checkAdvertiser(o[0]); | 785 checkAdvertiser(o[0]); |
| 782 checkAdvertiser(o[1]); | 786 checkAdvertiser(o[1]); |
| 783 } | 787 } |
| 784 | 788 |
| 785 core.int buildCounterAdvertisersListResponse = 0; | 789 core.int buildCounterAdvertisersListResponse = 0; |
| 786 buildAdvertisersListResponse() { | 790 buildAdvertisersListResponse() { |
| 787 var o = new api.AdvertisersListResponse(); | 791 var o = new api.AdvertisersListResponse(); |
| 788 buildCounterAdvertisersListResponse++; | 792 buildCounterAdvertisersListResponse++; |
| 789 if (buildCounterAdvertisersListResponse < 3) { | 793 if (buildCounterAdvertisersListResponse < 3) { |
| 790 o.advertisers = buildUnnamed1418(); | 794 o.advertisers = buildUnnamed2151(); |
| 791 o.kind = "foo"; | 795 o.kind = "foo"; |
| 792 o.nextPageToken = "foo"; | 796 o.nextPageToken = "foo"; |
| 793 } | 797 } |
| 794 buildCounterAdvertisersListResponse--; | 798 buildCounterAdvertisersListResponse--; |
| 795 return o; | 799 return o; |
| 796 } | 800 } |
| 797 | 801 |
| 798 checkAdvertisersListResponse(api.AdvertisersListResponse o) { | 802 checkAdvertisersListResponse(api.AdvertisersListResponse o) { |
| 799 buildCounterAdvertisersListResponse++; | 803 buildCounterAdvertisersListResponse++; |
| 800 if (buildCounterAdvertisersListResponse < 3) { | 804 if (buildCounterAdvertisersListResponse < 3) { |
| 801 checkUnnamed1418(o.advertisers); | 805 checkUnnamed2151(o.advertisers); |
| 802 unittest.expect(o.kind, unittest.equals('foo')); | 806 unittest.expect(o.kind, unittest.equals('foo')); |
| 803 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 807 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 804 } | 808 } |
| 805 buildCounterAdvertisersListResponse--; | 809 buildCounterAdvertisersListResponse--; |
| 806 } | 810 } |
| 807 | 811 |
| 808 core.int buildCounterAudienceSegment = 0; | 812 core.int buildCounterAudienceSegment = 0; |
| 809 buildAudienceSegment() { | 813 buildAudienceSegment() { |
| 810 var o = new api.AudienceSegment(); | 814 var o = new api.AudienceSegment(); |
| 811 buildCounterAudienceSegment++; | 815 buildCounterAudienceSegment++; |
| 812 if (buildCounterAudienceSegment < 3) { | 816 if (buildCounterAudienceSegment < 3) { |
| 813 o.allocation = 42; | 817 o.allocation = 42; |
| 814 o.id = "foo"; | 818 o.id = "foo"; |
| 815 o.name = "foo"; | 819 o.name = "foo"; |
| 816 } | 820 } |
| 817 buildCounterAudienceSegment--; | 821 buildCounterAudienceSegment--; |
| 818 return o; | 822 return o; |
| 819 } | 823 } |
| 820 | 824 |
| 821 checkAudienceSegment(api.AudienceSegment o) { | 825 checkAudienceSegment(api.AudienceSegment o) { |
| 822 buildCounterAudienceSegment++; | 826 buildCounterAudienceSegment++; |
| 823 if (buildCounterAudienceSegment < 3) { | 827 if (buildCounterAudienceSegment < 3) { |
| 824 unittest.expect(o.allocation, unittest.equals(42)); | 828 unittest.expect(o.allocation, unittest.equals(42)); |
| 825 unittest.expect(o.id, unittest.equals('foo')); | 829 unittest.expect(o.id, unittest.equals('foo')); |
| 826 unittest.expect(o.name, unittest.equals('foo')); | 830 unittest.expect(o.name, unittest.equals('foo')); |
| 827 } | 831 } |
| 828 buildCounterAudienceSegment--; | 832 buildCounterAudienceSegment--; |
| 829 } | 833 } |
| 830 | 834 |
| 831 buildUnnamed1419() { | 835 buildUnnamed2152() { |
| 832 var o = new core.List<api.AudienceSegment>(); | 836 var o = new core.List<api.AudienceSegment>(); |
| 833 o.add(buildAudienceSegment()); | 837 o.add(buildAudienceSegment()); |
| 834 o.add(buildAudienceSegment()); | 838 o.add(buildAudienceSegment()); |
| 835 return o; | 839 return o; |
| 836 } | 840 } |
| 837 | 841 |
| 838 checkUnnamed1419(core.List<api.AudienceSegment> o) { | 842 checkUnnamed2152(core.List<api.AudienceSegment> o) { |
| 839 unittest.expect(o, unittest.hasLength(2)); | 843 unittest.expect(o, unittest.hasLength(2)); |
| 840 checkAudienceSegment(o[0]); | 844 checkAudienceSegment(o[0]); |
| 841 checkAudienceSegment(o[1]); | 845 checkAudienceSegment(o[1]); |
| 842 } | 846 } |
| 843 | 847 |
| 844 core.int buildCounterAudienceSegmentGroup = 0; | 848 core.int buildCounterAudienceSegmentGroup = 0; |
| 845 buildAudienceSegmentGroup() { | 849 buildAudienceSegmentGroup() { |
| 846 var o = new api.AudienceSegmentGroup(); | 850 var o = new api.AudienceSegmentGroup(); |
| 847 buildCounterAudienceSegmentGroup++; | 851 buildCounterAudienceSegmentGroup++; |
| 848 if (buildCounterAudienceSegmentGroup < 3) { | 852 if (buildCounterAudienceSegmentGroup < 3) { |
| 849 o.audienceSegments = buildUnnamed1419(); | 853 o.audienceSegments = buildUnnamed2152(); |
| 850 o.id = "foo"; | 854 o.id = "foo"; |
| 851 o.name = "foo"; | 855 o.name = "foo"; |
| 852 } | 856 } |
| 853 buildCounterAudienceSegmentGroup--; | 857 buildCounterAudienceSegmentGroup--; |
| 854 return o; | 858 return o; |
| 855 } | 859 } |
| 856 | 860 |
| 857 checkAudienceSegmentGroup(api.AudienceSegmentGroup o) { | 861 checkAudienceSegmentGroup(api.AudienceSegmentGroup o) { |
| 858 buildCounterAudienceSegmentGroup++; | 862 buildCounterAudienceSegmentGroup++; |
| 859 if (buildCounterAudienceSegmentGroup < 3) { | 863 if (buildCounterAudienceSegmentGroup < 3) { |
| 860 checkUnnamed1419(o.audienceSegments); | 864 checkUnnamed2152(o.audienceSegments); |
| 861 unittest.expect(o.id, unittest.equals('foo')); | 865 unittest.expect(o.id, unittest.equals('foo')); |
| 862 unittest.expect(o.name, unittest.equals('foo')); | 866 unittest.expect(o.name, unittest.equals('foo')); |
| 863 } | 867 } |
| 864 buildCounterAudienceSegmentGroup--; | 868 buildCounterAudienceSegmentGroup--; |
| 865 } | 869 } |
| 866 | 870 |
| 867 core.int buildCounterBrowser = 0; | 871 core.int buildCounterBrowser = 0; |
| 868 buildBrowser() { | 872 buildBrowser() { |
| 869 var o = new api.Browser(); | 873 var o = new api.Browser(); |
| 870 buildCounterBrowser++; | 874 buildCounterBrowser++; |
| (...skipping 15 matching lines...) Expand all Loading... |
| 886 unittest.expect(o.browserVersionId, unittest.equals('foo')); | 890 unittest.expect(o.browserVersionId, unittest.equals('foo')); |
| 887 unittest.expect(o.dartId, unittest.equals('foo')); | 891 unittest.expect(o.dartId, unittest.equals('foo')); |
| 888 unittest.expect(o.kind, unittest.equals('foo')); | 892 unittest.expect(o.kind, unittest.equals('foo')); |
| 889 unittest.expect(o.majorVersion, unittest.equals('foo')); | 893 unittest.expect(o.majorVersion, unittest.equals('foo')); |
| 890 unittest.expect(o.minorVersion, unittest.equals('foo')); | 894 unittest.expect(o.minorVersion, unittest.equals('foo')); |
| 891 unittest.expect(o.name, unittest.equals('foo')); | 895 unittest.expect(o.name, unittest.equals('foo')); |
| 892 } | 896 } |
| 893 buildCounterBrowser--; | 897 buildCounterBrowser--; |
| 894 } | 898 } |
| 895 | 899 |
| 896 buildUnnamed1420() { | 900 buildUnnamed2153() { |
| 897 var o = new core.List<api.Browser>(); | 901 var o = new core.List<api.Browser>(); |
| 898 o.add(buildBrowser()); | 902 o.add(buildBrowser()); |
| 899 o.add(buildBrowser()); | 903 o.add(buildBrowser()); |
| 900 return o; | 904 return o; |
| 901 } | 905 } |
| 902 | 906 |
| 903 checkUnnamed1420(core.List<api.Browser> o) { | 907 checkUnnamed2153(core.List<api.Browser> o) { |
| 904 unittest.expect(o, unittest.hasLength(2)); | 908 unittest.expect(o, unittest.hasLength(2)); |
| 905 checkBrowser(o[0]); | 909 checkBrowser(o[0]); |
| 906 checkBrowser(o[1]); | 910 checkBrowser(o[1]); |
| 907 } | 911 } |
| 908 | 912 |
| 909 core.int buildCounterBrowsersListResponse = 0; | 913 core.int buildCounterBrowsersListResponse = 0; |
| 910 buildBrowsersListResponse() { | 914 buildBrowsersListResponse() { |
| 911 var o = new api.BrowsersListResponse(); | 915 var o = new api.BrowsersListResponse(); |
| 912 buildCounterBrowsersListResponse++; | 916 buildCounterBrowsersListResponse++; |
| 913 if (buildCounterBrowsersListResponse < 3) { | 917 if (buildCounterBrowsersListResponse < 3) { |
| 914 o.browsers = buildUnnamed1420(); | 918 o.browsers = buildUnnamed2153(); |
| 915 o.kind = "foo"; | 919 o.kind = "foo"; |
| 916 } | 920 } |
| 917 buildCounterBrowsersListResponse--; | 921 buildCounterBrowsersListResponse--; |
| 918 return o; | 922 return o; |
| 919 } | 923 } |
| 920 | 924 |
| 921 checkBrowsersListResponse(api.BrowsersListResponse o) { | 925 checkBrowsersListResponse(api.BrowsersListResponse o) { |
| 922 buildCounterBrowsersListResponse++; | 926 buildCounterBrowsersListResponse++; |
| 923 if (buildCounterBrowsersListResponse < 3) { | 927 if (buildCounterBrowsersListResponse < 3) { |
| 924 checkUnnamed1420(o.browsers); | 928 checkUnnamed2153(o.browsers); |
| 925 unittest.expect(o.kind, unittest.equals('foo')); | 929 unittest.expect(o.kind, unittest.equals('foo')); |
| 926 } | 930 } |
| 927 buildCounterBrowsersListResponse--; | 931 buildCounterBrowsersListResponse--; |
| 928 } | 932 } |
| 929 | 933 |
| 930 buildUnnamed1421() { | 934 buildUnnamed2154() { |
| 931 var o = new core.List<api.CreativeOptimizationConfiguration>(); | 935 var o = new core.List<api.CreativeOptimizationConfiguration>(); |
| 932 o.add(buildCreativeOptimizationConfiguration()); | 936 o.add(buildCreativeOptimizationConfiguration()); |
| 933 o.add(buildCreativeOptimizationConfiguration()); | 937 o.add(buildCreativeOptimizationConfiguration()); |
| 934 return o; | 938 return o; |
| 935 } | 939 } |
| 936 | 940 |
| 937 checkUnnamed1421(core.List<api.CreativeOptimizationConfiguration> o) { | 941 checkUnnamed2154(core.List<api.CreativeOptimizationConfiguration> o) { |
| 938 unittest.expect(o, unittest.hasLength(2)); | 942 unittest.expect(o, unittest.hasLength(2)); |
| 939 checkCreativeOptimizationConfiguration(o[0]); | 943 checkCreativeOptimizationConfiguration(o[0]); |
| 940 checkCreativeOptimizationConfiguration(o[1]); | 944 checkCreativeOptimizationConfiguration(o[1]); |
| 941 } | 945 } |
| 942 | 946 |
| 943 buildUnnamed1422() { | 947 buildUnnamed2155() { |
| 944 var o = new core.List<api.AudienceSegmentGroup>(); | 948 var o = new core.List<api.AudienceSegmentGroup>(); |
| 945 o.add(buildAudienceSegmentGroup()); | 949 o.add(buildAudienceSegmentGroup()); |
| 946 o.add(buildAudienceSegmentGroup()); | 950 o.add(buildAudienceSegmentGroup()); |
| 947 return o; | 951 return o; |
| 948 } | 952 } |
| 949 | 953 |
| 950 checkUnnamed1422(core.List<api.AudienceSegmentGroup> o) { | 954 checkUnnamed2155(core.List<api.AudienceSegmentGroup> o) { |
| 951 unittest.expect(o, unittest.hasLength(2)); | 955 unittest.expect(o, unittest.hasLength(2)); |
| 952 checkAudienceSegmentGroup(o[0]); | 956 checkAudienceSegmentGroup(o[0]); |
| 953 checkAudienceSegmentGroup(o[1]); | 957 checkAudienceSegmentGroup(o[1]); |
| 954 } | 958 } |
| 955 | 959 |
| 956 buildUnnamed1423() { | 960 buildUnnamed2156() { |
| 957 var o = new core.List<core.String>(); | 961 var o = new core.List<core.String>(); |
| 958 o.add("foo"); | 962 o.add("foo"); |
| 959 o.add("foo"); | 963 o.add("foo"); |
| 960 return o; | 964 return o; |
| 961 } | 965 } |
| 962 | 966 |
| 963 checkUnnamed1423(core.List<core.String> o) { | 967 checkUnnamed2156(core.List<core.String> o) { |
| 964 unittest.expect(o, unittest.hasLength(2)); | 968 unittest.expect(o, unittest.hasLength(2)); |
| 965 unittest.expect(o[0], unittest.equals('foo')); | 969 unittest.expect(o[0], unittest.equals('foo')); |
| 966 unittest.expect(o[1], unittest.equals('foo')); | 970 unittest.expect(o[1], unittest.equals('foo')); |
| 967 } | 971 } |
| 968 | 972 |
| 969 buildUnnamed1424() { | 973 buildUnnamed2157() { |
| 970 var o = new core.List<api.EventTagOverride>(); | 974 var o = new core.List<api.EventTagOverride>(); |
| 971 o.add(buildEventTagOverride()); | 975 o.add(buildEventTagOverride()); |
| 972 o.add(buildEventTagOverride()); | 976 o.add(buildEventTagOverride()); |
| 973 return o; | 977 return o; |
| 974 } | 978 } |
| 975 | 979 |
| 976 checkUnnamed1424(core.List<api.EventTagOverride> o) { | 980 checkUnnamed2157(core.List<api.EventTagOverride> o) { |
| 977 unittest.expect(o, unittest.hasLength(2)); | 981 unittest.expect(o, unittest.hasLength(2)); |
| 978 checkEventTagOverride(o[0]); | 982 checkEventTagOverride(o[0]); |
| 979 checkEventTagOverride(o[1]); | 983 checkEventTagOverride(o[1]); |
| 980 } | 984 } |
| 981 | 985 |
| 982 buildUnnamed1425() { | 986 buildUnnamed2158() { |
| 983 var o = new core.List<core.String>(); | 987 var o = new core.List<core.String>(); |
| 984 o.add("foo"); | 988 o.add("foo"); |
| 985 o.add("foo"); | 989 o.add("foo"); |
| 986 return o; | 990 return o; |
| 987 } | 991 } |
| 988 | 992 |
| 989 checkUnnamed1425(core.List<core.String> o) { | 993 checkUnnamed2158(core.List<core.String> o) { |
| 990 unittest.expect(o, unittest.hasLength(2)); | 994 unittest.expect(o, unittest.hasLength(2)); |
| 991 unittest.expect(o[0], unittest.equals('foo')); | 995 unittest.expect(o[0], unittest.equals('foo')); |
| 992 unittest.expect(o[1], unittest.equals('foo')); | 996 unittest.expect(o[1], unittest.equals('foo')); |
| 993 } | 997 } |
| 994 | 998 |
| 995 core.int buildCounterCampaign = 0; | 999 core.int buildCounterCampaign = 0; |
| 996 buildCampaign() { | 1000 buildCampaign() { |
| 997 var o = new api.Campaign(); | 1001 var o = new api.Campaign(); |
| 998 buildCounterCampaign++; | 1002 buildCounterCampaign++; |
| 999 if (buildCounterCampaign < 3) { | 1003 if (buildCounterCampaign < 3) { |
| 1000 o.accountId = "foo"; | 1004 o.accountId = "foo"; |
| 1001 o.additionalCreativeOptimizationConfigurations = buildUnnamed1421(); | 1005 o.additionalCreativeOptimizationConfigurations = buildUnnamed2154(); |
| 1002 o.advertiserGroupId = "foo"; | 1006 o.advertiserGroupId = "foo"; |
| 1003 o.advertiserId = "foo"; | 1007 o.advertiserId = "foo"; |
| 1004 o.advertiserIdDimensionValue = buildDimensionValue(); | 1008 o.advertiserIdDimensionValue = buildDimensionValue(); |
| 1005 o.archived = true; | 1009 o.archived = true; |
| 1006 o.audienceSegmentGroups = buildUnnamed1422(); | 1010 o.audienceSegmentGroups = buildUnnamed2155(); |
| 1007 o.billingInvoiceCode = "foo"; | 1011 o.billingInvoiceCode = "foo"; |
| 1008 o.clickThroughUrlSuffixProperties = buildClickThroughUrlSuffixProperties(); | 1012 o.clickThroughUrlSuffixProperties = buildClickThroughUrlSuffixProperties(); |
| 1009 o.comment = "foo"; | 1013 o.comment = "foo"; |
| 1010 o.comscoreVceEnabled = true; | |
| 1011 o.createInfo = buildLastModifiedInfo(); | 1014 o.createInfo = buildLastModifiedInfo(); |
| 1012 o.creativeGroupIds = buildUnnamed1423(); | 1015 o.creativeGroupIds = buildUnnamed2156(); |
| 1013 o.creativeOptimizationConfiguration = buildCreativeOptimizationConfiguration
(); | 1016 o.creativeOptimizationConfiguration = buildCreativeOptimizationConfiguration
(); |
| 1014 o.defaultClickThroughEventTagProperties = buildDefaultClickThroughEventTagPr
operties(); | 1017 o.defaultClickThroughEventTagProperties = buildDefaultClickThroughEventTagPr
operties(); |
| 1015 o.endDate = core.DateTime.parse("2002-02-27T14:01:02Z"); | 1018 o.endDate = core.DateTime.parse("2002-02-27T14:01:02Z"); |
| 1016 o.eventTagOverrides = buildUnnamed1424(); | 1019 o.eventTagOverrides = buildUnnamed2157(); |
| 1017 o.externalId = "foo"; | 1020 o.externalId = "foo"; |
| 1018 o.id = "foo"; | 1021 o.id = "foo"; |
| 1019 o.idDimensionValue = buildDimensionValue(); | 1022 o.idDimensionValue = buildDimensionValue(); |
| 1020 o.kind = "foo"; | 1023 o.kind = "foo"; |
| 1021 o.lastModifiedInfo = buildLastModifiedInfo(); | 1024 o.lastModifiedInfo = buildLastModifiedInfo(); |
| 1022 o.lookbackConfiguration = buildLookbackConfiguration(); | 1025 o.lookbackConfiguration = buildLookbackConfiguration(); |
| 1023 o.name = "foo"; | 1026 o.name = "foo"; |
| 1024 o.nielsenOcrEnabled = true; | 1027 o.nielsenOcrEnabled = true; |
| 1025 o.startDate = core.DateTime.parse("2002-02-27T14:01:02Z"); | 1028 o.startDate = core.DateTime.parse("2002-02-27T14:01:02Z"); |
| 1026 o.subaccountId = "foo"; | 1029 o.subaccountId = "foo"; |
| 1027 o.traffickerEmails = buildUnnamed1425(); | 1030 o.traffickerEmails = buildUnnamed2158(); |
| 1028 } | 1031 } |
| 1029 buildCounterCampaign--; | 1032 buildCounterCampaign--; |
| 1030 return o; | 1033 return o; |
| 1031 } | 1034 } |
| 1032 | 1035 |
| 1033 checkCampaign(api.Campaign o) { | 1036 checkCampaign(api.Campaign o) { |
| 1034 buildCounterCampaign++; | 1037 buildCounterCampaign++; |
| 1035 if (buildCounterCampaign < 3) { | 1038 if (buildCounterCampaign < 3) { |
| 1036 unittest.expect(o.accountId, unittest.equals('foo')); | 1039 unittest.expect(o.accountId, unittest.equals('foo')); |
| 1037 checkUnnamed1421(o.additionalCreativeOptimizationConfigurations); | 1040 checkUnnamed2154(o.additionalCreativeOptimizationConfigurations); |
| 1038 unittest.expect(o.advertiserGroupId, unittest.equals('foo')); | 1041 unittest.expect(o.advertiserGroupId, unittest.equals('foo')); |
| 1039 unittest.expect(o.advertiserId, unittest.equals('foo')); | 1042 unittest.expect(o.advertiserId, unittest.equals('foo')); |
| 1040 checkDimensionValue(o.advertiserIdDimensionValue); | 1043 checkDimensionValue(o.advertiserIdDimensionValue); |
| 1041 unittest.expect(o.archived, unittest.isTrue); | 1044 unittest.expect(o.archived, unittest.isTrue); |
| 1042 checkUnnamed1422(o.audienceSegmentGroups); | 1045 checkUnnamed2155(o.audienceSegmentGroups); |
| 1043 unittest.expect(o.billingInvoiceCode, unittest.equals('foo')); | 1046 unittest.expect(o.billingInvoiceCode, unittest.equals('foo')); |
| 1044 checkClickThroughUrlSuffixProperties(o.clickThroughUrlSuffixProperties); | 1047 checkClickThroughUrlSuffixProperties(o.clickThroughUrlSuffixProperties); |
| 1045 unittest.expect(o.comment, unittest.equals('foo')); | 1048 unittest.expect(o.comment, unittest.equals('foo')); |
| 1046 unittest.expect(o.comscoreVceEnabled, unittest.isTrue); | |
| 1047 checkLastModifiedInfo(o.createInfo); | 1049 checkLastModifiedInfo(o.createInfo); |
| 1048 checkUnnamed1423(o.creativeGroupIds); | 1050 checkUnnamed2156(o.creativeGroupIds); |
| 1049 checkCreativeOptimizationConfiguration(o.creativeOptimizationConfiguration); | 1051 checkCreativeOptimizationConfiguration(o.creativeOptimizationConfiguration); |
| 1050 checkDefaultClickThroughEventTagProperties(o.defaultClickThroughEventTagProp
erties); | 1052 checkDefaultClickThroughEventTagProperties(o.defaultClickThroughEventTagProp
erties); |
| 1051 unittest.expect(o.endDate, unittest.equals(core.DateTime.parse("2002-02-27T0
0:00:00"))); | 1053 unittest.expect(o.endDate, unittest.equals(core.DateTime.parse("2002-02-27T0
0:00:00"))); |
| 1052 checkUnnamed1424(o.eventTagOverrides); | 1054 checkUnnamed2157(o.eventTagOverrides); |
| 1053 unittest.expect(o.externalId, unittest.equals('foo')); | 1055 unittest.expect(o.externalId, unittest.equals('foo')); |
| 1054 unittest.expect(o.id, unittest.equals('foo')); | 1056 unittest.expect(o.id, unittest.equals('foo')); |
| 1055 checkDimensionValue(o.idDimensionValue); | 1057 checkDimensionValue(o.idDimensionValue); |
| 1056 unittest.expect(o.kind, unittest.equals('foo')); | 1058 unittest.expect(o.kind, unittest.equals('foo')); |
| 1057 checkLastModifiedInfo(o.lastModifiedInfo); | 1059 checkLastModifiedInfo(o.lastModifiedInfo); |
| 1058 checkLookbackConfiguration(o.lookbackConfiguration); | 1060 checkLookbackConfiguration(o.lookbackConfiguration); |
| 1059 unittest.expect(o.name, unittest.equals('foo')); | 1061 unittest.expect(o.name, unittest.equals('foo')); |
| 1060 unittest.expect(o.nielsenOcrEnabled, unittest.isTrue); | 1062 unittest.expect(o.nielsenOcrEnabled, unittest.isTrue); |
| 1061 unittest.expect(o.startDate, unittest.equals(core.DateTime.parse("2002-02-27
T00:00:00"))); | 1063 unittest.expect(o.startDate, unittest.equals(core.DateTime.parse("2002-02-27
T00:00:00"))); |
| 1062 unittest.expect(o.subaccountId, unittest.equals('foo')); | 1064 unittest.expect(o.subaccountId, unittest.equals('foo')); |
| 1063 checkUnnamed1425(o.traffickerEmails); | 1065 checkUnnamed2158(o.traffickerEmails); |
| 1064 } | 1066 } |
| 1065 buildCounterCampaign--; | 1067 buildCounterCampaign--; |
| 1066 } | 1068 } |
| 1067 | 1069 |
| 1068 core.int buildCounterCampaignCreativeAssociation = 0; | 1070 core.int buildCounterCampaignCreativeAssociation = 0; |
| 1069 buildCampaignCreativeAssociation() { | 1071 buildCampaignCreativeAssociation() { |
| 1070 var o = new api.CampaignCreativeAssociation(); | 1072 var o = new api.CampaignCreativeAssociation(); |
| 1071 buildCounterCampaignCreativeAssociation++; | 1073 buildCounterCampaignCreativeAssociation++; |
| 1072 if (buildCounterCampaignCreativeAssociation < 3) { | 1074 if (buildCounterCampaignCreativeAssociation < 3) { |
| 1073 o.creativeId = "foo"; | 1075 o.creativeId = "foo"; |
| 1074 o.kind = "foo"; | 1076 o.kind = "foo"; |
| 1075 } | 1077 } |
| 1076 buildCounterCampaignCreativeAssociation--; | 1078 buildCounterCampaignCreativeAssociation--; |
| 1077 return o; | 1079 return o; |
| 1078 } | 1080 } |
| 1079 | 1081 |
| 1080 checkCampaignCreativeAssociation(api.CampaignCreativeAssociation o) { | 1082 checkCampaignCreativeAssociation(api.CampaignCreativeAssociation o) { |
| 1081 buildCounterCampaignCreativeAssociation++; | 1083 buildCounterCampaignCreativeAssociation++; |
| 1082 if (buildCounterCampaignCreativeAssociation < 3) { | 1084 if (buildCounterCampaignCreativeAssociation < 3) { |
| 1083 unittest.expect(o.creativeId, unittest.equals('foo')); | 1085 unittest.expect(o.creativeId, unittest.equals('foo')); |
| 1084 unittest.expect(o.kind, unittest.equals('foo')); | 1086 unittest.expect(o.kind, unittest.equals('foo')); |
| 1085 } | 1087 } |
| 1086 buildCounterCampaignCreativeAssociation--; | 1088 buildCounterCampaignCreativeAssociation--; |
| 1087 } | 1089 } |
| 1088 | 1090 |
| 1089 buildUnnamed1426() { | 1091 buildUnnamed2159() { |
| 1090 var o = new core.List<api.CampaignCreativeAssociation>(); | 1092 var o = new core.List<api.CampaignCreativeAssociation>(); |
| 1091 o.add(buildCampaignCreativeAssociation()); | 1093 o.add(buildCampaignCreativeAssociation()); |
| 1092 o.add(buildCampaignCreativeAssociation()); | 1094 o.add(buildCampaignCreativeAssociation()); |
| 1093 return o; | 1095 return o; |
| 1094 } | 1096 } |
| 1095 | 1097 |
| 1096 checkUnnamed1426(core.List<api.CampaignCreativeAssociation> o) { | 1098 checkUnnamed2159(core.List<api.CampaignCreativeAssociation> o) { |
| 1097 unittest.expect(o, unittest.hasLength(2)); | 1099 unittest.expect(o, unittest.hasLength(2)); |
| 1098 checkCampaignCreativeAssociation(o[0]); | 1100 checkCampaignCreativeAssociation(o[0]); |
| 1099 checkCampaignCreativeAssociation(o[1]); | 1101 checkCampaignCreativeAssociation(o[1]); |
| 1100 } | 1102 } |
| 1101 | 1103 |
| 1102 core.int buildCounterCampaignCreativeAssociationsListResponse = 0; | 1104 core.int buildCounterCampaignCreativeAssociationsListResponse = 0; |
| 1103 buildCampaignCreativeAssociationsListResponse() { | 1105 buildCampaignCreativeAssociationsListResponse() { |
| 1104 var o = new api.CampaignCreativeAssociationsListResponse(); | 1106 var o = new api.CampaignCreativeAssociationsListResponse(); |
| 1105 buildCounterCampaignCreativeAssociationsListResponse++; | 1107 buildCounterCampaignCreativeAssociationsListResponse++; |
| 1106 if (buildCounterCampaignCreativeAssociationsListResponse < 3) { | 1108 if (buildCounterCampaignCreativeAssociationsListResponse < 3) { |
| 1107 o.campaignCreativeAssociations = buildUnnamed1426(); | 1109 o.campaignCreativeAssociations = buildUnnamed2159(); |
| 1108 o.kind = "foo"; | 1110 o.kind = "foo"; |
| 1109 o.nextPageToken = "foo"; | 1111 o.nextPageToken = "foo"; |
| 1110 } | 1112 } |
| 1111 buildCounterCampaignCreativeAssociationsListResponse--; | 1113 buildCounterCampaignCreativeAssociationsListResponse--; |
| 1112 return o; | 1114 return o; |
| 1113 } | 1115 } |
| 1114 | 1116 |
| 1115 checkCampaignCreativeAssociationsListResponse(api.CampaignCreativeAssociationsLi
stResponse o) { | 1117 checkCampaignCreativeAssociationsListResponse(api.CampaignCreativeAssociationsLi
stResponse o) { |
| 1116 buildCounterCampaignCreativeAssociationsListResponse++; | 1118 buildCounterCampaignCreativeAssociationsListResponse++; |
| 1117 if (buildCounterCampaignCreativeAssociationsListResponse < 3) { | 1119 if (buildCounterCampaignCreativeAssociationsListResponse < 3) { |
| 1118 checkUnnamed1426(o.campaignCreativeAssociations); | 1120 checkUnnamed2159(o.campaignCreativeAssociations); |
| 1119 unittest.expect(o.kind, unittest.equals('foo')); | 1121 unittest.expect(o.kind, unittest.equals('foo')); |
| 1120 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1122 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1121 } | 1123 } |
| 1122 buildCounterCampaignCreativeAssociationsListResponse--; | 1124 buildCounterCampaignCreativeAssociationsListResponse--; |
| 1123 } | 1125 } |
| 1124 | 1126 |
| 1125 buildUnnamed1427() { | 1127 buildUnnamed2160() { |
| 1126 var o = new core.List<api.Campaign>(); | 1128 var o = new core.List<api.Campaign>(); |
| 1127 o.add(buildCampaign()); | 1129 o.add(buildCampaign()); |
| 1128 o.add(buildCampaign()); | 1130 o.add(buildCampaign()); |
| 1129 return o; | 1131 return o; |
| 1130 } | 1132 } |
| 1131 | 1133 |
| 1132 checkUnnamed1427(core.List<api.Campaign> o) { | 1134 checkUnnamed2160(core.List<api.Campaign> o) { |
| 1133 unittest.expect(o, unittest.hasLength(2)); | 1135 unittest.expect(o, unittest.hasLength(2)); |
| 1134 checkCampaign(o[0]); | 1136 checkCampaign(o[0]); |
| 1135 checkCampaign(o[1]); | 1137 checkCampaign(o[1]); |
| 1136 } | 1138 } |
| 1137 | 1139 |
| 1138 core.int buildCounterCampaignsListResponse = 0; | 1140 core.int buildCounterCampaignsListResponse = 0; |
| 1139 buildCampaignsListResponse() { | 1141 buildCampaignsListResponse() { |
| 1140 var o = new api.CampaignsListResponse(); | 1142 var o = new api.CampaignsListResponse(); |
| 1141 buildCounterCampaignsListResponse++; | 1143 buildCounterCampaignsListResponse++; |
| 1142 if (buildCounterCampaignsListResponse < 3) { | 1144 if (buildCounterCampaignsListResponse < 3) { |
| 1143 o.campaigns = buildUnnamed1427(); | 1145 o.campaigns = buildUnnamed2160(); |
| 1144 o.kind = "foo"; | 1146 o.kind = "foo"; |
| 1145 o.nextPageToken = "foo"; | 1147 o.nextPageToken = "foo"; |
| 1146 } | 1148 } |
| 1147 buildCounterCampaignsListResponse--; | 1149 buildCounterCampaignsListResponse--; |
| 1148 return o; | 1150 return o; |
| 1149 } | 1151 } |
| 1150 | 1152 |
| 1151 checkCampaignsListResponse(api.CampaignsListResponse o) { | 1153 checkCampaignsListResponse(api.CampaignsListResponse o) { |
| 1152 buildCounterCampaignsListResponse++; | 1154 buildCounterCampaignsListResponse++; |
| 1153 if (buildCounterCampaignsListResponse < 3) { | 1155 if (buildCounterCampaignsListResponse < 3) { |
| 1154 checkUnnamed1427(o.campaigns); | 1156 checkUnnamed2160(o.campaigns); |
| 1155 unittest.expect(o.kind, unittest.equals('foo')); | 1157 unittest.expect(o.kind, unittest.equals('foo')); |
| 1156 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1158 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1157 } | 1159 } |
| 1158 buildCounterCampaignsListResponse--; | 1160 buildCounterCampaignsListResponse--; |
| 1159 } | 1161 } |
| 1160 | 1162 |
| 1161 core.int buildCounterChangeLog = 0; | 1163 core.int buildCounterChangeLog = 0; |
| 1162 buildChangeLog() { | 1164 buildChangeLog() { |
| 1163 var o = new api.ChangeLog(); | 1165 var o = new api.ChangeLog(); |
| 1164 buildCounterChangeLog++; | 1166 buildCounterChangeLog++; |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1196 unittest.expect(o.objectType, unittest.equals('foo')); | 1198 unittest.expect(o.objectType, unittest.equals('foo')); |
| 1197 unittest.expect(o.oldValue, unittest.equals('foo')); | 1199 unittest.expect(o.oldValue, unittest.equals('foo')); |
| 1198 unittest.expect(o.subaccountId, unittest.equals('foo')); | 1200 unittest.expect(o.subaccountId, unittest.equals('foo')); |
| 1199 unittest.expect(o.transactionId, unittest.equals('foo')); | 1201 unittest.expect(o.transactionId, unittest.equals('foo')); |
| 1200 unittest.expect(o.userProfileId, unittest.equals('foo')); | 1202 unittest.expect(o.userProfileId, unittest.equals('foo')); |
| 1201 unittest.expect(o.userProfileName, unittest.equals('foo')); | 1203 unittest.expect(o.userProfileName, unittest.equals('foo')); |
| 1202 } | 1204 } |
| 1203 buildCounterChangeLog--; | 1205 buildCounterChangeLog--; |
| 1204 } | 1206 } |
| 1205 | 1207 |
| 1206 buildUnnamed1428() { | 1208 buildUnnamed2161() { |
| 1207 var o = new core.List<api.ChangeLog>(); | 1209 var o = new core.List<api.ChangeLog>(); |
| 1208 o.add(buildChangeLog()); | 1210 o.add(buildChangeLog()); |
| 1209 o.add(buildChangeLog()); | 1211 o.add(buildChangeLog()); |
| 1210 return o; | 1212 return o; |
| 1211 } | 1213 } |
| 1212 | 1214 |
| 1213 checkUnnamed1428(core.List<api.ChangeLog> o) { | 1215 checkUnnamed2161(core.List<api.ChangeLog> o) { |
| 1214 unittest.expect(o, unittest.hasLength(2)); | 1216 unittest.expect(o, unittest.hasLength(2)); |
| 1215 checkChangeLog(o[0]); | 1217 checkChangeLog(o[0]); |
| 1216 checkChangeLog(o[1]); | 1218 checkChangeLog(o[1]); |
| 1217 } | 1219 } |
| 1218 | 1220 |
| 1219 core.int buildCounterChangeLogsListResponse = 0; | 1221 core.int buildCounterChangeLogsListResponse = 0; |
| 1220 buildChangeLogsListResponse() { | 1222 buildChangeLogsListResponse() { |
| 1221 var o = new api.ChangeLogsListResponse(); | 1223 var o = new api.ChangeLogsListResponse(); |
| 1222 buildCounterChangeLogsListResponse++; | 1224 buildCounterChangeLogsListResponse++; |
| 1223 if (buildCounterChangeLogsListResponse < 3) { | 1225 if (buildCounterChangeLogsListResponse < 3) { |
| 1224 o.changeLogs = buildUnnamed1428(); | 1226 o.changeLogs = buildUnnamed2161(); |
| 1225 o.kind = "foo"; | 1227 o.kind = "foo"; |
| 1226 o.nextPageToken = "foo"; | 1228 o.nextPageToken = "foo"; |
| 1227 } | 1229 } |
| 1228 buildCounterChangeLogsListResponse--; | 1230 buildCounterChangeLogsListResponse--; |
| 1229 return o; | 1231 return o; |
| 1230 } | 1232 } |
| 1231 | 1233 |
| 1232 checkChangeLogsListResponse(api.ChangeLogsListResponse o) { | 1234 checkChangeLogsListResponse(api.ChangeLogsListResponse o) { |
| 1233 buildCounterChangeLogsListResponse++; | 1235 buildCounterChangeLogsListResponse++; |
| 1234 if (buildCounterChangeLogsListResponse < 3) { | 1236 if (buildCounterChangeLogsListResponse < 3) { |
| 1235 checkUnnamed1428(o.changeLogs); | 1237 checkUnnamed2161(o.changeLogs); |
| 1236 unittest.expect(o.kind, unittest.equals('foo')); | 1238 unittest.expect(o.kind, unittest.equals('foo')); |
| 1237 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1239 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1238 } | 1240 } |
| 1239 buildCounterChangeLogsListResponse--; | 1241 buildCounterChangeLogsListResponse--; |
| 1240 } | 1242 } |
| 1241 | 1243 |
| 1242 buildUnnamed1429() { | 1244 buildUnnamed2162() { |
| 1243 var o = new core.List<api.City>(); | 1245 var o = new core.List<api.City>(); |
| 1244 o.add(buildCity()); | 1246 o.add(buildCity()); |
| 1245 o.add(buildCity()); | 1247 o.add(buildCity()); |
| 1246 return o; | 1248 return o; |
| 1247 } | 1249 } |
| 1248 | 1250 |
| 1249 checkUnnamed1429(core.List<api.City> o) { | 1251 checkUnnamed2162(core.List<api.City> o) { |
| 1250 unittest.expect(o, unittest.hasLength(2)); | 1252 unittest.expect(o, unittest.hasLength(2)); |
| 1251 checkCity(o[0]); | 1253 checkCity(o[0]); |
| 1252 checkCity(o[1]); | 1254 checkCity(o[1]); |
| 1253 } | 1255 } |
| 1254 | 1256 |
| 1255 core.int buildCounterCitiesListResponse = 0; | 1257 core.int buildCounterCitiesListResponse = 0; |
| 1256 buildCitiesListResponse() { | 1258 buildCitiesListResponse() { |
| 1257 var o = new api.CitiesListResponse(); | 1259 var o = new api.CitiesListResponse(); |
| 1258 buildCounterCitiesListResponse++; | 1260 buildCounterCitiesListResponse++; |
| 1259 if (buildCounterCitiesListResponse < 3) { | 1261 if (buildCounterCitiesListResponse < 3) { |
| 1260 o.cities = buildUnnamed1429(); | 1262 o.cities = buildUnnamed2162(); |
| 1261 o.kind = "foo"; | 1263 o.kind = "foo"; |
| 1262 } | 1264 } |
| 1263 buildCounterCitiesListResponse--; | 1265 buildCounterCitiesListResponse--; |
| 1264 return o; | 1266 return o; |
| 1265 } | 1267 } |
| 1266 | 1268 |
| 1267 checkCitiesListResponse(api.CitiesListResponse o) { | 1269 checkCitiesListResponse(api.CitiesListResponse o) { |
| 1268 buildCounterCitiesListResponse++; | 1270 buildCounterCitiesListResponse++; |
| 1269 if (buildCounterCitiesListResponse < 3) { | 1271 if (buildCounterCitiesListResponse < 3) { |
| 1270 checkUnnamed1429(o.cities); | 1272 checkUnnamed2162(o.cities); |
| 1271 unittest.expect(o.kind, unittest.equals('foo')); | 1273 unittest.expect(o.kind, unittest.equals('foo')); |
| 1272 } | 1274 } |
| 1273 buildCounterCitiesListResponse--; | 1275 buildCounterCitiesListResponse--; |
| 1274 } | 1276 } |
| 1275 | 1277 |
| 1276 core.int buildCounterCity = 0; | 1278 core.int buildCounterCity = 0; |
| 1277 buildCity() { | 1279 buildCity() { |
| 1278 var o = new api.City(); | 1280 var o = new api.City(); |
| 1279 buildCounterCity++; | 1281 buildCounterCity++; |
| 1280 if (buildCounterCity < 3) { | 1282 if (buildCounterCity < 3) { |
| (...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1443 checkConnectionType(api.ConnectionType o) { | 1445 checkConnectionType(api.ConnectionType o) { |
| 1444 buildCounterConnectionType++; | 1446 buildCounterConnectionType++; |
| 1445 if (buildCounterConnectionType < 3) { | 1447 if (buildCounterConnectionType < 3) { |
| 1446 unittest.expect(o.id, unittest.equals('foo')); | 1448 unittest.expect(o.id, unittest.equals('foo')); |
| 1447 unittest.expect(o.kind, unittest.equals('foo')); | 1449 unittest.expect(o.kind, unittest.equals('foo')); |
| 1448 unittest.expect(o.name, unittest.equals('foo')); | 1450 unittest.expect(o.name, unittest.equals('foo')); |
| 1449 } | 1451 } |
| 1450 buildCounterConnectionType--; | 1452 buildCounterConnectionType--; |
| 1451 } | 1453 } |
| 1452 | 1454 |
| 1453 buildUnnamed1430() { | 1455 buildUnnamed2163() { |
| 1454 var o = new core.List<api.ConnectionType>(); | 1456 var o = new core.List<api.ConnectionType>(); |
| 1455 o.add(buildConnectionType()); | 1457 o.add(buildConnectionType()); |
| 1456 o.add(buildConnectionType()); | 1458 o.add(buildConnectionType()); |
| 1457 return o; | 1459 return o; |
| 1458 } | 1460 } |
| 1459 | 1461 |
| 1460 checkUnnamed1430(core.List<api.ConnectionType> o) { | 1462 checkUnnamed2163(core.List<api.ConnectionType> o) { |
| 1461 unittest.expect(o, unittest.hasLength(2)); | 1463 unittest.expect(o, unittest.hasLength(2)); |
| 1462 checkConnectionType(o[0]); | 1464 checkConnectionType(o[0]); |
| 1463 checkConnectionType(o[1]); | 1465 checkConnectionType(o[1]); |
| 1464 } | 1466 } |
| 1465 | 1467 |
| 1466 core.int buildCounterConnectionTypesListResponse = 0; | 1468 core.int buildCounterConnectionTypesListResponse = 0; |
| 1467 buildConnectionTypesListResponse() { | 1469 buildConnectionTypesListResponse() { |
| 1468 var o = new api.ConnectionTypesListResponse(); | 1470 var o = new api.ConnectionTypesListResponse(); |
| 1469 buildCounterConnectionTypesListResponse++; | 1471 buildCounterConnectionTypesListResponse++; |
| 1470 if (buildCounterConnectionTypesListResponse < 3) { | 1472 if (buildCounterConnectionTypesListResponse < 3) { |
| 1471 o.connectionTypes = buildUnnamed1430(); | 1473 o.connectionTypes = buildUnnamed2163(); |
| 1472 o.kind = "foo"; | 1474 o.kind = "foo"; |
| 1473 } | 1475 } |
| 1474 buildCounterConnectionTypesListResponse--; | 1476 buildCounterConnectionTypesListResponse--; |
| 1475 return o; | 1477 return o; |
| 1476 } | 1478 } |
| 1477 | 1479 |
| 1478 checkConnectionTypesListResponse(api.ConnectionTypesListResponse o) { | 1480 checkConnectionTypesListResponse(api.ConnectionTypesListResponse o) { |
| 1479 buildCounterConnectionTypesListResponse++; | 1481 buildCounterConnectionTypesListResponse++; |
| 1480 if (buildCounterConnectionTypesListResponse < 3) { | 1482 if (buildCounterConnectionTypesListResponse < 3) { |
| 1481 checkUnnamed1430(o.connectionTypes); | 1483 checkUnnamed2163(o.connectionTypes); |
| 1482 unittest.expect(o.kind, unittest.equals('foo')); | 1484 unittest.expect(o.kind, unittest.equals('foo')); |
| 1483 } | 1485 } |
| 1484 buildCounterConnectionTypesListResponse--; | 1486 buildCounterConnectionTypesListResponse--; |
| 1485 } | 1487 } |
| 1486 | 1488 |
| 1487 buildUnnamed1431() { | 1489 buildUnnamed2164() { |
| 1488 var o = new core.List<api.ContentCategory>(); | 1490 var o = new core.List<api.ContentCategory>(); |
| 1489 o.add(buildContentCategory()); | 1491 o.add(buildContentCategory()); |
| 1490 o.add(buildContentCategory()); | 1492 o.add(buildContentCategory()); |
| 1491 return o; | 1493 return o; |
| 1492 } | 1494 } |
| 1493 | 1495 |
| 1494 checkUnnamed1431(core.List<api.ContentCategory> o) { | 1496 checkUnnamed2164(core.List<api.ContentCategory> o) { |
| 1495 unittest.expect(o, unittest.hasLength(2)); | 1497 unittest.expect(o, unittest.hasLength(2)); |
| 1496 checkContentCategory(o[0]); | 1498 checkContentCategory(o[0]); |
| 1497 checkContentCategory(o[1]); | 1499 checkContentCategory(o[1]); |
| 1498 } | 1500 } |
| 1499 | 1501 |
| 1500 core.int buildCounterContentCategoriesListResponse = 0; | 1502 core.int buildCounterContentCategoriesListResponse = 0; |
| 1501 buildContentCategoriesListResponse() { | 1503 buildContentCategoriesListResponse() { |
| 1502 var o = new api.ContentCategoriesListResponse(); | 1504 var o = new api.ContentCategoriesListResponse(); |
| 1503 buildCounterContentCategoriesListResponse++; | 1505 buildCounterContentCategoriesListResponse++; |
| 1504 if (buildCounterContentCategoriesListResponse < 3) { | 1506 if (buildCounterContentCategoriesListResponse < 3) { |
| 1505 o.contentCategories = buildUnnamed1431(); | 1507 o.contentCategories = buildUnnamed2164(); |
| 1506 o.kind = "foo"; | 1508 o.kind = "foo"; |
| 1507 o.nextPageToken = "foo"; | 1509 o.nextPageToken = "foo"; |
| 1508 } | 1510 } |
| 1509 buildCounterContentCategoriesListResponse--; | 1511 buildCounterContentCategoriesListResponse--; |
| 1510 return o; | 1512 return o; |
| 1511 } | 1513 } |
| 1512 | 1514 |
| 1513 checkContentCategoriesListResponse(api.ContentCategoriesListResponse o) { | 1515 checkContentCategoriesListResponse(api.ContentCategoriesListResponse o) { |
| 1514 buildCounterContentCategoriesListResponse++; | 1516 buildCounterContentCategoriesListResponse++; |
| 1515 if (buildCounterContentCategoriesListResponse < 3) { | 1517 if (buildCounterContentCategoriesListResponse < 3) { |
| 1516 checkUnnamed1431(o.contentCategories); | 1518 checkUnnamed2164(o.contentCategories); |
| 1517 unittest.expect(o.kind, unittest.equals('foo')); | 1519 unittest.expect(o.kind, unittest.equals('foo')); |
| 1518 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1520 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1519 } | 1521 } |
| 1520 buildCounterContentCategoriesListResponse--; | 1522 buildCounterContentCategoriesListResponse--; |
| 1521 } | 1523 } |
| 1522 | 1524 |
| 1523 core.int buildCounterContentCategory = 0; | 1525 core.int buildCounterContentCategory = 0; |
| 1524 buildContentCategory() { | 1526 buildContentCategory() { |
| 1525 var o = new api.ContentCategory(); | 1527 var o = new api.ContentCategory(); |
| 1526 buildCounterContentCategory++; | 1528 buildCounterContentCategory++; |
| (...skipping 11 matching lines...) Expand all Loading... |
| 1538 buildCounterContentCategory++; | 1540 buildCounterContentCategory++; |
| 1539 if (buildCounterContentCategory < 3) { | 1541 if (buildCounterContentCategory < 3) { |
| 1540 unittest.expect(o.accountId, unittest.equals('foo')); | 1542 unittest.expect(o.accountId, unittest.equals('foo')); |
| 1541 unittest.expect(o.id, unittest.equals('foo')); | 1543 unittest.expect(o.id, unittest.equals('foo')); |
| 1542 unittest.expect(o.kind, unittest.equals('foo')); | 1544 unittest.expect(o.kind, unittest.equals('foo')); |
| 1543 unittest.expect(o.name, unittest.equals('foo')); | 1545 unittest.expect(o.name, unittest.equals('foo')); |
| 1544 } | 1546 } |
| 1545 buildCounterContentCategory--; | 1547 buildCounterContentCategory--; |
| 1546 } | 1548 } |
| 1547 | 1549 |
| 1548 buildUnnamed1432() { | 1550 buildUnnamed2165() { |
| 1549 var o = new core.List<api.CustomFloodlightVariable>(); | 1551 var o = new core.List<api.CustomFloodlightVariable>(); |
| 1550 o.add(buildCustomFloodlightVariable()); | 1552 o.add(buildCustomFloodlightVariable()); |
| 1551 o.add(buildCustomFloodlightVariable()); | 1553 o.add(buildCustomFloodlightVariable()); |
| 1552 return o; | 1554 return o; |
| 1553 } | 1555 } |
| 1554 | 1556 |
| 1555 checkUnnamed1432(core.List<api.CustomFloodlightVariable> o) { | 1557 checkUnnamed2165(core.List<api.CustomFloodlightVariable> o) { |
| 1556 unittest.expect(o, unittest.hasLength(2)); | 1558 unittest.expect(o, unittest.hasLength(2)); |
| 1557 checkCustomFloodlightVariable(o[0]); | 1559 checkCustomFloodlightVariable(o[0]); |
| 1558 checkCustomFloodlightVariable(o[1]); | 1560 checkCustomFloodlightVariable(o[1]); |
| 1559 } | 1561 } |
| 1560 | 1562 |
| 1563 buildUnnamed2166() { |
| 1564 var o = new core.List<core.String>(); |
| 1565 o.add("foo"); |
| 1566 o.add("foo"); |
| 1567 return o; |
| 1568 } |
| 1569 |
| 1570 checkUnnamed2166(core.List<core.String> o) { |
| 1571 unittest.expect(o, unittest.hasLength(2)); |
| 1572 unittest.expect(o[0], unittest.equals('foo')); |
| 1573 unittest.expect(o[1], unittest.equals('foo')); |
| 1574 } |
| 1575 |
| 1561 core.int buildCounterConversion = 0; | 1576 core.int buildCounterConversion = 0; |
| 1562 buildConversion() { | 1577 buildConversion() { |
| 1563 var o = new api.Conversion(); | 1578 var o = new api.Conversion(); |
| 1564 buildCounterConversion++; | 1579 buildCounterConversion++; |
| 1565 if (buildCounterConversion < 3) { | 1580 if (buildCounterConversion < 3) { |
| 1566 o.childDirectedTreatment = true; | 1581 o.childDirectedTreatment = true; |
| 1567 o.customVariables = buildUnnamed1432(); | 1582 o.customVariables = buildUnnamed2165(); |
| 1568 o.encryptedUserId = "foo"; | 1583 o.encryptedUserId = "foo"; |
| 1584 o.encryptedUserIdCandidates = buildUnnamed2166(); |
| 1569 o.floodlightActivityId = "foo"; | 1585 o.floodlightActivityId = "foo"; |
| 1570 o.floodlightConfigurationId = "foo"; | 1586 o.floodlightConfigurationId = "foo"; |
| 1571 o.kind = "foo"; | 1587 o.kind = "foo"; |
| 1572 o.limitAdTracking = true; | 1588 o.limitAdTracking = true; |
| 1573 o.mobileDeviceId = "foo"; | 1589 o.mobileDeviceId = "foo"; |
| 1574 o.ordinal = "foo"; | 1590 o.ordinal = "foo"; |
| 1575 o.quantity = "foo"; | 1591 o.quantity = "foo"; |
| 1576 o.timestampMicros = "foo"; | 1592 o.timestampMicros = "foo"; |
| 1577 o.value = 42.0; | 1593 o.value = 42.0; |
| 1578 } | 1594 } |
| 1579 buildCounterConversion--; | 1595 buildCounterConversion--; |
| 1580 return o; | 1596 return o; |
| 1581 } | 1597 } |
| 1582 | 1598 |
| 1583 checkConversion(api.Conversion o) { | 1599 checkConversion(api.Conversion o) { |
| 1584 buildCounterConversion++; | 1600 buildCounterConversion++; |
| 1585 if (buildCounterConversion < 3) { | 1601 if (buildCounterConversion < 3) { |
| 1586 unittest.expect(o.childDirectedTreatment, unittest.isTrue); | 1602 unittest.expect(o.childDirectedTreatment, unittest.isTrue); |
| 1587 checkUnnamed1432(o.customVariables); | 1603 checkUnnamed2165(o.customVariables); |
| 1588 unittest.expect(o.encryptedUserId, unittest.equals('foo')); | 1604 unittest.expect(o.encryptedUserId, unittest.equals('foo')); |
| 1605 checkUnnamed2166(o.encryptedUserIdCandidates); |
| 1589 unittest.expect(o.floodlightActivityId, unittest.equals('foo')); | 1606 unittest.expect(o.floodlightActivityId, unittest.equals('foo')); |
| 1590 unittest.expect(o.floodlightConfigurationId, unittest.equals('foo')); | 1607 unittest.expect(o.floodlightConfigurationId, unittest.equals('foo')); |
| 1591 unittest.expect(o.kind, unittest.equals('foo')); | 1608 unittest.expect(o.kind, unittest.equals('foo')); |
| 1592 unittest.expect(o.limitAdTracking, unittest.isTrue); | 1609 unittest.expect(o.limitAdTracking, unittest.isTrue); |
| 1593 unittest.expect(o.mobileDeviceId, unittest.equals('foo')); | 1610 unittest.expect(o.mobileDeviceId, unittest.equals('foo')); |
| 1594 unittest.expect(o.ordinal, unittest.equals('foo')); | 1611 unittest.expect(o.ordinal, unittest.equals('foo')); |
| 1595 unittest.expect(o.quantity, unittest.equals('foo')); | 1612 unittest.expect(o.quantity, unittest.equals('foo')); |
| 1596 unittest.expect(o.timestampMicros, unittest.equals('foo')); | 1613 unittest.expect(o.timestampMicros, unittest.equals('foo')); |
| 1597 unittest.expect(o.value, unittest.equals(42.0)); | 1614 unittest.expect(o.value, unittest.equals(42.0)); |
| 1598 } | 1615 } |
| (...skipping 16 matching lines...) Expand all Loading... |
| 1615 checkConversionError(api.ConversionError o) { | 1632 checkConversionError(api.ConversionError o) { |
| 1616 buildCounterConversionError++; | 1633 buildCounterConversionError++; |
| 1617 if (buildCounterConversionError < 3) { | 1634 if (buildCounterConversionError < 3) { |
| 1618 unittest.expect(o.code, unittest.equals('foo')); | 1635 unittest.expect(o.code, unittest.equals('foo')); |
| 1619 unittest.expect(o.kind, unittest.equals('foo')); | 1636 unittest.expect(o.kind, unittest.equals('foo')); |
| 1620 unittest.expect(o.message, unittest.equals('foo')); | 1637 unittest.expect(o.message, unittest.equals('foo')); |
| 1621 } | 1638 } |
| 1622 buildCounterConversionError--; | 1639 buildCounterConversionError--; |
| 1623 } | 1640 } |
| 1624 | 1641 |
| 1625 buildUnnamed1433() { | 1642 buildUnnamed2167() { |
| 1626 var o = new core.List<api.ConversionError>(); | 1643 var o = new core.List<api.ConversionError>(); |
| 1627 o.add(buildConversionError()); | 1644 o.add(buildConversionError()); |
| 1628 o.add(buildConversionError()); | 1645 o.add(buildConversionError()); |
| 1629 return o; | 1646 return o; |
| 1630 } | 1647 } |
| 1631 | 1648 |
| 1632 checkUnnamed1433(core.List<api.ConversionError> o) { | 1649 checkUnnamed2167(core.List<api.ConversionError> o) { |
| 1633 unittest.expect(o, unittest.hasLength(2)); | 1650 unittest.expect(o, unittest.hasLength(2)); |
| 1634 checkConversionError(o[0]); | 1651 checkConversionError(o[0]); |
| 1635 checkConversionError(o[1]); | 1652 checkConversionError(o[1]); |
| 1636 } | 1653 } |
| 1637 | 1654 |
| 1638 core.int buildCounterConversionStatus = 0; | 1655 core.int buildCounterConversionStatus = 0; |
| 1639 buildConversionStatus() { | 1656 buildConversionStatus() { |
| 1640 var o = new api.ConversionStatus(); | 1657 var o = new api.ConversionStatus(); |
| 1641 buildCounterConversionStatus++; | 1658 buildCounterConversionStatus++; |
| 1642 if (buildCounterConversionStatus < 3) { | 1659 if (buildCounterConversionStatus < 3) { |
| 1643 o.conversion = buildConversion(); | 1660 o.conversion = buildConversion(); |
| 1644 o.errors = buildUnnamed1433(); | 1661 o.errors = buildUnnamed2167(); |
| 1645 o.kind = "foo"; | 1662 o.kind = "foo"; |
| 1646 } | 1663 } |
| 1647 buildCounterConversionStatus--; | 1664 buildCounterConversionStatus--; |
| 1648 return o; | 1665 return o; |
| 1649 } | 1666 } |
| 1650 | 1667 |
| 1651 checkConversionStatus(api.ConversionStatus o) { | 1668 checkConversionStatus(api.ConversionStatus o) { |
| 1652 buildCounterConversionStatus++; | 1669 buildCounterConversionStatus++; |
| 1653 if (buildCounterConversionStatus < 3) { | 1670 if (buildCounterConversionStatus < 3) { |
| 1654 checkConversion(o.conversion); | 1671 checkConversion(o.conversion); |
| 1655 checkUnnamed1433(o.errors); | 1672 checkUnnamed2167(o.errors); |
| 1656 unittest.expect(o.kind, unittest.equals('foo')); | 1673 unittest.expect(o.kind, unittest.equals('foo')); |
| 1657 } | 1674 } |
| 1658 buildCounterConversionStatus--; | 1675 buildCounterConversionStatus--; |
| 1659 } | 1676 } |
| 1660 | 1677 |
| 1661 buildUnnamed1434() { | 1678 buildUnnamed2168() { |
| 1662 var o = new core.List<api.Conversion>(); | 1679 var o = new core.List<api.Conversion>(); |
| 1663 o.add(buildConversion()); | 1680 o.add(buildConversion()); |
| 1664 o.add(buildConversion()); | 1681 o.add(buildConversion()); |
| 1665 return o; | 1682 return o; |
| 1666 } | 1683 } |
| 1667 | 1684 |
| 1668 checkUnnamed1434(core.List<api.Conversion> o) { | 1685 checkUnnamed2168(core.List<api.Conversion> o) { |
| 1669 unittest.expect(o, unittest.hasLength(2)); | 1686 unittest.expect(o, unittest.hasLength(2)); |
| 1670 checkConversion(o[0]); | 1687 checkConversion(o[0]); |
| 1671 checkConversion(o[1]); | 1688 checkConversion(o[1]); |
| 1672 } | 1689 } |
| 1673 | 1690 |
| 1674 core.int buildCounterConversionsBatchInsertRequest = 0; | 1691 core.int buildCounterConversionsBatchInsertRequest = 0; |
| 1675 buildConversionsBatchInsertRequest() { | 1692 buildConversionsBatchInsertRequest() { |
| 1676 var o = new api.ConversionsBatchInsertRequest(); | 1693 var o = new api.ConversionsBatchInsertRequest(); |
| 1677 buildCounterConversionsBatchInsertRequest++; | 1694 buildCounterConversionsBatchInsertRequest++; |
| 1678 if (buildCounterConversionsBatchInsertRequest < 3) { | 1695 if (buildCounterConversionsBatchInsertRequest < 3) { |
| 1679 o.conversions = buildUnnamed1434(); | 1696 o.conversions = buildUnnamed2168(); |
| 1680 o.encryptionInfo = buildEncryptionInfo(); | 1697 o.encryptionInfo = buildEncryptionInfo(); |
| 1681 o.kind = "foo"; | 1698 o.kind = "foo"; |
| 1682 } | 1699 } |
| 1683 buildCounterConversionsBatchInsertRequest--; | 1700 buildCounterConversionsBatchInsertRequest--; |
| 1684 return o; | 1701 return o; |
| 1685 } | 1702 } |
| 1686 | 1703 |
| 1687 checkConversionsBatchInsertRequest(api.ConversionsBatchInsertRequest o) { | 1704 checkConversionsBatchInsertRequest(api.ConversionsBatchInsertRequest o) { |
| 1688 buildCounterConversionsBatchInsertRequest++; | 1705 buildCounterConversionsBatchInsertRequest++; |
| 1689 if (buildCounterConversionsBatchInsertRequest < 3) { | 1706 if (buildCounterConversionsBatchInsertRequest < 3) { |
| 1690 checkUnnamed1434(o.conversions); | 1707 checkUnnamed2168(o.conversions); |
| 1691 checkEncryptionInfo(o.encryptionInfo); | 1708 checkEncryptionInfo(o.encryptionInfo); |
| 1692 unittest.expect(o.kind, unittest.equals('foo')); | 1709 unittest.expect(o.kind, unittest.equals('foo')); |
| 1693 } | 1710 } |
| 1694 buildCounterConversionsBatchInsertRequest--; | 1711 buildCounterConversionsBatchInsertRequest--; |
| 1695 } | 1712 } |
| 1696 | 1713 |
| 1697 buildUnnamed1435() { | 1714 buildUnnamed2169() { |
| 1698 var o = new core.List<api.ConversionStatus>(); | 1715 var o = new core.List<api.ConversionStatus>(); |
| 1699 o.add(buildConversionStatus()); | 1716 o.add(buildConversionStatus()); |
| 1700 o.add(buildConversionStatus()); | 1717 o.add(buildConversionStatus()); |
| 1701 return o; | 1718 return o; |
| 1702 } | 1719 } |
| 1703 | 1720 |
| 1704 checkUnnamed1435(core.List<api.ConversionStatus> o) { | 1721 checkUnnamed2169(core.List<api.ConversionStatus> o) { |
| 1705 unittest.expect(o, unittest.hasLength(2)); | 1722 unittest.expect(o, unittest.hasLength(2)); |
| 1706 checkConversionStatus(o[0]); | 1723 checkConversionStatus(o[0]); |
| 1707 checkConversionStatus(o[1]); | 1724 checkConversionStatus(o[1]); |
| 1708 } | 1725 } |
| 1709 | 1726 |
| 1710 core.int buildCounterConversionsBatchInsertResponse = 0; | 1727 core.int buildCounterConversionsBatchInsertResponse = 0; |
| 1711 buildConversionsBatchInsertResponse() { | 1728 buildConversionsBatchInsertResponse() { |
| 1712 var o = new api.ConversionsBatchInsertResponse(); | 1729 var o = new api.ConversionsBatchInsertResponse(); |
| 1713 buildCounterConversionsBatchInsertResponse++; | 1730 buildCounterConversionsBatchInsertResponse++; |
| 1714 if (buildCounterConversionsBatchInsertResponse < 3) { | 1731 if (buildCounterConversionsBatchInsertResponse < 3) { |
| 1715 o.hasFailures = true; | 1732 o.hasFailures = true; |
| 1716 o.kind = "foo"; | 1733 o.kind = "foo"; |
| 1717 o.status = buildUnnamed1435(); | 1734 o.status = buildUnnamed2169(); |
| 1718 } | 1735 } |
| 1719 buildCounterConversionsBatchInsertResponse--; | 1736 buildCounterConversionsBatchInsertResponse--; |
| 1720 return o; | 1737 return o; |
| 1721 } | 1738 } |
| 1722 | 1739 |
| 1723 checkConversionsBatchInsertResponse(api.ConversionsBatchInsertResponse o) { | 1740 checkConversionsBatchInsertResponse(api.ConversionsBatchInsertResponse o) { |
| 1724 buildCounterConversionsBatchInsertResponse++; | 1741 buildCounterConversionsBatchInsertResponse++; |
| 1725 if (buildCounterConversionsBatchInsertResponse < 3) { | 1742 if (buildCounterConversionsBatchInsertResponse < 3) { |
| 1726 unittest.expect(o.hasFailures, unittest.isTrue); | 1743 unittest.expect(o.hasFailures, unittest.isTrue); |
| 1727 unittest.expect(o.kind, unittest.equals('foo')); | 1744 unittest.expect(o.kind, unittest.equals('foo')); |
| 1728 checkUnnamed1435(o.status); | 1745 checkUnnamed2169(o.status); |
| 1729 } | 1746 } |
| 1730 buildCounterConversionsBatchInsertResponse--; | 1747 buildCounterConversionsBatchInsertResponse--; |
| 1731 } | 1748 } |
| 1732 | 1749 |
| 1733 buildUnnamed1436() { | 1750 buildUnnamed2170() { |
| 1734 var o = new core.List<api.Country>(); | 1751 var o = new core.List<api.Country>(); |
| 1735 o.add(buildCountry()); | 1752 o.add(buildCountry()); |
| 1736 o.add(buildCountry()); | 1753 o.add(buildCountry()); |
| 1737 return o; | 1754 return o; |
| 1738 } | 1755 } |
| 1739 | 1756 |
| 1740 checkUnnamed1436(core.List<api.Country> o) { | 1757 checkUnnamed2170(core.List<api.Country> o) { |
| 1741 unittest.expect(o, unittest.hasLength(2)); | 1758 unittest.expect(o, unittest.hasLength(2)); |
| 1742 checkCountry(o[0]); | 1759 checkCountry(o[0]); |
| 1743 checkCountry(o[1]); | 1760 checkCountry(o[1]); |
| 1744 } | 1761 } |
| 1745 | 1762 |
| 1746 core.int buildCounterCountriesListResponse = 0; | 1763 core.int buildCounterCountriesListResponse = 0; |
| 1747 buildCountriesListResponse() { | 1764 buildCountriesListResponse() { |
| 1748 var o = new api.CountriesListResponse(); | 1765 var o = new api.CountriesListResponse(); |
| 1749 buildCounterCountriesListResponse++; | 1766 buildCounterCountriesListResponse++; |
| 1750 if (buildCounterCountriesListResponse < 3) { | 1767 if (buildCounterCountriesListResponse < 3) { |
| 1751 o.countries = buildUnnamed1436(); | 1768 o.countries = buildUnnamed2170(); |
| 1752 o.kind = "foo"; | 1769 o.kind = "foo"; |
| 1753 } | 1770 } |
| 1754 buildCounterCountriesListResponse--; | 1771 buildCounterCountriesListResponse--; |
| 1755 return o; | 1772 return o; |
| 1756 } | 1773 } |
| 1757 | 1774 |
| 1758 checkCountriesListResponse(api.CountriesListResponse o) { | 1775 checkCountriesListResponse(api.CountriesListResponse o) { |
| 1759 buildCounterCountriesListResponse++; | 1776 buildCounterCountriesListResponse++; |
| 1760 if (buildCounterCountriesListResponse < 3) { | 1777 if (buildCounterCountriesListResponse < 3) { |
| 1761 checkUnnamed1436(o.countries); | 1778 checkUnnamed2170(o.countries); |
| 1762 unittest.expect(o.kind, unittest.equals('foo')); | 1779 unittest.expect(o.kind, unittest.equals('foo')); |
| 1763 } | 1780 } |
| 1764 buildCounterCountriesListResponse--; | 1781 buildCounterCountriesListResponse--; |
| 1765 } | 1782 } |
| 1766 | 1783 |
| 1767 core.int buildCounterCountry = 0; | 1784 core.int buildCounterCountry = 0; |
| 1768 buildCountry() { | 1785 buildCountry() { |
| 1769 var o = new api.Country(); | 1786 var o = new api.Country(); |
| 1770 buildCounterCountry++; | 1787 buildCounterCountry++; |
| 1771 if (buildCounterCountry < 3) { | 1788 if (buildCounterCountry < 3) { |
| (...skipping 12 matching lines...) Expand all Loading... |
| 1784 if (buildCounterCountry < 3) { | 1801 if (buildCounterCountry < 3) { |
| 1785 unittest.expect(o.countryCode, unittest.equals('foo')); | 1802 unittest.expect(o.countryCode, unittest.equals('foo')); |
| 1786 unittest.expect(o.dartId, unittest.equals('foo')); | 1803 unittest.expect(o.dartId, unittest.equals('foo')); |
| 1787 unittest.expect(o.kind, unittest.equals('foo')); | 1804 unittest.expect(o.kind, unittest.equals('foo')); |
| 1788 unittest.expect(o.name, unittest.equals('foo')); | 1805 unittest.expect(o.name, unittest.equals('foo')); |
| 1789 unittest.expect(o.sslEnabled, unittest.isTrue); | 1806 unittest.expect(o.sslEnabled, unittest.isTrue); |
| 1790 } | 1807 } |
| 1791 buildCounterCountry--; | 1808 buildCounterCountry--; |
| 1792 } | 1809 } |
| 1793 | 1810 |
| 1794 buildUnnamed1437() { | 1811 buildUnnamed2171() { |
| 1795 var o = new core.List<core.String>(); | 1812 var o = new core.List<core.String>(); |
| 1796 o.add("foo"); | 1813 o.add("foo"); |
| 1797 o.add("foo"); | 1814 o.add("foo"); |
| 1798 return o; | 1815 return o; |
| 1799 } | 1816 } |
| 1800 | 1817 |
| 1801 checkUnnamed1437(core.List<core.String> o) { | 1818 checkUnnamed2171(core.List<core.String> o) { |
| 1802 unittest.expect(o, unittest.hasLength(2)); | 1819 unittest.expect(o, unittest.hasLength(2)); |
| 1803 unittest.expect(o[0], unittest.equals('foo')); | 1820 unittest.expect(o[0], unittest.equals('foo')); |
| 1804 unittest.expect(o[1], unittest.equals('foo')); | 1821 unittest.expect(o[1], unittest.equals('foo')); |
| 1805 } | 1822 } |
| 1806 | 1823 |
| 1807 buildUnnamed1438() { | 1824 buildUnnamed2172() { |
| 1808 var o = new core.List<core.String>(); | 1825 var o = new core.List<core.String>(); |
| 1809 o.add("foo"); | 1826 o.add("foo"); |
| 1810 o.add("foo"); | 1827 o.add("foo"); |
| 1811 return o; | 1828 return o; |
| 1812 } | 1829 } |
| 1813 | 1830 |
| 1814 checkUnnamed1438(core.List<core.String> o) { | 1831 checkUnnamed2172(core.List<core.String> o) { |
| 1815 unittest.expect(o, unittest.hasLength(2)); | 1832 unittest.expect(o, unittest.hasLength(2)); |
| 1816 unittest.expect(o[0], unittest.equals('foo')); | 1833 unittest.expect(o[0], unittest.equals('foo')); |
| 1817 unittest.expect(o[1], unittest.equals('foo')); | 1834 unittest.expect(o[1], unittest.equals('foo')); |
| 1818 } | 1835 } |
| 1819 | 1836 |
| 1820 buildUnnamed1439() { | 1837 buildUnnamed2173() { |
| 1821 var o = new core.List<api.ClickTag>(); | 1838 var o = new core.List<api.ClickTag>(); |
| 1822 o.add(buildClickTag()); | 1839 o.add(buildClickTag()); |
| 1823 o.add(buildClickTag()); | 1840 o.add(buildClickTag()); |
| 1824 return o; | 1841 return o; |
| 1825 } | 1842 } |
| 1826 | 1843 |
| 1827 checkUnnamed1439(core.List<api.ClickTag> o) { | 1844 checkUnnamed2173(core.List<api.ClickTag> o) { |
| 1828 unittest.expect(o, unittest.hasLength(2)); | 1845 unittest.expect(o, unittest.hasLength(2)); |
| 1829 checkClickTag(o[0]); | 1846 checkClickTag(o[0]); |
| 1830 checkClickTag(o[1]); | 1847 checkClickTag(o[1]); |
| 1831 } | 1848 } |
| 1832 | 1849 |
| 1833 buildUnnamed1440() { | 1850 buildUnnamed2174() { |
| 1834 var o = new core.List<core.String>(); | 1851 var o = new core.List<core.String>(); |
| 1835 o.add("foo"); | 1852 o.add("foo"); |
| 1836 o.add("foo"); | 1853 o.add("foo"); |
| 1837 return o; | 1854 return o; |
| 1838 } | 1855 } |
| 1839 | 1856 |
| 1840 checkUnnamed1440(core.List<core.String> o) { | 1857 checkUnnamed2174(core.List<core.String> o) { |
| 1841 unittest.expect(o, unittest.hasLength(2)); | 1858 unittest.expect(o, unittest.hasLength(2)); |
| 1842 unittest.expect(o[0], unittest.equals('foo')); | 1859 unittest.expect(o[0], unittest.equals('foo')); |
| 1843 unittest.expect(o[1], unittest.equals('foo')); | 1860 unittest.expect(o[1], unittest.equals('foo')); |
| 1844 } | 1861 } |
| 1845 | 1862 |
| 1846 buildUnnamed1441() { | 1863 buildUnnamed2175() { |
| 1847 var o = new core.List<core.String>(); | 1864 var o = new core.List<core.String>(); |
| 1848 o.add("foo"); | 1865 o.add("foo"); |
| 1849 o.add("foo"); | 1866 o.add("foo"); |
| 1850 return o; | 1867 return o; |
| 1851 } | 1868 } |
| 1852 | 1869 |
| 1853 checkUnnamed1441(core.List<core.String> o) { | 1870 checkUnnamed2175(core.List<core.String> o) { |
| 1854 unittest.expect(o, unittest.hasLength(2)); | 1871 unittest.expect(o, unittest.hasLength(2)); |
| 1855 unittest.expect(o[0], unittest.equals('foo')); | 1872 unittest.expect(o[0], unittest.equals('foo')); |
| 1856 unittest.expect(o[1], unittest.equals('foo')); | 1873 unittest.expect(o[1], unittest.equals('foo')); |
| 1857 } | 1874 } |
| 1858 | 1875 |
| 1859 buildUnnamed1442() { | 1876 buildUnnamed2176() { |
| 1860 var o = new core.List<api.CreativeCustomEvent>(); | 1877 var o = new core.List<api.CreativeCustomEvent>(); |
| 1861 o.add(buildCreativeCustomEvent()); | 1878 o.add(buildCreativeCustomEvent()); |
| 1862 o.add(buildCreativeCustomEvent()); | 1879 o.add(buildCreativeCustomEvent()); |
| 1863 return o; | 1880 return o; |
| 1864 } | 1881 } |
| 1865 | 1882 |
| 1866 checkUnnamed1442(core.List<api.CreativeCustomEvent> o) { | 1883 checkUnnamed2176(core.List<api.CreativeCustomEvent> o) { |
| 1867 unittest.expect(o, unittest.hasLength(2)); | 1884 unittest.expect(o, unittest.hasLength(2)); |
| 1868 checkCreativeCustomEvent(o[0]); | 1885 checkCreativeCustomEvent(o[0]); |
| 1869 checkCreativeCustomEvent(o[1]); | 1886 checkCreativeCustomEvent(o[1]); |
| 1870 } | 1887 } |
| 1871 | 1888 |
| 1872 buildUnnamed1443() { | 1889 buildUnnamed2177() { |
| 1873 var o = new core.List<api.CreativeAsset>(); | 1890 var o = new core.List<api.CreativeAsset>(); |
| 1874 o.add(buildCreativeAsset()); | 1891 o.add(buildCreativeAsset()); |
| 1875 o.add(buildCreativeAsset()); | 1892 o.add(buildCreativeAsset()); |
| 1876 return o; | 1893 return o; |
| 1877 } | 1894 } |
| 1878 | 1895 |
| 1879 checkUnnamed1443(core.List<api.CreativeAsset> o) { | 1896 checkUnnamed2177(core.List<api.CreativeAsset> o) { |
| 1880 unittest.expect(o, unittest.hasLength(2)); | 1897 unittest.expect(o, unittest.hasLength(2)); |
| 1881 checkCreativeAsset(o[0]); | 1898 checkCreativeAsset(o[0]); |
| 1882 checkCreativeAsset(o[1]); | 1899 checkCreativeAsset(o[1]); |
| 1883 } | 1900 } |
| 1884 | 1901 |
| 1885 buildUnnamed1444() { | 1902 buildUnnamed2178() { |
| 1886 var o = new core.List<api.CreativeFieldAssignment>(); | 1903 var o = new core.List<api.CreativeFieldAssignment>(); |
| 1887 o.add(buildCreativeFieldAssignment()); | 1904 o.add(buildCreativeFieldAssignment()); |
| 1888 o.add(buildCreativeFieldAssignment()); | 1905 o.add(buildCreativeFieldAssignment()); |
| 1889 return o; | 1906 return o; |
| 1890 } | 1907 } |
| 1891 | 1908 |
| 1892 checkUnnamed1444(core.List<api.CreativeFieldAssignment> o) { | 1909 checkUnnamed2178(core.List<api.CreativeFieldAssignment> o) { |
| 1893 unittest.expect(o, unittest.hasLength(2)); | 1910 unittest.expect(o, unittest.hasLength(2)); |
| 1894 checkCreativeFieldAssignment(o[0]); | 1911 checkCreativeFieldAssignment(o[0]); |
| 1895 checkCreativeFieldAssignment(o[1]); | 1912 checkCreativeFieldAssignment(o[1]); |
| 1896 } | 1913 } |
| 1897 | 1914 |
| 1898 buildUnnamed1445() { | 1915 buildUnnamed2179() { |
| 1899 var o = new core.List<core.String>(); | 1916 var o = new core.List<core.String>(); |
| 1900 o.add("foo"); | 1917 o.add("foo"); |
| 1901 o.add("foo"); | 1918 o.add("foo"); |
| 1902 return o; | 1919 return o; |
| 1903 } | 1920 } |
| 1904 | 1921 |
| 1905 checkUnnamed1445(core.List<core.String> o) { | 1922 checkUnnamed2179(core.List<core.String> o) { |
| 1906 unittest.expect(o, unittest.hasLength(2)); | 1923 unittest.expect(o, unittest.hasLength(2)); |
| 1907 unittest.expect(o[0], unittest.equals('foo')); | 1924 unittest.expect(o[0], unittest.equals('foo')); |
| 1908 unittest.expect(o[1], unittest.equals('foo')); | 1925 unittest.expect(o[1], unittest.equals('foo')); |
| 1909 } | 1926 } |
| 1910 | 1927 |
| 1911 buildUnnamed1446() { | 1928 buildUnnamed2180() { |
| 1912 var o = new core.List<api.CreativeCustomEvent>(); | 1929 var o = new core.List<api.CreativeCustomEvent>(); |
| 1913 o.add(buildCreativeCustomEvent()); | 1930 o.add(buildCreativeCustomEvent()); |
| 1914 o.add(buildCreativeCustomEvent()); | 1931 o.add(buildCreativeCustomEvent()); |
| 1915 return o; | 1932 return o; |
| 1916 } | 1933 } |
| 1917 | 1934 |
| 1918 checkUnnamed1446(core.List<api.CreativeCustomEvent> o) { | 1935 checkUnnamed2180(core.List<api.CreativeCustomEvent> o) { |
| 1919 unittest.expect(o, unittest.hasLength(2)); | 1936 unittest.expect(o, unittest.hasLength(2)); |
| 1920 checkCreativeCustomEvent(o[0]); | 1937 checkCreativeCustomEvent(o[0]); |
| 1921 checkCreativeCustomEvent(o[1]); | 1938 checkCreativeCustomEvent(o[1]); |
| 1922 } | 1939 } |
| 1923 | 1940 |
| 1924 buildUnnamed1447() { | 1941 buildUnnamed2181() { |
| 1925 var o = new core.List<api.ThirdPartyTrackingUrl>(); | 1942 var o = new core.List<api.ThirdPartyTrackingUrl>(); |
| 1926 o.add(buildThirdPartyTrackingUrl()); | 1943 o.add(buildThirdPartyTrackingUrl()); |
| 1927 o.add(buildThirdPartyTrackingUrl()); | 1944 o.add(buildThirdPartyTrackingUrl()); |
| 1928 return o; | 1945 return o; |
| 1929 } | 1946 } |
| 1930 | 1947 |
| 1931 checkUnnamed1447(core.List<api.ThirdPartyTrackingUrl> o) { | 1948 checkUnnamed2181(core.List<api.ThirdPartyTrackingUrl> o) { |
| 1932 unittest.expect(o, unittest.hasLength(2)); | 1949 unittest.expect(o, unittest.hasLength(2)); |
| 1933 checkThirdPartyTrackingUrl(o[0]); | 1950 checkThirdPartyTrackingUrl(o[0]); |
| 1934 checkThirdPartyTrackingUrl(o[1]); | 1951 checkThirdPartyTrackingUrl(o[1]); |
| 1935 } | 1952 } |
| 1936 | 1953 |
| 1937 buildUnnamed1448() { | 1954 buildUnnamed2182() { |
| 1938 var o = new core.List<api.CreativeCustomEvent>(); | 1955 var o = new core.List<api.CreativeCustomEvent>(); |
| 1939 o.add(buildCreativeCustomEvent()); | 1956 o.add(buildCreativeCustomEvent()); |
| 1940 o.add(buildCreativeCustomEvent()); | 1957 o.add(buildCreativeCustomEvent()); |
| 1941 return o; | 1958 return o; |
| 1942 } | 1959 } |
| 1943 | 1960 |
| 1944 checkUnnamed1448(core.List<api.CreativeCustomEvent> o) { | 1961 checkUnnamed2182(core.List<api.CreativeCustomEvent> o) { |
| 1945 unittest.expect(o, unittest.hasLength(2)); | 1962 unittest.expect(o, unittest.hasLength(2)); |
| 1946 checkCreativeCustomEvent(o[0]); | 1963 checkCreativeCustomEvent(o[0]); |
| 1947 checkCreativeCustomEvent(o[1]); | 1964 checkCreativeCustomEvent(o[1]); |
| 1948 } | 1965 } |
| 1949 | 1966 |
| 1950 core.int buildCounterCreative = 0; | 1967 core.int buildCounterCreative = 0; |
| 1951 buildCreative() { | 1968 buildCreative() { |
| 1952 var o = new api.Creative(); | 1969 var o = new api.Creative(); |
| 1953 buildCounterCreative++; | 1970 buildCounterCreative++; |
| 1954 if (buildCounterCreative < 3) { | 1971 if (buildCounterCreative < 3) { |
| 1955 o.accountId = "foo"; | 1972 o.accountId = "foo"; |
| 1956 o.active = true; | 1973 o.active = true; |
| 1957 o.adParameters = "foo"; | 1974 o.adParameters = "foo"; |
| 1958 o.adTagKeys = buildUnnamed1437(); | 1975 o.adTagKeys = buildUnnamed2171(); |
| 1959 o.advertiserId = "foo"; | 1976 o.advertiserId = "foo"; |
| 1960 o.allowScriptAccess = true; | 1977 o.allowScriptAccess = true; |
| 1961 o.archived = true; | 1978 o.archived = true; |
| 1962 o.artworkType = "foo"; | 1979 o.artworkType = "foo"; |
| 1963 o.authoringSource = "foo"; | 1980 o.authoringSource = "foo"; |
| 1964 o.authoringTool = "foo"; | 1981 o.authoringTool = "foo"; |
| 1965 o.autoAdvanceImages = true; | 1982 o.autoAdvanceImages = true; |
| 1966 o.backgroundColor = "foo"; | 1983 o.backgroundColor = "foo"; |
| 1967 o.backupImageClickThroughUrl = "foo"; | 1984 o.backupImageClickThroughUrl = "foo"; |
| 1968 o.backupImageFeatures = buildUnnamed1438(); | 1985 o.backupImageFeatures = buildUnnamed2172(); |
| 1969 o.backupImageReportingLabel = "foo"; | 1986 o.backupImageReportingLabel = "foo"; |
| 1970 o.backupImageTargetWindow = buildTargetWindow(); | 1987 o.backupImageTargetWindow = buildTargetWindow(); |
| 1971 o.clickTags = buildUnnamed1439(); | 1988 o.clickTags = buildUnnamed2173(); |
| 1972 o.commercialId = "foo"; | 1989 o.commercialId = "foo"; |
| 1973 o.companionCreatives = buildUnnamed1440(); | 1990 o.companionCreatives = buildUnnamed2174(); |
| 1974 o.compatibility = buildUnnamed1441(); | 1991 o.compatibility = buildUnnamed2175(); |
| 1975 o.convertFlashToHtml5 = true; | 1992 o.convertFlashToHtml5 = true; |
| 1976 o.counterCustomEvents = buildUnnamed1442(); | 1993 o.counterCustomEvents = buildUnnamed2176(); |
| 1977 o.creativeAssets = buildUnnamed1443(); | 1994 o.creativeAssetSelection = buildCreativeAssetSelection(); |
| 1978 o.creativeFieldAssignments = buildUnnamed1444(); | 1995 o.creativeAssets = buildUnnamed2177(); |
| 1979 o.customKeyValues = buildUnnamed1445(); | 1996 o.creativeFieldAssignments = buildUnnamed2178(); |
| 1980 o.exitCustomEvents = buildUnnamed1446(); | 1997 o.customKeyValues = buildUnnamed2179(); |
| 1998 o.dynamicAssetSelection = true; |
| 1999 o.exitCustomEvents = buildUnnamed2180(); |
| 1981 o.fsCommand = buildFsCommand(); | 2000 o.fsCommand = buildFsCommand(); |
| 1982 o.htmlCode = "foo"; | 2001 o.htmlCode = "foo"; |
| 1983 o.htmlCodeLocked = true; | 2002 o.htmlCodeLocked = true; |
| 1984 o.id = "foo"; | 2003 o.id = "foo"; |
| 1985 o.idDimensionValue = buildDimensionValue(); | 2004 o.idDimensionValue = buildDimensionValue(); |
| 1986 o.kind = "foo"; | 2005 o.kind = "foo"; |
| 1987 o.lastModifiedInfo = buildLastModifiedInfo(); | 2006 o.lastModifiedInfo = buildLastModifiedInfo(); |
| 1988 o.latestTraffickedCreativeId = "foo"; | 2007 o.latestTraffickedCreativeId = "foo"; |
| 1989 o.name = "foo"; | 2008 o.name = "foo"; |
| 1990 o.overrideCss = "foo"; | 2009 o.overrideCss = "foo"; |
| 1991 o.redirectUrl = "foo"; | 2010 o.redirectUrl = "foo"; |
| 1992 o.renderingId = "foo"; | 2011 o.renderingId = "foo"; |
| 1993 o.renderingIdDimensionValue = buildDimensionValue(); | 2012 o.renderingIdDimensionValue = buildDimensionValue(); |
| 1994 o.requiredFlashPluginVersion = "foo"; | 2013 o.requiredFlashPluginVersion = "foo"; |
| 1995 o.requiredFlashVersion = 42; | 2014 o.requiredFlashVersion = 42; |
| 1996 o.size = buildSize(); | 2015 o.size = buildSize(); |
| 1997 o.skippable = true; | 2016 o.skippable = true; |
| 1998 o.sslCompliant = true; | 2017 o.sslCompliant = true; |
| 1999 o.sslOverride = true; | 2018 o.sslOverride = true; |
| 2000 o.studioAdvertiserId = "foo"; | 2019 o.studioAdvertiserId = "foo"; |
| 2001 o.studioCreativeId = "foo"; | 2020 o.studioCreativeId = "foo"; |
| 2002 o.studioTraffickedCreativeId = "foo"; | 2021 o.studioTraffickedCreativeId = "foo"; |
| 2003 o.subaccountId = "foo"; | 2022 o.subaccountId = "foo"; |
| 2004 o.thirdPartyBackupImageImpressionsUrl = "foo"; | 2023 o.thirdPartyBackupImageImpressionsUrl = "foo"; |
| 2005 o.thirdPartyRichMediaImpressionsUrl = "foo"; | 2024 o.thirdPartyRichMediaImpressionsUrl = "foo"; |
| 2006 o.thirdPartyUrls = buildUnnamed1447(); | 2025 o.thirdPartyUrls = buildUnnamed2181(); |
| 2007 o.timerCustomEvents = buildUnnamed1448(); | 2026 o.timerCustomEvents = buildUnnamed2182(); |
| 2008 o.totalFileSize = "foo"; | 2027 o.totalFileSize = "foo"; |
| 2009 o.type = "foo"; | 2028 o.type = "foo"; |
| 2010 o.version = 42; | 2029 o.version = 42; |
| 2011 o.videoDescription = "foo"; | 2030 o.videoDescription = "foo"; |
| 2012 o.videoDuration = 42.0; | 2031 o.videoDuration = 42.0; |
| 2013 } | 2032 } |
| 2014 buildCounterCreative--; | 2033 buildCounterCreative--; |
| 2015 return o; | 2034 return o; |
| 2016 } | 2035 } |
| 2017 | 2036 |
| 2018 checkCreative(api.Creative o) { | 2037 checkCreative(api.Creative o) { |
| 2019 buildCounterCreative++; | 2038 buildCounterCreative++; |
| 2020 if (buildCounterCreative < 3) { | 2039 if (buildCounterCreative < 3) { |
| 2021 unittest.expect(o.accountId, unittest.equals('foo')); | 2040 unittest.expect(o.accountId, unittest.equals('foo')); |
| 2022 unittest.expect(o.active, unittest.isTrue); | 2041 unittest.expect(o.active, unittest.isTrue); |
| 2023 unittest.expect(o.adParameters, unittest.equals('foo')); | 2042 unittest.expect(o.adParameters, unittest.equals('foo')); |
| 2024 checkUnnamed1437(o.adTagKeys); | 2043 checkUnnamed2171(o.adTagKeys); |
| 2025 unittest.expect(o.advertiserId, unittest.equals('foo')); | 2044 unittest.expect(o.advertiserId, unittest.equals('foo')); |
| 2026 unittest.expect(o.allowScriptAccess, unittest.isTrue); | 2045 unittest.expect(o.allowScriptAccess, unittest.isTrue); |
| 2027 unittest.expect(o.archived, unittest.isTrue); | 2046 unittest.expect(o.archived, unittest.isTrue); |
| 2028 unittest.expect(o.artworkType, unittest.equals('foo')); | 2047 unittest.expect(o.artworkType, unittest.equals('foo')); |
| 2029 unittest.expect(o.authoringSource, unittest.equals('foo')); | 2048 unittest.expect(o.authoringSource, unittest.equals('foo')); |
| 2030 unittest.expect(o.authoringTool, unittest.equals('foo')); | 2049 unittest.expect(o.authoringTool, unittest.equals('foo')); |
| 2031 unittest.expect(o.autoAdvanceImages, unittest.isTrue); | 2050 unittest.expect(o.autoAdvanceImages, unittest.isTrue); |
| 2032 unittest.expect(o.backgroundColor, unittest.equals('foo')); | 2051 unittest.expect(o.backgroundColor, unittest.equals('foo')); |
| 2033 unittest.expect(o.backupImageClickThroughUrl, unittest.equals('foo')); | 2052 unittest.expect(o.backupImageClickThroughUrl, unittest.equals('foo')); |
| 2034 checkUnnamed1438(o.backupImageFeatures); | 2053 checkUnnamed2172(o.backupImageFeatures); |
| 2035 unittest.expect(o.backupImageReportingLabel, unittest.equals('foo')); | 2054 unittest.expect(o.backupImageReportingLabel, unittest.equals('foo')); |
| 2036 checkTargetWindow(o.backupImageTargetWindow); | 2055 checkTargetWindow(o.backupImageTargetWindow); |
| 2037 checkUnnamed1439(o.clickTags); | 2056 checkUnnamed2173(o.clickTags); |
| 2038 unittest.expect(o.commercialId, unittest.equals('foo')); | 2057 unittest.expect(o.commercialId, unittest.equals('foo')); |
| 2039 checkUnnamed1440(o.companionCreatives); | 2058 checkUnnamed2174(o.companionCreatives); |
| 2040 checkUnnamed1441(o.compatibility); | 2059 checkUnnamed2175(o.compatibility); |
| 2041 unittest.expect(o.convertFlashToHtml5, unittest.isTrue); | 2060 unittest.expect(o.convertFlashToHtml5, unittest.isTrue); |
| 2042 checkUnnamed1442(o.counterCustomEvents); | 2061 checkUnnamed2176(o.counterCustomEvents); |
| 2043 checkUnnamed1443(o.creativeAssets); | 2062 checkCreativeAssetSelection(o.creativeAssetSelection); |
| 2044 checkUnnamed1444(o.creativeFieldAssignments); | 2063 checkUnnamed2177(o.creativeAssets); |
| 2045 checkUnnamed1445(o.customKeyValues); | 2064 checkUnnamed2178(o.creativeFieldAssignments); |
| 2046 checkUnnamed1446(o.exitCustomEvents); | 2065 checkUnnamed2179(o.customKeyValues); |
| 2066 unittest.expect(o.dynamicAssetSelection, unittest.isTrue); |
| 2067 checkUnnamed2180(o.exitCustomEvents); |
| 2047 checkFsCommand(o.fsCommand); | 2068 checkFsCommand(o.fsCommand); |
| 2048 unittest.expect(o.htmlCode, unittest.equals('foo')); | 2069 unittest.expect(o.htmlCode, unittest.equals('foo')); |
| 2049 unittest.expect(o.htmlCodeLocked, unittest.isTrue); | 2070 unittest.expect(o.htmlCodeLocked, unittest.isTrue); |
| 2050 unittest.expect(o.id, unittest.equals('foo')); | 2071 unittest.expect(o.id, unittest.equals('foo')); |
| 2051 checkDimensionValue(o.idDimensionValue); | 2072 checkDimensionValue(o.idDimensionValue); |
| 2052 unittest.expect(o.kind, unittest.equals('foo')); | 2073 unittest.expect(o.kind, unittest.equals('foo')); |
| 2053 checkLastModifiedInfo(o.lastModifiedInfo); | 2074 checkLastModifiedInfo(o.lastModifiedInfo); |
| 2054 unittest.expect(o.latestTraffickedCreativeId, unittest.equals('foo')); | 2075 unittest.expect(o.latestTraffickedCreativeId, unittest.equals('foo')); |
| 2055 unittest.expect(o.name, unittest.equals('foo')); | 2076 unittest.expect(o.name, unittest.equals('foo')); |
| 2056 unittest.expect(o.overrideCss, unittest.equals('foo')); | 2077 unittest.expect(o.overrideCss, unittest.equals('foo')); |
| 2057 unittest.expect(o.redirectUrl, unittest.equals('foo')); | 2078 unittest.expect(o.redirectUrl, unittest.equals('foo')); |
| 2058 unittest.expect(o.renderingId, unittest.equals('foo')); | 2079 unittest.expect(o.renderingId, unittest.equals('foo')); |
| 2059 checkDimensionValue(o.renderingIdDimensionValue); | 2080 checkDimensionValue(o.renderingIdDimensionValue); |
| 2060 unittest.expect(o.requiredFlashPluginVersion, unittest.equals('foo')); | 2081 unittest.expect(o.requiredFlashPluginVersion, unittest.equals('foo')); |
| 2061 unittest.expect(o.requiredFlashVersion, unittest.equals(42)); | 2082 unittest.expect(o.requiredFlashVersion, unittest.equals(42)); |
| 2062 checkSize(o.size); | 2083 checkSize(o.size); |
| 2063 unittest.expect(o.skippable, unittest.isTrue); | 2084 unittest.expect(o.skippable, unittest.isTrue); |
| 2064 unittest.expect(o.sslCompliant, unittest.isTrue); | 2085 unittest.expect(o.sslCompliant, unittest.isTrue); |
| 2065 unittest.expect(o.sslOverride, unittest.isTrue); | 2086 unittest.expect(o.sslOverride, unittest.isTrue); |
| 2066 unittest.expect(o.studioAdvertiserId, unittest.equals('foo')); | 2087 unittest.expect(o.studioAdvertiserId, unittest.equals('foo')); |
| 2067 unittest.expect(o.studioCreativeId, unittest.equals('foo')); | 2088 unittest.expect(o.studioCreativeId, unittest.equals('foo')); |
| 2068 unittest.expect(o.studioTraffickedCreativeId, unittest.equals('foo')); | 2089 unittest.expect(o.studioTraffickedCreativeId, unittest.equals('foo')); |
| 2069 unittest.expect(o.subaccountId, unittest.equals('foo')); | 2090 unittest.expect(o.subaccountId, unittest.equals('foo')); |
| 2070 unittest.expect(o.thirdPartyBackupImageImpressionsUrl, unittest.equals('foo'
)); | 2091 unittest.expect(o.thirdPartyBackupImageImpressionsUrl, unittest.equals('foo'
)); |
| 2071 unittest.expect(o.thirdPartyRichMediaImpressionsUrl, unittest.equals('foo'))
; | 2092 unittest.expect(o.thirdPartyRichMediaImpressionsUrl, unittest.equals('foo'))
; |
| 2072 checkUnnamed1447(o.thirdPartyUrls); | 2093 checkUnnamed2181(o.thirdPartyUrls); |
| 2073 checkUnnamed1448(o.timerCustomEvents); | 2094 checkUnnamed2182(o.timerCustomEvents); |
| 2074 unittest.expect(o.totalFileSize, unittest.equals('foo')); | 2095 unittest.expect(o.totalFileSize, unittest.equals('foo')); |
| 2075 unittest.expect(o.type, unittest.equals('foo')); | 2096 unittest.expect(o.type, unittest.equals('foo')); |
| 2076 unittest.expect(o.version, unittest.equals(42)); | 2097 unittest.expect(o.version, unittest.equals(42)); |
| 2077 unittest.expect(o.videoDescription, unittest.equals('foo')); | 2098 unittest.expect(o.videoDescription, unittest.equals('foo')); |
| 2078 unittest.expect(o.videoDuration, unittest.equals(42.0)); | 2099 unittest.expect(o.videoDuration, unittest.equals(42.0)); |
| 2079 } | 2100 } |
| 2080 buildCounterCreative--; | 2101 buildCounterCreative--; |
| 2081 } | 2102 } |
| 2082 | 2103 |
| 2083 buildUnnamed1449() { | 2104 buildUnnamed2183() { |
| 2084 var o = new core.List<core.String>(); | 2105 var o = new core.List<core.String>(); |
| 2085 o.add("foo"); | 2106 o.add("foo"); |
| 2086 o.add("foo"); | 2107 o.add("foo"); |
| 2087 return o; | 2108 return o; |
| 2088 } | 2109 } |
| 2089 | 2110 |
| 2090 checkUnnamed1449(core.List<core.String> o) { | 2111 checkUnnamed2183(core.List<core.String> o) { |
| 2091 unittest.expect(o, unittest.hasLength(2)); | 2112 unittest.expect(o, unittest.hasLength(2)); |
| 2092 unittest.expect(o[0], unittest.equals('foo')); | 2113 unittest.expect(o[0], unittest.equals('foo')); |
| 2093 unittest.expect(o[1], unittest.equals('foo')); | 2114 unittest.expect(o[1], unittest.equals('foo')); |
| 2115 } |
| 2116 |
| 2117 buildUnnamed2184() { |
| 2118 var o = new core.List<core.String>(); |
| 2119 o.add("foo"); |
| 2120 o.add("foo"); |
| 2121 return o; |
| 2122 } |
| 2123 |
| 2124 checkUnnamed2184(core.List<core.String> o) { |
| 2125 unittest.expect(o, unittest.hasLength(2)); |
| 2126 unittest.expect(o[0], unittest.equals('foo')); |
| 2127 unittest.expect(o[1], unittest.equals('foo')); |
| 2094 } | 2128 } |
| 2095 | 2129 |
| 2096 core.int buildCounterCreativeAsset = 0; | 2130 core.int buildCounterCreativeAsset = 0; |
| 2097 buildCreativeAsset() { | 2131 buildCreativeAsset() { |
| 2098 var o = new api.CreativeAsset(); | 2132 var o = new api.CreativeAsset(); |
| 2099 buildCounterCreativeAsset++; | 2133 buildCounterCreativeAsset++; |
| 2100 if (buildCounterCreativeAsset < 3) { | 2134 if (buildCounterCreativeAsset < 3) { |
| 2101 o.actionScript3 = true; | 2135 o.actionScript3 = true; |
| 2102 o.active = true; | 2136 o.active = true; |
| 2103 o.alignment = "foo"; | 2137 o.alignment = "foo"; |
| 2104 o.artworkType = "foo"; | 2138 o.artworkType = "foo"; |
| 2105 o.assetIdentifier = buildCreativeAssetId(); | 2139 o.assetIdentifier = buildCreativeAssetId(); |
| 2106 o.backupImageExit = buildCreativeCustomEvent(); | 2140 o.backupImageExit = buildCreativeCustomEvent(); |
| 2107 o.bitRate = 42; | 2141 o.bitRate = 42; |
| 2108 o.childAssetType = "foo"; | 2142 o.childAssetType = "foo"; |
| 2109 o.collapsedSize = buildSize(); | 2143 o.collapsedSize = buildSize(); |
| 2144 o.companionCreativeIds = buildUnnamed2183(); |
| 2110 o.customStartTimeValue = 42; | 2145 o.customStartTimeValue = 42; |
| 2111 o.detectedFeatures = buildUnnamed1449(); | 2146 o.detectedFeatures = buildUnnamed2184(); |
| 2112 o.displayType = "foo"; | 2147 o.displayType = "foo"; |
| 2113 o.duration = 42; | 2148 o.duration = 42; |
| 2114 o.durationType = "foo"; | 2149 o.durationType = "foo"; |
| 2115 o.expandedDimension = buildSize(); | 2150 o.expandedDimension = buildSize(); |
| 2116 o.fileSize = "foo"; | 2151 o.fileSize = "foo"; |
| 2117 o.flashVersion = 42; | 2152 o.flashVersion = 42; |
| 2118 o.hideFlashObjects = true; | 2153 o.hideFlashObjects = true; |
| 2119 o.hideSelectionBoxes = true; | 2154 o.hideSelectionBoxes = true; |
| 2120 o.horizontallyLocked = true; | 2155 o.horizontallyLocked = true; |
| 2121 o.id = "foo"; | 2156 o.id = "foo"; |
| 2157 o.idDimensionValue = buildDimensionValue(); |
| 2122 o.mimeType = "foo"; | 2158 o.mimeType = "foo"; |
| 2123 o.offset = buildOffsetPosition(); | 2159 o.offset = buildOffsetPosition(); |
| 2124 o.originalBackup = true; | 2160 o.originalBackup = true; |
| 2125 o.position = buildOffsetPosition(); | 2161 o.position = buildOffsetPosition(); |
| 2126 o.positionLeftUnit = "foo"; | 2162 o.positionLeftUnit = "foo"; |
| 2127 o.positionTopUnit = "foo"; | 2163 o.positionTopUnit = "foo"; |
| 2128 o.progressiveServingUrl = "foo"; | 2164 o.progressiveServingUrl = "foo"; |
| 2129 o.pushdown = true; | 2165 o.pushdown = true; |
| 2130 o.pushdownDuration = 42.0; | 2166 o.pushdownDuration = 42.0; |
| 2131 o.role = "foo"; | 2167 o.role = "foo"; |
| (...skipping 18 matching lines...) Expand all Loading... |
| 2150 if (buildCounterCreativeAsset < 3) { | 2186 if (buildCounterCreativeAsset < 3) { |
| 2151 unittest.expect(o.actionScript3, unittest.isTrue); | 2187 unittest.expect(o.actionScript3, unittest.isTrue); |
| 2152 unittest.expect(o.active, unittest.isTrue); | 2188 unittest.expect(o.active, unittest.isTrue); |
| 2153 unittest.expect(o.alignment, unittest.equals('foo')); | 2189 unittest.expect(o.alignment, unittest.equals('foo')); |
| 2154 unittest.expect(o.artworkType, unittest.equals('foo')); | 2190 unittest.expect(o.artworkType, unittest.equals('foo')); |
| 2155 checkCreativeAssetId(o.assetIdentifier); | 2191 checkCreativeAssetId(o.assetIdentifier); |
| 2156 checkCreativeCustomEvent(o.backupImageExit); | 2192 checkCreativeCustomEvent(o.backupImageExit); |
| 2157 unittest.expect(o.bitRate, unittest.equals(42)); | 2193 unittest.expect(o.bitRate, unittest.equals(42)); |
| 2158 unittest.expect(o.childAssetType, unittest.equals('foo')); | 2194 unittest.expect(o.childAssetType, unittest.equals('foo')); |
| 2159 checkSize(o.collapsedSize); | 2195 checkSize(o.collapsedSize); |
| 2196 checkUnnamed2183(o.companionCreativeIds); |
| 2160 unittest.expect(o.customStartTimeValue, unittest.equals(42)); | 2197 unittest.expect(o.customStartTimeValue, unittest.equals(42)); |
| 2161 checkUnnamed1449(o.detectedFeatures); | 2198 checkUnnamed2184(o.detectedFeatures); |
| 2162 unittest.expect(o.displayType, unittest.equals('foo')); | 2199 unittest.expect(o.displayType, unittest.equals('foo')); |
| 2163 unittest.expect(o.duration, unittest.equals(42)); | 2200 unittest.expect(o.duration, unittest.equals(42)); |
| 2164 unittest.expect(o.durationType, unittest.equals('foo')); | 2201 unittest.expect(o.durationType, unittest.equals('foo')); |
| 2165 checkSize(o.expandedDimension); | 2202 checkSize(o.expandedDimension); |
| 2166 unittest.expect(o.fileSize, unittest.equals('foo')); | 2203 unittest.expect(o.fileSize, unittest.equals('foo')); |
| 2167 unittest.expect(o.flashVersion, unittest.equals(42)); | 2204 unittest.expect(o.flashVersion, unittest.equals(42)); |
| 2168 unittest.expect(o.hideFlashObjects, unittest.isTrue); | 2205 unittest.expect(o.hideFlashObjects, unittest.isTrue); |
| 2169 unittest.expect(o.hideSelectionBoxes, unittest.isTrue); | 2206 unittest.expect(o.hideSelectionBoxes, unittest.isTrue); |
| 2170 unittest.expect(o.horizontallyLocked, unittest.isTrue); | 2207 unittest.expect(o.horizontallyLocked, unittest.isTrue); |
| 2171 unittest.expect(o.id, unittest.equals('foo')); | 2208 unittest.expect(o.id, unittest.equals('foo')); |
| 2209 checkDimensionValue(o.idDimensionValue); |
| 2172 unittest.expect(o.mimeType, unittest.equals('foo')); | 2210 unittest.expect(o.mimeType, unittest.equals('foo')); |
| 2173 checkOffsetPosition(o.offset); | 2211 checkOffsetPosition(o.offset); |
| 2174 unittest.expect(o.originalBackup, unittest.isTrue); | 2212 unittest.expect(o.originalBackup, unittest.isTrue); |
| 2175 checkOffsetPosition(o.position); | 2213 checkOffsetPosition(o.position); |
| 2176 unittest.expect(o.positionLeftUnit, unittest.equals('foo')); | 2214 unittest.expect(o.positionLeftUnit, unittest.equals('foo')); |
| 2177 unittest.expect(o.positionTopUnit, unittest.equals('foo')); | 2215 unittest.expect(o.positionTopUnit, unittest.equals('foo')); |
| 2178 unittest.expect(o.progressiveServingUrl, unittest.equals('foo')); | 2216 unittest.expect(o.progressiveServingUrl, unittest.equals('foo')); |
| 2179 unittest.expect(o.pushdown, unittest.isTrue); | 2217 unittest.expect(o.pushdown, unittest.isTrue); |
| 2180 unittest.expect(o.pushdownDuration, unittest.equals(42.0)); | 2218 unittest.expect(o.pushdownDuration, unittest.equals(42.0)); |
| 2181 unittest.expect(o.role, unittest.equals('foo')); | 2219 unittest.expect(o.role, unittest.equals('foo')); |
| (...skipping 26 matching lines...) Expand all Loading... |
| 2208 | 2246 |
| 2209 checkCreativeAssetId(api.CreativeAssetId o) { | 2247 checkCreativeAssetId(api.CreativeAssetId o) { |
| 2210 buildCounterCreativeAssetId++; | 2248 buildCounterCreativeAssetId++; |
| 2211 if (buildCounterCreativeAssetId < 3) { | 2249 if (buildCounterCreativeAssetId < 3) { |
| 2212 unittest.expect(o.name, unittest.equals('foo')); | 2250 unittest.expect(o.name, unittest.equals('foo')); |
| 2213 unittest.expect(o.type, unittest.equals('foo')); | 2251 unittest.expect(o.type, unittest.equals('foo')); |
| 2214 } | 2252 } |
| 2215 buildCounterCreativeAssetId--; | 2253 buildCounterCreativeAssetId--; |
| 2216 } | 2254 } |
| 2217 | 2255 |
| 2218 buildUnnamed1450() { | 2256 buildUnnamed2185() { |
| 2219 var o = new core.List<api.ClickTag>(); | 2257 var o = new core.List<api.ClickTag>(); |
| 2220 o.add(buildClickTag()); | 2258 o.add(buildClickTag()); |
| 2221 o.add(buildClickTag()); | 2259 o.add(buildClickTag()); |
| 2222 return o; | 2260 return o; |
| 2223 } | 2261 } |
| 2224 | 2262 |
| 2225 checkUnnamed1450(core.List<api.ClickTag> o) { | 2263 checkUnnamed2185(core.List<api.ClickTag> o) { |
| 2226 unittest.expect(o, unittest.hasLength(2)); | 2264 unittest.expect(o, unittest.hasLength(2)); |
| 2227 checkClickTag(o[0]); | 2265 checkClickTag(o[0]); |
| 2228 checkClickTag(o[1]); | 2266 checkClickTag(o[1]); |
| 2229 } | 2267 } |
| 2230 | 2268 |
| 2231 buildUnnamed1451() { | 2269 buildUnnamed2186() { |
| 2232 var o = new core.List<core.String>(); | 2270 var o = new core.List<core.String>(); |
| 2233 o.add("foo"); | 2271 o.add("foo"); |
| 2234 o.add("foo"); | 2272 o.add("foo"); |
| 2235 return o; | 2273 return o; |
| 2236 } | 2274 } |
| 2237 | 2275 |
| 2238 checkUnnamed1451(core.List<core.String> o) { | 2276 checkUnnamed2186(core.List<core.String> o) { |
| 2239 unittest.expect(o, unittest.hasLength(2)); | 2277 unittest.expect(o, unittest.hasLength(2)); |
| 2240 unittest.expect(o[0], unittest.equals('foo')); | 2278 unittest.expect(o[0], unittest.equals('foo')); |
| 2241 unittest.expect(o[1], unittest.equals('foo')); | 2279 unittest.expect(o[1], unittest.equals('foo')); |
| 2242 } | 2280 } |
| 2243 | 2281 |
| 2244 buildUnnamed1452() { | 2282 buildUnnamed2187() { |
| 2245 var o = new core.List<core.String>(); | 2283 var o = new core.List<core.String>(); |
| 2246 o.add("foo"); | 2284 o.add("foo"); |
| 2247 o.add("foo"); | 2285 o.add("foo"); |
| 2248 return o; | 2286 return o; |
| 2249 } | 2287 } |
| 2250 | 2288 |
| 2251 checkUnnamed1452(core.List<core.String> o) { | 2289 checkUnnamed2187(core.List<core.String> o) { |
| 2252 unittest.expect(o, unittest.hasLength(2)); | 2290 unittest.expect(o, unittest.hasLength(2)); |
| 2253 unittest.expect(o[0], unittest.equals('foo')); | 2291 unittest.expect(o[0], unittest.equals('foo')); |
| 2254 unittest.expect(o[1], unittest.equals('foo')); | 2292 unittest.expect(o[1], unittest.equals('foo')); |
| 2255 } | 2293 } |
| 2256 | 2294 |
| 2257 core.int buildCounterCreativeAssetMetadata = 0; | 2295 core.int buildCounterCreativeAssetMetadata = 0; |
| 2258 buildCreativeAssetMetadata() { | 2296 buildCreativeAssetMetadata() { |
| 2259 var o = new api.CreativeAssetMetadata(); | 2297 var o = new api.CreativeAssetMetadata(); |
| 2260 buildCounterCreativeAssetMetadata++; | 2298 buildCounterCreativeAssetMetadata++; |
| 2261 if (buildCounterCreativeAssetMetadata < 3) { | 2299 if (buildCounterCreativeAssetMetadata < 3) { |
| 2262 o.assetIdentifier = buildCreativeAssetId(); | 2300 o.assetIdentifier = buildCreativeAssetId(); |
| 2263 o.clickTags = buildUnnamed1450(); | 2301 o.clickTags = buildUnnamed2185(); |
| 2264 o.detectedFeatures = buildUnnamed1451(); | 2302 o.detectedFeatures = buildUnnamed2186(); |
| 2303 o.id = "foo"; |
| 2304 o.idDimensionValue = buildDimensionValue(); |
| 2265 o.kind = "foo"; | 2305 o.kind = "foo"; |
| 2266 o.warnedValidationRules = buildUnnamed1452(); | 2306 o.warnedValidationRules = buildUnnamed2187(); |
| 2267 } | 2307 } |
| 2268 buildCounterCreativeAssetMetadata--; | 2308 buildCounterCreativeAssetMetadata--; |
| 2269 return o; | 2309 return o; |
| 2270 } | 2310 } |
| 2271 | 2311 |
| 2272 checkCreativeAssetMetadata(api.CreativeAssetMetadata o) { | 2312 checkCreativeAssetMetadata(api.CreativeAssetMetadata o) { |
| 2273 buildCounterCreativeAssetMetadata++; | 2313 buildCounterCreativeAssetMetadata++; |
| 2274 if (buildCounterCreativeAssetMetadata < 3) { | 2314 if (buildCounterCreativeAssetMetadata < 3) { |
| 2275 checkCreativeAssetId(o.assetIdentifier); | 2315 checkCreativeAssetId(o.assetIdentifier); |
| 2276 checkUnnamed1450(o.clickTags); | 2316 checkUnnamed2185(o.clickTags); |
| 2277 checkUnnamed1451(o.detectedFeatures); | 2317 checkUnnamed2186(o.detectedFeatures); |
| 2318 unittest.expect(o.id, unittest.equals('foo')); |
| 2319 checkDimensionValue(o.idDimensionValue); |
| 2278 unittest.expect(o.kind, unittest.equals('foo')); | 2320 unittest.expect(o.kind, unittest.equals('foo')); |
| 2279 checkUnnamed1452(o.warnedValidationRules); | 2321 checkUnnamed2187(o.warnedValidationRules); |
| 2280 } | 2322 } |
| 2281 buildCounterCreativeAssetMetadata--; | 2323 buildCounterCreativeAssetMetadata--; |
| 2282 } | 2324 } |
| 2283 | 2325 |
| 2284 buildUnnamed1453() { | 2326 buildUnnamed2188() { |
| 2327 var o = new core.List<api.Rule>(); |
| 2328 o.add(buildRule()); |
| 2329 o.add(buildRule()); |
| 2330 return o; |
| 2331 } |
| 2332 |
| 2333 checkUnnamed2188(core.List<api.Rule> o) { |
| 2334 unittest.expect(o, unittest.hasLength(2)); |
| 2335 checkRule(o[0]); |
| 2336 checkRule(o[1]); |
| 2337 } |
| 2338 |
| 2339 core.int buildCounterCreativeAssetSelection = 0; |
| 2340 buildCreativeAssetSelection() { |
| 2341 var o = new api.CreativeAssetSelection(); |
| 2342 buildCounterCreativeAssetSelection++; |
| 2343 if (buildCounterCreativeAssetSelection < 3) { |
| 2344 o.defaultAssetId = "foo"; |
| 2345 o.rules = buildUnnamed2188(); |
| 2346 } |
| 2347 buildCounterCreativeAssetSelection--; |
| 2348 return o; |
| 2349 } |
| 2350 |
| 2351 checkCreativeAssetSelection(api.CreativeAssetSelection o) { |
| 2352 buildCounterCreativeAssetSelection++; |
| 2353 if (buildCounterCreativeAssetSelection < 3) { |
| 2354 unittest.expect(o.defaultAssetId, unittest.equals('foo')); |
| 2355 checkUnnamed2188(o.rules); |
| 2356 } |
| 2357 buildCounterCreativeAssetSelection--; |
| 2358 } |
| 2359 |
| 2360 buildUnnamed2189() { |
| 2285 var o = new core.List<api.CompanionClickThroughOverride>(); | 2361 var o = new core.List<api.CompanionClickThroughOverride>(); |
| 2286 o.add(buildCompanionClickThroughOverride()); | 2362 o.add(buildCompanionClickThroughOverride()); |
| 2287 o.add(buildCompanionClickThroughOverride()); | 2363 o.add(buildCompanionClickThroughOverride()); |
| 2288 return o; | 2364 return o; |
| 2289 } | 2365 } |
| 2290 | 2366 |
| 2291 checkUnnamed1453(core.List<api.CompanionClickThroughOverride> o) { | 2367 checkUnnamed2189(core.List<api.CompanionClickThroughOverride> o) { |
| 2292 unittest.expect(o, unittest.hasLength(2)); | 2368 unittest.expect(o, unittest.hasLength(2)); |
| 2293 checkCompanionClickThroughOverride(o[0]); | 2369 checkCompanionClickThroughOverride(o[0]); |
| 2294 checkCompanionClickThroughOverride(o[1]); | 2370 checkCompanionClickThroughOverride(o[1]); |
| 2295 } | 2371 } |
| 2296 | 2372 |
| 2297 buildUnnamed1454() { | 2373 buildUnnamed2190() { |
| 2298 var o = new core.List<api.CreativeGroupAssignment>(); | 2374 var o = new core.List<api.CreativeGroupAssignment>(); |
| 2299 o.add(buildCreativeGroupAssignment()); | 2375 o.add(buildCreativeGroupAssignment()); |
| 2300 o.add(buildCreativeGroupAssignment()); | 2376 o.add(buildCreativeGroupAssignment()); |
| 2301 return o; | 2377 return o; |
| 2302 } | 2378 } |
| 2303 | 2379 |
| 2304 checkUnnamed1454(core.List<api.CreativeGroupAssignment> o) { | 2380 checkUnnamed2190(core.List<api.CreativeGroupAssignment> o) { |
| 2305 unittest.expect(o, unittest.hasLength(2)); | 2381 unittest.expect(o, unittest.hasLength(2)); |
| 2306 checkCreativeGroupAssignment(o[0]); | 2382 checkCreativeGroupAssignment(o[0]); |
| 2307 checkCreativeGroupAssignment(o[1]); | 2383 checkCreativeGroupAssignment(o[1]); |
| 2308 } | 2384 } |
| 2309 | 2385 |
| 2310 buildUnnamed1455() { | 2386 buildUnnamed2191() { |
| 2311 var o = new core.List<api.RichMediaExitOverride>(); | 2387 var o = new core.List<api.RichMediaExitOverride>(); |
| 2312 o.add(buildRichMediaExitOverride()); | 2388 o.add(buildRichMediaExitOverride()); |
| 2313 o.add(buildRichMediaExitOverride()); | 2389 o.add(buildRichMediaExitOverride()); |
| 2314 return o; | 2390 return o; |
| 2315 } | 2391 } |
| 2316 | 2392 |
| 2317 checkUnnamed1455(core.List<api.RichMediaExitOverride> o) { | 2393 checkUnnamed2191(core.List<api.RichMediaExitOverride> o) { |
| 2318 unittest.expect(o, unittest.hasLength(2)); | 2394 unittest.expect(o, unittest.hasLength(2)); |
| 2319 checkRichMediaExitOverride(o[0]); | 2395 checkRichMediaExitOverride(o[0]); |
| 2320 checkRichMediaExitOverride(o[1]); | 2396 checkRichMediaExitOverride(o[1]); |
| 2321 } | 2397 } |
| 2322 | 2398 |
| 2323 core.int buildCounterCreativeAssignment = 0; | 2399 core.int buildCounterCreativeAssignment = 0; |
| 2324 buildCreativeAssignment() { | 2400 buildCreativeAssignment() { |
| 2325 var o = new api.CreativeAssignment(); | 2401 var o = new api.CreativeAssignment(); |
| 2326 buildCounterCreativeAssignment++; | 2402 buildCounterCreativeAssignment++; |
| 2327 if (buildCounterCreativeAssignment < 3) { | 2403 if (buildCounterCreativeAssignment < 3) { |
| 2328 o.active = true; | 2404 o.active = true; |
| 2329 o.applyEventTags = true; | 2405 o.applyEventTags = true; |
| 2330 o.clickThroughUrl = buildClickThroughUrl(); | 2406 o.clickThroughUrl = buildClickThroughUrl(); |
| 2331 o.companionCreativeOverrides = buildUnnamed1453(); | 2407 o.companionCreativeOverrides = buildUnnamed2189(); |
| 2332 o.creativeGroupAssignments = buildUnnamed1454(); | 2408 o.creativeGroupAssignments = buildUnnamed2190(); |
| 2333 o.creativeId = "foo"; | 2409 o.creativeId = "foo"; |
| 2334 o.creativeIdDimensionValue = buildDimensionValue(); | 2410 o.creativeIdDimensionValue = buildDimensionValue(); |
| 2335 o.endTime = core.DateTime.parse("2002-02-27T14:01:02"); | 2411 o.endTime = core.DateTime.parse("2002-02-27T14:01:02"); |
| 2336 o.richMediaExitOverrides = buildUnnamed1455(); | 2412 o.richMediaExitOverrides = buildUnnamed2191(); |
| 2337 o.sequence = 42; | 2413 o.sequence = 42; |
| 2338 o.sslCompliant = true; | 2414 o.sslCompliant = true; |
| 2339 o.startTime = core.DateTime.parse("2002-02-27T14:01:02"); | 2415 o.startTime = core.DateTime.parse("2002-02-27T14:01:02"); |
| 2340 o.weight = 42; | 2416 o.weight = 42; |
| 2341 } | 2417 } |
| 2342 buildCounterCreativeAssignment--; | 2418 buildCounterCreativeAssignment--; |
| 2343 return o; | 2419 return o; |
| 2344 } | 2420 } |
| 2345 | 2421 |
| 2346 checkCreativeAssignment(api.CreativeAssignment o) { | 2422 checkCreativeAssignment(api.CreativeAssignment o) { |
| 2347 buildCounterCreativeAssignment++; | 2423 buildCounterCreativeAssignment++; |
| 2348 if (buildCounterCreativeAssignment < 3) { | 2424 if (buildCounterCreativeAssignment < 3) { |
| 2349 unittest.expect(o.active, unittest.isTrue); | 2425 unittest.expect(o.active, unittest.isTrue); |
| 2350 unittest.expect(o.applyEventTags, unittest.isTrue); | 2426 unittest.expect(o.applyEventTags, unittest.isTrue); |
| 2351 checkClickThroughUrl(o.clickThroughUrl); | 2427 checkClickThroughUrl(o.clickThroughUrl); |
| 2352 checkUnnamed1453(o.companionCreativeOverrides); | 2428 checkUnnamed2189(o.companionCreativeOverrides); |
| 2353 checkUnnamed1454(o.creativeGroupAssignments); | 2429 checkUnnamed2190(o.creativeGroupAssignments); |
| 2354 unittest.expect(o.creativeId, unittest.equals('foo')); | 2430 unittest.expect(o.creativeId, unittest.equals('foo')); |
| 2355 checkDimensionValue(o.creativeIdDimensionValue); | 2431 checkDimensionValue(o.creativeIdDimensionValue); |
| 2356 unittest.expect(o.endTime, unittest.equals(core.DateTime.parse("2002-02-27T1
4:01:02"))); | 2432 unittest.expect(o.endTime, unittest.equals(core.DateTime.parse("2002-02-27T1
4:01:02"))); |
| 2357 checkUnnamed1455(o.richMediaExitOverrides); | 2433 checkUnnamed2191(o.richMediaExitOverrides); |
| 2358 unittest.expect(o.sequence, unittest.equals(42)); | 2434 unittest.expect(o.sequence, unittest.equals(42)); |
| 2359 unittest.expect(o.sslCompliant, unittest.isTrue); | 2435 unittest.expect(o.sslCompliant, unittest.isTrue); |
| 2360 unittest.expect(o.startTime, unittest.equals(core.DateTime.parse("2002-02-27
T14:01:02"))); | 2436 unittest.expect(o.startTime, unittest.equals(core.DateTime.parse("2002-02-27
T14:01:02"))); |
| 2361 unittest.expect(o.weight, unittest.equals(42)); | 2437 unittest.expect(o.weight, unittest.equals(42)); |
| 2362 } | 2438 } |
| 2363 buildCounterCreativeAssignment--; | 2439 buildCounterCreativeAssignment--; |
| 2364 } | 2440 } |
| 2365 | 2441 |
| 2366 core.int buildCounterCreativeCustomEvent = 0; | 2442 core.int buildCounterCreativeCustomEvent = 0; |
| 2367 buildCreativeCustomEvent() { | 2443 buildCreativeCustomEvent() { |
| (...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2468 checkCreativeFieldValue(api.CreativeFieldValue o) { | 2544 checkCreativeFieldValue(api.CreativeFieldValue o) { |
| 2469 buildCounterCreativeFieldValue++; | 2545 buildCounterCreativeFieldValue++; |
| 2470 if (buildCounterCreativeFieldValue < 3) { | 2546 if (buildCounterCreativeFieldValue < 3) { |
| 2471 unittest.expect(o.id, unittest.equals('foo')); | 2547 unittest.expect(o.id, unittest.equals('foo')); |
| 2472 unittest.expect(o.kind, unittest.equals('foo')); | 2548 unittest.expect(o.kind, unittest.equals('foo')); |
| 2473 unittest.expect(o.value, unittest.equals('foo')); | 2549 unittest.expect(o.value, unittest.equals('foo')); |
| 2474 } | 2550 } |
| 2475 buildCounterCreativeFieldValue--; | 2551 buildCounterCreativeFieldValue--; |
| 2476 } | 2552 } |
| 2477 | 2553 |
| 2478 buildUnnamed1456() { | 2554 buildUnnamed2192() { |
| 2479 var o = new core.List<api.CreativeFieldValue>(); | 2555 var o = new core.List<api.CreativeFieldValue>(); |
| 2480 o.add(buildCreativeFieldValue()); | 2556 o.add(buildCreativeFieldValue()); |
| 2481 o.add(buildCreativeFieldValue()); | 2557 o.add(buildCreativeFieldValue()); |
| 2482 return o; | 2558 return o; |
| 2483 } | 2559 } |
| 2484 | 2560 |
| 2485 checkUnnamed1456(core.List<api.CreativeFieldValue> o) { | 2561 checkUnnamed2192(core.List<api.CreativeFieldValue> o) { |
| 2486 unittest.expect(o, unittest.hasLength(2)); | 2562 unittest.expect(o, unittest.hasLength(2)); |
| 2487 checkCreativeFieldValue(o[0]); | 2563 checkCreativeFieldValue(o[0]); |
| 2488 checkCreativeFieldValue(o[1]); | 2564 checkCreativeFieldValue(o[1]); |
| 2489 } | 2565 } |
| 2490 | 2566 |
| 2491 core.int buildCounterCreativeFieldValuesListResponse = 0; | 2567 core.int buildCounterCreativeFieldValuesListResponse = 0; |
| 2492 buildCreativeFieldValuesListResponse() { | 2568 buildCreativeFieldValuesListResponse() { |
| 2493 var o = new api.CreativeFieldValuesListResponse(); | 2569 var o = new api.CreativeFieldValuesListResponse(); |
| 2494 buildCounterCreativeFieldValuesListResponse++; | 2570 buildCounterCreativeFieldValuesListResponse++; |
| 2495 if (buildCounterCreativeFieldValuesListResponse < 3) { | 2571 if (buildCounterCreativeFieldValuesListResponse < 3) { |
| 2496 o.creativeFieldValues = buildUnnamed1456(); | 2572 o.creativeFieldValues = buildUnnamed2192(); |
| 2497 o.kind = "foo"; | 2573 o.kind = "foo"; |
| 2498 o.nextPageToken = "foo"; | 2574 o.nextPageToken = "foo"; |
| 2499 } | 2575 } |
| 2500 buildCounterCreativeFieldValuesListResponse--; | 2576 buildCounterCreativeFieldValuesListResponse--; |
| 2501 return o; | 2577 return o; |
| 2502 } | 2578 } |
| 2503 | 2579 |
| 2504 checkCreativeFieldValuesListResponse(api.CreativeFieldValuesListResponse o) { | 2580 checkCreativeFieldValuesListResponse(api.CreativeFieldValuesListResponse o) { |
| 2505 buildCounterCreativeFieldValuesListResponse++; | 2581 buildCounterCreativeFieldValuesListResponse++; |
| 2506 if (buildCounterCreativeFieldValuesListResponse < 3) { | 2582 if (buildCounterCreativeFieldValuesListResponse < 3) { |
| 2507 checkUnnamed1456(o.creativeFieldValues); | 2583 checkUnnamed2192(o.creativeFieldValues); |
| 2508 unittest.expect(o.kind, unittest.equals('foo')); | 2584 unittest.expect(o.kind, unittest.equals('foo')); |
| 2509 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 2585 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 2510 } | 2586 } |
| 2511 buildCounterCreativeFieldValuesListResponse--; | 2587 buildCounterCreativeFieldValuesListResponse--; |
| 2512 } | 2588 } |
| 2513 | 2589 |
| 2514 buildUnnamed1457() { | 2590 buildUnnamed2193() { |
| 2515 var o = new core.List<api.CreativeField>(); | 2591 var o = new core.List<api.CreativeField>(); |
| 2516 o.add(buildCreativeField()); | 2592 o.add(buildCreativeField()); |
| 2517 o.add(buildCreativeField()); | 2593 o.add(buildCreativeField()); |
| 2518 return o; | 2594 return o; |
| 2519 } | 2595 } |
| 2520 | 2596 |
| 2521 checkUnnamed1457(core.List<api.CreativeField> o) { | 2597 checkUnnamed2193(core.List<api.CreativeField> o) { |
| 2522 unittest.expect(o, unittest.hasLength(2)); | 2598 unittest.expect(o, unittest.hasLength(2)); |
| 2523 checkCreativeField(o[0]); | 2599 checkCreativeField(o[0]); |
| 2524 checkCreativeField(o[1]); | 2600 checkCreativeField(o[1]); |
| 2525 } | 2601 } |
| 2526 | 2602 |
| 2527 core.int buildCounterCreativeFieldsListResponse = 0; | 2603 core.int buildCounterCreativeFieldsListResponse = 0; |
| 2528 buildCreativeFieldsListResponse() { | 2604 buildCreativeFieldsListResponse() { |
| 2529 var o = new api.CreativeFieldsListResponse(); | 2605 var o = new api.CreativeFieldsListResponse(); |
| 2530 buildCounterCreativeFieldsListResponse++; | 2606 buildCounterCreativeFieldsListResponse++; |
| 2531 if (buildCounterCreativeFieldsListResponse < 3) { | 2607 if (buildCounterCreativeFieldsListResponse < 3) { |
| 2532 o.creativeFields = buildUnnamed1457(); | 2608 o.creativeFields = buildUnnamed2193(); |
| 2533 o.kind = "foo"; | 2609 o.kind = "foo"; |
| 2534 o.nextPageToken = "foo"; | 2610 o.nextPageToken = "foo"; |
| 2535 } | 2611 } |
| 2536 buildCounterCreativeFieldsListResponse--; | 2612 buildCounterCreativeFieldsListResponse--; |
| 2537 return o; | 2613 return o; |
| 2538 } | 2614 } |
| 2539 | 2615 |
| 2540 checkCreativeFieldsListResponse(api.CreativeFieldsListResponse o) { | 2616 checkCreativeFieldsListResponse(api.CreativeFieldsListResponse o) { |
| 2541 buildCounterCreativeFieldsListResponse++; | 2617 buildCounterCreativeFieldsListResponse++; |
| 2542 if (buildCounterCreativeFieldsListResponse < 3) { | 2618 if (buildCounterCreativeFieldsListResponse < 3) { |
| 2543 checkUnnamed1457(o.creativeFields); | 2619 checkUnnamed2193(o.creativeFields); |
| 2544 unittest.expect(o.kind, unittest.equals('foo')); | 2620 unittest.expect(o.kind, unittest.equals('foo')); |
| 2545 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 2621 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 2546 } | 2622 } |
| 2547 buildCounterCreativeFieldsListResponse--; | 2623 buildCounterCreativeFieldsListResponse--; |
| 2548 } | 2624 } |
| 2549 | 2625 |
| 2550 core.int buildCounterCreativeGroup = 0; | 2626 core.int buildCounterCreativeGroup = 0; |
| 2551 buildCreativeGroup() { | 2627 buildCreativeGroup() { |
| 2552 var o = new api.CreativeGroup(); | 2628 var o = new api.CreativeGroup(); |
| 2553 buildCounterCreativeGroup++; | 2629 buildCounterCreativeGroup++; |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2594 | 2670 |
| 2595 checkCreativeGroupAssignment(api.CreativeGroupAssignment o) { | 2671 checkCreativeGroupAssignment(api.CreativeGroupAssignment o) { |
| 2596 buildCounterCreativeGroupAssignment++; | 2672 buildCounterCreativeGroupAssignment++; |
| 2597 if (buildCounterCreativeGroupAssignment < 3) { | 2673 if (buildCounterCreativeGroupAssignment < 3) { |
| 2598 unittest.expect(o.creativeGroupId, unittest.equals('foo')); | 2674 unittest.expect(o.creativeGroupId, unittest.equals('foo')); |
| 2599 unittest.expect(o.creativeGroupNumber, unittest.equals('foo')); | 2675 unittest.expect(o.creativeGroupNumber, unittest.equals('foo')); |
| 2600 } | 2676 } |
| 2601 buildCounterCreativeGroupAssignment--; | 2677 buildCounterCreativeGroupAssignment--; |
| 2602 } | 2678 } |
| 2603 | 2679 |
| 2604 buildUnnamed1458() { | 2680 buildUnnamed2194() { |
| 2605 var o = new core.List<api.CreativeGroup>(); | 2681 var o = new core.List<api.CreativeGroup>(); |
| 2606 o.add(buildCreativeGroup()); | 2682 o.add(buildCreativeGroup()); |
| 2607 o.add(buildCreativeGroup()); | 2683 o.add(buildCreativeGroup()); |
| 2608 return o; | 2684 return o; |
| 2609 } | 2685 } |
| 2610 | 2686 |
| 2611 checkUnnamed1458(core.List<api.CreativeGroup> o) { | 2687 checkUnnamed2194(core.List<api.CreativeGroup> o) { |
| 2612 unittest.expect(o, unittest.hasLength(2)); | 2688 unittest.expect(o, unittest.hasLength(2)); |
| 2613 checkCreativeGroup(o[0]); | 2689 checkCreativeGroup(o[0]); |
| 2614 checkCreativeGroup(o[1]); | 2690 checkCreativeGroup(o[1]); |
| 2615 } | 2691 } |
| 2616 | 2692 |
| 2617 core.int buildCounterCreativeGroupsListResponse = 0; | 2693 core.int buildCounterCreativeGroupsListResponse = 0; |
| 2618 buildCreativeGroupsListResponse() { | 2694 buildCreativeGroupsListResponse() { |
| 2619 var o = new api.CreativeGroupsListResponse(); | 2695 var o = new api.CreativeGroupsListResponse(); |
| 2620 buildCounterCreativeGroupsListResponse++; | 2696 buildCounterCreativeGroupsListResponse++; |
| 2621 if (buildCounterCreativeGroupsListResponse < 3) { | 2697 if (buildCounterCreativeGroupsListResponse < 3) { |
| 2622 o.creativeGroups = buildUnnamed1458(); | 2698 o.creativeGroups = buildUnnamed2194(); |
| 2623 o.kind = "foo"; | 2699 o.kind = "foo"; |
| 2624 o.nextPageToken = "foo"; | 2700 o.nextPageToken = "foo"; |
| 2625 } | 2701 } |
| 2626 buildCounterCreativeGroupsListResponse--; | 2702 buildCounterCreativeGroupsListResponse--; |
| 2627 return o; | 2703 return o; |
| 2628 } | 2704 } |
| 2629 | 2705 |
| 2630 checkCreativeGroupsListResponse(api.CreativeGroupsListResponse o) { | 2706 checkCreativeGroupsListResponse(api.CreativeGroupsListResponse o) { |
| 2631 buildCounterCreativeGroupsListResponse++; | 2707 buildCounterCreativeGroupsListResponse++; |
| 2632 if (buildCounterCreativeGroupsListResponse < 3) { | 2708 if (buildCounterCreativeGroupsListResponse < 3) { |
| 2633 checkUnnamed1458(o.creativeGroups); | 2709 checkUnnamed2194(o.creativeGroups); |
| 2634 unittest.expect(o.kind, unittest.equals('foo')); | 2710 unittest.expect(o.kind, unittest.equals('foo')); |
| 2635 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 2711 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 2636 } | 2712 } |
| 2637 buildCounterCreativeGroupsListResponse--; | 2713 buildCounterCreativeGroupsListResponse--; |
| 2638 } | 2714 } |
| 2639 | 2715 |
| 2640 buildUnnamed1459() { | 2716 buildUnnamed2195() { |
| 2641 var o = new core.List<api.OptimizationActivity>(); | 2717 var o = new core.List<api.OptimizationActivity>(); |
| 2642 o.add(buildOptimizationActivity()); | 2718 o.add(buildOptimizationActivity()); |
| 2643 o.add(buildOptimizationActivity()); | 2719 o.add(buildOptimizationActivity()); |
| 2644 return o; | 2720 return o; |
| 2645 } | 2721 } |
| 2646 | 2722 |
| 2647 checkUnnamed1459(core.List<api.OptimizationActivity> o) { | 2723 checkUnnamed2195(core.List<api.OptimizationActivity> o) { |
| 2648 unittest.expect(o, unittest.hasLength(2)); | 2724 unittest.expect(o, unittest.hasLength(2)); |
| 2649 checkOptimizationActivity(o[0]); | 2725 checkOptimizationActivity(o[0]); |
| 2650 checkOptimizationActivity(o[1]); | 2726 checkOptimizationActivity(o[1]); |
| 2651 } | 2727 } |
| 2652 | 2728 |
| 2653 core.int buildCounterCreativeOptimizationConfiguration = 0; | 2729 core.int buildCounterCreativeOptimizationConfiguration = 0; |
| 2654 buildCreativeOptimizationConfiguration() { | 2730 buildCreativeOptimizationConfiguration() { |
| 2655 var o = new api.CreativeOptimizationConfiguration(); | 2731 var o = new api.CreativeOptimizationConfiguration(); |
| 2656 buildCounterCreativeOptimizationConfiguration++; | 2732 buildCounterCreativeOptimizationConfiguration++; |
| 2657 if (buildCounterCreativeOptimizationConfiguration < 3) { | 2733 if (buildCounterCreativeOptimizationConfiguration < 3) { |
| 2658 o.id = "foo"; | 2734 o.id = "foo"; |
| 2659 o.name = "foo"; | 2735 o.name = "foo"; |
| 2660 o.optimizationActivitys = buildUnnamed1459(); | 2736 o.optimizationActivitys = buildUnnamed2195(); |
| 2661 o.optimizationModel = "foo"; | 2737 o.optimizationModel = "foo"; |
| 2662 } | 2738 } |
| 2663 buildCounterCreativeOptimizationConfiguration--; | 2739 buildCounterCreativeOptimizationConfiguration--; |
| 2664 return o; | 2740 return o; |
| 2665 } | 2741 } |
| 2666 | 2742 |
| 2667 checkCreativeOptimizationConfiguration(api.CreativeOptimizationConfiguration o)
{ | 2743 checkCreativeOptimizationConfiguration(api.CreativeOptimizationConfiguration o)
{ |
| 2668 buildCounterCreativeOptimizationConfiguration++; | 2744 buildCounterCreativeOptimizationConfiguration++; |
| 2669 if (buildCounterCreativeOptimizationConfiguration < 3) { | 2745 if (buildCounterCreativeOptimizationConfiguration < 3) { |
| 2670 unittest.expect(o.id, unittest.equals('foo')); | 2746 unittest.expect(o.id, unittest.equals('foo')); |
| 2671 unittest.expect(o.name, unittest.equals('foo')); | 2747 unittest.expect(o.name, unittest.equals('foo')); |
| 2672 checkUnnamed1459(o.optimizationActivitys); | 2748 checkUnnamed2195(o.optimizationActivitys); |
| 2673 unittest.expect(o.optimizationModel, unittest.equals('foo')); | 2749 unittest.expect(o.optimizationModel, unittest.equals('foo')); |
| 2674 } | 2750 } |
| 2675 buildCounterCreativeOptimizationConfiguration--; | 2751 buildCounterCreativeOptimizationConfiguration--; |
| 2676 } | 2752 } |
| 2677 | 2753 |
| 2678 buildUnnamed1460() { | 2754 buildUnnamed2196() { |
| 2679 var o = new core.List<api.CreativeAssignment>(); | 2755 var o = new core.List<api.CreativeAssignment>(); |
| 2680 o.add(buildCreativeAssignment()); | 2756 o.add(buildCreativeAssignment()); |
| 2681 o.add(buildCreativeAssignment()); | 2757 o.add(buildCreativeAssignment()); |
| 2682 return o; | 2758 return o; |
| 2683 } | 2759 } |
| 2684 | 2760 |
| 2685 checkUnnamed1460(core.List<api.CreativeAssignment> o) { | 2761 checkUnnamed2196(core.List<api.CreativeAssignment> o) { |
| 2686 unittest.expect(o, unittest.hasLength(2)); | 2762 unittest.expect(o, unittest.hasLength(2)); |
| 2687 checkCreativeAssignment(o[0]); | 2763 checkCreativeAssignment(o[0]); |
| 2688 checkCreativeAssignment(o[1]); | 2764 checkCreativeAssignment(o[1]); |
| 2689 } | 2765 } |
| 2690 | 2766 |
| 2691 core.int buildCounterCreativeRotation = 0; | 2767 core.int buildCounterCreativeRotation = 0; |
| 2692 buildCreativeRotation() { | 2768 buildCreativeRotation() { |
| 2693 var o = new api.CreativeRotation(); | 2769 var o = new api.CreativeRotation(); |
| 2694 buildCounterCreativeRotation++; | 2770 buildCounterCreativeRotation++; |
| 2695 if (buildCounterCreativeRotation < 3) { | 2771 if (buildCounterCreativeRotation < 3) { |
| 2696 o.creativeAssignments = buildUnnamed1460(); | 2772 o.creativeAssignments = buildUnnamed2196(); |
| 2697 o.creativeOptimizationConfigurationId = "foo"; | 2773 o.creativeOptimizationConfigurationId = "foo"; |
| 2698 o.type = "foo"; | 2774 o.type = "foo"; |
| 2699 o.weightCalculationStrategy = "foo"; | 2775 o.weightCalculationStrategy = "foo"; |
| 2700 } | 2776 } |
| 2701 buildCounterCreativeRotation--; | 2777 buildCounterCreativeRotation--; |
| 2702 return o; | 2778 return o; |
| 2703 } | 2779 } |
| 2704 | 2780 |
| 2705 checkCreativeRotation(api.CreativeRotation o) { | 2781 checkCreativeRotation(api.CreativeRotation o) { |
| 2706 buildCounterCreativeRotation++; | 2782 buildCounterCreativeRotation++; |
| 2707 if (buildCounterCreativeRotation < 3) { | 2783 if (buildCounterCreativeRotation < 3) { |
| 2708 checkUnnamed1460(o.creativeAssignments); | 2784 checkUnnamed2196(o.creativeAssignments); |
| 2709 unittest.expect(o.creativeOptimizationConfigurationId, unittest.equals('foo'
)); | 2785 unittest.expect(o.creativeOptimizationConfigurationId, unittest.equals('foo'
)); |
| 2710 unittest.expect(o.type, unittest.equals('foo')); | 2786 unittest.expect(o.type, unittest.equals('foo')); |
| 2711 unittest.expect(o.weightCalculationStrategy, unittest.equals('foo')); | 2787 unittest.expect(o.weightCalculationStrategy, unittest.equals('foo')); |
| 2712 } | 2788 } |
| 2713 buildCounterCreativeRotation--; | 2789 buildCounterCreativeRotation--; |
| 2714 } | 2790 } |
| 2715 | 2791 |
| 2716 core.int buildCounterCreativeSettings = 0; | 2792 core.int buildCounterCreativeSettings = 0; |
| 2717 buildCreativeSettings() { | 2793 buildCreativeSettings() { |
| 2718 var o = new api.CreativeSettings(); | 2794 var o = new api.CreativeSettings(); |
| 2719 buildCounterCreativeSettings++; | 2795 buildCounterCreativeSettings++; |
| 2720 if (buildCounterCreativeSettings < 3) { | 2796 if (buildCounterCreativeSettings < 3) { |
| 2721 o.iFrameFooter = "foo"; | 2797 o.iFrameFooter = "foo"; |
| 2722 o.iFrameHeader = "foo"; | 2798 o.iFrameHeader = "foo"; |
| 2723 } | 2799 } |
| 2724 buildCounterCreativeSettings--; | 2800 buildCounterCreativeSettings--; |
| 2725 return o; | 2801 return o; |
| 2726 } | 2802 } |
| 2727 | 2803 |
| 2728 checkCreativeSettings(api.CreativeSettings o) { | 2804 checkCreativeSettings(api.CreativeSettings o) { |
| 2729 buildCounterCreativeSettings++; | 2805 buildCounterCreativeSettings++; |
| 2730 if (buildCounterCreativeSettings < 3) { | 2806 if (buildCounterCreativeSettings < 3) { |
| 2731 unittest.expect(o.iFrameFooter, unittest.equals('foo')); | 2807 unittest.expect(o.iFrameFooter, unittest.equals('foo')); |
| 2732 unittest.expect(o.iFrameHeader, unittest.equals('foo')); | 2808 unittest.expect(o.iFrameHeader, unittest.equals('foo')); |
| 2733 } | 2809 } |
| 2734 buildCounterCreativeSettings--; | 2810 buildCounterCreativeSettings--; |
| 2735 } | 2811 } |
| 2736 | 2812 |
| 2737 buildUnnamed1461() { | 2813 buildUnnamed2197() { |
| 2738 var o = new core.List<api.Creative>(); | 2814 var o = new core.List<api.Creative>(); |
| 2739 o.add(buildCreative()); | 2815 o.add(buildCreative()); |
| 2740 o.add(buildCreative()); | 2816 o.add(buildCreative()); |
| 2741 return o; | 2817 return o; |
| 2742 } | 2818 } |
| 2743 | 2819 |
| 2744 checkUnnamed1461(core.List<api.Creative> o) { | 2820 checkUnnamed2197(core.List<api.Creative> o) { |
| 2745 unittest.expect(o, unittest.hasLength(2)); | 2821 unittest.expect(o, unittest.hasLength(2)); |
| 2746 checkCreative(o[0]); | 2822 checkCreative(o[0]); |
| 2747 checkCreative(o[1]); | 2823 checkCreative(o[1]); |
| 2748 } | 2824 } |
| 2749 | 2825 |
| 2750 core.int buildCounterCreativesListResponse = 0; | 2826 core.int buildCounterCreativesListResponse = 0; |
| 2751 buildCreativesListResponse() { | 2827 buildCreativesListResponse() { |
| 2752 var o = new api.CreativesListResponse(); | 2828 var o = new api.CreativesListResponse(); |
| 2753 buildCounterCreativesListResponse++; | 2829 buildCounterCreativesListResponse++; |
| 2754 if (buildCounterCreativesListResponse < 3) { | 2830 if (buildCounterCreativesListResponse < 3) { |
| 2755 o.creatives = buildUnnamed1461(); | 2831 o.creatives = buildUnnamed2197(); |
| 2756 o.kind = "foo"; | 2832 o.kind = "foo"; |
| 2757 o.nextPageToken = "foo"; | 2833 o.nextPageToken = "foo"; |
| 2758 } | 2834 } |
| 2759 buildCounterCreativesListResponse--; | 2835 buildCounterCreativesListResponse--; |
| 2760 return o; | 2836 return o; |
| 2761 } | 2837 } |
| 2762 | 2838 |
| 2763 checkCreativesListResponse(api.CreativesListResponse o) { | 2839 checkCreativesListResponse(api.CreativesListResponse o) { |
| 2764 buildCounterCreativesListResponse++; | 2840 buildCounterCreativesListResponse++; |
| 2765 if (buildCounterCreativesListResponse < 3) { | 2841 if (buildCounterCreativesListResponse < 3) { |
| 2766 checkUnnamed1461(o.creatives); | 2842 checkUnnamed2197(o.creatives); |
| 2767 unittest.expect(o.kind, unittest.equals('foo')); | 2843 unittest.expect(o.kind, unittest.equals('foo')); |
| 2768 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 2844 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 2769 } | 2845 } |
| 2770 buildCounterCreativesListResponse--; | 2846 buildCounterCreativesListResponse--; |
| 2771 } | 2847 } |
| 2772 | 2848 |
| 2773 buildUnnamed1462() { | 2849 buildUnnamed2198() { |
| 2774 var o = new core.List<api.Dimension>(); | 2850 var o = new core.List<api.Dimension>(); |
| 2775 o.add(buildDimension()); | 2851 o.add(buildDimension()); |
| 2776 o.add(buildDimension()); | 2852 o.add(buildDimension()); |
| 2777 return o; | 2853 return o; |
| 2778 } | 2854 } |
| 2779 | 2855 |
| 2780 checkUnnamed1462(core.List<api.Dimension> o) { | 2856 checkUnnamed2198(core.List<api.Dimension> o) { |
| 2781 unittest.expect(o, unittest.hasLength(2)); | 2857 unittest.expect(o, unittest.hasLength(2)); |
| 2782 checkDimension(o[0]); | 2858 checkDimension(o[0]); |
| 2783 checkDimension(o[1]); | 2859 checkDimension(o[1]); |
| 2784 } | 2860 } |
| 2785 | 2861 |
| 2786 buildUnnamed1463() { | 2862 buildUnnamed2199() { |
| 2787 var o = new core.List<api.Dimension>(); | 2863 var o = new core.List<api.Dimension>(); |
| 2788 o.add(buildDimension()); | 2864 o.add(buildDimension()); |
| 2789 o.add(buildDimension()); | 2865 o.add(buildDimension()); |
| 2790 return o; | 2866 return o; |
| 2791 } | 2867 } |
| 2792 | 2868 |
| 2793 checkUnnamed1463(core.List<api.Dimension> o) { | 2869 checkUnnamed2199(core.List<api.Dimension> o) { |
| 2794 unittest.expect(o, unittest.hasLength(2)); | 2870 unittest.expect(o, unittest.hasLength(2)); |
| 2795 checkDimension(o[0]); | 2871 checkDimension(o[0]); |
| 2796 checkDimension(o[1]); | 2872 checkDimension(o[1]); |
| 2797 } | 2873 } |
| 2798 | 2874 |
| 2799 buildUnnamed1464() { | 2875 buildUnnamed2200() { |
| 2800 var o = new core.List<api.Metric>(); | 2876 var o = new core.List<api.Metric>(); |
| 2801 o.add(buildMetric()); | 2877 o.add(buildMetric()); |
| 2802 o.add(buildMetric()); | 2878 o.add(buildMetric()); |
| 2803 return o; | 2879 return o; |
| 2804 } | 2880 } |
| 2805 | 2881 |
| 2806 checkUnnamed1464(core.List<api.Metric> o) { | 2882 checkUnnamed2200(core.List<api.Metric> o) { |
| 2807 unittest.expect(o, unittest.hasLength(2)); | 2883 unittest.expect(o, unittest.hasLength(2)); |
| 2808 checkMetric(o[0]); | 2884 checkMetric(o[0]); |
| 2809 checkMetric(o[1]); | 2885 checkMetric(o[1]); |
| 2810 } | 2886 } |
| 2811 | 2887 |
| 2812 buildUnnamed1465() { | 2888 buildUnnamed2201() { |
| 2813 var o = new core.List<api.Metric>(); | 2889 var o = new core.List<api.Metric>(); |
| 2814 o.add(buildMetric()); | 2890 o.add(buildMetric()); |
| 2815 o.add(buildMetric()); | 2891 o.add(buildMetric()); |
| 2816 return o; | 2892 return o; |
| 2817 } | 2893 } |
| 2818 | 2894 |
| 2819 checkUnnamed1465(core.List<api.Metric> o) { | 2895 checkUnnamed2201(core.List<api.Metric> o) { |
| 2820 unittest.expect(o, unittest.hasLength(2)); | 2896 unittest.expect(o, unittest.hasLength(2)); |
| 2821 checkMetric(o[0]); | 2897 checkMetric(o[0]); |
| 2822 checkMetric(o[1]); | 2898 checkMetric(o[1]); |
| 2823 } | 2899 } |
| 2824 | 2900 |
| 2825 core.int buildCounterCrossDimensionReachReportCompatibleFields = 0; | 2901 core.int buildCounterCrossDimensionReachReportCompatibleFields = 0; |
| 2826 buildCrossDimensionReachReportCompatibleFields() { | 2902 buildCrossDimensionReachReportCompatibleFields() { |
| 2827 var o = new api.CrossDimensionReachReportCompatibleFields(); | 2903 var o = new api.CrossDimensionReachReportCompatibleFields(); |
| 2828 buildCounterCrossDimensionReachReportCompatibleFields++; | 2904 buildCounterCrossDimensionReachReportCompatibleFields++; |
| 2829 if (buildCounterCrossDimensionReachReportCompatibleFields < 3) { | 2905 if (buildCounterCrossDimensionReachReportCompatibleFields < 3) { |
| 2830 o.breakdown = buildUnnamed1462(); | 2906 o.breakdown = buildUnnamed2198(); |
| 2831 o.dimensionFilters = buildUnnamed1463(); | 2907 o.dimensionFilters = buildUnnamed2199(); |
| 2832 o.kind = "foo"; | 2908 o.kind = "foo"; |
| 2833 o.metrics = buildUnnamed1464(); | 2909 o.metrics = buildUnnamed2200(); |
| 2834 o.overlapMetrics = buildUnnamed1465(); | 2910 o.overlapMetrics = buildUnnamed2201(); |
| 2835 } | 2911 } |
| 2836 buildCounterCrossDimensionReachReportCompatibleFields--; | 2912 buildCounterCrossDimensionReachReportCompatibleFields--; |
| 2837 return o; | 2913 return o; |
| 2838 } | 2914 } |
| 2839 | 2915 |
| 2840 checkCrossDimensionReachReportCompatibleFields(api.CrossDimensionReachReportComp
atibleFields o) { | 2916 checkCrossDimensionReachReportCompatibleFields(api.CrossDimensionReachReportComp
atibleFields o) { |
| 2841 buildCounterCrossDimensionReachReportCompatibleFields++; | 2917 buildCounterCrossDimensionReachReportCompatibleFields++; |
| 2842 if (buildCounterCrossDimensionReachReportCompatibleFields < 3) { | 2918 if (buildCounterCrossDimensionReachReportCompatibleFields < 3) { |
| 2843 checkUnnamed1462(o.breakdown); | 2919 checkUnnamed2198(o.breakdown); |
| 2844 checkUnnamed1463(o.dimensionFilters); | 2920 checkUnnamed2199(o.dimensionFilters); |
| 2845 unittest.expect(o.kind, unittest.equals('foo')); | 2921 unittest.expect(o.kind, unittest.equals('foo')); |
| 2846 checkUnnamed1464(o.metrics); | 2922 checkUnnamed2200(o.metrics); |
| 2847 checkUnnamed1465(o.overlapMetrics); | 2923 checkUnnamed2201(o.overlapMetrics); |
| 2848 } | 2924 } |
| 2849 buildCounterCrossDimensionReachReportCompatibleFields--; | 2925 buildCounterCrossDimensionReachReportCompatibleFields--; |
| 2850 } | 2926 } |
| 2851 | 2927 |
| 2852 core.int buildCounterCustomFloodlightVariable = 0; | 2928 core.int buildCounterCustomFloodlightVariable = 0; |
| 2853 buildCustomFloodlightVariable() { | 2929 buildCustomFloodlightVariable() { |
| 2854 var o = new api.CustomFloodlightVariable(); | 2930 var o = new api.CustomFloodlightVariable(); |
| 2855 buildCounterCustomFloodlightVariable++; | 2931 buildCounterCustomFloodlightVariable++; |
| 2856 if (buildCounterCustomFloodlightVariable < 3) { | 2932 if (buildCounterCustomFloodlightVariable < 3) { |
| 2857 o.kind = "foo"; | 2933 o.kind = "foo"; |
| 2858 o.type = "foo"; | 2934 o.type = "foo"; |
| 2859 o.value = "foo"; | 2935 o.value = "foo"; |
| 2860 } | 2936 } |
| 2861 buildCounterCustomFloodlightVariable--; | 2937 buildCounterCustomFloodlightVariable--; |
| 2862 return o; | 2938 return o; |
| 2863 } | 2939 } |
| 2864 | 2940 |
| 2865 checkCustomFloodlightVariable(api.CustomFloodlightVariable o) { | 2941 checkCustomFloodlightVariable(api.CustomFloodlightVariable o) { |
| 2866 buildCounterCustomFloodlightVariable++; | 2942 buildCounterCustomFloodlightVariable++; |
| 2867 if (buildCounterCustomFloodlightVariable < 3) { | 2943 if (buildCounterCustomFloodlightVariable < 3) { |
| 2868 unittest.expect(o.kind, unittest.equals('foo')); | 2944 unittest.expect(o.kind, unittest.equals('foo')); |
| 2869 unittest.expect(o.type, unittest.equals('foo')); | 2945 unittest.expect(o.type, unittest.equals('foo')); |
| 2870 unittest.expect(o.value, unittest.equals('foo')); | 2946 unittest.expect(o.value, unittest.equals('foo')); |
| 2871 } | 2947 } |
| 2872 buildCounterCustomFloodlightVariable--; | 2948 buildCounterCustomFloodlightVariable--; |
| 2873 } | 2949 } |
| 2874 | 2950 |
| 2875 buildUnnamed1466() { | 2951 buildUnnamed2202() { |
| 2876 var o = new core.List<api.DimensionValue>(); | 2952 var o = new core.List<api.DimensionValue>(); |
| 2877 o.add(buildDimensionValue()); | 2953 o.add(buildDimensionValue()); |
| 2878 o.add(buildDimensionValue()); | 2954 o.add(buildDimensionValue()); |
| 2879 return o; | 2955 return o; |
| 2880 } | 2956 } |
| 2881 | 2957 |
| 2882 checkUnnamed1466(core.List<api.DimensionValue> o) { | 2958 checkUnnamed2202(core.List<api.DimensionValue> o) { |
| 2883 unittest.expect(o, unittest.hasLength(2)); | 2959 unittest.expect(o, unittest.hasLength(2)); |
| 2884 checkDimensionValue(o[0]); | 2960 checkDimensionValue(o[0]); |
| 2885 checkDimensionValue(o[1]); | 2961 checkDimensionValue(o[1]); |
| 2886 } | 2962 } |
| 2887 | 2963 |
| 2888 core.int buildCounterCustomRichMediaEvents = 0; | 2964 core.int buildCounterCustomRichMediaEvents = 0; |
| 2889 buildCustomRichMediaEvents() { | 2965 buildCustomRichMediaEvents() { |
| 2890 var o = new api.CustomRichMediaEvents(); | 2966 var o = new api.CustomRichMediaEvents(); |
| 2891 buildCounterCustomRichMediaEvents++; | 2967 buildCounterCustomRichMediaEvents++; |
| 2892 if (buildCounterCustomRichMediaEvents < 3) { | 2968 if (buildCounterCustomRichMediaEvents < 3) { |
| 2893 o.filteredEventIds = buildUnnamed1466(); | 2969 o.filteredEventIds = buildUnnamed2202(); |
| 2894 o.kind = "foo"; | 2970 o.kind = "foo"; |
| 2895 } | 2971 } |
| 2896 buildCounterCustomRichMediaEvents--; | 2972 buildCounterCustomRichMediaEvents--; |
| 2897 return o; | 2973 return o; |
| 2898 } | 2974 } |
| 2899 | 2975 |
| 2900 checkCustomRichMediaEvents(api.CustomRichMediaEvents o) { | 2976 checkCustomRichMediaEvents(api.CustomRichMediaEvents o) { |
| 2901 buildCounterCustomRichMediaEvents++; | 2977 buildCounterCustomRichMediaEvents++; |
| 2902 if (buildCounterCustomRichMediaEvents < 3) { | 2978 if (buildCounterCustomRichMediaEvents < 3) { |
| 2903 checkUnnamed1466(o.filteredEventIds); | 2979 checkUnnamed2202(o.filteredEventIds); |
| 2904 unittest.expect(o.kind, unittest.equals('foo')); | 2980 unittest.expect(o.kind, unittest.equals('foo')); |
| 2905 } | 2981 } |
| 2906 buildCounterCustomRichMediaEvents--; | 2982 buildCounterCustomRichMediaEvents--; |
| 2907 } | 2983 } |
| 2908 | 2984 |
| 2909 core.int buildCounterDateRange = 0; | 2985 core.int buildCounterDateRange = 0; |
| 2910 buildDateRange() { | 2986 buildDateRange() { |
| 2911 var o = new api.DateRange(); | 2987 var o = new api.DateRange(); |
| 2912 buildCounterDateRange++; | 2988 buildCounterDateRange++; |
| 2913 if (buildCounterDateRange < 3) { | 2989 if (buildCounterDateRange < 3) { |
| (...skipping 10 matching lines...) Expand all Loading... |
| 2924 buildCounterDateRange++; | 3000 buildCounterDateRange++; |
| 2925 if (buildCounterDateRange < 3) { | 3001 if (buildCounterDateRange < 3) { |
| 2926 unittest.expect(o.endDate, unittest.equals(core.DateTime.parse("2002-02-27T0
0:00:00"))); | 3002 unittest.expect(o.endDate, unittest.equals(core.DateTime.parse("2002-02-27T0
0:00:00"))); |
| 2927 unittest.expect(o.kind, unittest.equals('foo')); | 3003 unittest.expect(o.kind, unittest.equals('foo')); |
| 2928 unittest.expect(o.relativeDateRange, unittest.equals('foo')); | 3004 unittest.expect(o.relativeDateRange, unittest.equals('foo')); |
| 2929 unittest.expect(o.startDate, unittest.equals(core.DateTime.parse("2002-02-27
T00:00:00"))); | 3005 unittest.expect(o.startDate, unittest.equals(core.DateTime.parse("2002-02-27
T00:00:00"))); |
| 2930 } | 3006 } |
| 2931 buildCounterDateRange--; | 3007 buildCounterDateRange--; |
| 2932 } | 3008 } |
| 2933 | 3009 |
| 2934 buildUnnamed1467() { | 3010 buildUnnamed2203() { |
| 2935 var o = new core.List<core.String>(); | 3011 var o = new core.List<core.String>(); |
| 2936 o.add("foo"); | 3012 o.add("foo"); |
| 2937 o.add("foo"); | 3013 o.add("foo"); |
| 2938 return o; | 3014 return o; |
| 2939 } | 3015 } |
| 2940 | 3016 |
| 2941 checkUnnamed1467(core.List<core.String> o) { | 3017 checkUnnamed2203(core.List<core.String> o) { |
| 2942 unittest.expect(o, unittest.hasLength(2)); | 3018 unittest.expect(o, unittest.hasLength(2)); |
| 2943 unittest.expect(o[0], unittest.equals('foo')); | 3019 unittest.expect(o[0], unittest.equals('foo')); |
| 2944 unittest.expect(o[1], unittest.equals('foo')); | 3020 unittest.expect(o[1], unittest.equals('foo')); |
| 2945 } | 3021 } |
| 2946 | 3022 |
| 2947 buildUnnamed1468() { | 3023 buildUnnamed2204() { |
| 2948 var o = new core.List<core.int>(); | 3024 var o = new core.List<core.int>(); |
| 2949 o.add(42); | 3025 o.add(42); |
| 2950 o.add(42); | 3026 o.add(42); |
| 2951 return o; | 3027 return o; |
| 2952 } | 3028 } |
| 2953 | 3029 |
| 2954 checkUnnamed1468(core.List<core.int> o) { | 3030 checkUnnamed2204(core.List<core.int> o) { |
| 2955 unittest.expect(o, unittest.hasLength(2)); | 3031 unittest.expect(o, unittest.hasLength(2)); |
| 2956 unittest.expect(o[0], unittest.equals(42)); | 3032 unittest.expect(o[0], unittest.equals(42)); |
| 2957 unittest.expect(o[1], unittest.equals(42)); | 3033 unittest.expect(o[1], unittest.equals(42)); |
| 2958 } | 3034 } |
| 2959 | 3035 |
| 2960 core.int buildCounterDayPartTargeting = 0; | 3036 core.int buildCounterDayPartTargeting = 0; |
| 2961 buildDayPartTargeting() { | 3037 buildDayPartTargeting() { |
| 2962 var o = new api.DayPartTargeting(); | 3038 var o = new api.DayPartTargeting(); |
| 2963 buildCounterDayPartTargeting++; | 3039 buildCounterDayPartTargeting++; |
| 2964 if (buildCounterDayPartTargeting < 3) { | 3040 if (buildCounterDayPartTargeting < 3) { |
| 2965 o.daysOfWeek = buildUnnamed1467(); | 3041 o.daysOfWeek = buildUnnamed2203(); |
| 2966 o.hoursOfDay = buildUnnamed1468(); | 3042 o.hoursOfDay = buildUnnamed2204(); |
| 2967 o.userLocalTime = true; | 3043 o.userLocalTime = true; |
| 2968 } | 3044 } |
| 2969 buildCounterDayPartTargeting--; | 3045 buildCounterDayPartTargeting--; |
| 2970 return o; | 3046 return o; |
| 2971 } | 3047 } |
| 2972 | 3048 |
| 2973 checkDayPartTargeting(api.DayPartTargeting o) { | 3049 checkDayPartTargeting(api.DayPartTargeting o) { |
| 2974 buildCounterDayPartTargeting++; | 3050 buildCounterDayPartTargeting++; |
| 2975 if (buildCounterDayPartTargeting < 3) { | 3051 if (buildCounterDayPartTargeting < 3) { |
| 2976 checkUnnamed1467(o.daysOfWeek); | 3052 checkUnnamed2203(o.daysOfWeek); |
| 2977 checkUnnamed1468(o.hoursOfDay); | 3053 checkUnnamed2204(o.hoursOfDay); |
| 2978 unittest.expect(o.userLocalTime, unittest.isTrue); | 3054 unittest.expect(o.userLocalTime, unittest.isTrue); |
| 2979 } | 3055 } |
| 2980 buildCounterDayPartTargeting--; | 3056 buildCounterDayPartTargeting--; |
| 2981 } | 3057 } |
| 2982 | 3058 |
| 2983 core.int buildCounterDefaultClickThroughEventTagProperties = 0; | 3059 core.int buildCounterDefaultClickThroughEventTagProperties = 0; |
| 2984 buildDefaultClickThroughEventTagProperties() { | 3060 buildDefaultClickThroughEventTagProperties() { |
| 2985 var o = new api.DefaultClickThroughEventTagProperties(); | 3061 var o = new api.DefaultClickThroughEventTagProperties(); |
| 2986 buildCounterDefaultClickThroughEventTagProperties++; | 3062 buildCounterDefaultClickThroughEventTagProperties++; |
| 2987 if (buildCounterDefaultClickThroughEventTagProperties < 3) { | 3063 if (buildCounterDefaultClickThroughEventTagProperties < 3) { |
| (...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3119 unittest.expect(o.dimensionName, unittest.equals('foo')); | 3195 unittest.expect(o.dimensionName, unittest.equals('foo')); |
| 3120 unittest.expect(o.etag, unittest.equals('foo')); | 3196 unittest.expect(o.etag, unittest.equals('foo')); |
| 3121 unittest.expect(o.id, unittest.equals('foo')); | 3197 unittest.expect(o.id, unittest.equals('foo')); |
| 3122 unittest.expect(o.kind, unittest.equals('foo')); | 3198 unittest.expect(o.kind, unittest.equals('foo')); |
| 3123 unittest.expect(o.matchType, unittest.equals('foo')); | 3199 unittest.expect(o.matchType, unittest.equals('foo')); |
| 3124 unittest.expect(o.value, unittest.equals('foo')); | 3200 unittest.expect(o.value, unittest.equals('foo')); |
| 3125 } | 3201 } |
| 3126 buildCounterDimensionValue--; | 3202 buildCounterDimensionValue--; |
| 3127 } | 3203 } |
| 3128 | 3204 |
| 3129 buildUnnamed1469() { | 3205 buildUnnamed2205() { |
| 3130 var o = new core.List<api.DimensionValue>(); | 3206 var o = new core.List<api.DimensionValue>(); |
| 3131 o.add(buildDimensionValue()); | 3207 o.add(buildDimensionValue()); |
| 3132 o.add(buildDimensionValue()); | 3208 o.add(buildDimensionValue()); |
| 3133 return o; | 3209 return o; |
| 3134 } | 3210 } |
| 3135 | 3211 |
| 3136 checkUnnamed1469(core.List<api.DimensionValue> o) { | 3212 checkUnnamed2205(core.List<api.DimensionValue> o) { |
| 3137 unittest.expect(o, unittest.hasLength(2)); | 3213 unittest.expect(o, unittest.hasLength(2)); |
| 3138 checkDimensionValue(o[0]); | 3214 checkDimensionValue(o[0]); |
| 3139 checkDimensionValue(o[1]); | 3215 checkDimensionValue(o[1]); |
| 3140 } | 3216 } |
| 3141 | 3217 |
| 3142 core.int buildCounterDimensionValueList = 0; | 3218 core.int buildCounterDimensionValueList = 0; |
| 3143 buildDimensionValueList() { | 3219 buildDimensionValueList() { |
| 3144 var o = new api.DimensionValueList(); | 3220 var o = new api.DimensionValueList(); |
| 3145 buildCounterDimensionValueList++; | 3221 buildCounterDimensionValueList++; |
| 3146 if (buildCounterDimensionValueList < 3) { | 3222 if (buildCounterDimensionValueList < 3) { |
| 3147 o.etag = "foo"; | 3223 o.etag = "foo"; |
| 3148 o.items = buildUnnamed1469(); | 3224 o.items = buildUnnamed2205(); |
| 3149 o.kind = "foo"; | 3225 o.kind = "foo"; |
| 3150 o.nextPageToken = "foo"; | 3226 o.nextPageToken = "foo"; |
| 3151 } | 3227 } |
| 3152 buildCounterDimensionValueList--; | 3228 buildCounterDimensionValueList--; |
| 3153 return o; | 3229 return o; |
| 3154 } | 3230 } |
| 3155 | 3231 |
| 3156 checkDimensionValueList(api.DimensionValueList o) { | 3232 checkDimensionValueList(api.DimensionValueList o) { |
| 3157 buildCounterDimensionValueList++; | 3233 buildCounterDimensionValueList++; |
| 3158 if (buildCounterDimensionValueList < 3) { | 3234 if (buildCounterDimensionValueList < 3) { |
| 3159 unittest.expect(o.etag, unittest.equals('foo')); | 3235 unittest.expect(o.etag, unittest.equals('foo')); |
| 3160 checkUnnamed1469(o.items); | 3236 checkUnnamed2205(o.items); |
| 3161 unittest.expect(o.kind, unittest.equals('foo')); | 3237 unittest.expect(o.kind, unittest.equals('foo')); |
| 3162 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 3238 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 3163 } | 3239 } |
| 3164 buildCounterDimensionValueList--; | 3240 buildCounterDimensionValueList--; |
| 3165 } | 3241 } |
| 3166 | 3242 |
| 3167 buildUnnamed1470() { | 3243 buildUnnamed2206() { |
| 3168 var o = new core.List<api.DimensionFilter>(); | 3244 var o = new core.List<api.DimensionFilter>(); |
| 3169 o.add(buildDimensionFilter()); | 3245 o.add(buildDimensionFilter()); |
| 3170 o.add(buildDimensionFilter()); | 3246 o.add(buildDimensionFilter()); |
| 3171 return o; | 3247 return o; |
| 3172 } | 3248 } |
| 3173 | 3249 |
| 3174 checkUnnamed1470(core.List<api.DimensionFilter> o) { | 3250 checkUnnamed2206(core.List<api.DimensionFilter> o) { |
| 3175 unittest.expect(o, unittest.hasLength(2)); | 3251 unittest.expect(o, unittest.hasLength(2)); |
| 3176 checkDimensionFilter(o[0]); | 3252 checkDimensionFilter(o[0]); |
| 3177 checkDimensionFilter(o[1]); | 3253 checkDimensionFilter(o[1]); |
| 3178 } | 3254 } |
| 3179 | 3255 |
| 3180 core.int buildCounterDimensionValueRequest = 0; | 3256 core.int buildCounterDimensionValueRequest = 0; |
| 3181 buildDimensionValueRequest() { | 3257 buildDimensionValueRequest() { |
| 3182 var o = new api.DimensionValueRequest(); | 3258 var o = new api.DimensionValueRequest(); |
| 3183 buildCounterDimensionValueRequest++; | 3259 buildCounterDimensionValueRequest++; |
| 3184 if (buildCounterDimensionValueRequest < 3) { | 3260 if (buildCounterDimensionValueRequest < 3) { |
| 3185 o.dimensionName = "foo"; | 3261 o.dimensionName = "foo"; |
| 3186 o.endDate = core.DateTime.parse("2002-02-27T14:01:02Z"); | 3262 o.endDate = core.DateTime.parse("2002-02-27T14:01:02Z"); |
| 3187 o.filters = buildUnnamed1470(); | 3263 o.filters = buildUnnamed2206(); |
| 3188 o.kind = "foo"; | 3264 o.kind = "foo"; |
| 3189 o.startDate = core.DateTime.parse("2002-02-27T14:01:02Z"); | 3265 o.startDate = core.DateTime.parse("2002-02-27T14:01:02Z"); |
| 3190 } | 3266 } |
| 3191 buildCounterDimensionValueRequest--; | 3267 buildCounterDimensionValueRequest--; |
| 3192 return o; | 3268 return o; |
| 3193 } | 3269 } |
| 3194 | 3270 |
| 3195 checkDimensionValueRequest(api.DimensionValueRequest o) { | 3271 checkDimensionValueRequest(api.DimensionValueRequest o) { |
| 3196 buildCounterDimensionValueRequest++; | 3272 buildCounterDimensionValueRequest++; |
| 3197 if (buildCounterDimensionValueRequest < 3) { | 3273 if (buildCounterDimensionValueRequest < 3) { |
| 3198 unittest.expect(o.dimensionName, unittest.equals('foo')); | 3274 unittest.expect(o.dimensionName, unittest.equals('foo')); |
| 3199 unittest.expect(o.endDate, unittest.equals(core.DateTime.parse("2002-02-27T0
0:00:00"))); | 3275 unittest.expect(o.endDate, unittest.equals(core.DateTime.parse("2002-02-27T0
0:00:00"))); |
| 3200 checkUnnamed1470(o.filters); | 3276 checkUnnamed2206(o.filters); |
| 3201 unittest.expect(o.kind, unittest.equals('foo')); | 3277 unittest.expect(o.kind, unittest.equals('foo')); |
| 3202 unittest.expect(o.startDate, unittest.equals(core.DateTime.parse("2002-02-27
T00:00:00"))); | 3278 unittest.expect(o.startDate, unittest.equals(core.DateTime.parse("2002-02-27
T00:00:00"))); |
| 3203 } | 3279 } |
| 3204 buildCounterDimensionValueRequest--; | 3280 buildCounterDimensionValueRequest--; |
| 3205 } | 3281 } |
| 3206 | 3282 |
| 3207 buildUnnamed1471() { | 3283 buildUnnamed2207() { |
| 3208 var o = new core.List<api.DirectorySiteContactAssignment>(); | 3284 var o = new core.List<api.DirectorySiteContactAssignment>(); |
| 3209 o.add(buildDirectorySiteContactAssignment()); | 3285 o.add(buildDirectorySiteContactAssignment()); |
| 3210 o.add(buildDirectorySiteContactAssignment()); | 3286 o.add(buildDirectorySiteContactAssignment()); |
| 3211 return o; | 3287 return o; |
| 3212 } | 3288 } |
| 3213 | 3289 |
| 3214 checkUnnamed1471(core.List<api.DirectorySiteContactAssignment> o) { | 3290 checkUnnamed2207(core.List<api.DirectorySiteContactAssignment> o) { |
| 3215 unittest.expect(o, unittest.hasLength(2)); | 3291 unittest.expect(o, unittest.hasLength(2)); |
| 3216 checkDirectorySiteContactAssignment(o[0]); | 3292 checkDirectorySiteContactAssignment(o[0]); |
| 3217 checkDirectorySiteContactAssignment(o[1]); | 3293 checkDirectorySiteContactAssignment(o[1]); |
| 3218 } | 3294 } |
| 3219 | 3295 |
| 3220 buildUnnamed1472() { | 3296 buildUnnamed2208() { |
| 3221 var o = new core.List<core.String>(); | 3297 var o = new core.List<core.String>(); |
| 3222 o.add("foo"); | 3298 o.add("foo"); |
| 3223 o.add("foo"); | 3299 o.add("foo"); |
| 3224 return o; | 3300 return o; |
| 3225 } | 3301 } |
| 3226 | 3302 |
| 3227 checkUnnamed1472(core.List<core.String> o) { | 3303 checkUnnamed2208(core.List<core.String> o) { |
| 3228 unittest.expect(o, unittest.hasLength(2)); | 3304 unittest.expect(o, unittest.hasLength(2)); |
| 3229 unittest.expect(o[0], unittest.equals('foo')); | 3305 unittest.expect(o[0], unittest.equals('foo')); |
| 3230 unittest.expect(o[1], unittest.equals('foo')); | 3306 unittest.expect(o[1], unittest.equals('foo')); |
| 3231 } | 3307 } |
| 3232 | 3308 |
| 3233 buildUnnamed1473() { | 3309 buildUnnamed2209() { |
| 3234 var o = new core.List<core.String>(); | 3310 var o = new core.List<core.String>(); |
| 3235 o.add("foo"); | 3311 o.add("foo"); |
| 3236 o.add("foo"); | 3312 o.add("foo"); |
| 3237 return o; | 3313 return o; |
| 3238 } | 3314 } |
| 3239 | 3315 |
| 3240 checkUnnamed1473(core.List<core.String> o) { | 3316 checkUnnamed2209(core.List<core.String> o) { |
| 3241 unittest.expect(o, unittest.hasLength(2)); | 3317 unittest.expect(o, unittest.hasLength(2)); |
| 3242 unittest.expect(o[0], unittest.equals('foo')); | 3318 unittest.expect(o[0], unittest.equals('foo')); |
| 3243 unittest.expect(o[1], unittest.equals('foo')); | 3319 unittest.expect(o[1], unittest.equals('foo')); |
| 3244 } | 3320 } |
| 3245 | 3321 |
| 3246 core.int buildCounterDirectorySite = 0; | 3322 core.int buildCounterDirectorySite = 0; |
| 3247 buildDirectorySite() { | 3323 buildDirectorySite() { |
| 3248 var o = new api.DirectorySite(); | 3324 var o = new api.DirectorySite(); |
| 3249 buildCounterDirectorySite++; | 3325 buildCounterDirectorySite++; |
| 3250 if (buildCounterDirectorySite < 3) { | 3326 if (buildCounterDirectorySite < 3) { |
| 3251 o.active = true; | 3327 o.active = true; |
| 3252 o.contactAssignments = buildUnnamed1471(); | 3328 o.contactAssignments = buildUnnamed2207(); |
| 3253 o.countryId = "foo"; | 3329 o.countryId = "foo"; |
| 3254 o.currencyId = "foo"; | 3330 o.currencyId = "foo"; |
| 3255 o.description = "foo"; | 3331 o.description = "foo"; |
| 3256 o.id = "foo"; | 3332 o.id = "foo"; |
| 3257 o.idDimensionValue = buildDimensionValue(); | 3333 o.idDimensionValue = buildDimensionValue(); |
| 3258 o.inpageTagFormats = buildUnnamed1472(); | 3334 o.inpageTagFormats = buildUnnamed2208(); |
| 3259 o.interstitialTagFormats = buildUnnamed1473(); | 3335 o.interstitialTagFormats = buildUnnamed2209(); |
| 3260 o.kind = "foo"; | 3336 o.kind = "foo"; |
| 3261 o.name = "foo"; | 3337 o.name = "foo"; |
| 3262 o.parentId = "foo"; | 3338 o.parentId = "foo"; |
| 3263 o.settings = buildDirectorySiteSettings(); | 3339 o.settings = buildDirectorySiteSettings(); |
| 3264 o.url = "foo"; | 3340 o.url = "foo"; |
| 3265 } | 3341 } |
| 3266 buildCounterDirectorySite--; | 3342 buildCounterDirectorySite--; |
| 3267 return o; | 3343 return o; |
| 3268 } | 3344 } |
| 3269 | 3345 |
| 3270 checkDirectorySite(api.DirectorySite o) { | 3346 checkDirectorySite(api.DirectorySite o) { |
| 3271 buildCounterDirectorySite++; | 3347 buildCounterDirectorySite++; |
| 3272 if (buildCounterDirectorySite < 3) { | 3348 if (buildCounterDirectorySite < 3) { |
| 3273 unittest.expect(o.active, unittest.isTrue); | 3349 unittest.expect(o.active, unittest.isTrue); |
| 3274 checkUnnamed1471(o.contactAssignments); | 3350 checkUnnamed2207(o.contactAssignments); |
| 3275 unittest.expect(o.countryId, unittest.equals('foo')); | 3351 unittest.expect(o.countryId, unittest.equals('foo')); |
| 3276 unittest.expect(o.currencyId, unittest.equals('foo')); | 3352 unittest.expect(o.currencyId, unittest.equals('foo')); |
| 3277 unittest.expect(o.description, unittest.equals('foo')); | 3353 unittest.expect(o.description, unittest.equals('foo')); |
| 3278 unittest.expect(o.id, unittest.equals('foo')); | 3354 unittest.expect(o.id, unittest.equals('foo')); |
| 3279 checkDimensionValue(o.idDimensionValue); | 3355 checkDimensionValue(o.idDimensionValue); |
| 3280 checkUnnamed1472(o.inpageTagFormats); | 3356 checkUnnamed2208(o.inpageTagFormats); |
| 3281 checkUnnamed1473(o.interstitialTagFormats); | 3357 checkUnnamed2209(o.interstitialTagFormats); |
| 3282 unittest.expect(o.kind, unittest.equals('foo')); | 3358 unittest.expect(o.kind, unittest.equals('foo')); |
| 3283 unittest.expect(o.name, unittest.equals('foo')); | 3359 unittest.expect(o.name, unittest.equals('foo')); |
| 3284 unittest.expect(o.parentId, unittest.equals('foo')); | 3360 unittest.expect(o.parentId, unittest.equals('foo')); |
| 3285 checkDirectorySiteSettings(o.settings); | 3361 checkDirectorySiteSettings(o.settings); |
| 3286 unittest.expect(o.url, unittest.equals('foo')); | 3362 unittest.expect(o.url, unittest.equals('foo')); |
| 3287 } | 3363 } |
| 3288 buildCounterDirectorySite--; | 3364 buildCounterDirectorySite--; |
| 3289 } | 3365 } |
| 3290 | 3366 |
| 3291 core.int buildCounterDirectorySiteContact = 0; | 3367 core.int buildCounterDirectorySiteContact = 0; |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3339 | 3415 |
| 3340 checkDirectorySiteContactAssignment(api.DirectorySiteContactAssignment o) { | 3416 checkDirectorySiteContactAssignment(api.DirectorySiteContactAssignment o) { |
| 3341 buildCounterDirectorySiteContactAssignment++; | 3417 buildCounterDirectorySiteContactAssignment++; |
| 3342 if (buildCounterDirectorySiteContactAssignment < 3) { | 3418 if (buildCounterDirectorySiteContactAssignment < 3) { |
| 3343 unittest.expect(o.contactId, unittest.equals('foo')); | 3419 unittest.expect(o.contactId, unittest.equals('foo')); |
| 3344 unittest.expect(o.visibility, unittest.equals('foo')); | 3420 unittest.expect(o.visibility, unittest.equals('foo')); |
| 3345 } | 3421 } |
| 3346 buildCounterDirectorySiteContactAssignment--; | 3422 buildCounterDirectorySiteContactAssignment--; |
| 3347 } | 3423 } |
| 3348 | 3424 |
| 3349 buildUnnamed1474() { | 3425 buildUnnamed2210() { |
| 3350 var o = new core.List<api.DirectorySiteContact>(); | 3426 var o = new core.List<api.DirectorySiteContact>(); |
| 3351 o.add(buildDirectorySiteContact()); | 3427 o.add(buildDirectorySiteContact()); |
| 3352 o.add(buildDirectorySiteContact()); | 3428 o.add(buildDirectorySiteContact()); |
| 3353 return o; | 3429 return o; |
| 3354 } | 3430 } |
| 3355 | 3431 |
| 3356 checkUnnamed1474(core.List<api.DirectorySiteContact> o) { | 3432 checkUnnamed2210(core.List<api.DirectorySiteContact> o) { |
| 3357 unittest.expect(o, unittest.hasLength(2)); | 3433 unittest.expect(o, unittest.hasLength(2)); |
| 3358 checkDirectorySiteContact(o[0]); | 3434 checkDirectorySiteContact(o[0]); |
| 3359 checkDirectorySiteContact(o[1]); | 3435 checkDirectorySiteContact(o[1]); |
| 3360 } | 3436 } |
| 3361 | 3437 |
| 3362 core.int buildCounterDirectorySiteContactsListResponse = 0; | 3438 core.int buildCounterDirectorySiteContactsListResponse = 0; |
| 3363 buildDirectorySiteContactsListResponse() { | 3439 buildDirectorySiteContactsListResponse() { |
| 3364 var o = new api.DirectorySiteContactsListResponse(); | 3440 var o = new api.DirectorySiteContactsListResponse(); |
| 3365 buildCounterDirectorySiteContactsListResponse++; | 3441 buildCounterDirectorySiteContactsListResponse++; |
| 3366 if (buildCounterDirectorySiteContactsListResponse < 3) { | 3442 if (buildCounterDirectorySiteContactsListResponse < 3) { |
| 3367 o.directorySiteContacts = buildUnnamed1474(); | 3443 o.directorySiteContacts = buildUnnamed2210(); |
| 3368 o.kind = "foo"; | 3444 o.kind = "foo"; |
| 3369 o.nextPageToken = "foo"; | 3445 o.nextPageToken = "foo"; |
| 3370 } | 3446 } |
| 3371 buildCounterDirectorySiteContactsListResponse--; | 3447 buildCounterDirectorySiteContactsListResponse--; |
| 3372 return o; | 3448 return o; |
| 3373 } | 3449 } |
| 3374 | 3450 |
| 3375 checkDirectorySiteContactsListResponse(api.DirectorySiteContactsListResponse o)
{ | 3451 checkDirectorySiteContactsListResponse(api.DirectorySiteContactsListResponse o)
{ |
| 3376 buildCounterDirectorySiteContactsListResponse++; | 3452 buildCounterDirectorySiteContactsListResponse++; |
| 3377 if (buildCounterDirectorySiteContactsListResponse < 3) { | 3453 if (buildCounterDirectorySiteContactsListResponse < 3) { |
| 3378 checkUnnamed1474(o.directorySiteContacts); | 3454 checkUnnamed2210(o.directorySiteContacts); |
| 3379 unittest.expect(o.kind, unittest.equals('foo')); | 3455 unittest.expect(o.kind, unittest.equals('foo')); |
| 3380 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 3456 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 3381 } | 3457 } |
| 3382 buildCounterDirectorySiteContactsListResponse--; | 3458 buildCounterDirectorySiteContactsListResponse--; |
| 3383 } | 3459 } |
| 3384 | 3460 |
| 3385 core.int buildCounterDirectorySiteSettings = 0; | 3461 core.int buildCounterDirectorySiteSettings = 0; |
| 3386 buildDirectorySiteSettings() { | 3462 buildDirectorySiteSettings() { |
| 3387 var o = new api.DirectorySiteSettings(); | 3463 var o = new api.DirectorySiteSettings(); |
| 3388 buildCounterDirectorySiteSettings++; | 3464 buildCounterDirectorySiteSettings++; |
| (...skipping 17 matching lines...) Expand all Loading... |
| 3406 checkDfpSettings(o.dfpSettings); | 3482 checkDfpSettings(o.dfpSettings); |
| 3407 unittest.expect(o.instreamVideoPlacementAccepted, unittest.isTrue); | 3483 unittest.expect(o.instreamVideoPlacementAccepted, unittest.isTrue); |
| 3408 unittest.expect(o.interstitialPlacementAccepted, unittest.isTrue); | 3484 unittest.expect(o.interstitialPlacementAccepted, unittest.isTrue); |
| 3409 unittest.expect(o.nielsenOcrOptOut, unittest.isTrue); | 3485 unittest.expect(o.nielsenOcrOptOut, unittest.isTrue); |
| 3410 unittest.expect(o.verificationTagOptOut, unittest.isTrue); | 3486 unittest.expect(o.verificationTagOptOut, unittest.isTrue); |
| 3411 unittest.expect(o.videoActiveViewOptOut, unittest.isTrue); | 3487 unittest.expect(o.videoActiveViewOptOut, unittest.isTrue); |
| 3412 } | 3488 } |
| 3413 buildCounterDirectorySiteSettings--; | 3489 buildCounterDirectorySiteSettings--; |
| 3414 } | 3490 } |
| 3415 | 3491 |
| 3416 buildUnnamed1475() { | 3492 buildUnnamed2211() { |
| 3417 var o = new core.List<api.DirectorySite>(); | 3493 var o = new core.List<api.DirectorySite>(); |
| 3418 o.add(buildDirectorySite()); | 3494 o.add(buildDirectorySite()); |
| 3419 o.add(buildDirectorySite()); | 3495 o.add(buildDirectorySite()); |
| 3420 return o; | 3496 return o; |
| 3421 } | 3497 } |
| 3422 | 3498 |
| 3423 checkUnnamed1475(core.List<api.DirectorySite> o) { | 3499 checkUnnamed2211(core.List<api.DirectorySite> o) { |
| 3424 unittest.expect(o, unittest.hasLength(2)); | 3500 unittest.expect(o, unittest.hasLength(2)); |
| 3425 checkDirectorySite(o[0]); | 3501 checkDirectorySite(o[0]); |
| 3426 checkDirectorySite(o[1]); | 3502 checkDirectorySite(o[1]); |
| 3427 } | 3503 } |
| 3428 | 3504 |
| 3429 core.int buildCounterDirectorySitesListResponse = 0; | 3505 core.int buildCounterDirectorySitesListResponse = 0; |
| 3430 buildDirectorySitesListResponse() { | 3506 buildDirectorySitesListResponse() { |
| 3431 var o = new api.DirectorySitesListResponse(); | 3507 var o = new api.DirectorySitesListResponse(); |
| 3432 buildCounterDirectorySitesListResponse++; | 3508 buildCounterDirectorySitesListResponse++; |
| 3433 if (buildCounterDirectorySitesListResponse < 3) { | 3509 if (buildCounterDirectorySitesListResponse < 3) { |
| 3434 o.directorySites = buildUnnamed1475(); | 3510 o.directorySites = buildUnnamed2211(); |
| 3435 o.kind = "foo"; | 3511 o.kind = "foo"; |
| 3436 o.nextPageToken = "foo"; | 3512 o.nextPageToken = "foo"; |
| 3437 } | 3513 } |
| 3438 buildCounterDirectorySitesListResponse--; | 3514 buildCounterDirectorySitesListResponse--; |
| 3439 return o; | 3515 return o; |
| 3440 } | 3516 } |
| 3441 | 3517 |
| 3442 checkDirectorySitesListResponse(api.DirectorySitesListResponse o) { | 3518 checkDirectorySitesListResponse(api.DirectorySitesListResponse o) { |
| 3443 buildCounterDirectorySitesListResponse++; | 3519 buildCounterDirectorySitesListResponse++; |
| 3444 if (buildCounterDirectorySitesListResponse < 3) { | 3520 if (buildCounterDirectorySitesListResponse < 3) { |
| 3445 checkUnnamed1475(o.directorySites); | 3521 checkUnnamed2211(o.directorySites); |
| 3446 unittest.expect(o.kind, unittest.equals('foo')); | 3522 unittest.expect(o.kind, unittest.equals('foo')); |
| 3447 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 3523 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 3448 } | 3524 } |
| 3449 buildCounterDirectorySitesListResponse--; | 3525 buildCounterDirectorySitesListResponse--; |
| 3450 } | 3526 } |
| 3451 | 3527 |
| 3452 core.int buildCounterDynamicTargetingKey = 0; | 3528 core.int buildCounterDynamicTargetingKey = 0; |
| 3453 buildDynamicTargetingKey() { | 3529 buildDynamicTargetingKey() { |
| 3454 var o = new api.DynamicTargetingKey(); | 3530 var o = new api.DynamicTargetingKey(); |
| 3455 buildCounterDynamicTargetingKey++; | 3531 buildCounterDynamicTargetingKey++; |
| (...skipping 11 matching lines...) Expand all Loading... |
| 3467 buildCounterDynamicTargetingKey++; | 3543 buildCounterDynamicTargetingKey++; |
| 3468 if (buildCounterDynamicTargetingKey < 3) { | 3544 if (buildCounterDynamicTargetingKey < 3) { |
| 3469 unittest.expect(o.kind, unittest.equals('foo')); | 3545 unittest.expect(o.kind, unittest.equals('foo')); |
| 3470 unittest.expect(o.name, unittest.equals('foo')); | 3546 unittest.expect(o.name, unittest.equals('foo')); |
| 3471 unittest.expect(o.objectId, unittest.equals('foo')); | 3547 unittest.expect(o.objectId, unittest.equals('foo')); |
| 3472 unittest.expect(o.objectType, unittest.equals('foo')); | 3548 unittest.expect(o.objectType, unittest.equals('foo')); |
| 3473 } | 3549 } |
| 3474 buildCounterDynamicTargetingKey--; | 3550 buildCounterDynamicTargetingKey--; |
| 3475 } | 3551 } |
| 3476 | 3552 |
| 3477 buildUnnamed1476() { | 3553 buildUnnamed2212() { |
| 3478 var o = new core.List<api.DynamicTargetingKey>(); | 3554 var o = new core.List<api.DynamicTargetingKey>(); |
| 3479 o.add(buildDynamicTargetingKey()); | 3555 o.add(buildDynamicTargetingKey()); |
| 3480 o.add(buildDynamicTargetingKey()); | 3556 o.add(buildDynamicTargetingKey()); |
| 3481 return o; | 3557 return o; |
| 3482 } | 3558 } |
| 3483 | 3559 |
| 3484 checkUnnamed1476(core.List<api.DynamicTargetingKey> o) { | 3560 checkUnnamed2212(core.List<api.DynamicTargetingKey> o) { |
| 3485 unittest.expect(o, unittest.hasLength(2)); | 3561 unittest.expect(o, unittest.hasLength(2)); |
| 3486 checkDynamicTargetingKey(o[0]); | 3562 checkDynamicTargetingKey(o[0]); |
| 3487 checkDynamicTargetingKey(o[1]); | 3563 checkDynamicTargetingKey(o[1]); |
| 3488 } | 3564 } |
| 3489 | 3565 |
| 3490 core.int buildCounterDynamicTargetingKeysListResponse = 0; | 3566 core.int buildCounterDynamicTargetingKeysListResponse = 0; |
| 3491 buildDynamicTargetingKeysListResponse() { | 3567 buildDynamicTargetingKeysListResponse() { |
| 3492 var o = new api.DynamicTargetingKeysListResponse(); | 3568 var o = new api.DynamicTargetingKeysListResponse(); |
| 3493 buildCounterDynamicTargetingKeysListResponse++; | 3569 buildCounterDynamicTargetingKeysListResponse++; |
| 3494 if (buildCounterDynamicTargetingKeysListResponse < 3) { | 3570 if (buildCounterDynamicTargetingKeysListResponse < 3) { |
| 3495 o.dynamicTargetingKeys = buildUnnamed1476(); | 3571 o.dynamicTargetingKeys = buildUnnamed2212(); |
| 3496 o.kind = "foo"; | 3572 o.kind = "foo"; |
| 3497 } | 3573 } |
| 3498 buildCounterDynamicTargetingKeysListResponse--; | 3574 buildCounterDynamicTargetingKeysListResponse--; |
| 3499 return o; | 3575 return o; |
| 3500 } | 3576 } |
| 3501 | 3577 |
| 3502 checkDynamicTargetingKeysListResponse(api.DynamicTargetingKeysListResponse o) { | 3578 checkDynamicTargetingKeysListResponse(api.DynamicTargetingKeysListResponse o) { |
| 3503 buildCounterDynamicTargetingKeysListResponse++; | 3579 buildCounterDynamicTargetingKeysListResponse++; |
| 3504 if (buildCounterDynamicTargetingKeysListResponse < 3) { | 3580 if (buildCounterDynamicTargetingKeysListResponse < 3) { |
| 3505 checkUnnamed1476(o.dynamicTargetingKeys); | 3581 checkUnnamed2212(o.dynamicTargetingKeys); |
| 3506 unittest.expect(o.kind, unittest.equals('foo')); | 3582 unittest.expect(o.kind, unittest.equals('foo')); |
| 3507 } | 3583 } |
| 3508 buildCounterDynamicTargetingKeysListResponse--; | 3584 buildCounterDynamicTargetingKeysListResponse--; |
| 3509 } | 3585 } |
| 3510 | 3586 |
| 3511 core.int buildCounterEncryptionInfo = 0; | 3587 core.int buildCounterEncryptionInfo = 0; |
| 3512 buildEncryptionInfo() { | 3588 buildEncryptionInfo() { |
| 3513 var o = new api.EncryptionInfo(); | 3589 var o = new api.EncryptionInfo(); |
| 3514 buildCounterEncryptionInfo++; | 3590 buildCounterEncryptionInfo++; |
| 3515 if (buildCounterEncryptionInfo < 3) { | 3591 if (buildCounterEncryptionInfo < 3) { |
| (...skipping 10 matching lines...) Expand all Loading... |
| 3526 buildCounterEncryptionInfo++; | 3602 buildCounterEncryptionInfo++; |
| 3527 if (buildCounterEncryptionInfo < 3) { | 3603 if (buildCounterEncryptionInfo < 3) { |
| 3528 unittest.expect(o.encryptionEntityId, unittest.equals('foo')); | 3604 unittest.expect(o.encryptionEntityId, unittest.equals('foo')); |
| 3529 unittest.expect(o.encryptionEntityType, unittest.equals('foo')); | 3605 unittest.expect(o.encryptionEntityType, unittest.equals('foo')); |
| 3530 unittest.expect(o.encryptionSource, unittest.equals('foo')); | 3606 unittest.expect(o.encryptionSource, unittest.equals('foo')); |
| 3531 unittest.expect(o.kind, unittest.equals('foo')); | 3607 unittest.expect(o.kind, unittest.equals('foo')); |
| 3532 } | 3608 } |
| 3533 buildCounterEncryptionInfo--; | 3609 buildCounterEncryptionInfo--; |
| 3534 } | 3610 } |
| 3535 | 3611 |
| 3536 buildUnnamed1477() { | 3612 buildUnnamed2213() { |
| 3537 var o = new core.List<core.String>(); | 3613 var o = new core.List<core.String>(); |
| 3538 o.add("foo"); | 3614 o.add("foo"); |
| 3539 o.add("foo"); | 3615 o.add("foo"); |
| 3540 return o; | 3616 return o; |
| 3541 } | 3617 } |
| 3542 | 3618 |
| 3543 checkUnnamed1477(core.List<core.String> o) { | 3619 checkUnnamed2213(core.List<core.String> o) { |
| 3544 unittest.expect(o, unittest.hasLength(2)); | 3620 unittest.expect(o, unittest.hasLength(2)); |
| 3545 unittest.expect(o[0], unittest.equals('foo')); | 3621 unittest.expect(o[0], unittest.equals('foo')); |
| 3546 unittest.expect(o[1], unittest.equals('foo')); | 3622 unittest.expect(o[1], unittest.equals('foo')); |
| 3547 } | 3623 } |
| 3548 | 3624 |
| 3549 core.int buildCounterEventTag = 0; | 3625 core.int buildCounterEventTag = 0; |
| 3550 buildEventTag() { | 3626 buildEventTag() { |
| 3551 var o = new api.EventTag(); | 3627 var o = new api.EventTag(); |
| 3552 buildCounterEventTag++; | 3628 buildCounterEventTag++; |
| 3553 if (buildCounterEventTag < 3) { | 3629 if (buildCounterEventTag < 3) { |
| 3554 o.accountId = "foo"; | 3630 o.accountId = "foo"; |
| 3555 o.advertiserId = "foo"; | 3631 o.advertiserId = "foo"; |
| 3556 o.advertiserIdDimensionValue = buildDimensionValue(); | 3632 o.advertiserIdDimensionValue = buildDimensionValue(); |
| 3557 o.campaignId = "foo"; | 3633 o.campaignId = "foo"; |
| 3558 o.campaignIdDimensionValue = buildDimensionValue(); | 3634 o.campaignIdDimensionValue = buildDimensionValue(); |
| 3559 o.enabledByDefault = true; | 3635 o.enabledByDefault = true; |
| 3560 o.excludeFromAdxRequests = true; | 3636 o.excludeFromAdxRequests = true; |
| 3561 o.id = "foo"; | 3637 o.id = "foo"; |
| 3562 o.kind = "foo"; | 3638 o.kind = "foo"; |
| 3563 o.name = "foo"; | 3639 o.name = "foo"; |
| 3564 o.siteFilterType = "foo"; | 3640 o.siteFilterType = "foo"; |
| 3565 o.siteIds = buildUnnamed1477(); | 3641 o.siteIds = buildUnnamed2213(); |
| 3566 o.sslCompliant = true; | 3642 o.sslCompliant = true; |
| 3567 o.status = "foo"; | 3643 o.status = "foo"; |
| 3568 o.subaccountId = "foo"; | 3644 o.subaccountId = "foo"; |
| 3569 o.type = "foo"; | 3645 o.type = "foo"; |
| 3570 o.url = "foo"; | 3646 o.url = "foo"; |
| 3571 o.urlEscapeLevels = 42; | 3647 o.urlEscapeLevels = 42; |
| 3572 } | 3648 } |
| 3573 buildCounterEventTag--; | 3649 buildCounterEventTag--; |
| 3574 return o; | 3650 return o; |
| 3575 } | 3651 } |
| 3576 | 3652 |
| 3577 checkEventTag(api.EventTag o) { | 3653 checkEventTag(api.EventTag o) { |
| 3578 buildCounterEventTag++; | 3654 buildCounterEventTag++; |
| 3579 if (buildCounterEventTag < 3) { | 3655 if (buildCounterEventTag < 3) { |
| 3580 unittest.expect(o.accountId, unittest.equals('foo')); | 3656 unittest.expect(o.accountId, unittest.equals('foo')); |
| 3581 unittest.expect(o.advertiserId, unittest.equals('foo')); | 3657 unittest.expect(o.advertiserId, unittest.equals('foo')); |
| 3582 checkDimensionValue(o.advertiserIdDimensionValue); | 3658 checkDimensionValue(o.advertiserIdDimensionValue); |
| 3583 unittest.expect(o.campaignId, unittest.equals('foo')); | 3659 unittest.expect(o.campaignId, unittest.equals('foo')); |
| 3584 checkDimensionValue(o.campaignIdDimensionValue); | 3660 checkDimensionValue(o.campaignIdDimensionValue); |
| 3585 unittest.expect(o.enabledByDefault, unittest.isTrue); | 3661 unittest.expect(o.enabledByDefault, unittest.isTrue); |
| 3586 unittest.expect(o.excludeFromAdxRequests, unittest.isTrue); | 3662 unittest.expect(o.excludeFromAdxRequests, unittest.isTrue); |
| 3587 unittest.expect(o.id, unittest.equals('foo')); | 3663 unittest.expect(o.id, unittest.equals('foo')); |
| 3588 unittest.expect(o.kind, unittest.equals('foo')); | 3664 unittest.expect(o.kind, unittest.equals('foo')); |
| 3589 unittest.expect(o.name, unittest.equals('foo')); | 3665 unittest.expect(o.name, unittest.equals('foo')); |
| 3590 unittest.expect(o.siteFilterType, unittest.equals('foo')); | 3666 unittest.expect(o.siteFilterType, unittest.equals('foo')); |
| 3591 checkUnnamed1477(o.siteIds); | 3667 checkUnnamed2213(o.siteIds); |
| 3592 unittest.expect(o.sslCompliant, unittest.isTrue); | 3668 unittest.expect(o.sslCompliant, unittest.isTrue); |
| 3593 unittest.expect(o.status, unittest.equals('foo')); | 3669 unittest.expect(o.status, unittest.equals('foo')); |
| 3594 unittest.expect(o.subaccountId, unittest.equals('foo')); | 3670 unittest.expect(o.subaccountId, unittest.equals('foo')); |
| 3595 unittest.expect(o.type, unittest.equals('foo')); | 3671 unittest.expect(o.type, unittest.equals('foo')); |
| 3596 unittest.expect(o.url, unittest.equals('foo')); | 3672 unittest.expect(o.url, unittest.equals('foo')); |
| 3597 unittest.expect(o.urlEscapeLevels, unittest.equals(42)); | 3673 unittest.expect(o.urlEscapeLevels, unittest.equals(42)); |
| 3598 } | 3674 } |
| 3599 buildCounterEventTag--; | 3675 buildCounterEventTag--; |
| 3600 } | 3676 } |
| 3601 | 3677 |
| (...skipping 11 matching lines...) Expand all Loading... |
| 3613 | 3689 |
| 3614 checkEventTagOverride(api.EventTagOverride o) { | 3690 checkEventTagOverride(api.EventTagOverride o) { |
| 3615 buildCounterEventTagOverride++; | 3691 buildCounterEventTagOverride++; |
| 3616 if (buildCounterEventTagOverride < 3) { | 3692 if (buildCounterEventTagOverride < 3) { |
| 3617 unittest.expect(o.enabled, unittest.isTrue); | 3693 unittest.expect(o.enabled, unittest.isTrue); |
| 3618 unittest.expect(o.id, unittest.equals('foo')); | 3694 unittest.expect(o.id, unittest.equals('foo')); |
| 3619 } | 3695 } |
| 3620 buildCounterEventTagOverride--; | 3696 buildCounterEventTagOverride--; |
| 3621 } | 3697 } |
| 3622 | 3698 |
| 3623 buildUnnamed1478() { | 3699 buildUnnamed2214() { |
| 3624 var o = new core.List<api.EventTag>(); | 3700 var o = new core.List<api.EventTag>(); |
| 3625 o.add(buildEventTag()); | 3701 o.add(buildEventTag()); |
| 3626 o.add(buildEventTag()); | 3702 o.add(buildEventTag()); |
| 3627 return o; | 3703 return o; |
| 3628 } | 3704 } |
| 3629 | 3705 |
| 3630 checkUnnamed1478(core.List<api.EventTag> o) { | 3706 checkUnnamed2214(core.List<api.EventTag> o) { |
| 3631 unittest.expect(o, unittest.hasLength(2)); | 3707 unittest.expect(o, unittest.hasLength(2)); |
| 3632 checkEventTag(o[0]); | 3708 checkEventTag(o[0]); |
| 3633 checkEventTag(o[1]); | 3709 checkEventTag(o[1]); |
| 3634 } | 3710 } |
| 3635 | 3711 |
| 3636 core.int buildCounterEventTagsListResponse = 0; | 3712 core.int buildCounterEventTagsListResponse = 0; |
| 3637 buildEventTagsListResponse() { | 3713 buildEventTagsListResponse() { |
| 3638 var o = new api.EventTagsListResponse(); | 3714 var o = new api.EventTagsListResponse(); |
| 3639 buildCounterEventTagsListResponse++; | 3715 buildCounterEventTagsListResponse++; |
| 3640 if (buildCounterEventTagsListResponse < 3) { | 3716 if (buildCounterEventTagsListResponse < 3) { |
| 3641 o.eventTags = buildUnnamed1478(); | 3717 o.eventTags = buildUnnamed2214(); |
| 3642 o.kind = "foo"; | 3718 o.kind = "foo"; |
| 3643 } | 3719 } |
| 3644 buildCounterEventTagsListResponse--; | 3720 buildCounterEventTagsListResponse--; |
| 3645 return o; | 3721 return o; |
| 3646 } | 3722 } |
| 3647 | 3723 |
| 3648 checkEventTagsListResponse(api.EventTagsListResponse o) { | 3724 checkEventTagsListResponse(api.EventTagsListResponse o) { |
| 3649 buildCounterEventTagsListResponse++; | 3725 buildCounterEventTagsListResponse++; |
| 3650 if (buildCounterEventTagsListResponse < 3) { | 3726 if (buildCounterEventTagsListResponse < 3) { |
| 3651 checkUnnamed1478(o.eventTags); | 3727 checkUnnamed2214(o.eventTags); |
| 3652 unittest.expect(o.kind, unittest.equals('foo')); | 3728 unittest.expect(o.kind, unittest.equals('foo')); |
| 3653 } | 3729 } |
| 3654 buildCounterEventTagsListResponse--; | 3730 buildCounterEventTagsListResponse--; |
| 3655 } | 3731 } |
| 3656 | 3732 |
| 3657 core.int buildCounterFileUrls = 0; | 3733 core.int buildCounterFileUrls = 0; |
| 3658 buildFileUrls() { | 3734 buildFileUrls() { |
| 3659 var o = new api.FileUrls(); | 3735 var o = new api.FileUrls(); |
| 3660 buildCounterFileUrls++; | 3736 buildCounterFileUrls++; |
| 3661 if (buildCounterFileUrls < 3) { | 3737 if (buildCounterFileUrls < 3) { |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3705 unittest.expect(o.id, unittest.equals('foo')); | 3781 unittest.expect(o.id, unittest.equals('foo')); |
| 3706 unittest.expect(o.kind, unittest.equals('foo')); | 3782 unittest.expect(o.kind, unittest.equals('foo')); |
| 3707 unittest.expect(o.lastModifiedTime, unittest.equals('foo')); | 3783 unittest.expect(o.lastModifiedTime, unittest.equals('foo')); |
| 3708 unittest.expect(o.reportId, unittest.equals('foo')); | 3784 unittest.expect(o.reportId, unittest.equals('foo')); |
| 3709 unittest.expect(o.status, unittest.equals('foo')); | 3785 unittest.expect(o.status, unittest.equals('foo')); |
| 3710 checkFileUrls(o.urls); | 3786 checkFileUrls(o.urls); |
| 3711 } | 3787 } |
| 3712 buildCounterFile--; | 3788 buildCounterFile--; |
| 3713 } | 3789 } |
| 3714 | 3790 |
| 3715 buildUnnamed1479() { | 3791 buildUnnamed2215() { |
| 3716 var o = new core.List<api.File>(); | 3792 var o = new core.List<api.File>(); |
| 3717 o.add(buildFile()); | 3793 o.add(buildFile()); |
| 3718 o.add(buildFile()); | 3794 o.add(buildFile()); |
| 3719 return o; | 3795 return o; |
| 3720 } | 3796 } |
| 3721 | 3797 |
| 3722 checkUnnamed1479(core.List<api.File> o) { | 3798 checkUnnamed2215(core.List<api.File> o) { |
| 3723 unittest.expect(o, unittest.hasLength(2)); | 3799 unittest.expect(o, unittest.hasLength(2)); |
| 3724 checkFile(o[0]); | 3800 checkFile(o[0]); |
| 3725 checkFile(o[1]); | 3801 checkFile(o[1]); |
| 3726 } | 3802 } |
| 3727 | 3803 |
| 3728 core.int buildCounterFileList = 0; | 3804 core.int buildCounterFileList = 0; |
| 3729 buildFileList() { | 3805 buildFileList() { |
| 3730 var o = new api.FileList(); | 3806 var o = new api.FileList(); |
| 3731 buildCounterFileList++; | 3807 buildCounterFileList++; |
| 3732 if (buildCounterFileList < 3) { | 3808 if (buildCounterFileList < 3) { |
| 3733 o.etag = "foo"; | 3809 o.etag = "foo"; |
| 3734 o.items = buildUnnamed1479(); | 3810 o.items = buildUnnamed2215(); |
| 3735 o.kind = "foo"; | 3811 o.kind = "foo"; |
| 3736 o.nextPageToken = "foo"; | 3812 o.nextPageToken = "foo"; |
| 3737 } | 3813 } |
| 3738 buildCounterFileList--; | 3814 buildCounterFileList--; |
| 3739 return o; | 3815 return o; |
| 3740 } | 3816 } |
| 3741 | 3817 |
| 3742 checkFileList(api.FileList o) { | 3818 checkFileList(api.FileList o) { |
| 3743 buildCounterFileList++; | 3819 buildCounterFileList++; |
| 3744 if (buildCounterFileList < 3) { | 3820 if (buildCounterFileList < 3) { |
| 3745 unittest.expect(o.etag, unittest.equals('foo')); | 3821 unittest.expect(o.etag, unittest.equals('foo')); |
| 3746 checkUnnamed1479(o.items); | 3822 checkUnnamed2215(o.items); |
| 3747 unittest.expect(o.kind, unittest.equals('foo')); | 3823 unittest.expect(o.kind, unittest.equals('foo')); |
| 3748 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 3824 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 3749 } | 3825 } |
| 3750 buildCounterFileList--; | 3826 buildCounterFileList--; |
| 3751 } | 3827 } |
| 3752 | 3828 |
| 3753 core.int buildCounterFlight = 0; | 3829 core.int buildCounterFlight = 0; |
| 3754 buildFlight() { | 3830 buildFlight() { |
| 3755 var o = new api.Flight(); | 3831 var o = new api.Flight(); |
| 3756 buildCounterFlight++; | 3832 buildCounterFlight++; |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3789 | 3865 |
| 3790 checkFloodlightActivitiesGenerateTagResponse(api.FloodlightActivitiesGenerateTag
Response o) { | 3866 checkFloodlightActivitiesGenerateTagResponse(api.FloodlightActivitiesGenerateTag
Response o) { |
| 3791 buildCounterFloodlightActivitiesGenerateTagResponse++; | 3867 buildCounterFloodlightActivitiesGenerateTagResponse++; |
| 3792 if (buildCounterFloodlightActivitiesGenerateTagResponse < 3) { | 3868 if (buildCounterFloodlightActivitiesGenerateTagResponse < 3) { |
| 3793 unittest.expect(o.floodlightActivityTag, unittest.equals('foo')); | 3869 unittest.expect(o.floodlightActivityTag, unittest.equals('foo')); |
| 3794 unittest.expect(o.kind, unittest.equals('foo')); | 3870 unittest.expect(o.kind, unittest.equals('foo')); |
| 3795 } | 3871 } |
| 3796 buildCounterFloodlightActivitiesGenerateTagResponse--; | 3872 buildCounterFloodlightActivitiesGenerateTagResponse--; |
| 3797 } | 3873 } |
| 3798 | 3874 |
| 3799 buildUnnamed1480() { | 3875 buildUnnamed2216() { |
| 3800 var o = new core.List<api.FloodlightActivity>(); | 3876 var o = new core.List<api.FloodlightActivity>(); |
| 3801 o.add(buildFloodlightActivity()); | 3877 o.add(buildFloodlightActivity()); |
| 3802 o.add(buildFloodlightActivity()); | 3878 o.add(buildFloodlightActivity()); |
| 3803 return o; | 3879 return o; |
| 3804 } | 3880 } |
| 3805 | 3881 |
| 3806 checkUnnamed1480(core.List<api.FloodlightActivity> o) { | 3882 checkUnnamed2216(core.List<api.FloodlightActivity> o) { |
| 3807 unittest.expect(o, unittest.hasLength(2)); | 3883 unittest.expect(o, unittest.hasLength(2)); |
| 3808 checkFloodlightActivity(o[0]); | 3884 checkFloodlightActivity(o[0]); |
| 3809 checkFloodlightActivity(o[1]); | 3885 checkFloodlightActivity(o[1]); |
| 3810 } | 3886 } |
| 3811 | 3887 |
| 3812 core.int buildCounterFloodlightActivitiesListResponse = 0; | 3888 core.int buildCounterFloodlightActivitiesListResponse = 0; |
| 3813 buildFloodlightActivitiesListResponse() { | 3889 buildFloodlightActivitiesListResponse() { |
| 3814 var o = new api.FloodlightActivitiesListResponse(); | 3890 var o = new api.FloodlightActivitiesListResponse(); |
| 3815 buildCounterFloodlightActivitiesListResponse++; | 3891 buildCounterFloodlightActivitiesListResponse++; |
| 3816 if (buildCounterFloodlightActivitiesListResponse < 3) { | 3892 if (buildCounterFloodlightActivitiesListResponse < 3) { |
| 3817 o.floodlightActivities = buildUnnamed1480(); | 3893 o.floodlightActivities = buildUnnamed2216(); |
| 3818 o.kind = "foo"; | 3894 o.kind = "foo"; |
| 3819 o.nextPageToken = "foo"; | 3895 o.nextPageToken = "foo"; |
| 3820 } | 3896 } |
| 3821 buildCounterFloodlightActivitiesListResponse--; | 3897 buildCounterFloodlightActivitiesListResponse--; |
| 3822 return o; | 3898 return o; |
| 3823 } | 3899 } |
| 3824 | 3900 |
| 3825 checkFloodlightActivitiesListResponse(api.FloodlightActivitiesListResponse o) { | 3901 checkFloodlightActivitiesListResponse(api.FloodlightActivitiesListResponse o) { |
| 3826 buildCounterFloodlightActivitiesListResponse++; | 3902 buildCounterFloodlightActivitiesListResponse++; |
| 3827 if (buildCounterFloodlightActivitiesListResponse < 3) { | 3903 if (buildCounterFloodlightActivitiesListResponse < 3) { |
| 3828 checkUnnamed1480(o.floodlightActivities); | 3904 checkUnnamed2216(o.floodlightActivities); |
| 3829 unittest.expect(o.kind, unittest.equals('foo')); | 3905 unittest.expect(o.kind, unittest.equals('foo')); |
| 3830 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 3906 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 3831 } | 3907 } |
| 3832 buildCounterFloodlightActivitiesListResponse--; | 3908 buildCounterFloodlightActivitiesListResponse--; |
| 3833 } | 3909 } |
| 3834 | 3910 |
| 3835 buildUnnamed1481() { | 3911 buildUnnamed2217() { |
| 3836 var o = new core.List<api.FloodlightActivityDynamicTag>(); | 3912 var o = new core.List<api.FloodlightActivityDynamicTag>(); |
| 3837 o.add(buildFloodlightActivityDynamicTag()); | 3913 o.add(buildFloodlightActivityDynamicTag()); |
| 3838 o.add(buildFloodlightActivityDynamicTag()); | 3914 o.add(buildFloodlightActivityDynamicTag()); |
| 3839 return o; | 3915 return o; |
| 3840 } | 3916 } |
| 3841 | 3917 |
| 3842 checkUnnamed1481(core.List<api.FloodlightActivityDynamicTag> o) { | 3918 checkUnnamed2217(core.List<api.FloodlightActivityDynamicTag> o) { |
| 3843 unittest.expect(o, unittest.hasLength(2)); | 3919 unittest.expect(o, unittest.hasLength(2)); |
| 3844 checkFloodlightActivityDynamicTag(o[0]); | 3920 checkFloodlightActivityDynamicTag(o[0]); |
| 3845 checkFloodlightActivityDynamicTag(o[1]); | 3921 checkFloodlightActivityDynamicTag(o[1]); |
| 3846 } | 3922 } |
| 3847 | 3923 |
| 3848 buildUnnamed1482() { | 3924 buildUnnamed2218() { |
| 3849 var o = new core.List<api.FloodlightActivityPublisherDynamicTag>(); | 3925 var o = new core.List<api.FloodlightActivityPublisherDynamicTag>(); |
| 3850 o.add(buildFloodlightActivityPublisherDynamicTag()); | 3926 o.add(buildFloodlightActivityPublisherDynamicTag()); |
| 3851 o.add(buildFloodlightActivityPublisherDynamicTag()); | 3927 o.add(buildFloodlightActivityPublisherDynamicTag()); |
| 3852 return o; | 3928 return o; |
| 3853 } | 3929 } |
| 3854 | 3930 |
| 3855 checkUnnamed1482(core.List<api.FloodlightActivityPublisherDynamicTag> o) { | 3931 checkUnnamed2218(core.List<api.FloodlightActivityPublisherDynamicTag> o) { |
| 3856 unittest.expect(o, unittest.hasLength(2)); | 3932 unittest.expect(o, unittest.hasLength(2)); |
| 3857 checkFloodlightActivityPublisherDynamicTag(o[0]); | 3933 checkFloodlightActivityPublisherDynamicTag(o[0]); |
| 3858 checkFloodlightActivityPublisherDynamicTag(o[1]); | 3934 checkFloodlightActivityPublisherDynamicTag(o[1]); |
| 3859 } | 3935 } |
| 3860 | 3936 |
| 3861 buildUnnamed1483() { | 3937 buildUnnamed2219() { |
| 3862 var o = new core.List<core.String>(); | 3938 var o = new core.List<core.String>(); |
| 3863 o.add("foo"); | 3939 o.add("foo"); |
| 3864 o.add("foo"); | 3940 o.add("foo"); |
| 3865 return o; | 3941 return o; |
| 3866 } | 3942 } |
| 3867 | 3943 |
| 3868 checkUnnamed1483(core.List<core.String> o) { | 3944 checkUnnamed2219(core.List<core.String> o) { |
| 3869 unittest.expect(o, unittest.hasLength(2)); | 3945 unittest.expect(o, unittest.hasLength(2)); |
| 3870 unittest.expect(o[0], unittest.equals('foo')); | 3946 unittest.expect(o[0], unittest.equals('foo')); |
| 3871 unittest.expect(o[1], unittest.equals('foo')); | 3947 unittest.expect(o[1], unittest.equals('foo')); |
| 3872 } | 3948 } |
| 3873 | 3949 |
| 3874 core.int buildCounterFloodlightActivity = 0; | 3950 core.int buildCounterFloodlightActivity = 0; |
| 3875 buildFloodlightActivity() { | 3951 buildFloodlightActivity() { |
| 3876 var o = new api.FloodlightActivity(); | 3952 var o = new api.FloodlightActivity(); |
| 3877 buildCounterFloodlightActivity++; | 3953 buildCounterFloodlightActivity++; |
| 3878 if (buildCounterFloodlightActivity < 3) { | 3954 if (buildCounterFloodlightActivity < 3) { |
| 3879 o.accountId = "foo"; | 3955 o.accountId = "foo"; |
| 3880 o.advertiserId = "foo"; | 3956 o.advertiserId = "foo"; |
| 3881 o.advertiserIdDimensionValue = buildDimensionValue(); | 3957 o.advertiserIdDimensionValue = buildDimensionValue(); |
| 3882 o.cacheBustingType = "foo"; | 3958 o.cacheBustingType = "foo"; |
| 3883 o.countingMethod = "foo"; | 3959 o.countingMethod = "foo"; |
| 3884 o.defaultTags = buildUnnamed1481(); | 3960 o.defaultTags = buildUnnamed2217(); |
| 3885 o.expectedUrl = "foo"; | 3961 o.expectedUrl = "foo"; |
| 3886 o.floodlightActivityGroupId = "foo"; | 3962 o.floodlightActivityGroupId = "foo"; |
| 3887 o.floodlightActivityGroupName = "foo"; | 3963 o.floodlightActivityGroupName = "foo"; |
| 3888 o.floodlightActivityGroupTagString = "foo"; | 3964 o.floodlightActivityGroupTagString = "foo"; |
| 3889 o.floodlightActivityGroupType = "foo"; | 3965 o.floodlightActivityGroupType = "foo"; |
| 3890 o.floodlightConfigurationId = "foo"; | 3966 o.floodlightConfigurationId = "foo"; |
| 3891 o.floodlightConfigurationIdDimensionValue = buildDimensionValue(); | 3967 o.floodlightConfigurationIdDimensionValue = buildDimensionValue(); |
| 3892 o.hidden = true; | 3968 o.hidden = true; |
| 3893 o.id = "foo"; | 3969 o.id = "foo"; |
| 3894 o.idDimensionValue = buildDimensionValue(); | 3970 o.idDimensionValue = buildDimensionValue(); |
| 3895 o.imageTagEnabled = true; | 3971 o.imageTagEnabled = true; |
| 3896 o.kind = "foo"; | 3972 o.kind = "foo"; |
| 3897 o.name = "foo"; | 3973 o.name = "foo"; |
| 3898 o.notes = "foo"; | 3974 o.notes = "foo"; |
| 3899 o.publisherTags = buildUnnamed1482(); | 3975 o.publisherTags = buildUnnamed2218(); |
| 3900 o.secure = true; | 3976 o.secure = true; |
| 3901 o.sslCompliant = true; | 3977 o.sslCompliant = true; |
| 3902 o.sslRequired = true; | 3978 o.sslRequired = true; |
| 3903 o.subaccountId = "foo"; | 3979 o.subaccountId = "foo"; |
| 3904 o.tagFormat = "foo"; | 3980 o.tagFormat = "foo"; |
| 3905 o.tagString = "foo"; | 3981 o.tagString = "foo"; |
| 3906 o.userDefinedVariableTypes = buildUnnamed1483(); | 3982 o.userDefinedVariableTypes = buildUnnamed2219(); |
| 3907 } | 3983 } |
| 3908 buildCounterFloodlightActivity--; | 3984 buildCounterFloodlightActivity--; |
| 3909 return o; | 3985 return o; |
| 3910 } | 3986 } |
| 3911 | 3987 |
| 3912 checkFloodlightActivity(api.FloodlightActivity o) { | 3988 checkFloodlightActivity(api.FloodlightActivity o) { |
| 3913 buildCounterFloodlightActivity++; | 3989 buildCounterFloodlightActivity++; |
| 3914 if (buildCounterFloodlightActivity < 3) { | 3990 if (buildCounterFloodlightActivity < 3) { |
| 3915 unittest.expect(o.accountId, unittest.equals('foo')); | 3991 unittest.expect(o.accountId, unittest.equals('foo')); |
| 3916 unittest.expect(o.advertiserId, unittest.equals('foo')); | 3992 unittest.expect(o.advertiserId, unittest.equals('foo')); |
| 3917 checkDimensionValue(o.advertiserIdDimensionValue); | 3993 checkDimensionValue(o.advertiserIdDimensionValue); |
| 3918 unittest.expect(o.cacheBustingType, unittest.equals('foo')); | 3994 unittest.expect(o.cacheBustingType, unittest.equals('foo')); |
| 3919 unittest.expect(o.countingMethod, unittest.equals('foo')); | 3995 unittest.expect(o.countingMethod, unittest.equals('foo')); |
| 3920 checkUnnamed1481(o.defaultTags); | 3996 checkUnnamed2217(o.defaultTags); |
| 3921 unittest.expect(o.expectedUrl, unittest.equals('foo')); | 3997 unittest.expect(o.expectedUrl, unittest.equals('foo')); |
| 3922 unittest.expect(o.floodlightActivityGroupId, unittest.equals('foo')); | 3998 unittest.expect(o.floodlightActivityGroupId, unittest.equals('foo')); |
| 3923 unittest.expect(o.floodlightActivityGroupName, unittest.equals('foo')); | 3999 unittest.expect(o.floodlightActivityGroupName, unittest.equals('foo')); |
| 3924 unittest.expect(o.floodlightActivityGroupTagString, unittest.equals('foo')); | 4000 unittest.expect(o.floodlightActivityGroupTagString, unittest.equals('foo')); |
| 3925 unittest.expect(o.floodlightActivityGroupType, unittest.equals('foo')); | 4001 unittest.expect(o.floodlightActivityGroupType, unittest.equals('foo')); |
| 3926 unittest.expect(o.floodlightConfigurationId, unittest.equals('foo')); | 4002 unittest.expect(o.floodlightConfigurationId, unittest.equals('foo')); |
| 3927 checkDimensionValue(o.floodlightConfigurationIdDimensionValue); | 4003 checkDimensionValue(o.floodlightConfigurationIdDimensionValue); |
| 3928 unittest.expect(o.hidden, unittest.isTrue); | 4004 unittest.expect(o.hidden, unittest.isTrue); |
| 3929 unittest.expect(o.id, unittest.equals('foo')); | 4005 unittest.expect(o.id, unittest.equals('foo')); |
| 3930 checkDimensionValue(o.idDimensionValue); | 4006 checkDimensionValue(o.idDimensionValue); |
| 3931 unittest.expect(o.imageTagEnabled, unittest.isTrue); | 4007 unittest.expect(o.imageTagEnabled, unittest.isTrue); |
| 3932 unittest.expect(o.kind, unittest.equals('foo')); | 4008 unittest.expect(o.kind, unittest.equals('foo')); |
| 3933 unittest.expect(o.name, unittest.equals('foo')); | 4009 unittest.expect(o.name, unittest.equals('foo')); |
| 3934 unittest.expect(o.notes, unittest.equals('foo')); | 4010 unittest.expect(o.notes, unittest.equals('foo')); |
| 3935 checkUnnamed1482(o.publisherTags); | 4011 checkUnnamed2218(o.publisherTags); |
| 3936 unittest.expect(o.secure, unittest.isTrue); | 4012 unittest.expect(o.secure, unittest.isTrue); |
| 3937 unittest.expect(o.sslCompliant, unittest.isTrue); | 4013 unittest.expect(o.sslCompliant, unittest.isTrue); |
| 3938 unittest.expect(o.sslRequired, unittest.isTrue); | 4014 unittest.expect(o.sslRequired, unittest.isTrue); |
| 3939 unittest.expect(o.subaccountId, unittest.equals('foo')); | 4015 unittest.expect(o.subaccountId, unittest.equals('foo')); |
| 3940 unittest.expect(o.tagFormat, unittest.equals('foo')); | 4016 unittest.expect(o.tagFormat, unittest.equals('foo')); |
| 3941 unittest.expect(o.tagString, unittest.equals('foo')); | 4017 unittest.expect(o.tagString, unittest.equals('foo')); |
| 3942 checkUnnamed1483(o.userDefinedVariableTypes); | 4018 checkUnnamed2219(o.userDefinedVariableTypes); |
| 3943 } | 4019 } |
| 3944 buildCounterFloodlightActivity--; | 4020 buildCounterFloodlightActivity--; |
| 3945 } | 4021 } |
| 3946 | 4022 |
| 3947 core.int buildCounterFloodlightActivityDynamicTag = 0; | 4023 core.int buildCounterFloodlightActivityDynamicTag = 0; |
| 3948 buildFloodlightActivityDynamicTag() { | 4024 buildFloodlightActivityDynamicTag() { |
| 3949 var o = new api.FloodlightActivityDynamicTag(); | 4025 var o = new api.FloodlightActivityDynamicTag(); |
| 3950 buildCounterFloodlightActivityDynamicTag++; | 4026 buildCounterFloodlightActivityDynamicTag++; |
| 3951 if (buildCounterFloodlightActivityDynamicTag < 3) { | 4027 if (buildCounterFloodlightActivityDynamicTag < 3) { |
| 3952 o.id = "foo"; | 4028 o.id = "foo"; |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4001 checkDimensionValue(o.idDimensionValue); | 4077 checkDimensionValue(o.idDimensionValue); |
| 4002 unittest.expect(o.kind, unittest.equals('foo')); | 4078 unittest.expect(o.kind, unittest.equals('foo')); |
| 4003 unittest.expect(o.name, unittest.equals('foo')); | 4079 unittest.expect(o.name, unittest.equals('foo')); |
| 4004 unittest.expect(o.subaccountId, unittest.equals('foo')); | 4080 unittest.expect(o.subaccountId, unittest.equals('foo')); |
| 4005 unittest.expect(o.tagString, unittest.equals('foo')); | 4081 unittest.expect(o.tagString, unittest.equals('foo')); |
| 4006 unittest.expect(o.type, unittest.equals('foo')); | 4082 unittest.expect(o.type, unittest.equals('foo')); |
| 4007 } | 4083 } |
| 4008 buildCounterFloodlightActivityGroup--; | 4084 buildCounterFloodlightActivityGroup--; |
| 4009 } | 4085 } |
| 4010 | 4086 |
| 4011 buildUnnamed1484() { | 4087 buildUnnamed2220() { |
| 4012 var o = new core.List<api.FloodlightActivityGroup>(); | 4088 var o = new core.List<api.FloodlightActivityGroup>(); |
| 4013 o.add(buildFloodlightActivityGroup()); | 4089 o.add(buildFloodlightActivityGroup()); |
| 4014 o.add(buildFloodlightActivityGroup()); | 4090 o.add(buildFloodlightActivityGroup()); |
| 4015 return o; | 4091 return o; |
| 4016 } | 4092 } |
| 4017 | 4093 |
| 4018 checkUnnamed1484(core.List<api.FloodlightActivityGroup> o) { | 4094 checkUnnamed2220(core.List<api.FloodlightActivityGroup> o) { |
| 4019 unittest.expect(o, unittest.hasLength(2)); | 4095 unittest.expect(o, unittest.hasLength(2)); |
| 4020 checkFloodlightActivityGroup(o[0]); | 4096 checkFloodlightActivityGroup(o[0]); |
| 4021 checkFloodlightActivityGroup(o[1]); | 4097 checkFloodlightActivityGroup(o[1]); |
| 4022 } | 4098 } |
| 4023 | 4099 |
| 4024 core.int buildCounterFloodlightActivityGroupsListResponse = 0; | 4100 core.int buildCounterFloodlightActivityGroupsListResponse = 0; |
| 4025 buildFloodlightActivityGroupsListResponse() { | 4101 buildFloodlightActivityGroupsListResponse() { |
| 4026 var o = new api.FloodlightActivityGroupsListResponse(); | 4102 var o = new api.FloodlightActivityGroupsListResponse(); |
| 4027 buildCounterFloodlightActivityGroupsListResponse++; | 4103 buildCounterFloodlightActivityGroupsListResponse++; |
| 4028 if (buildCounterFloodlightActivityGroupsListResponse < 3) { | 4104 if (buildCounterFloodlightActivityGroupsListResponse < 3) { |
| 4029 o.floodlightActivityGroups = buildUnnamed1484(); | 4105 o.floodlightActivityGroups = buildUnnamed2220(); |
| 4030 o.kind = "foo"; | 4106 o.kind = "foo"; |
| 4031 o.nextPageToken = "foo"; | 4107 o.nextPageToken = "foo"; |
| 4032 } | 4108 } |
| 4033 buildCounterFloodlightActivityGroupsListResponse--; | 4109 buildCounterFloodlightActivityGroupsListResponse--; |
| 4034 return o; | 4110 return o; |
| 4035 } | 4111 } |
| 4036 | 4112 |
| 4037 checkFloodlightActivityGroupsListResponse(api.FloodlightActivityGroupsListRespon
se o) { | 4113 checkFloodlightActivityGroupsListResponse(api.FloodlightActivityGroupsListRespon
se o) { |
| 4038 buildCounterFloodlightActivityGroupsListResponse++; | 4114 buildCounterFloodlightActivityGroupsListResponse++; |
| 4039 if (buildCounterFloodlightActivityGroupsListResponse < 3) { | 4115 if (buildCounterFloodlightActivityGroupsListResponse < 3) { |
| 4040 checkUnnamed1484(o.floodlightActivityGroups); | 4116 checkUnnamed2220(o.floodlightActivityGroups); |
| 4041 unittest.expect(o.kind, unittest.equals('foo')); | 4117 unittest.expect(o.kind, unittest.equals('foo')); |
| 4042 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 4118 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 4043 } | 4119 } |
| 4044 buildCounterFloodlightActivityGroupsListResponse--; | 4120 buildCounterFloodlightActivityGroupsListResponse--; |
| 4045 } | 4121 } |
| 4046 | 4122 |
| 4047 core.int buildCounterFloodlightActivityPublisherDynamicTag = 0; | 4123 core.int buildCounterFloodlightActivityPublisherDynamicTag = 0; |
| 4048 buildFloodlightActivityPublisherDynamicTag() { | 4124 buildFloodlightActivityPublisherDynamicTag() { |
| 4049 var o = new api.FloodlightActivityPublisherDynamicTag(); | 4125 var o = new api.FloodlightActivityPublisherDynamicTag(); |
| 4050 buildCounterFloodlightActivityPublisherDynamicTag++; | 4126 buildCounterFloodlightActivityPublisherDynamicTag++; |
| (...skipping 15 matching lines...) Expand all Loading... |
| 4066 unittest.expect(o.clickThrough, unittest.isTrue); | 4142 unittest.expect(o.clickThrough, unittest.isTrue); |
| 4067 unittest.expect(o.directorySiteId, unittest.equals('foo')); | 4143 unittest.expect(o.directorySiteId, unittest.equals('foo')); |
| 4068 checkFloodlightActivityDynamicTag(o.dynamicTag); | 4144 checkFloodlightActivityDynamicTag(o.dynamicTag); |
| 4069 unittest.expect(o.siteId, unittest.equals('foo')); | 4145 unittest.expect(o.siteId, unittest.equals('foo')); |
| 4070 checkDimensionValue(o.siteIdDimensionValue); | 4146 checkDimensionValue(o.siteIdDimensionValue); |
| 4071 unittest.expect(o.viewThrough, unittest.isTrue); | 4147 unittest.expect(o.viewThrough, unittest.isTrue); |
| 4072 } | 4148 } |
| 4073 buildCounterFloodlightActivityPublisherDynamicTag--; | 4149 buildCounterFloodlightActivityPublisherDynamicTag--; |
| 4074 } | 4150 } |
| 4075 | 4151 |
| 4076 buildUnnamed1485() { | 4152 buildUnnamed2221() { |
| 4077 var o = new core.List<core.String>(); | 4153 var o = new core.List<core.String>(); |
| 4078 o.add("foo"); | 4154 o.add("foo"); |
| 4079 o.add("foo"); | 4155 o.add("foo"); |
| 4080 return o; | 4156 return o; |
| 4081 } | 4157 } |
| 4082 | 4158 |
| 4083 checkUnnamed1485(core.List<core.String> o) { | 4159 checkUnnamed2221(core.List<core.String> o) { |
| 4084 unittest.expect(o, unittest.hasLength(2)); | 4160 unittest.expect(o, unittest.hasLength(2)); |
| 4085 unittest.expect(o[0], unittest.equals('foo')); | 4161 unittest.expect(o[0], unittest.equals('foo')); |
| 4086 unittest.expect(o[1], unittest.equals('foo')); | 4162 unittest.expect(o[1], unittest.equals('foo')); |
| 4087 } | 4163 } |
| 4088 | 4164 |
| 4089 buildUnnamed1486() { | 4165 buildUnnamed2222() { |
| 4090 var o = new core.List<api.ThirdPartyAuthenticationToken>(); | 4166 var o = new core.List<api.ThirdPartyAuthenticationToken>(); |
| 4091 o.add(buildThirdPartyAuthenticationToken()); | 4167 o.add(buildThirdPartyAuthenticationToken()); |
| 4092 o.add(buildThirdPartyAuthenticationToken()); | 4168 o.add(buildThirdPartyAuthenticationToken()); |
| 4093 return o; | 4169 return o; |
| 4094 } | 4170 } |
| 4095 | 4171 |
| 4096 checkUnnamed1486(core.List<api.ThirdPartyAuthenticationToken> o) { | 4172 checkUnnamed2222(core.List<api.ThirdPartyAuthenticationToken> o) { |
| 4097 unittest.expect(o, unittest.hasLength(2)); | 4173 unittest.expect(o, unittest.hasLength(2)); |
| 4098 checkThirdPartyAuthenticationToken(o[0]); | 4174 checkThirdPartyAuthenticationToken(o[0]); |
| 4099 checkThirdPartyAuthenticationToken(o[1]); | 4175 checkThirdPartyAuthenticationToken(o[1]); |
| 4100 } | 4176 } |
| 4101 | 4177 |
| 4102 buildUnnamed1487() { | 4178 buildUnnamed2223() { |
| 4103 var o = new core.List<api.UserDefinedVariableConfiguration>(); | 4179 var o = new core.List<api.UserDefinedVariableConfiguration>(); |
| 4104 o.add(buildUserDefinedVariableConfiguration()); | 4180 o.add(buildUserDefinedVariableConfiguration()); |
| 4105 o.add(buildUserDefinedVariableConfiguration()); | 4181 o.add(buildUserDefinedVariableConfiguration()); |
| 4106 return o; | 4182 return o; |
| 4107 } | 4183 } |
| 4108 | 4184 |
| 4109 checkUnnamed1487(core.List<api.UserDefinedVariableConfiguration> o) { | 4185 checkUnnamed2223(core.List<api.UserDefinedVariableConfiguration> o) { |
| 4110 unittest.expect(o, unittest.hasLength(2)); | 4186 unittest.expect(o, unittest.hasLength(2)); |
| 4111 checkUserDefinedVariableConfiguration(o[0]); | 4187 checkUserDefinedVariableConfiguration(o[0]); |
| 4112 checkUserDefinedVariableConfiguration(o[1]); | 4188 checkUserDefinedVariableConfiguration(o[1]); |
| 4113 } | 4189 } |
| 4114 | 4190 |
| 4115 core.int buildCounterFloodlightConfiguration = 0; | 4191 core.int buildCounterFloodlightConfiguration = 0; |
| 4116 buildFloodlightConfiguration() { | 4192 buildFloodlightConfiguration() { |
| 4117 var o = new api.FloodlightConfiguration(); | 4193 var o = new api.FloodlightConfiguration(); |
| 4118 buildCounterFloodlightConfiguration++; | 4194 buildCounterFloodlightConfiguration++; |
| 4119 if (buildCounterFloodlightConfiguration < 3) { | 4195 if (buildCounterFloodlightConfiguration < 3) { |
| 4120 o.accountId = "foo"; | 4196 o.accountId = "foo"; |
| 4121 o.advertiserId = "foo"; | 4197 o.advertiserId = "foo"; |
| 4122 o.advertiserIdDimensionValue = buildDimensionValue(); | 4198 o.advertiserIdDimensionValue = buildDimensionValue(); |
| 4123 o.analyticsDataSharingEnabled = true; | 4199 o.analyticsDataSharingEnabled = true; |
| 4124 o.exposureToConversionEnabled = true; | 4200 o.exposureToConversionEnabled = true; |
| 4125 o.firstDayOfWeek = "foo"; | 4201 o.firstDayOfWeek = "foo"; |
| 4126 o.id = "foo"; | 4202 o.id = "foo"; |
| 4127 o.idDimensionValue = buildDimensionValue(); | 4203 o.idDimensionValue = buildDimensionValue(); |
| 4128 o.inAppAttributionTrackingEnabled = true; | 4204 o.inAppAttributionTrackingEnabled = true; |
| 4129 o.kind = "foo"; | 4205 o.kind = "foo"; |
| 4130 o.lookbackConfiguration = buildLookbackConfiguration(); | 4206 o.lookbackConfiguration = buildLookbackConfiguration(); |
| 4131 o.naturalSearchConversionAttributionOption = "foo"; | 4207 o.naturalSearchConversionAttributionOption = "foo"; |
| 4132 o.omnitureSettings = buildOmnitureSettings(); | 4208 o.omnitureSettings = buildOmnitureSettings(); |
| 4133 o.standardVariableTypes = buildUnnamed1485(); | 4209 o.standardVariableTypes = buildUnnamed2221(); |
| 4134 o.subaccountId = "foo"; | 4210 o.subaccountId = "foo"; |
| 4135 o.tagSettings = buildTagSettings(); | 4211 o.tagSettings = buildTagSettings(); |
| 4136 o.thirdPartyAuthenticationTokens = buildUnnamed1486(); | 4212 o.thirdPartyAuthenticationTokens = buildUnnamed2222(); |
| 4137 o.userDefinedVariableConfigurations = buildUnnamed1487(); | 4213 o.userDefinedVariableConfigurations = buildUnnamed2223(); |
| 4138 } | 4214 } |
| 4139 buildCounterFloodlightConfiguration--; | 4215 buildCounterFloodlightConfiguration--; |
| 4140 return o; | 4216 return o; |
| 4141 } | 4217 } |
| 4142 | 4218 |
| 4143 checkFloodlightConfiguration(api.FloodlightConfiguration o) { | 4219 checkFloodlightConfiguration(api.FloodlightConfiguration o) { |
| 4144 buildCounterFloodlightConfiguration++; | 4220 buildCounterFloodlightConfiguration++; |
| 4145 if (buildCounterFloodlightConfiguration < 3) { | 4221 if (buildCounterFloodlightConfiguration < 3) { |
| 4146 unittest.expect(o.accountId, unittest.equals('foo')); | 4222 unittest.expect(o.accountId, unittest.equals('foo')); |
| 4147 unittest.expect(o.advertiserId, unittest.equals('foo')); | 4223 unittest.expect(o.advertiserId, unittest.equals('foo')); |
| 4148 checkDimensionValue(o.advertiserIdDimensionValue); | 4224 checkDimensionValue(o.advertiserIdDimensionValue); |
| 4149 unittest.expect(o.analyticsDataSharingEnabled, unittest.isTrue); | 4225 unittest.expect(o.analyticsDataSharingEnabled, unittest.isTrue); |
| 4150 unittest.expect(o.exposureToConversionEnabled, unittest.isTrue); | 4226 unittest.expect(o.exposureToConversionEnabled, unittest.isTrue); |
| 4151 unittest.expect(o.firstDayOfWeek, unittest.equals('foo')); | 4227 unittest.expect(o.firstDayOfWeek, unittest.equals('foo')); |
| 4152 unittest.expect(o.id, unittest.equals('foo')); | 4228 unittest.expect(o.id, unittest.equals('foo')); |
| 4153 checkDimensionValue(o.idDimensionValue); | 4229 checkDimensionValue(o.idDimensionValue); |
| 4154 unittest.expect(o.inAppAttributionTrackingEnabled, unittest.isTrue); | 4230 unittest.expect(o.inAppAttributionTrackingEnabled, unittest.isTrue); |
| 4155 unittest.expect(o.kind, unittest.equals('foo')); | 4231 unittest.expect(o.kind, unittest.equals('foo')); |
| 4156 checkLookbackConfiguration(o.lookbackConfiguration); | 4232 checkLookbackConfiguration(o.lookbackConfiguration); |
| 4157 unittest.expect(o.naturalSearchConversionAttributionOption, unittest.equals(
'foo')); | 4233 unittest.expect(o.naturalSearchConversionAttributionOption, unittest.equals(
'foo')); |
| 4158 checkOmnitureSettings(o.omnitureSettings); | 4234 checkOmnitureSettings(o.omnitureSettings); |
| 4159 checkUnnamed1485(o.standardVariableTypes); | 4235 checkUnnamed2221(o.standardVariableTypes); |
| 4160 unittest.expect(o.subaccountId, unittest.equals('foo')); | 4236 unittest.expect(o.subaccountId, unittest.equals('foo')); |
| 4161 checkTagSettings(o.tagSettings); | 4237 checkTagSettings(o.tagSettings); |
| 4162 checkUnnamed1486(o.thirdPartyAuthenticationTokens); | 4238 checkUnnamed2222(o.thirdPartyAuthenticationTokens); |
| 4163 checkUnnamed1487(o.userDefinedVariableConfigurations); | 4239 checkUnnamed2223(o.userDefinedVariableConfigurations); |
| 4164 } | 4240 } |
| 4165 buildCounterFloodlightConfiguration--; | 4241 buildCounterFloodlightConfiguration--; |
| 4166 } | 4242 } |
| 4167 | 4243 |
| 4168 buildUnnamed1488() { | 4244 buildUnnamed2224() { |
| 4169 var o = new core.List<api.FloodlightConfiguration>(); | 4245 var o = new core.List<api.FloodlightConfiguration>(); |
| 4170 o.add(buildFloodlightConfiguration()); | 4246 o.add(buildFloodlightConfiguration()); |
| 4171 o.add(buildFloodlightConfiguration()); | 4247 o.add(buildFloodlightConfiguration()); |
| 4172 return o; | 4248 return o; |
| 4173 } | 4249 } |
| 4174 | 4250 |
| 4175 checkUnnamed1488(core.List<api.FloodlightConfiguration> o) { | 4251 checkUnnamed2224(core.List<api.FloodlightConfiguration> o) { |
| 4176 unittest.expect(o, unittest.hasLength(2)); | 4252 unittest.expect(o, unittest.hasLength(2)); |
| 4177 checkFloodlightConfiguration(o[0]); | 4253 checkFloodlightConfiguration(o[0]); |
| 4178 checkFloodlightConfiguration(o[1]); | 4254 checkFloodlightConfiguration(o[1]); |
| 4179 } | 4255 } |
| 4180 | 4256 |
| 4181 core.int buildCounterFloodlightConfigurationsListResponse = 0; | 4257 core.int buildCounterFloodlightConfigurationsListResponse = 0; |
| 4182 buildFloodlightConfigurationsListResponse() { | 4258 buildFloodlightConfigurationsListResponse() { |
| 4183 var o = new api.FloodlightConfigurationsListResponse(); | 4259 var o = new api.FloodlightConfigurationsListResponse(); |
| 4184 buildCounterFloodlightConfigurationsListResponse++; | 4260 buildCounterFloodlightConfigurationsListResponse++; |
| 4185 if (buildCounterFloodlightConfigurationsListResponse < 3) { | 4261 if (buildCounterFloodlightConfigurationsListResponse < 3) { |
| 4186 o.floodlightConfigurations = buildUnnamed1488(); | 4262 o.floodlightConfigurations = buildUnnamed2224(); |
| 4187 o.kind = "foo"; | 4263 o.kind = "foo"; |
| 4188 } | 4264 } |
| 4189 buildCounterFloodlightConfigurationsListResponse--; | 4265 buildCounterFloodlightConfigurationsListResponse--; |
| 4190 return o; | 4266 return o; |
| 4191 } | 4267 } |
| 4192 | 4268 |
| 4193 checkFloodlightConfigurationsListResponse(api.FloodlightConfigurationsListRespon
se o) { | 4269 checkFloodlightConfigurationsListResponse(api.FloodlightConfigurationsListRespon
se o) { |
| 4194 buildCounterFloodlightConfigurationsListResponse++; | 4270 buildCounterFloodlightConfigurationsListResponse++; |
| 4195 if (buildCounterFloodlightConfigurationsListResponse < 3) { | 4271 if (buildCounterFloodlightConfigurationsListResponse < 3) { |
| 4196 checkUnnamed1488(o.floodlightConfigurations); | 4272 checkUnnamed2224(o.floodlightConfigurations); |
| 4197 unittest.expect(o.kind, unittest.equals('foo')); | 4273 unittest.expect(o.kind, unittest.equals('foo')); |
| 4198 } | 4274 } |
| 4199 buildCounterFloodlightConfigurationsListResponse--; | 4275 buildCounterFloodlightConfigurationsListResponse--; |
| 4200 } | 4276 } |
| 4201 | 4277 |
| 4202 buildUnnamed1489() { | 4278 buildUnnamed2225() { |
| 4203 var o = new core.List<api.Dimension>(); | 4279 var o = new core.List<api.Dimension>(); |
| 4204 o.add(buildDimension()); | 4280 o.add(buildDimension()); |
| 4205 o.add(buildDimension()); | 4281 o.add(buildDimension()); |
| 4206 return o; | 4282 return o; |
| 4207 } | 4283 } |
| 4208 | 4284 |
| 4209 checkUnnamed1489(core.List<api.Dimension> o) { | 4285 checkUnnamed2225(core.List<api.Dimension> o) { |
| 4210 unittest.expect(o, unittest.hasLength(2)); | 4286 unittest.expect(o, unittest.hasLength(2)); |
| 4211 checkDimension(o[0]); | 4287 checkDimension(o[0]); |
| 4212 checkDimension(o[1]); | 4288 checkDimension(o[1]); |
| 4213 } | 4289 } |
| 4214 | 4290 |
| 4215 buildUnnamed1490() { | 4291 buildUnnamed2226() { |
| 4216 var o = new core.List<api.Dimension>(); | 4292 var o = new core.List<api.Dimension>(); |
| 4217 o.add(buildDimension()); | 4293 o.add(buildDimension()); |
| 4218 o.add(buildDimension()); | 4294 o.add(buildDimension()); |
| 4219 return o; | 4295 return o; |
| 4220 } | 4296 } |
| 4221 | 4297 |
| 4222 checkUnnamed1490(core.List<api.Dimension> o) { | 4298 checkUnnamed2226(core.List<api.Dimension> o) { |
| 4223 unittest.expect(o, unittest.hasLength(2)); | 4299 unittest.expect(o, unittest.hasLength(2)); |
| 4224 checkDimension(o[0]); | 4300 checkDimension(o[0]); |
| 4225 checkDimension(o[1]); | 4301 checkDimension(o[1]); |
| 4226 } | 4302 } |
| 4227 | 4303 |
| 4228 buildUnnamed1491() { | 4304 buildUnnamed2227() { |
| 4229 var o = new core.List<api.Metric>(); | 4305 var o = new core.List<api.Metric>(); |
| 4230 o.add(buildMetric()); | 4306 o.add(buildMetric()); |
| 4231 o.add(buildMetric()); | 4307 o.add(buildMetric()); |
| 4232 return o; | 4308 return o; |
| 4233 } | 4309 } |
| 4234 | 4310 |
| 4235 checkUnnamed1491(core.List<api.Metric> o) { | 4311 checkUnnamed2227(core.List<api.Metric> o) { |
| 4236 unittest.expect(o, unittest.hasLength(2)); | 4312 unittest.expect(o, unittest.hasLength(2)); |
| 4237 checkMetric(o[0]); | 4313 checkMetric(o[0]); |
| 4238 checkMetric(o[1]); | 4314 checkMetric(o[1]); |
| 4239 } | 4315 } |
| 4240 | 4316 |
| 4241 core.int buildCounterFloodlightReportCompatibleFields = 0; | 4317 core.int buildCounterFloodlightReportCompatibleFields = 0; |
| 4242 buildFloodlightReportCompatibleFields() { | 4318 buildFloodlightReportCompatibleFields() { |
| 4243 var o = new api.FloodlightReportCompatibleFields(); | 4319 var o = new api.FloodlightReportCompatibleFields(); |
| 4244 buildCounterFloodlightReportCompatibleFields++; | 4320 buildCounterFloodlightReportCompatibleFields++; |
| 4245 if (buildCounterFloodlightReportCompatibleFields < 3) { | 4321 if (buildCounterFloodlightReportCompatibleFields < 3) { |
| 4246 o.dimensionFilters = buildUnnamed1489(); | 4322 o.dimensionFilters = buildUnnamed2225(); |
| 4247 o.dimensions = buildUnnamed1490(); | 4323 o.dimensions = buildUnnamed2226(); |
| 4248 o.kind = "foo"; | 4324 o.kind = "foo"; |
| 4249 o.metrics = buildUnnamed1491(); | 4325 o.metrics = buildUnnamed2227(); |
| 4250 } | 4326 } |
| 4251 buildCounterFloodlightReportCompatibleFields--; | 4327 buildCounterFloodlightReportCompatibleFields--; |
| 4252 return o; | 4328 return o; |
| 4253 } | 4329 } |
| 4254 | 4330 |
| 4255 checkFloodlightReportCompatibleFields(api.FloodlightReportCompatibleFields o) { | 4331 checkFloodlightReportCompatibleFields(api.FloodlightReportCompatibleFields o) { |
| 4256 buildCounterFloodlightReportCompatibleFields++; | 4332 buildCounterFloodlightReportCompatibleFields++; |
| 4257 if (buildCounterFloodlightReportCompatibleFields < 3) { | 4333 if (buildCounterFloodlightReportCompatibleFields < 3) { |
| 4258 checkUnnamed1489(o.dimensionFilters); | 4334 checkUnnamed2225(o.dimensionFilters); |
| 4259 checkUnnamed1490(o.dimensions); | 4335 checkUnnamed2226(o.dimensions); |
| 4260 unittest.expect(o.kind, unittest.equals('foo')); | 4336 unittest.expect(o.kind, unittest.equals('foo')); |
| 4261 checkUnnamed1491(o.metrics); | 4337 checkUnnamed2227(o.metrics); |
| 4262 } | 4338 } |
| 4263 buildCounterFloodlightReportCompatibleFields--; | 4339 buildCounterFloodlightReportCompatibleFields--; |
| 4264 } | 4340 } |
| 4265 | 4341 |
| 4266 core.int buildCounterFrequencyCap = 0; | 4342 core.int buildCounterFrequencyCap = 0; |
| 4267 buildFrequencyCap() { | 4343 buildFrequencyCap() { |
| 4268 var o = new api.FrequencyCap(); | 4344 var o = new api.FrequencyCap(); |
| 4269 buildCounterFrequencyCap++; | 4345 buildCounterFrequencyCap++; |
| 4270 if (buildCounterFrequencyCap < 3) { | 4346 if (buildCounterFrequencyCap < 3) { |
| 4271 o.duration = "foo"; | 4347 o.duration = "foo"; |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4304 if (buildCounterFsCommand < 3) { | 4380 if (buildCounterFsCommand < 3) { |
| 4305 unittest.expect(o.left, unittest.equals(42)); | 4381 unittest.expect(o.left, unittest.equals(42)); |
| 4306 unittest.expect(o.positionOption, unittest.equals('foo')); | 4382 unittest.expect(o.positionOption, unittest.equals('foo')); |
| 4307 unittest.expect(o.top, unittest.equals(42)); | 4383 unittest.expect(o.top, unittest.equals(42)); |
| 4308 unittest.expect(o.windowHeight, unittest.equals(42)); | 4384 unittest.expect(o.windowHeight, unittest.equals(42)); |
| 4309 unittest.expect(o.windowWidth, unittest.equals(42)); | 4385 unittest.expect(o.windowWidth, unittest.equals(42)); |
| 4310 } | 4386 } |
| 4311 buildCounterFsCommand--; | 4387 buildCounterFsCommand--; |
| 4312 } | 4388 } |
| 4313 | 4389 |
| 4314 buildUnnamed1492() { | 4390 buildUnnamed2228() { |
| 4315 var o = new core.List<api.City>(); | 4391 var o = new core.List<api.City>(); |
| 4316 o.add(buildCity()); | 4392 o.add(buildCity()); |
| 4317 o.add(buildCity()); | 4393 o.add(buildCity()); |
| 4318 return o; | 4394 return o; |
| 4319 } | 4395 } |
| 4320 | 4396 |
| 4321 checkUnnamed1492(core.List<api.City> o) { | 4397 checkUnnamed2228(core.List<api.City> o) { |
| 4322 unittest.expect(o, unittest.hasLength(2)); | 4398 unittest.expect(o, unittest.hasLength(2)); |
| 4323 checkCity(o[0]); | 4399 checkCity(o[0]); |
| 4324 checkCity(o[1]); | 4400 checkCity(o[1]); |
| 4325 } | 4401 } |
| 4326 | 4402 |
| 4327 buildUnnamed1493() { | 4403 buildUnnamed2229() { |
| 4328 var o = new core.List<api.Country>(); | 4404 var o = new core.List<api.Country>(); |
| 4329 o.add(buildCountry()); | 4405 o.add(buildCountry()); |
| 4330 o.add(buildCountry()); | 4406 o.add(buildCountry()); |
| 4331 return o; | 4407 return o; |
| 4332 } | 4408 } |
| 4333 | 4409 |
| 4334 checkUnnamed1493(core.List<api.Country> o) { | 4410 checkUnnamed2229(core.List<api.Country> o) { |
| 4335 unittest.expect(o, unittest.hasLength(2)); | 4411 unittest.expect(o, unittest.hasLength(2)); |
| 4336 checkCountry(o[0]); | 4412 checkCountry(o[0]); |
| 4337 checkCountry(o[1]); | 4413 checkCountry(o[1]); |
| 4338 } | 4414 } |
| 4339 | 4415 |
| 4340 buildUnnamed1494() { | 4416 buildUnnamed2230() { |
| 4341 var o = new core.List<api.Metro>(); | 4417 var o = new core.List<api.Metro>(); |
| 4342 o.add(buildMetro()); | 4418 o.add(buildMetro()); |
| 4343 o.add(buildMetro()); | 4419 o.add(buildMetro()); |
| 4344 return o; | 4420 return o; |
| 4345 } | 4421 } |
| 4346 | 4422 |
| 4347 checkUnnamed1494(core.List<api.Metro> o) { | 4423 checkUnnamed2230(core.List<api.Metro> o) { |
| 4348 unittest.expect(o, unittest.hasLength(2)); | 4424 unittest.expect(o, unittest.hasLength(2)); |
| 4349 checkMetro(o[0]); | 4425 checkMetro(o[0]); |
| 4350 checkMetro(o[1]); | 4426 checkMetro(o[1]); |
| 4351 } | 4427 } |
| 4352 | 4428 |
| 4353 buildUnnamed1495() { | 4429 buildUnnamed2231() { |
| 4354 var o = new core.List<api.PostalCode>(); | 4430 var o = new core.List<api.PostalCode>(); |
| 4355 o.add(buildPostalCode()); | 4431 o.add(buildPostalCode()); |
| 4356 o.add(buildPostalCode()); | 4432 o.add(buildPostalCode()); |
| 4357 return o; | 4433 return o; |
| 4358 } | 4434 } |
| 4359 | 4435 |
| 4360 checkUnnamed1495(core.List<api.PostalCode> o) { | 4436 checkUnnamed2231(core.List<api.PostalCode> o) { |
| 4361 unittest.expect(o, unittest.hasLength(2)); | 4437 unittest.expect(o, unittest.hasLength(2)); |
| 4362 checkPostalCode(o[0]); | 4438 checkPostalCode(o[0]); |
| 4363 checkPostalCode(o[1]); | 4439 checkPostalCode(o[1]); |
| 4364 } | 4440 } |
| 4365 | 4441 |
| 4366 buildUnnamed1496() { | 4442 buildUnnamed2232() { |
| 4367 var o = new core.List<api.Region>(); | 4443 var o = new core.List<api.Region>(); |
| 4368 o.add(buildRegion()); | 4444 o.add(buildRegion()); |
| 4369 o.add(buildRegion()); | 4445 o.add(buildRegion()); |
| 4370 return o; | 4446 return o; |
| 4371 } | 4447 } |
| 4372 | 4448 |
| 4373 checkUnnamed1496(core.List<api.Region> o) { | 4449 checkUnnamed2232(core.List<api.Region> o) { |
| 4374 unittest.expect(o, unittest.hasLength(2)); | 4450 unittest.expect(o, unittest.hasLength(2)); |
| 4375 checkRegion(o[0]); | 4451 checkRegion(o[0]); |
| 4376 checkRegion(o[1]); | 4452 checkRegion(o[1]); |
| 4377 } | 4453 } |
| 4378 | 4454 |
| 4379 core.int buildCounterGeoTargeting = 0; | 4455 core.int buildCounterGeoTargeting = 0; |
| 4380 buildGeoTargeting() { | 4456 buildGeoTargeting() { |
| 4381 var o = new api.GeoTargeting(); | 4457 var o = new api.GeoTargeting(); |
| 4382 buildCounterGeoTargeting++; | 4458 buildCounterGeoTargeting++; |
| 4383 if (buildCounterGeoTargeting < 3) { | 4459 if (buildCounterGeoTargeting < 3) { |
| 4384 o.cities = buildUnnamed1492(); | 4460 o.cities = buildUnnamed2228(); |
| 4385 o.countries = buildUnnamed1493(); | 4461 o.countries = buildUnnamed2229(); |
| 4386 o.excludeCountries = true; | 4462 o.excludeCountries = true; |
| 4387 o.metros = buildUnnamed1494(); | 4463 o.metros = buildUnnamed2230(); |
| 4388 o.postalCodes = buildUnnamed1495(); | 4464 o.postalCodes = buildUnnamed2231(); |
| 4389 o.regions = buildUnnamed1496(); | 4465 o.regions = buildUnnamed2232(); |
| 4390 } | 4466 } |
| 4391 buildCounterGeoTargeting--; | 4467 buildCounterGeoTargeting--; |
| 4392 return o; | 4468 return o; |
| 4393 } | 4469 } |
| 4394 | 4470 |
| 4395 checkGeoTargeting(api.GeoTargeting o) { | 4471 checkGeoTargeting(api.GeoTargeting o) { |
| 4396 buildCounterGeoTargeting++; | 4472 buildCounterGeoTargeting++; |
| 4397 if (buildCounterGeoTargeting < 3) { | 4473 if (buildCounterGeoTargeting < 3) { |
| 4398 checkUnnamed1492(o.cities); | 4474 checkUnnamed2228(o.cities); |
| 4399 checkUnnamed1493(o.countries); | 4475 checkUnnamed2229(o.countries); |
| 4400 unittest.expect(o.excludeCountries, unittest.isTrue); | 4476 unittest.expect(o.excludeCountries, unittest.isTrue); |
| 4401 checkUnnamed1494(o.metros); | 4477 checkUnnamed2230(o.metros); |
| 4402 checkUnnamed1495(o.postalCodes); | 4478 checkUnnamed2231(o.postalCodes); |
| 4403 checkUnnamed1496(o.regions); | 4479 checkUnnamed2232(o.regions); |
| 4404 } | 4480 } |
| 4405 buildCounterGeoTargeting--; | 4481 buildCounterGeoTargeting--; |
| 4406 } | 4482 } |
| 4407 | 4483 |
| 4408 buildUnnamed1497() { | 4484 buildUnnamed2233() { |
| 4409 var o = new core.List<api.AdSlot>(); | 4485 var o = new core.List<api.AdSlot>(); |
| 4410 o.add(buildAdSlot()); | 4486 o.add(buildAdSlot()); |
| 4411 o.add(buildAdSlot()); | 4487 o.add(buildAdSlot()); |
| 4412 return o; | 4488 return o; |
| 4413 } | 4489 } |
| 4414 | 4490 |
| 4415 checkUnnamed1497(core.List<api.AdSlot> o) { | 4491 checkUnnamed2233(core.List<api.AdSlot> o) { |
| 4416 unittest.expect(o, unittest.hasLength(2)); | 4492 unittest.expect(o, unittest.hasLength(2)); |
| 4417 checkAdSlot(o[0]); | 4493 checkAdSlot(o[0]); |
| 4418 checkAdSlot(o[1]); | 4494 checkAdSlot(o[1]); |
| 4419 } | 4495 } |
| 4420 | 4496 |
| 4421 core.int buildCounterInventoryItem = 0; | 4497 core.int buildCounterInventoryItem = 0; |
| 4422 buildInventoryItem() { | 4498 buildInventoryItem() { |
| 4423 var o = new api.InventoryItem(); | 4499 var o = new api.InventoryItem(); |
| 4424 buildCounterInventoryItem++; | 4500 buildCounterInventoryItem++; |
| 4425 if (buildCounterInventoryItem < 3) { | 4501 if (buildCounterInventoryItem < 3) { |
| 4426 o.accountId = "foo"; | 4502 o.accountId = "foo"; |
| 4427 o.adSlots = buildUnnamed1497(); | 4503 o.adSlots = buildUnnamed2233(); |
| 4428 o.advertiserId = "foo"; | 4504 o.advertiserId = "foo"; |
| 4429 o.contentCategoryId = "foo"; | 4505 o.contentCategoryId = "foo"; |
| 4430 o.estimatedClickThroughRate = "foo"; | 4506 o.estimatedClickThroughRate = "foo"; |
| 4431 o.estimatedConversionRate = "foo"; | 4507 o.estimatedConversionRate = "foo"; |
| 4432 o.id = "foo"; | 4508 o.id = "foo"; |
| 4433 o.inPlan = true; | 4509 o.inPlan = true; |
| 4434 o.kind = "foo"; | 4510 o.kind = "foo"; |
| 4435 o.lastModifiedInfo = buildLastModifiedInfo(); | 4511 o.lastModifiedInfo = buildLastModifiedInfo(); |
| 4436 o.name = "foo"; | 4512 o.name = "foo"; |
| 4437 o.negotiationChannelId = "foo"; | 4513 o.negotiationChannelId = "foo"; |
| 4438 o.orderId = "foo"; | 4514 o.orderId = "foo"; |
| 4439 o.placementStrategyId = "foo"; | 4515 o.placementStrategyId = "foo"; |
| 4440 o.pricing = buildPricing(); | 4516 o.pricing = buildPricing(); |
| 4441 o.projectId = "foo"; | 4517 o.projectId = "foo"; |
| 4442 o.rfpId = "foo"; | 4518 o.rfpId = "foo"; |
| 4443 o.siteId = "foo"; | 4519 o.siteId = "foo"; |
| 4444 o.subaccountId = "foo"; | 4520 o.subaccountId = "foo"; |
| 4445 o.type = "foo"; | 4521 o.type = "foo"; |
| 4446 } | 4522 } |
| 4447 buildCounterInventoryItem--; | 4523 buildCounterInventoryItem--; |
| 4448 return o; | 4524 return o; |
| 4449 } | 4525 } |
| 4450 | 4526 |
| 4451 checkInventoryItem(api.InventoryItem o) { | 4527 checkInventoryItem(api.InventoryItem o) { |
| 4452 buildCounterInventoryItem++; | 4528 buildCounterInventoryItem++; |
| 4453 if (buildCounterInventoryItem < 3) { | 4529 if (buildCounterInventoryItem < 3) { |
| 4454 unittest.expect(o.accountId, unittest.equals('foo')); | 4530 unittest.expect(o.accountId, unittest.equals('foo')); |
| 4455 checkUnnamed1497(o.adSlots); | 4531 checkUnnamed2233(o.adSlots); |
| 4456 unittest.expect(o.advertiserId, unittest.equals('foo')); | 4532 unittest.expect(o.advertiserId, unittest.equals('foo')); |
| 4457 unittest.expect(o.contentCategoryId, unittest.equals('foo')); | 4533 unittest.expect(o.contentCategoryId, unittest.equals('foo')); |
| 4458 unittest.expect(o.estimatedClickThroughRate, unittest.equals('foo')); | 4534 unittest.expect(o.estimatedClickThroughRate, unittest.equals('foo')); |
| 4459 unittest.expect(o.estimatedConversionRate, unittest.equals('foo')); | 4535 unittest.expect(o.estimatedConversionRate, unittest.equals('foo')); |
| 4460 unittest.expect(o.id, unittest.equals('foo')); | 4536 unittest.expect(o.id, unittest.equals('foo')); |
| 4461 unittest.expect(o.inPlan, unittest.isTrue); | 4537 unittest.expect(o.inPlan, unittest.isTrue); |
| 4462 unittest.expect(o.kind, unittest.equals('foo')); | 4538 unittest.expect(o.kind, unittest.equals('foo')); |
| 4463 checkLastModifiedInfo(o.lastModifiedInfo); | 4539 checkLastModifiedInfo(o.lastModifiedInfo); |
| 4464 unittest.expect(o.name, unittest.equals('foo')); | 4540 unittest.expect(o.name, unittest.equals('foo')); |
| 4465 unittest.expect(o.negotiationChannelId, unittest.equals('foo')); | 4541 unittest.expect(o.negotiationChannelId, unittest.equals('foo')); |
| 4466 unittest.expect(o.orderId, unittest.equals('foo')); | 4542 unittest.expect(o.orderId, unittest.equals('foo')); |
| 4467 unittest.expect(o.placementStrategyId, unittest.equals('foo')); | 4543 unittest.expect(o.placementStrategyId, unittest.equals('foo')); |
| 4468 checkPricing(o.pricing); | 4544 checkPricing(o.pricing); |
| 4469 unittest.expect(o.projectId, unittest.equals('foo')); | 4545 unittest.expect(o.projectId, unittest.equals('foo')); |
| 4470 unittest.expect(o.rfpId, unittest.equals('foo')); | 4546 unittest.expect(o.rfpId, unittest.equals('foo')); |
| 4471 unittest.expect(o.siteId, unittest.equals('foo')); | 4547 unittest.expect(o.siteId, unittest.equals('foo')); |
| 4472 unittest.expect(o.subaccountId, unittest.equals('foo')); | 4548 unittest.expect(o.subaccountId, unittest.equals('foo')); |
| 4473 unittest.expect(o.type, unittest.equals('foo')); | 4549 unittest.expect(o.type, unittest.equals('foo')); |
| 4474 } | 4550 } |
| 4475 buildCounterInventoryItem--; | 4551 buildCounterInventoryItem--; |
| 4476 } | 4552 } |
| 4477 | 4553 |
| 4478 buildUnnamed1498() { | 4554 buildUnnamed2234() { |
| 4479 var o = new core.List<api.InventoryItem>(); | 4555 var o = new core.List<api.InventoryItem>(); |
| 4480 o.add(buildInventoryItem()); | 4556 o.add(buildInventoryItem()); |
| 4481 o.add(buildInventoryItem()); | 4557 o.add(buildInventoryItem()); |
| 4482 return o; | 4558 return o; |
| 4483 } | 4559 } |
| 4484 | 4560 |
| 4485 checkUnnamed1498(core.List<api.InventoryItem> o) { | 4561 checkUnnamed2234(core.List<api.InventoryItem> o) { |
| 4486 unittest.expect(o, unittest.hasLength(2)); | 4562 unittest.expect(o, unittest.hasLength(2)); |
| 4487 checkInventoryItem(o[0]); | 4563 checkInventoryItem(o[0]); |
| 4488 checkInventoryItem(o[1]); | 4564 checkInventoryItem(o[1]); |
| 4489 } | 4565 } |
| 4490 | 4566 |
| 4491 core.int buildCounterInventoryItemsListResponse = 0; | 4567 core.int buildCounterInventoryItemsListResponse = 0; |
| 4492 buildInventoryItemsListResponse() { | 4568 buildInventoryItemsListResponse() { |
| 4493 var o = new api.InventoryItemsListResponse(); | 4569 var o = new api.InventoryItemsListResponse(); |
| 4494 buildCounterInventoryItemsListResponse++; | 4570 buildCounterInventoryItemsListResponse++; |
| 4495 if (buildCounterInventoryItemsListResponse < 3) { | 4571 if (buildCounterInventoryItemsListResponse < 3) { |
| 4496 o.inventoryItems = buildUnnamed1498(); | 4572 o.inventoryItems = buildUnnamed2234(); |
| 4497 o.kind = "foo"; | 4573 o.kind = "foo"; |
| 4498 o.nextPageToken = "foo"; | 4574 o.nextPageToken = "foo"; |
| 4499 } | 4575 } |
| 4500 buildCounterInventoryItemsListResponse--; | 4576 buildCounterInventoryItemsListResponse--; |
| 4501 return o; | 4577 return o; |
| 4502 } | 4578 } |
| 4503 | 4579 |
| 4504 checkInventoryItemsListResponse(api.InventoryItemsListResponse o) { | 4580 checkInventoryItemsListResponse(api.InventoryItemsListResponse o) { |
| 4505 buildCounterInventoryItemsListResponse++; | 4581 buildCounterInventoryItemsListResponse++; |
| 4506 if (buildCounterInventoryItemsListResponse < 3) { | 4582 if (buildCounterInventoryItemsListResponse < 3) { |
| 4507 checkUnnamed1498(o.inventoryItems); | 4583 checkUnnamed2234(o.inventoryItems); |
| 4508 unittest.expect(o.kind, unittest.equals('foo')); | 4584 unittest.expect(o.kind, unittest.equals('foo')); |
| 4509 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 4585 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 4510 } | 4586 } |
| 4511 buildCounterInventoryItemsListResponse--; | 4587 buildCounterInventoryItemsListResponse--; |
| 4512 } | 4588 } |
| 4513 | 4589 |
| 4514 core.int buildCounterKeyValueTargetingExpression = 0; | 4590 core.int buildCounterKeyValueTargetingExpression = 0; |
| 4515 buildKeyValueTargetingExpression() { | 4591 buildKeyValueTargetingExpression() { |
| 4516 var o = new api.KeyValueTargetingExpression(); | 4592 var o = new api.KeyValueTargetingExpression(); |
| 4517 buildCounterKeyValueTargetingExpression++; | 4593 buildCounterKeyValueTargetingExpression++; |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4550 if (buildCounterLandingPage < 3) { | 4626 if (buildCounterLandingPage < 3) { |
| 4551 unittest.expect(o.default_, unittest.isTrue); | 4627 unittest.expect(o.default_, unittest.isTrue); |
| 4552 unittest.expect(o.id, unittest.equals('foo')); | 4628 unittest.expect(o.id, unittest.equals('foo')); |
| 4553 unittest.expect(o.kind, unittest.equals('foo')); | 4629 unittest.expect(o.kind, unittest.equals('foo')); |
| 4554 unittest.expect(o.name, unittest.equals('foo')); | 4630 unittest.expect(o.name, unittest.equals('foo')); |
| 4555 unittest.expect(o.url, unittest.equals('foo')); | 4631 unittest.expect(o.url, unittest.equals('foo')); |
| 4556 } | 4632 } |
| 4557 buildCounterLandingPage--; | 4633 buildCounterLandingPage--; |
| 4558 } | 4634 } |
| 4559 | 4635 |
| 4560 buildUnnamed1499() { | 4636 buildUnnamed2235() { |
| 4561 var o = new core.List<api.LandingPage>(); | 4637 var o = new core.List<api.LandingPage>(); |
| 4562 o.add(buildLandingPage()); | 4638 o.add(buildLandingPage()); |
| 4563 o.add(buildLandingPage()); | 4639 o.add(buildLandingPage()); |
| 4564 return o; | 4640 return o; |
| 4565 } | 4641 } |
| 4566 | 4642 |
| 4567 checkUnnamed1499(core.List<api.LandingPage> o) { | 4643 checkUnnamed2235(core.List<api.LandingPage> o) { |
| 4568 unittest.expect(o, unittest.hasLength(2)); | 4644 unittest.expect(o, unittest.hasLength(2)); |
| 4569 checkLandingPage(o[0]); | 4645 checkLandingPage(o[0]); |
| 4570 checkLandingPage(o[1]); | 4646 checkLandingPage(o[1]); |
| 4571 } | 4647 } |
| 4572 | 4648 |
| 4573 core.int buildCounterLandingPagesListResponse = 0; | 4649 core.int buildCounterLandingPagesListResponse = 0; |
| 4574 buildLandingPagesListResponse() { | 4650 buildLandingPagesListResponse() { |
| 4575 var o = new api.LandingPagesListResponse(); | 4651 var o = new api.LandingPagesListResponse(); |
| 4576 buildCounterLandingPagesListResponse++; | 4652 buildCounterLandingPagesListResponse++; |
| 4577 if (buildCounterLandingPagesListResponse < 3) { | 4653 if (buildCounterLandingPagesListResponse < 3) { |
| 4578 o.kind = "foo"; | 4654 o.kind = "foo"; |
| 4579 o.landingPages = buildUnnamed1499(); | 4655 o.landingPages = buildUnnamed2235(); |
| 4580 } | 4656 } |
| 4581 buildCounterLandingPagesListResponse--; | 4657 buildCounterLandingPagesListResponse--; |
| 4582 return o; | 4658 return o; |
| 4583 } | 4659 } |
| 4584 | 4660 |
| 4585 checkLandingPagesListResponse(api.LandingPagesListResponse o) { | 4661 checkLandingPagesListResponse(api.LandingPagesListResponse o) { |
| 4586 buildCounterLandingPagesListResponse++; | 4662 buildCounterLandingPagesListResponse++; |
| 4587 if (buildCounterLandingPagesListResponse < 3) { | 4663 if (buildCounterLandingPagesListResponse < 3) { |
| 4588 unittest.expect(o.kind, unittest.equals('foo')); | 4664 unittest.expect(o.kind, unittest.equals('foo')); |
| 4589 checkUnnamed1499(o.landingPages); | 4665 checkUnnamed2235(o.landingPages); |
| 4590 } | 4666 } |
| 4591 buildCounterLandingPagesListResponse--; | 4667 buildCounterLandingPagesListResponse--; |
| 4592 } | 4668 } |
| 4593 | 4669 |
| 4670 core.int buildCounterLanguage = 0; |
| 4671 buildLanguage() { |
| 4672 var o = new api.Language(); |
| 4673 buildCounterLanguage++; |
| 4674 if (buildCounterLanguage < 3) { |
| 4675 o.id = "foo"; |
| 4676 o.kind = "foo"; |
| 4677 o.languageCode = "foo"; |
| 4678 o.name = "foo"; |
| 4679 } |
| 4680 buildCounterLanguage--; |
| 4681 return o; |
| 4682 } |
| 4683 |
| 4684 checkLanguage(api.Language o) { |
| 4685 buildCounterLanguage++; |
| 4686 if (buildCounterLanguage < 3) { |
| 4687 unittest.expect(o.id, unittest.equals('foo')); |
| 4688 unittest.expect(o.kind, unittest.equals('foo')); |
| 4689 unittest.expect(o.languageCode, unittest.equals('foo')); |
| 4690 unittest.expect(o.name, unittest.equals('foo')); |
| 4691 } |
| 4692 buildCounterLanguage--; |
| 4693 } |
| 4694 |
| 4695 buildUnnamed2236() { |
| 4696 var o = new core.List<api.Language>(); |
| 4697 o.add(buildLanguage()); |
| 4698 o.add(buildLanguage()); |
| 4699 return o; |
| 4700 } |
| 4701 |
| 4702 checkUnnamed2236(core.List<api.Language> o) { |
| 4703 unittest.expect(o, unittest.hasLength(2)); |
| 4704 checkLanguage(o[0]); |
| 4705 checkLanguage(o[1]); |
| 4706 } |
| 4707 |
| 4708 core.int buildCounterLanguageTargeting = 0; |
| 4709 buildLanguageTargeting() { |
| 4710 var o = new api.LanguageTargeting(); |
| 4711 buildCounterLanguageTargeting++; |
| 4712 if (buildCounterLanguageTargeting < 3) { |
| 4713 o.languages = buildUnnamed2236(); |
| 4714 } |
| 4715 buildCounterLanguageTargeting--; |
| 4716 return o; |
| 4717 } |
| 4718 |
| 4719 checkLanguageTargeting(api.LanguageTargeting o) { |
| 4720 buildCounterLanguageTargeting++; |
| 4721 if (buildCounterLanguageTargeting < 3) { |
| 4722 checkUnnamed2236(o.languages); |
| 4723 } |
| 4724 buildCounterLanguageTargeting--; |
| 4725 } |
| 4726 |
| 4727 buildUnnamed2237() { |
| 4728 var o = new core.List<api.Language>(); |
| 4729 o.add(buildLanguage()); |
| 4730 o.add(buildLanguage()); |
| 4731 return o; |
| 4732 } |
| 4733 |
| 4734 checkUnnamed2237(core.List<api.Language> o) { |
| 4735 unittest.expect(o, unittest.hasLength(2)); |
| 4736 checkLanguage(o[0]); |
| 4737 checkLanguage(o[1]); |
| 4738 } |
| 4739 |
| 4740 core.int buildCounterLanguagesListResponse = 0; |
| 4741 buildLanguagesListResponse() { |
| 4742 var o = new api.LanguagesListResponse(); |
| 4743 buildCounterLanguagesListResponse++; |
| 4744 if (buildCounterLanguagesListResponse < 3) { |
| 4745 o.kind = "foo"; |
| 4746 o.languages = buildUnnamed2237(); |
| 4747 } |
| 4748 buildCounterLanguagesListResponse--; |
| 4749 return o; |
| 4750 } |
| 4751 |
| 4752 checkLanguagesListResponse(api.LanguagesListResponse o) { |
| 4753 buildCounterLanguagesListResponse++; |
| 4754 if (buildCounterLanguagesListResponse < 3) { |
| 4755 unittest.expect(o.kind, unittest.equals('foo')); |
| 4756 checkUnnamed2237(o.languages); |
| 4757 } |
| 4758 buildCounterLanguagesListResponse--; |
| 4759 } |
| 4760 |
| 4594 core.int buildCounterLastModifiedInfo = 0; | 4761 core.int buildCounterLastModifiedInfo = 0; |
| 4595 buildLastModifiedInfo() { | 4762 buildLastModifiedInfo() { |
| 4596 var o = new api.LastModifiedInfo(); | 4763 var o = new api.LastModifiedInfo(); |
| 4597 buildCounterLastModifiedInfo++; | 4764 buildCounterLastModifiedInfo++; |
| 4598 if (buildCounterLastModifiedInfo < 3) { | 4765 if (buildCounterLastModifiedInfo < 3) { |
| 4599 o.time = "foo"; | 4766 o.time = "foo"; |
| 4600 } | 4767 } |
| 4601 buildCounterLastModifiedInfo--; | 4768 buildCounterLastModifiedInfo--; |
| 4602 return o; | 4769 return o; |
| 4603 } | 4770 } |
| 4604 | 4771 |
| 4605 checkLastModifiedInfo(api.LastModifiedInfo o) { | 4772 checkLastModifiedInfo(api.LastModifiedInfo o) { |
| 4606 buildCounterLastModifiedInfo++; | 4773 buildCounterLastModifiedInfo++; |
| 4607 if (buildCounterLastModifiedInfo < 3) { | 4774 if (buildCounterLastModifiedInfo < 3) { |
| 4608 unittest.expect(o.time, unittest.equals('foo')); | 4775 unittest.expect(o.time, unittest.equals('foo')); |
| 4609 } | 4776 } |
| 4610 buildCounterLastModifiedInfo--; | 4777 buildCounterLastModifiedInfo--; |
| 4611 } | 4778 } |
| 4612 | 4779 |
| 4613 buildUnnamed1500() { | 4780 buildUnnamed2238() { |
| 4614 var o = new core.List<api.ListPopulationTerm>(); | 4781 var o = new core.List<api.ListPopulationTerm>(); |
| 4615 o.add(buildListPopulationTerm()); | 4782 o.add(buildListPopulationTerm()); |
| 4616 o.add(buildListPopulationTerm()); | 4783 o.add(buildListPopulationTerm()); |
| 4617 return o; | 4784 return o; |
| 4618 } | 4785 } |
| 4619 | 4786 |
| 4620 checkUnnamed1500(core.List<api.ListPopulationTerm> o) { | 4787 checkUnnamed2238(core.List<api.ListPopulationTerm> o) { |
| 4621 unittest.expect(o, unittest.hasLength(2)); | 4788 unittest.expect(o, unittest.hasLength(2)); |
| 4622 checkListPopulationTerm(o[0]); | 4789 checkListPopulationTerm(o[0]); |
| 4623 checkListPopulationTerm(o[1]); | 4790 checkListPopulationTerm(o[1]); |
| 4624 } | 4791 } |
| 4625 | 4792 |
| 4626 core.int buildCounterListPopulationClause = 0; | 4793 core.int buildCounterListPopulationClause = 0; |
| 4627 buildListPopulationClause() { | 4794 buildListPopulationClause() { |
| 4628 var o = new api.ListPopulationClause(); | 4795 var o = new api.ListPopulationClause(); |
| 4629 buildCounterListPopulationClause++; | 4796 buildCounterListPopulationClause++; |
| 4630 if (buildCounterListPopulationClause < 3) { | 4797 if (buildCounterListPopulationClause < 3) { |
| 4631 o.terms = buildUnnamed1500(); | 4798 o.terms = buildUnnamed2238(); |
| 4632 } | 4799 } |
| 4633 buildCounterListPopulationClause--; | 4800 buildCounterListPopulationClause--; |
| 4634 return o; | 4801 return o; |
| 4635 } | 4802 } |
| 4636 | 4803 |
| 4637 checkListPopulationClause(api.ListPopulationClause o) { | 4804 checkListPopulationClause(api.ListPopulationClause o) { |
| 4638 buildCounterListPopulationClause++; | 4805 buildCounterListPopulationClause++; |
| 4639 if (buildCounterListPopulationClause < 3) { | 4806 if (buildCounterListPopulationClause < 3) { |
| 4640 checkUnnamed1500(o.terms); | 4807 checkUnnamed2238(o.terms); |
| 4641 } | 4808 } |
| 4642 buildCounterListPopulationClause--; | 4809 buildCounterListPopulationClause--; |
| 4643 } | 4810 } |
| 4644 | 4811 |
| 4645 buildUnnamed1501() { | 4812 buildUnnamed2239() { |
| 4646 var o = new core.List<api.ListPopulationClause>(); | 4813 var o = new core.List<api.ListPopulationClause>(); |
| 4647 o.add(buildListPopulationClause()); | 4814 o.add(buildListPopulationClause()); |
| 4648 o.add(buildListPopulationClause()); | 4815 o.add(buildListPopulationClause()); |
| 4649 return o; | 4816 return o; |
| 4650 } | 4817 } |
| 4651 | 4818 |
| 4652 checkUnnamed1501(core.List<api.ListPopulationClause> o) { | 4819 checkUnnamed2239(core.List<api.ListPopulationClause> o) { |
| 4653 unittest.expect(o, unittest.hasLength(2)); | 4820 unittest.expect(o, unittest.hasLength(2)); |
| 4654 checkListPopulationClause(o[0]); | 4821 checkListPopulationClause(o[0]); |
| 4655 checkListPopulationClause(o[1]); | 4822 checkListPopulationClause(o[1]); |
| 4656 } | 4823 } |
| 4657 | 4824 |
| 4658 core.int buildCounterListPopulationRule = 0; | 4825 core.int buildCounterListPopulationRule = 0; |
| 4659 buildListPopulationRule() { | 4826 buildListPopulationRule() { |
| 4660 var o = new api.ListPopulationRule(); | 4827 var o = new api.ListPopulationRule(); |
| 4661 buildCounterListPopulationRule++; | 4828 buildCounterListPopulationRule++; |
| 4662 if (buildCounterListPopulationRule < 3) { | 4829 if (buildCounterListPopulationRule < 3) { |
| 4663 o.floodlightActivityId = "foo"; | 4830 o.floodlightActivityId = "foo"; |
| 4664 o.floodlightActivityName = "foo"; | 4831 o.floodlightActivityName = "foo"; |
| 4665 o.listPopulationClauses = buildUnnamed1501(); | 4832 o.listPopulationClauses = buildUnnamed2239(); |
| 4666 } | 4833 } |
| 4667 buildCounterListPopulationRule--; | 4834 buildCounterListPopulationRule--; |
| 4668 return o; | 4835 return o; |
| 4669 } | 4836 } |
| 4670 | 4837 |
| 4671 checkListPopulationRule(api.ListPopulationRule o) { | 4838 checkListPopulationRule(api.ListPopulationRule o) { |
| 4672 buildCounterListPopulationRule++; | 4839 buildCounterListPopulationRule++; |
| 4673 if (buildCounterListPopulationRule < 3) { | 4840 if (buildCounterListPopulationRule < 3) { |
| 4674 unittest.expect(o.floodlightActivityId, unittest.equals('foo')); | 4841 unittest.expect(o.floodlightActivityId, unittest.equals('foo')); |
| 4675 unittest.expect(o.floodlightActivityName, unittest.equals('foo')); | 4842 unittest.expect(o.floodlightActivityName, unittest.equals('foo')); |
| 4676 checkUnnamed1501(o.listPopulationClauses); | 4843 checkUnnamed2239(o.listPopulationClauses); |
| 4677 } | 4844 } |
| 4678 buildCounterListPopulationRule--; | 4845 buildCounterListPopulationRule--; |
| 4679 } | 4846 } |
| 4680 | 4847 |
| 4681 core.int buildCounterListPopulationTerm = 0; | 4848 core.int buildCounterListPopulationTerm = 0; |
| 4682 buildListPopulationTerm() { | 4849 buildListPopulationTerm() { |
| 4683 var o = new api.ListPopulationTerm(); | 4850 var o = new api.ListPopulationTerm(); |
| 4684 buildCounterListPopulationTerm++; | 4851 buildCounterListPopulationTerm++; |
| 4685 if (buildCounterListPopulationTerm < 3) { | 4852 if (buildCounterListPopulationTerm < 3) { |
| 4686 o.contains = true; | 4853 o.contains = true; |
| (...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4796 unittest.expect(o.countryDartId, unittest.equals('foo')); | 4963 unittest.expect(o.countryDartId, unittest.equals('foo')); |
| 4797 unittest.expect(o.dartId, unittest.equals('foo')); | 4964 unittest.expect(o.dartId, unittest.equals('foo')); |
| 4798 unittest.expect(o.dmaId, unittest.equals('foo')); | 4965 unittest.expect(o.dmaId, unittest.equals('foo')); |
| 4799 unittest.expect(o.kind, unittest.equals('foo')); | 4966 unittest.expect(o.kind, unittest.equals('foo')); |
| 4800 unittest.expect(o.metroCode, unittest.equals('foo')); | 4967 unittest.expect(o.metroCode, unittest.equals('foo')); |
| 4801 unittest.expect(o.name, unittest.equals('foo')); | 4968 unittest.expect(o.name, unittest.equals('foo')); |
| 4802 } | 4969 } |
| 4803 buildCounterMetro--; | 4970 buildCounterMetro--; |
| 4804 } | 4971 } |
| 4805 | 4972 |
| 4806 buildUnnamed1502() { | 4973 buildUnnamed2240() { |
| 4807 var o = new core.List<api.Metro>(); | 4974 var o = new core.List<api.Metro>(); |
| 4808 o.add(buildMetro()); | 4975 o.add(buildMetro()); |
| 4809 o.add(buildMetro()); | 4976 o.add(buildMetro()); |
| 4810 return o; | 4977 return o; |
| 4811 } | 4978 } |
| 4812 | 4979 |
| 4813 checkUnnamed1502(core.List<api.Metro> o) { | 4980 checkUnnamed2240(core.List<api.Metro> o) { |
| 4814 unittest.expect(o, unittest.hasLength(2)); | 4981 unittest.expect(o, unittest.hasLength(2)); |
| 4815 checkMetro(o[0]); | 4982 checkMetro(o[0]); |
| 4816 checkMetro(o[1]); | 4983 checkMetro(o[1]); |
| 4817 } | 4984 } |
| 4818 | 4985 |
| 4819 core.int buildCounterMetrosListResponse = 0; | 4986 core.int buildCounterMetrosListResponse = 0; |
| 4820 buildMetrosListResponse() { | 4987 buildMetrosListResponse() { |
| 4821 var o = new api.MetrosListResponse(); | 4988 var o = new api.MetrosListResponse(); |
| 4822 buildCounterMetrosListResponse++; | 4989 buildCounterMetrosListResponse++; |
| 4823 if (buildCounterMetrosListResponse < 3) { | 4990 if (buildCounterMetrosListResponse < 3) { |
| 4824 o.kind = "foo"; | 4991 o.kind = "foo"; |
| 4825 o.metros = buildUnnamed1502(); | 4992 o.metros = buildUnnamed2240(); |
| 4826 } | 4993 } |
| 4827 buildCounterMetrosListResponse--; | 4994 buildCounterMetrosListResponse--; |
| 4828 return o; | 4995 return o; |
| 4829 } | 4996 } |
| 4830 | 4997 |
| 4831 checkMetrosListResponse(api.MetrosListResponse o) { | 4998 checkMetrosListResponse(api.MetrosListResponse o) { |
| 4832 buildCounterMetrosListResponse++; | 4999 buildCounterMetrosListResponse++; |
| 4833 if (buildCounterMetrosListResponse < 3) { | 5000 if (buildCounterMetrosListResponse < 3) { |
| 4834 unittest.expect(o.kind, unittest.equals('foo')); | 5001 unittest.expect(o.kind, unittest.equals('foo')); |
| 4835 checkUnnamed1502(o.metros); | 5002 checkUnnamed2240(o.metros); |
| 4836 } | 5003 } |
| 4837 buildCounterMetrosListResponse--; | 5004 buildCounterMetrosListResponse--; |
| 4838 } | 5005 } |
| 4839 | 5006 |
| 4840 core.int buildCounterMobileCarrier = 0; | 5007 core.int buildCounterMobileCarrier = 0; |
| 4841 buildMobileCarrier() { | 5008 buildMobileCarrier() { |
| 4842 var o = new api.MobileCarrier(); | 5009 var o = new api.MobileCarrier(); |
| 4843 buildCounterMobileCarrier++; | 5010 buildCounterMobileCarrier++; |
| 4844 if (buildCounterMobileCarrier < 3) { | 5011 if (buildCounterMobileCarrier < 3) { |
| 4845 o.countryCode = "foo"; | 5012 o.countryCode = "foo"; |
| (...skipping 11 matching lines...) Expand all Loading... |
| 4857 if (buildCounterMobileCarrier < 3) { | 5024 if (buildCounterMobileCarrier < 3) { |
| 4858 unittest.expect(o.countryCode, unittest.equals('foo')); | 5025 unittest.expect(o.countryCode, unittest.equals('foo')); |
| 4859 unittest.expect(o.countryDartId, unittest.equals('foo')); | 5026 unittest.expect(o.countryDartId, unittest.equals('foo')); |
| 4860 unittest.expect(o.id, unittest.equals('foo')); | 5027 unittest.expect(o.id, unittest.equals('foo')); |
| 4861 unittest.expect(o.kind, unittest.equals('foo')); | 5028 unittest.expect(o.kind, unittest.equals('foo')); |
| 4862 unittest.expect(o.name, unittest.equals('foo')); | 5029 unittest.expect(o.name, unittest.equals('foo')); |
| 4863 } | 5030 } |
| 4864 buildCounterMobileCarrier--; | 5031 buildCounterMobileCarrier--; |
| 4865 } | 5032 } |
| 4866 | 5033 |
| 4867 buildUnnamed1503() { | 5034 buildUnnamed2241() { |
| 4868 var o = new core.List<api.MobileCarrier>(); | 5035 var o = new core.List<api.MobileCarrier>(); |
| 4869 o.add(buildMobileCarrier()); | 5036 o.add(buildMobileCarrier()); |
| 4870 o.add(buildMobileCarrier()); | 5037 o.add(buildMobileCarrier()); |
| 4871 return o; | 5038 return o; |
| 4872 } | 5039 } |
| 4873 | 5040 |
| 4874 checkUnnamed1503(core.List<api.MobileCarrier> o) { | 5041 checkUnnamed2241(core.List<api.MobileCarrier> o) { |
| 4875 unittest.expect(o, unittest.hasLength(2)); | 5042 unittest.expect(o, unittest.hasLength(2)); |
| 4876 checkMobileCarrier(o[0]); | 5043 checkMobileCarrier(o[0]); |
| 4877 checkMobileCarrier(o[1]); | 5044 checkMobileCarrier(o[1]); |
| 4878 } | 5045 } |
| 4879 | 5046 |
| 4880 core.int buildCounterMobileCarriersListResponse = 0; | 5047 core.int buildCounterMobileCarriersListResponse = 0; |
| 4881 buildMobileCarriersListResponse() { | 5048 buildMobileCarriersListResponse() { |
| 4882 var o = new api.MobileCarriersListResponse(); | 5049 var o = new api.MobileCarriersListResponse(); |
| 4883 buildCounterMobileCarriersListResponse++; | 5050 buildCounterMobileCarriersListResponse++; |
| 4884 if (buildCounterMobileCarriersListResponse < 3) { | 5051 if (buildCounterMobileCarriersListResponse < 3) { |
| 4885 o.kind = "foo"; | 5052 o.kind = "foo"; |
| 4886 o.mobileCarriers = buildUnnamed1503(); | 5053 o.mobileCarriers = buildUnnamed2241(); |
| 4887 } | 5054 } |
| 4888 buildCounterMobileCarriersListResponse--; | 5055 buildCounterMobileCarriersListResponse--; |
| 4889 return o; | 5056 return o; |
| 4890 } | 5057 } |
| 4891 | 5058 |
| 4892 checkMobileCarriersListResponse(api.MobileCarriersListResponse o) { | 5059 checkMobileCarriersListResponse(api.MobileCarriersListResponse o) { |
| 4893 buildCounterMobileCarriersListResponse++; | 5060 buildCounterMobileCarriersListResponse++; |
| 4894 if (buildCounterMobileCarriersListResponse < 3) { | 5061 if (buildCounterMobileCarriersListResponse < 3) { |
| 4895 unittest.expect(o.kind, unittest.equals('foo')); | 5062 unittest.expect(o.kind, unittest.equals('foo')); |
| 4896 checkUnnamed1503(o.mobileCarriers); | 5063 checkUnnamed2241(o.mobileCarriers); |
| 4897 } | 5064 } |
| 4898 buildCounterMobileCarriersListResponse--; | 5065 buildCounterMobileCarriersListResponse--; |
| 4899 } | 5066 } |
| 4900 | 5067 |
| 4901 buildUnnamed1504() { | 5068 buildUnnamed2242() { |
| 4902 var o = new core.List<core.String>(); | 5069 var o = new core.List<core.String>(); |
| 4903 o.add("foo"); | 5070 o.add("foo"); |
| 4904 o.add("foo"); | 5071 o.add("foo"); |
| 4905 return o; | 5072 return o; |
| 4906 } | 5073 } |
| 4907 | 5074 |
| 4908 checkUnnamed1504(core.List<core.String> o) { | 5075 checkUnnamed2242(core.List<core.String> o) { |
| 4909 unittest.expect(o, unittest.hasLength(2)); | 5076 unittest.expect(o, unittest.hasLength(2)); |
| 4910 unittest.expect(o[0], unittest.equals('foo')); | 5077 unittest.expect(o[0], unittest.equals('foo')); |
| 4911 unittest.expect(o[1], unittest.equals('foo')); | 5078 unittest.expect(o[1], unittest.equals('foo')); |
| 4912 } | 5079 } |
| 4913 | 5080 |
| 4914 core.int buildCounterObjectFilter = 0; | 5081 core.int buildCounterObjectFilter = 0; |
| 4915 buildObjectFilter() { | 5082 buildObjectFilter() { |
| 4916 var o = new api.ObjectFilter(); | 5083 var o = new api.ObjectFilter(); |
| 4917 buildCounterObjectFilter++; | 5084 buildCounterObjectFilter++; |
| 4918 if (buildCounterObjectFilter < 3) { | 5085 if (buildCounterObjectFilter < 3) { |
| 4919 o.kind = "foo"; | 5086 o.kind = "foo"; |
| 4920 o.objectIds = buildUnnamed1504(); | 5087 o.objectIds = buildUnnamed2242(); |
| 4921 o.status = "foo"; | 5088 o.status = "foo"; |
| 4922 } | 5089 } |
| 4923 buildCounterObjectFilter--; | 5090 buildCounterObjectFilter--; |
| 4924 return o; | 5091 return o; |
| 4925 } | 5092 } |
| 4926 | 5093 |
| 4927 checkObjectFilter(api.ObjectFilter o) { | 5094 checkObjectFilter(api.ObjectFilter o) { |
| 4928 buildCounterObjectFilter++; | 5095 buildCounterObjectFilter++; |
| 4929 if (buildCounterObjectFilter < 3) { | 5096 if (buildCounterObjectFilter < 3) { |
| 4930 unittest.expect(o.kind, unittest.equals('foo')); | 5097 unittest.expect(o.kind, unittest.equals('foo')); |
| 4931 checkUnnamed1504(o.objectIds); | 5098 checkUnnamed2242(o.objectIds); |
| 4932 unittest.expect(o.status, unittest.equals('foo')); | 5099 unittest.expect(o.status, unittest.equals('foo')); |
| 4933 } | 5100 } |
| 4934 buildCounterObjectFilter--; | 5101 buildCounterObjectFilter--; |
| 4935 } | 5102 } |
| 4936 | 5103 |
| 4937 core.int buildCounterOffsetPosition = 0; | 5104 core.int buildCounterOffsetPosition = 0; |
| 4938 buildOffsetPosition() { | 5105 buildOffsetPosition() { |
| 4939 var o = new api.OffsetPosition(); | 5106 var o = new api.OffsetPosition(); |
| 4940 buildCounterOffsetPosition++; | 5107 buildCounterOffsetPosition++; |
| 4941 if (buildCounterOffsetPosition < 3) { | 5108 if (buildCounterOffsetPosition < 3) { |
| (...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5025 unittest.expect(o.id, unittest.equals('foo')); | 5192 unittest.expect(o.id, unittest.equals('foo')); |
| 5026 unittest.expect(o.kind, unittest.equals('foo')); | 5193 unittest.expect(o.kind, unittest.equals('foo')); |
| 5027 unittest.expect(o.majorVersion, unittest.equals('foo')); | 5194 unittest.expect(o.majorVersion, unittest.equals('foo')); |
| 5028 unittest.expect(o.minorVersion, unittest.equals('foo')); | 5195 unittest.expect(o.minorVersion, unittest.equals('foo')); |
| 5029 unittest.expect(o.name, unittest.equals('foo')); | 5196 unittest.expect(o.name, unittest.equals('foo')); |
| 5030 checkOperatingSystem(o.operatingSystem); | 5197 checkOperatingSystem(o.operatingSystem); |
| 5031 } | 5198 } |
| 5032 buildCounterOperatingSystemVersion--; | 5199 buildCounterOperatingSystemVersion--; |
| 5033 } | 5200 } |
| 5034 | 5201 |
| 5035 buildUnnamed1505() { | 5202 buildUnnamed2243() { |
| 5036 var o = new core.List<api.OperatingSystemVersion>(); | 5203 var o = new core.List<api.OperatingSystemVersion>(); |
| 5037 o.add(buildOperatingSystemVersion()); | 5204 o.add(buildOperatingSystemVersion()); |
| 5038 o.add(buildOperatingSystemVersion()); | 5205 o.add(buildOperatingSystemVersion()); |
| 5039 return o; | 5206 return o; |
| 5040 } | 5207 } |
| 5041 | 5208 |
| 5042 checkUnnamed1505(core.List<api.OperatingSystemVersion> o) { | 5209 checkUnnamed2243(core.List<api.OperatingSystemVersion> o) { |
| 5043 unittest.expect(o, unittest.hasLength(2)); | 5210 unittest.expect(o, unittest.hasLength(2)); |
| 5044 checkOperatingSystemVersion(o[0]); | 5211 checkOperatingSystemVersion(o[0]); |
| 5045 checkOperatingSystemVersion(o[1]); | 5212 checkOperatingSystemVersion(o[1]); |
| 5046 } | 5213 } |
| 5047 | 5214 |
| 5048 core.int buildCounterOperatingSystemVersionsListResponse = 0; | 5215 core.int buildCounterOperatingSystemVersionsListResponse = 0; |
| 5049 buildOperatingSystemVersionsListResponse() { | 5216 buildOperatingSystemVersionsListResponse() { |
| 5050 var o = new api.OperatingSystemVersionsListResponse(); | 5217 var o = new api.OperatingSystemVersionsListResponse(); |
| 5051 buildCounterOperatingSystemVersionsListResponse++; | 5218 buildCounterOperatingSystemVersionsListResponse++; |
| 5052 if (buildCounterOperatingSystemVersionsListResponse < 3) { | 5219 if (buildCounterOperatingSystemVersionsListResponse < 3) { |
| 5053 o.kind = "foo"; | 5220 o.kind = "foo"; |
| 5054 o.operatingSystemVersions = buildUnnamed1505(); | 5221 o.operatingSystemVersions = buildUnnamed2243(); |
| 5055 } | 5222 } |
| 5056 buildCounterOperatingSystemVersionsListResponse--; | 5223 buildCounterOperatingSystemVersionsListResponse--; |
| 5057 return o; | 5224 return o; |
| 5058 } | 5225 } |
| 5059 | 5226 |
| 5060 checkOperatingSystemVersionsListResponse(api.OperatingSystemVersionsListResponse
o) { | 5227 checkOperatingSystemVersionsListResponse(api.OperatingSystemVersionsListResponse
o) { |
| 5061 buildCounterOperatingSystemVersionsListResponse++; | 5228 buildCounterOperatingSystemVersionsListResponse++; |
| 5062 if (buildCounterOperatingSystemVersionsListResponse < 3) { | 5229 if (buildCounterOperatingSystemVersionsListResponse < 3) { |
| 5063 unittest.expect(o.kind, unittest.equals('foo')); | 5230 unittest.expect(o.kind, unittest.equals('foo')); |
| 5064 checkUnnamed1505(o.operatingSystemVersions); | 5231 checkUnnamed2243(o.operatingSystemVersions); |
| 5065 } | 5232 } |
| 5066 buildCounterOperatingSystemVersionsListResponse--; | 5233 buildCounterOperatingSystemVersionsListResponse--; |
| 5067 } | 5234 } |
| 5068 | 5235 |
| 5069 buildUnnamed1506() { | 5236 buildUnnamed2244() { |
| 5070 var o = new core.List<api.OperatingSystem>(); | 5237 var o = new core.List<api.OperatingSystem>(); |
| 5071 o.add(buildOperatingSystem()); | 5238 o.add(buildOperatingSystem()); |
| 5072 o.add(buildOperatingSystem()); | 5239 o.add(buildOperatingSystem()); |
| 5073 return o; | 5240 return o; |
| 5074 } | 5241 } |
| 5075 | 5242 |
| 5076 checkUnnamed1506(core.List<api.OperatingSystem> o) { | 5243 checkUnnamed2244(core.List<api.OperatingSystem> o) { |
| 5077 unittest.expect(o, unittest.hasLength(2)); | 5244 unittest.expect(o, unittest.hasLength(2)); |
| 5078 checkOperatingSystem(o[0]); | 5245 checkOperatingSystem(o[0]); |
| 5079 checkOperatingSystem(o[1]); | 5246 checkOperatingSystem(o[1]); |
| 5080 } | 5247 } |
| 5081 | 5248 |
| 5082 core.int buildCounterOperatingSystemsListResponse = 0; | 5249 core.int buildCounterOperatingSystemsListResponse = 0; |
| 5083 buildOperatingSystemsListResponse() { | 5250 buildOperatingSystemsListResponse() { |
| 5084 var o = new api.OperatingSystemsListResponse(); | 5251 var o = new api.OperatingSystemsListResponse(); |
| 5085 buildCounterOperatingSystemsListResponse++; | 5252 buildCounterOperatingSystemsListResponse++; |
| 5086 if (buildCounterOperatingSystemsListResponse < 3) { | 5253 if (buildCounterOperatingSystemsListResponse < 3) { |
| 5087 o.kind = "foo"; | 5254 o.kind = "foo"; |
| 5088 o.operatingSystems = buildUnnamed1506(); | 5255 o.operatingSystems = buildUnnamed2244(); |
| 5089 } | 5256 } |
| 5090 buildCounterOperatingSystemsListResponse--; | 5257 buildCounterOperatingSystemsListResponse--; |
| 5091 return o; | 5258 return o; |
| 5092 } | 5259 } |
| 5093 | 5260 |
| 5094 checkOperatingSystemsListResponse(api.OperatingSystemsListResponse o) { | 5261 checkOperatingSystemsListResponse(api.OperatingSystemsListResponse o) { |
| 5095 buildCounterOperatingSystemsListResponse++; | 5262 buildCounterOperatingSystemsListResponse++; |
| 5096 if (buildCounterOperatingSystemsListResponse < 3) { | 5263 if (buildCounterOperatingSystemsListResponse < 3) { |
| 5097 unittest.expect(o.kind, unittest.equals('foo')); | 5264 unittest.expect(o.kind, unittest.equals('foo')); |
| 5098 checkUnnamed1506(o.operatingSystems); | 5265 checkUnnamed2244(o.operatingSystems); |
| 5099 } | 5266 } |
| 5100 buildCounterOperatingSystemsListResponse--; | 5267 buildCounterOperatingSystemsListResponse--; |
| 5101 } | 5268 } |
| 5102 | 5269 |
| 5103 core.int buildCounterOptimizationActivity = 0; | 5270 core.int buildCounterOptimizationActivity = 0; |
| 5104 buildOptimizationActivity() { | 5271 buildOptimizationActivity() { |
| 5105 var o = new api.OptimizationActivity(); | 5272 var o = new api.OptimizationActivity(); |
| 5106 buildCounterOptimizationActivity++; | 5273 buildCounterOptimizationActivity++; |
| 5107 if (buildCounterOptimizationActivity < 3) { | 5274 if (buildCounterOptimizationActivity < 3) { |
| 5108 o.floodlightActivityId = "foo"; | 5275 o.floodlightActivityId = "foo"; |
| 5109 o.floodlightActivityIdDimensionValue = buildDimensionValue(); | 5276 o.floodlightActivityIdDimensionValue = buildDimensionValue(); |
| 5110 o.weight = 42; | 5277 o.weight = 42; |
| 5111 } | 5278 } |
| 5112 buildCounterOptimizationActivity--; | 5279 buildCounterOptimizationActivity--; |
| 5113 return o; | 5280 return o; |
| 5114 } | 5281 } |
| 5115 | 5282 |
| 5116 checkOptimizationActivity(api.OptimizationActivity o) { | 5283 checkOptimizationActivity(api.OptimizationActivity o) { |
| 5117 buildCounterOptimizationActivity++; | 5284 buildCounterOptimizationActivity++; |
| 5118 if (buildCounterOptimizationActivity < 3) { | 5285 if (buildCounterOptimizationActivity < 3) { |
| 5119 unittest.expect(o.floodlightActivityId, unittest.equals('foo')); | 5286 unittest.expect(o.floodlightActivityId, unittest.equals('foo')); |
| 5120 checkDimensionValue(o.floodlightActivityIdDimensionValue); | 5287 checkDimensionValue(o.floodlightActivityIdDimensionValue); |
| 5121 unittest.expect(o.weight, unittest.equals(42)); | 5288 unittest.expect(o.weight, unittest.equals(42)); |
| 5122 } | 5289 } |
| 5123 buildCounterOptimizationActivity--; | 5290 buildCounterOptimizationActivity--; |
| 5124 } | 5291 } |
| 5125 | 5292 |
| 5126 buildUnnamed1507() { | 5293 buildUnnamed2245() { |
| 5127 var o = new core.List<core.String>(); | 5294 var o = new core.List<core.String>(); |
| 5128 o.add("foo"); | 5295 o.add("foo"); |
| 5129 o.add("foo"); | 5296 o.add("foo"); |
| 5130 return o; | 5297 return o; |
| 5131 } | 5298 } |
| 5132 | 5299 |
| 5133 checkUnnamed1507(core.List<core.String> o) { | 5300 checkUnnamed2245(core.List<core.String> o) { |
| 5134 unittest.expect(o, unittest.hasLength(2)); | 5301 unittest.expect(o, unittest.hasLength(2)); |
| 5135 unittest.expect(o[0], unittest.equals('foo')); | 5302 unittest.expect(o[0], unittest.equals('foo')); |
| 5136 unittest.expect(o[1], unittest.equals('foo')); | 5303 unittest.expect(o[1], unittest.equals('foo')); |
| 5137 } | 5304 } |
| 5138 | 5305 |
| 5139 buildUnnamed1508() { | 5306 buildUnnamed2246() { |
| 5140 var o = new core.List<api.OrderContact>(); | 5307 var o = new core.List<api.OrderContact>(); |
| 5141 o.add(buildOrderContact()); | 5308 o.add(buildOrderContact()); |
| 5142 o.add(buildOrderContact()); | 5309 o.add(buildOrderContact()); |
| 5143 return o; | 5310 return o; |
| 5144 } | 5311 } |
| 5145 | 5312 |
| 5146 checkUnnamed1508(core.List<api.OrderContact> o) { | 5313 checkUnnamed2246(core.List<api.OrderContact> o) { |
| 5147 unittest.expect(o, unittest.hasLength(2)); | 5314 unittest.expect(o, unittest.hasLength(2)); |
| 5148 checkOrderContact(o[0]); | 5315 checkOrderContact(o[0]); |
| 5149 checkOrderContact(o[1]); | 5316 checkOrderContact(o[1]); |
| 5150 } | 5317 } |
| 5151 | 5318 |
| 5152 buildUnnamed1509() { | 5319 buildUnnamed2247() { |
| 5153 var o = new core.List<core.String>(); | 5320 var o = new core.List<core.String>(); |
| 5154 o.add("foo"); | 5321 o.add("foo"); |
| 5155 o.add("foo"); | 5322 o.add("foo"); |
| 5156 return o; | 5323 return o; |
| 5157 } | 5324 } |
| 5158 | 5325 |
| 5159 checkUnnamed1509(core.List<core.String> o) { | 5326 checkUnnamed2247(core.List<core.String> o) { |
| 5160 unittest.expect(o, unittest.hasLength(2)); | 5327 unittest.expect(o, unittest.hasLength(2)); |
| 5161 unittest.expect(o[0], unittest.equals('foo')); | 5328 unittest.expect(o[0], unittest.equals('foo')); |
| 5162 unittest.expect(o[1], unittest.equals('foo')); | 5329 unittest.expect(o[1], unittest.equals('foo')); |
| 5163 } | 5330 } |
| 5164 | 5331 |
| 5165 buildUnnamed1510() { | 5332 buildUnnamed2248() { |
| 5166 var o = new core.List<core.String>(); | 5333 var o = new core.List<core.String>(); |
| 5167 o.add("foo"); | 5334 o.add("foo"); |
| 5168 o.add("foo"); | 5335 o.add("foo"); |
| 5169 return o; | 5336 return o; |
| 5170 } | 5337 } |
| 5171 | 5338 |
| 5172 checkUnnamed1510(core.List<core.String> o) { | 5339 checkUnnamed2248(core.List<core.String> o) { |
| 5173 unittest.expect(o, unittest.hasLength(2)); | 5340 unittest.expect(o, unittest.hasLength(2)); |
| 5174 unittest.expect(o[0], unittest.equals('foo')); | 5341 unittest.expect(o[0], unittest.equals('foo')); |
| 5175 unittest.expect(o[1], unittest.equals('foo')); | 5342 unittest.expect(o[1], unittest.equals('foo')); |
| 5176 } | 5343 } |
| 5177 | 5344 |
| 5178 core.int buildCounterOrder = 0; | 5345 core.int buildCounterOrder = 0; |
| 5179 buildOrder() { | 5346 buildOrder() { |
| 5180 var o = new api.Order(); | 5347 var o = new api.Order(); |
| 5181 buildCounterOrder++; | 5348 buildCounterOrder++; |
| 5182 if (buildCounterOrder < 3) { | 5349 if (buildCounterOrder < 3) { |
| 5183 o.accountId = "foo"; | 5350 o.accountId = "foo"; |
| 5184 o.advertiserId = "foo"; | 5351 o.advertiserId = "foo"; |
| 5185 o.approverUserProfileIds = buildUnnamed1507(); | 5352 o.approverUserProfileIds = buildUnnamed2245(); |
| 5186 o.buyerInvoiceId = "foo"; | 5353 o.buyerInvoiceId = "foo"; |
| 5187 o.buyerOrganizationName = "foo"; | 5354 o.buyerOrganizationName = "foo"; |
| 5188 o.comments = "foo"; | 5355 o.comments = "foo"; |
| 5189 o.contacts = buildUnnamed1508(); | 5356 o.contacts = buildUnnamed2246(); |
| 5190 o.id = "foo"; | 5357 o.id = "foo"; |
| 5191 o.kind = "foo"; | 5358 o.kind = "foo"; |
| 5192 o.lastModifiedInfo = buildLastModifiedInfo(); | 5359 o.lastModifiedInfo = buildLastModifiedInfo(); |
| 5193 o.name = "foo"; | 5360 o.name = "foo"; |
| 5194 o.notes = "foo"; | 5361 o.notes = "foo"; |
| 5195 o.planningTermId = "foo"; | 5362 o.planningTermId = "foo"; |
| 5196 o.projectId = "foo"; | 5363 o.projectId = "foo"; |
| 5197 o.sellerOrderId = "foo"; | 5364 o.sellerOrderId = "foo"; |
| 5198 o.sellerOrganizationName = "foo"; | 5365 o.sellerOrganizationName = "foo"; |
| 5199 o.siteId = buildUnnamed1509(); | 5366 o.siteId = buildUnnamed2247(); |
| 5200 o.siteNames = buildUnnamed1510(); | 5367 o.siteNames = buildUnnamed2248(); |
| 5201 o.subaccountId = "foo"; | 5368 o.subaccountId = "foo"; |
| 5202 o.termsAndConditions = "foo"; | 5369 o.termsAndConditions = "foo"; |
| 5203 } | 5370 } |
| 5204 buildCounterOrder--; | 5371 buildCounterOrder--; |
| 5205 return o; | 5372 return o; |
| 5206 } | 5373 } |
| 5207 | 5374 |
| 5208 checkOrder(api.Order o) { | 5375 checkOrder(api.Order o) { |
| 5209 buildCounterOrder++; | 5376 buildCounterOrder++; |
| 5210 if (buildCounterOrder < 3) { | 5377 if (buildCounterOrder < 3) { |
| 5211 unittest.expect(o.accountId, unittest.equals('foo')); | 5378 unittest.expect(o.accountId, unittest.equals('foo')); |
| 5212 unittest.expect(o.advertiserId, unittest.equals('foo')); | 5379 unittest.expect(o.advertiserId, unittest.equals('foo')); |
| 5213 checkUnnamed1507(o.approverUserProfileIds); | 5380 checkUnnamed2245(o.approverUserProfileIds); |
| 5214 unittest.expect(o.buyerInvoiceId, unittest.equals('foo')); | 5381 unittest.expect(o.buyerInvoiceId, unittest.equals('foo')); |
| 5215 unittest.expect(o.buyerOrganizationName, unittest.equals('foo')); | 5382 unittest.expect(o.buyerOrganizationName, unittest.equals('foo')); |
| 5216 unittest.expect(o.comments, unittest.equals('foo')); | 5383 unittest.expect(o.comments, unittest.equals('foo')); |
| 5217 checkUnnamed1508(o.contacts); | 5384 checkUnnamed2246(o.contacts); |
| 5218 unittest.expect(o.id, unittest.equals('foo')); | 5385 unittest.expect(o.id, unittest.equals('foo')); |
| 5219 unittest.expect(o.kind, unittest.equals('foo')); | 5386 unittest.expect(o.kind, unittest.equals('foo')); |
| 5220 checkLastModifiedInfo(o.lastModifiedInfo); | 5387 checkLastModifiedInfo(o.lastModifiedInfo); |
| 5221 unittest.expect(o.name, unittest.equals('foo')); | 5388 unittest.expect(o.name, unittest.equals('foo')); |
| 5222 unittest.expect(o.notes, unittest.equals('foo')); | 5389 unittest.expect(o.notes, unittest.equals('foo')); |
| 5223 unittest.expect(o.planningTermId, unittest.equals('foo')); | 5390 unittest.expect(o.planningTermId, unittest.equals('foo')); |
| 5224 unittest.expect(o.projectId, unittest.equals('foo')); | 5391 unittest.expect(o.projectId, unittest.equals('foo')); |
| 5225 unittest.expect(o.sellerOrderId, unittest.equals('foo')); | 5392 unittest.expect(o.sellerOrderId, unittest.equals('foo')); |
| 5226 unittest.expect(o.sellerOrganizationName, unittest.equals('foo')); | 5393 unittest.expect(o.sellerOrganizationName, unittest.equals('foo')); |
| 5227 checkUnnamed1509(o.siteId); | 5394 checkUnnamed2247(o.siteId); |
| 5228 checkUnnamed1510(o.siteNames); | 5395 checkUnnamed2248(o.siteNames); |
| 5229 unittest.expect(o.subaccountId, unittest.equals('foo')); | 5396 unittest.expect(o.subaccountId, unittest.equals('foo')); |
| 5230 unittest.expect(o.termsAndConditions, unittest.equals('foo')); | 5397 unittest.expect(o.termsAndConditions, unittest.equals('foo')); |
| 5231 } | 5398 } |
| 5232 buildCounterOrder--; | 5399 buildCounterOrder--; |
| 5233 } | 5400 } |
| 5234 | 5401 |
| 5235 core.int buildCounterOrderContact = 0; | 5402 core.int buildCounterOrderContact = 0; |
| 5236 buildOrderContact() { | 5403 buildOrderContact() { |
| 5237 var o = new api.OrderContact(); | 5404 var o = new api.OrderContact(); |
| 5238 buildCounterOrderContact++; | 5405 buildCounterOrderContact++; |
| (...skipping 13 matching lines...) Expand all Loading... |
| 5252 if (buildCounterOrderContact < 3) { | 5419 if (buildCounterOrderContact < 3) { |
| 5253 unittest.expect(o.contactInfo, unittest.equals('foo')); | 5420 unittest.expect(o.contactInfo, unittest.equals('foo')); |
| 5254 unittest.expect(o.contactName, unittest.equals('foo')); | 5421 unittest.expect(o.contactName, unittest.equals('foo')); |
| 5255 unittest.expect(o.contactTitle, unittest.equals('foo')); | 5422 unittest.expect(o.contactTitle, unittest.equals('foo')); |
| 5256 unittest.expect(o.contactType, unittest.equals('foo')); | 5423 unittest.expect(o.contactType, unittest.equals('foo')); |
| 5257 unittest.expect(o.signatureUserProfileId, unittest.equals('foo')); | 5424 unittest.expect(o.signatureUserProfileId, unittest.equals('foo')); |
| 5258 } | 5425 } |
| 5259 buildCounterOrderContact--; | 5426 buildCounterOrderContact--; |
| 5260 } | 5427 } |
| 5261 | 5428 |
| 5262 buildUnnamed1511() { | 5429 buildUnnamed2249() { |
| 5263 var o = new core.List<core.String>(); | 5430 var o = new core.List<core.String>(); |
| 5264 o.add("foo"); | 5431 o.add("foo"); |
| 5265 o.add("foo"); | 5432 o.add("foo"); |
| 5266 return o; | 5433 return o; |
| 5267 } | 5434 } |
| 5268 | 5435 |
| 5269 checkUnnamed1511(core.List<core.String> o) { | 5436 checkUnnamed2249(core.List<core.String> o) { |
| 5270 unittest.expect(o, unittest.hasLength(2)); | 5437 unittest.expect(o, unittest.hasLength(2)); |
| 5271 unittest.expect(o[0], unittest.equals('foo')); | 5438 unittest.expect(o[0], unittest.equals('foo')); |
| 5272 unittest.expect(o[1], unittest.equals('foo')); | 5439 unittest.expect(o[1], unittest.equals('foo')); |
| 5273 } | 5440 } |
| 5274 | 5441 |
| 5275 buildUnnamed1512() { | 5442 buildUnnamed2250() { |
| 5276 var o = new core.List<core.String>(); | 5443 var o = new core.List<core.String>(); |
| 5277 o.add("foo"); | 5444 o.add("foo"); |
| 5278 o.add("foo"); | 5445 o.add("foo"); |
| 5279 return o; | 5446 return o; |
| 5280 } | 5447 } |
| 5281 | 5448 |
| 5282 checkUnnamed1512(core.List<core.String> o) { | 5449 checkUnnamed2250(core.List<core.String> o) { |
| 5283 unittest.expect(o, unittest.hasLength(2)); | 5450 unittest.expect(o, unittest.hasLength(2)); |
| 5284 unittest.expect(o[0], unittest.equals('foo')); | 5451 unittest.expect(o[0], unittest.equals('foo')); |
| 5285 unittest.expect(o[1], unittest.equals('foo')); | 5452 unittest.expect(o[1], unittest.equals('foo')); |
| 5286 } | 5453 } |
| 5287 | 5454 |
| 5288 core.int buildCounterOrderDocument = 0; | 5455 core.int buildCounterOrderDocument = 0; |
| 5289 buildOrderDocument() { | 5456 buildOrderDocument() { |
| 5290 var o = new api.OrderDocument(); | 5457 var o = new api.OrderDocument(); |
| 5291 buildCounterOrderDocument++; | 5458 buildCounterOrderDocument++; |
| 5292 if (buildCounterOrderDocument < 3) { | 5459 if (buildCounterOrderDocument < 3) { |
| 5293 o.accountId = "foo"; | 5460 o.accountId = "foo"; |
| 5294 o.advertiserId = "foo"; | 5461 o.advertiserId = "foo"; |
| 5295 o.amendedOrderDocumentId = "foo"; | 5462 o.amendedOrderDocumentId = "foo"; |
| 5296 o.approvedByUserProfileIds = buildUnnamed1511(); | 5463 o.approvedByUserProfileIds = buildUnnamed2249(); |
| 5297 o.cancelled = true; | 5464 o.cancelled = true; |
| 5298 o.createdInfo = buildLastModifiedInfo(); | 5465 o.createdInfo = buildLastModifiedInfo(); |
| 5299 o.effectiveDate = core.DateTime.parse("2002-02-27T14:01:02Z"); | 5466 o.effectiveDate = core.DateTime.parse("2002-02-27T14:01:02Z"); |
| 5300 o.id = "foo"; | 5467 o.id = "foo"; |
| 5301 o.kind = "foo"; | 5468 o.kind = "foo"; |
| 5302 o.lastSentRecipients = buildUnnamed1512(); | 5469 o.lastSentRecipients = buildUnnamed2250(); |
| 5303 o.lastSentTime = core.DateTime.parse("2002-02-27T14:01:02"); | 5470 o.lastSentTime = core.DateTime.parse("2002-02-27T14:01:02"); |
| 5304 o.orderId = "foo"; | 5471 o.orderId = "foo"; |
| 5305 o.projectId = "foo"; | 5472 o.projectId = "foo"; |
| 5306 o.signed = true; | 5473 o.signed = true; |
| 5307 o.subaccountId = "foo"; | 5474 o.subaccountId = "foo"; |
| 5308 o.title = "foo"; | 5475 o.title = "foo"; |
| 5309 o.type = "foo"; | 5476 o.type = "foo"; |
| 5310 } | 5477 } |
| 5311 buildCounterOrderDocument--; | 5478 buildCounterOrderDocument--; |
| 5312 return o; | 5479 return o; |
| 5313 } | 5480 } |
| 5314 | 5481 |
| 5315 checkOrderDocument(api.OrderDocument o) { | 5482 checkOrderDocument(api.OrderDocument o) { |
| 5316 buildCounterOrderDocument++; | 5483 buildCounterOrderDocument++; |
| 5317 if (buildCounterOrderDocument < 3) { | 5484 if (buildCounterOrderDocument < 3) { |
| 5318 unittest.expect(o.accountId, unittest.equals('foo')); | 5485 unittest.expect(o.accountId, unittest.equals('foo')); |
| 5319 unittest.expect(o.advertiserId, unittest.equals('foo')); | 5486 unittest.expect(o.advertiserId, unittest.equals('foo')); |
| 5320 unittest.expect(o.amendedOrderDocumentId, unittest.equals('foo')); | 5487 unittest.expect(o.amendedOrderDocumentId, unittest.equals('foo')); |
| 5321 checkUnnamed1511(o.approvedByUserProfileIds); | 5488 checkUnnamed2249(o.approvedByUserProfileIds); |
| 5322 unittest.expect(o.cancelled, unittest.isTrue); | 5489 unittest.expect(o.cancelled, unittest.isTrue); |
| 5323 checkLastModifiedInfo(o.createdInfo); | 5490 checkLastModifiedInfo(o.createdInfo); |
| 5324 unittest.expect(o.effectiveDate, unittest.equals(core.DateTime.parse("2002-0
2-27T00:00:00"))); | 5491 unittest.expect(o.effectiveDate, unittest.equals(core.DateTime.parse("2002-0
2-27T00:00:00"))); |
| 5325 unittest.expect(o.id, unittest.equals('foo')); | 5492 unittest.expect(o.id, unittest.equals('foo')); |
| 5326 unittest.expect(o.kind, unittest.equals('foo')); | 5493 unittest.expect(o.kind, unittest.equals('foo')); |
| 5327 checkUnnamed1512(o.lastSentRecipients); | 5494 checkUnnamed2250(o.lastSentRecipients); |
| 5328 unittest.expect(o.lastSentTime, unittest.equals(core.DateTime.parse("2002-02
-27T14:01:02"))); | 5495 unittest.expect(o.lastSentTime, unittest.equals(core.DateTime.parse("2002-02
-27T14:01:02"))); |
| 5329 unittest.expect(o.orderId, unittest.equals('foo')); | 5496 unittest.expect(o.orderId, unittest.equals('foo')); |
| 5330 unittest.expect(o.projectId, unittest.equals('foo')); | 5497 unittest.expect(o.projectId, unittest.equals('foo')); |
| 5331 unittest.expect(o.signed, unittest.isTrue); | 5498 unittest.expect(o.signed, unittest.isTrue); |
| 5332 unittest.expect(o.subaccountId, unittest.equals('foo')); | 5499 unittest.expect(o.subaccountId, unittest.equals('foo')); |
| 5333 unittest.expect(o.title, unittest.equals('foo')); | 5500 unittest.expect(o.title, unittest.equals('foo')); |
| 5334 unittest.expect(o.type, unittest.equals('foo')); | 5501 unittest.expect(o.type, unittest.equals('foo')); |
| 5335 } | 5502 } |
| 5336 buildCounterOrderDocument--; | 5503 buildCounterOrderDocument--; |
| 5337 } | 5504 } |
| 5338 | 5505 |
| 5339 buildUnnamed1513() { | 5506 buildUnnamed2251() { |
| 5340 var o = new core.List<api.OrderDocument>(); | 5507 var o = new core.List<api.OrderDocument>(); |
| 5341 o.add(buildOrderDocument()); | 5508 o.add(buildOrderDocument()); |
| 5342 o.add(buildOrderDocument()); | 5509 o.add(buildOrderDocument()); |
| 5343 return o; | 5510 return o; |
| 5344 } | 5511 } |
| 5345 | 5512 |
| 5346 checkUnnamed1513(core.List<api.OrderDocument> o) { | 5513 checkUnnamed2251(core.List<api.OrderDocument> o) { |
| 5347 unittest.expect(o, unittest.hasLength(2)); | 5514 unittest.expect(o, unittest.hasLength(2)); |
| 5348 checkOrderDocument(o[0]); | 5515 checkOrderDocument(o[0]); |
| 5349 checkOrderDocument(o[1]); | 5516 checkOrderDocument(o[1]); |
| 5350 } | 5517 } |
| 5351 | 5518 |
| 5352 core.int buildCounterOrderDocumentsListResponse = 0; | 5519 core.int buildCounterOrderDocumentsListResponse = 0; |
| 5353 buildOrderDocumentsListResponse() { | 5520 buildOrderDocumentsListResponse() { |
| 5354 var o = new api.OrderDocumentsListResponse(); | 5521 var o = new api.OrderDocumentsListResponse(); |
| 5355 buildCounterOrderDocumentsListResponse++; | 5522 buildCounterOrderDocumentsListResponse++; |
| 5356 if (buildCounterOrderDocumentsListResponse < 3) { | 5523 if (buildCounterOrderDocumentsListResponse < 3) { |
| 5357 o.kind = "foo"; | 5524 o.kind = "foo"; |
| 5358 o.nextPageToken = "foo"; | 5525 o.nextPageToken = "foo"; |
| 5359 o.orderDocuments = buildUnnamed1513(); | 5526 o.orderDocuments = buildUnnamed2251(); |
| 5360 } | 5527 } |
| 5361 buildCounterOrderDocumentsListResponse--; | 5528 buildCounterOrderDocumentsListResponse--; |
| 5362 return o; | 5529 return o; |
| 5363 } | 5530 } |
| 5364 | 5531 |
| 5365 checkOrderDocumentsListResponse(api.OrderDocumentsListResponse o) { | 5532 checkOrderDocumentsListResponse(api.OrderDocumentsListResponse o) { |
| 5366 buildCounterOrderDocumentsListResponse++; | 5533 buildCounterOrderDocumentsListResponse++; |
| 5367 if (buildCounterOrderDocumentsListResponse < 3) { | 5534 if (buildCounterOrderDocumentsListResponse < 3) { |
| 5368 unittest.expect(o.kind, unittest.equals('foo')); | 5535 unittest.expect(o.kind, unittest.equals('foo')); |
| 5369 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 5536 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 5370 checkUnnamed1513(o.orderDocuments); | 5537 checkUnnamed2251(o.orderDocuments); |
| 5371 } | 5538 } |
| 5372 buildCounterOrderDocumentsListResponse--; | 5539 buildCounterOrderDocumentsListResponse--; |
| 5373 } | 5540 } |
| 5374 | 5541 |
| 5375 buildUnnamed1514() { | 5542 buildUnnamed2252() { |
| 5376 var o = new core.List<api.Order>(); | 5543 var o = new core.List<api.Order>(); |
| 5377 o.add(buildOrder()); | 5544 o.add(buildOrder()); |
| 5378 o.add(buildOrder()); | 5545 o.add(buildOrder()); |
| 5379 return o; | 5546 return o; |
| 5380 } | 5547 } |
| 5381 | 5548 |
| 5382 checkUnnamed1514(core.List<api.Order> o) { | 5549 checkUnnamed2252(core.List<api.Order> o) { |
| 5383 unittest.expect(o, unittest.hasLength(2)); | 5550 unittest.expect(o, unittest.hasLength(2)); |
| 5384 checkOrder(o[0]); | 5551 checkOrder(o[0]); |
| 5385 checkOrder(o[1]); | 5552 checkOrder(o[1]); |
| 5386 } | 5553 } |
| 5387 | 5554 |
| 5388 core.int buildCounterOrdersListResponse = 0; | 5555 core.int buildCounterOrdersListResponse = 0; |
| 5389 buildOrdersListResponse() { | 5556 buildOrdersListResponse() { |
| 5390 var o = new api.OrdersListResponse(); | 5557 var o = new api.OrdersListResponse(); |
| 5391 buildCounterOrdersListResponse++; | 5558 buildCounterOrdersListResponse++; |
| 5392 if (buildCounterOrdersListResponse < 3) { | 5559 if (buildCounterOrdersListResponse < 3) { |
| 5393 o.kind = "foo"; | 5560 o.kind = "foo"; |
| 5394 o.nextPageToken = "foo"; | 5561 o.nextPageToken = "foo"; |
| 5395 o.orders = buildUnnamed1514(); | 5562 o.orders = buildUnnamed2252(); |
| 5396 } | 5563 } |
| 5397 buildCounterOrdersListResponse--; | 5564 buildCounterOrdersListResponse--; |
| 5398 return o; | 5565 return o; |
| 5399 } | 5566 } |
| 5400 | 5567 |
| 5401 checkOrdersListResponse(api.OrdersListResponse o) { | 5568 checkOrdersListResponse(api.OrdersListResponse o) { |
| 5402 buildCounterOrdersListResponse++; | 5569 buildCounterOrdersListResponse++; |
| 5403 if (buildCounterOrdersListResponse < 3) { | 5570 if (buildCounterOrdersListResponse < 3) { |
| 5404 unittest.expect(o.kind, unittest.equals('foo')); | 5571 unittest.expect(o.kind, unittest.equals('foo')); |
| 5405 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 5572 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 5406 checkUnnamed1514(o.orders); | 5573 checkUnnamed2252(o.orders); |
| 5407 } | 5574 } |
| 5408 buildCounterOrdersListResponse--; | 5575 buildCounterOrdersListResponse--; |
| 5409 } | 5576 } |
| 5410 | 5577 |
| 5411 buildUnnamed1515() { | 5578 buildUnnamed2253() { |
| 5412 var o = new core.List<api.Dimension>(); | 5579 var o = new core.List<api.Dimension>(); |
| 5413 o.add(buildDimension()); | 5580 o.add(buildDimension()); |
| 5414 o.add(buildDimension()); | 5581 o.add(buildDimension()); |
| 5415 return o; | 5582 return o; |
| 5416 } | 5583 } |
| 5417 | 5584 |
| 5418 checkUnnamed1515(core.List<api.Dimension> o) { | 5585 checkUnnamed2253(core.List<api.Dimension> o) { |
| 5419 unittest.expect(o, unittest.hasLength(2)); | 5586 unittest.expect(o, unittest.hasLength(2)); |
| 5420 checkDimension(o[0]); | 5587 checkDimension(o[0]); |
| 5421 checkDimension(o[1]); | 5588 checkDimension(o[1]); |
| 5422 } | 5589 } |
| 5423 | 5590 |
| 5424 buildUnnamed1516() { | 5591 buildUnnamed2254() { |
| 5425 var o = new core.List<api.Dimension>(); | 5592 var o = new core.List<api.Dimension>(); |
| 5426 o.add(buildDimension()); | 5593 o.add(buildDimension()); |
| 5427 o.add(buildDimension()); | 5594 o.add(buildDimension()); |
| 5428 return o; | 5595 return o; |
| 5429 } | 5596 } |
| 5430 | 5597 |
| 5431 checkUnnamed1516(core.List<api.Dimension> o) { | 5598 checkUnnamed2254(core.List<api.Dimension> o) { |
| 5432 unittest.expect(o, unittest.hasLength(2)); | 5599 unittest.expect(o, unittest.hasLength(2)); |
| 5433 checkDimension(o[0]); | 5600 checkDimension(o[0]); |
| 5434 checkDimension(o[1]); | 5601 checkDimension(o[1]); |
| 5435 } | 5602 } |
| 5436 | 5603 |
| 5437 buildUnnamed1517() { | 5604 buildUnnamed2255() { |
| 5438 var o = new core.List<api.Metric>(); | 5605 var o = new core.List<api.Metric>(); |
| 5439 o.add(buildMetric()); | 5606 o.add(buildMetric()); |
| 5440 o.add(buildMetric()); | 5607 o.add(buildMetric()); |
| 5441 return o; | 5608 return o; |
| 5442 } | 5609 } |
| 5443 | 5610 |
| 5444 checkUnnamed1517(core.List<api.Metric> o) { | 5611 checkUnnamed2255(core.List<api.Metric> o) { |
| 5445 unittest.expect(o, unittest.hasLength(2)); | 5612 unittest.expect(o, unittest.hasLength(2)); |
| 5446 checkMetric(o[0]); | 5613 checkMetric(o[0]); |
| 5447 checkMetric(o[1]); | 5614 checkMetric(o[1]); |
| 5448 } | 5615 } |
| 5449 | 5616 |
| 5450 buildUnnamed1518() { | 5617 buildUnnamed2256() { |
| 5451 var o = new core.List<api.Dimension>(); | 5618 var o = new core.List<api.Dimension>(); |
| 5452 o.add(buildDimension()); | 5619 o.add(buildDimension()); |
| 5453 o.add(buildDimension()); | 5620 o.add(buildDimension()); |
| 5454 return o; | 5621 return o; |
| 5455 } | 5622 } |
| 5456 | 5623 |
| 5457 checkUnnamed1518(core.List<api.Dimension> o) { | 5624 checkUnnamed2256(core.List<api.Dimension> o) { |
| 5458 unittest.expect(o, unittest.hasLength(2)); | 5625 unittest.expect(o, unittest.hasLength(2)); |
| 5459 checkDimension(o[0]); | 5626 checkDimension(o[0]); |
| 5460 checkDimension(o[1]); | 5627 checkDimension(o[1]); |
| 5461 } | 5628 } |
| 5462 | 5629 |
| 5463 core.int buildCounterPathToConversionReportCompatibleFields = 0; | 5630 core.int buildCounterPathToConversionReportCompatibleFields = 0; |
| 5464 buildPathToConversionReportCompatibleFields() { | 5631 buildPathToConversionReportCompatibleFields() { |
| 5465 var o = new api.PathToConversionReportCompatibleFields(); | 5632 var o = new api.PathToConversionReportCompatibleFields(); |
| 5466 buildCounterPathToConversionReportCompatibleFields++; | 5633 buildCounterPathToConversionReportCompatibleFields++; |
| 5467 if (buildCounterPathToConversionReportCompatibleFields < 3) { | 5634 if (buildCounterPathToConversionReportCompatibleFields < 3) { |
| 5468 o.conversionDimensions = buildUnnamed1515(); | 5635 o.conversionDimensions = buildUnnamed2253(); |
| 5469 o.customFloodlightVariables = buildUnnamed1516(); | 5636 o.customFloodlightVariables = buildUnnamed2254(); |
| 5470 o.kind = "foo"; | 5637 o.kind = "foo"; |
| 5471 o.metrics = buildUnnamed1517(); | 5638 o.metrics = buildUnnamed2255(); |
| 5472 o.perInteractionDimensions = buildUnnamed1518(); | 5639 o.perInteractionDimensions = buildUnnamed2256(); |
| 5473 } | 5640 } |
| 5474 buildCounterPathToConversionReportCompatibleFields--; | 5641 buildCounterPathToConversionReportCompatibleFields--; |
| 5475 return o; | 5642 return o; |
| 5476 } | 5643 } |
| 5477 | 5644 |
| 5478 checkPathToConversionReportCompatibleFields(api.PathToConversionReportCompatible
Fields o) { | 5645 checkPathToConversionReportCompatibleFields(api.PathToConversionReportCompatible
Fields o) { |
| 5479 buildCounterPathToConversionReportCompatibleFields++; | 5646 buildCounterPathToConversionReportCompatibleFields++; |
| 5480 if (buildCounterPathToConversionReportCompatibleFields < 3) { | 5647 if (buildCounterPathToConversionReportCompatibleFields < 3) { |
| 5481 checkUnnamed1515(o.conversionDimensions); | 5648 checkUnnamed2253(o.conversionDimensions); |
| 5482 checkUnnamed1516(o.customFloodlightVariables); | 5649 checkUnnamed2254(o.customFloodlightVariables); |
| 5483 unittest.expect(o.kind, unittest.equals('foo')); | 5650 unittest.expect(o.kind, unittest.equals('foo')); |
| 5484 checkUnnamed1517(o.metrics); | 5651 checkUnnamed2255(o.metrics); |
| 5485 checkUnnamed1518(o.perInteractionDimensions); | 5652 checkUnnamed2256(o.perInteractionDimensions); |
| 5486 } | 5653 } |
| 5487 buildCounterPathToConversionReportCompatibleFields--; | 5654 buildCounterPathToConversionReportCompatibleFields--; |
| 5488 } | 5655 } |
| 5489 | 5656 |
| 5490 buildUnnamed1519() { | 5657 buildUnnamed2257() { |
| 5491 var o = new core.List<core.String>(); | 5658 var o = new core.List<core.String>(); |
| 5492 o.add("foo"); | 5659 o.add("foo"); |
| 5493 o.add("foo"); | 5660 o.add("foo"); |
| 5494 return o; | 5661 return o; |
| 5495 } | 5662 } |
| 5496 | 5663 |
| 5497 checkUnnamed1519(core.List<core.String> o) { | 5664 checkUnnamed2257(core.List<core.String> o) { |
| 5498 unittest.expect(o, unittest.hasLength(2)); | 5665 unittest.expect(o, unittest.hasLength(2)); |
| 5499 unittest.expect(o[0], unittest.equals('foo')); | 5666 unittest.expect(o[0], unittest.equals('foo')); |
| 5500 unittest.expect(o[1], unittest.equals('foo')); | 5667 unittest.expect(o[1], unittest.equals('foo')); |
| 5501 } | 5668 } |
| 5502 | 5669 |
| 5503 core.int buildCounterPlacement = 0; | 5670 core.int buildCounterPlacement = 0; |
| 5504 buildPlacement() { | 5671 buildPlacement() { |
| 5505 var o = new api.Placement(); | 5672 var o = new api.Placement(); |
| 5506 buildCounterPlacement++; | 5673 buildCounterPlacement++; |
| 5507 if (buildCounterPlacement < 3) { | 5674 if (buildCounterPlacement < 3) { |
| (...skipping 24 matching lines...) Expand all Loading... |
| 5532 o.placementStrategyId = "foo"; | 5699 o.placementStrategyId = "foo"; |
| 5533 o.pricingSchedule = buildPricingSchedule(); | 5700 o.pricingSchedule = buildPricingSchedule(); |
| 5534 o.primary = true; | 5701 o.primary = true; |
| 5535 o.publisherUpdateInfo = buildLastModifiedInfo(); | 5702 o.publisherUpdateInfo = buildLastModifiedInfo(); |
| 5536 o.siteId = "foo"; | 5703 o.siteId = "foo"; |
| 5537 o.siteIdDimensionValue = buildDimensionValue(); | 5704 o.siteIdDimensionValue = buildDimensionValue(); |
| 5538 o.size = buildSize(); | 5705 o.size = buildSize(); |
| 5539 o.sslRequired = true; | 5706 o.sslRequired = true; |
| 5540 o.status = "foo"; | 5707 o.status = "foo"; |
| 5541 o.subaccountId = "foo"; | 5708 o.subaccountId = "foo"; |
| 5542 o.tagFormats = buildUnnamed1519(); | 5709 o.tagFormats = buildUnnamed2257(); |
| 5543 o.tagSetting = buildTagSetting(); | 5710 o.tagSetting = buildTagSetting(); |
| 5544 } | 5711 } |
| 5545 buildCounterPlacement--; | 5712 buildCounterPlacement--; |
| 5546 return o; | 5713 return o; |
| 5547 } | 5714 } |
| 5548 | 5715 |
| 5549 checkPlacement(api.Placement o) { | 5716 checkPlacement(api.Placement o) { |
| 5550 buildCounterPlacement++; | 5717 buildCounterPlacement++; |
| 5551 if (buildCounterPlacement < 3) { | 5718 if (buildCounterPlacement < 3) { |
| 5552 unittest.expect(o.accountId, unittest.equals('foo')); | 5719 unittest.expect(o.accountId, unittest.equals('foo')); |
| (...skipping 23 matching lines...) Expand all Loading... |
| 5576 unittest.expect(o.placementStrategyId, unittest.equals('foo')); | 5743 unittest.expect(o.placementStrategyId, unittest.equals('foo')); |
| 5577 checkPricingSchedule(o.pricingSchedule); | 5744 checkPricingSchedule(o.pricingSchedule); |
| 5578 unittest.expect(o.primary, unittest.isTrue); | 5745 unittest.expect(o.primary, unittest.isTrue); |
| 5579 checkLastModifiedInfo(o.publisherUpdateInfo); | 5746 checkLastModifiedInfo(o.publisherUpdateInfo); |
| 5580 unittest.expect(o.siteId, unittest.equals('foo')); | 5747 unittest.expect(o.siteId, unittest.equals('foo')); |
| 5581 checkDimensionValue(o.siteIdDimensionValue); | 5748 checkDimensionValue(o.siteIdDimensionValue); |
| 5582 checkSize(o.size); | 5749 checkSize(o.size); |
| 5583 unittest.expect(o.sslRequired, unittest.isTrue); | 5750 unittest.expect(o.sslRequired, unittest.isTrue); |
| 5584 unittest.expect(o.status, unittest.equals('foo')); | 5751 unittest.expect(o.status, unittest.equals('foo')); |
| 5585 unittest.expect(o.subaccountId, unittest.equals('foo')); | 5752 unittest.expect(o.subaccountId, unittest.equals('foo')); |
| 5586 checkUnnamed1519(o.tagFormats); | 5753 checkUnnamed2257(o.tagFormats); |
| 5587 checkTagSetting(o.tagSetting); | 5754 checkTagSetting(o.tagSetting); |
| 5588 } | 5755 } |
| 5589 buildCounterPlacement--; | 5756 buildCounterPlacement--; |
| 5590 } | 5757 } |
| 5591 | 5758 |
| 5592 core.int buildCounterPlacementAssignment = 0; | 5759 core.int buildCounterPlacementAssignment = 0; |
| 5593 buildPlacementAssignment() { | 5760 buildPlacementAssignment() { |
| 5594 var o = new api.PlacementAssignment(); | 5761 var o = new api.PlacementAssignment(); |
| 5595 buildCounterPlacementAssignment++; | 5762 buildCounterPlacementAssignment++; |
| 5596 if (buildCounterPlacementAssignment < 3) { | 5763 if (buildCounterPlacementAssignment < 3) { |
| (...skipping 10 matching lines...) Expand all Loading... |
| 5607 buildCounterPlacementAssignment++; | 5774 buildCounterPlacementAssignment++; |
| 5608 if (buildCounterPlacementAssignment < 3) { | 5775 if (buildCounterPlacementAssignment < 3) { |
| 5609 unittest.expect(o.active, unittest.isTrue); | 5776 unittest.expect(o.active, unittest.isTrue); |
| 5610 unittest.expect(o.placementId, unittest.equals('foo')); | 5777 unittest.expect(o.placementId, unittest.equals('foo')); |
| 5611 checkDimensionValue(o.placementIdDimensionValue); | 5778 checkDimensionValue(o.placementIdDimensionValue); |
| 5612 unittest.expect(o.sslRequired, unittest.isTrue); | 5779 unittest.expect(o.sslRequired, unittest.isTrue); |
| 5613 } | 5780 } |
| 5614 buildCounterPlacementAssignment--; | 5781 buildCounterPlacementAssignment--; |
| 5615 } | 5782 } |
| 5616 | 5783 |
| 5617 buildUnnamed1520() { | 5784 buildUnnamed2258() { |
| 5618 var o = new core.List<core.String>(); | 5785 var o = new core.List<core.String>(); |
| 5619 o.add("foo"); | 5786 o.add("foo"); |
| 5620 o.add("foo"); | 5787 o.add("foo"); |
| 5621 return o; | 5788 return o; |
| 5622 } | 5789 } |
| 5623 | 5790 |
| 5624 checkUnnamed1520(core.List<core.String> o) { | 5791 checkUnnamed2258(core.List<core.String> o) { |
| 5625 unittest.expect(o, unittest.hasLength(2)); | 5792 unittest.expect(o, unittest.hasLength(2)); |
| 5626 unittest.expect(o[0], unittest.equals('foo')); | 5793 unittest.expect(o[0], unittest.equals('foo')); |
| 5627 unittest.expect(o[1], unittest.equals('foo')); | 5794 unittest.expect(o[1], unittest.equals('foo')); |
| 5628 } | 5795 } |
| 5629 | 5796 |
| 5630 core.int buildCounterPlacementGroup = 0; | 5797 core.int buildCounterPlacementGroup = 0; |
| 5631 buildPlacementGroup() { | 5798 buildPlacementGroup() { |
| 5632 var o = new api.PlacementGroup(); | 5799 var o = new api.PlacementGroup(); |
| 5633 buildCounterPlacementGroup++; | 5800 buildCounterPlacementGroup++; |
| 5634 if (buildCounterPlacementGroup < 3) { | 5801 if (buildCounterPlacementGroup < 3) { |
| 5635 o.accountId = "foo"; | 5802 o.accountId = "foo"; |
| 5636 o.advertiserId = "foo"; | 5803 o.advertiserId = "foo"; |
| 5637 o.advertiserIdDimensionValue = buildDimensionValue(); | 5804 o.advertiserIdDimensionValue = buildDimensionValue(); |
| 5638 o.archived = true; | 5805 o.archived = true; |
| 5639 o.campaignId = "foo"; | 5806 o.campaignId = "foo"; |
| 5640 o.campaignIdDimensionValue = buildDimensionValue(); | 5807 o.campaignIdDimensionValue = buildDimensionValue(); |
| 5641 o.childPlacementIds = buildUnnamed1520(); | 5808 o.childPlacementIds = buildUnnamed2258(); |
| 5642 o.comment = "foo"; | 5809 o.comment = "foo"; |
| 5643 o.contentCategoryId = "foo"; | 5810 o.contentCategoryId = "foo"; |
| 5644 o.createInfo = buildLastModifiedInfo(); | 5811 o.createInfo = buildLastModifiedInfo(); |
| 5645 o.directorySiteId = "foo"; | 5812 o.directorySiteId = "foo"; |
| 5646 o.directorySiteIdDimensionValue = buildDimensionValue(); | 5813 o.directorySiteIdDimensionValue = buildDimensionValue(); |
| 5647 o.externalId = "foo"; | 5814 o.externalId = "foo"; |
| 5648 o.id = "foo"; | 5815 o.id = "foo"; |
| 5649 o.idDimensionValue = buildDimensionValue(); | 5816 o.idDimensionValue = buildDimensionValue(); |
| 5650 o.kind = "foo"; | 5817 o.kind = "foo"; |
| 5651 o.lastModifiedInfo = buildLastModifiedInfo(); | 5818 o.lastModifiedInfo = buildLastModifiedInfo(); |
| (...skipping 13 matching lines...) Expand all Loading... |
| 5665 | 5832 |
| 5666 checkPlacementGroup(api.PlacementGroup o) { | 5833 checkPlacementGroup(api.PlacementGroup o) { |
| 5667 buildCounterPlacementGroup++; | 5834 buildCounterPlacementGroup++; |
| 5668 if (buildCounterPlacementGroup < 3) { | 5835 if (buildCounterPlacementGroup < 3) { |
| 5669 unittest.expect(o.accountId, unittest.equals('foo')); | 5836 unittest.expect(o.accountId, unittest.equals('foo')); |
| 5670 unittest.expect(o.advertiserId, unittest.equals('foo')); | 5837 unittest.expect(o.advertiserId, unittest.equals('foo')); |
| 5671 checkDimensionValue(o.advertiserIdDimensionValue); | 5838 checkDimensionValue(o.advertiserIdDimensionValue); |
| 5672 unittest.expect(o.archived, unittest.isTrue); | 5839 unittest.expect(o.archived, unittest.isTrue); |
| 5673 unittest.expect(o.campaignId, unittest.equals('foo')); | 5840 unittest.expect(o.campaignId, unittest.equals('foo')); |
| 5674 checkDimensionValue(o.campaignIdDimensionValue); | 5841 checkDimensionValue(o.campaignIdDimensionValue); |
| 5675 checkUnnamed1520(o.childPlacementIds); | 5842 checkUnnamed2258(o.childPlacementIds); |
| 5676 unittest.expect(o.comment, unittest.equals('foo')); | 5843 unittest.expect(o.comment, unittest.equals('foo')); |
| 5677 unittest.expect(o.contentCategoryId, unittest.equals('foo')); | 5844 unittest.expect(o.contentCategoryId, unittest.equals('foo')); |
| 5678 checkLastModifiedInfo(o.createInfo); | 5845 checkLastModifiedInfo(o.createInfo); |
| 5679 unittest.expect(o.directorySiteId, unittest.equals('foo')); | 5846 unittest.expect(o.directorySiteId, unittest.equals('foo')); |
| 5680 checkDimensionValue(o.directorySiteIdDimensionValue); | 5847 checkDimensionValue(o.directorySiteIdDimensionValue); |
| 5681 unittest.expect(o.externalId, unittest.equals('foo')); | 5848 unittest.expect(o.externalId, unittest.equals('foo')); |
| 5682 unittest.expect(o.id, unittest.equals('foo')); | 5849 unittest.expect(o.id, unittest.equals('foo')); |
| 5683 checkDimensionValue(o.idDimensionValue); | 5850 checkDimensionValue(o.idDimensionValue); |
| 5684 unittest.expect(o.kind, unittest.equals('foo')); | 5851 unittest.expect(o.kind, unittest.equals('foo')); |
| 5685 checkLastModifiedInfo(o.lastModifiedInfo); | 5852 checkLastModifiedInfo(o.lastModifiedInfo); |
| 5686 unittest.expect(o.name, unittest.equals('foo')); | 5853 unittest.expect(o.name, unittest.equals('foo')); |
| 5687 unittest.expect(o.placementGroupType, unittest.equals('foo')); | 5854 unittest.expect(o.placementGroupType, unittest.equals('foo')); |
| 5688 unittest.expect(o.placementStrategyId, unittest.equals('foo')); | 5855 unittest.expect(o.placementStrategyId, unittest.equals('foo')); |
| 5689 checkPricingSchedule(o.pricingSchedule); | 5856 checkPricingSchedule(o.pricingSchedule); |
| 5690 unittest.expect(o.primaryPlacementId, unittest.equals('foo')); | 5857 unittest.expect(o.primaryPlacementId, unittest.equals('foo')); |
| 5691 checkDimensionValue(o.primaryPlacementIdDimensionValue); | 5858 checkDimensionValue(o.primaryPlacementIdDimensionValue); |
| 5692 unittest.expect(o.siteId, unittest.equals('foo')); | 5859 unittest.expect(o.siteId, unittest.equals('foo')); |
| 5693 checkDimensionValue(o.siteIdDimensionValue); | 5860 checkDimensionValue(o.siteIdDimensionValue); |
| 5694 unittest.expect(o.subaccountId, unittest.equals('foo')); | 5861 unittest.expect(o.subaccountId, unittest.equals('foo')); |
| 5695 } | 5862 } |
| 5696 buildCounterPlacementGroup--; | 5863 buildCounterPlacementGroup--; |
| 5697 } | 5864 } |
| 5698 | 5865 |
| 5699 buildUnnamed1521() { | 5866 buildUnnamed2259() { |
| 5700 var o = new core.List<api.PlacementGroup>(); | 5867 var o = new core.List<api.PlacementGroup>(); |
| 5701 o.add(buildPlacementGroup()); | 5868 o.add(buildPlacementGroup()); |
| 5702 o.add(buildPlacementGroup()); | 5869 o.add(buildPlacementGroup()); |
| 5703 return o; | 5870 return o; |
| 5704 } | 5871 } |
| 5705 | 5872 |
| 5706 checkUnnamed1521(core.List<api.PlacementGroup> o) { | 5873 checkUnnamed2259(core.List<api.PlacementGroup> o) { |
| 5707 unittest.expect(o, unittest.hasLength(2)); | 5874 unittest.expect(o, unittest.hasLength(2)); |
| 5708 checkPlacementGroup(o[0]); | 5875 checkPlacementGroup(o[0]); |
| 5709 checkPlacementGroup(o[1]); | 5876 checkPlacementGroup(o[1]); |
| 5710 } | 5877 } |
| 5711 | 5878 |
| 5712 core.int buildCounterPlacementGroupsListResponse = 0; | 5879 core.int buildCounterPlacementGroupsListResponse = 0; |
| 5713 buildPlacementGroupsListResponse() { | 5880 buildPlacementGroupsListResponse() { |
| 5714 var o = new api.PlacementGroupsListResponse(); | 5881 var o = new api.PlacementGroupsListResponse(); |
| 5715 buildCounterPlacementGroupsListResponse++; | 5882 buildCounterPlacementGroupsListResponse++; |
| 5716 if (buildCounterPlacementGroupsListResponse < 3) { | 5883 if (buildCounterPlacementGroupsListResponse < 3) { |
| 5717 o.kind = "foo"; | 5884 o.kind = "foo"; |
| 5718 o.nextPageToken = "foo"; | 5885 o.nextPageToken = "foo"; |
| 5719 o.placementGroups = buildUnnamed1521(); | 5886 o.placementGroups = buildUnnamed2259(); |
| 5720 } | 5887 } |
| 5721 buildCounterPlacementGroupsListResponse--; | 5888 buildCounterPlacementGroupsListResponse--; |
| 5722 return o; | 5889 return o; |
| 5723 } | 5890 } |
| 5724 | 5891 |
| 5725 checkPlacementGroupsListResponse(api.PlacementGroupsListResponse o) { | 5892 checkPlacementGroupsListResponse(api.PlacementGroupsListResponse o) { |
| 5726 buildCounterPlacementGroupsListResponse++; | 5893 buildCounterPlacementGroupsListResponse++; |
| 5727 if (buildCounterPlacementGroupsListResponse < 3) { | 5894 if (buildCounterPlacementGroupsListResponse < 3) { |
| 5728 unittest.expect(o.kind, unittest.equals('foo')); | 5895 unittest.expect(o.kind, unittest.equals('foo')); |
| 5729 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 5896 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 5730 checkUnnamed1521(o.placementGroups); | 5897 checkUnnamed2259(o.placementGroups); |
| 5731 } | 5898 } |
| 5732 buildCounterPlacementGroupsListResponse--; | 5899 buildCounterPlacementGroupsListResponse--; |
| 5733 } | 5900 } |
| 5734 | 5901 |
| 5735 buildUnnamed1522() { | 5902 buildUnnamed2260() { |
| 5736 var o = new core.List<api.PlacementStrategy>(); | 5903 var o = new core.List<api.PlacementStrategy>(); |
| 5737 o.add(buildPlacementStrategy()); | 5904 o.add(buildPlacementStrategy()); |
| 5738 o.add(buildPlacementStrategy()); | 5905 o.add(buildPlacementStrategy()); |
| 5739 return o; | 5906 return o; |
| 5740 } | 5907 } |
| 5741 | 5908 |
| 5742 checkUnnamed1522(core.List<api.PlacementStrategy> o) { | 5909 checkUnnamed2260(core.List<api.PlacementStrategy> o) { |
| 5743 unittest.expect(o, unittest.hasLength(2)); | 5910 unittest.expect(o, unittest.hasLength(2)); |
| 5744 checkPlacementStrategy(o[0]); | 5911 checkPlacementStrategy(o[0]); |
| 5745 checkPlacementStrategy(o[1]); | 5912 checkPlacementStrategy(o[1]); |
| 5746 } | 5913 } |
| 5747 | 5914 |
| 5748 core.int buildCounterPlacementStrategiesListResponse = 0; | 5915 core.int buildCounterPlacementStrategiesListResponse = 0; |
| 5749 buildPlacementStrategiesListResponse() { | 5916 buildPlacementStrategiesListResponse() { |
| 5750 var o = new api.PlacementStrategiesListResponse(); | 5917 var o = new api.PlacementStrategiesListResponse(); |
| 5751 buildCounterPlacementStrategiesListResponse++; | 5918 buildCounterPlacementStrategiesListResponse++; |
| 5752 if (buildCounterPlacementStrategiesListResponse < 3) { | 5919 if (buildCounterPlacementStrategiesListResponse < 3) { |
| 5753 o.kind = "foo"; | 5920 o.kind = "foo"; |
| 5754 o.nextPageToken = "foo"; | 5921 o.nextPageToken = "foo"; |
| 5755 o.placementStrategies = buildUnnamed1522(); | 5922 o.placementStrategies = buildUnnamed2260(); |
| 5756 } | 5923 } |
| 5757 buildCounterPlacementStrategiesListResponse--; | 5924 buildCounterPlacementStrategiesListResponse--; |
| 5758 return o; | 5925 return o; |
| 5759 } | 5926 } |
| 5760 | 5927 |
| 5761 checkPlacementStrategiesListResponse(api.PlacementStrategiesListResponse o) { | 5928 checkPlacementStrategiesListResponse(api.PlacementStrategiesListResponse o) { |
| 5762 buildCounterPlacementStrategiesListResponse++; | 5929 buildCounterPlacementStrategiesListResponse++; |
| 5763 if (buildCounterPlacementStrategiesListResponse < 3) { | 5930 if (buildCounterPlacementStrategiesListResponse < 3) { |
| 5764 unittest.expect(o.kind, unittest.equals('foo')); | 5931 unittest.expect(o.kind, unittest.equals('foo')); |
| 5765 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 5932 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 5766 checkUnnamed1522(o.placementStrategies); | 5933 checkUnnamed2260(o.placementStrategies); |
| 5767 } | 5934 } |
| 5768 buildCounterPlacementStrategiesListResponse--; | 5935 buildCounterPlacementStrategiesListResponse--; |
| 5769 } | 5936 } |
| 5770 | 5937 |
| 5771 core.int buildCounterPlacementStrategy = 0; | 5938 core.int buildCounterPlacementStrategy = 0; |
| 5772 buildPlacementStrategy() { | 5939 buildPlacementStrategy() { |
| 5773 var o = new api.PlacementStrategy(); | 5940 var o = new api.PlacementStrategy(); |
| 5774 buildCounterPlacementStrategy++; | 5941 buildCounterPlacementStrategy++; |
| 5775 if (buildCounterPlacementStrategy < 3) { | 5942 if (buildCounterPlacementStrategy < 3) { |
| 5776 o.accountId = "foo"; | 5943 o.accountId = "foo"; |
| 5777 o.id = "foo"; | 5944 o.id = "foo"; |
| 5778 o.kind = "foo"; | 5945 o.kind = "foo"; |
| 5779 o.name = "foo"; | 5946 o.name = "foo"; |
| 5780 } | 5947 } |
| 5781 buildCounterPlacementStrategy--; | 5948 buildCounterPlacementStrategy--; |
| 5782 return o; | 5949 return o; |
| 5783 } | 5950 } |
| 5784 | 5951 |
| 5785 checkPlacementStrategy(api.PlacementStrategy o) { | 5952 checkPlacementStrategy(api.PlacementStrategy o) { |
| 5786 buildCounterPlacementStrategy++; | 5953 buildCounterPlacementStrategy++; |
| 5787 if (buildCounterPlacementStrategy < 3) { | 5954 if (buildCounterPlacementStrategy < 3) { |
| 5788 unittest.expect(o.accountId, unittest.equals('foo')); | 5955 unittest.expect(o.accountId, unittest.equals('foo')); |
| 5789 unittest.expect(o.id, unittest.equals('foo')); | 5956 unittest.expect(o.id, unittest.equals('foo')); |
| 5790 unittest.expect(o.kind, unittest.equals('foo')); | 5957 unittest.expect(o.kind, unittest.equals('foo')); |
| 5791 unittest.expect(o.name, unittest.equals('foo')); | 5958 unittest.expect(o.name, unittest.equals('foo')); |
| 5792 } | 5959 } |
| 5793 buildCounterPlacementStrategy--; | 5960 buildCounterPlacementStrategy--; |
| 5794 } | 5961 } |
| 5795 | 5962 |
| 5796 buildUnnamed1523() { | 5963 buildUnnamed2261() { |
| 5797 var o = new core.List<api.TagData>(); | 5964 var o = new core.List<api.TagData>(); |
| 5798 o.add(buildTagData()); | 5965 o.add(buildTagData()); |
| 5799 o.add(buildTagData()); | 5966 o.add(buildTagData()); |
| 5800 return o; | 5967 return o; |
| 5801 } | 5968 } |
| 5802 | 5969 |
| 5803 checkUnnamed1523(core.List<api.TagData> o) { | 5970 checkUnnamed2261(core.List<api.TagData> o) { |
| 5804 unittest.expect(o, unittest.hasLength(2)); | 5971 unittest.expect(o, unittest.hasLength(2)); |
| 5805 checkTagData(o[0]); | 5972 checkTagData(o[0]); |
| 5806 checkTagData(o[1]); | 5973 checkTagData(o[1]); |
| 5807 } | 5974 } |
| 5808 | 5975 |
| 5809 core.int buildCounterPlacementTag = 0; | 5976 core.int buildCounterPlacementTag = 0; |
| 5810 buildPlacementTag() { | 5977 buildPlacementTag() { |
| 5811 var o = new api.PlacementTag(); | 5978 var o = new api.PlacementTag(); |
| 5812 buildCounterPlacementTag++; | 5979 buildCounterPlacementTag++; |
| 5813 if (buildCounterPlacementTag < 3) { | 5980 if (buildCounterPlacementTag < 3) { |
| 5814 o.placementId = "foo"; | 5981 o.placementId = "foo"; |
| 5815 o.tagDatas = buildUnnamed1523(); | 5982 o.tagDatas = buildUnnamed2261(); |
| 5816 } | 5983 } |
| 5817 buildCounterPlacementTag--; | 5984 buildCounterPlacementTag--; |
| 5818 return o; | 5985 return o; |
| 5819 } | 5986 } |
| 5820 | 5987 |
| 5821 checkPlacementTag(api.PlacementTag o) { | 5988 checkPlacementTag(api.PlacementTag o) { |
| 5822 buildCounterPlacementTag++; | 5989 buildCounterPlacementTag++; |
| 5823 if (buildCounterPlacementTag < 3) { | 5990 if (buildCounterPlacementTag < 3) { |
| 5824 unittest.expect(o.placementId, unittest.equals('foo')); | 5991 unittest.expect(o.placementId, unittest.equals('foo')); |
| 5825 checkUnnamed1523(o.tagDatas); | 5992 checkUnnamed2261(o.tagDatas); |
| 5826 } | 5993 } |
| 5827 buildCounterPlacementTag--; | 5994 buildCounterPlacementTag--; |
| 5828 } | 5995 } |
| 5829 | 5996 |
| 5830 buildUnnamed1524() { | 5997 buildUnnamed2262() { |
| 5831 var o = new core.List<api.PlacementTag>(); | 5998 var o = new core.List<api.PlacementTag>(); |
| 5832 o.add(buildPlacementTag()); | 5999 o.add(buildPlacementTag()); |
| 5833 o.add(buildPlacementTag()); | 6000 o.add(buildPlacementTag()); |
| 5834 return o; | 6001 return o; |
| 5835 } | 6002 } |
| 5836 | 6003 |
| 5837 checkUnnamed1524(core.List<api.PlacementTag> o) { | 6004 checkUnnamed2262(core.List<api.PlacementTag> o) { |
| 5838 unittest.expect(o, unittest.hasLength(2)); | 6005 unittest.expect(o, unittest.hasLength(2)); |
| 5839 checkPlacementTag(o[0]); | 6006 checkPlacementTag(o[0]); |
| 5840 checkPlacementTag(o[1]); | 6007 checkPlacementTag(o[1]); |
| 5841 } | 6008 } |
| 5842 | 6009 |
| 5843 core.int buildCounterPlacementsGenerateTagsResponse = 0; | 6010 core.int buildCounterPlacementsGenerateTagsResponse = 0; |
| 5844 buildPlacementsGenerateTagsResponse() { | 6011 buildPlacementsGenerateTagsResponse() { |
| 5845 var o = new api.PlacementsGenerateTagsResponse(); | 6012 var o = new api.PlacementsGenerateTagsResponse(); |
| 5846 buildCounterPlacementsGenerateTagsResponse++; | 6013 buildCounterPlacementsGenerateTagsResponse++; |
| 5847 if (buildCounterPlacementsGenerateTagsResponse < 3) { | 6014 if (buildCounterPlacementsGenerateTagsResponse < 3) { |
| 5848 o.kind = "foo"; | 6015 o.kind = "foo"; |
| 5849 o.placementTags = buildUnnamed1524(); | 6016 o.placementTags = buildUnnamed2262(); |
| 5850 } | 6017 } |
| 5851 buildCounterPlacementsGenerateTagsResponse--; | 6018 buildCounterPlacementsGenerateTagsResponse--; |
| 5852 return o; | 6019 return o; |
| 5853 } | 6020 } |
| 5854 | 6021 |
| 5855 checkPlacementsGenerateTagsResponse(api.PlacementsGenerateTagsResponse o) { | 6022 checkPlacementsGenerateTagsResponse(api.PlacementsGenerateTagsResponse o) { |
| 5856 buildCounterPlacementsGenerateTagsResponse++; | 6023 buildCounterPlacementsGenerateTagsResponse++; |
| 5857 if (buildCounterPlacementsGenerateTagsResponse < 3) { | 6024 if (buildCounterPlacementsGenerateTagsResponse < 3) { |
| 5858 unittest.expect(o.kind, unittest.equals('foo')); | 6025 unittest.expect(o.kind, unittest.equals('foo')); |
| 5859 checkUnnamed1524(o.placementTags); | 6026 checkUnnamed2262(o.placementTags); |
| 5860 } | 6027 } |
| 5861 buildCounterPlacementsGenerateTagsResponse--; | 6028 buildCounterPlacementsGenerateTagsResponse--; |
| 5862 } | 6029 } |
| 5863 | 6030 |
| 5864 buildUnnamed1525() { | 6031 buildUnnamed2263() { |
| 5865 var o = new core.List<api.Placement>(); | 6032 var o = new core.List<api.Placement>(); |
| 5866 o.add(buildPlacement()); | 6033 o.add(buildPlacement()); |
| 5867 o.add(buildPlacement()); | 6034 o.add(buildPlacement()); |
| 5868 return o; | 6035 return o; |
| 5869 } | 6036 } |
| 5870 | 6037 |
| 5871 checkUnnamed1525(core.List<api.Placement> o) { | 6038 checkUnnamed2263(core.List<api.Placement> o) { |
| 5872 unittest.expect(o, unittest.hasLength(2)); | 6039 unittest.expect(o, unittest.hasLength(2)); |
| 5873 checkPlacement(o[0]); | 6040 checkPlacement(o[0]); |
| 5874 checkPlacement(o[1]); | 6041 checkPlacement(o[1]); |
| 5875 } | 6042 } |
| 5876 | 6043 |
| 5877 core.int buildCounterPlacementsListResponse = 0; | 6044 core.int buildCounterPlacementsListResponse = 0; |
| 5878 buildPlacementsListResponse() { | 6045 buildPlacementsListResponse() { |
| 5879 var o = new api.PlacementsListResponse(); | 6046 var o = new api.PlacementsListResponse(); |
| 5880 buildCounterPlacementsListResponse++; | 6047 buildCounterPlacementsListResponse++; |
| 5881 if (buildCounterPlacementsListResponse < 3) { | 6048 if (buildCounterPlacementsListResponse < 3) { |
| 5882 o.kind = "foo"; | 6049 o.kind = "foo"; |
| 5883 o.nextPageToken = "foo"; | 6050 o.nextPageToken = "foo"; |
| 5884 o.placements = buildUnnamed1525(); | 6051 o.placements = buildUnnamed2263(); |
| 5885 } | 6052 } |
| 5886 buildCounterPlacementsListResponse--; | 6053 buildCounterPlacementsListResponse--; |
| 5887 return o; | 6054 return o; |
| 5888 } | 6055 } |
| 5889 | 6056 |
| 5890 checkPlacementsListResponse(api.PlacementsListResponse o) { | 6057 checkPlacementsListResponse(api.PlacementsListResponse o) { |
| 5891 buildCounterPlacementsListResponse++; | 6058 buildCounterPlacementsListResponse++; |
| 5892 if (buildCounterPlacementsListResponse < 3) { | 6059 if (buildCounterPlacementsListResponse < 3) { |
| 5893 unittest.expect(o.kind, unittest.equals('foo')); | 6060 unittest.expect(o.kind, unittest.equals('foo')); |
| 5894 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 6061 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 5895 checkUnnamed1525(o.placements); | 6062 checkUnnamed2263(o.placements); |
| 5896 } | 6063 } |
| 5897 buildCounterPlacementsListResponse--; | 6064 buildCounterPlacementsListResponse--; |
| 5898 } | 6065 } |
| 5899 | 6066 |
| 5900 core.int buildCounterPlatformType = 0; | 6067 core.int buildCounterPlatformType = 0; |
| 5901 buildPlatformType() { | 6068 buildPlatformType() { |
| 5902 var o = new api.PlatformType(); | 6069 var o = new api.PlatformType(); |
| 5903 buildCounterPlatformType++; | 6070 buildCounterPlatformType++; |
| 5904 if (buildCounterPlatformType < 3) { | 6071 if (buildCounterPlatformType < 3) { |
| 5905 o.id = "foo"; | 6072 o.id = "foo"; |
| 5906 o.kind = "foo"; | 6073 o.kind = "foo"; |
| 5907 o.name = "foo"; | 6074 o.name = "foo"; |
| 5908 } | 6075 } |
| 5909 buildCounterPlatformType--; | 6076 buildCounterPlatformType--; |
| 5910 return o; | 6077 return o; |
| 5911 } | 6078 } |
| 5912 | 6079 |
| 5913 checkPlatformType(api.PlatformType o) { | 6080 checkPlatformType(api.PlatformType o) { |
| 5914 buildCounterPlatformType++; | 6081 buildCounterPlatformType++; |
| 5915 if (buildCounterPlatformType < 3) { | 6082 if (buildCounterPlatformType < 3) { |
| 5916 unittest.expect(o.id, unittest.equals('foo')); | 6083 unittest.expect(o.id, unittest.equals('foo')); |
| 5917 unittest.expect(o.kind, unittest.equals('foo')); | 6084 unittest.expect(o.kind, unittest.equals('foo')); |
| 5918 unittest.expect(o.name, unittest.equals('foo')); | 6085 unittest.expect(o.name, unittest.equals('foo')); |
| 5919 } | 6086 } |
| 5920 buildCounterPlatformType--; | 6087 buildCounterPlatformType--; |
| 5921 } | 6088 } |
| 5922 | 6089 |
| 5923 buildUnnamed1526() { | 6090 buildUnnamed2264() { |
| 5924 var o = new core.List<api.PlatformType>(); | 6091 var o = new core.List<api.PlatformType>(); |
| 5925 o.add(buildPlatformType()); | 6092 o.add(buildPlatformType()); |
| 5926 o.add(buildPlatformType()); | 6093 o.add(buildPlatformType()); |
| 5927 return o; | 6094 return o; |
| 5928 } | 6095 } |
| 5929 | 6096 |
| 5930 checkUnnamed1526(core.List<api.PlatformType> o) { | 6097 checkUnnamed2264(core.List<api.PlatformType> o) { |
| 5931 unittest.expect(o, unittest.hasLength(2)); | 6098 unittest.expect(o, unittest.hasLength(2)); |
| 5932 checkPlatformType(o[0]); | 6099 checkPlatformType(o[0]); |
| 5933 checkPlatformType(o[1]); | 6100 checkPlatformType(o[1]); |
| 5934 } | 6101 } |
| 5935 | 6102 |
| 5936 core.int buildCounterPlatformTypesListResponse = 0; | 6103 core.int buildCounterPlatformTypesListResponse = 0; |
| 5937 buildPlatformTypesListResponse() { | 6104 buildPlatformTypesListResponse() { |
| 5938 var o = new api.PlatformTypesListResponse(); | 6105 var o = new api.PlatformTypesListResponse(); |
| 5939 buildCounterPlatformTypesListResponse++; | 6106 buildCounterPlatformTypesListResponse++; |
| 5940 if (buildCounterPlatformTypesListResponse < 3) { | 6107 if (buildCounterPlatformTypesListResponse < 3) { |
| 5941 o.kind = "foo"; | 6108 o.kind = "foo"; |
| 5942 o.platformTypes = buildUnnamed1526(); | 6109 o.platformTypes = buildUnnamed2264(); |
| 5943 } | 6110 } |
| 5944 buildCounterPlatformTypesListResponse--; | 6111 buildCounterPlatformTypesListResponse--; |
| 5945 return o; | 6112 return o; |
| 5946 } | 6113 } |
| 5947 | 6114 |
| 5948 checkPlatformTypesListResponse(api.PlatformTypesListResponse o) { | 6115 checkPlatformTypesListResponse(api.PlatformTypesListResponse o) { |
| 5949 buildCounterPlatformTypesListResponse++; | 6116 buildCounterPlatformTypesListResponse++; |
| 5950 if (buildCounterPlatformTypesListResponse < 3) { | 6117 if (buildCounterPlatformTypesListResponse < 3) { |
| 5951 unittest.expect(o.kind, unittest.equals('foo')); | 6118 unittest.expect(o.kind, unittest.equals('foo')); |
| 5952 checkUnnamed1526(o.platformTypes); | 6119 checkUnnamed2264(o.platformTypes); |
| 5953 } | 6120 } |
| 5954 buildCounterPlatformTypesListResponse--; | 6121 buildCounterPlatformTypesListResponse--; |
| 5955 } | 6122 } |
| 5956 | 6123 |
| 5957 core.int buildCounterPopupWindowProperties = 0; | 6124 core.int buildCounterPopupWindowProperties = 0; |
| 5958 buildPopupWindowProperties() { | 6125 buildPopupWindowProperties() { |
| 5959 var o = new api.PopupWindowProperties(); | 6126 var o = new api.PopupWindowProperties(); |
| 5960 buildCounterPopupWindowProperties++; | 6127 buildCounterPopupWindowProperties++; |
| 5961 if (buildCounterPopupWindowProperties < 3) { | 6128 if (buildCounterPopupWindowProperties < 3) { |
| 5962 o.dimension = buildSize(); | 6129 o.dimension = buildSize(); |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6009 if (buildCounterPostalCode < 3) { | 6176 if (buildCounterPostalCode < 3) { |
| 6010 unittest.expect(o.code, unittest.equals('foo')); | 6177 unittest.expect(o.code, unittest.equals('foo')); |
| 6011 unittest.expect(o.countryCode, unittest.equals('foo')); | 6178 unittest.expect(o.countryCode, unittest.equals('foo')); |
| 6012 unittest.expect(o.countryDartId, unittest.equals('foo')); | 6179 unittest.expect(o.countryDartId, unittest.equals('foo')); |
| 6013 unittest.expect(o.id, unittest.equals('foo')); | 6180 unittest.expect(o.id, unittest.equals('foo')); |
| 6014 unittest.expect(o.kind, unittest.equals('foo')); | 6181 unittest.expect(o.kind, unittest.equals('foo')); |
| 6015 } | 6182 } |
| 6016 buildCounterPostalCode--; | 6183 buildCounterPostalCode--; |
| 6017 } | 6184 } |
| 6018 | 6185 |
| 6019 buildUnnamed1527() { | 6186 buildUnnamed2265() { |
| 6020 var o = new core.List<api.PostalCode>(); | 6187 var o = new core.List<api.PostalCode>(); |
| 6021 o.add(buildPostalCode()); | 6188 o.add(buildPostalCode()); |
| 6022 o.add(buildPostalCode()); | 6189 o.add(buildPostalCode()); |
| 6023 return o; | 6190 return o; |
| 6024 } | 6191 } |
| 6025 | 6192 |
| 6026 checkUnnamed1527(core.List<api.PostalCode> o) { | 6193 checkUnnamed2265(core.List<api.PostalCode> o) { |
| 6027 unittest.expect(o, unittest.hasLength(2)); | 6194 unittest.expect(o, unittest.hasLength(2)); |
| 6028 checkPostalCode(o[0]); | 6195 checkPostalCode(o[0]); |
| 6029 checkPostalCode(o[1]); | 6196 checkPostalCode(o[1]); |
| 6030 } | 6197 } |
| 6031 | 6198 |
| 6032 core.int buildCounterPostalCodesListResponse = 0; | 6199 core.int buildCounterPostalCodesListResponse = 0; |
| 6033 buildPostalCodesListResponse() { | 6200 buildPostalCodesListResponse() { |
| 6034 var o = new api.PostalCodesListResponse(); | 6201 var o = new api.PostalCodesListResponse(); |
| 6035 buildCounterPostalCodesListResponse++; | 6202 buildCounterPostalCodesListResponse++; |
| 6036 if (buildCounterPostalCodesListResponse < 3) { | 6203 if (buildCounterPostalCodesListResponse < 3) { |
| 6037 o.kind = "foo"; | 6204 o.kind = "foo"; |
| 6038 o.postalCodes = buildUnnamed1527(); | 6205 o.postalCodes = buildUnnamed2265(); |
| 6039 } | 6206 } |
| 6040 buildCounterPostalCodesListResponse--; | 6207 buildCounterPostalCodesListResponse--; |
| 6041 return o; | 6208 return o; |
| 6042 } | 6209 } |
| 6043 | 6210 |
| 6044 checkPostalCodesListResponse(api.PostalCodesListResponse o) { | 6211 checkPostalCodesListResponse(api.PostalCodesListResponse o) { |
| 6045 buildCounterPostalCodesListResponse++; | 6212 buildCounterPostalCodesListResponse++; |
| 6046 if (buildCounterPostalCodesListResponse < 3) { | 6213 if (buildCounterPostalCodesListResponse < 3) { |
| 6047 unittest.expect(o.kind, unittest.equals('foo')); | 6214 unittest.expect(o.kind, unittest.equals('foo')); |
| 6048 checkUnnamed1527(o.postalCodes); | 6215 checkUnnamed2265(o.postalCodes); |
| 6049 } | 6216 } |
| 6050 buildCounterPostalCodesListResponse--; | 6217 buildCounterPostalCodesListResponse--; |
| 6051 } | 6218 } |
| 6052 | 6219 |
| 6053 buildUnnamed1528() { | 6220 buildUnnamed2266() { |
| 6054 var o = new core.List<api.Flight>(); | 6221 var o = new core.List<api.Flight>(); |
| 6055 o.add(buildFlight()); | 6222 o.add(buildFlight()); |
| 6056 o.add(buildFlight()); | 6223 o.add(buildFlight()); |
| 6057 return o; | 6224 return o; |
| 6058 } | 6225 } |
| 6059 | 6226 |
| 6060 checkUnnamed1528(core.List<api.Flight> o) { | 6227 checkUnnamed2266(core.List<api.Flight> o) { |
| 6061 unittest.expect(o, unittest.hasLength(2)); | 6228 unittest.expect(o, unittest.hasLength(2)); |
| 6062 checkFlight(o[0]); | 6229 checkFlight(o[0]); |
| 6063 checkFlight(o[1]); | 6230 checkFlight(o[1]); |
| 6064 } | 6231 } |
| 6065 | 6232 |
| 6066 core.int buildCounterPricing = 0; | 6233 core.int buildCounterPricing = 0; |
| 6067 buildPricing() { | 6234 buildPricing() { |
| 6068 var o = new api.Pricing(); | 6235 var o = new api.Pricing(); |
| 6069 buildCounterPricing++; | 6236 buildCounterPricing++; |
| 6070 if (buildCounterPricing < 3) { | 6237 if (buildCounterPricing < 3) { |
| 6071 o.capCostType = "foo"; | 6238 o.capCostType = "foo"; |
| 6072 o.endDate = core.DateTime.parse("2002-02-27T14:01:02Z"); | 6239 o.endDate = core.DateTime.parse("2002-02-27T14:01:02Z"); |
| 6073 o.flights = buildUnnamed1528(); | 6240 o.flights = buildUnnamed2266(); |
| 6074 o.groupType = "foo"; | 6241 o.groupType = "foo"; |
| 6075 o.pricingType = "foo"; | 6242 o.pricingType = "foo"; |
| 6076 o.startDate = core.DateTime.parse("2002-02-27T14:01:02Z"); | 6243 o.startDate = core.DateTime.parse("2002-02-27T14:01:02Z"); |
| 6077 } | 6244 } |
| 6078 buildCounterPricing--; | 6245 buildCounterPricing--; |
| 6079 return o; | 6246 return o; |
| 6080 } | 6247 } |
| 6081 | 6248 |
| 6082 checkPricing(api.Pricing o) { | 6249 checkPricing(api.Pricing o) { |
| 6083 buildCounterPricing++; | 6250 buildCounterPricing++; |
| 6084 if (buildCounterPricing < 3) { | 6251 if (buildCounterPricing < 3) { |
| 6085 unittest.expect(o.capCostType, unittest.equals('foo')); | 6252 unittest.expect(o.capCostType, unittest.equals('foo')); |
| 6086 unittest.expect(o.endDate, unittest.equals(core.DateTime.parse("2002-02-27T0
0:00:00"))); | 6253 unittest.expect(o.endDate, unittest.equals(core.DateTime.parse("2002-02-27T0
0:00:00"))); |
| 6087 checkUnnamed1528(o.flights); | 6254 checkUnnamed2266(o.flights); |
| 6088 unittest.expect(o.groupType, unittest.equals('foo')); | 6255 unittest.expect(o.groupType, unittest.equals('foo')); |
| 6089 unittest.expect(o.pricingType, unittest.equals('foo')); | 6256 unittest.expect(o.pricingType, unittest.equals('foo')); |
| 6090 unittest.expect(o.startDate, unittest.equals(core.DateTime.parse("2002-02-27
T00:00:00"))); | 6257 unittest.expect(o.startDate, unittest.equals(core.DateTime.parse("2002-02-27
T00:00:00"))); |
| 6091 } | 6258 } |
| 6092 buildCounterPricing--; | 6259 buildCounterPricing--; |
| 6093 } | 6260 } |
| 6094 | 6261 |
| 6095 buildUnnamed1529() { | 6262 buildUnnamed2267() { |
| 6096 var o = new core.List<api.PricingSchedulePricingPeriod>(); | 6263 var o = new core.List<api.PricingSchedulePricingPeriod>(); |
| 6097 o.add(buildPricingSchedulePricingPeriod()); | 6264 o.add(buildPricingSchedulePricingPeriod()); |
| 6098 o.add(buildPricingSchedulePricingPeriod()); | 6265 o.add(buildPricingSchedulePricingPeriod()); |
| 6099 return o; | 6266 return o; |
| 6100 } | 6267 } |
| 6101 | 6268 |
| 6102 checkUnnamed1529(core.List<api.PricingSchedulePricingPeriod> o) { | 6269 checkUnnamed2267(core.List<api.PricingSchedulePricingPeriod> o) { |
| 6103 unittest.expect(o, unittest.hasLength(2)); | 6270 unittest.expect(o, unittest.hasLength(2)); |
| 6104 checkPricingSchedulePricingPeriod(o[0]); | 6271 checkPricingSchedulePricingPeriod(o[0]); |
| 6105 checkPricingSchedulePricingPeriod(o[1]); | 6272 checkPricingSchedulePricingPeriod(o[1]); |
| 6106 } | 6273 } |
| 6107 | 6274 |
| 6108 core.int buildCounterPricingSchedule = 0; | 6275 core.int buildCounterPricingSchedule = 0; |
| 6109 buildPricingSchedule() { | 6276 buildPricingSchedule() { |
| 6110 var o = new api.PricingSchedule(); | 6277 var o = new api.PricingSchedule(); |
| 6111 buildCounterPricingSchedule++; | 6278 buildCounterPricingSchedule++; |
| 6112 if (buildCounterPricingSchedule < 3) { | 6279 if (buildCounterPricingSchedule < 3) { |
| 6113 o.capCostOption = "foo"; | 6280 o.capCostOption = "foo"; |
| 6114 o.disregardOverdelivery = true; | 6281 o.disregardOverdelivery = true; |
| 6115 o.endDate = core.DateTime.parse("2002-02-27T14:01:02Z"); | 6282 o.endDate = core.DateTime.parse("2002-02-27T14:01:02Z"); |
| 6116 o.flighted = true; | 6283 o.flighted = true; |
| 6117 o.floodlightActivityId = "foo"; | 6284 o.floodlightActivityId = "foo"; |
| 6118 o.pricingPeriods = buildUnnamed1529(); | 6285 o.pricingPeriods = buildUnnamed2267(); |
| 6119 o.pricingType = "foo"; | 6286 o.pricingType = "foo"; |
| 6120 o.startDate = core.DateTime.parse("2002-02-27T14:01:02Z"); | 6287 o.startDate = core.DateTime.parse("2002-02-27T14:01:02Z"); |
| 6121 o.testingStartDate = core.DateTime.parse("2002-02-27T14:01:02Z"); | 6288 o.testingStartDate = core.DateTime.parse("2002-02-27T14:01:02Z"); |
| 6122 } | 6289 } |
| 6123 buildCounterPricingSchedule--; | 6290 buildCounterPricingSchedule--; |
| 6124 return o; | 6291 return o; |
| 6125 } | 6292 } |
| 6126 | 6293 |
| 6127 checkPricingSchedule(api.PricingSchedule o) { | 6294 checkPricingSchedule(api.PricingSchedule o) { |
| 6128 buildCounterPricingSchedule++; | 6295 buildCounterPricingSchedule++; |
| 6129 if (buildCounterPricingSchedule < 3) { | 6296 if (buildCounterPricingSchedule < 3) { |
| 6130 unittest.expect(o.capCostOption, unittest.equals('foo')); | 6297 unittest.expect(o.capCostOption, unittest.equals('foo')); |
| 6131 unittest.expect(o.disregardOverdelivery, unittest.isTrue); | 6298 unittest.expect(o.disregardOverdelivery, unittest.isTrue); |
| 6132 unittest.expect(o.endDate, unittest.equals(core.DateTime.parse("2002-02-27T0
0:00:00"))); | 6299 unittest.expect(o.endDate, unittest.equals(core.DateTime.parse("2002-02-27T0
0:00:00"))); |
| 6133 unittest.expect(o.flighted, unittest.isTrue); | 6300 unittest.expect(o.flighted, unittest.isTrue); |
| 6134 unittest.expect(o.floodlightActivityId, unittest.equals('foo')); | 6301 unittest.expect(o.floodlightActivityId, unittest.equals('foo')); |
| 6135 checkUnnamed1529(o.pricingPeriods); | 6302 checkUnnamed2267(o.pricingPeriods); |
| 6136 unittest.expect(o.pricingType, unittest.equals('foo')); | 6303 unittest.expect(o.pricingType, unittest.equals('foo')); |
| 6137 unittest.expect(o.startDate, unittest.equals(core.DateTime.parse("2002-02-27
T00:00:00"))); | 6304 unittest.expect(o.startDate, unittest.equals(core.DateTime.parse("2002-02-27
T00:00:00"))); |
| 6138 unittest.expect(o.testingStartDate, unittest.equals(core.DateTime.parse("200
2-02-27T00:00:00"))); | 6305 unittest.expect(o.testingStartDate, unittest.equals(core.DateTime.parse("200
2-02-27T00:00:00"))); |
| 6139 } | 6306 } |
| 6140 buildCounterPricingSchedule--; | 6307 buildCounterPricingSchedule--; |
| 6141 } | 6308 } |
| 6142 | 6309 |
| 6143 core.int buildCounterPricingSchedulePricingPeriod = 0; | 6310 core.int buildCounterPricingSchedulePricingPeriod = 0; |
| 6144 buildPricingSchedulePricingPeriod() { | 6311 buildPricingSchedulePricingPeriod() { |
| 6145 var o = new api.PricingSchedulePricingPeriod(); | 6312 var o = new api.PricingSchedulePricingPeriod(); |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6184 o.kind = "foo"; | 6351 o.kind = "foo"; |
| 6185 o.lastModifiedInfo = buildLastModifiedInfo(); | 6352 o.lastModifiedInfo = buildLastModifiedInfo(); |
| 6186 o.name = "foo"; | 6353 o.name = "foo"; |
| 6187 o.overview = "foo"; | 6354 o.overview = "foo"; |
| 6188 o.startDate = core.DateTime.parse("2002-02-27T14:01:02Z"); | 6355 o.startDate = core.DateTime.parse("2002-02-27T14:01:02Z"); |
| 6189 o.subaccountId = "foo"; | 6356 o.subaccountId = "foo"; |
| 6190 o.targetClicks = "foo"; | 6357 o.targetClicks = "foo"; |
| 6191 o.targetConversions = "foo"; | 6358 o.targetConversions = "foo"; |
| 6192 o.targetCpaNanos = "foo"; | 6359 o.targetCpaNanos = "foo"; |
| 6193 o.targetCpcNanos = "foo"; | 6360 o.targetCpcNanos = "foo"; |
| 6361 o.targetCpmActiveViewNanos = "foo"; |
| 6194 o.targetCpmNanos = "foo"; | 6362 o.targetCpmNanos = "foo"; |
| 6195 o.targetImpressions = "foo"; | 6363 o.targetImpressions = "foo"; |
| 6196 } | 6364 } |
| 6197 buildCounterProject--; | 6365 buildCounterProject--; |
| 6198 return o; | 6366 return o; |
| 6199 } | 6367 } |
| 6200 | 6368 |
| 6201 checkProject(api.Project o) { | 6369 checkProject(api.Project o) { |
| 6202 buildCounterProject++; | 6370 buildCounterProject++; |
| 6203 if (buildCounterProject < 3) { | 6371 if (buildCounterProject < 3) { |
| 6204 unittest.expect(o.accountId, unittest.equals('foo')); | 6372 unittest.expect(o.accountId, unittest.equals('foo')); |
| 6205 unittest.expect(o.advertiserId, unittest.equals('foo')); | 6373 unittest.expect(o.advertiserId, unittest.equals('foo')); |
| 6206 unittest.expect(o.audienceAgeGroup, unittest.equals('foo')); | 6374 unittest.expect(o.audienceAgeGroup, unittest.equals('foo')); |
| 6207 unittest.expect(o.audienceGender, unittest.equals('foo')); | 6375 unittest.expect(o.audienceGender, unittest.equals('foo')); |
| 6208 unittest.expect(o.budget, unittest.equals('foo')); | 6376 unittest.expect(o.budget, unittest.equals('foo')); |
| 6209 unittest.expect(o.clientBillingCode, unittest.equals('foo')); | 6377 unittest.expect(o.clientBillingCode, unittest.equals('foo')); |
| 6210 unittest.expect(o.clientName, unittest.equals('foo')); | 6378 unittest.expect(o.clientName, unittest.equals('foo')); |
| 6211 unittest.expect(o.endDate, unittest.equals(core.DateTime.parse("2002-02-27T0
0:00:00"))); | 6379 unittest.expect(o.endDate, unittest.equals(core.DateTime.parse("2002-02-27T0
0:00:00"))); |
| 6212 unittest.expect(o.id, unittest.equals('foo')); | 6380 unittest.expect(o.id, unittest.equals('foo')); |
| 6213 unittest.expect(o.kind, unittest.equals('foo')); | 6381 unittest.expect(o.kind, unittest.equals('foo')); |
| 6214 checkLastModifiedInfo(o.lastModifiedInfo); | 6382 checkLastModifiedInfo(o.lastModifiedInfo); |
| 6215 unittest.expect(o.name, unittest.equals('foo')); | 6383 unittest.expect(o.name, unittest.equals('foo')); |
| 6216 unittest.expect(o.overview, unittest.equals('foo')); | 6384 unittest.expect(o.overview, unittest.equals('foo')); |
| 6217 unittest.expect(o.startDate, unittest.equals(core.DateTime.parse("2002-02-27
T00:00:00"))); | 6385 unittest.expect(o.startDate, unittest.equals(core.DateTime.parse("2002-02-27
T00:00:00"))); |
| 6218 unittest.expect(o.subaccountId, unittest.equals('foo')); | 6386 unittest.expect(o.subaccountId, unittest.equals('foo')); |
| 6219 unittest.expect(o.targetClicks, unittest.equals('foo')); | 6387 unittest.expect(o.targetClicks, unittest.equals('foo')); |
| 6220 unittest.expect(o.targetConversions, unittest.equals('foo')); | 6388 unittest.expect(o.targetConversions, unittest.equals('foo')); |
| 6221 unittest.expect(o.targetCpaNanos, unittest.equals('foo')); | 6389 unittest.expect(o.targetCpaNanos, unittest.equals('foo')); |
| 6222 unittest.expect(o.targetCpcNanos, unittest.equals('foo')); | 6390 unittest.expect(o.targetCpcNanos, unittest.equals('foo')); |
| 6391 unittest.expect(o.targetCpmActiveViewNanos, unittest.equals('foo')); |
| 6223 unittest.expect(o.targetCpmNanos, unittest.equals('foo')); | 6392 unittest.expect(o.targetCpmNanos, unittest.equals('foo')); |
| 6224 unittest.expect(o.targetImpressions, unittest.equals('foo')); | 6393 unittest.expect(o.targetImpressions, unittest.equals('foo')); |
| 6225 } | 6394 } |
| 6226 buildCounterProject--; | 6395 buildCounterProject--; |
| 6227 } | 6396 } |
| 6228 | 6397 |
| 6229 buildUnnamed1530() { | 6398 buildUnnamed2268() { |
| 6230 var o = new core.List<api.Project>(); | 6399 var o = new core.List<api.Project>(); |
| 6231 o.add(buildProject()); | 6400 o.add(buildProject()); |
| 6232 o.add(buildProject()); | 6401 o.add(buildProject()); |
| 6233 return o; | 6402 return o; |
| 6234 } | 6403 } |
| 6235 | 6404 |
| 6236 checkUnnamed1530(core.List<api.Project> o) { | 6405 checkUnnamed2268(core.List<api.Project> o) { |
| 6237 unittest.expect(o, unittest.hasLength(2)); | 6406 unittest.expect(o, unittest.hasLength(2)); |
| 6238 checkProject(o[0]); | 6407 checkProject(o[0]); |
| 6239 checkProject(o[1]); | 6408 checkProject(o[1]); |
| 6240 } | 6409 } |
| 6241 | 6410 |
| 6242 core.int buildCounterProjectsListResponse = 0; | 6411 core.int buildCounterProjectsListResponse = 0; |
| 6243 buildProjectsListResponse() { | 6412 buildProjectsListResponse() { |
| 6244 var o = new api.ProjectsListResponse(); | 6413 var o = new api.ProjectsListResponse(); |
| 6245 buildCounterProjectsListResponse++; | 6414 buildCounterProjectsListResponse++; |
| 6246 if (buildCounterProjectsListResponse < 3) { | 6415 if (buildCounterProjectsListResponse < 3) { |
| 6247 o.kind = "foo"; | 6416 o.kind = "foo"; |
| 6248 o.nextPageToken = "foo"; | 6417 o.nextPageToken = "foo"; |
| 6249 o.projects = buildUnnamed1530(); | 6418 o.projects = buildUnnamed2268(); |
| 6250 } | 6419 } |
| 6251 buildCounterProjectsListResponse--; | 6420 buildCounterProjectsListResponse--; |
| 6252 return o; | 6421 return o; |
| 6253 } | 6422 } |
| 6254 | 6423 |
| 6255 checkProjectsListResponse(api.ProjectsListResponse o) { | 6424 checkProjectsListResponse(api.ProjectsListResponse o) { |
| 6256 buildCounterProjectsListResponse++; | 6425 buildCounterProjectsListResponse++; |
| 6257 if (buildCounterProjectsListResponse < 3) { | 6426 if (buildCounterProjectsListResponse < 3) { |
| 6258 unittest.expect(o.kind, unittest.equals('foo')); | 6427 unittest.expect(o.kind, unittest.equals('foo')); |
| 6259 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 6428 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 6260 checkUnnamed1530(o.projects); | 6429 checkUnnamed2268(o.projects); |
| 6261 } | 6430 } |
| 6262 buildCounterProjectsListResponse--; | 6431 buildCounterProjectsListResponse--; |
| 6263 } | 6432 } |
| 6264 | 6433 |
| 6265 buildUnnamed1531() { | 6434 buildUnnamed2269() { |
| 6266 var o = new core.List<api.Dimension>(); | 6435 var o = new core.List<api.Dimension>(); |
| 6267 o.add(buildDimension()); | 6436 o.add(buildDimension()); |
| 6268 o.add(buildDimension()); | 6437 o.add(buildDimension()); |
| 6269 return o; | 6438 return o; |
| 6270 } | 6439 } |
| 6271 | 6440 |
| 6272 checkUnnamed1531(core.List<api.Dimension> o) { | 6441 checkUnnamed2269(core.List<api.Dimension> o) { |
| 6273 unittest.expect(o, unittest.hasLength(2)); | 6442 unittest.expect(o, unittest.hasLength(2)); |
| 6274 checkDimension(o[0]); | 6443 checkDimension(o[0]); |
| 6275 checkDimension(o[1]); | 6444 checkDimension(o[1]); |
| 6276 } | 6445 } |
| 6277 | 6446 |
| 6278 buildUnnamed1532() { | 6447 buildUnnamed2270() { |
| 6279 var o = new core.List<api.Dimension>(); | 6448 var o = new core.List<api.Dimension>(); |
| 6280 o.add(buildDimension()); | 6449 o.add(buildDimension()); |
| 6281 o.add(buildDimension()); | 6450 o.add(buildDimension()); |
| 6282 return o; | 6451 return o; |
| 6283 } | 6452 } |
| 6284 | 6453 |
| 6285 checkUnnamed1532(core.List<api.Dimension> o) { | 6454 checkUnnamed2270(core.List<api.Dimension> o) { |
| 6286 unittest.expect(o, unittest.hasLength(2)); | 6455 unittest.expect(o, unittest.hasLength(2)); |
| 6287 checkDimension(o[0]); | 6456 checkDimension(o[0]); |
| 6288 checkDimension(o[1]); | 6457 checkDimension(o[1]); |
| 6289 } | 6458 } |
| 6290 | 6459 |
| 6291 buildUnnamed1533() { | 6460 buildUnnamed2271() { |
| 6292 var o = new core.List<api.Metric>(); | 6461 var o = new core.List<api.Metric>(); |
| 6293 o.add(buildMetric()); | 6462 o.add(buildMetric()); |
| 6294 o.add(buildMetric()); | 6463 o.add(buildMetric()); |
| 6295 return o; | 6464 return o; |
| 6296 } | 6465 } |
| 6297 | 6466 |
| 6298 checkUnnamed1533(core.List<api.Metric> o) { | 6467 checkUnnamed2271(core.List<api.Metric> o) { |
| 6299 unittest.expect(o, unittest.hasLength(2)); | 6468 unittest.expect(o, unittest.hasLength(2)); |
| 6300 checkMetric(o[0]); | 6469 checkMetric(o[0]); |
| 6301 checkMetric(o[1]); | 6470 checkMetric(o[1]); |
| 6302 } | 6471 } |
| 6303 | 6472 |
| 6304 buildUnnamed1534() { | 6473 buildUnnamed2272() { |
| 6305 var o = new core.List<api.Metric>(); | 6474 var o = new core.List<api.Metric>(); |
| 6306 o.add(buildMetric()); | 6475 o.add(buildMetric()); |
| 6307 o.add(buildMetric()); | 6476 o.add(buildMetric()); |
| 6308 return o; | 6477 return o; |
| 6309 } | 6478 } |
| 6310 | 6479 |
| 6311 checkUnnamed1534(core.List<api.Metric> o) { | 6480 checkUnnamed2272(core.List<api.Metric> o) { |
| 6312 unittest.expect(o, unittest.hasLength(2)); | 6481 unittest.expect(o, unittest.hasLength(2)); |
| 6313 checkMetric(o[0]); | 6482 checkMetric(o[0]); |
| 6314 checkMetric(o[1]); | 6483 checkMetric(o[1]); |
| 6315 } | 6484 } |
| 6316 | 6485 |
| 6317 buildUnnamed1535() { | 6486 buildUnnamed2273() { |
| 6318 var o = new core.List<api.Metric>(); | 6487 var o = new core.List<api.Metric>(); |
| 6319 o.add(buildMetric()); | 6488 o.add(buildMetric()); |
| 6320 o.add(buildMetric()); | 6489 o.add(buildMetric()); |
| 6321 return o; | 6490 return o; |
| 6322 } | 6491 } |
| 6323 | 6492 |
| 6324 checkUnnamed1535(core.List<api.Metric> o) { | 6493 checkUnnamed2273(core.List<api.Metric> o) { |
| 6325 unittest.expect(o, unittest.hasLength(2)); | 6494 unittest.expect(o, unittest.hasLength(2)); |
| 6326 checkMetric(o[0]); | 6495 checkMetric(o[0]); |
| 6327 checkMetric(o[1]); | 6496 checkMetric(o[1]); |
| 6328 } | 6497 } |
| 6329 | 6498 |
| 6330 core.int buildCounterReachReportCompatibleFields = 0; | 6499 core.int buildCounterReachReportCompatibleFields = 0; |
| 6331 buildReachReportCompatibleFields() { | 6500 buildReachReportCompatibleFields() { |
| 6332 var o = new api.ReachReportCompatibleFields(); | 6501 var o = new api.ReachReportCompatibleFields(); |
| 6333 buildCounterReachReportCompatibleFields++; | 6502 buildCounterReachReportCompatibleFields++; |
| 6334 if (buildCounterReachReportCompatibleFields < 3) { | 6503 if (buildCounterReachReportCompatibleFields < 3) { |
| 6335 o.dimensionFilters = buildUnnamed1531(); | 6504 o.dimensionFilters = buildUnnamed2269(); |
| 6336 o.dimensions = buildUnnamed1532(); | 6505 o.dimensions = buildUnnamed2270(); |
| 6337 o.kind = "foo"; | 6506 o.kind = "foo"; |
| 6338 o.metrics = buildUnnamed1533(); | 6507 o.metrics = buildUnnamed2271(); |
| 6339 o.pivotedActivityMetrics = buildUnnamed1534(); | 6508 o.pivotedActivityMetrics = buildUnnamed2272(); |
| 6340 o.reachByFrequencyMetrics = buildUnnamed1535(); | 6509 o.reachByFrequencyMetrics = buildUnnamed2273(); |
| 6341 } | 6510 } |
| 6342 buildCounterReachReportCompatibleFields--; | 6511 buildCounterReachReportCompatibleFields--; |
| 6343 return o; | 6512 return o; |
| 6344 } | 6513 } |
| 6345 | 6514 |
| 6346 checkReachReportCompatibleFields(api.ReachReportCompatibleFields o) { | 6515 checkReachReportCompatibleFields(api.ReachReportCompatibleFields o) { |
| 6347 buildCounterReachReportCompatibleFields++; | 6516 buildCounterReachReportCompatibleFields++; |
| 6348 if (buildCounterReachReportCompatibleFields < 3) { | 6517 if (buildCounterReachReportCompatibleFields < 3) { |
| 6349 checkUnnamed1531(o.dimensionFilters); | 6518 checkUnnamed2269(o.dimensionFilters); |
| 6350 checkUnnamed1532(o.dimensions); | 6519 checkUnnamed2270(o.dimensions); |
| 6351 unittest.expect(o.kind, unittest.equals('foo')); | 6520 unittest.expect(o.kind, unittest.equals('foo')); |
| 6352 checkUnnamed1533(o.metrics); | 6521 checkUnnamed2271(o.metrics); |
| 6353 checkUnnamed1534(o.pivotedActivityMetrics); | 6522 checkUnnamed2272(o.pivotedActivityMetrics); |
| 6354 checkUnnamed1535(o.reachByFrequencyMetrics); | 6523 checkUnnamed2273(o.reachByFrequencyMetrics); |
| 6355 } | 6524 } |
| 6356 buildCounterReachReportCompatibleFields--; | 6525 buildCounterReachReportCompatibleFields--; |
| 6357 } | 6526 } |
| 6358 | 6527 |
| 6359 core.int buildCounterRecipient = 0; | 6528 core.int buildCounterRecipient = 0; |
| 6360 buildRecipient() { | 6529 buildRecipient() { |
| 6361 var o = new api.Recipient(); | 6530 var o = new api.Recipient(); |
| 6362 buildCounterRecipient++; | 6531 buildCounterRecipient++; |
| 6363 if (buildCounterRecipient < 3) { | 6532 if (buildCounterRecipient < 3) { |
| 6364 o.deliveryType = "foo"; | 6533 o.deliveryType = "foo"; |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6401 unittest.expect(o.countryCode, unittest.equals('foo')); | 6570 unittest.expect(o.countryCode, unittest.equals('foo')); |
| 6402 unittest.expect(o.countryDartId, unittest.equals('foo')); | 6571 unittest.expect(o.countryDartId, unittest.equals('foo')); |
| 6403 unittest.expect(o.dartId, unittest.equals('foo')); | 6572 unittest.expect(o.dartId, unittest.equals('foo')); |
| 6404 unittest.expect(o.kind, unittest.equals('foo')); | 6573 unittest.expect(o.kind, unittest.equals('foo')); |
| 6405 unittest.expect(o.name, unittest.equals('foo')); | 6574 unittest.expect(o.name, unittest.equals('foo')); |
| 6406 unittest.expect(o.regionCode, unittest.equals('foo')); | 6575 unittest.expect(o.regionCode, unittest.equals('foo')); |
| 6407 } | 6576 } |
| 6408 buildCounterRegion--; | 6577 buildCounterRegion--; |
| 6409 } | 6578 } |
| 6410 | 6579 |
| 6411 buildUnnamed1536() { | 6580 buildUnnamed2274() { |
| 6412 var o = new core.List<api.Region>(); | 6581 var o = new core.List<api.Region>(); |
| 6413 o.add(buildRegion()); | 6582 o.add(buildRegion()); |
| 6414 o.add(buildRegion()); | 6583 o.add(buildRegion()); |
| 6415 return o; | 6584 return o; |
| 6416 } | 6585 } |
| 6417 | 6586 |
| 6418 checkUnnamed1536(core.List<api.Region> o) { | 6587 checkUnnamed2274(core.List<api.Region> o) { |
| 6419 unittest.expect(o, unittest.hasLength(2)); | 6588 unittest.expect(o, unittest.hasLength(2)); |
| 6420 checkRegion(o[0]); | 6589 checkRegion(o[0]); |
| 6421 checkRegion(o[1]); | 6590 checkRegion(o[1]); |
| 6422 } | 6591 } |
| 6423 | 6592 |
| 6424 core.int buildCounterRegionsListResponse = 0; | 6593 core.int buildCounterRegionsListResponse = 0; |
| 6425 buildRegionsListResponse() { | 6594 buildRegionsListResponse() { |
| 6426 var o = new api.RegionsListResponse(); | 6595 var o = new api.RegionsListResponse(); |
| 6427 buildCounterRegionsListResponse++; | 6596 buildCounterRegionsListResponse++; |
| 6428 if (buildCounterRegionsListResponse < 3) { | 6597 if (buildCounterRegionsListResponse < 3) { |
| 6429 o.kind = "foo"; | 6598 o.kind = "foo"; |
| 6430 o.regions = buildUnnamed1536(); | 6599 o.regions = buildUnnamed2274(); |
| 6431 } | 6600 } |
| 6432 buildCounterRegionsListResponse--; | 6601 buildCounterRegionsListResponse--; |
| 6433 return o; | 6602 return o; |
| 6434 } | 6603 } |
| 6435 | 6604 |
| 6436 checkRegionsListResponse(api.RegionsListResponse o) { | 6605 checkRegionsListResponse(api.RegionsListResponse o) { |
| 6437 buildCounterRegionsListResponse++; | 6606 buildCounterRegionsListResponse++; |
| 6438 if (buildCounterRegionsListResponse < 3) { | 6607 if (buildCounterRegionsListResponse < 3) { |
| 6439 unittest.expect(o.kind, unittest.equals('foo')); | 6608 unittest.expect(o.kind, unittest.equals('foo')); |
| 6440 checkUnnamed1536(o.regions); | 6609 checkUnnamed2274(o.regions); |
| 6441 } | 6610 } |
| 6442 buildCounterRegionsListResponse--; | 6611 buildCounterRegionsListResponse--; |
| 6443 } | 6612 } |
| 6444 | 6613 |
| 6445 core.int buildCounterRemarketingList = 0; | 6614 core.int buildCounterRemarketingList = 0; |
| 6446 buildRemarketingList() { | 6615 buildRemarketingList() { |
| 6447 var o = new api.RemarketingList(); | 6616 var o = new api.RemarketingList(); |
| 6448 buildCounterRemarketingList++; | 6617 buildCounterRemarketingList++; |
| 6449 if (buildCounterRemarketingList < 3) { | 6618 if (buildCounterRemarketingList < 3) { |
| 6450 o.accountId = "foo"; | 6619 o.accountId = "foo"; |
| (...skipping 27 matching lines...) Expand all Loading... |
| 6478 unittest.expect(o.lifeSpan, unittest.equals('foo')); | 6647 unittest.expect(o.lifeSpan, unittest.equals('foo')); |
| 6479 checkListPopulationRule(o.listPopulationRule); | 6648 checkListPopulationRule(o.listPopulationRule); |
| 6480 unittest.expect(o.listSize, unittest.equals('foo')); | 6649 unittest.expect(o.listSize, unittest.equals('foo')); |
| 6481 unittest.expect(o.listSource, unittest.equals('foo')); | 6650 unittest.expect(o.listSource, unittest.equals('foo')); |
| 6482 unittest.expect(o.name, unittest.equals('foo')); | 6651 unittest.expect(o.name, unittest.equals('foo')); |
| 6483 unittest.expect(o.subaccountId, unittest.equals('foo')); | 6652 unittest.expect(o.subaccountId, unittest.equals('foo')); |
| 6484 } | 6653 } |
| 6485 buildCounterRemarketingList--; | 6654 buildCounterRemarketingList--; |
| 6486 } | 6655 } |
| 6487 | 6656 |
| 6488 buildUnnamed1537() { | 6657 buildUnnamed2275() { |
| 6489 var o = new core.List<core.String>(); | 6658 var o = new core.List<core.String>(); |
| 6490 o.add("foo"); | 6659 o.add("foo"); |
| 6491 o.add("foo"); | 6660 o.add("foo"); |
| 6492 return o; | 6661 return o; |
| 6493 } | 6662 } |
| 6494 | 6663 |
| 6495 checkUnnamed1537(core.List<core.String> o) { | 6664 checkUnnamed2275(core.List<core.String> o) { |
| 6496 unittest.expect(o, unittest.hasLength(2)); | 6665 unittest.expect(o, unittest.hasLength(2)); |
| 6497 unittest.expect(o[0], unittest.equals('foo')); | 6666 unittest.expect(o[0], unittest.equals('foo')); |
| 6498 unittest.expect(o[1], unittest.equals('foo')); | 6667 unittest.expect(o[1], unittest.equals('foo')); |
| 6499 } | 6668 } |
| 6500 | 6669 |
| 6501 buildUnnamed1538() { | 6670 buildUnnamed2276() { |
| 6502 var o = new core.List<core.String>(); | 6671 var o = new core.List<core.String>(); |
| 6503 o.add("foo"); | 6672 o.add("foo"); |
| 6504 o.add("foo"); | 6673 o.add("foo"); |
| 6505 return o; | 6674 return o; |
| 6506 } | 6675 } |
| 6507 | 6676 |
| 6508 checkUnnamed1538(core.List<core.String> o) { | 6677 checkUnnamed2276(core.List<core.String> o) { |
| 6509 unittest.expect(o, unittest.hasLength(2)); | 6678 unittest.expect(o, unittest.hasLength(2)); |
| 6510 unittest.expect(o[0], unittest.equals('foo')); | 6679 unittest.expect(o[0], unittest.equals('foo')); |
| 6511 unittest.expect(o[1], unittest.equals('foo')); | 6680 unittest.expect(o[1], unittest.equals('foo')); |
| 6512 } | 6681 } |
| 6513 | 6682 |
| 6514 core.int buildCounterRemarketingListShare = 0; | 6683 core.int buildCounterRemarketingListShare = 0; |
| 6515 buildRemarketingListShare() { | 6684 buildRemarketingListShare() { |
| 6516 var o = new api.RemarketingListShare(); | 6685 var o = new api.RemarketingListShare(); |
| 6517 buildCounterRemarketingListShare++; | 6686 buildCounterRemarketingListShare++; |
| 6518 if (buildCounterRemarketingListShare < 3) { | 6687 if (buildCounterRemarketingListShare < 3) { |
| 6519 o.kind = "foo"; | 6688 o.kind = "foo"; |
| 6520 o.remarketingListId = "foo"; | 6689 o.remarketingListId = "foo"; |
| 6521 o.sharedAccountIds = buildUnnamed1537(); | 6690 o.sharedAccountIds = buildUnnamed2275(); |
| 6522 o.sharedAdvertiserIds = buildUnnamed1538(); | 6691 o.sharedAdvertiserIds = buildUnnamed2276(); |
| 6523 } | 6692 } |
| 6524 buildCounterRemarketingListShare--; | 6693 buildCounterRemarketingListShare--; |
| 6525 return o; | 6694 return o; |
| 6526 } | 6695 } |
| 6527 | 6696 |
| 6528 checkRemarketingListShare(api.RemarketingListShare o) { | 6697 checkRemarketingListShare(api.RemarketingListShare o) { |
| 6529 buildCounterRemarketingListShare++; | 6698 buildCounterRemarketingListShare++; |
| 6530 if (buildCounterRemarketingListShare < 3) { | 6699 if (buildCounterRemarketingListShare < 3) { |
| 6531 unittest.expect(o.kind, unittest.equals('foo')); | 6700 unittest.expect(o.kind, unittest.equals('foo')); |
| 6532 unittest.expect(o.remarketingListId, unittest.equals('foo')); | 6701 unittest.expect(o.remarketingListId, unittest.equals('foo')); |
| 6533 checkUnnamed1537(o.sharedAccountIds); | 6702 checkUnnamed2275(o.sharedAccountIds); |
| 6534 checkUnnamed1538(o.sharedAdvertiserIds); | 6703 checkUnnamed2276(o.sharedAdvertiserIds); |
| 6535 } | 6704 } |
| 6536 buildCounterRemarketingListShare--; | 6705 buildCounterRemarketingListShare--; |
| 6537 } | 6706 } |
| 6538 | 6707 |
| 6539 buildUnnamed1539() { | 6708 buildUnnamed2277() { |
| 6540 var o = new core.List<api.RemarketingList>(); | 6709 var o = new core.List<api.RemarketingList>(); |
| 6541 o.add(buildRemarketingList()); | 6710 o.add(buildRemarketingList()); |
| 6542 o.add(buildRemarketingList()); | 6711 o.add(buildRemarketingList()); |
| 6543 return o; | 6712 return o; |
| 6544 } | 6713 } |
| 6545 | 6714 |
| 6546 checkUnnamed1539(core.List<api.RemarketingList> o) { | 6715 checkUnnamed2277(core.List<api.RemarketingList> o) { |
| 6547 unittest.expect(o, unittest.hasLength(2)); | 6716 unittest.expect(o, unittest.hasLength(2)); |
| 6548 checkRemarketingList(o[0]); | 6717 checkRemarketingList(o[0]); |
| 6549 checkRemarketingList(o[1]); | 6718 checkRemarketingList(o[1]); |
| 6550 } | 6719 } |
| 6551 | 6720 |
| 6552 core.int buildCounterRemarketingListsListResponse = 0; | 6721 core.int buildCounterRemarketingListsListResponse = 0; |
| 6553 buildRemarketingListsListResponse() { | 6722 buildRemarketingListsListResponse() { |
| 6554 var o = new api.RemarketingListsListResponse(); | 6723 var o = new api.RemarketingListsListResponse(); |
| 6555 buildCounterRemarketingListsListResponse++; | 6724 buildCounterRemarketingListsListResponse++; |
| 6556 if (buildCounterRemarketingListsListResponse < 3) { | 6725 if (buildCounterRemarketingListsListResponse < 3) { |
| 6557 o.kind = "foo"; | 6726 o.kind = "foo"; |
| 6558 o.nextPageToken = "foo"; | 6727 o.nextPageToken = "foo"; |
| 6559 o.remarketingLists = buildUnnamed1539(); | 6728 o.remarketingLists = buildUnnamed2277(); |
| 6560 } | 6729 } |
| 6561 buildCounterRemarketingListsListResponse--; | 6730 buildCounterRemarketingListsListResponse--; |
| 6562 return o; | 6731 return o; |
| 6563 } | 6732 } |
| 6564 | 6733 |
| 6565 checkRemarketingListsListResponse(api.RemarketingListsListResponse o) { | 6734 checkRemarketingListsListResponse(api.RemarketingListsListResponse o) { |
| 6566 buildCounterRemarketingListsListResponse++; | 6735 buildCounterRemarketingListsListResponse++; |
| 6567 if (buildCounterRemarketingListsListResponse < 3) { | 6736 if (buildCounterRemarketingListsListResponse < 3) { |
| 6568 unittest.expect(o.kind, unittest.equals('foo')); | 6737 unittest.expect(o.kind, unittest.equals('foo')); |
| 6569 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 6738 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 6570 checkUnnamed1539(o.remarketingLists); | 6739 checkUnnamed2277(o.remarketingLists); |
| 6571 } | 6740 } |
| 6572 buildCounterRemarketingListsListResponse--; | 6741 buildCounterRemarketingListsListResponse--; |
| 6573 } | 6742 } |
| 6574 | 6743 |
| 6575 buildUnnamed1540() { | 6744 buildUnnamed2278() { |
| 6576 var o = new core.List<api.DimensionValue>(); | 6745 var o = new core.List<api.DimensionValue>(); |
| 6577 o.add(buildDimensionValue()); | 6746 o.add(buildDimensionValue()); |
| 6578 o.add(buildDimensionValue()); | 6747 o.add(buildDimensionValue()); |
| 6579 return o; | 6748 return o; |
| 6580 } | 6749 } |
| 6581 | 6750 |
| 6582 checkUnnamed1540(core.List<api.DimensionValue> o) { | 6751 checkUnnamed2278(core.List<api.DimensionValue> o) { |
| 6583 unittest.expect(o, unittest.hasLength(2)); | 6752 unittest.expect(o, unittest.hasLength(2)); |
| 6584 checkDimensionValue(o[0]); | 6753 checkDimensionValue(o[0]); |
| 6585 checkDimensionValue(o[1]); | 6754 checkDimensionValue(o[1]); |
| 6586 } | 6755 } |
| 6587 | 6756 |
| 6588 buildUnnamed1541() { | 6757 buildUnnamed2279() { |
| 6589 var o = new core.List<api.SortedDimension>(); | 6758 var o = new core.List<api.SortedDimension>(); |
| 6590 o.add(buildSortedDimension()); | 6759 o.add(buildSortedDimension()); |
| 6591 o.add(buildSortedDimension()); | 6760 o.add(buildSortedDimension()); |
| 6592 return o; | 6761 return o; |
| 6593 } | 6762 } |
| 6594 | 6763 |
| 6595 checkUnnamed1541(core.List<api.SortedDimension> o) { | 6764 checkUnnamed2279(core.List<api.SortedDimension> o) { |
| 6596 unittest.expect(o, unittest.hasLength(2)); | 6765 unittest.expect(o, unittest.hasLength(2)); |
| 6597 checkSortedDimension(o[0]); | 6766 checkSortedDimension(o[0]); |
| 6598 checkSortedDimension(o[1]); | 6767 checkSortedDimension(o[1]); |
| 6599 } | 6768 } |
| 6600 | 6769 |
| 6601 buildUnnamed1542() { | 6770 buildUnnamed2280() { |
| 6602 var o = new core.List<core.String>(); | 6771 var o = new core.List<core.String>(); |
| 6603 o.add("foo"); | 6772 o.add("foo"); |
| 6604 o.add("foo"); | 6773 o.add("foo"); |
| 6605 return o; | 6774 return o; |
| 6606 } | 6775 } |
| 6607 | 6776 |
| 6608 checkUnnamed1542(core.List<core.String> o) { | 6777 checkUnnamed2280(core.List<core.String> o) { |
| 6609 unittest.expect(o, unittest.hasLength(2)); | 6778 unittest.expect(o, unittest.hasLength(2)); |
| 6610 unittest.expect(o[0], unittest.equals('foo')); | 6779 unittest.expect(o[0], unittest.equals('foo')); |
| 6611 unittest.expect(o[1], unittest.equals('foo')); | 6780 unittest.expect(o[1], unittest.equals('foo')); |
| 6612 } | 6781 } |
| 6613 | 6782 |
| 6614 core.int buildCounterReportCriteria = 0; | 6783 core.int buildCounterReportCriteria = 0; |
| 6615 buildReportCriteria() { | 6784 buildReportCriteria() { |
| 6616 var o = new api.ReportCriteria(); | 6785 var o = new api.ReportCriteria(); |
| 6617 buildCounterReportCriteria++; | 6786 buildCounterReportCriteria++; |
| 6618 if (buildCounterReportCriteria < 3) { | 6787 if (buildCounterReportCriteria < 3) { |
| 6619 o.activities = buildActivities(); | 6788 o.activities = buildActivities(); |
| 6620 o.customRichMediaEvents = buildCustomRichMediaEvents(); | 6789 o.customRichMediaEvents = buildCustomRichMediaEvents(); |
| 6621 o.dateRange = buildDateRange(); | 6790 o.dateRange = buildDateRange(); |
| 6622 o.dimensionFilters = buildUnnamed1540(); | 6791 o.dimensionFilters = buildUnnamed2278(); |
| 6623 o.dimensions = buildUnnamed1541(); | 6792 o.dimensions = buildUnnamed2279(); |
| 6624 o.metricNames = buildUnnamed1542(); | 6793 o.metricNames = buildUnnamed2280(); |
| 6625 } | 6794 } |
| 6626 buildCounterReportCriteria--; | 6795 buildCounterReportCriteria--; |
| 6627 return o; | 6796 return o; |
| 6628 } | 6797 } |
| 6629 | 6798 |
| 6630 checkReportCriteria(api.ReportCriteria o) { | 6799 checkReportCriteria(api.ReportCriteria o) { |
| 6631 buildCounterReportCriteria++; | 6800 buildCounterReportCriteria++; |
| 6632 if (buildCounterReportCriteria < 3) { | 6801 if (buildCounterReportCriteria < 3) { |
| 6633 checkActivities(o.activities); | 6802 checkActivities(o.activities); |
| 6634 checkCustomRichMediaEvents(o.customRichMediaEvents); | 6803 checkCustomRichMediaEvents(o.customRichMediaEvents); |
| 6635 checkDateRange(o.dateRange); | 6804 checkDateRange(o.dateRange); |
| 6636 checkUnnamed1540(o.dimensionFilters); | 6805 checkUnnamed2278(o.dimensionFilters); |
| 6637 checkUnnamed1541(o.dimensions); | 6806 checkUnnamed2279(o.dimensions); |
| 6638 checkUnnamed1542(o.metricNames); | 6807 checkUnnamed2280(o.metricNames); |
| 6639 } | 6808 } |
| 6640 buildCounterReportCriteria--; | 6809 buildCounterReportCriteria--; |
| 6641 } | 6810 } |
| 6642 | 6811 |
| 6643 buildUnnamed1543() { | 6812 buildUnnamed2281() { |
| 6644 var o = new core.List<api.SortedDimension>(); | 6813 var o = new core.List<api.SortedDimension>(); |
| 6645 o.add(buildSortedDimension()); | 6814 o.add(buildSortedDimension()); |
| 6646 o.add(buildSortedDimension()); | 6815 o.add(buildSortedDimension()); |
| 6647 return o; | 6816 return o; |
| 6648 } | 6817 } |
| 6649 | 6818 |
| 6650 checkUnnamed1543(core.List<api.SortedDimension> o) { | 6819 checkUnnamed2281(core.List<api.SortedDimension> o) { |
| 6651 unittest.expect(o, unittest.hasLength(2)); | 6820 unittest.expect(o, unittest.hasLength(2)); |
| 6652 checkSortedDimension(o[0]); | 6821 checkSortedDimension(o[0]); |
| 6653 checkSortedDimension(o[1]); | 6822 checkSortedDimension(o[1]); |
| 6654 } | 6823 } |
| 6655 | 6824 |
| 6656 buildUnnamed1544() { | 6825 buildUnnamed2282() { |
| 6657 var o = new core.List<api.DimensionValue>(); | 6826 var o = new core.List<api.DimensionValue>(); |
| 6658 o.add(buildDimensionValue()); | 6827 o.add(buildDimensionValue()); |
| 6659 o.add(buildDimensionValue()); | 6828 o.add(buildDimensionValue()); |
| 6660 return o; | 6829 return o; |
| 6661 } | 6830 } |
| 6662 | 6831 |
| 6663 checkUnnamed1544(core.List<api.DimensionValue> o) { | 6832 checkUnnamed2282(core.List<api.DimensionValue> o) { |
| 6664 unittest.expect(o, unittest.hasLength(2)); | 6833 unittest.expect(o, unittest.hasLength(2)); |
| 6665 checkDimensionValue(o[0]); | 6834 checkDimensionValue(o[0]); |
| 6666 checkDimensionValue(o[1]); | 6835 checkDimensionValue(o[1]); |
| 6667 } | 6836 } |
| 6668 | 6837 |
| 6669 buildUnnamed1545() { | 6838 buildUnnamed2283() { |
| 6670 var o = new core.List<core.String>(); | 6839 var o = new core.List<core.String>(); |
| 6671 o.add("foo"); | 6840 o.add("foo"); |
| 6672 o.add("foo"); | 6841 o.add("foo"); |
| 6673 return o; | 6842 return o; |
| 6674 } | 6843 } |
| 6675 | 6844 |
| 6676 checkUnnamed1545(core.List<core.String> o) { | 6845 checkUnnamed2283(core.List<core.String> o) { |
| 6677 unittest.expect(o, unittest.hasLength(2)); | 6846 unittest.expect(o, unittest.hasLength(2)); |
| 6678 unittest.expect(o[0], unittest.equals('foo')); | 6847 unittest.expect(o[0], unittest.equals('foo')); |
| 6679 unittest.expect(o[1], unittest.equals('foo')); | 6848 unittest.expect(o[1], unittest.equals('foo')); |
| 6680 } | 6849 } |
| 6681 | 6850 |
| 6682 buildUnnamed1546() { | 6851 buildUnnamed2284() { |
| 6683 var o = new core.List<core.String>(); | 6852 var o = new core.List<core.String>(); |
| 6684 o.add("foo"); | 6853 o.add("foo"); |
| 6685 o.add("foo"); | 6854 o.add("foo"); |
| 6686 return o; | 6855 return o; |
| 6687 } | 6856 } |
| 6688 | 6857 |
| 6689 checkUnnamed1546(core.List<core.String> o) { | 6858 checkUnnamed2284(core.List<core.String> o) { |
| 6690 unittest.expect(o, unittest.hasLength(2)); | 6859 unittest.expect(o, unittest.hasLength(2)); |
| 6691 unittest.expect(o[0], unittest.equals('foo')); | 6860 unittest.expect(o[0], unittest.equals('foo')); |
| 6692 unittest.expect(o[1], unittest.equals('foo')); | 6861 unittest.expect(o[1], unittest.equals('foo')); |
| 6693 } | 6862 } |
| 6694 | 6863 |
| 6695 core.int buildCounterReportCrossDimensionReachCriteria = 0; | 6864 core.int buildCounterReportCrossDimensionReachCriteria = 0; |
| 6696 buildReportCrossDimensionReachCriteria() { | 6865 buildReportCrossDimensionReachCriteria() { |
| 6697 var o = new api.ReportCrossDimensionReachCriteria(); | 6866 var o = new api.ReportCrossDimensionReachCriteria(); |
| 6698 buildCounterReportCrossDimensionReachCriteria++; | 6867 buildCounterReportCrossDimensionReachCriteria++; |
| 6699 if (buildCounterReportCrossDimensionReachCriteria < 3) { | 6868 if (buildCounterReportCrossDimensionReachCriteria < 3) { |
| 6700 o.breakdown = buildUnnamed1543(); | 6869 o.breakdown = buildUnnamed2281(); |
| 6701 o.dateRange = buildDateRange(); | 6870 o.dateRange = buildDateRange(); |
| 6702 o.dimension = "foo"; | 6871 o.dimension = "foo"; |
| 6703 o.dimensionFilters = buildUnnamed1544(); | 6872 o.dimensionFilters = buildUnnamed2282(); |
| 6704 o.metricNames = buildUnnamed1545(); | 6873 o.metricNames = buildUnnamed2283(); |
| 6705 o.overlapMetricNames = buildUnnamed1546(); | 6874 o.overlapMetricNames = buildUnnamed2284(); |
| 6706 o.pivoted = true; | 6875 o.pivoted = true; |
| 6707 } | 6876 } |
| 6708 buildCounterReportCrossDimensionReachCriteria--; | 6877 buildCounterReportCrossDimensionReachCriteria--; |
| 6709 return o; | 6878 return o; |
| 6710 } | 6879 } |
| 6711 | 6880 |
| 6712 checkReportCrossDimensionReachCriteria(api.ReportCrossDimensionReachCriteria o)
{ | 6881 checkReportCrossDimensionReachCriteria(api.ReportCrossDimensionReachCriteria o)
{ |
| 6713 buildCounterReportCrossDimensionReachCriteria++; | 6882 buildCounterReportCrossDimensionReachCriteria++; |
| 6714 if (buildCounterReportCrossDimensionReachCriteria < 3) { | 6883 if (buildCounterReportCrossDimensionReachCriteria < 3) { |
| 6715 checkUnnamed1543(o.breakdown); | 6884 checkUnnamed2281(o.breakdown); |
| 6716 checkDateRange(o.dateRange); | 6885 checkDateRange(o.dateRange); |
| 6717 unittest.expect(o.dimension, unittest.equals('foo')); | 6886 unittest.expect(o.dimension, unittest.equals('foo')); |
| 6718 checkUnnamed1544(o.dimensionFilters); | 6887 checkUnnamed2282(o.dimensionFilters); |
| 6719 checkUnnamed1545(o.metricNames); | 6888 checkUnnamed2283(o.metricNames); |
| 6720 checkUnnamed1546(o.overlapMetricNames); | 6889 checkUnnamed2284(o.overlapMetricNames); |
| 6721 unittest.expect(o.pivoted, unittest.isTrue); | 6890 unittest.expect(o.pivoted, unittest.isTrue); |
| 6722 } | 6891 } |
| 6723 buildCounterReportCrossDimensionReachCriteria--; | 6892 buildCounterReportCrossDimensionReachCriteria--; |
| 6724 } | 6893 } |
| 6725 | 6894 |
| 6726 buildUnnamed1547() { | 6895 buildUnnamed2285() { |
| 6727 var o = new core.List<api.Recipient>(); | 6896 var o = new core.List<api.Recipient>(); |
| 6728 o.add(buildRecipient()); | 6897 o.add(buildRecipient()); |
| 6729 o.add(buildRecipient()); | 6898 o.add(buildRecipient()); |
| 6730 return o; | 6899 return o; |
| 6731 } | 6900 } |
| 6732 | 6901 |
| 6733 checkUnnamed1547(core.List<api.Recipient> o) { | 6902 checkUnnamed2285(core.List<api.Recipient> o) { |
| 6734 unittest.expect(o, unittest.hasLength(2)); | 6903 unittest.expect(o, unittest.hasLength(2)); |
| 6735 checkRecipient(o[0]); | 6904 checkRecipient(o[0]); |
| 6736 checkRecipient(o[1]); | 6905 checkRecipient(o[1]); |
| 6737 } | 6906 } |
| 6738 | 6907 |
| 6739 core.int buildCounterReportDelivery = 0; | 6908 core.int buildCounterReportDelivery = 0; |
| 6740 buildReportDelivery() { | 6909 buildReportDelivery() { |
| 6741 var o = new api.ReportDelivery(); | 6910 var o = new api.ReportDelivery(); |
| 6742 buildCounterReportDelivery++; | 6911 buildCounterReportDelivery++; |
| 6743 if (buildCounterReportDelivery < 3) { | 6912 if (buildCounterReportDelivery < 3) { |
| 6744 o.emailOwner = true; | 6913 o.emailOwner = true; |
| 6745 o.emailOwnerDeliveryType = "foo"; | 6914 o.emailOwnerDeliveryType = "foo"; |
| 6746 o.message = "foo"; | 6915 o.message = "foo"; |
| 6747 o.recipients = buildUnnamed1547(); | 6916 o.recipients = buildUnnamed2285(); |
| 6748 } | 6917 } |
| 6749 buildCounterReportDelivery--; | 6918 buildCounterReportDelivery--; |
| 6750 return o; | 6919 return o; |
| 6751 } | 6920 } |
| 6752 | 6921 |
| 6753 checkReportDelivery(api.ReportDelivery o) { | 6922 checkReportDelivery(api.ReportDelivery o) { |
| 6754 buildCounterReportDelivery++; | 6923 buildCounterReportDelivery++; |
| 6755 if (buildCounterReportDelivery < 3) { | 6924 if (buildCounterReportDelivery < 3) { |
| 6756 unittest.expect(o.emailOwner, unittest.isTrue); | 6925 unittest.expect(o.emailOwner, unittest.isTrue); |
| 6757 unittest.expect(o.emailOwnerDeliveryType, unittest.equals('foo')); | 6926 unittest.expect(o.emailOwnerDeliveryType, unittest.equals('foo')); |
| 6758 unittest.expect(o.message, unittest.equals('foo')); | 6927 unittest.expect(o.message, unittest.equals('foo')); |
| 6759 checkUnnamed1547(o.recipients); | 6928 checkUnnamed2285(o.recipients); |
| 6760 } | 6929 } |
| 6761 buildCounterReportDelivery--; | 6930 buildCounterReportDelivery--; |
| 6762 } | 6931 } |
| 6763 | 6932 |
| 6764 buildUnnamed1548() { | 6933 buildUnnamed2286() { |
| 6765 var o = new core.List<api.DimensionValue>(); | 6934 var o = new core.List<api.DimensionValue>(); |
| 6766 o.add(buildDimensionValue()); | 6935 o.add(buildDimensionValue()); |
| 6767 o.add(buildDimensionValue()); | 6936 o.add(buildDimensionValue()); |
| 6768 return o; | 6937 return o; |
| 6769 } | 6938 } |
| 6770 | 6939 |
| 6771 checkUnnamed1548(core.List<api.DimensionValue> o) { | 6940 checkUnnamed2286(core.List<api.DimensionValue> o) { |
| 6772 unittest.expect(o, unittest.hasLength(2)); | 6941 unittest.expect(o, unittest.hasLength(2)); |
| 6773 checkDimensionValue(o[0]); | 6942 checkDimensionValue(o[0]); |
| 6774 checkDimensionValue(o[1]); | 6943 checkDimensionValue(o[1]); |
| 6775 } | 6944 } |
| 6776 | 6945 |
| 6777 buildUnnamed1549() { | 6946 buildUnnamed2287() { |
| 6778 var o = new core.List<api.DimensionValue>(); | 6947 var o = new core.List<api.DimensionValue>(); |
| 6779 o.add(buildDimensionValue()); | 6948 o.add(buildDimensionValue()); |
| 6780 o.add(buildDimensionValue()); | 6949 o.add(buildDimensionValue()); |
| 6781 return o; | 6950 return o; |
| 6782 } | 6951 } |
| 6783 | 6952 |
| 6784 checkUnnamed1549(core.List<api.DimensionValue> o) { | 6953 checkUnnamed2287(core.List<api.DimensionValue> o) { |
| 6785 unittest.expect(o, unittest.hasLength(2)); | 6954 unittest.expect(o, unittest.hasLength(2)); |
| 6786 checkDimensionValue(o[0]); | 6955 checkDimensionValue(o[0]); |
| 6787 checkDimensionValue(o[1]); | 6956 checkDimensionValue(o[1]); |
| 6788 } | 6957 } |
| 6789 | 6958 |
| 6790 buildUnnamed1550() { | 6959 buildUnnamed2288() { |
| 6791 var o = new core.List<api.SortedDimension>(); | 6960 var o = new core.List<api.SortedDimension>(); |
| 6792 o.add(buildSortedDimension()); | 6961 o.add(buildSortedDimension()); |
| 6793 o.add(buildSortedDimension()); | 6962 o.add(buildSortedDimension()); |
| 6794 return o; | 6963 return o; |
| 6795 } | 6964 } |
| 6796 | 6965 |
| 6797 checkUnnamed1550(core.List<api.SortedDimension> o) { | 6966 checkUnnamed2288(core.List<api.SortedDimension> o) { |
| 6798 unittest.expect(o, unittest.hasLength(2)); | 6967 unittest.expect(o, unittest.hasLength(2)); |
| 6799 checkSortedDimension(o[0]); | 6968 checkSortedDimension(o[0]); |
| 6800 checkSortedDimension(o[1]); | 6969 checkSortedDimension(o[1]); |
| 6801 } | 6970 } |
| 6802 | 6971 |
| 6803 buildUnnamed1551() { | 6972 buildUnnamed2289() { |
| 6804 var o = new core.List<core.String>(); | 6973 var o = new core.List<core.String>(); |
| 6805 o.add("foo"); | 6974 o.add("foo"); |
| 6806 o.add("foo"); | 6975 o.add("foo"); |
| 6807 return o; | 6976 return o; |
| 6808 } | 6977 } |
| 6809 | 6978 |
| 6810 checkUnnamed1551(core.List<core.String> o) { | 6979 checkUnnamed2289(core.List<core.String> o) { |
| 6811 unittest.expect(o, unittest.hasLength(2)); | 6980 unittest.expect(o, unittest.hasLength(2)); |
| 6812 unittest.expect(o[0], unittest.equals('foo')); | 6981 unittest.expect(o[0], unittest.equals('foo')); |
| 6813 unittest.expect(o[1], unittest.equals('foo')); | 6982 unittest.expect(o[1], unittest.equals('foo')); |
| 6814 } | 6983 } |
| 6815 | 6984 |
| 6816 core.int buildCounterReportFloodlightCriteriaReportProperties = 0; | 6985 core.int buildCounterReportFloodlightCriteriaReportProperties = 0; |
| 6817 buildReportFloodlightCriteriaReportProperties() { | 6986 buildReportFloodlightCriteriaReportProperties() { |
| 6818 var o = new api.ReportFloodlightCriteriaReportProperties(); | 6987 var o = new api.ReportFloodlightCriteriaReportProperties(); |
| 6819 buildCounterReportFloodlightCriteriaReportProperties++; | 6988 buildCounterReportFloodlightCriteriaReportProperties++; |
| 6820 if (buildCounterReportFloodlightCriteriaReportProperties < 3) { | 6989 if (buildCounterReportFloodlightCriteriaReportProperties < 3) { |
| (...skipping 13 matching lines...) Expand all Loading... |
| 6834 unittest.expect(o.includeUnattributedIPConversions, unittest.isTrue); | 7003 unittest.expect(o.includeUnattributedIPConversions, unittest.isTrue); |
| 6835 } | 7004 } |
| 6836 buildCounterReportFloodlightCriteriaReportProperties--; | 7005 buildCounterReportFloodlightCriteriaReportProperties--; |
| 6837 } | 7006 } |
| 6838 | 7007 |
| 6839 core.int buildCounterReportFloodlightCriteria = 0; | 7008 core.int buildCounterReportFloodlightCriteria = 0; |
| 6840 buildReportFloodlightCriteria() { | 7009 buildReportFloodlightCriteria() { |
| 6841 var o = new api.ReportFloodlightCriteria(); | 7010 var o = new api.ReportFloodlightCriteria(); |
| 6842 buildCounterReportFloodlightCriteria++; | 7011 buildCounterReportFloodlightCriteria++; |
| 6843 if (buildCounterReportFloodlightCriteria < 3) { | 7012 if (buildCounterReportFloodlightCriteria < 3) { |
| 6844 o.customRichMediaEvents = buildUnnamed1548(); | 7013 o.customRichMediaEvents = buildUnnamed2286(); |
| 6845 o.dateRange = buildDateRange(); | 7014 o.dateRange = buildDateRange(); |
| 6846 o.dimensionFilters = buildUnnamed1549(); | 7015 o.dimensionFilters = buildUnnamed2287(); |
| 6847 o.dimensions = buildUnnamed1550(); | 7016 o.dimensions = buildUnnamed2288(); |
| 6848 o.floodlightConfigId = buildDimensionValue(); | 7017 o.floodlightConfigId = buildDimensionValue(); |
| 6849 o.metricNames = buildUnnamed1551(); | 7018 o.metricNames = buildUnnamed2289(); |
| 6850 o.reportProperties = buildReportFloodlightCriteriaReportProperties(); | 7019 o.reportProperties = buildReportFloodlightCriteriaReportProperties(); |
| 6851 } | 7020 } |
| 6852 buildCounterReportFloodlightCriteria--; | 7021 buildCounterReportFloodlightCriteria--; |
| 6853 return o; | 7022 return o; |
| 6854 } | 7023 } |
| 6855 | 7024 |
| 6856 checkReportFloodlightCriteria(api.ReportFloodlightCriteria o) { | 7025 checkReportFloodlightCriteria(api.ReportFloodlightCriteria o) { |
| 6857 buildCounterReportFloodlightCriteria++; | 7026 buildCounterReportFloodlightCriteria++; |
| 6858 if (buildCounterReportFloodlightCriteria < 3) { | 7027 if (buildCounterReportFloodlightCriteria < 3) { |
| 6859 checkUnnamed1548(o.customRichMediaEvents); | 7028 checkUnnamed2286(o.customRichMediaEvents); |
| 6860 checkDateRange(o.dateRange); | 7029 checkDateRange(o.dateRange); |
| 6861 checkUnnamed1549(o.dimensionFilters); | 7030 checkUnnamed2287(o.dimensionFilters); |
| 6862 checkUnnamed1550(o.dimensions); | 7031 checkUnnamed2288(o.dimensions); |
| 6863 checkDimensionValue(o.floodlightConfigId); | 7032 checkDimensionValue(o.floodlightConfigId); |
| 6864 checkUnnamed1551(o.metricNames); | 7033 checkUnnamed2289(o.metricNames); |
| 6865 checkReportFloodlightCriteriaReportProperties(o.reportProperties); | 7034 checkReportFloodlightCriteriaReportProperties(o.reportProperties); |
| 6866 } | 7035 } |
| 6867 buildCounterReportFloodlightCriteria--; | 7036 buildCounterReportFloodlightCriteria--; |
| 6868 } | 7037 } |
| 6869 | 7038 |
| 6870 buildUnnamed1552() { | 7039 buildUnnamed2290() { |
| 6871 var o = new core.List<api.DimensionValue>(); | 7040 var o = new core.List<api.DimensionValue>(); |
| 6872 o.add(buildDimensionValue()); | 7041 o.add(buildDimensionValue()); |
| 6873 o.add(buildDimensionValue()); | 7042 o.add(buildDimensionValue()); |
| 6874 return o; | 7043 return o; |
| 6875 } | 7044 } |
| 6876 | 7045 |
| 6877 checkUnnamed1552(core.List<api.DimensionValue> o) { | 7046 checkUnnamed2290(core.List<api.DimensionValue> o) { |
| 6878 unittest.expect(o, unittest.hasLength(2)); | 7047 unittest.expect(o, unittest.hasLength(2)); |
| 6879 checkDimensionValue(o[0]); | 7048 checkDimensionValue(o[0]); |
| 6880 checkDimensionValue(o[1]); | 7049 checkDimensionValue(o[1]); |
| 6881 } | 7050 } |
| 6882 | 7051 |
| 6883 buildUnnamed1553() { | 7052 buildUnnamed2291() { |
| 6884 var o = new core.List<api.SortedDimension>(); | 7053 var o = new core.List<api.SortedDimension>(); |
| 6885 o.add(buildSortedDimension()); | 7054 o.add(buildSortedDimension()); |
| 6886 o.add(buildSortedDimension()); | 7055 o.add(buildSortedDimension()); |
| 6887 return o; | 7056 return o; |
| 6888 } | 7057 } |
| 6889 | 7058 |
| 6890 checkUnnamed1553(core.List<api.SortedDimension> o) { | 7059 checkUnnamed2291(core.List<api.SortedDimension> o) { |
| 6891 unittest.expect(o, unittest.hasLength(2)); | 7060 unittest.expect(o, unittest.hasLength(2)); |
| 6892 checkSortedDimension(o[0]); | 7061 checkSortedDimension(o[0]); |
| 6893 checkSortedDimension(o[1]); | 7062 checkSortedDimension(o[1]); |
| 6894 } | 7063 } |
| 6895 | 7064 |
| 6896 buildUnnamed1554() { | 7065 buildUnnamed2292() { |
| 6897 var o = new core.List<api.SortedDimension>(); | 7066 var o = new core.List<api.SortedDimension>(); |
| 6898 o.add(buildSortedDimension()); | 7067 o.add(buildSortedDimension()); |
| 6899 o.add(buildSortedDimension()); | 7068 o.add(buildSortedDimension()); |
| 6900 return o; | 7069 return o; |
| 6901 } | 7070 } |
| 6902 | 7071 |
| 6903 checkUnnamed1554(core.List<api.SortedDimension> o) { | 7072 checkUnnamed2292(core.List<api.SortedDimension> o) { |
| 6904 unittest.expect(o, unittest.hasLength(2)); | 7073 unittest.expect(o, unittest.hasLength(2)); |
| 6905 checkSortedDimension(o[0]); | 7074 checkSortedDimension(o[0]); |
| 6906 checkSortedDimension(o[1]); | 7075 checkSortedDimension(o[1]); |
| 6907 } | 7076 } |
| 6908 | 7077 |
| 6909 buildUnnamed1555() { | 7078 buildUnnamed2293() { |
| 6910 var o = new core.List<api.DimensionValue>(); | 7079 var o = new core.List<api.DimensionValue>(); |
| 6911 o.add(buildDimensionValue()); | 7080 o.add(buildDimensionValue()); |
| 6912 o.add(buildDimensionValue()); | 7081 o.add(buildDimensionValue()); |
| 6913 return o; | 7082 return o; |
| 6914 } | 7083 } |
| 6915 | 7084 |
| 6916 checkUnnamed1555(core.List<api.DimensionValue> o) { | 7085 checkUnnamed2293(core.List<api.DimensionValue> o) { |
| 6917 unittest.expect(o, unittest.hasLength(2)); | 7086 unittest.expect(o, unittest.hasLength(2)); |
| 6918 checkDimensionValue(o[0]); | 7087 checkDimensionValue(o[0]); |
| 6919 checkDimensionValue(o[1]); | 7088 checkDimensionValue(o[1]); |
| 6920 } | 7089 } |
| 6921 | 7090 |
| 6922 buildUnnamed1556() { | 7091 buildUnnamed2294() { |
| 6923 var o = new core.List<core.String>(); | 7092 var o = new core.List<core.String>(); |
| 6924 o.add("foo"); | 7093 o.add("foo"); |
| 6925 o.add("foo"); | 7094 o.add("foo"); |
| 6926 return o; | 7095 return o; |
| 6927 } | 7096 } |
| 6928 | 7097 |
| 6929 checkUnnamed1556(core.List<core.String> o) { | 7098 checkUnnamed2294(core.List<core.String> o) { |
| 6930 unittest.expect(o, unittest.hasLength(2)); | 7099 unittest.expect(o, unittest.hasLength(2)); |
| 6931 unittest.expect(o[0], unittest.equals('foo')); | 7100 unittest.expect(o[0], unittest.equals('foo')); |
| 6932 unittest.expect(o[1], unittest.equals('foo')); | 7101 unittest.expect(o[1], unittest.equals('foo')); |
| 6933 } | 7102 } |
| 6934 | 7103 |
| 6935 buildUnnamed1557() { | 7104 buildUnnamed2295() { |
| 6936 var o = new core.List<api.SortedDimension>(); | 7105 var o = new core.List<api.SortedDimension>(); |
| 6937 o.add(buildSortedDimension()); | 7106 o.add(buildSortedDimension()); |
| 6938 o.add(buildSortedDimension()); | 7107 o.add(buildSortedDimension()); |
| 6939 return o; | 7108 return o; |
| 6940 } | 7109 } |
| 6941 | 7110 |
| 6942 checkUnnamed1557(core.List<api.SortedDimension> o) { | 7111 checkUnnamed2295(core.List<api.SortedDimension> o) { |
| 6943 unittest.expect(o, unittest.hasLength(2)); | 7112 unittest.expect(o, unittest.hasLength(2)); |
| 6944 checkSortedDimension(o[0]); | 7113 checkSortedDimension(o[0]); |
| 6945 checkSortedDimension(o[1]); | 7114 checkSortedDimension(o[1]); |
| 6946 } | 7115 } |
| 6947 | 7116 |
| 6948 core.int buildCounterReportPathToConversionCriteriaReportProperties = 0; | 7117 core.int buildCounterReportPathToConversionCriteriaReportProperties = 0; |
| 6949 buildReportPathToConversionCriteriaReportProperties() { | 7118 buildReportPathToConversionCriteriaReportProperties() { |
| 6950 var o = new api.ReportPathToConversionCriteriaReportProperties(); | 7119 var o = new api.ReportPathToConversionCriteriaReportProperties(); |
| 6951 buildCounterReportPathToConversionCriteriaReportProperties++; | 7120 buildCounterReportPathToConversionCriteriaReportProperties++; |
| 6952 if (buildCounterReportPathToConversionCriteriaReportProperties < 3) { | 7121 if (buildCounterReportPathToConversionCriteriaReportProperties < 3) { |
| (...skipping 25 matching lines...) Expand all Loading... |
| 6978 unittest.expect(o.pivotOnInteractionPath, unittest.isTrue); | 7147 unittest.expect(o.pivotOnInteractionPath, unittest.isTrue); |
| 6979 } | 7148 } |
| 6980 buildCounterReportPathToConversionCriteriaReportProperties--; | 7149 buildCounterReportPathToConversionCriteriaReportProperties--; |
| 6981 } | 7150 } |
| 6982 | 7151 |
| 6983 core.int buildCounterReportPathToConversionCriteria = 0; | 7152 core.int buildCounterReportPathToConversionCriteria = 0; |
| 6984 buildReportPathToConversionCriteria() { | 7153 buildReportPathToConversionCriteria() { |
| 6985 var o = new api.ReportPathToConversionCriteria(); | 7154 var o = new api.ReportPathToConversionCriteria(); |
| 6986 buildCounterReportPathToConversionCriteria++; | 7155 buildCounterReportPathToConversionCriteria++; |
| 6987 if (buildCounterReportPathToConversionCriteria < 3) { | 7156 if (buildCounterReportPathToConversionCriteria < 3) { |
| 6988 o.activityFilters = buildUnnamed1552(); | 7157 o.activityFilters = buildUnnamed2290(); |
| 6989 o.conversionDimensions = buildUnnamed1553(); | 7158 o.conversionDimensions = buildUnnamed2291(); |
| 6990 o.customFloodlightVariables = buildUnnamed1554(); | 7159 o.customFloodlightVariables = buildUnnamed2292(); |
| 6991 o.customRichMediaEvents = buildUnnamed1555(); | 7160 o.customRichMediaEvents = buildUnnamed2293(); |
| 6992 o.dateRange = buildDateRange(); | 7161 o.dateRange = buildDateRange(); |
| 6993 o.floodlightConfigId = buildDimensionValue(); | 7162 o.floodlightConfigId = buildDimensionValue(); |
| 6994 o.metricNames = buildUnnamed1556(); | 7163 o.metricNames = buildUnnamed2294(); |
| 6995 o.perInteractionDimensions = buildUnnamed1557(); | 7164 o.perInteractionDimensions = buildUnnamed2295(); |
| 6996 o.reportProperties = buildReportPathToConversionCriteriaReportProperties(); | 7165 o.reportProperties = buildReportPathToConversionCriteriaReportProperties(); |
| 6997 } | 7166 } |
| 6998 buildCounterReportPathToConversionCriteria--; | 7167 buildCounterReportPathToConversionCriteria--; |
| 6999 return o; | 7168 return o; |
| 7000 } | 7169 } |
| 7001 | 7170 |
| 7002 checkReportPathToConversionCriteria(api.ReportPathToConversionCriteria o) { | 7171 checkReportPathToConversionCriteria(api.ReportPathToConversionCriteria o) { |
| 7003 buildCounterReportPathToConversionCriteria++; | 7172 buildCounterReportPathToConversionCriteria++; |
| 7004 if (buildCounterReportPathToConversionCriteria < 3) { | 7173 if (buildCounterReportPathToConversionCriteria < 3) { |
| 7005 checkUnnamed1552(o.activityFilters); | 7174 checkUnnamed2290(o.activityFilters); |
| 7006 checkUnnamed1553(o.conversionDimensions); | 7175 checkUnnamed2291(o.conversionDimensions); |
| 7007 checkUnnamed1554(o.customFloodlightVariables); | 7176 checkUnnamed2292(o.customFloodlightVariables); |
| 7008 checkUnnamed1555(o.customRichMediaEvents); | 7177 checkUnnamed2293(o.customRichMediaEvents); |
| 7009 checkDateRange(o.dateRange); | 7178 checkDateRange(o.dateRange); |
| 7010 checkDimensionValue(o.floodlightConfigId); | 7179 checkDimensionValue(o.floodlightConfigId); |
| 7011 checkUnnamed1556(o.metricNames); | 7180 checkUnnamed2294(o.metricNames); |
| 7012 checkUnnamed1557(o.perInteractionDimensions); | 7181 checkUnnamed2295(o.perInteractionDimensions); |
| 7013 checkReportPathToConversionCriteriaReportProperties(o.reportProperties); | 7182 checkReportPathToConversionCriteriaReportProperties(o.reportProperties); |
| 7014 } | 7183 } |
| 7015 buildCounterReportPathToConversionCriteria--; | 7184 buildCounterReportPathToConversionCriteria--; |
| 7016 } | 7185 } |
| 7017 | 7186 |
| 7018 buildUnnamed1558() { | 7187 buildUnnamed2296() { |
| 7019 var o = new core.List<api.DimensionValue>(); | 7188 var o = new core.List<api.DimensionValue>(); |
| 7020 o.add(buildDimensionValue()); | 7189 o.add(buildDimensionValue()); |
| 7021 o.add(buildDimensionValue()); | 7190 o.add(buildDimensionValue()); |
| 7022 return o; | 7191 return o; |
| 7023 } | 7192 } |
| 7024 | 7193 |
| 7025 checkUnnamed1558(core.List<api.DimensionValue> o) { | 7194 checkUnnamed2296(core.List<api.DimensionValue> o) { |
| 7026 unittest.expect(o, unittest.hasLength(2)); | 7195 unittest.expect(o, unittest.hasLength(2)); |
| 7027 checkDimensionValue(o[0]); | 7196 checkDimensionValue(o[0]); |
| 7028 checkDimensionValue(o[1]); | 7197 checkDimensionValue(o[1]); |
| 7029 } | 7198 } |
| 7030 | 7199 |
| 7031 buildUnnamed1559() { | 7200 buildUnnamed2297() { |
| 7032 var o = new core.List<api.SortedDimension>(); | 7201 var o = new core.List<api.SortedDimension>(); |
| 7033 o.add(buildSortedDimension()); | 7202 o.add(buildSortedDimension()); |
| 7034 o.add(buildSortedDimension()); | 7203 o.add(buildSortedDimension()); |
| 7035 return o; | 7204 return o; |
| 7036 } | 7205 } |
| 7037 | 7206 |
| 7038 checkUnnamed1559(core.List<api.SortedDimension> o) { | 7207 checkUnnamed2297(core.List<api.SortedDimension> o) { |
| 7039 unittest.expect(o, unittest.hasLength(2)); | 7208 unittest.expect(o, unittest.hasLength(2)); |
| 7040 checkSortedDimension(o[0]); | 7209 checkSortedDimension(o[0]); |
| 7041 checkSortedDimension(o[1]); | 7210 checkSortedDimension(o[1]); |
| 7042 } | 7211 } |
| 7043 | 7212 |
| 7044 buildUnnamed1560() { | 7213 buildUnnamed2298() { |
| 7045 var o = new core.List<core.String>(); | 7214 var o = new core.List<core.String>(); |
| 7046 o.add("foo"); | 7215 o.add("foo"); |
| 7047 o.add("foo"); | 7216 o.add("foo"); |
| 7048 return o; | 7217 return o; |
| 7049 } | 7218 } |
| 7050 | 7219 |
| 7051 checkUnnamed1560(core.List<core.String> o) { | 7220 checkUnnamed2298(core.List<core.String> o) { |
| 7052 unittest.expect(o, unittest.hasLength(2)); | 7221 unittest.expect(o, unittest.hasLength(2)); |
| 7053 unittest.expect(o[0], unittest.equals('foo')); | 7222 unittest.expect(o[0], unittest.equals('foo')); |
| 7054 unittest.expect(o[1], unittest.equals('foo')); | 7223 unittest.expect(o[1], unittest.equals('foo')); |
| 7055 } | 7224 } |
| 7056 | 7225 |
| 7057 buildUnnamed1561() { | 7226 buildUnnamed2299() { |
| 7058 var o = new core.List<core.String>(); | 7227 var o = new core.List<core.String>(); |
| 7059 o.add("foo"); | 7228 o.add("foo"); |
| 7060 o.add("foo"); | 7229 o.add("foo"); |
| 7061 return o; | 7230 return o; |
| 7062 } | 7231 } |
| 7063 | 7232 |
| 7064 checkUnnamed1561(core.List<core.String> o) { | 7233 checkUnnamed2299(core.List<core.String> o) { |
| 7065 unittest.expect(o, unittest.hasLength(2)); | 7234 unittest.expect(o, unittest.hasLength(2)); |
| 7066 unittest.expect(o[0], unittest.equals('foo')); | 7235 unittest.expect(o[0], unittest.equals('foo')); |
| 7067 unittest.expect(o[1], unittest.equals('foo')); | 7236 unittest.expect(o[1], unittest.equals('foo')); |
| 7068 } | 7237 } |
| 7069 | 7238 |
| 7070 core.int buildCounterReportReachCriteria = 0; | 7239 core.int buildCounterReportReachCriteria = 0; |
| 7071 buildReportReachCriteria() { | 7240 buildReportReachCriteria() { |
| 7072 var o = new api.ReportReachCriteria(); | 7241 var o = new api.ReportReachCriteria(); |
| 7073 buildCounterReportReachCriteria++; | 7242 buildCounterReportReachCriteria++; |
| 7074 if (buildCounterReportReachCriteria < 3) { | 7243 if (buildCounterReportReachCriteria < 3) { |
| 7075 o.activities = buildActivities(); | 7244 o.activities = buildActivities(); |
| 7076 o.customRichMediaEvents = buildCustomRichMediaEvents(); | 7245 o.customRichMediaEvents = buildCustomRichMediaEvents(); |
| 7077 o.dateRange = buildDateRange(); | 7246 o.dateRange = buildDateRange(); |
| 7078 o.dimensionFilters = buildUnnamed1558(); | 7247 o.dimensionFilters = buildUnnamed2296(); |
| 7079 o.dimensions = buildUnnamed1559(); | 7248 o.dimensions = buildUnnamed2297(); |
| 7080 o.enableAllDimensionCombinations = true; | 7249 o.enableAllDimensionCombinations = true; |
| 7081 o.metricNames = buildUnnamed1560(); | 7250 o.metricNames = buildUnnamed2298(); |
| 7082 o.reachByFrequencyMetricNames = buildUnnamed1561(); | 7251 o.reachByFrequencyMetricNames = buildUnnamed2299(); |
| 7083 } | 7252 } |
| 7084 buildCounterReportReachCriteria--; | 7253 buildCounterReportReachCriteria--; |
| 7085 return o; | 7254 return o; |
| 7086 } | 7255 } |
| 7087 | 7256 |
| 7088 checkReportReachCriteria(api.ReportReachCriteria o) { | 7257 checkReportReachCriteria(api.ReportReachCriteria o) { |
| 7089 buildCounterReportReachCriteria++; | 7258 buildCounterReportReachCriteria++; |
| 7090 if (buildCounterReportReachCriteria < 3) { | 7259 if (buildCounterReportReachCriteria < 3) { |
| 7091 checkActivities(o.activities); | 7260 checkActivities(o.activities); |
| 7092 checkCustomRichMediaEvents(o.customRichMediaEvents); | 7261 checkCustomRichMediaEvents(o.customRichMediaEvents); |
| 7093 checkDateRange(o.dateRange); | 7262 checkDateRange(o.dateRange); |
| 7094 checkUnnamed1558(o.dimensionFilters); | 7263 checkUnnamed2296(o.dimensionFilters); |
| 7095 checkUnnamed1559(o.dimensions); | 7264 checkUnnamed2297(o.dimensions); |
| 7096 unittest.expect(o.enableAllDimensionCombinations, unittest.isTrue); | 7265 unittest.expect(o.enableAllDimensionCombinations, unittest.isTrue); |
| 7097 checkUnnamed1560(o.metricNames); | 7266 checkUnnamed2298(o.metricNames); |
| 7098 checkUnnamed1561(o.reachByFrequencyMetricNames); | 7267 checkUnnamed2299(o.reachByFrequencyMetricNames); |
| 7099 } | 7268 } |
| 7100 buildCounterReportReachCriteria--; | 7269 buildCounterReportReachCriteria--; |
| 7101 } | 7270 } |
| 7102 | 7271 |
| 7103 buildUnnamed1562() { | 7272 buildUnnamed2300() { |
| 7104 var o = new core.List<core.String>(); | 7273 var o = new core.List<core.String>(); |
| 7105 o.add("foo"); | 7274 o.add("foo"); |
| 7106 o.add("foo"); | 7275 o.add("foo"); |
| 7107 return o; | 7276 return o; |
| 7108 } | 7277 } |
| 7109 | 7278 |
| 7110 checkUnnamed1562(core.List<core.String> o) { | 7279 checkUnnamed2300(core.List<core.String> o) { |
| 7111 unittest.expect(o, unittest.hasLength(2)); | 7280 unittest.expect(o, unittest.hasLength(2)); |
| 7112 unittest.expect(o[0], unittest.equals('foo')); | 7281 unittest.expect(o[0], unittest.equals('foo')); |
| 7113 unittest.expect(o[1], unittest.equals('foo')); | 7282 unittest.expect(o[1], unittest.equals('foo')); |
| 7114 } | 7283 } |
| 7115 | 7284 |
| 7116 core.int buildCounterReportSchedule = 0; | 7285 core.int buildCounterReportSchedule = 0; |
| 7117 buildReportSchedule() { | 7286 buildReportSchedule() { |
| 7118 var o = new api.ReportSchedule(); | 7287 var o = new api.ReportSchedule(); |
| 7119 buildCounterReportSchedule++; | 7288 buildCounterReportSchedule++; |
| 7120 if (buildCounterReportSchedule < 3) { | 7289 if (buildCounterReportSchedule < 3) { |
| 7121 o.active = true; | 7290 o.active = true; |
| 7122 o.every = 42; | 7291 o.every = 42; |
| 7123 o.expirationDate = core.DateTime.parse("2002-02-27T14:01:02Z"); | 7292 o.expirationDate = core.DateTime.parse("2002-02-27T14:01:02Z"); |
| 7124 o.repeats = "foo"; | 7293 o.repeats = "foo"; |
| 7125 o.repeatsOnWeekDays = buildUnnamed1562(); | 7294 o.repeatsOnWeekDays = buildUnnamed2300(); |
| 7126 o.runsOnDayOfMonth = "foo"; | 7295 o.runsOnDayOfMonth = "foo"; |
| 7127 o.startDate = core.DateTime.parse("2002-02-27T14:01:02Z"); | 7296 o.startDate = core.DateTime.parse("2002-02-27T14:01:02Z"); |
| 7128 } | 7297 } |
| 7129 buildCounterReportSchedule--; | 7298 buildCounterReportSchedule--; |
| 7130 return o; | 7299 return o; |
| 7131 } | 7300 } |
| 7132 | 7301 |
| 7133 checkReportSchedule(api.ReportSchedule o) { | 7302 checkReportSchedule(api.ReportSchedule o) { |
| 7134 buildCounterReportSchedule++; | 7303 buildCounterReportSchedule++; |
| 7135 if (buildCounterReportSchedule < 3) { | 7304 if (buildCounterReportSchedule < 3) { |
| 7136 unittest.expect(o.active, unittest.isTrue); | 7305 unittest.expect(o.active, unittest.isTrue); |
| 7137 unittest.expect(o.every, unittest.equals(42)); | 7306 unittest.expect(o.every, unittest.equals(42)); |
| 7138 unittest.expect(o.expirationDate, unittest.equals(core.DateTime.parse("2002-
02-27T00:00:00"))); | 7307 unittest.expect(o.expirationDate, unittest.equals(core.DateTime.parse("2002-
02-27T00:00:00"))); |
| 7139 unittest.expect(o.repeats, unittest.equals('foo')); | 7308 unittest.expect(o.repeats, unittest.equals('foo')); |
| 7140 checkUnnamed1562(o.repeatsOnWeekDays); | 7309 checkUnnamed2300(o.repeatsOnWeekDays); |
| 7141 unittest.expect(o.runsOnDayOfMonth, unittest.equals('foo')); | 7310 unittest.expect(o.runsOnDayOfMonth, unittest.equals('foo')); |
| 7142 unittest.expect(o.startDate, unittest.equals(core.DateTime.parse("2002-02-27
T00:00:00"))); | 7311 unittest.expect(o.startDate, unittest.equals(core.DateTime.parse("2002-02-27
T00:00:00"))); |
| 7143 } | 7312 } |
| 7144 buildCounterReportSchedule--; | 7313 buildCounterReportSchedule--; |
| 7145 } | 7314 } |
| 7146 | 7315 |
| 7147 core.int buildCounterReport = 0; | 7316 core.int buildCounterReport = 0; |
| 7148 buildReport() { | 7317 buildReport() { |
| 7149 var o = new api.Report(); | 7318 var o = new api.Report(); |
| 7150 buildCounterReport++; | 7319 buildCounterReport++; |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7190 unittest.expect(o.ownerProfileId, unittest.equals('foo')); | 7359 unittest.expect(o.ownerProfileId, unittest.equals('foo')); |
| 7191 checkReportPathToConversionCriteria(o.pathToConversionCriteria); | 7360 checkReportPathToConversionCriteria(o.pathToConversionCriteria); |
| 7192 checkReportReachCriteria(o.reachCriteria); | 7361 checkReportReachCriteria(o.reachCriteria); |
| 7193 checkReportSchedule(o.schedule); | 7362 checkReportSchedule(o.schedule); |
| 7194 unittest.expect(o.subAccountId, unittest.equals('foo')); | 7363 unittest.expect(o.subAccountId, unittest.equals('foo')); |
| 7195 unittest.expect(o.type, unittest.equals('foo')); | 7364 unittest.expect(o.type, unittest.equals('foo')); |
| 7196 } | 7365 } |
| 7197 buildCounterReport--; | 7366 buildCounterReport--; |
| 7198 } | 7367 } |
| 7199 | 7368 |
| 7200 buildUnnamed1563() { | 7369 buildUnnamed2301() { |
| 7201 var o = new core.List<api.Dimension>(); | 7370 var o = new core.List<api.Dimension>(); |
| 7202 o.add(buildDimension()); | 7371 o.add(buildDimension()); |
| 7203 o.add(buildDimension()); | 7372 o.add(buildDimension()); |
| 7204 return o; | 7373 return o; |
| 7205 } | 7374 } |
| 7206 | 7375 |
| 7207 checkUnnamed1563(core.List<api.Dimension> o) { | 7376 checkUnnamed2301(core.List<api.Dimension> o) { |
| 7208 unittest.expect(o, unittest.hasLength(2)); | 7377 unittest.expect(o, unittest.hasLength(2)); |
| 7209 checkDimension(o[0]); | 7378 checkDimension(o[0]); |
| 7210 checkDimension(o[1]); | 7379 checkDimension(o[1]); |
| 7211 } | 7380 } |
| 7212 | 7381 |
| 7213 buildUnnamed1564() { | 7382 buildUnnamed2302() { |
| 7214 var o = new core.List<api.Dimension>(); | 7383 var o = new core.List<api.Dimension>(); |
| 7215 o.add(buildDimension()); | 7384 o.add(buildDimension()); |
| 7216 o.add(buildDimension()); | 7385 o.add(buildDimension()); |
| 7217 return o; | 7386 return o; |
| 7218 } | 7387 } |
| 7219 | 7388 |
| 7220 checkUnnamed1564(core.List<api.Dimension> o) { | 7389 checkUnnamed2302(core.List<api.Dimension> o) { |
| 7221 unittest.expect(o, unittest.hasLength(2)); | 7390 unittest.expect(o, unittest.hasLength(2)); |
| 7222 checkDimension(o[0]); | 7391 checkDimension(o[0]); |
| 7223 checkDimension(o[1]); | 7392 checkDimension(o[1]); |
| 7224 } | 7393 } |
| 7225 | 7394 |
| 7226 buildUnnamed1565() { | 7395 buildUnnamed2303() { |
| 7227 var o = new core.List<api.Metric>(); | 7396 var o = new core.List<api.Metric>(); |
| 7228 o.add(buildMetric()); | 7397 o.add(buildMetric()); |
| 7229 o.add(buildMetric()); | 7398 o.add(buildMetric()); |
| 7230 return o; | 7399 return o; |
| 7231 } | 7400 } |
| 7232 | 7401 |
| 7233 checkUnnamed1565(core.List<api.Metric> o) { | 7402 checkUnnamed2303(core.List<api.Metric> o) { |
| 7234 unittest.expect(o, unittest.hasLength(2)); | 7403 unittest.expect(o, unittest.hasLength(2)); |
| 7235 checkMetric(o[0]); | 7404 checkMetric(o[0]); |
| 7236 checkMetric(o[1]); | 7405 checkMetric(o[1]); |
| 7237 } | 7406 } |
| 7238 | 7407 |
| 7239 buildUnnamed1566() { | 7408 buildUnnamed2304() { |
| 7240 var o = new core.List<api.Metric>(); | 7409 var o = new core.List<api.Metric>(); |
| 7241 o.add(buildMetric()); | 7410 o.add(buildMetric()); |
| 7242 o.add(buildMetric()); | 7411 o.add(buildMetric()); |
| 7243 return o; | 7412 return o; |
| 7244 } | 7413 } |
| 7245 | 7414 |
| 7246 checkUnnamed1566(core.List<api.Metric> o) { | 7415 checkUnnamed2304(core.List<api.Metric> o) { |
| 7247 unittest.expect(o, unittest.hasLength(2)); | 7416 unittest.expect(o, unittest.hasLength(2)); |
| 7248 checkMetric(o[0]); | 7417 checkMetric(o[0]); |
| 7249 checkMetric(o[1]); | 7418 checkMetric(o[1]); |
| 7250 } | 7419 } |
| 7251 | 7420 |
| 7252 core.int buildCounterReportCompatibleFields = 0; | 7421 core.int buildCounterReportCompatibleFields = 0; |
| 7253 buildReportCompatibleFields() { | 7422 buildReportCompatibleFields() { |
| 7254 var o = new api.ReportCompatibleFields(); | 7423 var o = new api.ReportCompatibleFields(); |
| 7255 buildCounterReportCompatibleFields++; | 7424 buildCounterReportCompatibleFields++; |
| 7256 if (buildCounterReportCompatibleFields < 3) { | 7425 if (buildCounterReportCompatibleFields < 3) { |
| 7257 o.dimensionFilters = buildUnnamed1563(); | 7426 o.dimensionFilters = buildUnnamed2301(); |
| 7258 o.dimensions = buildUnnamed1564(); | 7427 o.dimensions = buildUnnamed2302(); |
| 7259 o.kind = "foo"; | 7428 o.kind = "foo"; |
| 7260 o.metrics = buildUnnamed1565(); | 7429 o.metrics = buildUnnamed2303(); |
| 7261 o.pivotedActivityMetrics = buildUnnamed1566(); | 7430 o.pivotedActivityMetrics = buildUnnamed2304(); |
| 7262 } | 7431 } |
| 7263 buildCounterReportCompatibleFields--; | 7432 buildCounterReportCompatibleFields--; |
| 7264 return o; | 7433 return o; |
| 7265 } | 7434 } |
| 7266 | 7435 |
| 7267 checkReportCompatibleFields(api.ReportCompatibleFields o) { | 7436 checkReportCompatibleFields(api.ReportCompatibleFields o) { |
| 7268 buildCounterReportCompatibleFields++; | 7437 buildCounterReportCompatibleFields++; |
| 7269 if (buildCounterReportCompatibleFields < 3) { | 7438 if (buildCounterReportCompatibleFields < 3) { |
| 7270 checkUnnamed1563(o.dimensionFilters); | 7439 checkUnnamed2301(o.dimensionFilters); |
| 7271 checkUnnamed1564(o.dimensions); | 7440 checkUnnamed2302(o.dimensions); |
| 7272 unittest.expect(o.kind, unittest.equals('foo')); | 7441 unittest.expect(o.kind, unittest.equals('foo')); |
| 7273 checkUnnamed1565(o.metrics); | 7442 checkUnnamed2303(o.metrics); |
| 7274 checkUnnamed1566(o.pivotedActivityMetrics); | 7443 checkUnnamed2304(o.pivotedActivityMetrics); |
| 7275 } | 7444 } |
| 7276 buildCounterReportCompatibleFields--; | 7445 buildCounterReportCompatibleFields--; |
| 7277 } | 7446 } |
| 7278 | 7447 |
| 7279 buildUnnamed1567() { | 7448 buildUnnamed2305() { |
| 7280 var o = new core.List<api.Report>(); | 7449 var o = new core.List<api.Report>(); |
| 7281 o.add(buildReport()); | 7450 o.add(buildReport()); |
| 7282 o.add(buildReport()); | 7451 o.add(buildReport()); |
| 7283 return o; | 7452 return o; |
| 7284 } | 7453 } |
| 7285 | 7454 |
| 7286 checkUnnamed1567(core.List<api.Report> o) { | 7455 checkUnnamed2305(core.List<api.Report> o) { |
| 7287 unittest.expect(o, unittest.hasLength(2)); | 7456 unittest.expect(o, unittest.hasLength(2)); |
| 7288 checkReport(o[0]); | 7457 checkReport(o[0]); |
| 7289 checkReport(o[1]); | 7458 checkReport(o[1]); |
| 7290 } | 7459 } |
| 7291 | 7460 |
| 7292 core.int buildCounterReportList = 0; | 7461 core.int buildCounterReportList = 0; |
| 7293 buildReportList() { | 7462 buildReportList() { |
| 7294 var o = new api.ReportList(); | 7463 var o = new api.ReportList(); |
| 7295 buildCounterReportList++; | 7464 buildCounterReportList++; |
| 7296 if (buildCounterReportList < 3) { | 7465 if (buildCounterReportList < 3) { |
| 7297 o.etag = "foo"; | 7466 o.etag = "foo"; |
| 7298 o.items = buildUnnamed1567(); | 7467 o.items = buildUnnamed2305(); |
| 7299 o.kind = "foo"; | 7468 o.kind = "foo"; |
| 7300 o.nextPageToken = "foo"; | 7469 o.nextPageToken = "foo"; |
| 7301 } | 7470 } |
| 7302 buildCounterReportList--; | 7471 buildCounterReportList--; |
| 7303 return o; | 7472 return o; |
| 7304 } | 7473 } |
| 7305 | 7474 |
| 7306 checkReportList(api.ReportList o) { | 7475 checkReportList(api.ReportList o) { |
| 7307 buildCounterReportList++; | 7476 buildCounterReportList++; |
| 7308 if (buildCounterReportList < 3) { | 7477 if (buildCounterReportList < 3) { |
| 7309 unittest.expect(o.etag, unittest.equals('foo')); | 7478 unittest.expect(o.etag, unittest.equals('foo')); |
| 7310 checkUnnamed1567(o.items); | 7479 checkUnnamed2305(o.items); |
| 7311 unittest.expect(o.kind, unittest.equals('foo')); | 7480 unittest.expect(o.kind, unittest.equals('foo')); |
| 7312 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 7481 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 7313 } | 7482 } |
| 7314 buildCounterReportList--; | 7483 buildCounterReportList--; |
| 7315 } | 7484 } |
| 7316 | 7485 |
| 7317 core.int buildCounterReportsConfiguration = 0; | 7486 core.int buildCounterReportsConfiguration = 0; |
| 7318 buildReportsConfiguration() { | 7487 buildReportsConfiguration() { |
| 7319 var o = new api.ReportsConfiguration(); | 7488 var o = new api.ReportsConfiguration(); |
| 7320 buildCounterReportsConfiguration++; | 7489 buildCounterReportsConfiguration++; |
| (...skipping 14 matching lines...) Expand all Loading... |
| 7335 unittest.expect(o.reportGenerationTimeZoneId, unittest.equals('foo')); | 7504 unittest.expect(o.reportGenerationTimeZoneId, unittest.equals('foo')); |
| 7336 } | 7505 } |
| 7337 buildCounterReportsConfiguration--; | 7506 buildCounterReportsConfiguration--; |
| 7338 } | 7507 } |
| 7339 | 7508 |
| 7340 core.int buildCounterRichMediaExitOverride = 0; | 7509 core.int buildCounterRichMediaExitOverride = 0; |
| 7341 buildRichMediaExitOverride() { | 7510 buildRichMediaExitOverride() { |
| 7342 var o = new api.RichMediaExitOverride(); | 7511 var o = new api.RichMediaExitOverride(); |
| 7343 buildCounterRichMediaExitOverride++; | 7512 buildCounterRichMediaExitOverride++; |
| 7344 if (buildCounterRichMediaExitOverride < 3) { | 7513 if (buildCounterRichMediaExitOverride < 3) { |
| 7345 o.customExitUrl = "foo"; | 7514 o.clickThroughUrl = buildClickThroughUrl(); |
| 7515 o.enabled = true; |
| 7346 o.exitId = "foo"; | 7516 o.exitId = "foo"; |
| 7347 o.useCustomExitUrl = true; | |
| 7348 } | 7517 } |
| 7349 buildCounterRichMediaExitOverride--; | 7518 buildCounterRichMediaExitOverride--; |
| 7350 return o; | 7519 return o; |
| 7351 } | 7520 } |
| 7352 | 7521 |
| 7353 checkRichMediaExitOverride(api.RichMediaExitOverride o) { | 7522 checkRichMediaExitOverride(api.RichMediaExitOverride o) { |
| 7354 buildCounterRichMediaExitOverride++; | 7523 buildCounterRichMediaExitOverride++; |
| 7355 if (buildCounterRichMediaExitOverride < 3) { | 7524 if (buildCounterRichMediaExitOverride < 3) { |
| 7356 unittest.expect(o.customExitUrl, unittest.equals('foo')); | 7525 checkClickThroughUrl(o.clickThroughUrl); |
| 7526 unittest.expect(o.enabled, unittest.isTrue); |
| 7357 unittest.expect(o.exitId, unittest.equals('foo')); | 7527 unittest.expect(o.exitId, unittest.equals('foo')); |
| 7358 unittest.expect(o.useCustomExitUrl, unittest.isTrue); | |
| 7359 } | 7528 } |
| 7360 buildCounterRichMediaExitOverride--; | 7529 buildCounterRichMediaExitOverride--; |
| 7361 } | 7530 } |
| 7362 | 7531 |
| 7363 buildUnnamed1568() { | 7532 core.int buildCounterRule = 0; |
| 7533 buildRule() { |
| 7534 var o = new api.Rule(); |
| 7535 buildCounterRule++; |
| 7536 if (buildCounterRule < 3) { |
| 7537 o.assetId = "foo"; |
| 7538 o.name = "foo"; |
| 7539 o.targetingTemplateId = "foo"; |
| 7540 } |
| 7541 buildCounterRule--; |
| 7542 return o; |
| 7543 } |
| 7544 |
| 7545 checkRule(api.Rule o) { |
| 7546 buildCounterRule++; |
| 7547 if (buildCounterRule < 3) { |
| 7548 unittest.expect(o.assetId, unittest.equals('foo')); |
| 7549 unittest.expect(o.name, unittest.equals('foo')); |
| 7550 unittest.expect(o.targetingTemplateId, unittest.equals('foo')); |
| 7551 } |
| 7552 buildCounterRule--; |
| 7553 } |
| 7554 |
| 7555 buildUnnamed2306() { |
| 7364 var o = new core.List<api.SiteContact>(); | 7556 var o = new core.List<api.SiteContact>(); |
| 7365 o.add(buildSiteContact()); | 7557 o.add(buildSiteContact()); |
| 7366 o.add(buildSiteContact()); | 7558 o.add(buildSiteContact()); |
| 7367 return o; | 7559 return o; |
| 7368 } | 7560 } |
| 7369 | 7561 |
| 7370 checkUnnamed1568(core.List<api.SiteContact> o) { | 7562 checkUnnamed2306(core.List<api.SiteContact> o) { |
| 7371 unittest.expect(o, unittest.hasLength(2)); | 7563 unittest.expect(o, unittest.hasLength(2)); |
| 7372 checkSiteContact(o[0]); | 7564 checkSiteContact(o[0]); |
| 7373 checkSiteContact(o[1]); | 7565 checkSiteContact(o[1]); |
| 7374 } | 7566 } |
| 7375 | 7567 |
| 7376 core.int buildCounterSite = 0; | 7568 core.int buildCounterSite = 0; |
| 7377 buildSite() { | 7569 buildSite() { |
| 7378 var o = new api.Site(); | 7570 var o = new api.Site(); |
| 7379 buildCounterSite++; | 7571 buildCounterSite++; |
| 7380 if (buildCounterSite < 3) { | 7572 if (buildCounterSite < 3) { |
| 7381 o.accountId = "foo"; | 7573 o.accountId = "foo"; |
| 7382 o.approved = true; | 7574 o.approved = true; |
| 7383 o.directorySiteId = "foo"; | 7575 o.directorySiteId = "foo"; |
| 7384 o.directorySiteIdDimensionValue = buildDimensionValue(); | 7576 o.directorySiteIdDimensionValue = buildDimensionValue(); |
| 7385 o.id = "foo"; | 7577 o.id = "foo"; |
| 7386 o.idDimensionValue = buildDimensionValue(); | 7578 o.idDimensionValue = buildDimensionValue(); |
| 7387 o.keyName = "foo"; | 7579 o.keyName = "foo"; |
| 7388 o.kind = "foo"; | 7580 o.kind = "foo"; |
| 7389 o.name = "foo"; | 7581 o.name = "foo"; |
| 7390 o.siteContacts = buildUnnamed1568(); | 7582 o.siteContacts = buildUnnamed2306(); |
| 7391 o.siteSettings = buildSiteSettings(); | 7583 o.siteSettings = buildSiteSettings(); |
| 7392 o.subaccountId = "foo"; | 7584 o.subaccountId = "foo"; |
| 7393 } | 7585 } |
| 7394 buildCounterSite--; | 7586 buildCounterSite--; |
| 7395 return o; | 7587 return o; |
| 7396 } | 7588 } |
| 7397 | 7589 |
| 7398 checkSite(api.Site o) { | 7590 checkSite(api.Site o) { |
| 7399 buildCounterSite++; | 7591 buildCounterSite++; |
| 7400 if (buildCounterSite < 3) { | 7592 if (buildCounterSite < 3) { |
| 7401 unittest.expect(o.accountId, unittest.equals('foo')); | 7593 unittest.expect(o.accountId, unittest.equals('foo')); |
| 7402 unittest.expect(o.approved, unittest.isTrue); | 7594 unittest.expect(o.approved, unittest.isTrue); |
| 7403 unittest.expect(o.directorySiteId, unittest.equals('foo')); | 7595 unittest.expect(o.directorySiteId, unittest.equals('foo')); |
| 7404 checkDimensionValue(o.directorySiteIdDimensionValue); | 7596 checkDimensionValue(o.directorySiteIdDimensionValue); |
| 7405 unittest.expect(o.id, unittest.equals('foo')); | 7597 unittest.expect(o.id, unittest.equals('foo')); |
| 7406 checkDimensionValue(o.idDimensionValue); | 7598 checkDimensionValue(o.idDimensionValue); |
| 7407 unittest.expect(o.keyName, unittest.equals('foo')); | 7599 unittest.expect(o.keyName, unittest.equals('foo')); |
| 7408 unittest.expect(o.kind, unittest.equals('foo')); | 7600 unittest.expect(o.kind, unittest.equals('foo')); |
| 7409 unittest.expect(o.name, unittest.equals('foo')); | 7601 unittest.expect(o.name, unittest.equals('foo')); |
| 7410 checkUnnamed1568(o.siteContacts); | 7602 checkUnnamed2306(o.siteContacts); |
| 7411 checkSiteSettings(o.siteSettings); | 7603 checkSiteSettings(o.siteSettings); |
| 7412 unittest.expect(o.subaccountId, unittest.equals('foo')); | 7604 unittest.expect(o.subaccountId, unittest.equals('foo')); |
| 7413 } | 7605 } |
| 7414 buildCounterSite--; | 7606 buildCounterSite--; |
| 7415 } | 7607 } |
| 7416 | 7608 |
| 7417 core.int buildCounterSiteContact = 0; | 7609 core.int buildCounterSiteContact = 0; |
| 7418 buildSiteContact() { | 7610 buildSiteContact() { |
| 7419 var o = new api.SiteContact(); | 7611 var o = new api.SiteContact(); |
| 7420 buildCounterSiteContact++; | 7612 buildCounterSiteContact++; |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7471 checkCreativeSettings(o.creativeSettings); | 7663 checkCreativeSettings(o.creativeSettings); |
| 7472 unittest.expect(o.disableBrandSafeAds, unittest.isTrue); | 7664 unittest.expect(o.disableBrandSafeAds, unittest.isTrue); |
| 7473 unittest.expect(o.disableNewCookie, unittest.isTrue); | 7665 unittest.expect(o.disableNewCookie, unittest.isTrue); |
| 7474 checkLookbackConfiguration(o.lookbackConfiguration); | 7666 checkLookbackConfiguration(o.lookbackConfiguration); |
| 7475 checkTagSetting(o.tagSetting); | 7667 checkTagSetting(o.tagSetting); |
| 7476 unittest.expect(o.videoActiveViewOptOut, unittest.isTrue); | 7668 unittest.expect(o.videoActiveViewOptOut, unittest.isTrue); |
| 7477 } | 7669 } |
| 7478 buildCounterSiteSettings--; | 7670 buildCounterSiteSettings--; |
| 7479 } | 7671 } |
| 7480 | 7672 |
| 7481 buildUnnamed1569() { | 7673 buildUnnamed2307() { |
| 7482 var o = new core.List<api.Site>(); | 7674 var o = new core.List<api.Site>(); |
| 7483 o.add(buildSite()); | 7675 o.add(buildSite()); |
| 7484 o.add(buildSite()); | 7676 o.add(buildSite()); |
| 7485 return o; | 7677 return o; |
| 7486 } | 7678 } |
| 7487 | 7679 |
| 7488 checkUnnamed1569(core.List<api.Site> o) { | 7680 checkUnnamed2307(core.List<api.Site> o) { |
| 7489 unittest.expect(o, unittest.hasLength(2)); | 7681 unittest.expect(o, unittest.hasLength(2)); |
| 7490 checkSite(o[0]); | 7682 checkSite(o[0]); |
| 7491 checkSite(o[1]); | 7683 checkSite(o[1]); |
| 7492 } | 7684 } |
| 7493 | 7685 |
| 7494 core.int buildCounterSitesListResponse = 0; | 7686 core.int buildCounterSitesListResponse = 0; |
| 7495 buildSitesListResponse() { | 7687 buildSitesListResponse() { |
| 7496 var o = new api.SitesListResponse(); | 7688 var o = new api.SitesListResponse(); |
| 7497 buildCounterSitesListResponse++; | 7689 buildCounterSitesListResponse++; |
| 7498 if (buildCounterSitesListResponse < 3) { | 7690 if (buildCounterSitesListResponse < 3) { |
| 7499 o.kind = "foo"; | 7691 o.kind = "foo"; |
| 7500 o.nextPageToken = "foo"; | 7692 o.nextPageToken = "foo"; |
| 7501 o.sites = buildUnnamed1569(); | 7693 o.sites = buildUnnamed2307(); |
| 7502 } | 7694 } |
| 7503 buildCounterSitesListResponse--; | 7695 buildCounterSitesListResponse--; |
| 7504 return o; | 7696 return o; |
| 7505 } | 7697 } |
| 7506 | 7698 |
| 7507 checkSitesListResponse(api.SitesListResponse o) { | 7699 checkSitesListResponse(api.SitesListResponse o) { |
| 7508 buildCounterSitesListResponse++; | 7700 buildCounterSitesListResponse++; |
| 7509 if (buildCounterSitesListResponse < 3) { | 7701 if (buildCounterSitesListResponse < 3) { |
| 7510 unittest.expect(o.kind, unittest.equals('foo')); | 7702 unittest.expect(o.kind, unittest.equals('foo')); |
| 7511 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 7703 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 7512 checkUnnamed1569(o.sites); | 7704 checkUnnamed2307(o.sites); |
| 7513 } | 7705 } |
| 7514 buildCounterSitesListResponse--; | 7706 buildCounterSitesListResponse--; |
| 7515 } | 7707 } |
| 7516 | 7708 |
| 7517 core.int buildCounterSize = 0; | 7709 core.int buildCounterSize = 0; |
| 7518 buildSize() { | 7710 buildSize() { |
| 7519 var o = new api.Size(); | 7711 var o = new api.Size(); |
| 7520 buildCounterSize++; | 7712 buildCounterSize++; |
| 7521 if (buildCounterSize < 3) { | 7713 if (buildCounterSize < 3) { |
| 7522 o.height = 42; | 7714 o.height = 42; |
| (...skipping 11 matching lines...) Expand all Loading... |
| 7534 if (buildCounterSize < 3) { | 7726 if (buildCounterSize < 3) { |
| 7535 unittest.expect(o.height, unittest.equals(42)); | 7727 unittest.expect(o.height, unittest.equals(42)); |
| 7536 unittest.expect(o.iab, unittest.isTrue); | 7728 unittest.expect(o.iab, unittest.isTrue); |
| 7537 unittest.expect(o.id, unittest.equals('foo')); | 7729 unittest.expect(o.id, unittest.equals('foo')); |
| 7538 unittest.expect(o.kind, unittest.equals('foo')); | 7730 unittest.expect(o.kind, unittest.equals('foo')); |
| 7539 unittest.expect(o.width, unittest.equals(42)); | 7731 unittest.expect(o.width, unittest.equals(42)); |
| 7540 } | 7732 } |
| 7541 buildCounterSize--; | 7733 buildCounterSize--; |
| 7542 } | 7734 } |
| 7543 | 7735 |
| 7544 buildUnnamed1570() { | 7736 buildUnnamed2308() { |
| 7545 var o = new core.List<api.Size>(); | 7737 var o = new core.List<api.Size>(); |
| 7546 o.add(buildSize()); | 7738 o.add(buildSize()); |
| 7547 o.add(buildSize()); | 7739 o.add(buildSize()); |
| 7548 return o; | 7740 return o; |
| 7549 } | 7741 } |
| 7550 | 7742 |
| 7551 checkUnnamed1570(core.List<api.Size> o) { | 7743 checkUnnamed2308(core.List<api.Size> o) { |
| 7552 unittest.expect(o, unittest.hasLength(2)); | 7744 unittest.expect(o, unittest.hasLength(2)); |
| 7553 checkSize(o[0]); | 7745 checkSize(o[0]); |
| 7554 checkSize(o[1]); | 7746 checkSize(o[1]); |
| 7555 } | 7747 } |
| 7556 | 7748 |
| 7557 core.int buildCounterSizesListResponse = 0; | 7749 core.int buildCounterSizesListResponse = 0; |
| 7558 buildSizesListResponse() { | 7750 buildSizesListResponse() { |
| 7559 var o = new api.SizesListResponse(); | 7751 var o = new api.SizesListResponse(); |
| 7560 buildCounterSizesListResponse++; | 7752 buildCounterSizesListResponse++; |
| 7561 if (buildCounterSizesListResponse < 3) { | 7753 if (buildCounterSizesListResponse < 3) { |
| 7562 o.kind = "foo"; | 7754 o.kind = "foo"; |
| 7563 o.sizes = buildUnnamed1570(); | 7755 o.sizes = buildUnnamed2308(); |
| 7564 } | 7756 } |
| 7565 buildCounterSizesListResponse--; | 7757 buildCounterSizesListResponse--; |
| 7566 return o; | 7758 return o; |
| 7567 } | 7759 } |
| 7568 | 7760 |
| 7569 checkSizesListResponse(api.SizesListResponse o) { | 7761 checkSizesListResponse(api.SizesListResponse o) { |
| 7570 buildCounterSizesListResponse++; | 7762 buildCounterSizesListResponse++; |
| 7571 if (buildCounterSizesListResponse < 3) { | 7763 if (buildCounterSizesListResponse < 3) { |
| 7572 unittest.expect(o.kind, unittest.equals('foo')); | 7764 unittest.expect(o.kind, unittest.equals('foo')); |
| 7573 checkUnnamed1570(o.sizes); | 7765 checkUnnamed2308(o.sizes); |
| 7574 } | 7766 } |
| 7575 buildCounterSizesListResponse--; | 7767 buildCounterSizesListResponse--; |
| 7576 } | 7768 } |
| 7577 | 7769 |
| 7578 core.int buildCounterSortedDimension = 0; | 7770 core.int buildCounterSortedDimension = 0; |
| 7579 buildSortedDimension() { | 7771 buildSortedDimension() { |
| 7580 var o = new api.SortedDimension(); | 7772 var o = new api.SortedDimension(); |
| 7581 buildCounterSortedDimension++; | 7773 buildCounterSortedDimension++; |
| 7582 if (buildCounterSortedDimension < 3) { | 7774 if (buildCounterSortedDimension < 3) { |
| 7583 o.kind = "foo"; | 7775 o.kind = "foo"; |
| 7584 o.name = "foo"; | 7776 o.name = "foo"; |
| 7585 o.sortOrder = "foo"; | 7777 o.sortOrder = "foo"; |
| 7586 } | 7778 } |
| 7587 buildCounterSortedDimension--; | 7779 buildCounterSortedDimension--; |
| 7588 return o; | 7780 return o; |
| 7589 } | 7781 } |
| 7590 | 7782 |
| 7591 checkSortedDimension(api.SortedDimension o) { | 7783 checkSortedDimension(api.SortedDimension o) { |
| 7592 buildCounterSortedDimension++; | 7784 buildCounterSortedDimension++; |
| 7593 if (buildCounterSortedDimension < 3) { | 7785 if (buildCounterSortedDimension < 3) { |
| 7594 unittest.expect(o.kind, unittest.equals('foo')); | 7786 unittest.expect(o.kind, unittest.equals('foo')); |
| 7595 unittest.expect(o.name, unittest.equals('foo')); | 7787 unittest.expect(o.name, unittest.equals('foo')); |
| 7596 unittest.expect(o.sortOrder, unittest.equals('foo')); | 7788 unittest.expect(o.sortOrder, unittest.equals('foo')); |
| 7597 } | 7789 } |
| 7598 buildCounterSortedDimension--; | 7790 buildCounterSortedDimension--; |
| 7599 } | 7791 } |
| 7600 | 7792 |
| 7601 buildUnnamed1571() { | 7793 buildUnnamed2309() { |
| 7602 var o = new core.List<core.String>(); | 7794 var o = new core.List<core.String>(); |
| 7603 o.add("foo"); | 7795 o.add("foo"); |
| 7604 o.add("foo"); | 7796 o.add("foo"); |
| 7605 return o; | 7797 return o; |
| 7606 } | 7798 } |
| 7607 | 7799 |
| 7608 checkUnnamed1571(core.List<core.String> o) { | 7800 checkUnnamed2309(core.List<core.String> o) { |
| 7609 unittest.expect(o, unittest.hasLength(2)); | 7801 unittest.expect(o, unittest.hasLength(2)); |
| 7610 unittest.expect(o[0], unittest.equals('foo')); | 7802 unittest.expect(o[0], unittest.equals('foo')); |
| 7611 unittest.expect(o[1], unittest.equals('foo')); | 7803 unittest.expect(o[1], unittest.equals('foo')); |
| 7612 } | 7804 } |
| 7613 | 7805 |
| 7614 core.int buildCounterSubaccount = 0; | 7806 core.int buildCounterSubaccount = 0; |
| 7615 buildSubaccount() { | 7807 buildSubaccount() { |
| 7616 var o = new api.Subaccount(); | 7808 var o = new api.Subaccount(); |
| 7617 buildCounterSubaccount++; | 7809 buildCounterSubaccount++; |
| 7618 if (buildCounterSubaccount < 3) { | 7810 if (buildCounterSubaccount < 3) { |
| 7619 o.accountId = "foo"; | 7811 o.accountId = "foo"; |
| 7620 o.availablePermissionIds = buildUnnamed1571(); | 7812 o.availablePermissionIds = buildUnnamed2309(); |
| 7621 o.id = "foo"; | 7813 o.id = "foo"; |
| 7622 o.kind = "foo"; | 7814 o.kind = "foo"; |
| 7623 o.name = "foo"; | 7815 o.name = "foo"; |
| 7624 } | 7816 } |
| 7625 buildCounterSubaccount--; | 7817 buildCounterSubaccount--; |
| 7626 return o; | 7818 return o; |
| 7627 } | 7819 } |
| 7628 | 7820 |
| 7629 checkSubaccount(api.Subaccount o) { | 7821 checkSubaccount(api.Subaccount o) { |
| 7630 buildCounterSubaccount++; | 7822 buildCounterSubaccount++; |
| 7631 if (buildCounterSubaccount < 3) { | 7823 if (buildCounterSubaccount < 3) { |
| 7632 unittest.expect(o.accountId, unittest.equals('foo')); | 7824 unittest.expect(o.accountId, unittest.equals('foo')); |
| 7633 checkUnnamed1571(o.availablePermissionIds); | 7825 checkUnnamed2309(o.availablePermissionIds); |
| 7634 unittest.expect(o.id, unittest.equals('foo')); | 7826 unittest.expect(o.id, unittest.equals('foo')); |
| 7635 unittest.expect(o.kind, unittest.equals('foo')); | 7827 unittest.expect(o.kind, unittest.equals('foo')); |
| 7636 unittest.expect(o.name, unittest.equals('foo')); | 7828 unittest.expect(o.name, unittest.equals('foo')); |
| 7637 } | 7829 } |
| 7638 buildCounterSubaccount--; | 7830 buildCounterSubaccount--; |
| 7639 } | 7831 } |
| 7640 | 7832 |
| 7641 buildUnnamed1572() { | 7833 buildUnnamed2310() { |
| 7642 var o = new core.List<api.Subaccount>(); | 7834 var o = new core.List<api.Subaccount>(); |
| 7643 o.add(buildSubaccount()); | 7835 o.add(buildSubaccount()); |
| 7644 o.add(buildSubaccount()); | 7836 o.add(buildSubaccount()); |
| 7645 return o; | 7837 return o; |
| 7646 } | 7838 } |
| 7647 | 7839 |
| 7648 checkUnnamed1572(core.List<api.Subaccount> o) { | 7840 checkUnnamed2310(core.List<api.Subaccount> o) { |
| 7649 unittest.expect(o, unittest.hasLength(2)); | 7841 unittest.expect(o, unittest.hasLength(2)); |
| 7650 checkSubaccount(o[0]); | 7842 checkSubaccount(o[0]); |
| 7651 checkSubaccount(o[1]); | 7843 checkSubaccount(o[1]); |
| 7652 } | 7844 } |
| 7653 | 7845 |
| 7654 core.int buildCounterSubaccountsListResponse = 0; | 7846 core.int buildCounterSubaccountsListResponse = 0; |
| 7655 buildSubaccountsListResponse() { | 7847 buildSubaccountsListResponse() { |
| 7656 var o = new api.SubaccountsListResponse(); | 7848 var o = new api.SubaccountsListResponse(); |
| 7657 buildCounterSubaccountsListResponse++; | 7849 buildCounterSubaccountsListResponse++; |
| 7658 if (buildCounterSubaccountsListResponse < 3) { | 7850 if (buildCounterSubaccountsListResponse < 3) { |
| 7659 o.kind = "foo"; | 7851 o.kind = "foo"; |
| 7660 o.nextPageToken = "foo"; | 7852 o.nextPageToken = "foo"; |
| 7661 o.subaccounts = buildUnnamed1572(); | 7853 o.subaccounts = buildUnnamed2310(); |
| 7662 } | 7854 } |
| 7663 buildCounterSubaccountsListResponse--; | 7855 buildCounterSubaccountsListResponse--; |
| 7664 return o; | 7856 return o; |
| 7665 } | 7857 } |
| 7666 | 7858 |
| 7667 checkSubaccountsListResponse(api.SubaccountsListResponse o) { | 7859 checkSubaccountsListResponse(api.SubaccountsListResponse o) { |
| 7668 buildCounterSubaccountsListResponse++; | 7860 buildCounterSubaccountsListResponse++; |
| 7669 if (buildCounterSubaccountsListResponse < 3) { | 7861 if (buildCounterSubaccountsListResponse < 3) { |
| 7670 unittest.expect(o.kind, unittest.equals('foo')); | 7862 unittest.expect(o.kind, unittest.equals('foo')); |
| 7671 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 7863 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 7672 checkUnnamed1572(o.subaccounts); | 7864 checkUnnamed2310(o.subaccounts); |
| 7673 } | 7865 } |
| 7674 buildCounterSubaccountsListResponse--; | 7866 buildCounterSubaccountsListResponse--; |
| 7675 } | 7867 } |
| 7676 | 7868 |
| 7677 core.int buildCounterTagData = 0; | 7869 core.int buildCounterTagData = 0; |
| 7678 buildTagData() { | 7870 buildTagData() { |
| 7679 var o = new api.TagData(); | 7871 var o = new api.TagData(); |
| 7680 buildCounterTagData++; | 7872 buildCounterTagData++; |
| 7681 if (buildCounterTagData < 3) { | 7873 if (buildCounterTagData < 3) { |
| 7682 o.adId = "foo"; | 7874 o.adId = "foo"; |
| (...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7802 unittest.expect(o.kind, unittest.equals('foo')); | 7994 unittest.expect(o.kind, unittest.equals('foo')); |
| 7803 unittest.expect(o.lifeSpan, unittest.equals('foo')); | 7995 unittest.expect(o.lifeSpan, unittest.equals('foo')); |
| 7804 unittest.expect(o.listSize, unittest.equals('foo')); | 7996 unittest.expect(o.listSize, unittest.equals('foo')); |
| 7805 unittest.expect(o.listSource, unittest.equals('foo')); | 7997 unittest.expect(o.listSource, unittest.equals('foo')); |
| 7806 unittest.expect(o.name, unittest.equals('foo')); | 7998 unittest.expect(o.name, unittest.equals('foo')); |
| 7807 unittest.expect(o.subaccountId, unittest.equals('foo')); | 7999 unittest.expect(o.subaccountId, unittest.equals('foo')); |
| 7808 } | 8000 } |
| 7809 buildCounterTargetableRemarketingList--; | 8001 buildCounterTargetableRemarketingList--; |
| 7810 } | 8002 } |
| 7811 | 8003 |
| 7812 buildUnnamed1573() { | 8004 buildUnnamed2311() { |
| 7813 var o = new core.List<api.TargetableRemarketingList>(); | 8005 var o = new core.List<api.TargetableRemarketingList>(); |
| 7814 o.add(buildTargetableRemarketingList()); | 8006 o.add(buildTargetableRemarketingList()); |
| 7815 o.add(buildTargetableRemarketingList()); | 8007 o.add(buildTargetableRemarketingList()); |
| 7816 return o; | 8008 return o; |
| 7817 } | 8009 } |
| 7818 | 8010 |
| 7819 checkUnnamed1573(core.List<api.TargetableRemarketingList> o) { | 8011 checkUnnamed2311(core.List<api.TargetableRemarketingList> o) { |
| 7820 unittest.expect(o, unittest.hasLength(2)); | 8012 unittest.expect(o, unittest.hasLength(2)); |
| 7821 checkTargetableRemarketingList(o[0]); | 8013 checkTargetableRemarketingList(o[0]); |
| 7822 checkTargetableRemarketingList(o[1]); | 8014 checkTargetableRemarketingList(o[1]); |
| 7823 } | 8015 } |
| 7824 | 8016 |
| 7825 core.int buildCounterTargetableRemarketingListsListResponse = 0; | 8017 core.int buildCounterTargetableRemarketingListsListResponse = 0; |
| 7826 buildTargetableRemarketingListsListResponse() { | 8018 buildTargetableRemarketingListsListResponse() { |
| 7827 var o = new api.TargetableRemarketingListsListResponse(); | 8019 var o = new api.TargetableRemarketingListsListResponse(); |
| 7828 buildCounterTargetableRemarketingListsListResponse++; | 8020 buildCounterTargetableRemarketingListsListResponse++; |
| 7829 if (buildCounterTargetableRemarketingListsListResponse < 3) { | 8021 if (buildCounterTargetableRemarketingListsListResponse < 3) { |
| 7830 o.kind = "foo"; | 8022 o.kind = "foo"; |
| 7831 o.nextPageToken = "foo"; | 8023 o.nextPageToken = "foo"; |
| 7832 o.targetableRemarketingLists = buildUnnamed1573(); | 8024 o.targetableRemarketingLists = buildUnnamed2311(); |
| 7833 } | 8025 } |
| 7834 buildCounterTargetableRemarketingListsListResponse--; | 8026 buildCounterTargetableRemarketingListsListResponse--; |
| 7835 return o; | 8027 return o; |
| 7836 } | 8028 } |
| 7837 | 8029 |
| 7838 checkTargetableRemarketingListsListResponse(api.TargetableRemarketingListsListRe
sponse o) { | 8030 checkTargetableRemarketingListsListResponse(api.TargetableRemarketingListsListRe
sponse o) { |
| 7839 buildCounterTargetableRemarketingListsListResponse++; | 8031 buildCounterTargetableRemarketingListsListResponse++; |
| 7840 if (buildCounterTargetableRemarketingListsListResponse < 3) { | 8032 if (buildCounterTargetableRemarketingListsListResponse < 3) { |
| 7841 unittest.expect(o.kind, unittest.equals('foo')); | 8033 unittest.expect(o.kind, unittest.equals('foo')); |
| 7842 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 8034 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 7843 checkUnnamed1573(o.targetableRemarketingLists); | 8035 checkUnnamed2311(o.targetableRemarketingLists); |
| 7844 } | 8036 } |
| 7845 buildCounterTargetableRemarketingListsListResponse--; | 8037 buildCounterTargetableRemarketingListsListResponse--; |
| 7846 } | 8038 } |
| 7847 | 8039 |
| 7848 buildUnnamed1574() { | 8040 core.int buildCounterTargetingTemplate = 0; |
| 8041 buildTargetingTemplate() { |
| 8042 var o = new api.TargetingTemplate(); |
| 8043 buildCounterTargetingTemplate++; |
| 8044 if (buildCounterTargetingTemplate < 3) { |
| 8045 o.accountId = "foo"; |
| 8046 o.advertiserId = "foo"; |
| 8047 o.advertiserIdDimensionValue = buildDimensionValue(); |
| 8048 o.dayPartTargeting = buildDayPartTargeting(); |
| 8049 o.geoTargeting = buildGeoTargeting(); |
| 8050 o.id = "foo"; |
| 8051 o.keyValueTargetingExpression = buildKeyValueTargetingExpression(); |
| 8052 o.kind = "foo"; |
| 8053 o.languageTargeting = buildLanguageTargeting(); |
| 8054 o.listTargetingExpression = buildListTargetingExpression(); |
| 8055 o.name = "foo"; |
| 8056 o.subaccountId = "foo"; |
| 8057 o.technologyTargeting = buildTechnologyTargeting(); |
| 8058 } |
| 8059 buildCounterTargetingTemplate--; |
| 8060 return o; |
| 8061 } |
| 8062 |
| 8063 checkTargetingTemplate(api.TargetingTemplate o) { |
| 8064 buildCounterTargetingTemplate++; |
| 8065 if (buildCounterTargetingTemplate < 3) { |
| 8066 unittest.expect(o.accountId, unittest.equals('foo')); |
| 8067 unittest.expect(o.advertiserId, unittest.equals('foo')); |
| 8068 checkDimensionValue(o.advertiserIdDimensionValue); |
| 8069 checkDayPartTargeting(o.dayPartTargeting); |
| 8070 checkGeoTargeting(o.geoTargeting); |
| 8071 unittest.expect(o.id, unittest.equals('foo')); |
| 8072 checkKeyValueTargetingExpression(o.keyValueTargetingExpression); |
| 8073 unittest.expect(o.kind, unittest.equals('foo')); |
| 8074 checkLanguageTargeting(o.languageTargeting); |
| 8075 checkListTargetingExpression(o.listTargetingExpression); |
| 8076 unittest.expect(o.name, unittest.equals('foo')); |
| 8077 unittest.expect(o.subaccountId, unittest.equals('foo')); |
| 8078 checkTechnologyTargeting(o.technologyTargeting); |
| 8079 } |
| 8080 buildCounterTargetingTemplate--; |
| 8081 } |
| 8082 |
| 8083 buildUnnamed2312() { |
| 8084 var o = new core.List<api.TargetingTemplate>(); |
| 8085 o.add(buildTargetingTemplate()); |
| 8086 o.add(buildTargetingTemplate()); |
| 8087 return o; |
| 8088 } |
| 8089 |
| 8090 checkUnnamed2312(core.List<api.TargetingTemplate> o) { |
| 8091 unittest.expect(o, unittest.hasLength(2)); |
| 8092 checkTargetingTemplate(o[0]); |
| 8093 checkTargetingTemplate(o[1]); |
| 8094 } |
| 8095 |
| 8096 core.int buildCounterTargetingTemplatesListResponse = 0; |
| 8097 buildTargetingTemplatesListResponse() { |
| 8098 var o = new api.TargetingTemplatesListResponse(); |
| 8099 buildCounterTargetingTemplatesListResponse++; |
| 8100 if (buildCounterTargetingTemplatesListResponse < 3) { |
| 8101 o.kind = "foo"; |
| 8102 o.nextPageToken = "foo"; |
| 8103 o.targetingTemplates = buildUnnamed2312(); |
| 8104 } |
| 8105 buildCounterTargetingTemplatesListResponse--; |
| 8106 return o; |
| 8107 } |
| 8108 |
| 8109 checkTargetingTemplatesListResponse(api.TargetingTemplatesListResponse o) { |
| 8110 buildCounterTargetingTemplatesListResponse++; |
| 8111 if (buildCounterTargetingTemplatesListResponse < 3) { |
| 8112 unittest.expect(o.kind, unittest.equals('foo')); |
| 8113 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 8114 checkUnnamed2312(o.targetingTemplates); |
| 8115 } |
| 8116 buildCounterTargetingTemplatesListResponse--; |
| 8117 } |
| 8118 |
| 8119 buildUnnamed2313() { |
| 7849 var o = new core.List<api.Browser>(); | 8120 var o = new core.List<api.Browser>(); |
| 7850 o.add(buildBrowser()); | 8121 o.add(buildBrowser()); |
| 7851 o.add(buildBrowser()); | 8122 o.add(buildBrowser()); |
| 7852 return o; | 8123 return o; |
| 7853 } | 8124 } |
| 7854 | 8125 |
| 7855 checkUnnamed1574(core.List<api.Browser> o) { | 8126 checkUnnamed2313(core.List<api.Browser> o) { |
| 7856 unittest.expect(o, unittest.hasLength(2)); | 8127 unittest.expect(o, unittest.hasLength(2)); |
| 7857 checkBrowser(o[0]); | 8128 checkBrowser(o[0]); |
| 7858 checkBrowser(o[1]); | 8129 checkBrowser(o[1]); |
| 7859 } | 8130 } |
| 7860 | 8131 |
| 7861 buildUnnamed1575() { | 8132 buildUnnamed2314() { |
| 7862 var o = new core.List<api.ConnectionType>(); | 8133 var o = new core.List<api.ConnectionType>(); |
| 7863 o.add(buildConnectionType()); | 8134 o.add(buildConnectionType()); |
| 7864 o.add(buildConnectionType()); | 8135 o.add(buildConnectionType()); |
| 7865 return o; | 8136 return o; |
| 7866 } | 8137 } |
| 7867 | 8138 |
| 7868 checkUnnamed1575(core.List<api.ConnectionType> o) { | 8139 checkUnnamed2314(core.List<api.ConnectionType> o) { |
| 7869 unittest.expect(o, unittest.hasLength(2)); | 8140 unittest.expect(o, unittest.hasLength(2)); |
| 7870 checkConnectionType(o[0]); | 8141 checkConnectionType(o[0]); |
| 7871 checkConnectionType(o[1]); | 8142 checkConnectionType(o[1]); |
| 7872 } | 8143 } |
| 7873 | 8144 |
| 7874 buildUnnamed1576() { | 8145 buildUnnamed2315() { |
| 7875 var o = new core.List<api.MobileCarrier>(); | 8146 var o = new core.List<api.MobileCarrier>(); |
| 7876 o.add(buildMobileCarrier()); | 8147 o.add(buildMobileCarrier()); |
| 7877 o.add(buildMobileCarrier()); | 8148 o.add(buildMobileCarrier()); |
| 7878 return o; | 8149 return o; |
| 7879 } | 8150 } |
| 7880 | 8151 |
| 7881 checkUnnamed1576(core.List<api.MobileCarrier> o) { | 8152 checkUnnamed2315(core.List<api.MobileCarrier> o) { |
| 7882 unittest.expect(o, unittest.hasLength(2)); | 8153 unittest.expect(o, unittest.hasLength(2)); |
| 7883 checkMobileCarrier(o[0]); | 8154 checkMobileCarrier(o[0]); |
| 7884 checkMobileCarrier(o[1]); | 8155 checkMobileCarrier(o[1]); |
| 7885 } | 8156 } |
| 7886 | 8157 |
| 7887 buildUnnamed1577() { | 8158 buildUnnamed2316() { |
| 7888 var o = new core.List<api.OperatingSystemVersion>(); | 8159 var o = new core.List<api.OperatingSystemVersion>(); |
| 7889 o.add(buildOperatingSystemVersion()); | 8160 o.add(buildOperatingSystemVersion()); |
| 7890 o.add(buildOperatingSystemVersion()); | 8161 o.add(buildOperatingSystemVersion()); |
| 7891 return o; | 8162 return o; |
| 7892 } | 8163 } |
| 7893 | 8164 |
| 7894 checkUnnamed1577(core.List<api.OperatingSystemVersion> o) { | 8165 checkUnnamed2316(core.List<api.OperatingSystemVersion> o) { |
| 7895 unittest.expect(o, unittest.hasLength(2)); | 8166 unittest.expect(o, unittest.hasLength(2)); |
| 7896 checkOperatingSystemVersion(o[0]); | 8167 checkOperatingSystemVersion(o[0]); |
| 7897 checkOperatingSystemVersion(o[1]); | 8168 checkOperatingSystemVersion(o[1]); |
| 7898 } | 8169 } |
| 7899 | 8170 |
| 7900 buildUnnamed1578() { | 8171 buildUnnamed2317() { |
| 7901 var o = new core.List<api.OperatingSystem>(); | 8172 var o = new core.List<api.OperatingSystem>(); |
| 7902 o.add(buildOperatingSystem()); | 8173 o.add(buildOperatingSystem()); |
| 7903 o.add(buildOperatingSystem()); | 8174 o.add(buildOperatingSystem()); |
| 7904 return o; | 8175 return o; |
| 7905 } | 8176 } |
| 7906 | 8177 |
| 7907 checkUnnamed1578(core.List<api.OperatingSystem> o) { | 8178 checkUnnamed2317(core.List<api.OperatingSystem> o) { |
| 7908 unittest.expect(o, unittest.hasLength(2)); | 8179 unittest.expect(o, unittest.hasLength(2)); |
| 7909 checkOperatingSystem(o[0]); | 8180 checkOperatingSystem(o[0]); |
| 7910 checkOperatingSystem(o[1]); | 8181 checkOperatingSystem(o[1]); |
| 7911 } | 8182 } |
| 7912 | 8183 |
| 7913 buildUnnamed1579() { | 8184 buildUnnamed2318() { |
| 7914 var o = new core.List<api.PlatformType>(); | 8185 var o = new core.List<api.PlatformType>(); |
| 7915 o.add(buildPlatformType()); | 8186 o.add(buildPlatformType()); |
| 7916 o.add(buildPlatformType()); | 8187 o.add(buildPlatformType()); |
| 7917 return o; | 8188 return o; |
| 7918 } | 8189 } |
| 7919 | 8190 |
| 7920 checkUnnamed1579(core.List<api.PlatformType> o) { | 8191 checkUnnamed2318(core.List<api.PlatformType> o) { |
| 7921 unittest.expect(o, unittest.hasLength(2)); | 8192 unittest.expect(o, unittest.hasLength(2)); |
| 7922 checkPlatformType(o[0]); | 8193 checkPlatformType(o[0]); |
| 7923 checkPlatformType(o[1]); | 8194 checkPlatformType(o[1]); |
| 7924 } | 8195 } |
| 7925 | 8196 |
| 7926 core.int buildCounterTechnologyTargeting = 0; | 8197 core.int buildCounterTechnologyTargeting = 0; |
| 7927 buildTechnologyTargeting() { | 8198 buildTechnologyTargeting() { |
| 7928 var o = new api.TechnologyTargeting(); | 8199 var o = new api.TechnologyTargeting(); |
| 7929 buildCounterTechnologyTargeting++; | 8200 buildCounterTechnologyTargeting++; |
| 7930 if (buildCounterTechnologyTargeting < 3) { | 8201 if (buildCounterTechnologyTargeting < 3) { |
| 7931 o.browsers = buildUnnamed1574(); | 8202 o.browsers = buildUnnamed2313(); |
| 7932 o.connectionTypes = buildUnnamed1575(); | 8203 o.connectionTypes = buildUnnamed2314(); |
| 7933 o.mobileCarriers = buildUnnamed1576(); | 8204 o.mobileCarriers = buildUnnamed2315(); |
| 7934 o.operatingSystemVersions = buildUnnamed1577(); | 8205 o.operatingSystemVersions = buildUnnamed2316(); |
| 7935 o.operatingSystems = buildUnnamed1578(); | 8206 o.operatingSystems = buildUnnamed2317(); |
| 7936 o.platformTypes = buildUnnamed1579(); | 8207 o.platformTypes = buildUnnamed2318(); |
| 7937 } | 8208 } |
| 7938 buildCounterTechnologyTargeting--; | 8209 buildCounterTechnologyTargeting--; |
| 7939 return o; | 8210 return o; |
| 7940 } | 8211 } |
| 7941 | 8212 |
| 7942 checkTechnologyTargeting(api.TechnologyTargeting o) { | 8213 checkTechnologyTargeting(api.TechnologyTargeting o) { |
| 7943 buildCounterTechnologyTargeting++; | 8214 buildCounterTechnologyTargeting++; |
| 7944 if (buildCounterTechnologyTargeting < 3) { | 8215 if (buildCounterTechnologyTargeting < 3) { |
| 7945 checkUnnamed1574(o.browsers); | 8216 checkUnnamed2313(o.browsers); |
| 7946 checkUnnamed1575(o.connectionTypes); | 8217 checkUnnamed2314(o.connectionTypes); |
| 7947 checkUnnamed1576(o.mobileCarriers); | 8218 checkUnnamed2315(o.mobileCarriers); |
| 7948 checkUnnamed1577(o.operatingSystemVersions); | 8219 checkUnnamed2316(o.operatingSystemVersions); |
| 7949 checkUnnamed1578(o.operatingSystems); | 8220 checkUnnamed2317(o.operatingSystems); |
| 7950 checkUnnamed1579(o.platformTypes); | 8221 checkUnnamed2318(o.platformTypes); |
| 7951 } | 8222 } |
| 7952 buildCounterTechnologyTargeting--; | 8223 buildCounterTechnologyTargeting--; |
| 7953 } | 8224 } |
| 7954 | 8225 |
| 7955 core.int buildCounterThirdPartyAuthenticationToken = 0; | 8226 core.int buildCounterThirdPartyAuthenticationToken = 0; |
| 7956 buildThirdPartyAuthenticationToken() { | 8227 buildThirdPartyAuthenticationToken() { |
| 7957 var o = new api.ThirdPartyAuthenticationToken(); | 8228 var o = new api.ThirdPartyAuthenticationToken(); |
| 7958 buildCounterThirdPartyAuthenticationToken++; | 8229 buildCounterThirdPartyAuthenticationToken++; |
| 7959 if (buildCounterThirdPartyAuthenticationToken < 3) { | 8230 if (buildCounterThirdPartyAuthenticationToken < 3) { |
| 7960 o.name = "foo"; | 8231 o.name = "foo"; |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 8043 unittest.expect(o.etag, unittest.equals('foo')); | 8314 unittest.expect(o.etag, unittest.equals('foo')); |
| 8044 unittest.expect(o.kind, unittest.equals('foo')); | 8315 unittest.expect(o.kind, unittest.equals('foo')); |
| 8045 unittest.expect(o.profileId, unittest.equals('foo')); | 8316 unittest.expect(o.profileId, unittest.equals('foo')); |
| 8046 unittest.expect(o.subAccountId, unittest.equals('foo')); | 8317 unittest.expect(o.subAccountId, unittest.equals('foo')); |
| 8047 unittest.expect(o.subAccountName, unittest.equals('foo')); | 8318 unittest.expect(o.subAccountName, unittest.equals('foo')); |
| 8048 unittest.expect(o.userName, unittest.equals('foo')); | 8319 unittest.expect(o.userName, unittest.equals('foo')); |
| 8049 } | 8320 } |
| 8050 buildCounterUserProfile--; | 8321 buildCounterUserProfile--; |
| 8051 } | 8322 } |
| 8052 | 8323 |
| 8053 buildUnnamed1580() { | 8324 buildUnnamed2319() { |
| 8054 var o = new core.List<api.UserProfile>(); | 8325 var o = new core.List<api.UserProfile>(); |
| 8055 o.add(buildUserProfile()); | 8326 o.add(buildUserProfile()); |
| 8056 o.add(buildUserProfile()); | 8327 o.add(buildUserProfile()); |
| 8057 return o; | 8328 return o; |
| 8058 } | 8329 } |
| 8059 | 8330 |
| 8060 checkUnnamed1580(core.List<api.UserProfile> o) { | 8331 checkUnnamed2319(core.List<api.UserProfile> o) { |
| 8061 unittest.expect(o, unittest.hasLength(2)); | 8332 unittest.expect(o, unittest.hasLength(2)); |
| 8062 checkUserProfile(o[0]); | 8333 checkUserProfile(o[0]); |
| 8063 checkUserProfile(o[1]); | 8334 checkUserProfile(o[1]); |
| 8064 } | 8335 } |
| 8065 | 8336 |
| 8066 core.int buildCounterUserProfileList = 0; | 8337 core.int buildCounterUserProfileList = 0; |
| 8067 buildUserProfileList() { | 8338 buildUserProfileList() { |
| 8068 var o = new api.UserProfileList(); | 8339 var o = new api.UserProfileList(); |
| 8069 buildCounterUserProfileList++; | 8340 buildCounterUserProfileList++; |
| 8070 if (buildCounterUserProfileList < 3) { | 8341 if (buildCounterUserProfileList < 3) { |
| 8071 o.etag = "foo"; | 8342 o.etag = "foo"; |
| 8072 o.items = buildUnnamed1580(); | 8343 o.items = buildUnnamed2319(); |
| 8073 o.kind = "foo"; | 8344 o.kind = "foo"; |
| 8074 } | 8345 } |
| 8075 buildCounterUserProfileList--; | 8346 buildCounterUserProfileList--; |
| 8076 return o; | 8347 return o; |
| 8077 } | 8348 } |
| 8078 | 8349 |
| 8079 checkUserProfileList(api.UserProfileList o) { | 8350 checkUserProfileList(api.UserProfileList o) { |
| 8080 buildCounterUserProfileList++; | 8351 buildCounterUserProfileList++; |
| 8081 if (buildCounterUserProfileList < 3) { | 8352 if (buildCounterUserProfileList < 3) { |
| 8082 unittest.expect(o.etag, unittest.equals('foo')); | 8353 unittest.expect(o.etag, unittest.equals('foo')); |
| 8083 checkUnnamed1580(o.items); | 8354 checkUnnamed2319(o.items); |
| 8084 unittest.expect(o.kind, unittest.equals('foo')); | 8355 unittest.expect(o.kind, unittest.equals('foo')); |
| 8085 } | 8356 } |
| 8086 buildCounterUserProfileList--; | 8357 buildCounterUserProfileList--; |
| 8087 } | 8358 } |
| 8088 | 8359 |
| 8089 buildUnnamed1581() { | 8360 buildUnnamed2320() { |
| 8090 var o = new core.List<api.UserRolePermission>(); | 8361 var o = new core.List<api.UserRolePermission>(); |
| 8091 o.add(buildUserRolePermission()); | 8362 o.add(buildUserRolePermission()); |
| 8092 o.add(buildUserRolePermission()); | 8363 o.add(buildUserRolePermission()); |
| 8093 return o; | 8364 return o; |
| 8094 } | 8365 } |
| 8095 | 8366 |
| 8096 checkUnnamed1581(core.List<api.UserRolePermission> o) { | 8367 checkUnnamed2320(core.List<api.UserRolePermission> o) { |
| 8097 unittest.expect(o, unittest.hasLength(2)); | 8368 unittest.expect(o, unittest.hasLength(2)); |
| 8098 checkUserRolePermission(o[0]); | 8369 checkUserRolePermission(o[0]); |
| 8099 checkUserRolePermission(o[1]); | 8370 checkUserRolePermission(o[1]); |
| 8100 } | 8371 } |
| 8101 | 8372 |
| 8102 core.int buildCounterUserRole = 0; | 8373 core.int buildCounterUserRole = 0; |
| 8103 buildUserRole() { | 8374 buildUserRole() { |
| 8104 var o = new api.UserRole(); | 8375 var o = new api.UserRole(); |
| 8105 buildCounterUserRole++; | 8376 buildCounterUserRole++; |
| 8106 if (buildCounterUserRole < 3) { | 8377 if (buildCounterUserRole < 3) { |
| 8107 o.accountId = "foo"; | 8378 o.accountId = "foo"; |
| 8108 o.defaultUserRole = true; | 8379 o.defaultUserRole = true; |
| 8109 o.id = "foo"; | 8380 o.id = "foo"; |
| 8110 o.kind = "foo"; | 8381 o.kind = "foo"; |
| 8111 o.name = "foo"; | 8382 o.name = "foo"; |
| 8112 o.parentUserRoleId = "foo"; | 8383 o.parentUserRoleId = "foo"; |
| 8113 o.permissions = buildUnnamed1581(); | 8384 o.permissions = buildUnnamed2320(); |
| 8114 o.subaccountId = "foo"; | 8385 o.subaccountId = "foo"; |
| 8115 } | 8386 } |
| 8116 buildCounterUserRole--; | 8387 buildCounterUserRole--; |
| 8117 return o; | 8388 return o; |
| 8118 } | 8389 } |
| 8119 | 8390 |
| 8120 checkUserRole(api.UserRole o) { | 8391 checkUserRole(api.UserRole o) { |
| 8121 buildCounterUserRole++; | 8392 buildCounterUserRole++; |
| 8122 if (buildCounterUserRole < 3) { | 8393 if (buildCounterUserRole < 3) { |
| 8123 unittest.expect(o.accountId, unittest.equals('foo')); | 8394 unittest.expect(o.accountId, unittest.equals('foo')); |
| 8124 unittest.expect(o.defaultUserRole, unittest.isTrue); | 8395 unittest.expect(o.defaultUserRole, unittest.isTrue); |
| 8125 unittest.expect(o.id, unittest.equals('foo')); | 8396 unittest.expect(o.id, unittest.equals('foo')); |
| 8126 unittest.expect(o.kind, unittest.equals('foo')); | 8397 unittest.expect(o.kind, unittest.equals('foo')); |
| 8127 unittest.expect(o.name, unittest.equals('foo')); | 8398 unittest.expect(o.name, unittest.equals('foo')); |
| 8128 unittest.expect(o.parentUserRoleId, unittest.equals('foo')); | 8399 unittest.expect(o.parentUserRoleId, unittest.equals('foo')); |
| 8129 checkUnnamed1581(o.permissions); | 8400 checkUnnamed2320(o.permissions); |
| 8130 unittest.expect(o.subaccountId, unittest.equals('foo')); | 8401 unittest.expect(o.subaccountId, unittest.equals('foo')); |
| 8131 } | 8402 } |
| 8132 buildCounterUserRole--; | 8403 buildCounterUserRole--; |
| 8133 } | 8404 } |
| 8134 | 8405 |
| 8135 core.int buildCounterUserRolePermission = 0; | 8406 core.int buildCounterUserRolePermission = 0; |
| 8136 buildUserRolePermission() { | 8407 buildUserRolePermission() { |
| 8137 var o = new api.UserRolePermission(); | 8408 var o = new api.UserRolePermission(); |
| 8138 buildCounterUserRolePermission++; | 8409 buildCounterUserRolePermission++; |
| 8139 if (buildCounterUserRolePermission < 3) { | 8410 if (buildCounterUserRolePermission < 3) { |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 8175 checkUserRolePermissionGroup(api.UserRolePermissionGroup o) { | 8446 checkUserRolePermissionGroup(api.UserRolePermissionGroup o) { |
| 8176 buildCounterUserRolePermissionGroup++; | 8447 buildCounterUserRolePermissionGroup++; |
| 8177 if (buildCounterUserRolePermissionGroup < 3) { | 8448 if (buildCounterUserRolePermissionGroup < 3) { |
| 8178 unittest.expect(o.id, unittest.equals('foo')); | 8449 unittest.expect(o.id, unittest.equals('foo')); |
| 8179 unittest.expect(o.kind, unittest.equals('foo')); | 8450 unittest.expect(o.kind, unittest.equals('foo')); |
| 8180 unittest.expect(o.name, unittest.equals('foo')); | 8451 unittest.expect(o.name, unittest.equals('foo')); |
| 8181 } | 8452 } |
| 8182 buildCounterUserRolePermissionGroup--; | 8453 buildCounterUserRolePermissionGroup--; |
| 8183 } | 8454 } |
| 8184 | 8455 |
| 8185 buildUnnamed1582() { | 8456 buildUnnamed2321() { |
| 8186 var o = new core.List<api.UserRolePermissionGroup>(); | 8457 var o = new core.List<api.UserRolePermissionGroup>(); |
| 8187 o.add(buildUserRolePermissionGroup()); | 8458 o.add(buildUserRolePermissionGroup()); |
| 8188 o.add(buildUserRolePermissionGroup()); | 8459 o.add(buildUserRolePermissionGroup()); |
| 8189 return o; | 8460 return o; |
| 8190 } | 8461 } |
| 8191 | 8462 |
| 8192 checkUnnamed1582(core.List<api.UserRolePermissionGroup> o) { | 8463 checkUnnamed2321(core.List<api.UserRolePermissionGroup> o) { |
| 8193 unittest.expect(o, unittest.hasLength(2)); | 8464 unittest.expect(o, unittest.hasLength(2)); |
| 8194 checkUserRolePermissionGroup(o[0]); | 8465 checkUserRolePermissionGroup(o[0]); |
| 8195 checkUserRolePermissionGroup(o[1]); | 8466 checkUserRolePermissionGroup(o[1]); |
| 8196 } | 8467 } |
| 8197 | 8468 |
| 8198 core.int buildCounterUserRolePermissionGroupsListResponse = 0; | 8469 core.int buildCounterUserRolePermissionGroupsListResponse = 0; |
| 8199 buildUserRolePermissionGroupsListResponse() { | 8470 buildUserRolePermissionGroupsListResponse() { |
| 8200 var o = new api.UserRolePermissionGroupsListResponse(); | 8471 var o = new api.UserRolePermissionGroupsListResponse(); |
| 8201 buildCounterUserRolePermissionGroupsListResponse++; | 8472 buildCounterUserRolePermissionGroupsListResponse++; |
| 8202 if (buildCounterUserRolePermissionGroupsListResponse < 3) { | 8473 if (buildCounterUserRolePermissionGroupsListResponse < 3) { |
| 8203 o.kind = "foo"; | 8474 o.kind = "foo"; |
| 8204 o.userRolePermissionGroups = buildUnnamed1582(); | 8475 o.userRolePermissionGroups = buildUnnamed2321(); |
| 8205 } | 8476 } |
| 8206 buildCounterUserRolePermissionGroupsListResponse--; | 8477 buildCounterUserRolePermissionGroupsListResponse--; |
| 8207 return o; | 8478 return o; |
| 8208 } | 8479 } |
| 8209 | 8480 |
| 8210 checkUserRolePermissionGroupsListResponse(api.UserRolePermissionGroupsListRespon
se o) { | 8481 checkUserRolePermissionGroupsListResponse(api.UserRolePermissionGroupsListRespon
se o) { |
| 8211 buildCounterUserRolePermissionGroupsListResponse++; | 8482 buildCounterUserRolePermissionGroupsListResponse++; |
| 8212 if (buildCounterUserRolePermissionGroupsListResponse < 3) { | 8483 if (buildCounterUserRolePermissionGroupsListResponse < 3) { |
| 8213 unittest.expect(o.kind, unittest.equals('foo')); | 8484 unittest.expect(o.kind, unittest.equals('foo')); |
| 8214 checkUnnamed1582(o.userRolePermissionGroups); | 8485 checkUnnamed2321(o.userRolePermissionGroups); |
| 8215 } | 8486 } |
| 8216 buildCounterUserRolePermissionGroupsListResponse--; | 8487 buildCounterUserRolePermissionGroupsListResponse--; |
| 8217 } | 8488 } |
| 8218 | 8489 |
| 8219 buildUnnamed1583() { | 8490 buildUnnamed2322() { |
| 8220 var o = new core.List<api.UserRolePermission>(); | 8491 var o = new core.List<api.UserRolePermission>(); |
| 8221 o.add(buildUserRolePermission()); | 8492 o.add(buildUserRolePermission()); |
| 8222 o.add(buildUserRolePermission()); | 8493 o.add(buildUserRolePermission()); |
| 8223 return o; | 8494 return o; |
| 8224 } | 8495 } |
| 8225 | 8496 |
| 8226 checkUnnamed1583(core.List<api.UserRolePermission> o) { | 8497 checkUnnamed2322(core.List<api.UserRolePermission> o) { |
| 8227 unittest.expect(o, unittest.hasLength(2)); | 8498 unittest.expect(o, unittest.hasLength(2)); |
| 8228 checkUserRolePermission(o[0]); | 8499 checkUserRolePermission(o[0]); |
| 8229 checkUserRolePermission(o[1]); | 8500 checkUserRolePermission(o[1]); |
| 8230 } | 8501 } |
| 8231 | 8502 |
| 8232 core.int buildCounterUserRolePermissionsListResponse = 0; | 8503 core.int buildCounterUserRolePermissionsListResponse = 0; |
| 8233 buildUserRolePermissionsListResponse() { | 8504 buildUserRolePermissionsListResponse() { |
| 8234 var o = new api.UserRolePermissionsListResponse(); | 8505 var o = new api.UserRolePermissionsListResponse(); |
| 8235 buildCounterUserRolePermissionsListResponse++; | 8506 buildCounterUserRolePermissionsListResponse++; |
| 8236 if (buildCounterUserRolePermissionsListResponse < 3) { | 8507 if (buildCounterUserRolePermissionsListResponse < 3) { |
| 8237 o.kind = "foo"; | 8508 o.kind = "foo"; |
| 8238 o.userRolePermissions = buildUnnamed1583(); | 8509 o.userRolePermissions = buildUnnamed2322(); |
| 8239 } | 8510 } |
| 8240 buildCounterUserRolePermissionsListResponse--; | 8511 buildCounterUserRolePermissionsListResponse--; |
| 8241 return o; | 8512 return o; |
| 8242 } | 8513 } |
| 8243 | 8514 |
| 8244 checkUserRolePermissionsListResponse(api.UserRolePermissionsListResponse o) { | 8515 checkUserRolePermissionsListResponse(api.UserRolePermissionsListResponse o) { |
| 8245 buildCounterUserRolePermissionsListResponse++; | 8516 buildCounterUserRolePermissionsListResponse++; |
| 8246 if (buildCounterUserRolePermissionsListResponse < 3) { | 8517 if (buildCounterUserRolePermissionsListResponse < 3) { |
| 8247 unittest.expect(o.kind, unittest.equals('foo')); | 8518 unittest.expect(o.kind, unittest.equals('foo')); |
| 8248 checkUnnamed1583(o.userRolePermissions); | 8519 checkUnnamed2322(o.userRolePermissions); |
| 8249 } | 8520 } |
| 8250 buildCounterUserRolePermissionsListResponse--; | 8521 buildCounterUserRolePermissionsListResponse--; |
| 8251 } | 8522 } |
| 8252 | 8523 |
| 8253 buildUnnamed1584() { | 8524 buildUnnamed2323() { |
| 8254 var o = new core.List<api.UserRole>(); | 8525 var o = new core.List<api.UserRole>(); |
| 8255 o.add(buildUserRole()); | 8526 o.add(buildUserRole()); |
| 8256 o.add(buildUserRole()); | 8527 o.add(buildUserRole()); |
| 8257 return o; | 8528 return o; |
| 8258 } | 8529 } |
| 8259 | 8530 |
| 8260 checkUnnamed1584(core.List<api.UserRole> o) { | 8531 checkUnnamed2323(core.List<api.UserRole> o) { |
| 8261 unittest.expect(o, unittest.hasLength(2)); | 8532 unittest.expect(o, unittest.hasLength(2)); |
| 8262 checkUserRole(o[0]); | 8533 checkUserRole(o[0]); |
| 8263 checkUserRole(o[1]); | 8534 checkUserRole(o[1]); |
| 8264 } | 8535 } |
| 8265 | 8536 |
| 8266 core.int buildCounterUserRolesListResponse = 0; | 8537 core.int buildCounterUserRolesListResponse = 0; |
| 8267 buildUserRolesListResponse() { | 8538 buildUserRolesListResponse() { |
| 8268 var o = new api.UserRolesListResponse(); | 8539 var o = new api.UserRolesListResponse(); |
| 8269 buildCounterUserRolesListResponse++; | 8540 buildCounterUserRolesListResponse++; |
| 8270 if (buildCounterUserRolesListResponse < 3) { | 8541 if (buildCounterUserRolesListResponse < 3) { |
| 8271 o.kind = "foo"; | 8542 o.kind = "foo"; |
| 8272 o.nextPageToken = "foo"; | 8543 o.nextPageToken = "foo"; |
| 8273 o.userRoles = buildUnnamed1584(); | 8544 o.userRoles = buildUnnamed2323(); |
| 8274 } | 8545 } |
| 8275 buildCounterUserRolesListResponse--; | 8546 buildCounterUserRolesListResponse--; |
| 8276 return o; | 8547 return o; |
| 8277 } | 8548 } |
| 8278 | 8549 |
| 8279 checkUserRolesListResponse(api.UserRolesListResponse o) { | 8550 checkUserRolesListResponse(api.UserRolesListResponse o) { |
| 8280 buildCounterUserRolesListResponse++; | 8551 buildCounterUserRolesListResponse++; |
| 8281 if (buildCounterUserRolesListResponse < 3) { | 8552 if (buildCounterUserRolesListResponse < 3) { |
| 8282 unittest.expect(o.kind, unittest.equals('foo')); | 8553 unittest.expect(o.kind, unittest.equals('foo')); |
| 8283 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 8554 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 8284 checkUnnamed1584(o.userRoles); | 8555 checkUnnamed2323(o.userRoles); |
| 8285 } | 8556 } |
| 8286 buildCounterUserRolesListResponse--; | 8557 buildCounterUserRolesListResponse--; |
| 8287 } | 8558 } |
| 8288 | 8559 |
| 8289 buildUnnamed1585() { | 8560 buildUnnamed2324() { |
| 8290 var o = new core.List<core.String>(); | 8561 var o = new core.List<core.String>(); |
| 8291 o.add("foo"); | 8562 o.add("foo"); |
| 8292 o.add("foo"); | 8563 o.add("foo"); |
| 8293 return o; | 8564 return o; |
| 8294 } | 8565 } |
| 8295 | 8566 |
| 8296 checkUnnamed1585(core.List<core.String> o) { | 8567 checkUnnamed2324(core.List<core.String> o) { |
| 8297 unittest.expect(o, unittest.hasLength(2)); | 8568 unittest.expect(o, unittest.hasLength(2)); |
| 8298 unittest.expect(o[0], unittest.equals('foo')); | 8569 unittest.expect(o[0], unittest.equals('foo')); |
| 8299 unittest.expect(o[1], unittest.equals('foo')); | 8570 unittest.expect(o[1], unittest.equals('foo')); |
| 8300 } | 8571 } |
| 8301 | 8572 |
| 8302 buildUnnamed1586() { | 8573 buildUnnamed2325() { |
| 8303 var o = new core.List<core.String>(); | 8574 var o = new core.List<core.String>(); |
| 8304 o.add("foo"); | 8575 o.add("foo"); |
| 8305 o.add("foo"); | 8576 o.add("foo"); |
| 8306 return o; | 8577 return o; |
| 8307 } | 8578 } |
| 8308 | 8579 |
| 8309 checkUnnamed1586(core.List<core.String> o) { | 8580 checkUnnamed2325(core.List<core.String> o) { |
| 8310 unittest.expect(o, unittest.hasLength(2)); | 8581 unittest.expect(o, unittest.hasLength(2)); |
| 8311 unittest.expect(o[0], unittest.equals('foo')); | 8582 unittest.expect(o[0], unittest.equals('foo')); |
| 8312 unittest.expect(o[1], unittest.equals('foo')); | 8583 unittest.expect(o[1], unittest.equals('foo')); |
| 8313 } | 8584 } |
| 8314 | 8585 |
| 8315 buildUnnamed1587() { | 8586 buildUnnamed2326() { |
| 8316 var o = new core.List<core.String>(); | 8587 var o = new core.List<core.String>(); |
| 8317 o.add("foo"); | 8588 o.add("foo"); |
| 8318 o.add("foo"); | 8589 o.add("foo"); |
| 8319 return o; | 8590 return o; |
| 8320 } | 8591 } |
| 8321 | 8592 |
| 8322 checkUnnamed1587(core.List<core.String> o) { | 8593 checkUnnamed2326(core.List<core.String> o) { |
| 8323 unittest.expect(o, unittest.hasLength(2)); | 8594 unittest.expect(o, unittest.hasLength(2)); |
| 8324 unittest.expect(o[0], unittest.equals('foo')); | 8595 unittest.expect(o[0], unittest.equals('foo')); |
| 8325 unittest.expect(o[1], unittest.equals('foo')); | 8596 unittest.expect(o[1], unittest.equals('foo')); |
| 8326 } | 8597 } |
| 8327 | 8598 |
| 8328 buildUnnamed1588() { | 8599 buildUnnamed2327() { |
| 8329 var o = new core.List<core.String>(); | 8600 var o = new core.List<core.String>(); |
| 8330 o.add("foo"); | 8601 o.add("foo"); |
| 8331 o.add("foo"); | 8602 o.add("foo"); |
| 8332 return o; | 8603 return o; |
| 8333 } | 8604 } |
| 8334 | 8605 |
| 8335 checkUnnamed1588(core.List<core.String> o) { | 8606 checkUnnamed2327(core.List<core.String> o) { |
| 8336 unittest.expect(o, unittest.hasLength(2)); | 8607 unittest.expect(o, unittest.hasLength(2)); |
| 8337 unittest.expect(o[0], unittest.equals('foo')); | 8608 unittest.expect(o[0], unittest.equals('foo')); |
| 8338 unittest.expect(o[1], unittest.equals('foo')); | 8609 unittest.expect(o[1], unittest.equals('foo')); |
| 8339 } | 8610 } |
| 8340 | 8611 |
| 8341 buildUnnamed1589() { | 8612 buildUnnamed2328() { |
| 8342 var o = new core.List<core.String>(); | 8613 var o = new core.List<core.String>(); |
| 8343 o.add("foo"); | 8614 o.add("foo"); |
| 8344 o.add("foo"); | 8615 o.add("foo"); |
| 8345 return o; | 8616 return o; |
| 8346 } | 8617 } |
| 8347 | 8618 |
| 8348 checkUnnamed1589(core.List<core.String> o) { | 8619 checkUnnamed2328(core.List<core.String> o) { |
| 8349 unittest.expect(o, unittest.hasLength(2)); | 8620 unittest.expect(o, unittest.hasLength(2)); |
| 8350 unittest.expect(o[0], unittest.equals('foo')); | 8621 unittest.expect(o[0], unittest.equals('foo')); |
| 8351 unittest.expect(o[1], unittest.equals('foo')); | 8622 unittest.expect(o[1], unittest.equals('foo')); |
| 8352 } | 8623 } |
| 8353 | 8624 |
| 8354 buildUnnamed1590() { | 8625 buildUnnamed2329() { |
| 8355 var o = new core.List<core.String>(); | 8626 var o = new core.List<core.String>(); |
| 8356 o.add("foo"); | 8627 o.add("foo"); |
| 8357 o.add("foo"); | 8628 o.add("foo"); |
| 8358 return o; | 8629 return o; |
| 8359 } | 8630 } |
| 8360 | 8631 |
| 8361 checkUnnamed1590(core.List<core.String> o) { | 8632 checkUnnamed2329(core.List<core.String> o) { |
| 8362 unittest.expect(o, unittest.hasLength(2)); | 8633 unittest.expect(o, unittest.hasLength(2)); |
| 8363 unittest.expect(o[0], unittest.equals('foo')); | 8634 unittest.expect(o[0], unittest.equals('foo')); |
| 8364 unittest.expect(o[1], unittest.equals('foo')); | 8635 unittest.expect(o[1], unittest.equals('foo')); |
| 8365 } | 8636 } |
| 8366 | 8637 |
| 8367 buildUnnamed1591() { | 8638 buildUnnamed2330() { |
| 8368 var o = new core.List<core.String>(); | 8639 var o = new core.List<core.String>(); |
| 8369 o.add("foo"); | 8640 o.add("foo"); |
| 8370 o.add("foo"); | 8641 o.add("foo"); |
| 8371 return o; | 8642 return o; |
| 8372 } | 8643 } |
| 8373 | 8644 |
| 8374 checkUnnamed1591(core.List<core.String> o) { | 8645 checkUnnamed2330(core.List<core.String> o) { |
| 8375 unittest.expect(o, unittest.hasLength(2)); | 8646 unittest.expect(o, unittest.hasLength(2)); |
| 8376 unittest.expect(o[0], unittest.equals('foo')); | 8647 unittest.expect(o[0], unittest.equals('foo')); |
| 8377 unittest.expect(o[1], unittest.equals('foo')); | 8648 unittest.expect(o[1], unittest.equals('foo')); |
| 8378 } | 8649 } |
| 8379 | 8650 |
| 8380 buildUnnamed1592() { | 8651 buildUnnamed2331() { |
| 8381 var o = new core.List<core.String>(); | 8652 var o = new core.List<core.String>(); |
| 8382 o.add("foo"); | 8653 o.add("foo"); |
| 8383 o.add("foo"); | 8654 o.add("foo"); |
| 8384 return o; | 8655 return o; |
| 8385 } | 8656 } |
| 8386 | 8657 |
| 8387 checkUnnamed1592(core.List<core.String> o) { | 8658 checkUnnamed2331(core.List<core.String> o) { |
| 8388 unittest.expect(o, unittest.hasLength(2)); | 8659 unittest.expect(o, unittest.hasLength(2)); |
| 8389 unittest.expect(o[0], unittest.equals('foo')); | 8660 unittest.expect(o[0], unittest.equals('foo')); |
| 8390 unittest.expect(o[1], unittest.equals('foo')); | 8661 unittest.expect(o[1], unittest.equals('foo')); |
| 8391 } | 8662 } |
| 8392 | 8663 |
| 8393 buildUnnamed1593() { | 8664 buildUnnamed2332() { |
| 8394 var o = new core.List<core.String>(); | 8665 var o = new core.List<core.String>(); |
| 8395 o.add("foo"); | 8666 o.add("foo"); |
| 8396 o.add("foo"); | 8667 o.add("foo"); |
| 8397 return o; | 8668 return o; |
| 8398 } | 8669 } |
| 8399 | 8670 |
| 8400 checkUnnamed1593(core.List<core.String> o) { | 8671 checkUnnamed2332(core.List<core.String> o) { |
| 8401 unittest.expect(o, unittest.hasLength(2)); | 8672 unittest.expect(o, unittest.hasLength(2)); |
| 8402 unittest.expect(o[0], unittest.equals('foo')); | 8673 unittest.expect(o[0], unittest.equals('foo')); |
| 8403 unittest.expect(o[1], unittest.equals('foo')); | 8674 unittest.expect(o[1], unittest.equals('foo')); |
| 8404 } | 8675 } |
| 8405 | 8676 |
| 8406 buildUnnamed1594() { | 8677 buildUnnamed2333() { |
| 8407 var o = new core.List<core.String>(); | 8678 var o = new core.List<core.String>(); |
| 8408 o.add("foo"); | 8679 o.add("foo"); |
| 8409 o.add("foo"); | 8680 o.add("foo"); |
| 8410 return o; | 8681 return o; |
| 8411 } | 8682 } |
| 8412 | 8683 |
| 8413 checkUnnamed1594(core.List<core.String> o) { | 8684 checkUnnamed2333(core.List<core.String> o) { |
| 8414 unittest.expect(o, unittest.hasLength(2)); | 8685 unittest.expect(o, unittest.hasLength(2)); |
| 8415 unittest.expect(o[0], unittest.equals('foo')); | 8686 unittest.expect(o[0], unittest.equals('foo')); |
| 8416 unittest.expect(o[1], unittest.equals('foo')); | 8687 unittest.expect(o[1], unittest.equals('foo')); |
| 8417 } | 8688 } |
| 8418 | 8689 |
| 8419 buildUnnamed1595() { | 8690 buildUnnamed2334() { |
| 8420 var o = new core.List<core.String>(); | 8691 var o = new core.List<core.String>(); |
| 8421 o.add("foo"); | 8692 o.add("foo"); |
| 8422 o.add("foo"); | 8693 o.add("foo"); |
| 8423 return o; | 8694 return o; |
| 8424 } | 8695 } |
| 8425 | 8696 |
| 8426 checkUnnamed1595(core.List<core.String> o) { | 8697 checkUnnamed2334(core.List<core.String> o) { |
| 8427 unittest.expect(o, unittest.hasLength(2)); | 8698 unittest.expect(o, unittest.hasLength(2)); |
| 8428 unittest.expect(o[0], unittest.equals('foo')); | 8699 unittest.expect(o[0], unittest.equals('foo')); |
| 8429 unittest.expect(o[1], unittest.equals('foo')); | 8700 unittest.expect(o[1], unittest.equals('foo')); |
| 8430 } | 8701 } |
| 8431 | 8702 |
| 8432 buildUnnamed1596() { | 8703 buildUnnamed2335() { |
| 8433 var o = new core.List<core.String>(); | 8704 var o = new core.List<core.String>(); |
| 8434 o.add("foo"); | 8705 o.add("foo"); |
| 8435 o.add("foo"); | 8706 o.add("foo"); |
| 8436 return o; | 8707 return o; |
| 8437 } | 8708 } |
| 8438 | 8709 |
| 8439 checkUnnamed1596(core.List<core.String> o) { | 8710 checkUnnamed2335(core.List<core.String> o) { |
| 8440 unittest.expect(o, unittest.hasLength(2)); | 8711 unittest.expect(o, unittest.hasLength(2)); |
| 8441 unittest.expect(o[0], unittest.equals('foo')); | 8712 unittest.expect(o[0], unittest.equals('foo')); |
| 8442 unittest.expect(o[1], unittest.equals('foo')); | 8713 unittest.expect(o[1], unittest.equals('foo')); |
| 8443 } | 8714 } |
| 8444 | 8715 |
| 8445 buildUnnamed1597() { | 8716 buildUnnamed2336() { |
| 8446 var o = new core.List<core.String>(); | 8717 var o = new core.List<core.String>(); |
| 8447 o.add("foo"); | 8718 o.add("foo"); |
| 8448 o.add("foo"); | 8719 o.add("foo"); |
| 8449 return o; | 8720 return o; |
| 8450 } | 8721 } |
| 8451 | 8722 |
| 8452 checkUnnamed1597(core.List<core.String> o) { | 8723 checkUnnamed2336(core.List<core.String> o) { |
| 8453 unittest.expect(o, unittest.hasLength(2)); | 8724 unittest.expect(o, unittest.hasLength(2)); |
| 8454 unittest.expect(o[0], unittest.equals('foo')); | 8725 unittest.expect(o[0], unittest.equals('foo')); |
| 8455 unittest.expect(o[1], unittest.equals('foo')); | 8726 unittest.expect(o[1], unittest.equals('foo')); |
| 8456 } | 8727 } |
| 8457 | 8728 |
| 8458 buildUnnamed1598() { | 8729 buildUnnamed2337() { |
| 8459 var o = new core.List<core.String>(); | 8730 var o = new core.List<core.String>(); |
| 8460 o.add("foo"); | 8731 o.add("foo"); |
| 8461 o.add("foo"); | 8732 o.add("foo"); |
| 8462 return o; | 8733 return o; |
| 8463 } | 8734 } |
| 8464 | 8735 |
| 8465 checkUnnamed1598(core.List<core.String> o) { | 8736 checkUnnamed2337(core.List<core.String> o) { |
| 8466 unittest.expect(o, unittest.hasLength(2)); | 8737 unittest.expect(o, unittest.hasLength(2)); |
| 8467 unittest.expect(o[0], unittest.equals('foo')); | 8738 unittest.expect(o[0], unittest.equals('foo')); |
| 8468 unittest.expect(o[1], unittest.equals('foo')); | 8739 unittest.expect(o[1], unittest.equals('foo')); |
| 8469 } | 8740 } |
| 8470 | 8741 |
| 8471 buildUnnamed1599() { | 8742 buildUnnamed2338() { |
| 8472 var o = new core.List<core.String>(); | 8743 var o = new core.List<core.String>(); |
| 8473 o.add("foo"); | 8744 o.add("foo"); |
| 8474 o.add("foo"); | 8745 o.add("foo"); |
| 8475 return o; | 8746 return o; |
| 8476 } | 8747 } |
| 8477 | 8748 |
| 8478 checkUnnamed1599(core.List<core.String> o) { | 8749 checkUnnamed2338(core.List<core.String> o) { |
| 8479 unittest.expect(o, unittest.hasLength(2)); | 8750 unittest.expect(o, unittest.hasLength(2)); |
| 8480 unittest.expect(o[0], unittest.equals('foo')); | 8751 unittest.expect(o[0], unittest.equals('foo')); |
| 8481 unittest.expect(o[1], unittest.equals('foo')); | 8752 unittest.expect(o[1], unittest.equals('foo')); |
| 8482 } | 8753 } |
| 8483 | 8754 |
| 8484 buildUnnamed1600() { | 8755 buildUnnamed2339() { |
| 8485 var o = new core.List<core.String>(); | 8756 var o = new core.List<core.String>(); |
| 8486 o.add("foo"); | 8757 o.add("foo"); |
| 8487 o.add("foo"); | 8758 o.add("foo"); |
| 8488 return o; | 8759 return o; |
| 8489 } | 8760 } |
| 8490 | 8761 |
| 8491 checkUnnamed1600(core.List<core.String> o) { | 8762 checkUnnamed2339(core.List<core.String> o) { |
| 8492 unittest.expect(o, unittest.hasLength(2)); | 8763 unittest.expect(o, unittest.hasLength(2)); |
| 8493 unittest.expect(o[0], unittest.equals('foo')); | 8764 unittest.expect(o[0], unittest.equals('foo')); |
| 8494 unittest.expect(o[1], unittest.equals('foo')); | 8765 unittest.expect(o[1], unittest.equals('foo')); |
| 8495 } | 8766 } |
| 8496 | 8767 |
| 8497 buildUnnamed1601() { | 8768 buildUnnamed2340() { |
| 8498 var o = new core.List<core.String>(); | 8769 var o = new core.List<core.String>(); |
| 8499 o.add("foo"); | 8770 o.add("foo"); |
| 8500 o.add("foo"); | 8771 o.add("foo"); |
| 8501 return o; | 8772 return o; |
| 8502 } | 8773 } |
| 8503 | 8774 |
| 8504 checkUnnamed1601(core.List<core.String> o) { | 8775 checkUnnamed2340(core.List<core.String> o) { |
| 8505 unittest.expect(o, unittest.hasLength(2)); | 8776 unittest.expect(o, unittest.hasLength(2)); |
| 8506 unittest.expect(o[0], unittest.equals('foo')); | 8777 unittest.expect(o[0], unittest.equals('foo')); |
| 8507 unittest.expect(o[1], unittest.equals('foo')); | 8778 unittest.expect(o[1], unittest.equals('foo')); |
| 8508 } | 8779 } |
| 8509 | 8780 |
| 8510 buildUnnamed1602() { | 8781 buildUnnamed2341() { |
| 8511 var o = new core.List<core.String>(); | 8782 var o = new core.List<core.String>(); |
| 8512 o.add("foo"); | 8783 o.add("foo"); |
| 8513 o.add("foo"); | 8784 o.add("foo"); |
| 8514 return o; | 8785 return o; |
| 8515 } | 8786 } |
| 8516 | 8787 |
| 8517 checkUnnamed1602(core.List<core.String> o) { | 8788 checkUnnamed2341(core.List<core.String> o) { |
| 8518 unittest.expect(o, unittest.hasLength(2)); | 8789 unittest.expect(o, unittest.hasLength(2)); |
| 8519 unittest.expect(o[0], unittest.equals('foo')); | 8790 unittest.expect(o[0], unittest.equals('foo')); |
| 8520 unittest.expect(o[1], unittest.equals('foo')); | 8791 unittest.expect(o[1], unittest.equals('foo')); |
| 8521 } | 8792 } |
| 8522 | 8793 |
| 8523 buildUnnamed1603() { | 8794 buildUnnamed2342() { |
| 8524 var o = new core.List<core.String>(); | 8795 var o = new core.List<core.String>(); |
| 8525 o.add("foo"); | 8796 o.add("foo"); |
| 8526 o.add("foo"); | 8797 o.add("foo"); |
| 8527 return o; | 8798 return o; |
| 8528 } | 8799 } |
| 8529 | 8800 |
| 8530 checkUnnamed1603(core.List<core.String> o) { | 8801 checkUnnamed2342(core.List<core.String> o) { |
| 8531 unittest.expect(o, unittest.hasLength(2)); | 8802 unittest.expect(o, unittest.hasLength(2)); |
| 8532 unittest.expect(o[0], unittest.equals('foo')); | 8803 unittest.expect(o[0], unittest.equals('foo')); |
| 8533 unittest.expect(o[1], unittest.equals('foo')); | 8804 unittest.expect(o[1], unittest.equals('foo')); |
| 8534 } | 8805 } |
| 8535 | 8806 |
| 8536 buildUnnamed1604() { | 8807 buildUnnamed2343() { |
| 8537 var o = new core.List<core.String>(); | 8808 var o = new core.List<core.String>(); |
| 8538 o.add("foo"); | 8809 o.add("foo"); |
| 8539 o.add("foo"); | 8810 o.add("foo"); |
| 8540 return o; | 8811 return o; |
| 8541 } | 8812 } |
| 8542 | 8813 |
| 8543 checkUnnamed1604(core.List<core.String> o) { | 8814 checkUnnamed2343(core.List<core.String> o) { |
| 8544 unittest.expect(o, unittest.hasLength(2)); | 8815 unittest.expect(o, unittest.hasLength(2)); |
| 8545 unittest.expect(o[0], unittest.equals('foo')); | 8816 unittest.expect(o[0], unittest.equals('foo')); |
| 8546 unittest.expect(o[1], unittest.equals('foo')); | 8817 unittest.expect(o[1], unittest.equals('foo')); |
| 8547 } | 8818 } |
| 8548 | 8819 |
| 8549 buildUnnamed1605() { | 8820 buildUnnamed2344() { |
| 8550 var o = new core.List<core.String>(); | 8821 var o = new core.List<core.String>(); |
| 8551 o.add("foo"); | 8822 o.add("foo"); |
| 8552 o.add("foo"); | 8823 o.add("foo"); |
| 8553 return o; | 8824 return o; |
| 8554 } | 8825 } |
| 8555 | 8826 |
| 8556 checkUnnamed1605(core.List<core.String> o) { | 8827 checkUnnamed2344(core.List<core.String> o) { |
| 8557 unittest.expect(o, unittest.hasLength(2)); | 8828 unittest.expect(o, unittest.hasLength(2)); |
| 8558 unittest.expect(o[0], unittest.equals('foo')); | 8829 unittest.expect(o[0], unittest.equals('foo')); |
| 8559 unittest.expect(o[1], unittest.equals('foo')); | 8830 unittest.expect(o[1], unittest.equals('foo')); |
| 8560 } | 8831 } |
| 8561 | 8832 |
| 8562 buildUnnamed1606() { | 8833 buildUnnamed2345() { |
| 8563 var o = new core.List<core.String>(); | 8834 var o = new core.List<core.String>(); |
| 8564 o.add("foo"); | 8835 o.add("foo"); |
| 8565 o.add("foo"); | 8836 o.add("foo"); |
| 8566 return o; | 8837 return o; |
| 8567 } | 8838 } |
| 8568 | 8839 |
| 8569 checkUnnamed1606(core.List<core.String> o) { | 8840 checkUnnamed2345(core.List<core.String> o) { |
| 8570 unittest.expect(o, unittest.hasLength(2)); | 8841 unittest.expect(o, unittest.hasLength(2)); |
| 8571 unittest.expect(o[0], unittest.equals('foo')); | 8842 unittest.expect(o[0], unittest.equals('foo')); |
| 8572 unittest.expect(o[1], unittest.equals('foo')); | 8843 unittest.expect(o[1], unittest.equals('foo')); |
| 8573 } | 8844 } |
| 8574 | 8845 |
| 8575 buildUnnamed1607() { | 8846 buildUnnamed2346() { |
| 8576 var o = new core.List<core.String>(); | 8847 var o = new core.List<core.String>(); |
| 8577 o.add("foo"); | 8848 o.add("foo"); |
| 8578 o.add("foo"); | 8849 o.add("foo"); |
| 8579 return o; | 8850 return o; |
| 8580 } | 8851 } |
| 8581 | 8852 |
| 8582 checkUnnamed1607(core.List<core.String> o) { | 8853 checkUnnamed2346(core.List<core.String> o) { |
| 8583 unittest.expect(o, unittest.hasLength(2)); | 8854 unittest.expect(o, unittest.hasLength(2)); |
| 8584 unittest.expect(o[0], unittest.equals('foo')); | 8855 unittest.expect(o[0], unittest.equals('foo')); |
| 8585 unittest.expect(o[1], unittest.equals('foo')); | 8856 unittest.expect(o[1], unittest.equals('foo')); |
| 8586 } | 8857 } |
| 8587 | 8858 |
| 8588 buildUnnamed1608() { | 8859 buildUnnamed2347() { |
| 8589 var o = new core.List<core.String>(); | 8860 var o = new core.List<core.String>(); |
| 8590 o.add("foo"); | 8861 o.add("foo"); |
| 8591 o.add("foo"); | 8862 o.add("foo"); |
| 8592 return o; | 8863 return o; |
| 8593 } | 8864 } |
| 8594 | 8865 |
| 8595 checkUnnamed1608(core.List<core.String> o) { | 8866 checkUnnamed2347(core.List<core.String> o) { |
| 8596 unittest.expect(o, unittest.hasLength(2)); | 8867 unittest.expect(o, unittest.hasLength(2)); |
| 8597 unittest.expect(o[0], unittest.equals('foo')); | 8868 unittest.expect(o[0], unittest.equals('foo')); |
| 8598 unittest.expect(o[1], unittest.equals('foo')); | 8869 unittest.expect(o[1], unittest.equals('foo')); |
| 8599 } | 8870 } |
| 8600 | 8871 |
| 8601 buildUnnamed1609() { | 8872 buildUnnamed2348() { |
| 8602 var o = new core.List<core.String>(); | 8873 var o = new core.List<core.String>(); |
| 8603 o.add("foo"); | 8874 o.add("foo"); |
| 8604 o.add("foo"); | 8875 o.add("foo"); |
| 8605 return o; | 8876 return o; |
| 8606 } | 8877 } |
| 8607 | 8878 |
| 8608 checkUnnamed1609(core.List<core.String> o) { | 8879 checkUnnamed2348(core.List<core.String> o) { |
| 8609 unittest.expect(o, unittest.hasLength(2)); | 8880 unittest.expect(o, unittest.hasLength(2)); |
| 8610 unittest.expect(o[0], unittest.equals('foo')); | 8881 unittest.expect(o[0], unittest.equals('foo')); |
| 8611 unittest.expect(o[1], unittest.equals('foo')); | 8882 unittest.expect(o[1], unittest.equals('foo')); |
| 8612 } | 8883 } |
| 8613 | 8884 |
| 8614 buildUnnamed1610() { | 8885 buildUnnamed2349() { |
| 8615 var o = new core.List<core.String>(); | 8886 var o = new core.List<core.String>(); |
| 8616 o.add("foo"); | 8887 o.add("foo"); |
| 8617 o.add("foo"); | 8888 o.add("foo"); |
| 8618 return o; | 8889 return o; |
| 8619 } | 8890 } |
| 8620 | 8891 |
| 8621 checkUnnamed1610(core.List<core.String> o) { | 8892 checkUnnamed2349(core.List<core.String> o) { |
| 8622 unittest.expect(o, unittest.hasLength(2)); | 8893 unittest.expect(o, unittest.hasLength(2)); |
| 8623 unittest.expect(o[0], unittest.equals('foo')); | 8894 unittest.expect(o[0], unittest.equals('foo')); |
| 8624 unittest.expect(o[1], unittest.equals('foo')); | 8895 unittest.expect(o[1], unittest.equals('foo')); |
| 8625 } | 8896 } |
| 8626 | 8897 |
| 8627 buildUnnamed1611() { | 8898 buildUnnamed2350() { |
| 8628 var o = new core.List<core.String>(); | 8899 var o = new core.List<core.String>(); |
| 8629 o.add("foo"); | 8900 o.add("foo"); |
| 8630 o.add("foo"); | 8901 o.add("foo"); |
| 8631 return o; | 8902 return o; |
| 8632 } | 8903 } |
| 8633 | 8904 |
| 8634 checkUnnamed1611(core.List<core.String> o) { | 8905 checkUnnamed2350(core.List<core.String> o) { |
| 8635 unittest.expect(o, unittest.hasLength(2)); | 8906 unittest.expect(o, unittest.hasLength(2)); |
| 8636 unittest.expect(o[0], unittest.equals('foo')); | 8907 unittest.expect(o[0], unittest.equals('foo')); |
| 8637 unittest.expect(o[1], unittest.equals('foo')); | 8908 unittest.expect(o[1], unittest.equals('foo')); |
| 8638 } | 8909 } |
| 8639 | 8910 |
| 8640 buildUnnamed1612() { | 8911 buildUnnamed2351() { |
| 8641 var o = new core.List<core.String>(); | 8912 var o = new core.List<core.String>(); |
| 8642 o.add("foo"); | 8913 o.add("foo"); |
| 8643 o.add("foo"); | 8914 o.add("foo"); |
| 8644 return o; | 8915 return o; |
| 8645 } | 8916 } |
| 8646 | 8917 |
| 8647 checkUnnamed1612(core.List<core.String> o) { | 8918 checkUnnamed2351(core.List<core.String> o) { |
| 8648 unittest.expect(o, unittest.hasLength(2)); | 8919 unittest.expect(o, unittest.hasLength(2)); |
| 8649 unittest.expect(o[0], unittest.equals('foo')); | 8920 unittest.expect(o[0], unittest.equals('foo')); |
| 8650 unittest.expect(o[1], unittest.equals('foo')); | 8921 unittest.expect(o[1], unittest.equals('foo')); |
| 8651 } | 8922 } |
| 8652 | 8923 |
| 8653 buildUnnamed1613() { | 8924 buildUnnamed2352() { |
| 8654 var o = new core.List<core.String>(); | 8925 var o = new core.List<core.String>(); |
| 8655 o.add("foo"); | 8926 o.add("foo"); |
| 8656 o.add("foo"); | 8927 o.add("foo"); |
| 8657 return o; | 8928 return o; |
| 8658 } | 8929 } |
| 8659 | 8930 |
| 8660 checkUnnamed1613(core.List<core.String> o) { | 8931 checkUnnamed2352(core.List<core.String> o) { |
| 8661 unittest.expect(o, unittest.hasLength(2)); | 8932 unittest.expect(o, unittest.hasLength(2)); |
| 8662 unittest.expect(o[0], unittest.equals('foo')); | 8933 unittest.expect(o[0], unittest.equals('foo')); |
| 8663 unittest.expect(o[1], unittest.equals('foo')); | 8934 unittest.expect(o[1], unittest.equals('foo')); |
| 8664 } | 8935 } |
| 8665 | 8936 |
| 8666 buildUnnamed1614() { | 8937 buildUnnamed2353() { |
| 8667 var o = new core.List<core.String>(); | 8938 var o = new core.List<core.String>(); |
| 8668 o.add("foo"); | 8939 o.add("foo"); |
| 8669 o.add("foo"); | 8940 o.add("foo"); |
| 8670 return o; | 8941 return o; |
| 8671 } | 8942 } |
| 8672 | 8943 |
| 8673 checkUnnamed1614(core.List<core.String> o) { | 8944 checkUnnamed2353(core.List<core.String> o) { |
| 8674 unittest.expect(o, unittest.hasLength(2)); | 8945 unittest.expect(o, unittest.hasLength(2)); |
| 8675 unittest.expect(o[0], unittest.equals('foo')); | 8946 unittest.expect(o[0], unittest.equals('foo')); |
| 8676 unittest.expect(o[1], unittest.equals('foo')); | 8947 unittest.expect(o[1], unittest.equals('foo')); |
| 8677 } | 8948 } |
| 8678 | 8949 |
| 8679 buildUnnamed1615() { | 8950 buildUnnamed2354() { |
| 8680 var o = new core.List<core.String>(); | 8951 var o = new core.List<core.String>(); |
| 8681 o.add("foo"); | 8952 o.add("foo"); |
| 8682 o.add("foo"); | 8953 o.add("foo"); |
| 8683 return o; | 8954 return o; |
| 8684 } | 8955 } |
| 8685 | 8956 |
| 8686 checkUnnamed1615(core.List<core.String> o) { | 8957 checkUnnamed2354(core.List<core.String> o) { |
| 8687 unittest.expect(o, unittest.hasLength(2)); | 8958 unittest.expect(o, unittest.hasLength(2)); |
| 8688 unittest.expect(o[0], unittest.equals('foo')); | 8959 unittest.expect(o[0], unittest.equals('foo')); |
| 8689 unittest.expect(o[1], unittest.equals('foo')); | 8960 unittest.expect(o[1], unittest.equals('foo')); |
| 8690 } | 8961 } |
| 8691 | 8962 |
| 8692 buildUnnamed1616() { | 8963 buildUnnamed2355() { |
| 8693 var o = new core.List<core.String>(); | 8964 var o = new core.List<core.String>(); |
| 8694 o.add("foo"); | 8965 o.add("foo"); |
| 8695 o.add("foo"); | 8966 o.add("foo"); |
| 8696 return o; | 8967 return o; |
| 8697 } | 8968 } |
| 8698 | 8969 |
| 8699 checkUnnamed1616(core.List<core.String> o) { | 8970 checkUnnamed2355(core.List<core.String> o) { |
| 8700 unittest.expect(o, unittest.hasLength(2)); | 8971 unittest.expect(o, unittest.hasLength(2)); |
| 8701 unittest.expect(o[0], unittest.equals('foo')); | 8972 unittest.expect(o[0], unittest.equals('foo')); |
| 8702 unittest.expect(o[1], unittest.equals('foo')); | 8973 unittest.expect(o[1], unittest.equals('foo')); |
| 8703 } | 8974 } |
| 8704 | 8975 |
| 8705 buildUnnamed1617() { | 8976 buildUnnamed2356() { |
| 8706 var o = new core.List<core.String>(); | 8977 var o = new core.List<core.String>(); |
| 8707 o.add("foo"); | 8978 o.add("foo"); |
| 8708 o.add("foo"); | 8979 o.add("foo"); |
| 8709 return o; | 8980 return o; |
| 8710 } | 8981 } |
| 8711 | 8982 |
| 8712 checkUnnamed1617(core.List<core.String> o) { | 8983 checkUnnamed2356(core.List<core.String> o) { |
| 8713 unittest.expect(o, unittest.hasLength(2)); | 8984 unittest.expect(o, unittest.hasLength(2)); |
| 8714 unittest.expect(o[0], unittest.equals('foo')); | 8985 unittest.expect(o[0], unittest.equals('foo')); |
| 8715 unittest.expect(o[1], unittest.equals('foo')); | 8986 unittest.expect(o[1], unittest.equals('foo')); |
| 8716 } | 8987 } |
| 8717 | 8988 |
| 8718 buildUnnamed1618() { | 8989 buildUnnamed2357() { |
| 8719 var o = new core.List<core.String>(); | 8990 var o = new core.List<core.String>(); |
| 8720 o.add("foo"); | 8991 o.add("foo"); |
| 8721 o.add("foo"); | 8992 o.add("foo"); |
| 8722 return o; | 8993 return o; |
| 8723 } | 8994 } |
| 8724 | 8995 |
| 8725 checkUnnamed1618(core.List<core.String> o) { | 8996 checkUnnamed2357(core.List<core.String> o) { |
| 8726 unittest.expect(o, unittest.hasLength(2)); | 8997 unittest.expect(o, unittest.hasLength(2)); |
| 8727 unittest.expect(o[0], unittest.equals('foo')); | 8998 unittest.expect(o[0], unittest.equals('foo')); |
| 8728 unittest.expect(o[1], unittest.equals('foo')); | 8999 unittest.expect(o[1], unittest.equals('foo')); |
| 8729 } | 9000 } |
| 8730 | 9001 |
| 8731 buildUnnamed1619() { | 9002 buildUnnamed2358() { |
| 8732 var o = new core.List<core.String>(); | 9003 var o = new core.List<core.String>(); |
| 8733 o.add("foo"); | 9004 o.add("foo"); |
| 8734 o.add("foo"); | 9005 o.add("foo"); |
| 8735 return o; | 9006 return o; |
| 8736 } | 9007 } |
| 8737 | 9008 |
| 8738 checkUnnamed1619(core.List<core.String> o) { | 9009 checkUnnamed2358(core.List<core.String> o) { |
| 8739 unittest.expect(o, unittest.hasLength(2)); | 9010 unittest.expect(o, unittest.hasLength(2)); |
| 8740 unittest.expect(o[0], unittest.equals('foo')); | 9011 unittest.expect(o[0], unittest.equals('foo')); |
| 8741 unittest.expect(o[1], unittest.equals('foo')); | 9012 unittest.expect(o[1], unittest.equals('foo')); |
| 8742 } | 9013 } |
| 8743 | 9014 |
| 8744 buildUnnamed1620() { | 9015 buildUnnamed2359() { |
| 8745 var o = new core.List<core.String>(); | 9016 var o = new core.List<core.String>(); |
| 8746 o.add("foo"); | 9017 o.add("foo"); |
| 8747 o.add("foo"); | 9018 o.add("foo"); |
| 8748 return o; | 9019 return o; |
| 8749 } | 9020 } |
| 8750 | 9021 |
| 8751 checkUnnamed1620(core.List<core.String> o) { | 9022 checkUnnamed2359(core.List<core.String> o) { |
| 8752 unittest.expect(o, unittest.hasLength(2)); | 9023 unittest.expect(o, unittest.hasLength(2)); |
| 8753 unittest.expect(o[0], unittest.equals('foo')); | 9024 unittest.expect(o[0], unittest.equals('foo')); |
| 8754 unittest.expect(o[1], unittest.equals('foo')); | 9025 unittest.expect(o[1], unittest.equals('foo')); |
| 8755 } | 9026 } |
| 8756 | 9027 |
| 8757 buildUnnamed1621() { | 9028 buildUnnamed2360() { |
| 8758 var o = new core.List<core.String>(); | 9029 var o = new core.List<core.String>(); |
| 8759 o.add("foo"); | 9030 o.add("foo"); |
| 8760 o.add("foo"); | 9031 o.add("foo"); |
| 8761 return o; | 9032 return o; |
| 8762 } | 9033 } |
| 8763 | 9034 |
| 8764 checkUnnamed1621(core.List<core.String> o) { | 9035 checkUnnamed2360(core.List<core.String> o) { |
| 8765 unittest.expect(o, unittest.hasLength(2)); | 9036 unittest.expect(o, unittest.hasLength(2)); |
| 8766 unittest.expect(o[0], unittest.equals('foo')); | 9037 unittest.expect(o[0], unittest.equals('foo')); |
| 8767 unittest.expect(o[1], unittest.equals('foo')); | 9038 unittest.expect(o[1], unittest.equals('foo')); |
| 8768 } | 9039 } |
| 8769 | 9040 |
| 8770 buildUnnamed1622() { | 9041 buildUnnamed2361() { |
| 8771 var o = new core.List<core.String>(); | 9042 var o = new core.List<core.String>(); |
| 8772 o.add("foo"); | 9043 o.add("foo"); |
| 8773 o.add("foo"); | 9044 o.add("foo"); |
| 8774 return o; | 9045 return o; |
| 8775 } | 9046 } |
| 8776 | 9047 |
| 8777 checkUnnamed1622(core.List<core.String> o) { | 9048 checkUnnamed2361(core.List<core.String> o) { |
| 8778 unittest.expect(o, unittest.hasLength(2)); | 9049 unittest.expect(o, unittest.hasLength(2)); |
| 8779 unittest.expect(o[0], unittest.equals('foo')); | 9050 unittest.expect(o[0], unittest.equals('foo')); |
| 8780 unittest.expect(o[1], unittest.equals('foo')); | 9051 unittest.expect(o[1], unittest.equals('foo')); |
| 8781 } | 9052 } |
| 8782 | 9053 |
| 8783 buildUnnamed1623() { | 9054 buildUnnamed2362() { |
| 8784 var o = new core.List<core.String>(); | 9055 var o = new core.List<core.String>(); |
| 8785 o.add("foo"); | 9056 o.add("foo"); |
| 8786 o.add("foo"); | 9057 o.add("foo"); |
| 8787 return o; | 9058 return o; |
| 8788 } | 9059 } |
| 8789 | 9060 |
| 8790 checkUnnamed1623(core.List<core.String> o) { | 9061 checkUnnamed2362(core.List<core.String> o) { |
| 8791 unittest.expect(o, unittest.hasLength(2)); | 9062 unittest.expect(o, unittest.hasLength(2)); |
| 8792 unittest.expect(o[0], unittest.equals('foo')); | 9063 unittest.expect(o[0], unittest.equals('foo')); |
| 8793 unittest.expect(o[1], unittest.equals('foo')); | 9064 unittest.expect(o[1], unittest.equals('foo')); |
| 8794 } | 9065 } |
| 8795 | 9066 |
| 8796 buildUnnamed1624() { | 9067 buildUnnamed2363() { |
| 8797 var o = new core.List<core.String>(); | 9068 var o = new core.List<core.String>(); |
| 8798 o.add("foo"); | 9069 o.add("foo"); |
| 8799 o.add("foo"); | 9070 o.add("foo"); |
| 8800 return o; | 9071 return o; |
| 8801 } | 9072 } |
| 8802 | 9073 |
| 8803 checkUnnamed1624(core.List<core.String> o) { | 9074 checkUnnamed2363(core.List<core.String> o) { |
| 8804 unittest.expect(o, unittest.hasLength(2)); | 9075 unittest.expect(o, unittest.hasLength(2)); |
| 8805 unittest.expect(o[0], unittest.equals('foo')); | 9076 unittest.expect(o[0], unittest.equals('foo')); |
| 8806 unittest.expect(o[1], unittest.equals('foo')); | 9077 unittest.expect(o[1], unittest.equals('foo')); |
| 8807 } | 9078 } |
| 8808 | 9079 |
| 8809 buildUnnamed1625() { | 9080 buildUnnamed2364() { |
| 8810 var o = new core.List<core.String>(); | 9081 var o = new core.List<core.String>(); |
| 8811 o.add("foo"); | 9082 o.add("foo"); |
| 8812 o.add("foo"); | 9083 o.add("foo"); |
| 8813 return o; | 9084 return o; |
| 8814 } | 9085 } |
| 8815 | 9086 |
| 8816 checkUnnamed1625(core.List<core.String> o) { | 9087 checkUnnamed2364(core.List<core.String> o) { |
| 8817 unittest.expect(o, unittest.hasLength(2)); | 9088 unittest.expect(o, unittest.hasLength(2)); |
| 8818 unittest.expect(o[0], unittest.equals('foo')); | 9089 unittest.expect(o[0], unittest.equals('foo')); |
| 8819 unittest.expect(o[1], unittest.equals('foo')); | 9090 unittest.expect(o[1], unittest.equals('foo')); |
| 8820 } | 9091 } |
| 8821 | 9092 |
| 8822 buildUnnamed1626() { | 9093 buildUnnamed2365() { |
| 8823 var o = new core.List<core.String>(); | 9094 var o = new core.List<core.String>(); |
| 8824 o.add("foo"); | 9095 o.add("foo"); |
| 8825 o.add("foo"); | 9096 o.add("foo"); |
| 8826 return o; | 9097 return o; |
| 8827 } | 9098 } |
| 8828 | 9099 |
| 8829 checkUnnamed1626(core.List<core.String> o) { | 9100 checkUnnamed2365(core.List<core.String> o) { |
| 8830 unittest.expect(o, unittest.hasLength(2)); | 9101 unittest.expect(o, unittest.hasLength(2)); |
| 8831 unittest.expect(o[0], unittest.equals('foo')); | 9102 unittest.expect(o[0], unittest.equals('foo')); |
| 8832 unittest.expect(o[1], unittest.equals('foo')); | 9103 unittest.expect(o[1], unittest.equals('foo')); |
| 8833 } | 9104 } |
| 8834 | 9105 |
| 8835 buildUnnamed1627() { | 9106 buildUnnamed2366() { |
| 8836 var o = new core.List<core.String>(); | 9107 var o = new core.List<core.String>(); |
| 8837 o.add("foo"); | 9108 o.add("foo"); |
| 8838 o.add("foo"); | 9109 o.add("foo"); |
| 8839 return o; | 9110 return o; |
| 8840 } | 9111 } |
| 8841 | 9112 |
| 8842 checkUnnamed1627(core.List<core.String> o) { | 9113 checkUnnamed2366(core.List<core.String> o) { |
| 8843 unittest.expect(o, unittest.hasLength(2)); | 9114 unittest.expect(o, unittest.hasLength(2)); |
| 8844 unittest.expect(o[0], unittest.equals('foo')); | 9115 unittest.expect(o[0], unittest.equals('foo')); |
| 8845 unittest.expect(o[1], unittest.equals('foo')); | 9116 unittest.expect(o[1], unittest.equals('foo')); |
| 8846 } | 9117 } |
| 8847 | 9118 |
| 8848 buildUnnamed1628() { | 9119 buildUnnamed2367() { |
| 8849 var o = new core.List<core.String>(); | 9120 var o = new core.List<core.String>(); |
| 8850 o.add("foo"); | 9121 o.add("foo"); |
| 8851 o.add("foo"); | 9122 o.add("foo"); |
| 8852 return o; | 9123 return o; |
| 8853 } | 9124 } |
| 8854 | 9125 |
| 8855 checkUnnamed1628(core.List<core.String> o) { | 9126 checkUnnamed2367(core.List<core.String> o) { |
| 8856 unittest.expect(o, unittest.hasLength(2)); | 9127 unittest.expect(o, unittest.hasLength(2)); |
| 8857 unittest.expect(o[0], unittest.equals('foo')); | 9128 unittest.expect(o[0], unittest.equals('foo')); |
| 8858 unittest.expect(o[1], unittest.equals('foo')); | 9129 unittest.expect(o[1], unittest.equals('foo')); |
| 8859 } | 9130 } |
| 8860 | 9131 |
| 8861 buildUnnamed1629() { | 9132 buildUnnamed2368() { |
| 8862 var o = new core.List<core.String>(); | 9133 var o = new core.List<core.String>(); |
| 8863 o.add("foo"); | 9134 o.add("foo"); |
| 8864 o.add("foo"); | 9135 o.add("foo"); |
| 8865 return o; | 9136 return o; |
| 8866 } | 9137 } |
| 8867 | 9138 |
| 8868 checkUnnamed1629(core.List<core.String> o) { | 9139 checkUnnamed2368(core.List<core.String> o) { |
| 8869 unittest.expect(o, unittest.hasLength(2)); | 9140 unittest.expect(o, unittest.hasLength(2)); |
| 8870 unittest.expect(o[0], unittest.equals('foo')); | 9141 unittest.expect(o[0], unittest.equals('foo')); |
| 8871 unittest.expect(o[1], unittest.equals('foo')); | 9142 unittest.expect(o[1], unittest.equals('foo')); |
| 8872 } | 9143 } |
| 8873 | 9144 |
| 8874 buildUnnamed1630() { | 9145 buildUnnamed2369() { |
| 8875 var o = new core.List<core.String>(); | 9146 var o = new core.List<core.String>(); |
| 8876 o.add("foo"); | 9147 o.add("foo"); |
| 8877 o.add("foo"); | 9148 o.add("foo"); |
| 8878 return o; | 9149 return o; |
| 8879 } | 9150 } |
| 8880 | 9151 |
| 8881 checkUnnamed1630(core.List<core.String> o) { | 9152 checkUnnamed2369(core.List<core.String> o) { |
| 8882 unittest.expect(o, unittest.hasLength(2)); | 9153 unittest.expect(o, unittest.hasLength(2)); |
| 8883 unittest.expect(o[0], unittest.equals('foo')); | 9154 unittest.expect(o[0], unittest.equals('foo')); |
| 8884 unittest.expect(o[1], unittest.equals('foo')); | 9155 unittest.expect(o[1], unittest.equals('foo')); |
| 8885 } | 9156 } |
| 8886 | 9157 |
| 8887 buildUnnamed1631() { | 9158 buildUnnamed2370() { |
| 8888 var o = new core.List<core.String>(); | 9159 var o = new core.List<core.String>(); |
| 8889 o.add("foo"); | 9160 o.add("foo"); |
| 8890 o.add("foo"); | 9161 o.add("foo"); |
| 8891 return o; | 9162 return o; |
| 8892 } | 9163 } |
| 8893 | 9164 |
| 8894 checkUnnamed1631(core.List<core.String> o) { | 9165 checkUnnamed2370(core.List<core.String> o) { |
| 8895 unittest.expect(o, unittest.hasLength(2)); | 9166 unittest.expect(o, unittest.hasLength(2)); |
| 8896 unittest.expect(o[0], unittest.equals('foo')); | 9167 unittest.expect(o[0], unittest.equals('foo')); |
| 8897 unittest.expect(o[1], unittest.equals('foo')); | 9168 unittest.expect(o[1], unittest.equals('foo')); |
| 8898 } | 9169 } |
| 8899 | 9170 |
| 8900 buildUnnamed1632() { | 9171 buildUnnamed2371() { |
| 8901 var o = new core.List<core.String>(); | 9172 var o = new core.List<core.String>(); |
| 8902 o.add("foo"); | 9173 o.add("foo"); |
| 8903 o.add("foo"); | 9174 o.add("foo"); |
| 8904 return o; | 9175 return o; |
| 8905 } | 9176 } |
| 8906 | 9177 |
| 8907 checkUnnamed1632(core.List<core.String> o) { | 9178 checkUnnamed2371(core.List<core.String> o) { |
| 8908 unittest.expect(o, unittest.hasLength(2)); | 9179 unittest.expect(o, unittest.hasLength(2)); |
| 8909 unittest.expect(o[0], unittest.equals('foo')); | 9180 unittest.expect(o[0], unittest.equals('foo')); |
| 8910 unittest.expect(o[1], unittest.equals('foo')); | 9181 unittest.expect(o[1], unittest.equals('foo')); |
| 8911 } | 9182 } |
| 8912 | 9183 |
| 8913 buildUnnamed1633() { | 9184 buildUnnamed2372() { |
| 8914 var o = new core.List<core.String>(); | 9185 var o = new core.List<core.String>(); |
| 8915 o.add("foo"); | 9186 o.add("foo"); |
| 8916 o.add("foo"); | 9187 o.add("foo"); |
| 8917 return o; | 9188 return o; |
| 8918 } | 9189 } |
| 8919 | 9190 |
| 8920 checkUnnamed1633(core.List<core.String> o) { | 9191 checkUnnamed2372(core.List<core.String> o) { |
| 8921 unittest.expect(o, unittest.hasLength(2)); | 9192 unittest.expect(o, unittest.hasLength(2)); |
| 8922 unittest.expect(o[0], unittest.equals('foo')); | 9193 unittest.expect(o[0], unittest.equals('foo')); |
| 8923 unittest.expect(o[1], unittest.equals('foo')); | 9194 unittest.expect(o[1], unittest.equals('foo')); |
| 8924 } | 9195 } |
| 8925 | 9196 |
| 8926 buildUnnamed1634() { | 9197 buildUnnamed2373() { |
| 8927 var o = new core.List<core.String>(); | 9198 var o = new core.List<core.String>(); |
| 8928 o.add("foo"); | 9199 o.add("foo"); |
| 8929 o.add("foo"); | 9200 o.add("foo"); |
| 8930 return o; | 9201 return o; |
| 8931 } | 9202 } |
| 8932 | 9203 |
| 8933 checkUnnamed1634(core.List<core.String> o) { | 9204 checkUnnamed2373(core.List<core.String> o) { |
| 8934 unittest.expect(o, unittest.hasLength(2)); | 9205 unittest.expect(o, unittest.hasLength(2)); |
| 8935 unittest.expect(o[0], unittest.equals('foo')); | 9206 unittest.expect(o[0], unittest.equals('foo')); |
| 8936 unittest.expect(o[1], unittest.equals('foo')); | 9207 unittest.expect(o[1], unittest.equals('foo')); |
| 8937 } | 9208 } |
| 8938 | 9209 |
| 8939 buildUnnamed1635() { | 9210 buildUnnamed2374() { |
| 8940 var o = new core.List<core.String>(); | 9211 var o = new core.List<core.String>(); |
| 8941 o.add("foo"); | 9212 o.add("foo"); |
| 8942 o.add("foo"); | 9213 o.add("foo"); |
| 8943 return o; | 9214 return o; |
| 8944 } | 9215 } |
| 8945 | 9216 |
| 8946 checkUnnamed1635(core.List<core.String> o) { | 9217 checkUnnamed2374(core.List<core.String> o) { |
| 8947 unittest.expect(o, unittest.hasLength(2)); | 9218 unittest.expect(o, unittest.hasLength(2)); |
| 8948 unittest.expect(o[0], unittest.equals('foo')); | 9219 unittest.expect(o[0], unittest.equals('foo')); |
| 8949 unittest.expect(o[1], unittest.equals('foo')); | 9220 unittest.expect(o[1], unittest.equals('foo')); |
| 8950 } | 9221 } |
| 8951 | 9222 |
| 8952 buildUnnamed1636() { | 9223 buildUnnamed2375() { |
| 8953 var o = new core.List<core.String>(); | 9224 var o = new core.List<core.String>(); |
| 8954 o.add("foo"); | 9225 o.add("foo"); |
| 8955 o.add("foo"); | 9226 o.add("foo"); |
| 8956 return o; | 9227 return o; |
| 8957 } | 9228 } |
| 8958 | 9229 |
| 8959 checkUnnamed1636(core.List<core.String> o) { | 9230 checkUnnamed2375(core.List<core.String> o) { |
| 8960 unittest.expect(o, unittest.hasLength(2)); | 9231 unittest.expect(o, unittest.hasLength(2)); |
| 8961 unittest.expect(o[0], unittest.equals('foo')); | 9232 unittest.expect(o[0], unittest.equals('foo')); |
| 8962 unittest.expect(o[1], unittest.equals('foo')); | 9233 unittest.expect(o[1], unittest.equals('foo')); |
| 8963 } | 9234 } |
| 8964 | 9235 |
| 8965 buildUnnamed1637() { | 9236 buildUnnamed2376() { |
| 8966 var o = new core.List<core.String>(); | 9237 var o = new core.List<core.String>(); |
| 8967 o.add("foo"); | 9238 o.add("foo"); |
| 8968 o.add("foo"); | 9239 o.add("foo"); |
| 8969 return o; | 9240 return o; |
| 8970 } | 9241 } |
| 8971 | 9242 |
| 8972 checkUnnamed1637(core.List<core.String> o) { | 9243 checkUnnamed2376(core.List<core.String> o) { |
| 8973 unittest.expect(o, unittest.hasLength(2)); | 9244 unittest.expect(o, unittest.hasLength(2)); |
| 8974 unittest.expect(o[0], unittest.equals('foo')); | 9245 unittest.expect(o[0], unittest.equals('foo')); |
| 8975 unittest.expect(o[1], unittest.equals('foo')); | 9246 unittest.expect(o[1], unittest.equals('foo')); |
| 8976 } | 9247 } |
| 8977 | 9248 |
| 8978 buildUnnamed1638() { | 9249 buildUnnamed2377() { |
| 8979 var o = new core.List<core.String>(); | 9250 var o = new core.List<core.String>(); |
| 8980 o.add("foo"); | 9251 o.add("foo"); |
| 8981 o.add("foo"); | 9252 o.add("foo"); |
| 8982 return o; | 9253 return o; |
| 8983 } | 9254 } |
| 8984 | 9255 |
| 8985 checkUnnamed1638(core.List<core.String> o) { | 9256 checkUnnamed2377(core.List<core.String> o) { |
| 8986 unittest.expect(o, unittest.hasLength(2)); | 9257 unittest.expect(o, unittest.hasLength(2)); |
| 8987 unittest.expect(o[0], unittest.equals('foo')); | 9258 unittest.expect(o[0], unittest.equals('foo')); |
| 8988 unittest.expect(o[1], unittest.equals('foo')); | 9259 unittest.expect(o[1], unittest.equals('foo')); |
| 8989 } | 9260 } |
| 8990 | 9261 |
| 8991 buildUnnamed1639() { | 9262 buildUnnamed2378() { |
| 8992 var o = new core.List<core.String>(); | 9263 var o = new core.List<core.String>(); |
| 8993 o.add("foo"); | 9264 o.add("foo"); |
| 8994 o.add("foo"); | 9265 o.add("foo"); |
| 8995 return o; | 9266 return o; |
| 8996 } | 9267 } |
| 8997 | 9268 |
| 8998 checkUnnamed1639(core.List<core.String> o) { | 9269 checkUnnamed2378(core.List<core.String> o) { |
| 8999 unittest.expect(o, unittest.hasLength(2)); | 9270 unittest.expect(o, unittest.hasLength(2)); |
| 9000 unittest.expect(o[0], unittest.equals('foo')); | 9271 unittest.expect(o[0], unittest.equals('foo')); |
| 9001 unittest.expect(o[1], unittest.equals('foo')); | 9272 unittest.expect(o[1], unittest.equals('foo')); |
| 9002 } | 9273 } |
| 9003 | 9274 |
| 9004 buildUnnamed1640() { | 9275 buildUnnamed2379() { |
| 9005 var o = new core.List<core.String>(); | 9276 var o = new core.List<core.String>(); |
| 9006 o.add("foo"); | 9277 o.add("foo"); |
| 9007 o.add("foo"); | 9278 o.add("foo"); |
| 9008 return o; | 9279 return o; |
| 9009 } | 9280 } |
| 9010 | 9281 |
| 9011 checkUnnamed1640(core.List<core.String> o) { | 9282 checkUnnamed2379(core.List<core.String> o) { |
| 9012 unittest.expect(o, unittest.hasLength(2)); | 9283 unittest.expect(o, unittest.hasLength(2)); |
| 9013 unittest.expect(o[0], unittest.equals('foo')); | 9284 unittest.expect(o[0], unittest.equals('foo')); |
| 9014 unittest.expect(o[1], unittest.equals('foo')); | 9285 unittest.expect(o[1], unittest.equals('foo')); |
| 9015 } | 9286 } |
| 9016 | 9287 |
| 9017 buildUnnamed1641() { | 9288 buildUnnamed2380() { |
| 9018 var o = new core.List<core.String>(); | 9289 var o = new core.List<core.String>(); |
| 9019 o.add("foo"); | 9290 o.add("foo"); |
| 9020 o.add("foo"); | 9291 o.add("foo"); |
| 9021 return o; | 9292 return o; |
| 9022 } | 9293 } |
| 9023 | 9294 |
| 9024 checkUnnamed1641(core.List<core.String> o) { | 9295 checkUnnamed2380(core.List<core.String> o) { |
| 9025 unittest.expect(o, unittest.hasLength(2)); | 9296 unittest.expect(o, unittest.hasLength(2)); |
| 9026 unittest.expect(o[0], unittest.equals('foo')); | 9297 unittest.expect(o[0], unittest.equals('foo')); |
| 9027 unittest.expect(o[1], unittest.equals('foo')); | 9298 unittest.expect(o[1], unittest.equals('foo')); |
| 9028 } | 9299 } |
| 9029 | 9300 |
| 9030 buildUnnamed1642() { | 9301 buildUnnamed2381() { |
| 9031 var o = new core.List<core.String>(); | 9302 var o = new core.List<core.String>(); |
| 9032 o.add("foo"); | 9303 o.add("foo"); |
| 9033 o.add("foo"); | 9304 o.add("foo"); |
| 9034 return o; | 9305 return o; |
| 9035 } | 9306 } |
| 9036 | 9307 |
| 9037 checkUnnamed1642(core.List<core.String> o) { | 9308 checkUnnamed2381(core.List<core.String> o) { |
| 9038 unittest.expect(o, unittest.hasLength(2)); | 9309 unittest.expect(o, unittest.hasLength(2)); |
| 9039 unittest.expect(o[0], unittest.equals('foo')); | 9310 unittest.expect(o[0], unittest.equals('foo')); |
| 9040 unittest.expect(o[1], unittest.equals('foo')); | 9311 unittest.expect(o[1], unittest.equals('foo')); |
| 9041 } | 9312 } |
| 9042 | 9313 |
| 9043 buildUnnamed1643() { | 9314 buildUnnamed2382() { |
| 9044 var o = new core.List<core.String>(); | 9315 var o = new core.List<core.String>(); |
| 9045 o.add("foo"); | 9316 o.add("foo"); |
| 9046 o.add("foo"); | 9317 o.add("foo"); |
| 9047 return o; | 9318 return o; |
| 9048 } | 9319 } |
| 9049 | 9320 |
| 9050 checkUnnamed1643(core.List<core.String> o) { | 9321 checkUnnamed2382(core.List<core.String> o) { |
| 9051 unittest.expect(o, unittest.hasLength(2)); | 9322 unittest.expect(o, unittest.hasLength(2)); |
| 9052 unittest.expect(o[0], unittest.equals('foo')); | 9323 unittest.expect(o[0], unittest.equals('foo')); |
| 9053 unittest.expect(o[1], unittest.equals('foo')); | 9324 unittest.expect(o[1], unittest.equals('foo')); |
| 9054 } | 9325 } |
| 9055 | 9326 |
| 9056 buildUnnamed1644() { | 9327 buildUnnamed2383() { |
| 9057 var o = new core.List<core.String>(); | 9328 var o = new core.List<core.String>(); |
| 9058 o.add("foo"); | 9329 o.add("foo"); |
| 9059 o.add("foo"); | 9330 o.add("foo"); |
| 9060 return o; | 9331 return o; |
| 9061 } | 9332 } |
| 9062 | 9333 |
| 9063 checkUnnamed1644(core.List<core.String> o) { | 9334 checkUnnamed2383(core.List<core.String> o) { |
| 9064 unittest.expect(o, unittest.hasLength(2)); | 9335 unittest.expect(o, unittest.hasLength(2)); |
| 9065 unittest.expect(o[0], unittest.equals('foo')); | 9336 unittest.expect(o[0], unittest.equals('foo')); |
| 9066 unittest.expect(o[1], unittest.equals('foo')); | 9337 unittest.expect(o[1], unittest.equals('foo')); |
| 9067 } | 9338 } |
| 9068 | 9339 |
| 9069 buildUnnamed1645() { | 9340 buildUnnamed2384() { |
| 9070 var o = new core.List<core.String>(); | 9341 var o = new core.List<core.String>(); |
| 9071 o.add("foo"); | 9342 o.add("foo"); |
| 9072 o.add("foo"); | 9343 o.add("foo"); |
| 9073 return o; | 9344 return o; |
| 9074 } | 9345 } |
| 9075 | 9346 |
| 9076 checkUnnamed1645(core.List<core.String> o) { | 9347 checkUnnamed2384(core.List<core.String> o) { |
| 9077 unittest.expect(o, unittest.hasLength(2)); | 9348 unittest.expect(o, unittest.hasLength(2)); |
| 9078 unittest.expect(o[0], unittest.equals('foo')); | 9349 unittest.expect(o[0], unittest.equals('foo')); |
| 9079 unittest.expect(o[1], unittest.equals('foo')); | 9350 unittest.expect(o[1], unittest.equals('foo')); |
| 9080 } | 9351 } |
| 9081 | 9352 |
| 9082 buildUnnamed1646() { | 9353 buildUnnamed2385() { |
| 9083 var o = new core.List<core.String>(); | 9354 var o = new core.List<core.String>(); |
| 9084 o.add("foo"); | 9355 o.add("foo"); |
| 9085 o.add("foo"); | 9356 o.add("foo"); |
| 9086 return o; | 9357 return o; |
| 9087 } | 9358 } |
| 9088 | 9359 |
| 9089 checkUnnamed1646(core.List<core.String> o) { | 9360 checkUnnamed2385(core.List<core.String> o) { |
| 9090 unittest.expect(o, unittest.hasLength(2)); | 9361 unittest.expect(o, unittest.hasLength(2)); |
| 9091 unittest.expect(o[0], unittest.equals('foo')); | 9362 unittest.expect(o[0], unittest.equals('foo')); |
| 9092 unittest.expect(o[1], unittest.equals('foo')); | 9363 unittest.expect(o[1], unittest.equals('foo')); |
| 9093 } | 9364 } |
| 9094 | 9365 |
| 9095 buildUnnamed1647() { | 9366 buildUnnamed2386() { |
| 9096 var o = new core.List<core.String>(); | 9367 var o = new core.List<core.String>(); |
| 9097 o.add("foo"); | 9368 o.add("foo"); |
| 9098 o.add("foo"); | 9369 o.add("foo"); |
| 9099 return o; | 9370 return o; |
| 9100 } | 9371 } |
| 9101 | 9372 |
| 9102 checkUnnamed1647(core.List<core.String> o) { | 9373 checkUnnamed2386(core.List<core.String> o) { |
| 9103 unittest.expect(o, unittest.hasLength(2)); | 9374 unittest.expect(o, unittest.hasLength(2)); |
| 9104 unittest.expect(o[0], unittest.equals('foo')); | 9375 unittest.expect(o[0], unittest.equals('foo')); |
| 9105 unittest.expect(o[1], unittest.equals('foo')); | 9376 unittest.expect(o[1], unittest.equals('foo')); |
| 9106 } | 9377 } |
| 9107 | 9378 |
| 9108 buildUnnamed1648() { | 9379 buildUnnamed2387() { |
| 9109 var o = new core.List<core.String>(); | 9380 var o = new core.List<core.String>(); |
| 9110 o.add("foo"); | 9381 o.add("foo"); |
| 9111 o.add("foo"); | 9382 o.add("foo"); |
| 9112 return o; | 9383 return o; |
| 9113 } | 9384 } |
| 9114 | 9385 |
| 9115 checkUnnamed1648(core.List<core.String> o) { | 9386 checkUnnamed2387(core.List<core.String> o) { |
| 9116 unittest.expect(o, unittest.hasLength(2)); | 9387 unittest.expect(o, unittest.hasLength(2)); |
| 9117 unittest.expect(o[0], unittest.equals('foo')); | 9388 unittest.expect(o[0], unittest.equals('foo')); |
| 9118 unittest.expect(o[1], unittest.equals('foo')); | 9389 unittest.expect(o[1], unittest.equals('foo')); |
| 9119 } | 9390 } |
| 9120 | 9391 |
| 9121 buildUnnamed1649() { | 9392 buildUnnamed2388() { |
| 9122 var o = new core.List<core.String>(); | 9393 var o = new core.List<core.String>(); |
| 9123 o.add("foo"); | 9394 o.add("foo"); |
| 9124 o.add("foo"); | 9395 o.add("foo"); |
| 9125 return o; | 9396 return o; |
| 9126 } | 9397 } |
| 9127 | 9398 |
| 9128 checkUnnamed1649(core.List<core.String> o) { | 9399 checkUnnamed2388(core.List<core.String> o) { |
| 9129 unittest.expect(o, unittest.hasLength(2)); | 9400 unittest.expect(o, unittest.hasLength(2)); |
| 9130 unittest.expect(o[0], unittest.equals('foo')); | 9401 unittest.expect(o[0], unittest.equals('foo')); |
| 9131 unittest.expect(o[1], unittest.equals('foo')); | 9402 unittest.expect(o[1], unittest.equals('foo')); |
| 9132 } | 9403 } |
| 9133 | 9404 |
| 9134 buildUnnamed1650() { | 9405 buildUnnamed2389() { |
| 9135 var o = new core.List<core.String>(); | 9406 var o = new core.List<core.String>(); |
| 9136 o.add("foo"); | 9407 o.add("foo"); |
| 9137 o.add("foo"); | 9408 o.add("foo"); |
| 9138 return o; | 9409 return o; |
| 9139 } | 9410 } |
| 9140 | 9411 |
| 9141 checkUnnamed1650(core.List<core.String> o) { | 9412 checkUnnamed2389(core.List<core.String> o) { |
| 9142 unittest.expect(o, unittest.hasLength(2)); | 9413 unittest.expect(o, unittest.hasLength(2)); |
| 9143 unittest.expect(o[0], unittest.equals('foo')); | 9414 unittest.expect(o[0], unittest.equals('foo')); |
| 9144 unittest.expect(o[1], unittest.equals('foo')); | 9415 unittest.expect(o[1], unittest.equals('foo')); |
| 9145 } | 9416 } |
| 9146 | 9417 |
| 9147 buildUnnamed1651() { | 9418 buildUnnamed2390() { |
| 9148 var o = new core.List<core.String>(); | 9419 var o = new core.List<core.String>(); |
| 9149 o.add("foo"); | 9420 o.add("foo"); |
| 9150 o.add("foo"); | 9421 o.add("foo"); |
| 9151 return o; | 9422 return o; |
| 9152 } | 9423 } |
| 9153 | 9424 |
| 9154 checkUnnamed1651(core.List<core.String> o) { | 9425 checkUnnamed2390(core.List<core.String> o) { |
| 9155 unittest.expect(o, unittest.hasLength(2)); | 9426 unittest.expect(o, unittest.hasLength(2)); |
| 9156 unittest.expect(o[0], unittest.equals('foo')); | 9427 unittest.expect(o[0], unittest.equals('foo')); |
| 9157 unittest.expect(o[1], unittest.equals('foo')); | 9428 unittest.expect(o[1], unittest.equals('foo')); |
| 9158 } | 9429 } |
| 9159 | 9430 |
| 9160 buildUnnamed1652() { | 9431 buildUnnamed2391() { |
| 9161 var o = new core.List<core.String>(); | 9432 var o = new core.List<core.String>(); |
| 9162 o.add("foo"); | 9433 o.add("foo"); |
| 9163 o.add("foo"); | 9434 o.add("foo"); |
| 9164 return o; | 9435 return o; |
| 9165 } | 9436 } |
| 9166 | 9437 |
| 9167 checkUnnamed1652(core.List<core.String> o) { | 9438 checkUnnamed2391(core.List<core.String> o) { |
| 9168 unittest.expect(o, unittest.hasLength(2)); | 9439 unittest.expect(o, unittest.hasLength(2)); |
| 9169 unittest.expect(o[0], unittest.equals('foo')); | 9440 unittest.expect(o[0], unittest.equals('foo')); |
| 9170 unittest.expect(o[1], unittest.equals('foo')); | 9441 unittest.expect(o[1], unittest.equals('foo')); |
| 9171 } | 9442 } |
| 9172 | 9443 |
| 9173 buildUnnamed1653() { | 9444 buildUnnamed2392() { |
| 9174 var o = new core.List<core.String>(); | 9445 var o = new core.List<core.String>(); |
| 9175 o.add("foo"); | 9446 o.add("foo"); |
| 9176 o.add("foo"); | 9447 o.add("foo"); |
| 9177 return o; | 9448 return o; |
| 9178 } | 9449 } |
| 9179 | 9450 |
| 9180 checkUnnamed1653(core.List<core.String> o) { | 9451 checkUnnamed2392(core.List<core.String> o) { |
| 9181 unittest.expect(o, unittest.hasLength(2)); | 9452 unittest.expect(o, unittest.hasLength(2)); |
| 9182 unittest.expect(o[0], unittest.equals('foo')); | 9453 unittest.expect(o[0], unittest.equals('foo')); |
| 9183 unittest.expect(o[1], unittest.equals('foo')); | 9454 unittest.expect(o[1], unittest.equals('foo')); |
| 9184 } | 9455 } |
| 9185 | 9456 |
| 9186 buildUnnamed1654() { | 9457 buildUnnamed2393() { |
| 9187 var o = new core.List<core.String>(); | 9458 var o = new core.List<core.String>(); |
| 9188 o.add("foo"); | 9459 o.add("foo"); |
| 9189 o.add("foo"); | 9460 o.add("foo"); |
| 9190 return o; | 9461 return o; |
| 9191 } | 9462 } |
| 9192 | 9463 |
| 9193 checkUnnamed1654(core.List<core.String> o) { | 9464 checkUnnamed2393(core.List<core.String> o) { |
| 9194 unittest.expect(o, unittest.hasLength(2)); | 9465 unittest.expect(o, unittest.hasLength(2)); |
| 9195 unittest.expect(o[0], unittest.equals('foo')); | 9466 unittest.expect(o[0], unittest.equals('foo')); |
| 9196 unittest.expect(o[1], unittest.equals('foo')); | 9467 unittest.expect(o[1], unittest.equals('foo')); |
| 9197 } | 9468 } |
| 9198 | 9469 |
| 9199 buildUnnamed1655() { | 9470 buildUnnamed2394() { |
| 9200 var o = new core.List<core.String>(); | 9471 var o = new core.List<core.String>(); |
| 9201 o.add("foo"); | 9472 o.add("foo"); |
| 9202 o.add("foo"); | 9473 o.add("foo"); |
| 9203 return o; | 9474 return o; |
| 9204 } | 9475 } |
| 9205 | 9476 |
| 9206 checkUnnamed1655(core.List<core.String> o) { | 9477 checkUnnamed2394(core.List<core.String> o) { |
| 9207 unittest.expect(o, unittest.hasLength(2)); | 9478 unittest.expect(o, unittest.hasLength(2)); |
| 9208 unittest.expect(o[0], unittest.equals('foo')); | 9479 unittest.expect(o[0], unittest.equals('foo')); |
| 9209 unittest.expect(o[1], unittest.equals('foo')); | 9480 unittest.expect(o[1], unittest.equals('foo')); |
| 9210 } | 9481 } |
| 9211 | 9482 |
| 9212 buildUnnamed1656() { | 9483 buildUnnamed2395() { |
| 9213 var o = new core.List<core.String>(); | 9484 var o = new core.List<core.String>(); |
| 9214 o.add("foo"); | 9485 o.add("foo"); |
| 9215 o.add("foo"); | 9486 o.add("foo"); |
| 9216 return o; | 9487 return o; |
| 9217 } | 9488 } |
| 9218 | 9489 |
| 9219 checkUnnamed1656(core.List<core.String> o) { | 9490 checkUnnamed2395(core.List<core.String> o) { |
| 9220 unittest.expect(o, unittest.hasLength(2)); | 9491 unittest.expect(o, unittest.hasLength(2)); |
| 9221 unittest.expect(o[0], unittest.equals('foo')); | 9492 unittest.expect(o[0], unittest.equals('foo')); |
| 9222 unittest.expect(o[1], unittest.equals('foo')); | 9493 unittest.expect(o[1], unittest.equals('foo')); |
| 9223 } | 9494 } |
| 9224 | 9495 |
| 9225 buildUnnamed1657() { | 9496 buildUnnamed2396() { |
| 9226 var o = new core.List<core.String>(); | 9497 var o = new core.List<core.String>(); |
| 9227 o.add("foo"); | 9498 o.add("foo"); |
| 9228 o.add("foo"); | 9499 o.add("foo"); |
| 9229 return o; | 9500 return o; |
| 9230 } | 9501 } |
| 9231 | 9502 |
| 9232 checkUnnamed1657(core.List<core.String> o) { | 9503 checkUnnamed2396(core.List<core.String> o) { |
| 9233 unittest.expect(o, unittest.hasLength(2)); | 9504 unittest.expect(o, unittest.hasLength(2)); |
| 9234 unittest.expect(o[0], unittest.equals('foo')); | 9505 unittest.expect(o[0], unittest.equals('foo')); |
| 9235 unittest.expect(o[1], unittest.equals('foo')); | 9506 unittest.expect(o[1], unittest.equals('foo')); |
| 9236 } | 9507 } |
| 9237 | 9508 |
| 9238 buildUnnamed1658() { | 9509 buildUnnamed2397() { |
| 9239 var o = new core.List<core.String>(); | 9510 var o = new core.List<core.String>(); |
| 9240 o.add("foo"); | 9511 o.add("foo"); |
| 9241 o.add("foo"); | 9512 o.add("foo"); |
| 9242 return o; | 9513 return o; |
| 9243 } | 9514 } |
| 9244 | 9515 |
| 9245 checkUnnamed1658(core.List<core.String> o) { | 9516 checkUnnamed2397(core.List<core.String> o) { |
| 9246 unittest.expect(o, unittest.hasLength(2)); | 9517 unittest.expect(o, unittest.hasLength(2)); |
| 9247 unittest.expect(o[0], unittest.equals('foo')); | 9518 unittest.expect(o[0], unittest.equals('foo')); |
| 9248 unittest.expect(o[1], unittest.equals('foo')); | 9519 unittest.expect(o[1], unittest.equals('foo')); |
| 9249 } | 9520 } |
| 9250 | 9521 |
| 9251 buildUnnamed1659() { | 9522 buildUnnamed2398() { |
| 9252 var o = new core.List<core.String>(); | 9523 var o = new core.List<core.String>(); |
| 9253 o.add("foo"); | 9524 o.add("foo"); |
| 9254 o.add("foo"); | 9525 o.add("foo"); |
| 9255 return o; | 9526 return o; |
| 9256 } | 9527 } |
| 9257 | 9528 |
| 9258 checkUnnamed1659(core.List<core.String> o) { | 9529 checkUnnamed2398(core.List<core.String> o) { |
| 9259 unittest.expect(o, unittest.hasLength(2)); | 9530 unittest.expect(o, unittest.hasLength(2)); |
| 9260 unittest.expect(o[0], unittest.equals('foo')); | 9531 unittest.expect(o[0], unittest.equals('foo')); |
| 9261 unittest.expect(o[1], unittest.equals('foo')); | 9532 unittest.expect(o[1], unittest.equals('foo')); |
| 9262 } | 9533 } |
| 9263 | 9534 |
| 9264 buildUnnamed1660() { | 9535 buildUnnamed2399() { |
| 9265 var o = new core.List<core.String>(); | 9536 var o = new core.List<core.String>(); |
| 9266 o.add("foo"); | 9537 o.add("foo"); |
| 9267 o.add("foo"); | 9538 o.add("foo"); |
| 9268 return o; | 9539 return o; |
| 9269 } | 9540 } |
| 9270 | 9541 |
| 9271 checkUnnamed1660(core.List<core.String> o) { | 9542 checkUnnamed2399(core.List<core.String> o) { |
| 9272 unittest.expect(o, unittest.hasLength(2)); | 9543 unittest.expect(o, unittest.hasLength(2)); |
| 9273 unittest.expect(o[0], unittest.equals('foo')); | 9544 unittest.expect(o[0], unittest.equals('foo')); |
| 9274 unittest.expect(o[1], unittest.equals('foo')); | 9545 unittest.expect(o[1], unittest.equals('foo')); |
| 9275 } | 9546 } |
| 9276 | 9547 |
| 9277 buildUnnamed1661() { | 9548 buildUnnamed2400() { |
| 9278 var o = new core.List<core.String>(); | 9549 var o = new core.List<core.String>(); |
| 9279 o.add("foo"); | 9550 o.add("foo"); |
| 9280 o.add("foo"); | 9551 o.add("foo"); |
| 9281 return o; | 9552 return o; |
| 9282 } | 9553 } |
| 9283 | 9554 |
| 9284 checkUnnamed1661(core.List<core.String> o) { | 9555 checkUnnamed2400(core.List<core.String> o) { |
| 9285 unittest.expect(o, unittest.hasLength(2)); | 9556 unittest.expect(o, unittest.hasLength(2)); |
| 9286 unittest.expect(o[0], unittest.equals('foo')); | 9557 unittest.expect(o[0], unittest.equals('foo')); |
| 9287 unittest.expect(o[1], unittest.equals('foo')); | 9558 unittest.expect(o[1], unittest.equals('foo')); |
| 9288 } | 9559 } |
| 9289 | 9560 |
| 9290 buildUnnamed1662() { | 9561 buildUnnamed2401() { |
| 9291 var o = new core.List<core.String>(); | 9562 var o = new core.List<core.String>(); |
| 9292 o.add("foo"); | 9563 o.add("foo"); |
| 9293 o.add("foo"); | 9564 o.add("foo"); |
| 9294 return o; | 9565 return o; |
| 9295 } | 9566 } |
| 9296 | 9567 |
| 9297 checkUnnamed1662(core.List<core.String> o) { | 9568 checkUnnamed2401(core.List<core.String> o) { |
| 9298 unittest.expect(o, unittest.hasLength(2)); | 9569 unittest.expect(o, unittest.hasLength(2)); |
| 9299 unittest.expect(o[0], unittest.equals('foo')); | 9570 unittest.expect(o[0], unittest.equals('foo')); |
| 9300 unittest.expect(o[1], unittest.equals('foo')); | 9571 unittest.expect(o[1], unittest.equals('foo')); |
| 9301 } | 9572 } |
| 9302 | 9573 |
| 9303 buildUnnamed1663() { | 9574 buildUnnamed2402() { |
| 9304 var o = new core.List<core.String>(); | 9575 var o = new core.List<core.String>(); |
| 9305 o.add("foo"); | 9576 o.add("foo"); |
| 9306 o.add("foo"); | 9577 o.add("foo"); |
| 9307 return o; | 9578 return o; |
| 9308 } | 9579 } |
| 9309 | 9580 |
| 9310 checkUnnamed1663(core.List<core.String> o) { | 9581 checkUnnamed2402(core.List<core.String> o) { |
| 9311 unittest.expect(o, unittest.hasLength(2)); | 9582 unittest.expect(o, unittest.hasLength(2)); |
| 9312 unittest.expect(o[0], unittest.equals('foo')); | 9583 unittest.expect(o[0], unittest.equals('foo')); |
| 9313 unittest.expect(o[1], unittest.equals('foo')); | 9584 unittest.expect(o[1], unittest.equals('foo')); |
| 9314 } | 9585 } |
| 9315 | 9586 |
| 9316 buildUnnamed1664() { | 9587 buildUnnamed2403() { |
| 9317 var o = new core.List<core.String>(); | 9588 var o = new core.List<core.String>(); |
| 9318 o.add("foo"); | 9589 o.add("foo"); |
| 9319 o.add("foo"); | 9590 o.add("foo"); |
| 9320 return o; | 9591 return o; |
| 9321 } | 9592 } |
| 9322 | 9593 |
| 9323 checkUnnamed1664(core.List<core.String> o) { | 9594 checkUnnamed2403(core.List<core.String> o) { |
| 9324 unittest.expect(o, unittest.hasLength(2)); | 9595 unittest.expect(o, unittest.hasLength(2)); |
| 9325 unittest.expect(o[0], unittest.equals('foo')); | 9596 unittest.expect(o[0], unittest.equals('foo')); |
| 9326 unittest.expect(o[1], unittest.equals('foo')); | 9597 unittest.expect(o[1], unittest.equals('foo')); |
| 9327 } | 9598 } |
| 9328 | 9599 |
| 9329 buildUnnamed1665() { | 9600 buildUnnamed2404() { |
| 9330 var o = new core.List<core.String>(); | 9601 var o = new core.List<core.String>(); |
| 9331 o.add("foo"); | 9602 o.add("foo"); |
| 9332 o.add("foo"); | 9603 o.add("foo"); |
| 9333 return o; | 9604 return o; |
| 9334 } | 9605 } |
| 9335 | 9606 |
| 9336 checkUnnamed1665(core.List<core.String> o) { | 9607 checkUnnamed2404(core.List<core.String> o) { |
| 9337 unittest.expect(o, unittest.hasLength(2)); | 9608 unittest.expect(o, unittest.hasLength(2)); |
| 9338 unittest.expect(o[0], unittest.equals('foo')); | 9609 unittest.expect(o[0], unittest.equals('foo')); |
| 9339 unittest.expect(o[1], unittest.equals('foo')); | 9610 unittest.expect(o[1], unittest.equals('foo')); |
| 9340 } | 9611 } |
| 9341 | 9612 |
| 9342 buildUnnamed1666() { | 9613 buildUnnamed2405() { |
| 9343 var o = new core.List<core.String>(); | 9614 var o = new core.List<core.String>(); |
| 9344 o.add("foo"); | 9615 o.add("foo"); |
| 9345 o.add("foo"); | 9616 o.add("foo"); |
| 9346 return o; | 9617 return o; |
| 9347 } | 9618 } |
| 9348 | 9619 |
| 9349 checkUnnamed1666(core.List<core.String> o) { | 9620 checkUnnamed2405(core.List<core.String> o) { |
| 9350 unittest.expect(o, unittest.hasLength(2)); | 9621 unittest.expect(o, unittest.hasLength(2)); |
| 9351 unittest.expect(o[0], unittest.equals('foo')); | 9622 unittest.expect(o[0], unittest.equals('foo')); |
| 9352 unittest.expect(o[1], unittest.equals('foo')); | 9623 unittest.expect(o[1], unittest.equals('foo')); |
| 9353 } | 9624 } |
| 9354 | 9625 |
| 9355 buildUnnamed1667() { | 9626 buildUnnamed2406() { |
| 9356 var o = new core.List<core.String>(); | 9627 var o = new core.List<core.String>(); |
| 9357 o.add("foo"); | 9628 o.add("foo"); |
| 9358 o.add("foo"); | 9629 o.add("foo"); |
| 9359 return o; | 9630 return o; |
| 9360 } | 9631 } |
| 9361 | 9632 |
| 9362 checkUnnamed1667(core.List<core.String> o) { | 9633 checkUnnamed2406(core.List<core.String> o) { |
| 9363 unittest.expect(o, unittest.hasLength(2)); | 9634 unittest.expect(o, unittest.hasLength(2)); |
| 9364 unittest.expect(o[0], unittest.equals('foo')); | 9635 unittest.expect(o[0], unittest.equals('foo')); |
| 9365 unittest.expect(o[1], unittest.equals('foo')); | 9636 unittest.expect(o[1], unittest.equals('foo')); |
| 9366 } | 9637 } |
| 9367 | 9638 |
| 9368 buildUnnamed1668() { | 9639 buildUnnamed2407() { |
| 9369 var o = new core.List<core.String>(); | 9640 var o = new core.List<core.String>(); |
| 9370 o.add("foo"); | 9641 o.add("foo"); |
| 9371 o.add("foo"); | 9642 o.add("foo"); |
| 9372 return o; | 9643 return o; |
| 9373 } | 9644 } |
| 9374 | 9645 |
| 9375 checkUnnamed1668(core.List<core.String> o) { | 9646 checkUnnamed2407(core.List<core.String> o) { |
| 9376 unittest.expect(o, unittest.hasLength(2)); | 9647 unittest.expect(o, unittest.hasLength(2)); |
| 9377 unittest.expect(o[0], unittest.equals('foo')); | 9648 unittest.expect(o[0], unittest.equals('foo')); |
| 9378 unittest.expect(o[1], unittest.equals('foo')); | 9649 unittest.expect(o[1], unittest.equals('foo')); |
| 9379 } | 9650 } |
| 9380 | 9651 |
| 9381 buildUnnamed1669() { | 9652 buildUnnamed2408() { |
| 9382 var o = new core.List<core.String>(); | 9653 var o = new core.List<core.String>(); |
| 9383 o.add("foo"); | 9654 o.add("foo"); |
| 9384 o.add("foo"); | 9655 o.add("foo"); |
| 9385 return o; | 9656 return o; |
| 9386 } | 9657 } |
| 9387 | 9658 |
| 9388 checkUnnamed1669(core.List<core.String> o) { | 9659 checkUnnamed2408(core.List<core.String> o) { |
| 9389 unittest.expect(o, unittest.hasLength(2)); | 9660 unittest.expect(o, unittest.hasLength(2)); |
| 9390 unittest.expect(o[0], unittest.equals('foo')); | 9661 unittest.expect(o[0], unittest.equals('foo')); |
| 9391 unittest.expect(o[1], unittest.equals('foo')); | 9662 unittest.expect(o[1], unittest.equals('foo')); |
| 9392 } | 9663 } |
| 9393 | 9664 |
| 9394 buildUnnamed1670() { | 9665 buildUnnamed2409() { |
| 9395 var o = new core.List<core.String>(); | 9666 var o = new core.List<core.String>(); |
| 9396 o.add("foo"); | 9667 o.add("foo"); |
| 9397 o.add("foo"); | 9668 o.add("foo"); |
| 9398 return o; | 9669 return o; |
| 9399 } | 9670 } |
| 9400 | 9671 |
| 9401 checkUnnamed1670(core.List<core.String> o) { | 9672 checkUnnamed2409(core.List<core.String> o) { |
| 9402 unittest.expect(o, unittest.hasLength(2)); | 9673 unittest.expect(o, unittest.hasLength(2)); |
| 9403 unittest.expect(o[0], unittest.equals('foo')); | 9674 unittest.expect(o[0], unittest.equals('foo')); |
| 9404 unittest.expect(o[1], unittest.equals('foo')); | 9675 unittest.expect(o[1], unittest.equals('foo')); |
| 9405 } | 9676 } |
| 9406 | 9677 |
| 9407 buildUnnamed1671() { | 9678 buildUnnamed2410() { |
| 9408 var o = new core.List<core.String>(); | 9679 var o = new core.List<core.String>(); |
| 9409 o.add("foo"); | 9680 o.add("foo"); |
| 9410 o.add("foo"); | 9681 o.add("foo"); |
| 9411 return o; | 9682 return o; |
| 9412 } | 9683 } |
| 9413 | 9684 |
| 9414 checkUnnamed1671(core.List<core.String> o) { | 9685 checkUnnamed2410(core.List<core.String> o) { |
| 9415 unittest.expect(o, unittest.hasLength(2)); | 9686 unittest.expect(o, unittest.hasLength(2)); |
| 9416 unittest.expect(o[0], unittest.equals('foo')); | 9687 unittest.expect(o[0], unittest.equals('foo')); |
| 9417 unittest.expect(o[1], unittest.equals('foo')); | 9688 unittest.expect(o[1], unittest.equals('foo')); |
| 9689 } |
| 9690 |
| 9691 buildUnnamed2411() { |
| 9692 var o = new core.List<core.String>(); |
| 9693 o.add("foo"); |
| 9694 o.add("foo"); |
| 9695 return o; |
| 9696 } |
| 9697 |
| 9698 checkUnnamed2411(core.List<core.String> o) { |
| 9699 unittest.expect(o, unittest.hasLength(2)); |
| 9700 unittest.expect(o[0], unittest.equals('foo')); |
| 9701 unittest.expect(o[1], unittest.equals('foo')); |
| 9418 } | 9702 } |
| 9419 | 9703 |
| 9420 | 9704 |
| 9421 main() { | 9705 main() { |
| 9422 unittest.group("obj-schema-Account", () { | 9706 unittest.group("obj-schema-Account", () { |
| 9423 unittest.test("to-json--from-json", () { | 9707 unittest.test("to-json--from-json", () { |
| 9424 var o = buildAccount(); | 9708 var o = buildAccount(); |
| 9425 var od = new api.Account.fromJson(o.toJson()); | 9709 var od = new api.Account.fromJson(o.toJson()); |
| 9426 checkAccount(od); | 9710 checkAccount(od); |
| 9427 }); | 9711 }); |
| (...skipping 425 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 9853 | 10137 |
| 9854 unittest.group("obj-schema-CreativeAssetMetadata", () { | 10138 unittest.group("obj-schema-CreativeAssetMetadata", () { |
| 9855 unittest.test("to-json--from-json", () { | 10139 unittest.test("to-json--from-json", () { |
| 9856 var o = buildCreativeAssetMetadata(); | 10140 var o = buildCreativeAssetMetadata(); |
| 9857 var od = new api.CreativeAssetMetadata.fromJson(o.toJson()); | 10141 var od = new api.CreativeAssetMetadata.fromJson(o.toJson()); |
| 9858 checkCreativeAssetMetadata(od); | 10142 checkCreativeAssetMetadata(od); |
| 9859 }); | 10143 }); |
| 9860 }); | 10144 }); |
| 9861 | 10145 |
| 9862 | 10146 |
| 10147 unittest.group("obj-schema-CreativeAssetSelection", () { |
| 10148 unittest.test("to-json--from-json", () { |
| 10149 var o = buildCreativeAssetSelection(); |
| 10150 var od = new api.CreativeAssetSelection.fromJson(o.toJson()); |
| 10151 checkCreativeAssetSelection(od); |
| 10152 }); |
| 10153 }); |
| 10154 |
| 10155 |
| 9863 unittest.group("obj-schema-CreativeAssignment", () { | 10156 unittest.group("obj-schema-CreativeAssignment", () { |
| 9864 unittest.test("to-json--from-json", () { | 10157 unittest.test("to-json--from-json", () { |
| 9865 var o = buildCreativeAssignment(); | 10158 var o = buildCreativeAssignment(); |
| 9866 var od = new api.CreativeAssignment.fromJson(o.toJson()); | 10159 var od = new api.CreativeAssignment.fromJson(o.toJson()); |
| 9867 checkCreativeAssignment(od); | 10160 checkCreativeAssignment(od); |
| 9868 }); | 10161 }); |
| 9869 }); | 10162 }); |
| 9870 | 10163 |
| 9871 | 10164 |
| 9872 unittest.group("obj-schema-CreativeCustomEvent", () { | 10165 unittest.group("obj-schema-CreativeCustomEvent", () { |
| (...skipping 529 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 10402 | 10695 |
| 10403 unittest.group("obj-schema-LandingPagesListResponse", () { | 10696 unittest.group("obj-schema-LandingPagesListResponse", () { |
| 10404 unittest.test("to-json--from-json", () { | 10697 unittest.test("to-json--from-json", () { |
| 10405 var o = buildLandingPagesListResponse(); | 10698 var o = buildLandingPagesListResponse(); |
| 10406 var od = new api.LandingPagesListResponse.fromJson(o.toJson()); | 10699 var od = new api.LandingPagesListResponse.fromJson(o.toJson()); |
| 10407 checkLandingPagesListResponse(od); | 10700 checkLandingPagesListResponse(od); |
| 10408 }); | 10701 }); |
| 10409 }); | 10702 }); |
| 10410 | 10703 |
| 10411 | 10704 |
| 10705 unittest.group("obj-schema-Language", () { |
| 10706 unittest.test("to-json--from-json", () { |
| 10707 var o = buildLanguage(); |
| 10708 var od = new api.Language.fromJson(o.toJson()); |
| 10709 checkLanguage(od); |
| 10710 }); |
| 10711 }); |
| 10712 |
| 10713 |
| 10714 unittest.group("obj-schema-LanguageTargeting", () { |
| 10715 unittest.test("to-json--from-json", () { |
| 10716 var o = buildLanguageTargeting(); |
| 10717 var od = new api.LanguageTargeting.fromJson(o.toJson()); |
| 10718 checkLanguageTargeting(od); |
| 10719 }); |
| 10720 }); |
| 10721 |
| 10722 |
| 10723 unittest.group("obj-schema-LanguagesListResponse", () { |
| 10724 unittest.test("to-json--from-json", () { |
| 10725 var o = buildLanguagesListResponse(); |
| 10726 var od = new api.LanguagesListResponse.fromJson(o.toJson()); |
| 10727 checkLanguagesListResponse(od); |
| 10728 }); |
| 10729 }); |
| 10730 |
| 10731 |
| 10412 unittest.group("obj-schema-LastModifiedInfo", () { | 10732 unittest.group("obj-schema-LastModifiedInfo", () { |
| 10413 unittest.test("to-json--from-json", () { | 10733 unittest.test("to-json--from-json", () { |
| 10414 var o = buildLastModifiedInfo(); | 10734 var o = buildLastModifiedInfo(); |
| 10415 var od = new api.LastModifiedInfo.fromJson(o.toJson()); | 10735 var od = new api.LastModifiedInfo.fromJson(o.toJson()); |
| 10416 checkLastModifiedInfo(od); | 10736 checkLastModifiedInfo(od); |
| 10417 }); | 10737 }); |
| 10418 }); | 10738 }); |
| 10419 | 10739 |
| 10420 | 10740 |
| 10421 unittest.group("obj-schema-ListPopulationClause", () { | 10741 unittest.group("obj-schema-ListPopulationClause", () { |
| (...skipping 565 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 10987 | 11307 |
| 10988 unittest.group("obj-schema-RichMediaExitOverride", () { | 11308 unittest.group("obj-schema-RichMediaExitOverride", () { |
| 10989 unittest.test("to-json--from-json", () { | 11309 unittest.test("to-json--from-json", () { |
| 10990 var o = buildRichMediaExitOverride(); | 11310 var o = buildRichMediaExitOverride(); |
| 10991 var od = new api.RichMediaExitOverride.fromJson(o.toJson()); | 11311 var od = new api.RichMediaExitOverride.fromJson(o.toJson()); |
| 10992 checkRichMediaExitOverride(od); | 11312 checkRichMediaExitOverride(od); |
| 10993 }); | 11313 }); |
| 10994 }); | 11314 }); |
| 10995 | 11315 |
| 10996 | 11316 |
| 11317 unittest.group("obj-schema-Rule", () { |
| 11318 unittest.test("to-json--from-json", () { |
| 11319 var o = buildRule(); |
| 11320 var od = new api.Rule.fromJson(o.toJson()); |
| 11321 checkRule(od); |
| 11322 }); |
| 11323 }); |
| 11324 |
| 11325 |
| 10997 unittest.group("obj-schema-Site", () { | 11326 unittest.group("obj-schema-Site", () { |
| 10998 unittest.test("to-json--from-json", () { | 11327 unittest.test("to-json--from-json", () { |
| 10999 var o = buildSite(); | 11328 var o = buildSite(); |
| 11000 var od = new api.Site.fromJson(o.toJson()); | 11329 var od = new api.Site.fromJson(o.toJson()); |
| 11001 checkSite(od); | 11330 checkSite(od); |
| 11002 }); | 11331 }); |
| 11003 }); | 11332 }); |
| 11004 | 11333 |
| 11005 | 11334 |
| 11006 unittest.group("obj-schema-SiteContact", () { | 11335 unittest.group("obj-schema-SiteContact", () { |
| (...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 11122 | 11451 |
| 11123 unittest.group("obj-schema-TargetableRemarketingListsListResponse", () { | 11452 unittest.group("obj-schema-TargetableRemarketingListsListResponse", () { |
| 11124 unittest.test("to-json--from-json", () { | 11453 unittest.test("to-json--from-json", () { |
| 11125 var o = buildTargetableRemarketingListsListResponse(); | 11454 var o = buildTargetableRemarketingListsListResponse(); |
| 11126 var od = new api.TargetableRemarketingListsListResponse.fromJson(o.toJson(
)); | 11455 var od = new api.TargetableRemarketingListsListResponse.fromJson(o.toJson(
)); |
| 11127 checkTargetableRemarketingListsListResponse(od); | 11456 checkTargetableRemarketingListsListResponse(od); |
| 11128 }); | 11457 }); |
| 11129 }); | 11458 }); |
| 11130 | 11459 |
| 11131 | 11460 |
| 11461 unittest.group("obj-schema-TargetingTemplate", () { |
| 11462 unittest.test("to-json--from-json", () { |
| 11463 var o = buildTargetingTemplate(); |
| 11464 var od = new api.TargetingTemplate.fromJson(o.toJson()); |
| 11465 checkTargetingTemplate(od); |
| 11466 }); |
| 11467 }); |
| 11468 |
| 11469 |
| 11470 unittest.group("obj-schema-TargetingTemplatesListResponse", () { |
| 11471 unittest.test("to-json--from-json", () { |
| 11472 var o = buildTargetingTemplatesListResponse(); |
| 11473 var od = new api.TargetingTemplatesListResponse.fromJson(o.toJson()); |
| 11474 checkTargetingTemplatesListResponse(od); |
| 11475 }); |
| 11476 }); |
| 11477 |
| 11478 |
| 11132 unittest.group("obj-schema-TechnologyTargeting", () { | 11479 unittest.group("obj-schema-TechnologyTargeting", () { |
| 11133 unittest.test("to-json--from-json", () { | 11480 unittest.test("to-json--from-json", () { |
| 11134 var o = buildTechnologyTargeting(); | 11481 var o = buildTechnologyTargeting(); |
| 11135 var od = new api.TechnologyTargeting.fromJson(o.toJson()); | 11482 var od = new api.TechnologyTargeting.fromJson(o.toJson()); |
| 11136 checkTechnologyTargeting(od); | 11483 checkTechnologyTargeting(od); |
| 11137 }); | 11484 }); |
| 11138 }); | 11485 }); |
| 11139 | 11486 |
| 11140 | 11487 |
| 11141 unittest.group("obj-schema-ThirdPartyAuthenticationToken", () { | 11488 unittest.group("obj-schema-ThirdPartyAuthenticationToken", () { |
| (...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 11244 api.AccountActiveAdSummariesResourceApi res = new api.DfareportingApi(mock
).accountActiveAdSummaries; | 11591 api.AccountActiveAdSummariesResourceApi res = new api.DfareportingApi(mock
).accountActiveAdSummaries; |
| 11245 var arg_profileId = "foo"; | 11592 var arg_profileId = "foo"; |
| 11246 var arg_summaryAccountId = "foo"; | 11593 var arg_summaryAccountId = "foo"; |
| 11247 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 11594 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 11248 var path = (req.url).path; | 11595 var path = (req.url).path; |
| 11249 var pathOffset = 0; | 11596 var pathOffset = 0; |
| 11250 var index; | 11597 var index; |
| 11251 var subPart; | 11598 var subPart; |
| 11252 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 11599 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 11253 pathOffset += 1; | 11600 pathOffset += 1; |
| 11254 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 11601 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 11255 pathOffset += 18; | 11602 pathOffset += 18; |
| 11256 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 11603 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 11257 pathOffset += 13; | 11604 pathOffset += 13; |
| 11258 index = path.indexOf("/accountActiveAdSummaries/", pathOffset); | 11605 index = path.indexOf("/accountActiveAdSummaries/", pathOffset); |
| 11259 unittest.expect(index >= 0, unittest.isTrue); | 11606 unittest.expect(index >= 0, unittest.isTrue); |
| 11260 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 11607 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 11261 pathOffset = index; | 11608 pathOffset = index; |
| 11262 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 11609 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 11263 unittest.expect(path.substring(pathOffset, pathOffset + 26), unittest.eq
uals("/accountActiveAdSummaries/")); | 11610 unittest.expect(path.substring(pathOffset, pathOffset + 26), unittest.eq
uals("/accountActiveAdSummaries/")); |
| 11264 pathOffset += 26; | 11611 pathOffset += 26; |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 11305 api.AccountPermissionGroupsResourceApi res = new api.DfareportingApi(mock)
.accountPermissionGroups; | 11652 api.AccountPermissionGroupsResourceApi res = new api.DfareportingApi(mock)
.accountPermissionGroups; |
| 11306 var arg_profileId = "foo"; | 11653 var arg_profileId = "foo"; |
| 11307 var arg_id = "foo"; | 11654 var arg_id = "foo"; |
| 11308 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 11655 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 11309 var path = (req.url).path; | 11656 var path = (req.url).path; |
| 11310 var pathOffset = 0; | 11657 var pathOffset = 0; |
| 11311 var index; | 11658 var index; |
| 11312 var subPart; | 11659 var subPart; |
| 11313 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 11660 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 11314 pathOffset += 1; | 11661 pathOffset += 1; |
| 11315 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 11662 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 11316 pathOffset += 18; | 11663 pathOffset += 18; |
| 11317 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 11664 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 11318 pathOffset += 13; | 11665 pathOffset += 13; |
| 11319 index = path.indexOf("/accountPermissionGroups/", pathOffset); | 11666 index = path.indexOf("/accountPermissionGroups/", pathOffset); |
| 11320 unittest.expect(index >= 0, unittest.isTrue); | 11667 unittest.expect(index >= 0, unittest.isTrue); |
| 11321 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 11668 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 11322 pathOffset = index; | 11669 pathOffset = index; |
| 11323 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 11670 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 11324 unittest.expect(path.substring(pathOffset, pathOffset + 25), unittest.eq
uals("/accountPermissionGroups/")); | 11671 unittest.expect(path.substring(pathOffset, pathOffset + 25), unittest.eq
uals("/accountPermissionGroups/")); |
| 11325 pathOffset += 25; | 11672 pathOffset += 25; |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 11361 var mock = new HttpServerMock(); | 11708 var mock = new HttpServerMock(); |
| 11362 api.AccountPermissionGroupsResourceApi res = new api.DfareportingApi(mock)
.accountPermissionGroups; | 11709 api.AccountPermissionGroupsResourceApi res = new api.DfareportingApi(mock)
.accountPermissionGroups; |
| 11363 var arg_profileId = "foo"; | 11710 var arg_profileId = "foo"; |
| 11364 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 11711 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 11365 var path = (req.url).path; | 11712 var path = (req.url).path; |
| 11366 var pathOffset = 0; | 11713 var pathOffset = 0; |
| 11367 var index; | 11714 var index; |
| 11368 var subPart; | 11715 var subPart; |
| 11369 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 11716 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 11370 pathOffset += 1; | 11717 pathOffset += 1; |
| 11371 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 11718 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 11372 pathOffset += 18; | 11719 pathOffset += 18; |
| 11373 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 11720 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 11374 pathOffset += 13; | 11721 pathOffset += 13; |
| 11375 index = path.indexOf("/accountPermissionGroups", pathOffset); | 11722 index = path.indexOf("/accountPermissionGroups", pathOffset); |
| 11376 unittest.expect(index >= 0, unittest.isTrue); | 11723 unittest.expect(index >= 0, unittest.isTrue); |
| 11377 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 11724 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 11378 pathOffset = index; | 11725 pathOffset = index; |
| 11379 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 11726 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 11380 unittest.expect(path.substring(pathOffset, pathOffset + 24), unittest.eq
uals("/accountPermissionGroups")); | 11727 unittest.expect(path.substring(pathOffset, pathOffset + 24), unittest.eq
uals("/accountPermissionGroups")); |
| 11381 pathOffset += 24; | 11728 pathOffset += 24; |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 11419 api.AccountPermissionsResourceApi res = new api.DfareportingApi(mock).acco
untPermissions; | 11766 api.AccountPermissionsResourceApi res = new api.DfareportingApi(mock).acco
untPermissions; |
| 11420 var arg_profileId = "foo"; | 11767 var arg_profileId = "foo"; |
| 11421 var arg_id = "foo"; | 11768 var arg_id = "foo"; |
| 11422 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 11769 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 11423 var path = (req.url).path; | 11770 var path = (req.url).path; |
| 11424 var pathOffset = 0; | 11771 var pathOffset = 0; |
| 11425 var index; | 11772 var index; |
| 11426 var subPart; | 11773 var subPart; |
| 11427 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 11774 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 11428 pathOffset += 1; | 11775 pathOffset += 1; |
| 11429 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 11776 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 11430 pathOffset += 18; | 11777 pathOffset += 18; |
| 11431 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 11778 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 11432 pathOffset += 13; | 11779 pathOffset += 13; |
| 11433 index = path.indexOf("/accountPermissions/", pathOffset); | 11780 index = path.indexOf("/accountPermissions/", pathOffset); |
| 11434 unittest.expect(index >= 0, unittest.isTrue); | 11781 unittest.expect(index >= 0, unittest.isTrue); |
| 11435 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 11782 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 11436 pathOffset = index; | 11783 pathOffset = index; |
| 11437 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 11784 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 11438 unittest.expect(path.substring(pathOffset, pathOffset + 20), unittest.eq
uals("/accountPermissions/")); | 11785 unittest.expect(path.substring(pathOffset, pathOffset + 20), unittest.eq
uals("/accountPermissions/")); |
| 11439 pathOffset += 20; | 11786 pathOffset += 20; |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 11475 var mock = new HttpServerMock(); | 11822 var mock = new HttpServerMock(); |
| 11476 api.AccountPermissionsResourceApi res = new api.DfareportingApi(mock).acco
untPermissions; | 11823 api.AccountPermissionsResourceApi res = new api.DfareportingApi(mock).acco
untPermissions; |
| 11477 var arg_profileId = "foo"; | 11824 var arg_profileId = "foo"; |
| 11478 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 11825 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 11479 var path = (req.url).path; | 11826 var path = (req.url).path; |
| 11480 var pathOffset = 0; | 11827 var pathOffset = 0; |
| 11481 var index; | 11828 var index; |
| 11482 var subPart; | 11829 var subPart; |
| 11483 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 11830 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 11484 pathOffset += 1; | 11831 pathOffset += 1; |
| 11485 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 11832 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 11486 pathOffset += 18; | 11833 pathOffset += 18; |
| 11487 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 11834 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 11488 pathOffset += 13; | 11835 pathOffset += 13; |
| 11489 index = path.indexOf("/accountPermissions", pathOffset); | 11836 index = path.indexOf("/accountPermissions", pathOffset); |
| 11490 unittest.expect(index >= 0, unittest.isTrue); | 11837 unittest.expect(index >= 0, unittest.isTrue); |
| 11491 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 11838 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 11492 pathOffset = index; | 11839 pathOffset = index; |
| 11493 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 11840 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 11494 unittest.expect(path.substring(pathOffset, pathOffset + 19), unittest.eq
uals("/accountPermissions")); | 11841 unittest.expect(path.substring(pathOffset, pathOffset + 19), unittest.eq
uals("/accountPermissions")); |
| 11495 pathOffset += 19; | 11842 pathOffset += 19; |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 11533 api.AccountUserProfilesResourceApi res = new api.DfareportingApi(mock).acc
ountUserProfiles; | 11880 api.AccountUserProfilesResourceApi res = new api.DfareportingApi(mock).acc
ountUserProfiles; |
| 11534 var arg_profileId = "foo"; | 11881 var arg_profileId = "foo"; |
| 11535 var arg_id = "foo"; | 11882 var arg_id = "foo"; |
| 11536 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 11883 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 11537 var path = (req.url).path; | 11884 var path = (req.url).path; |
| 11538 var pathOffset = 0; | 11885 var pathOffset = 0; |
| 11539 var index; | 11886 var index; |
| 11540 var subPart; | 11887 var subPart; |
| 11541 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 11888 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 11542 pathOffset += 1; | 11889 pathOffset += 1; |
| 11543 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 11890 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 11544 pathOffset += 18; | 11891 pathOffset += 18; |
| 11545 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 11892 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 11546 pathOffset += 13; | 11893 pathOffset += 13; |
| 11547 index = path.indexOf("/accountUserProfiles/", pathOffset); | 11894 index = path.indexOf("/accountUserProfiles/", pathOffset); |
| 11548 unittest.expect(index >= 0, unittest.isTrue); | 11895 unittest.expect(index >= 0, unittest.isTrue); |
| 11549 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 11896 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 11550 pathOffset = index; | 11897 pathOffset = index; |
| 11551 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 11898 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 11552 unittest.expect(path.substring(pathOffset, pathOffset + 21), unittest.eq
uals("/accountUserProfiles/")); | 11899 unittest.expect(path.substring(pathOffset, pathOffset + 21), unittest.eq
uals("/accountUserProfiles/")); |
| 11553 pathOffset += 21; | 11900 pathOffset += 21; |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 11593 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 11940 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 11594 var obj = new api.AccountUserProfile.fromJson(json); | 11941 var obj = new api.AccountUserProfile.fromJson(json); |
| 11595 checkAccountUserProfile(obj); | 11942 checkAccountUserProfile(obj); |
| 11596 | 11943 |
| 11597 var path = (req.url).path; | 11944 var path = (req.url).path; |
| 11598 var pathOffset = 0; | 11945 var pathOffset = 0; |
| 11599 var index; | 11946 var index; |
| 11600 var subPart; | 11947 var subPart; |
| 11601 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 11948 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 11602 pathOffset += 1; | 11949 pathOffset += 1; |
| 11603 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 11950 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 11604 pathOffset += 18; | 11951 pathOffset += 18; |
| 11605 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 11952 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 11606 pathOffset += 13; | 11953 pathOffset += 13; |
| 11607 index = path.indexOf("/accountUserProfiles", pathOffset); | 11954 index = path.indexOf("/accountUserProfiles", pathOffset); |
| 11608 unittest.expect(index >= 0, unittest.isTrue); | 11955 unittest.expect(index >= 0, unittest.isTrue); |
| 11609 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 11956 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 11610 pathOffset = index; | 11957 pathOffset = index; |
| 11611 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 11958 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 11612 unittest.expect(path.substring(pathOffset, pathOffset + 20), unittest.eq
uals("/accountUserProfiles")); | 11959 unittest.expect(path.substring(pathOffset, pathOffset + 20), unittest.eq
uals("/accountUserProfiles")); |
| 11613 pathOffset += 20; | 11960 pathOffset += 20; |
| (...skipping 26 matching lines...) Expand all Loading... |
| 11640 checkAccountUserProfile(response); | 11987 checkAccountUserProfile(response); |
| 11641 }))); | 11988 }))); |
| 11642 }); | 11989 }); |
| 11643 | 11990 |
| 11644 unittest.test("method--list", () { | 11991 unittest.test("method--list", () { |
| 11645 | 11992 |
| 11646 var mock = new HttpServerMock(); | 11993 var mock = new HttpServerMock(); |
| 11647 api.AccountUserProfilesResourceApi res = new api.DfareportingApi(mock).acc
ountUserProfiles; | 11994 api.AccountUserProfilesResourceApi res = new api.DfareportingApi(mock).acc
ountUserProfiles; |
| 11648 var arg_profileId = "foo"; | 11995 var arg_profileId = "foo"; |
| 11649 var arg_active = true; | 11996 var arg_active = true; |
| 11650 var arg_ids = buildUnnamed1585(); | 11997 var arg_ids = buildUnnamed2324(); |
| 11651 var arg_maxResults = 42; | 11998 var arg_maxResults = 42; |
| 11652 var arg_pageToken = "foo"; | 11999 var arg_pageToken = "foo"; |
| 11653 var arg_searchString = "foo"; | 12000 var arg_searchString = "foo"; |
| 11654 var arg_sortField = "foo"; | 12001 var arg_sortField = "foo"; |
| 11655 var arg_sortOrder = "foo"; | 12002 var arg_sortOrder = "foo"; |
| 11656 var arg_subaccountId = "foo"; | 12003 var arg_subaccountId = "foo"; |
| 11657 var arg_userRoleId = "foo"; | 12004 var arg_userRoleId = "foo"; |
| 11658 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 12005 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 11659 var path = (req.url).path; | 12006 var path = (req.url).path; |
| 11660 var pathOffset = 0; | 12007 var pathOffset = 0; |
| 11661 var index; | 12008 var index; |
| 11662 var subPart; | 12009 var subPart; |
| 11663 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 12010 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 11664 pathOffset += 1; | 12011 pathOffset += 1; |
| 11665 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 12012 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 11666 pathOffset += 18; | 12013 pathOffset += 18; |
| 11667 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 12014 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 11668 pathOffset += 13; | 12015 pathOffset += 13; |
| 11669 index = path.indexOf("/accountUserProfiles", pathOffset); | 12016 index = path.indexOf("/accountUserProfiles", pathOffset); |
| 11670 unittest.expect(index >= 0, unittest.isTrue); | 12017 unittest.expect(index >= 0, unittest.isTrue); |
| 11671 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 12018 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 11672 pathOffset = index; | 12019 pathOffset = index; |
| 11673 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 12020 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 11674 unittest.expect(path.substring(pathOffset, pathOffset + 20), unittest.eq
uals("/accountUserProfiles")); | 12021 unittest.expect(path.substring(pathOffset, pathOffset + 20), unittest.eq
uals("/accountUserProfiles")); |
| 11675 pathOffset += 20; | 12022 pathOffset += 20; |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 11722 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 12069 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 11723 var obj = new api.AccountUserProfile.fromJson(json); | 12070 var obj = new api.AccountUserProfile.fromJson(json); |
| 11724 checkAccountUserProfile(obj); | 12071 checkAccountUserProfile(obj); |
| 11725 | 12072 |
| 11726 var path = (req.url).path; | 12073 var path = (req.url).path; |
| 11727 var pathOffset = 0; | 12074 var pathOffset = 0; |
| 11728 var index; | 12075 var index; |
| 11729 var subPart; | 12076 var subPart; |
| 11730 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 12077 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 11731 pathOffset += 1; | 12078 pathOffset += 1; |
| 11732 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 12079 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 11733 pathOffset += 18; | 12080 pathOffset += 18; |
| 11734 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 12081 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 11735 pathOffset += 13; | 12082 pathOffset += 13; |
| 11736 index = path.indexOf("/accountUserProfiles", pathOffset); | 12083 index = path.indexOf("/accountUserProfiles", pathOffset); |
| 11737 unittest.expect(index >= 0, unittest.isTrue); | 12084 unittest.expect(index >= 0, unittest.isTrue); |
| 11738 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 12085 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 11739 pathOffset = index; | 12086 pathOffset = index; |
| 11740 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 12087 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 11741 unittest.expect(path.substring(pathOffset, pathOffset + 20), unittest.eq
uals("/accountUserProfiles")); | 12088 unittest.expect(path.substring(pathOffset, pathOffset + 20), unittest.eq
uals("/accountUserProfiles")); |
| 11742 pathOffset += 20; | 12089 pathOffset += 20; |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 11780 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 12127 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 11781 var obj = new api.AccountUserProfile.fromJson(json); | 12128 var obj = new api.AccountUserProfile.fromJson(json); |
| 11782 checkAccountUserProfile(obj); | 12129 checkAccountUserProfile(obj); |
| 11783 | 12130 |
| 11784 var path = (req.url).path; | 12131 var path = (req.url).path; |
| 11785 var pathOffset = 0; | 12132 var pathOffset = 0; |
| 11786 var index; | 12133 var index; |
| 11787 var subPart; | 12134 var subPart; |
| 11788 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 12135 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 11789 pathOffset += 1; | 12136 pathOffset += 1; |
| 11790 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 12137 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 11791 pathOffset += 18; | 12138 pathOffset += 18; |
| 11792 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 12139 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 11793 pathOffset += 13; | 12140 pathOffset += 13; |
| 11794 index = path.indexOf("/accountUserProfiles", pathOffset); | 12141 index = path.indexOf("/accountUserProfiles", pathOffset); |
| 11795 unittest.expect(index >= 0, unittest.isTrue); | 12142 unittest.expect(index >= 0, unittest.isTrue); |
| 11796 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 12143 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 11797 pathOffset = index; | 12144 pathOffset = index; |
| 11798 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 12145 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 11799 unittest.expect(path.substring(pathOffset, pathOffset + 20), unittest.eq
uals("/accountUserProfiles")); | 12146 unittest.expect(path.substring(pathOffset, pathOffset + 20), unittest.eq
uals("/accountUserProfiles")); |
| 11800 pathOffset += 20; | 12147 pathOffset += 20; |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 11838 api.AccountsResourceApi res = new api.DfareportingApi(mock).accounts; | 12185 api.AccountsResourceApi res = new api.DfareportingApi(mock).accounts; |
| 11839 var arg_profileId = "foo"; | 12186 var arg_profileId = "foo"; |
| 11840 var arg_id = "foo"; | 12187 var arg_id = "foo"; |
| 11841 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 12188 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 11842 var path = (req.url).path; | 12189 var path = (req.url).path; |
| 11843 var pathOffset = 0; | 12190 var pathOffset = 0; |
| 11844 var index; | 12191 var index; |
| 11845 var subPart; | 12192 var subPart; |
| 11846 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 12193 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 11847 pathOffset += 1; | 12194 pathOffset += 1; |
| 11848 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 12195 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 11849 pathOffset += 18; | 12196 pathOffset += 18; |
| 11850 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 12197 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 11851 pathOffset += 13; | 12198 pathOffset += 13; |
| 11852 index = path.indexOf("/accounts/", pathOffset); | 12199 index = path.indexOf("/accounts/", pathOffset); |
| 11853 unittest.expect(index >= 0, unittest.isTrue); | 12200 unittest.expect(index >= 0, unittest.isTrue); |
| 11854 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 12201 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 11855 pathOffset = index; | 12202 pathOffset = index; |
| 11856 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 12203 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 11857 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("/accounts/")); | 12204 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("/accounts/")); |
| 11858 pathOffset += 10; | 12205 pathOffset += 10; |
| (...skipping 29 matching lines...) Expand all Loading... |
| 11888 checkAccount(response); | 12235 checkAccount(response); |
| 11889 }))); | 12236 }))); |
| 11890 }); | 12237 }); |
| 11891 | 12238 |
| 11892 unittest.test("method--list", () { | 12239 unittest.test("method--list", () { |
| 11893 | 12240 |
| 11894 var mock = new HttpServerMock(); | 12241 var mock = new HttpServerMock(); |
| 11895 api.AccountsResourceApi res = new api.DfareportingApi(mock).accounts; | 12242 api.AccountsResourceApi res = new api.DfareportingApi(mock).accounts; |
| 11896 var arg_profileId = "foo"; | 12243 var arg_profileId = "foo"; |
| 11897 var arg_active = true; | 12244 var arg_active = true; |
| 11898 var arg_ids = buildUnnamed1586(); | 12245 var arg_ids = buildUnnamed2325(); |
| 11899 var arg_maxResults = 42; | 12246 var arg_maxResults = 42; |
| 11900 var arg_pageToken = "foo"; | 12247 var arg_pageToken = "foo"; |
| 11901 var arg_searchString = "foo"; | 12248 var arg_searchString = "foo"; |
| 11902 var arg_sortField = "foo"; | 12249 var arg_sortField = "foo"; |
| 11903 var arg_sortOrder = "foo"; | 12250 var arg_sortOrder = "foo"; |
| 11904 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 12251 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 11905 var path = (req.url).path; | 12252 var path = (req.url).path; |
| 11906 var pathOffset = 0; | 12253 var pathOffset = 0; |
| 11907 var index; | 12254 var index; |
| 11908 var subPart; | 12255 var subPart; |
| 11909 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 12256 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 11910 pathOffset += 1; | 12257 pathOffset += 1; |
| 11911 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 12258 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 11912 pathOffset += 18; | 12259 pathOffset += 18; |
| 11913 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 12260 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 11914 pathOffset += 13; | 12261 pathOffset += 13; |
| 11915 index = path.indexOf("/accounts", pathOffset); | 12262 index = path.indexOf("/accounts", pathOffset); |
| 11916 unittest.expect(index >= 0, unittest.isTrue); | 12263 unittest.expect(index >= 0, unittest.isTrue); |
| 11917 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 12264 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 11918 pathOffset = index; | 12265 pathOffset = index; |
| 11919 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 12266 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 11920 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ
als("/accounts")); | 12267 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ
als("/accounts")); |
| 11921 pathOffset += 9; | 12268 pathOffset += 9; |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 11966 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 12313 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 11967 var obj = new api.Account.fromJson(json); | 12314 var obj = new api.Account.fromJson(json); |
| 11968 checkAccount(obj); | 12315 checkAccount(obj); |
| 11969 | 12316 |
| 11970 var path = (req.url).path; | 12317 var path = (req.url).path; |
| 11971 var pathOffset = 0; | 12318 var pathOffset = 0; |
| 11972 var index; | 12319 var index; |
| 11973 var subPart; | 12320 var subPart; |
| 11974 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 12321 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 11975 pathOffset += 1; | 12322 pathOffset += 1; |
| 11976 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 12323 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 11977 pathOffset += 18; | 12324 pathOffset += 18; |
| 11978 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 12325 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 11979 pathOffset += 13; | 12326 pathOffset += 13; |
| 11980 index = path.indexOf("/accounts", pathOffset); | 12327 index = path.indexOf("/accounts", pathOffset); |
| 11981 unittest.expect(index >= 0, unittest.isTrue); | 12328 unittest.expect(index >= 0, unittest.isTrue); |
| 11982 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 12329 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 11983 pathOffset = index; | 12330 pathOffset = index; |
| 11984 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 12331 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 11985 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ
als("/accounts")); | 12332 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ
als("/accounts")); |
| 11986 pathOffset += 9; | 12333 pathOffset += 9; |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 12024 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 12371 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 12025 var obj = new api.Account.fromJson(json); | 12372 var obj = new api.Account.fromJson(json); |
| 12026 checkAccount(obj); | 12373 checkAccount(obj); |
| 12027 | 12374 |
| 12028 var path = (req.url).path; | 12375 var path = (req.url).path; |
| 12029 var pathOffset = 0; | 12376 var pathOffset = 0; |
| 12030 var index; | 12377 var index; |
| 12031 var subPart; | 12378 var subPart; |
| 12032 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 12379 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 12033 pathOffset += 1; | 12380 pathOffset += 1; |
| 12034 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 12381 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 12035 pathOffset += 18; | 12382 pathOffset += 18; |
| 12036 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 12383 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 12037 pathOffset += 13; | 12384 pathOffset += 13; |
| 12038 index = path.indexOf("/accounts", pathOffset); | 12385 index = path.indexOf("/accounts", pathOffset); |
| 12039 unittest.expect(index >= 0, unittest.isTrue); | 12386 unittest.expect(index >= 0, unittest.isTrue); |
| 12040 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 12387 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 12041 pathOffset = index; | 12388 pathOffset = index; |
| 12042 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 12389 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 12043 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ
als("/accounts")); | 12390 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ
als("/accounts")); |
| 12044 pathOffset += 9; | 12391 pathOffset += 9; |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 12082 api.AdsResourceApi res = new api.DfareportingApi(mock).ads; | 12429 api.AdsResourceApi res = new api.DfareportingApi(mock).ads; |
| 12083 var arg_profileId = "foo"; | 12430 var arg_profileId = "foo"; |
| 12084 var arg_id = "foo"; | 12431 var arg_id = "foo"; |
| 12085 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 12432 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 12086 var path = (req.url).path; | 12433 var path = (req.url).path; |
| 12087 var pathOffset = 0; | 12434 var pathOffset = 0; |
| 12088 var index; | 12435 var index; |
| 12089 var subPart; | 12436 var subPart; |
| 12090 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 12437 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 12091 pathOffset += 1; | 12438 pathOffset += 1; |
| 12092 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 12439 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 12093 pathOffset += 18; | 12440 pathOffset += 18; |
| 12094 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 12441 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 12095 pathOffset += 13; | 12442 pathOffset += 13; |
| 12096 index = path.indexOf("/ads/", pathOffset); | 12443 index = path.indexOf("/ads/", pathOffset); |
| 12097 unittest.expect(index >= 0, unittest.isTrue); | 12444 unittest.expect(index >= 0, unittest.isTrue); |
| 12098 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 12445 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 12099 pathOffset = index; | 12446 pathOffset = index; |
| 12100 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 12447 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 12101 unittest.expect(path.substring(pathOffset, pathOffset + 5), unittest.equ
als("/ads/")); | 12448 unittest.expect(path.substring(pathOffset, pathOffset + 5), unittest.equ
als("/ads/")); |
| 12102 pathOffset += 5; | 12449 pathOffset += 5; |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 12142 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 12489 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 12143 var obj = new api.Ad.fromJson(json); | 12490 var obj = new api.Ad.fromJson(json); |
| 12144 checkAd(obj); | 12491 checkAd(obj); |
| 12145 | 12492 |
| 12146 var path = (req.url).path; | 12493 var path = (req.url).path; |
| 12147 var pathOffset = 0; | 12494 var pathOffset = 0; |
| 12148 var index; | 12495 var index; |
| 12149 var subPart; | 12496 var subPart; |
| 12150 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 12497 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 12151 pathOffset += 1; | 12498 pathOffset += 1; |
| 12152 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 12499 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 12153 pathOffset += 18; | 12500 pathOffset += 18; |
| 12154 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 12501 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 12155 pathOffset += 13; | 12502 pathOffset += 13; |
| 12156 index = path.indexOf("/ads", pathOffset); | 12503 index = path.indexOf("/ads", pathOffset); |
| 12157 unittest.expect(index >= 0, unittest.isTrue); | 12504 unittest.expect(index >= 0, unittest.isTrue); |
| 12158 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 12505 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 12159 pathOffset = index; | 12506 pathOffset = index; |
| 12160 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 12507 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 12161 unittest.expect(path.substring(pathOffset, pathOffset + 4), unittest.equ
als("/ads")); | 12508 unittest.expect(path.substring(pathOffset, pathOffset + 4), unittest.equ
als("/ads")); |
| 12162 pathOffset += 4; | 12509 pathOffset += 4; |
| (...skipping 28 matching lines...) Expand all Loading... |
| 12191 }); | 12538 }); |
| 12192 | 12539 |
| 12193 unittest.test("method--list", () { | 12540 unittest.test("method--list", () { |
| 12194 | 12541 |
| 12195 var mock = new HttpServerMock(); | 12542 var mock = new HttpServerMock(); |
| 12196 api.AdsResourceApi res = new api.DfareportingApi(mock).ads; | 12543 api.AdsResourceApi res = new api.DfareportingApi(mock).ads; |
| 12197 var arg_profileId = "foo"; | 12544 var arg_profileId = "foo"; |
| 12198 var arg_active = true; | 12545 var arg_active = true; |
| 12199 var arg_advertiserId = "foo"; | 12546 var arg_advertiserId = "foo"; |
| 12200 var arg_archived = true; | 12547 var arg_archived = true; |
| 12201 var arg_audienceSegmentIds = buildUnnamed1587(); | 12548 var arg_audienceSegmentIds = buildUnnamed2326(); |
| 12202 var arg_campaignIds = buildUnnamed1588(); | 12549 var arg_campaignIds = buildUnnamed2327(); |
| 12203 var arg_compatibility = "foo"; | 12550 var arg_compatibility = "foo"; |
| 12204 var arg_creativeIds = buildUnnamed1589(); | 12551 var arg_creativeIds = buildUnnamed2328(); |
| 12205 var arg_creativeOptimizationConfigurationIds = buildUnnamed1590(); | 12552 var arg_creativeOptimizationConfigurationIds = buildUnnamed2329(); |
| 12206 var arg_creativeType = "foo"; | 12553 var arg_creativeType = "foo"; |
| 12207 var arg_dynamicClickTracker = true; | 12554 var arg_dynamicClickTracker = true; |
| 12208 var arg_ids = buildUnnamed1591(); | 12555 var arg_ids = buildUnnamed2330(); |
| 12209 var arg_landingPageIds = buildUnnamed1592(); | 12556 var arg_landingPageIds = buildUnnamed2331(); |
| 12210 var arg_maxResults = 42; | 12557 var arg_maxResults = 42; |
| 12211 var arg_overriddenEventTagId = "foo"; | 12558 var arg_overriddenEventTagId = "foo"; |
| 12212 var arg_pageToken = "foo"; | 12559 var arg_pageToken = "foo"; |
| 12213 var arg_placementIds = buildUnnamed1593(); | 12560 var arg_placementIds = buildUnnamed2332(); |
| 12214 var arg_remarketingListIds = buildUnnamed1594(); | 12561 var arg_remarketingListIds = buildUnnamed2333(); |
| 12215 var arg_searchString = "foo"; | 12562 var arg_searchString = "foo"; |
| 12216 var arg_sizeIds = buildUnnamed1595(); | 12563 var arg_sizeIds = buildUnnamed2334(); |
| 12217 var arg_sortField = "foo"; | 12564 var arg_sortField = "foo"; |
| 12218 var arg_sortOrder = "foo"; | 12565 var arg_sortOrder = "foo"; |
| 12219 var arg_sslCompliant = true; | 12566 var arg_sslCompliant = true; |
| 12220 var arg_sslRequired = true; | 12567 var arg_sslRequired = true; |
| 12221 var arg_type = buildUnnamed1596(); | 12568 var arg_type = buildUnnamed2335(); |
| 12222 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 12569 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 12223 var path = (req.url).path; | 12570 var path = (req.url).path; |
| 12224 var pathOffset = 0; | 12571 var pathOffset = 0; |
| 12225 var index; | 12572 var index; |
| 12226 var subPart; | 12573 var subPart; |
| 12227 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 12574 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 12228 pathOffset += 1; | 12575 pathOffset += 1; |
| 12229 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 12576 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 12230 pathOffset += 18; | 12577 pathOffset += 18; |
| 12231 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 12578 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 12232 pathOffset += 13; | 12579 pathOffset += 13; |
| 12233 index = path.indexOf("/ads", pathOffset); | 12580 index = path.indexOf("/ads", pathOffset); |
| 12234 unittest.expect(index >= 0, unittest.isTrue); | 12581 unittest.expect(index >= 0, unittest.isTrue); |
| 12235 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 12582 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 12236 pathOffset = index; | 12583 pathOffset = index; |
| 12237 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 12584 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 12238 unittest.expect(path.substring(pathOffset, pathOffset + 4), unittest.equ
als("/ads")); | 12585 unittest.expect(path.substring(pathOffset, pathOffset + 4), unittest.equ
als("/ads")); |
| 12239 pathOffset += 4; | 12586 pathOffset += 4; |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 12301 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 12648 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 12302 var obj = new api.Ad.fromJson(json); | 12649 var obj = new api.Ad.fromJson(json); |
| 12303 checkAd(obj); | 12650 checkAd(obj); |
| 12304 | 12651 |
| 12305 var path = (req.url).path; | 12652 var path = (req.url).path; |
| 12306 var pathOffset = 0; | 12653 var pathOffset = 0; |
| 12307 var index; | 12654 var index; |
| 12308 var subPart; | 12655 var subPart; |
| 12309 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 12656 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 12310 pathOffset += 1; | 12657 pathOffset += 1; |
| 12311 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 12658 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 12312 pathOffset += 18; | 12659 pathOffset += 18; |
| 12313 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 12660 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 12314 pathOffset += 13; | 12661 pathOffset += 13; |
| 12315 index = path.indexOf("/ads", pathOffset); | 12662 index = path.indexOf("/ads", pathOffset); |
| 12316 unittest.expect(index >= 0, unittest.isTrue); | 12663 unittest.expect(index >= 0, unittest.isTrue); |
| 12317 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 12664 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 12318 pathOffset = index; | 12665 pathOffset = index; |
| 12319 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 12666 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 12320 unittest.expect(path.substring(pathOffset, pathOffset + 4), unittest.equ
als("/ads")); | 12667 unittest.expect(path.substring(pathOffset, pathOffset + 4), unittest.equ
als("/ads")); |
| 12321 pathOffset += 4; | 12668 pathOffset += 4; |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 12359 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 12706 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 12360 var obj = new api.Ad.fromJson(json); | 12707 var obj = new api.Ad.fromJson(json); |
| 12361 checkAd(obj); | 12708 checkAd(obj); |
| 12362 | 12709 |
| 12363 var path = (req.url).path; | 12710 var path = (req.url).path; |
| 12364 var pathOffset = 0; | 12711 var pathOffset = 0; |
| 12365 var index; | 12712 var index; |
| 12366 var subPart; | 12713 var subPart; |
| 12367 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 12714 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 12368 pathOffset += 1; | 12715 pathOffset += 1; |
| 12369 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 12716 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 12370 pathOffset += 18; | 12717 pathOffset += 18; |
| 12371 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 12718 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 12372 pathOffset += 13; | 12719 pathOffset += 13; |
| 12373 index = path.indexOf("/ads", pathOffset); | 12720 index = path.indexOf("/ads", pathOffset); |
| 12374 unittest.expect(index >= 0, unittest.isTrue); | 12721 unittest.expect(index >= 0, unittest.isTrue); |
| 12375 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 12722 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 12376 pathOffset = index; | 12723 pathOffset = index; |
| 12377 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 12724 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 12378 unittest.expect(path.substring(pathOffset, pathOffset + 4), unittest.equ
als("/ads")); | 12725 unittest.expect(path.substring(pathOffset, pathOffset + 4), unittest.equ
als("/ads")); |
| 12379 pathOffset += 4; | 12726 pathOffset += 4; |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 12417 api.AdvertiserGroupsResourceApi res = new api.DfareportingApi(mock).advert
iserGroups; | 12764 api.AdvertiserGroupsResourceApi res = new api.DfareportingApi(mock).advert
iserGroups; |
| 12418 var arg_profileId = "foo"; | 12765 var arg_profileId = "foo"; |
| 12419 var arg_id = "foo"; | 12766 var arg_id = "foo"; |
| 12420 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 12767 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 12421 var path = (req.url).path; | 12768 var path = (req.url).path; |
| 12422 var pathOffset = 0; | 12769 var pathOffset = 0; |
| 12423 var index; | 12770 var index; |
| 12424 var subPart; | 12771 var subPart; |
| 12425 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 12772 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 12426 pathOffset += 1; | 12773 pathOffset += 1; |
| 12427 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 12774 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 12428 pathOffset += 18; | 12775 pathOffset += 18; |
| 12429 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 12776 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 12430 pathOffset += 13; | 12777 pathOffset += 13; |
| 12431 index = path.indexOf("/advertiserGroups/", pathOffset); | 12778 index = path.indexOf("/advertiserGroups/", pathOffset); |
| 12432 unittest.expect(index >= 0, unittest.isTrue); | 12779 unittest.expect(index >= 0, unittest.isTrue); |
| 12433 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 12780 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 12434 pathOffset = index; | 12781 pathOffset = index; |
| 12435 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 12782 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 12436 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("/advertiserGroups/")); | 12783 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("/advertiserGroups/")); |
| 12437 pathOffset += 18; | 12784 pathOffset += 18; |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 12472 api.AdvertiserGroupsResourceApi res = new api.DfareportingApi(mock).advert
iserGroups; | 12819 api.AdvertiserGroupsResourceApi res = new api.DfareportingApi(mock).advert
iserGroups; |
| 12473 var arg_profileId = "foo"; | 12820 var arg_profileId = "foo"; |
| 12474 var arg_id = "foo"; | 12821 var arg_id = "foo"; |
| 12475 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 12822 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 12476 var path = (req.url).path; | 12823 var path = (req.url).path; |
| 12477 var pathOffset = 0; | 12824 var pathOffset = 0; |
| 12478 var index; | 12825 var index; |
| 12479 var subPart; | 12826 var subPart; |
| 12480 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 12827 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 12481 pathOffset += 1; | 12828 pathOffset += 1; |
| 12482 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 12829 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 12483 pathOffset += 18; | 12830 pathOffset += 18; |
| 12484 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 12831 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 12485 pathOffset += 13; | 12832 pathOffset += 13; |
| 12486 index = path.indexOf("/advertiserGroups/", pathOffset); | 12833 index = path.indexOf("/advertiserGroups/", pathOffset); |
| 12487 unittest.expect(index >= 0, unittest.isTrue); | 12834 unittest.expect(index >= 0, unittest.isTrue); |
| 12488 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 12835 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 12489 pathOffset = index; | 12836 pathOffset = index; |
| 12490 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 12837 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 12491 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("/advertiserGroups/")); | 12838 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("/advertiserGroups/")); |
| 12492 pathOffset += 18; | 12839 pathOffset += 18; |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 12532 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 12879 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 12533 var obj = new api.AdvertiserGroup.fromJson(json); | 12880 var obj = new api.AdvertiserGroup.fromJson(json); |
| 12534 checkAdvertiserGroup(obj); | 12881 checkAdvertiserGroup(obj); |
| 12535 | 12882 |
| 12536 var path = (req.url).path; | 12883 var path = (req.url).path; |
| 12537 var pathOffset = 0; | 12884 var pathOffset = 0; |
| 12538 var index; | 12885 var index; |
| 12539 var subPart; | 12886 var subPart; |
| 12540 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 12887 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 12541 pathOffset += 1; | 12888 pathOffset += 1; |
| 12542 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 12889 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 12543 pathOffset += 18; | 12890 pathOffset += 18; |
| 12544 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 12891 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 12545 pathOffset += 13; | 12892 pathOffset += 13; |
| 12546 index = path.indexOf("/advertiserGroups", pathOffset); | 12893 index = path.indexOf("/advertiserGroups", pathOffset); |
| 12547 unittest.expect(index >= 0, unittest.isTrue); | 12894 unittest.expect(index >= 0, unittest.isTrue); |
| 12548 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 12895 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 12549 pathOffset = index; | 12896 pathOffset = index; |
| 12550 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 12897 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 12551 unittest.expect(path.substring(pathOffset, pathOffset + 17), unittest.eq
uals("/advertiserGroups")); | 12898 unittest.expect(path.substring(pathOffset, pathOffset + 17), unittest.eq
uals("/advertiserGroups")); |
| 12552 pathOffset += 17; | 12899 pathOffset += 17; |
| (...skipping 25 matching lines...) Expand all Loading... |
| 12578 res.insert(arg_request, arg_profileId).then(unittest.expectAsync(((api.Adv
ertiserGroup response) { | 12925 res.insert(arg_request, arg_profileId).then(unittest.expectAsync(((api.Adv
ertiserGroup response) { |
| 12579 checkAdvertiserGroup(response); | 12926 checkAdvertiserGroup(response); |
| 12580 }))); | 12927 }))); |
| 12581 }); | 12928 }); |
| 12582 | 12929 |
| 12583 unittest.test("method--list", () { | 12930 unittest.test("method--list", () { |
| 12584 | 12931 |
| 12585 var mock = new HttpServerMock(); | 12932 var mock = new HttpServerMock(); |
| 12586 api.AdvertiserGroupsResourceApi res = new api.DfareportingApi(mock).advert
iserGroups; | 12933 api.AdvertiserGroupsResourceApi res = new api.DfareportingApi(mock).advert
iserGroups; |
| 12587 var arg_profileId = "foo"; | 12934 var arg_profileId = "foo"; |
| 12588 var arg_ids = buildUnnamed1597(); | 12935 var arg_ids = buildUnnamed2336(); |
| 12589 var arg_maxResults = 42; | 12936 var arg_maxResults = 42; |
| 12590 var arg_pageToken = "foo"; | 12937 var arg_pageToken = "foo"; |
| 12591 var arg_searchString = "foo"; | 12938 var arg_searchString = "foo"; |
| 12592 var arg_sortField = "foo"; | 12939 var arg_sortField = "foo"; |
| 12593 var arg_sortOrder = "foo"; | 12940 var arg_sortOrder = "foo"; |
| 12594 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 12941 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 12595 var path = (req.url).path; | 12942 var path = (req.url).path; |
| 12596 var pathOffset = 0; | 12943 var pathOffset = 0; |
| 12597 var index; | 12944 var index; |
| 12598 var subPart; | 12945 var subPart; |
| 12599 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 12946 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 12600 pathOffset += 1; | 12947 pathOffset += 1; |
| 12601 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 12948 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 12602 pathOffset += 18; | 12949 pathOffset += 18; |
| 12603 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 12950 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 12604 pathOffset += 13; | 12951 pathOffset += 13; |
| 12605 index = path.indexOf("/advertiserGroups", pathOffset); | 12952 index = path.indexOf("/advertiserGroups", pathOffset); |
| 12606 unittest.expect(index >= 0, unittest.isTrue); | 12953 unittest.expect(index >= 0, unittest.isTrue); |
| 12607 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 12954 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 12608 pathOffset = index; | 12955 pathOffset = index; |
| 12609 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 12956 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 12610 unittest.expect(path.substring(pathOffset, pathOffset + 17), unittest.eq
uals("/advertiserGroups")); | 12957 unittest.expect(path.substring(pathOffset, pathOffset + 17), unittest.eq
uals("/advertiserGroups")); |
| 12611 pathOffset += 17; | 12958 pathOffset += 17; |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 12655 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 13002 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 12656 var obj = new api.AdvertiserGroup.fromJson(json); | 13003 var obj = new api.AdvertiserGroup.fromJson(json); |
| 12657 checkAdvertiserGroup(obj); | 13004 checkAdvertiserGroup(obj); |
| 12658 | 13005 |
| 12659 var path = (req.url).path; | 13006 var path = (req.url).path; |
| 12660 var pathOffset = 0; | 13007 var pathOffset = 0; |
| 12661 var index; | 13008 var index; |
| 12662 var subPart; | 13009 var subPart; |
| 12663 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 13010 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 12664 pathOffset += 1; | 13011 pathOffset += 1; |
| 12665 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 13012 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 12666 pathOffset += 18; | 13013 pathOffset += 18; |
| 12667 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 13014 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 12668 pathOffset += 13; | 13015 pathOffset += 13; |
| 12669 index = path.indexOf("/advertiserGroups", pathOffset); | 13016 index = path.indexOf("/advertiserGroups", pathOffset); |
| 12670 unittest.expect(index >= 0, unittest.isTrue); | 13017 unittest.expect(index >= 0, unittest.isTrue); |
| 12671 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 13018 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 12672 pathOffset = index; | 13019 pathOffset = index; |
| 12673 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 13020 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 12674 unittest.expect(path.substring(pathOffset, pathOffset + 17), unittest.eq
uals("/advertiserGroups")); | 13021 unittest.expect(path.substring(pathOffset, pathOffset + 17), unittest.eq
uals("/advertiserGroups")); |
| 12675 pathOffset += 17; | 13022 pathOffset += 17; |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 12713 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 13060 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 12714 var obj = new api.AdvertiserGroup.fromJson(json); | 13061 var obj = new api.AdvertiserGroup.fromJson(json); |
| 12715 checkAdvertiserGroup(obj); | 13062 checkAdvertiserGroup(obj); |
| 12716 | 13063 |
| 12717 var path = (req.url).path; | 13064 var path = (req.url).path; |
| 12718 var pathOffset = 0; | 13065 var pathOffset = 0; |
| 12719 var index; | 13066 var index; |
| 12720 var subPart; | 13067 var subPart; |
| 12721 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 13068 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 12722 pathOffset += 1; | 13069 pathOffset += 1; |
| 12723 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 13070 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 12724 pathOffset += 18; | 13071 pathOffset += 18; |
| 12725 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 13072 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 12726 pathOffset += 13; | 13073 pathOffset += 13; |
| 12727 index = path.indexOf("/advertiserGroups", pathOffset); | 13074 index = path.indexOf("/advertiserGroups", pathOffset); |
| 12728 unittest.expect(index >= 0, unittest.isTrue); | 13075 unittest.expect(index >= 0, unittest.isTrue); |
| 12729 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 13076 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 12730 pathOffset = index; | 13077 pathOffset = index; |
| 12731 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 13078 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 12732 unittest.expect(path.substring(pathOffset, pathOffset + 17), unittest.eq
uals("/advertiserGroups")); | 13079 unittest.expect(path.substring(pathOffset, pathOffset + 17), unittest.eq
uals("/advertiserGroups")); |
| 12733 pathOffset += 17; | 13080 pathOffset += 17; |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 12771 api.AdvertisersResourceApi res = new api.DfareportingApi(mock).advertisers
; | 13118 api.AdvertisersResourceApi res = new api.DfareportingApi(mock).advertisers
; |
| 12772 var arg_profileId = "foo"; | 13119 var arg_profileId = "foo"; |
| 12773 var arg_id = "foo"; | 13120 var arg_id = "foo"; |
| 12774 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 13121 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 12775 var path = (req.url).path; | 13122 var path = (req.url).path; |
| 12776 var pathOffset = 0; | 13123 var pathOffset = 0; |
| 12777 var index; | 13124 var index; |
| 12778 var subPart; | 13125 var subPart; |
| 12779 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 13126 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 12780 pathOffset += 1; | 13127 pathOffset += 1; |
| 12781 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 13128 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 12782 pathOffset += 18; | 13129 pathOffset += 18; |
| 12783 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 13130 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 12784 pathOffset += 13; | 13131 pathOffset += 13; |
| 12785 index = path.indexOf("/advertisers/", pathOffset); | 13132 index = path.indexOf("/advertisers/", pathOffset); |
| 12786 unittest.expect(index >= 0, unittest.isTrue); | 13133 unittest.expect(index >= 0, unittest.isTrue); |
| 12787 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 13134 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 12788 pathOffset = index; | 13135 pathOffset = index; |
| 12789 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 13136 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 12790 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("/advertisers/")); | 13137 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("/advertisers/")); |
| 12791 pathOffset += 13; | 13138 pathOffset += 13; |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 12831 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 13178 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 12832 var obj = new api.Advertiser.fromJson(json); | 13179 var obj = new api.Advertiser.fromJson(json); |
| 12833 checkAdvertiser(obj); | 13180 checkAdvertiser(obj); |
| 12834 | 13181 |
| 12835 var path = (req.url).path; | 13182 var path = (req.url).path; |
| 12836 var pathOffset = 0; | 13183 var pathOffset = 0; |
| 12837 var index; | 13184 var index; |
| 12838 var subPart; | 13185 var subPart; |
| 12839 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 13186 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 12840 pathOffset += 1; | 13187 pathOffset += 1; |
| 12841 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 13188 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 12842 pathOffset += 18; | 13189 pathOffset += 18; |
| 12843 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 13190 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 12844 pathOffset += 13; | 13191 pathOffset += 13; |
| 12845 index = path.indexOf("/advertisers", pathOffset); | 13192 index = path.indexOf("/advertisers", pathOffset); |
| 12846 unittest.expect(index >= 0, unittest.isTrue); | 13193 unittest.expect(index >= 0, unittest.isTrue); |
| 12847 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 13194 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 12848 pathOffset = index; | 13195 pathOffset = index; |
| 12849 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 13196 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 12850 unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.eq
uals("/advertisers")); | 13197 unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.eq
uals("/advertisers")); |
| 12851 pathOffset += 12; | 13198 pathOffset += 12; |
| (...skipping 25 matching lines...) Expand all Loading... |
| 12877 res.insert(arg_request, arg_profileId).then(unittest.expectAsync(((api.Adv
ertiser response) { | 13224 res.insert(arg_request, arg_profileId).then(unittest.expectAsync(((api.Adv
ertiser response) { |
| 12878 checkAdvertiser(response); | 13225 checkAdvertiser(response); |
| 12879 }))); | 13226 }))); |
| 12880 }); | 13227 }); |
| 12881 | 13228 |
| 12882 unittest.test("method--list", () { | 13229 unittest.test("method--list", () { |
| 12883 | 13230 |
| 12884 var mock = new HttpServerMock(); | 13231 var mock = new HttpServerMock(); |
| 12885 api.AdvertisersResourceApi res = new api.DfareportingApi(mock).advertisers
; | 13232 api.AdvertisersResourceApi res = new api.DfareportingApi(mock).advertisers
; |
| 12886 var arg_profileId = "foo"; | 13233 var arg_profileId = "foo"; |
| 12887 var arg_advertiserGroupIds = buildUnnamed1598(); | 13234 var arg_advertiserGroupIds = buildUnnamed2337(); |
| 12888 var arg_floodlightConfigurationIds = buildUnnamed1599(); | 13235 var arg_floodlightConfigurationIds = buildUnnamed2338(); |
| 12889 var arg_ids = buildUnnamed1600(); | 13236 var arg_ids = buildUnnamed2339(); |
| 12890 var arg_includeAdvertisersWithoutGroupsOnly = true; | 13237 var arg_includeAdvertisersWithoutGroupsOnly = true; |
| 12891 var arg_maxResults = 42; | 13238 var arg_maxResults = 42; |
| 12892 var arg_onlyParent = true; | 13239 var arg_onlyParent = true; |
| 12893 var arg_pageToken = "foo"; | 13240 var arg_pageToken = "foo"; |
| 12894 var arg_searchString = "foo"; | 13241 var arg_searchString = "foo"; |
| 12895 var arg_sortField = "foo"; | 13242 var arg_sortField = "foo"; |
| 12896 var arg_sortOrder = "foo"; | 13243 var arg_sortOrder = "foo"; |
| 12897 var arg_status = "foo"; | 13244 var arg_status = "foo"; |
| 12898 var arg_subaccountId = "foo"; | 13245 var arg_subaccountId = "foo"; |
| 12899 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 13246 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 12900 var path = (req.url).path; | 13247 var path = (req.url).path; |
| 12901 var pathOffset = 0; | 13248 var pathOffset = 0; |
| 12902 var index; | 13249 var index; |
| 12903 var subPart; | 13250 var subPart; |
| 12904 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 13251 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 12905 pathOffset += 1; | 13252 pathOffset += 1; |
| 12906 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 13253 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 12907 pathOffset += 18; | 13254 pathOffset += 18; |
| 12908 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 13255 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 12909 pathOffset += 13; | 13256 pathOffset += 13; |
| 12910 index = path.indexOf("/advertisers", pathOffset); | 13257 index = path.indexOf("/advertisers", pathOffset); |
| 12911 unittest.expect(index >= 0, unittest.isTrue); | 13258 unittest.expect(index >= 0, unittest.isTrue); |
| 12912 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 13259 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 12913 pathOffset = index; | 13260 pathOffset = index; |
| 12914 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 13261 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 12915 unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.eq
uals("/advertisers")); | 13262 unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.eq
uals("/advertisers")); |
| 12916 pathOffset += 12; | 13263 pathOffset += 12; |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 12966 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 13313 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 12967 var obj = new api.Advertiser.fromJson(json); | 13314 var obj = new api.Advertiser.fromJson(json); |
| 12968 checkAdvertiser(obj); | 13315 checkAdvertiser(obj); |
| 12969 | 13316 |
| 12970 var path = (req.url).path; | 13317 var path = (req.url).path; |
| 12971 var pathOffset = 0; | 13318 var pathOffset = 0; |
| 12972 var index; | 13319 var index; |
| 12973 var subPart; | 13320 var subPart; |
| 12974 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 13321 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 12975 pathOffset += 1; | 13322 pathOffset += 1; |
| 12976 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 13323 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 12977 pathOffset += 18; | 13324 pathOffset += 18; |
| 12978 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 13325 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 12979 pathOffset += 13; | 13326 pathOffset += 13; |
| 12980 index = path.indexOf("/advertisers", pathOffset); | 13327 index = path.indexOf("/advertisers", pathOffset); |
| 12981 unittest.expect(index >= 0, unittest.isTrue); | 13328 unittest.expect(index >= 0, unittest.isTrue); |
| 12982 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 13329 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 12983 pathOffset = index; | 13330 pathOffset = index; |
| 12984 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 13331 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 12985 unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.eq
uals("/advertisers")); | 13332 unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.eq
uals("/advertisers")); |
| 12986 pathOffset += 12; | 13333 pathOffset += 12; |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 13024 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 13371 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 13025 var obj = new api.Advertiser.fromJson(json); | 13372 var obj = new api.Advertiser.fromJson(json); |
| 13026 checkAdvertiser(obj); | 13373 checkAdvertiser(obj); |
| 13027 | 13374 |
| 13028 var path = (req.url).path; | 13375 var path = (req.url).path; |
| 13029 var pathOffset = 0; | 13376 var pathOffset = 0; |
| 13030 var index; | 13377 var index; |
| 13031 var subPart; | 13378 var subPart; |
| 13032 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 13379 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 13033 pathOffset += 1; | 13380 pathOffset += 1; |
| 13034 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 13381 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 13035 pathOffset += 18; | 13382 pathOffset += 18; |
| 13036 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 13383 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 13037 pathOffset += 13; | 13384 pathOffset += 13; |
| 13038 index = path.indexOf("/advertisers", pathOffset); | 13385 index = path.indexOf("/advertisers", pathOffset); |
| 13039 unittest.expect(index >= 0, unittest.isTrue); | 13386 unittest.expect(index >= 0, unittest.isTrue); |
| 13040 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 13387 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 13041 pathOffset = index; | 13388 pathOffset = index; |
| 13042 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 13389 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 13043 unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.eq
uals("/advertisers")); | 13390 unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.eq
uals("/advertisers")); |
| 13044 pathOffset += 12; | 13391 pathOffset += 12; |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 13081 var mock = new HttpServerMock(); | 13428 var mock = new HttpServerMock(); |
| 13082 api.BrowsersResourceApi res = new api.DfareportingApi(mock).browsers; | 13429 api.BrowsersResourceApi res = new api.DfareportingApi(mock).browsers; |
| 13083 var arg_profileId = "foo"; | 13430 var arg_profileId = "foo"; |
| 13084 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 13431 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 13085 var path = (req.url).path; | 13432 var path = (req.url).path; |
| 13086 var pathOffset = 0; | 13433 var pathOffset = 0; |
| 13087 var index; | 13434 var index; |
| 13088 var subPart; | 13435 var subPart; |
| 13089 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 13436 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 13090 pathOffset += 1; | 13437 pathOffset += 1; |
| 13091 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 13438 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 13092 pathOffset += 18; | 13439 pathOffset += 18; |
| 13093 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 13440 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 13094 pathOffset += 13; | 13441 pathOffset += 13; |
| 13095 index = path.indexOf("/browsers", pathOffset); | 13442 index = path.indexOf("/browsers", pathOffset); |
| 13096 unittest.expect(index >= 0, unittest.isTrue); | 13443 unittest.expect(index >= 0, unittest.isTrue); |
| 13097 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 13444 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 13098 pathOffset = index; | 13445 pathOffset = index; |
| 13099 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 13446 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 13100 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ
als("/browsers")); | 13447 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ
als("/browsers")); |
| 13101 pathOffset += 9; | 13448 pathOffset += 9; |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 13143 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 13490 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 13144 var obj = new api.CampaignCreativeAssociation.fromJson(json); | 13491 var obj = new api.CampaignCreativeAssociation.fromJson(json); |
| 13145 checkCampaignCreativeAssociation(obj); | 13492 checkCampaignCreativeAssociation(obj); |
| 13146 | 13493 |
| 13147 var path = (req.url).path; | 13494 var path = (req.url).path; |
| 13148 var pathOffset = 0; | 13495 var pathOffset = 0; |
| 13149 var index; | 13496 var index; |
| 13150 var subPart; | 13497 var subPart; |
| 13151 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 13498 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 13152 pathOffset += 1; | 13499 pathOffset += 1; |
| 13153 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 13500 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 13154 pathOffset += 18; | 13501 pathOffset += 18; |
| 13155 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 13502 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 13156 pathOffset += 13; | 13503 pathOffset += 13; |
| 13157 index = path.indexOf("/campaigns/", pathOffset); | 13504 index = path.indexOf("/campaigns/", pathOffset); |
| 13158 unittest.expect(index >= 0, unittest.isTrue); | 13505 unittest.expect(index >= 0, unittest.isTrue); |
| 13159 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 13506 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 13160 pathOffset = index; | 13507 pathOffset = index; |
| 13161 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 13508 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 13162 unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.eq
uals("/campaigns/")); | 13509 unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.eq
uals("/campaigns/")); |
| 13163 pathOffset += 11; | 13510 pathOffset += 11; |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 13207 var arg_maxResults = 42; | 13554 var arg_maxResults = 42; |
| 13208 var arg_pageToken = "foo"; | 13555 var arg_pageToken = "foo"; |
| 13209 var arg_sortOrder = "foo"; | 13556 var arg_sortOrder = "foo"; |
| 13210 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 13557 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 13211 var path = (req.url).path; | 13558 var path = (req.url).path; |
| 13212 var pathOffset = 0; | 13559 var pathOffset = 0; |
| 13213 var index; | 13560 var index; |
| 13214 var subPart; | 13561 var subPart; |
| 13215 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 13562 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 13216 pathOffset += 1; | 13563 pathOffset += 1; |
| 13217 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 13564 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 13218 pathOffset += 18; | 13565 pathOffset += 18; |
| 13219 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 13566 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 13220 pathOffset += 13; | 13567 pathOffset += 13; |
| 13221 index = path.indexOf("/campaigns/", pathOffset); | 13568 index = path.indexOf("/campaigns/", pathOffset); |
| 13222 unittest.expect(index >= 0, unittest.isTrue); | 13569 unittest.expect(index >= 0, unittest.isTrue); |
| 13223 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 13570 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 13224 pathOffset = index; | 13571 pathOffset = index; |
| 13225 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 13572 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 13226 unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.eq
uals("/campaigns/")); | 13573 unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.eq
uals("/campaigns/")); |
| 13227 pathOffset += 11; | 13574 pathOffset += 11; |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 13275 api.CampaignsResourceApi res = new api.DfareportingApi(mock).campaigns; | 13622 api.CampaignsResourceApi res = new api.DfareportingApi(mock).campaigns; |
| 13276 var arg_profileId = "foo"; | 13623 var arg_profileId = "foo"; |
| 13277 var arg_id = "foo"; | 13624 var arg_id = "foo"; |
| 13278 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 13625 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 13279 var path = (req.url).path; | 13626 var path = (req.url).path; |
| 13280 var pathOffset = 0; | 13627 var pathOffset = 0; |
| 13281 var index; | 13628 var index; |
| 13282 var subPart; | 13629 var subPart; |
| 13283 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 13630 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 13284 pathOffset += 1; | 13631 pathOffset += 1; |
| 13285 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 13632 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 13286 pathOffset += 18; | 13633 pathOffset += 18; |
| 13287 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 13634 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 13288 pathOffset += 13; | 13635 pathOffset += 13; |
| 13289 index = path.indexOf("/campaigns/", pathOffset); | 13636 index = path.indexOf("/campaigns/", pathOffset); |
| 13290 unittest.expect(index >= 0, unittest.isTrue); | 13637 unittest.expect(index >= 0, unittest.isTrue); |
| 13291 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 13638 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 13292 pathOffset = index; | 13639 pathOffset = index; |
| 13293 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 13640 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 13294 unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.eq
uals("/campaigns/")); | 13641 unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.eq
uals("/campaigns/")); |
| 13295 pathOffset += 11; | 13642 pathOffset += 11; |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 13337 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 13684 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 13338 var obj = new api.Campaign.fromJson(json); | 13685 var obj = new api.Campaign.fromJson(json); |
| 13339 checkCampaign(obj); | 13686 checkCampaign(obj); |
| 13340 | 13687 |
| 13341 var path = (req.url).path; | 13688 var path = (req.url).path; |
| 13342 var pathOffset = 0; | 13689 var pathOffset = 0; |
| 13343 var index; | 13690 var index; |
| 13344 var subPart; | 13691 var subPart; |
| 13345 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 13692 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 13346 pathOffset += 1; | 13693 pathOffset += 1; |
| 13347 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 13694 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 13348 pathOffset += 18; | 13695 pathOffset += 18; |
| 13349 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 13696 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 13350 pathOffset += 13; | 13697 pathOffset += 13; |
| 13351 index = path.indexOf("/campaigns", pathOffset); | 13698 index = path.indexOf("/campaigns", pathOffset); |
| 13352 unittest.expect(index >= 0, unittest.isTrue); | 13699 unittest.expect(index >= 0, unittest.isTrue); |
| 13353 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 13700 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 13354 pathOffset = index; | 13701 pathOffset = index; |
| 13355 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 13702 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 13356 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("/campaigns")); | 13703 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("/campaigns")); |
| 13357 pathOffset += 10; | 13704 pathOffset += 10; |
| (...skipping 27 matching lines...) Expand all Loading... |
| 13385 res.insert(arg_request, arg_profileId, arg_defaultLandingPageName, arg_def
aultLandingPageUrl).then(unittest.expectAsync(((api.Campaign response) { | 13732 res.insert(arg_request, arg_profileId, arg_defaultLandingPageName, arg_def
aultLandingPageUrl).then(unittest.expectAsync(((api.Campaign response) { |
| 13386 checkCampaign(response); | 13733 checkCampaign(response); |
| 13387 }))); | 13734 }))); |
| 13388 }); | 13735 }); |
| 13389 | 13736 |
| 13390 unittest.test("method--list", () { | 13737 unittest.test("method--list", () { |
| 13391 | 13738 |
| 13392 var mock = new HttpServerMock(); | 13739 var mock = new HttpServerMock(); |
| 13393 api.CampaignsResourceApi res = new api.DfareportingApi(mock).campaigns; | 13740 api.CampaignsResourceApi res = new api.DfareportingApi(mock).campaigns; |
| 13394 var arg_profileId = "foo"; | 13741 var arg_profileId = "foo"; |
| 13395 var arg_advertiserGroupIds = buildUnnamed1601(); | 13742 var arg_advertiserGroupIds = buildUnnamed2340(); |
| 13396 var arg_advertiserIds = buildUnnamed1602(); | 13743 var arg_advertiserIds = buildUnnamed2341(); |
| 13397 var arg_archived = true; | 13744 var arg_archived = true; |
| 13398 var arg_atLeastOneOptimizationActivity = true; | 13745 var arg_atLeastOneOptimizationActivity = true; |
| 13399 var arg_excludedIds = buildUnnamed1603(); | 13746 var arg_excludedIds = buildUnnamed2342(); |
| 13400 var arg_ids = buildUnnamed1604(); | 13747 var arg_ids = buildUnnamed2343(); |
| 13401 var arg_maxResults = 42; | 13748 var arg_maxResults = 42; |
| 13402 var arg_overriddenEventTagId = "foo"; | 13749 var arg_overriddenEventTagId = "foo"; |
| 13403 var arg_pageToken = "foo"; | 13750 var arg_pageToken = "foo"; |
| 13404 var arg_searchString = "foo"; | 13751 var arg_searchString = "foo"; |
| 13405 var arg_sortField = "foo"; | 13752 var arg_sortField = "foo"; |
| 13406 var arg_sortOrder = "foo"; | 13753 var arg_sortOrder = "foo"; |
| 13407 var arg_subaccountId = "foo"; | 13754 var arg_subaccountId = "foo"; |
| 13408 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 13755 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 13409 var path = (req.url).path; | 13756 var path = (req.url).path; |
| 13410 var pathOffset = 0; | 13757 var pathOffset = 0; |
| 13411 var index; | 13758 var index; |
| 13412 var subPart; | 13759 var subPart; |
| 13413 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 13760 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 13414 pathOffset += 1; | 13761 pathOffset += 1; |
| 13415 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 13762 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 13416 pathOffset += 18; | 13763 pathOffset += 18; |
| 13417 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 13764 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 13418 pathOffset += 13; | 13765 pathOffset += 13; |
| 13419 index = path.indexOf("/campaigns", pathOffset); | 13766 index = path.indexOf("/campaigns", pathOffset); |
| 13420 unittest.expect(index >= 0, unittest.isTrue); | 13767 unittest.expect(index >= 0, unittest.isTrue); |
| 13421 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 13768 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 13422 pathOffset = index; | 13769 pathOffset = index; |
| 13423 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 13770 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 13424 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("/campaigns")); | 13771 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("/campaigns")); |
| 13425 pathOffset += 10; | 13772 pathOffset += 10; |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 13476 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 13823 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 13477 var obj = new api.Campaign.fromJson(json); | 13824 var obj = new api.Campaign.fromJson(json); |
| 13478 checkCampaign(obj); | 13825 checkCampaign(obj); |
| 13479 | 13826 |
| 13480 var path = (req.url).path; | 13827 var path = (req.url).path; |
| 13481 var pathOffset = 0; | 13828 var pathOffset = 0; |
| 13482 var index; | 13829 var index; |
| 13483 var subPart; | 13830 var subPart; |
| 13484 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 13831 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 13485 pathOffset += 1; | 13832 pathOffset += 1; |
| 13486 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 13833 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 13487 pathOffset += 18; | 13834 pathOffset += 18; |
| 13488 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 13835 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 13489 pathOffset += 13; | 13836 pathOffset += 13; |
| 13490 index = path.indexOf("/campaigns", pathOffset); | 13837 index = path.indexOf("/campaigns", pathOffset); |
| 13491 unittest.expect(index >= 0, unittest.isTrue); | 13838 unittest.expect(index >= 0, unittest.isTrue); |
| 13492 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 13839 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 13493 pathOffset = index; | 13840 pathOffset = index; |
| 13494 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 13841 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 13495 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("/campaigns")); | 13842 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("/campaigns")); |
| 13496 pathOffset += 10; | 13843 pathOffset += 10; |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 13534 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 13881 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 13535 var obj = new api.Campaign.fromJson(json); | 13882 var obj = new api.Campaign.fromJson(json); |
| 13536 checkCampaign(obj); | 13883 checkCampaign(obj); |
| 13537 | 13884 |
| 13538 var path = (req.url).path; | 13885 var path = (req.url).path; |
| 13539 var pathOffset = 0; | 13886 var pathOffset = 0; |
| 13540 var index; | 13887 var index; |
| 13541 var subPart; | 13888 var subPart; |
| 13542 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 13889 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 13543 pathOffset += 1; | 13890 pathOffset += 1; |
| 13544 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 13891 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 13545 pathOffset += 18; | 13892 pathOffset += 18; |
| 13546 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 13893 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 13547 pathOffset += 13; | 13894 pathOffset += 13; |
| 13548 index = path.indexOf("/campaigns", pathOffset); | 13895 index = path.indexOf("/campaigns", pathOffset); |
| 13549 unittest.expect(index >= 0, unittest.isTrue); | 13896 unittest.expect(index >= 0, unittest.isTrue); |
| 13550 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 13897 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 13551 pathOffset = index; | 13898 pathOffset = index; |
| 13552 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 13899 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 13553 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("/campaigns")); | 13900 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("/campaigns")); |
| 13554 pathOffset += 10; | 13901 pathOffset += 10; |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 13592 api.ChangeLogsResourceApi res = new api.DfareportingApi(mock).changeLogs; | 13939 api.ChangeLogsResourceApi res = new api.DfareportingApi(mock).changeLogs; |
| 13593 var arg_profileId = "foo"; | 13940 var arg_profileId = "foo"; |
| 13594 var arg_id = "foo"; | 13941 var arg_id = "foo"; |
| 13595 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 13942 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 13596 var path = (req.url).path; | 13943 var path = (req.url).path; |
| 13597 var pathOffset = 0; | 13944 var pathOffset = 0; |
| 13598 var index; | 13945 var index; |
| 13599 var subPart; | 13946 var subPart; |
| 13600 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 13947 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 13601 pathOffset += 1; | 13948 pathOffset += 1; |
| 13602 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 13949 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 13603 pathOffset += 18; | 13950 pathOffset += 18; |
| 13604 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 13951 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 13605 pathOffset += 13; | 13952 pathOffset += 13; |
| 13606 index = path.indexOf("/changeLogs/", pathOffset); | 13953 index = path.indexOf("/changeLogs/", pathOffset); |
| 13607 unittest.expect(index >= 0, unittest.isTrue); | 13954 unittest.expect(index >= 0, unittest.isTrue); |
| 13608 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 13955 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 13609 pathOffset = index; | 13956 pathOffset = index; |
| 13610 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 13957 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 13611 unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.eq
uals("/changeLogs/")); | 13958 unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.eq
uals("/changeLogs/")); |
| 13612 pathOffset += 12; | 13959 pathOffset += 12; |
| (...skipping 29 matching lines...) Expand all Loading... |
| 13642 checkChangeLog(response); | 13989 checkChangeLog(response); |
| 13643 }))); | 13990 }))); |
| 13644 }); | 13991 }); |
| 13645 | 13992 |
| 13646 unittest.test("method--list", () { | 13993 unittest.test("method--list", () { |
| 13647 | 13994 |
| 13648 var mock = new HttpServerMock(); | 13995 var mock = new HttpServerMock(); |
| 13649 api.ChangeLogsResourceApi res = new api.DfareportingApi(mock).changeLogs; | 13996 api.ChangeLogsResourceApi res = new api.DfareportingApi(mock).changeLogs; |
| 13650 var arg_profileId = "foo"; | 13997 var arg_profileId = "foo"; |
| 13651 var arg_action = "foo"; | 13998 var arg_action = "foo"; |
| 13652 var arg_ids = buildUnnamed1605(); | 13999 var arg_ids = buildUnnamed2344(); |
| 13653 var arg_maxChangeTime = "foo"; | 14000 var arg_maxChangeTime = "foo"; |
| 13654 var arg_maxResults = 42; | 14001 var arg_maxResults = 42; |
| 13655 var arg_minChangeTime = "foo"; | 14002 var arg_minChangeTime = "foo"; |
| 13656 var arg_objectIds = buildUnnamed1606(); | 14003 var arg_objectIds = buildUnnamed2345(); |
| 13657 var arg_objectType = "foo"; | 14004 var arg_objectType = "foo"; |
| 13658 var arg_pageToken = "foo"; | 14005 var arg_pageToken = "foo"; |
| 13659 var arg_searchString = "foo"; | 14006 var arg_searchString = "foo"; |
| 13660 var arg_userProfileIds = buildUnnamed1607(); | 14007 var arg_userProfileIds = buildUnnamed2346(); |
| 13661 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 14008 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 13662 var path = (req.url).path; | 14009 var path = (req.url).path; |
| 13663 var pathOffset = 0; | 14010 var pathOffset = 0; |
| 13664 var index; | 14011 var index; |
| 13665 var subPart; | 14012 var subPart; |
| 13666 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 14013 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 13667 pathOffset += 1; | 14014 pathOffset += 1; |
| 13668 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 14015 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 13669 pathOffset += 18; | 14016 pathOffset += 18; |
| 13670 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 14017 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 13671 pathOffset += 13; | 14018 pathOffset += 13; |
| 13672 index = path.indexOf("/changeLogs", pathOffset); | 14019 index = path.indexOf("/changeLogs", pathOffset); |
| 13673 unittest.expect(index >= 0, unittest.isTrue); | 14020 unittest.expect(index >= 0, unittest.isTrue); |
| 13674 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 14021 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 13675 pathOffset = index; | 14022 pathOffset = index; |
| 13676 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 14023 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 13677 unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.eq
uals("/changeLogs")); | 14024 unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.eq
uals("/changeLogs")); |
| 13678 pathOffset += 11; | 14025 pathOffset += 11; |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 13718 | 14065 |
| 13719 }); | 14066 }); |
| 13720 | 14067 |
| 13721 | 14068 |
| 13722 unittest.group("resource-CitiesResourceApi", () { | 14069 unittest.group("resource-CitiesResourceApi", () { |
| 13723 unittest.test("method--list", () { | 14070 unittest.test("method--list", () { |
| 13724 | 14071 |
| 13725 var mock = new HttpServerMock(); | 14072 var mock = new HttpServerMock(); |
| 13726 api.CitiesResourceApi res = new api.DfareportingApi(mock).cities; | 14073 api.CitiesResourceApi res = new api.DfareportingApi(mock).cities; |
| 13727 var arg_profileId = "foo"; | 14074 var arg_profileId = "foo"; |
| 13728 var arg_countryDartIds = buildUnnamed1608(); | 14075 var arg_countryDartIds = buildUnnamed2347(); |
| 13729 var arg_dartIds = buildUnnamed1609(); | 14076 var arg_dartIds = buildUnnamed2348(); |
| 13730 var arg_namePrefix = "foo"; | 14077 var arg_namePrefix = "foo"; |
| 13731 var arg_regionDartIds = buildUnnamed1610(); | 14078 var arg_regionDartIds = buildUnnamed2349(); |
| 13732 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 14079 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 13733 var path = (req.url).path; | 14080 var path = (req.url).path; |
| 13734 var pathOffset = 0; | 14081 var pathOffset = 0; |
| 13735 var index; | 14082 var index; |
| 13736 var subPart; | 14083 var subPart; |
| 13737 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 14084 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 13738 pathOffset += 1; | 14085 pathOffset += 1; |
| 13739 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 14086 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 13740 pathOffset += 18; | 14087 pathOffset += 18; |
| 13741 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 14088 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 13742 pathOffset += 13; | 14089 pathOffset += 13; |
| 13743 index = path.indexOf("/cities", pathOffset); | 14090 index = path.indexOf("/cities", pathOffset); |
| 13744 unittest.expect(index >= 0, unittest.isTrue); | 14091 unittest.expect(index >= 0, unittest.isTrue); |
| 13745 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 14092 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 13746 pathOffset = index; | 14093 pathOffset = index; |
| 13747 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 14094 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 13748 unittest.expect(path.substring(pathOffset, pathOffset + 7), unittest.equ
als("/cities")); | 14095 unittest.expect(path.substring(pathOffset, pathOffset + 7), unittest.equ
als("/cities")); |
| 13749 pathOffset += 7; | 14096 pathOffset += 7; |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 13791 api.ConnectionTypesResourceApi res = new api.DfareportingApi(mock).connect
ionTypes; | 14138 api.ConnectionTypesResourceApi res = new api.DfareportingApi(mock).connect
ionTypes; |
| 13792 var arg_profileId = "foo"; | 14139 var arg_profileId = "foo"; |
| 13793 var arg_id = "foo"; | 14140 var arg_id = "foo"; |
| 13794 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 14141 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 13795 var path = (req.url).path; | 14142 var path = (req.url).path; |
| 13796 var pathOffset = 0; | 14143 var pathOffset = 0; |
| 13797 var index; | 14144 var index; |
| 13798 var subPart; | 14145 var subPart; |
| 13799 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 14146 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 13800 pathOffset += 1; | 14147 pathOffset += 1; |
| 13801 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 14148 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 13802 pathOffset += 18; | 14149 pathOffset += 18; |
| 13803 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 14150 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 13804 pathOffset += 13; | 14151 pathOffset += 13; |
| 13805 index = path.indexOf("/connectionTypes/", pathOffset); | 14152 index = path.indexOf("/connectionTypes/", pathOffset); |
| 13806 unittest.expect(index >= 0, unittest.isTrue); | 14153 unittest.expect(index >= 0, unittest.isTrue); |
| 13807 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 14154 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 13808 pathOffset = index; | 14155 pathOffset = index; |
| 13809 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 14156 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 13810 unittest.expect(path.substring(pathOffset, pathOffset + 17), unittest.eq
uals("/connectionTypes/")); | 14157 unittest.expect(path.substring(pathOffset, pathOffset + 17), unittest.eq
uals("/connectionTypes/")); |
| 13811 pathOffset += 17; | 14158 pathOffset += 17; |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 13847 var mock = new HttpServerMock(); | 14194 var mock = new HttpServerMock(); |
| 13848 api.ConnectionTypesResourceApi res = new api.DfareportingApi(mock).connect
ionTypes; | 14195 api.ConnectionTypesResourceApi res = new api.DfareportingApi(mock).connect
ionTypes; |
| 13849 var arg_profileId = "foo"; | 14196 var arg_profileId = "foo"; |
| 13850 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 14197 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 13851 var path = (req.url).path; | 14198 var path = (req.url).path; |
| 13852 var pathOffset = 0; | 14199 var pathOffset = 0; |
| 13853 var index; | 14200 var index; |
| 13854 var subPart; | 14201 var subPart; |
| 13855 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 14202 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 13856 pathOffset += 1; | 14203 pathOffset += 1; |
| 13857 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 14204 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 13858 pathOffset += 18; | 14205 pathOffset += 18; |
| 13859 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 14206 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 13860 pathOffset += 13; | 14207 pathOffset += 13; |
| 13861 index = path.indexOf("/connectionTypes", pathOffset); | 14208 index = path.indexOf("/connectionTypes", pathOffset); |
| 13862 unittest.expect(index >= 0, unittest.isTrue); | 14209 unittest.expect(index >= 0, unittest.isTrue); |
| 13863 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 14210 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 13864 pathOffset = index; | 14211 pathOffset = index; |
| 13865 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 14212 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 13866 unittest.expect(path.substring(pathOffset, pathOffset + 16), unittest.eq
uals("/connectionTypes")); | 14213 unittest.expect(path.substring(pathOffset, pathOffset + 16), unittest.eq
uals("/connectionTypes")); |
| 13867 pathOffset += 16; | 14214 pathOffset += 16; |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 13905 api.ContentCategoriesResourceApi res = new api.DfareportingApi(mock).conte
ntCategories; | 14252 api.ContentCategoriesResourceApi res = new api.DfareportingApi(mock).conte
ntCategories; |
| 13906 var arg_profileId = "foo"; | 14253 var arg_profileId = "foo"; |
| 13907 var arg_id = "foo"; | 14254 var arg_id = "foo"; |
| 13908 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 14255 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 13909 var path = (req.url).path; | 14256 var path = (req.url).path; |
| 13910 var pathOffset = 0; | 14257 var pathOffset = 0; |
| 13911 var index; | 14258 var index; |
| 13912 var subPart; | 14259 var subPart; |
| 13913 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 14260 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 13914 pathOffset += 1; | 14261 pathOffset += 1; |
| 13915 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 14262 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 13916 pathOffset += 18; | 14263 pathOffset += 18; |
| 13917 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 14264 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 13918 pathOffset += 13; | 14265 pathOffset += 13; |
| 13919 index = path.indexOf("/contentCategories/", pathOffset); | 14266 index = path.indexOf("/contentCategories/", pathOffset); |
| 13920 unittest.expect(index >= 0, unittest.isTrue); | 14267 unittest.expect(index >= 0, unittest.isTrue); |
| 13921 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 14268 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 13922 pathOffset = index; | 14269 pathOffset = index; |
| 13923 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 14270 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 13924 unittest.expect(path.substring(pathOffset, pathOffset + 19), unittest.eq
uals("/contentCategories/")); | 14271 unittest.expect(path.substring(pathOffset, pathOffset + 19), unittest.eq
uals("/contentCategories/")); |
| 13925 pathOffset += 19; | 14272 pathOffset += 19; |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 13960 api.ContentCategoriesResourceApi res = new api.DfareportingApi(mock).conte
ntCategories; | 14307 api.ContentCategoriesResourceApi res = new api.DfareportingApi(mock).conte
ntCategories; |
| 13961 var arg_profileId = "foo"; | 14308 var arg_profileId = "foo"; |
| 13962 var arg_id = "foo"; | 14309 var arg_id = "foo"; |
| 13963 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 14310 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 13964 var path = (req.url).path; | 14311 var path = (req.url).path; |
| 13965 var pathOffset = 0; | 14312 var pathOffset = 0; |
| 13966 var index; | 14313 var index; |
| 13967 var subPart; | 14314 var subPart; |
| 13968 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 14315 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 13969 pathOffset += 1; | 14316 pathOffset += 1; |
| 13970 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 14317 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 13971 pathOffset += 18; | 14318 pathOffset += 18; |
| 13972 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 14319 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 13973 pathOffset += 13; | 14320 pathOffset += 13; |
| 13974 index = path.indexOf("/contentCategories/", pathOffset); | 14321 index = path.indexOf("/contentCategories/", pathOffset); |
| 13975 unittest.expect(index >= 0, unittest.isTrue); | 14322 unittest.expect(index >= 0, unittest.isTrue); |
| 13976 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 14323 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 13977 pathOffset = index; | 14324 pathOffset = index; |
| 13978 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 14325 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 13979 unittest.expect(path.substring(pathOffset, pathOffset + 19), unittest.eq
uals("/contentCategories/")); | 14326 unittest.expect(path.substring(pathOffset, pathOffset + 19), unittest.eq
uals("/contentCategories/")); |
| 13980 pathOffset += 19; | 14327 pathOffset += 19; |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 14020 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 14367 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 14021 var obj = new api.ContentCategory.fromJson(json); | 14368 var obj = new api.ContentCategory.fromJson(json); |
| 14022 checkContentCategory(obj); | 14369 checkContentCategory(obj); |
| 14023 | 14370 |
| 14024 var path = (req.url).path; | 14371 var path = (req.url).path; |
| 14025 var pathOffset = 0; | 14372 var pathOffset = 0; |
| 14026 var index; | 14373 var index; |
| 14027 var subPart; | 14374 var subPart; |
| 14028 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 14375 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 14029 pathOffset += 1; | 14376 pathOffset += 1; |
| 14030 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 14377 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 14031 pathOffset += 18; | 14378 pathOffset += 18; |
| 14032 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 14379 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 14033 pathOffset += 13; | 14380 pathOffset += 13; |
| 14034 index = path.indexOf("/contentCategories", pathOffset); | 14381 index = path.indexOf("/contentCategories", pathOffset); |
| 14035 unittest.expect(index >= 0, unittest.isTrue); | 14382 unittest.expect(index >= 0, unittest.isTrue); |
| 14036 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 14383 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 14037 pathOffset = index; | 14384 pathOffset = index; |
| 14038 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 14385 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 14039 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("/contentCategories")); | 14386 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("/contentCategories")); |
| 14040 pathOffset += 18; | 14387 pathOffset += 18; |
| (...skipping 25 matching lines...) Expand all Loading... |
| 14066 res.insert(arg_request, arg_profileId).then(unittest.expectAsync(((api.Con
tentCategory response) { | 14413 res.insert(arg_request, arg_profileId).then(unittest.expectAsync(((api.Con
tentCategory response) { |
| 14067 checkContentCategory(response); | 14414 checkContentCategory(response); |
| 14068 }))); | 14415 }))); |
| 14069 }); | 14416 }); |
| 14070 | 14417 |
| 14071 unittest.test("method--list", () { | 14418 unittest.test("method--list", () { |
| 14072 | 14419 |
| 14073 var mock = new HttpServerMock(); | 14420 var mock = new HttpServerMock(); |
| 14074 api.ContentCategoriesResourceApi res = new api.DfareportingApi(mock).conte
ntCategories; | 14421 api.ContentCategoriesResourceApi res = new api.DfareportingApi(mock).conte
ntCategories; |
| 14075 var arg_profileId = "foo"; | 14422 var arg_profileId = "foo"; |
| 14076 var arg_ids = buildUnnamed1611(); | 14423 var arg_ids = buildUnnamed2350(); |
| 14077 var arg_maxResults = 42; | 14424 var arg_maxResults = 42; |
| 14078 var arg_pageToken = "foo"; | 14425 var arg_pageToken = "foo"; |
| 14079 var arg_searchString = "foo"; | 14426 var arg_searchString = "foo"; |
| 14080 var arg_sortField = "foo"; | 14427 var arg_sortField = "foo"; |
| 14081 var arg_sortOrder = "foo"; | 14428 var arg_sortOrder = "foo"; |
| 14082 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 14429 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 14083 var path = (req.url).path; | 14430 var path = (req.url).path; |
| 14084 var pathOffset = 0; | 14431 var pathOffset = 0; |
| 14085 var index; | 14432 var index; |
| 14086 var subPart; | 14433 var subPart; |
| 14087 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 14434 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 14088 pathOffset += 1; | 14435 pathOffset += 1; |
| 14089 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 14436 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 14090 pathOffset += 18; | 14437 pathOffset += 18; |
| 14091 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 14438 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 14092 pathOffset += 13; | 14439 pathOffset += 13; |
| 14093 index = path.indexOf("/contentCategories", pathOffset); | 14440 index = path.indexOf("/contentCategories", pathOffset); |
| 14094 unittest.expect(index >= 0, unittest.isTrue); | 14441 unittest.expect(index >= 0, unittest.isTrue); |
| 14095 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 14442 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 14096 pathOffset = index; | 14443 pathOffset = index; |
| 14097 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 14444 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 14098 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("/contentCategories")); | 14445 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("/contentCategories")); |
| 14099 pathOffset += 18; | 14446 pathOffset += 18; |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 14143 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 14490 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 14144 var obj = new api.ContentCategory.fromJson(json); | 14491 var obj = new api.ContentCategory.fromJson(json); |
| 14145 checkContentCategory(obj); | 14492 checkContentCategory(obj); |
| 14146 | 14493 |
| 14147 var path = (req.url).path; | 14494 var path = (req.url).path; |
| 14148 var pathOffset = 0; | 14495 var pathOffset = 0; |
| 14149 var index; | 14496 var index; |
| 14150 var subPart; | 14497 var subPart; |
| 14151 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 14498 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 14152 pathOffset += 1; | 14499 pathOffset += 1; |
| 14153 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 14500 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 14154 pathOffset += 18; | 14501 pathOffset += 18; |
| 14155 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 14502 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 14156 pathOffset += 13; | 14503 pathOffset += 13; |
| 14157 index = path.indexOf("/contentCategories", pathOffset); | 14504 index = path.indexOf("/contentCategories", pathOffset); |
| 14158 unittest.expect(index >= 0, unittest.isTrue); | 14505 unittest.expect(index >= 0, unittest.isTrue); |
| 14159 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 14506 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 14160 pathOffset = index; | 14507 pathOffset = index; |
| 14161 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 14508 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 14162 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("/contentCategories")); | 14509 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("/contentCategories")); |
| 14163 pathOffset += 18; | 14510 pathOffset += 18; |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 14201 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 14548 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 14202 var obj = new api.ContentCategory.fromJson(json); | 14549 var obj = new api.ContentCategory.fromJson(json); |
| 14203 checkContentCategory(obj); | 14550 checkContentCategory(obj); |
| 14204 | 14551 |
| 14205 var path = (req.url).path; | 14552 var path = (req.url).path; |
| 14206 var pathOffset = 0; | 14553 var pathOffset = 0; |
| 14207 var index; | 14554 var index; |
| 14208 var subPart; | 14555 var subPart; |
| 14209 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 14556 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 14210 pathOffset += 1; | 14557 pathOffset += 1; |
| 14211 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 14558 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 14212 pathOffset += 18; | 14559 pathOffset += 18; |
| 14213 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 14560 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 14214 pathOffset += 13; | 14561 pathOffset += 13; |
| 14215 index = path.indexOf("/contentCategories", pathOffset); | 14562 index = path.indexOf("/contentCategories", pathOffset); |
| 14216 unittest.expect(index >= 0, unittest.isTrue); | 14563 unittest.expect(index >= 0, unittest.isTrue); |
| 14217 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 14564 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 14218 pathOffset = index; | 14565 pathOffset = index; |
| 14219 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 14566 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 14220 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("/contentCategories")); | 14567 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("/contentCategories")); |
| 14221 pathOffset += 18; | 14568 pathOffset += 18; |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 14262 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 14609 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 14263 var obj = new api.ConversionsBatchInsertRequest.fromJson(json); | 14610 var obj = new api.ConversionsBatchInsertRequest.fromJson(json); |
| 14264 checkConversionsBatchInsertRequest(obj); | 14611 checkConversionsBatchInsertRequest(obj); |
| 14265 | 14612 |
| 14266 var path = (req.url).path; | 14613 var path = (req.url).path; |
| 14267 var pathOffset = 0; | 14614 var pathOffset = 0; |
| 14268 var index; | 14615 var index; |
| 14269 var subPart; | 14616 var subPart; |
| 14270 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 14617 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 14271 pathOffset += 1; | 14618 pathOffset += 1; |
| 14272 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 14619 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 14273 pathOffset += 18; | 14620 pathOffset += 18; |
| 14274 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 14621 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 14275 pathOffset += 13; | 14622 pathOffset += 13; |
| 14276 index = path.indexOf("/conversions/batchinsert", pathOffset); | 14623 index = path.indexOf("/conversions/batchinsert", pathOffset); |
| 14277 unittest.expect(index >= 0, unittest.isTrue); | 14624 unittest.expect(index >= 0, unittest.isTrue); |
| 14278 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 14625 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 14279 pathOffset = index; | 14626 pathOffset = index; |
| 14280 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 14627 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 14281 unittest.expect(path.substring(pathOffset, pathOffset + 24), unittest.eq
uals("/conversions/batchinsert")); | 14628 unittest.expect(path.substring(pathOffset, pathOffset + 24), unittest.eq
uals("/conversions/batchinsert")); |
| 14282 pathOffset += 24; | 14629 pathOffset += 24; |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 14320 api.CountriesResourceApi res = new api.DfareportingApi(mock).countries; | 14667 api.CountriesResourceApi res = new api.DfareportingApi(mock).countries; |
| 14321 var arg_profileId = "foo"; | 14668 var arg_profileId = "foo"; |
| 14322 var arg_dartId = "foo"; | 14669 var arg_dartId = "foo"; |
| 14323 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 14670 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 14324 var path = (req.url).path; | 14671 var path = (req.url).path; |
| 14325 var pathOffset = 0; | 14672 var pathOffset = 0; |
| 14326 var index; | 14673 var index; |
| 14327 var subPart; | 14674 var subPart; |
| 14328 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 14675 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 14329 pathOffset += 1; | 14676 pathOffset += 1; |
| 14330 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 14677 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 14331 pathOffset += 18; | 14678 pathOffset += 18; |
| 14332 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 14679 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 14333 pathOffset += 13; | 14680 pathOffset += 13; |
| 14334 index = path.indexOf("/countries/", pathOffset); | 14681 index = path.indexOf("/countries/", pathOffset); |
| 14335 unittest.expect(index >= 0, unittest.isTrue); | 14682 unittest.expect(index >= 0, unittest.isTrue); |
| 14336 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 14683 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 14337 pathOffset = index; | 14684 pathOffset = index; |
| 14338 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 14685 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 14339 unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.eq
uals("/countries/")); | 14686 unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.eq
uals("/countries/")); |
| 14340 pathOffset += 11; | 14687 pathOffset += 11; |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 14376 var mock = new HttpServerMock(); | 14723 var mock = new HttpServerMock(); |
| 14377 api.CountriesResourceApi res = new api.DfareportingApi(mock).countries; | 14724 api.CountriesResourceApi res = new api.DfareportingApi(mock).countries; |
| 14378 var arg_profileId = "foo"; | 14725 var arg_profileId = "foo"; |
| 14379 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 14726 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 14380 var path = (req.url).path; | 14727 var path = (req.url).path; |
| 14381 var pathOffset = 0; | 14728 var pathOffset = 0; |
| 14382 var index; | 14729 var index; |
| 14383 var subPart; | 14730 var subPart; |
| 14384 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 14731 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 14385 pathOffset += 1; | 14732 pathOffset += 1; |
| 14386 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 14733 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 14387 pathOffset += 18; | 14734 pathOffset += 18; |
| 14388 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 14735 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 14389 pathOffset += 13; | 14736 pathOffset += 13; |
| 14390 index = path.indexOf("/countries", pathOffset); | 14737 index = path.indexOf("/countries", pathOffset); |
| 14391 unittest.expect(index >= 0, unittest.isTrue); | 14738 unittest.expect(index >= 0, unittest.isTrue); |
| 14392 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 14739 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 14393 pathOffset = index; | 14740 pathOffset = index; |
| 14394 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 14741 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 14395 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("/countries")); | 14742 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("/countries")); |
| 14396 pathOffset += 10; | 14743 pathOffset += 10; |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 14440 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 14787 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 14441 var obj = new api.CreativeAssetMetadata.fromJson(json); | 14788 var obj = new api.CreativeAssetMetadata.fromJson(json); |
| 14442 checkCreativeAssetMetadata(obj); | 14789 checkCreativeAssetMetadata(obj); |
| 14443 | 14790 |
| 14444 var path = (req.url).path; | 14791 var path = (req.url).path; |
| 14445 var pathOffset = 0; | 14792 var pathOffset = 0; |
| 14446 var index; | 14793 var index; |
| 14447 var subPart; | 14794 var subPart; |
| 14448 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 14795 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 14449 pathOffset += 1; | 14796 pathOffset += 1; |
| 14450 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 14797 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 14451 pathOffset += 18; | 14798 pathOffset += 18; |
| 14452 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 14799 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 14453 pathOffset += 13; | 14800 pathOffset += 13; |
| 14454 index = path.indexOf("/creativeAssets/", pathOffset); | 14801 index = path.indexOf("/creativeAssets/", pathOffset); |
| 14455 unittest.expect(index >= 0, unittest.isTrue); | 14802 unittest.expect(index >= 0, unittest.isTrue); |
| 14456 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 14803 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 14457 pathOffset = index; | 14804 pathOffset = index; |
| 14458 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 14805 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 14459 unittest.expect(path.substring(pathOffset, pathOffset + 16), unittest.eq
uals("/creativeAssets/")); | 14806 unittest.expect(path.substring(pathOffset, pathOffset + 16), unittest.eq
uals("/creativeAssets/")); |
| 14460 pathOffset += 16; | 14807 pathOffset += 16; |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 14506 var arg_profileId = "foo"; | 14853 var arg_profileId = "foo"; |
| 14507 var arg_creativeFieldId = "foo"; | 14854 var arg_creativeFieldId = "foo"; |
| 14508 var arg_id = "foo"; | 14855 var arg_id = "foo"; |
| 14509 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 14856 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 14510 var path = (req.url).path; | 14857 var path = (req.url).path; |
| 14511 var pathOffset = 0; | 14858 var pathOffset = 0; |
| 14512 var index; | 14859 var index; |
| 14513 var subPart; | 14860 var subPart; |
| 14514 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 14861 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 14515 pathOffset += 1; | 14862 pathOffset += 1; |
| 14516 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 14863 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 14517 pathOffset += 18; | 14864 pathOffset += 18; |
| 14518 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 14865 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 14519 pathOffset += 13; | 14866 pathOffset += 13; |
| 14520 index = path.indexOf("/creativeFields/", pathOffset); | 14867 index = path.indexOf("/creativeFields/", pathOffset); |
| 14521 unittest.expect(index >= 0, unittest.isTrue); | 14868 unittest.expect(index >= 0, unittest.isTrue); |
| 14522 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 14869 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 14523 pathOffset = index; | 14870 pathOffset = index; |
| 14524 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 14871 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 14525 unittest.expect(path.substring(pathOffset, pathOffset + 16), unittest.eq
uals("/creativeFields/")); | 14872 unittest.expect(path.substring(pathOffset, pathOffset + 16), unittest.eq
uals("/creativeFields/")); |
| 14526 pathOffset += 16; | 14873 pathOffset += 16; |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 14569 var arg_profileId = "foo"; | 14916 var arg_profileId = "foo"; |
| 14570 var arg_creativeFieldId = "foo"; | 14917 var arg_creativeFieldId = "foo"; |
| 14571 var arg_id = "foo"; | 14918 var arg_id = "foo"; |
| 14572 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 14919 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 14573 var path = (req.url).path; | 14920 var path = (req.url).path; |
| 14574 var pathOffset = 0; | 14921 var pathOffset = 0; |
| 14575 var index; | 14922 var index; |
| 14576 var subPart; | 14923 var subPart; |
| 14577 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 14924 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 14578 pathOffset += 1; | 14925 pathOffset += 1; |
| 14579 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 14926 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 14580 pathOffset += 18; | 14927 pathOffset += 18; |
| 14581 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 14928 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 14582 pathOffset += 13; | 14929 pathOffset += 13; |
| 14583 index = path.indexOf("/creativeFields/", pathOffset); | 14930 index = path.indexOf("/creativeFields/", pathOffset); |
| 14584 unittest.expect(index >= 0, unittest.isTrue); | 14931 unittest.expect(index >= 0, unittest.isTrue); |
| 14585 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 14932 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 14586 pathOffset = index; | 14933 pathOffset = index; |
| 14587 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 14934 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 14588 unittest.expect(path.substring(pathOffset, pathOffset + 16), unittest.eq
uals("/creativeFields/")); | 14935 unittest.expect(path.substring(pathOffset, pathOffset + 16), unittest.eq
uals("/creativeFields/")); |
| 14589 pathOffset += 16; | 14936 pathOffset += 16; |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 14637 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 14984 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 14638 var obj = new api.CreativeFieldValue.fromJson(json); | 14985 var obj = new api.CreativeFieldValue.fromJson(json); |
| 14639 checkCreativeFieldValue(obj); | 14986 checkCreativeFieldValue(obj); |
| 14640 | 14987 |
| 14641 var path = (req.url).path; | 14988 var path = (req.url).path; |
| 14642 var pathOffset = 0; | 14989 var pathOffset = 0; |
| 14643 var index; | 14990 var index; |
| 14644 var subPart; | 14991 var subPart; |
| 14645 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 14992 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 14646 pathOffset += 1; | 14993 pathOffset += 1; |
| 14647 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 14994 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 14648 pathOffset += 18; | 14995 pathOffset += 18; |
| 14649 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 14996 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 14650 pathOffset += 13; | 14997 pathOffset += 13; |
| 14651 index = path.indexOf("/creativeFields/", pathOffset); | 14998 index = path.indexOf("/creativeFields/", pathOffset); |
| 14652 unittest.expect(index >= 0, unittest.isTrue); | 14999 unittest.expect(index >= 0, unittest.isTrue); |
| 14653 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 15000 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 14654 pathOffset = index; | 15001 pathOffset = index; |
| 14655 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 15002 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 14656 unittest.expect(path.substring(pathOffset, pathOffset + 16), unittest.eq
uals("/creativeFields/")); | 15003 unittest.expect(path.substring(pathOffset, pathOffset + 16), unittest.eq
uals("/creativeFields/")); |
| 14657 pathOffset += 16; | 15004 pathOffset += 16; |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 14691 checkCreativeFieldValue(response); | 15038 checkCreativeFieldValue(response); |
| 14692 }))); | 15039 }))); |
| 14693 }); | 15040 }); |
| 14694 | 15041 |
| 14695 unittest.test("method--list", () { | 15042 unittest.test("method--list", () { |
| 14696 | 15043 |
| 14697 var mock = new HttpServerMock(); | 15044 var mock = new HttpServerMock(); |
| 14698 api.CreativeFieldValuesResourceApi res = new api.DfareportingApi(mock).cre
ativeFieldValues; | 15045 api.CreativeFieldValuesResourceApi res = new api.DfareportingApi(mock).cre
ativeFieldValues; |
| 14699 var arg_profileId = "foo"; | 15046 var arg_profileId = "foo"; |
| 14700 var arg_creativeFieldId = "foo"; | 15047 var arg_creativeFieldId = "foo"; |
| 14701 var arg_ids = buildUnnamed1612(); | 15048 var arg_ids = buildUnnamed2351(); |
| 14702 var arg_maxResults = 42; | 15049 var arg_maxResults = 42; |
| 14703 var arg_pageToken = "foo"; | 15050 var arg_pageToken = "foo"; |
| 14704 var arg_searchString = "foo"; | 15051 var arg_searchString = "foo"; |
| 14705 var arg_sortField = "foo"; | 15052 var arg_sortField = "foo"; |
| 14706 var arg_sortOrder = "foo"; | 15053 var arg_sortOrder = "foo"; |
| 14707 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 15054 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 14708 var path = (req.url).path; | 15055 var path = (req.url).path; |
| 14709 var pathOffset = 0; | 15056 var pathOffset = 0; |
| 14710 var index; | 15057 var index; |
| 14711 var subPart; | 15058 var subPart; |
| 14712 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 15059 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 14713 pathOffset += 1; | 15060 pathOffset += 1; |
| 14714 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 15061 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 14715 pathOffset += 18; | 15062 pathOffset += 18; |
| 14716 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 15063 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 14717 pathOffset += 13; | 15064 pathOffset += 13; |
| 14718 index = path.indexOf("/creativeFields/", pathOffset); | 15065 index = path.indexOf("/creativeFields/", pathOffset); |
| 14719 unittest.expect(index >= 0, unittest.isTrue); | 15066 unittest.expect(index >= 0, unittest.isTrue); |
| 14720 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 15067 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 14721 pathOffset = index; | 15068 pathOffset = index; |
| 14722 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 15069 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 14723 unittest.expect(path.substring(pathOffset, pathOffset + 16), unittest.eq
uals("/creativeFields/")); | 15070 unittest.expect(path.substring(pathOffset, pathOffset + 16), unittest.eq
uals("/creativeFields/")); |
| 14724 pathOffset += 16; | 15071 pathOffset += 16; |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 14776 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 15123 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 14777 var obj = new api.CreativeFieldValue.fromJson(json); | 15124 var obj = new api.CreativeFieldValue.fromJson(json); |
| 14778 checkCreativeFieldValue(obj); | 15125 checkCreativeFieldValue(obj); |
| 14779 | 15126 |
| 14780 var path = (req.url).path; | 15127 var path = (req.url).path; |
| 14781 var pathOffset = 0; | 15128 var pathOffset = 0; |
| 14782 var index; | 15129 var index; |
| 14783 var subPart; | 15130 var subPart; |
| 14784 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 15131 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 14785 pathOffset += 1; | 15132 pathOffset += 1; |
| 14786 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 15133 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 14787 pathOffset += 18; | 15134 pathOffset += 18; |
| 14788 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 15135 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 14789 pathOffset += 13; | 15136 pathOffset += 13; |
| 14790 index = path.indexOf("/creativeFields/", pathOffset); | 15137 index = path.indexOf("/creativeFields/", pathOffset); |
| 14791 unittest.expect(index >= 0, unittest.isTrue); | 15138 unittest.expect(index >= 0, unittest.isTrue); |
| 14792 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 15139 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 14793 pathOffset = index; | 15140 pathOffset = index; |
| 14794 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 15141 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 14795 unittest.expect(path.substring(pathOffset, pathOffset + 16), unittest.eq
uals("/creativeFields/")); | 15142 unittest.expect(path.substring(pathOffset, pathOffset + 16), unittest.eq
uals("/creativeFields/")); |
| 14796 pathOffset += 16; | 15143 pathOffset += 16; |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 14842 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 15189 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 14843 var obj = new api.CreativeFieldValue.fromJson(json); | 15190 var obj = new api.CreativeFieldValue.fromJson(json); |
| 14844 checkCreativeFieldValue(obj); | 15191 checkCreativeFieldValue(obj); |
| 14845 | 15192 |
| 14846 var path = (req.url).path; | 15193 var path = (req.url).path; |
| 14847 var pathOffset = 0; | 15194 var pathOffset = 0; |
| 14848 var index; | 15195 var index; |
| 14849 var subPart; | 15196 var subPart; |
| 14850 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 15197 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 14851 pathOffset += 1; | 15198 pathOffset += 1; |
| 14852 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 15199 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 14853 pathOffset += 18; | 15200 pathOffset += 18; |
| 14854 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 15201 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 14855 pathOffset += 13; | 15202 pathOffset += 13; |
| 14856 index = path.indexOf("/creativeFields/", pathOffset); | 15203 index = path.indexOf("/creativeFields/", pathOffset); |
| 14857 unittest.expect(index >= 0, unittest.isTrue); | 15204 unittest.expect(index >= 0, unittest.isTrue); |
| 14858 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 15205 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 14859 pathOffset = index; | 15206 pathOffset = index; |
| 14860 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 15207 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 14861 unittest.expect(path.substring(pathOffset, pathOffset + 16), unittest.eq
uals("/creativeFields/")); | 15208 unittest.expect(path.substring(pathOffset, pathOffset + 16), unittest.eq
uals("/creativeFields/")); |
| 14862 pathOffset += 16; | 15209 pathOffset += 16; |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 14907 api.CreativeFieldsResourceApi res = new api.DfareportingApi(mock).creative
Fields; | 15254 api.CreativeFieldsResourceApi res = new api.DfareportingApi(mock).creative
Fields; |
| 14908 var arg_profileId = "foo"; | 15255 var arg_profileId = "foo"; |
| 14909 var arg_id = "foo"; | 15256 var arg_id = "foo"; |
| 14910 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 15257 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 14911 var path = (req.url).path; | 15258 var path = (req.url).path; |
| 14912 var pathOffset = 0; | 15259 var pathOffset = 0; |
| 14913 var index; | 15260 var index; |
| 14914 var subPart; | 15261 var subPart; |
| 14915 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 15262 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 14916 pathOffset += 1; | 15263 pathOffset += 1; |
| 14917 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 15264 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 14918 pathOffset += 18; | 15265 pathOffset += 18; |
| 14919 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 15266 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 14920 pathOffset += 13; | 15267 pathOffset += 13; |
| 14921 index = path.indexOf("/creativeFields/", pathOffset); | 15268 index = path.indexOf("/creativeFields/", pathOffset); |
| 14922 unittest.expect(index >= 0, unittest.isTrue); | 15269 unittest.expect(index >= 0, unittest.isTrue); |
| 14923 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 15270 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 14924 pathOffset = index; | 15271 pathOffset = index; |
| 14925 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 15272 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 14926 unittest.expect(path.substring(pathOffset, pathOffset + 16), unittest.eq
uals("/creativeFields/")); | 15273 unittest.expect(path.substring(pathOffset, pathOffset + 16), unittest.eq
uals("/creativeFields/")); |
| 14927 pathOffset += 16; | 15274 pathOffset += 16; |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 14962 api.CreativeFieldsResourceApi res = new api.DfareportingApi(mock).creative
Fields; | 15309 api.CreativeFieldsResourceApi res = new api.DfareportingApi(mock).creative
Fields; |
| 14963 var arg_profileId = "foo"; | 15310 var arg_profileId = "foo"; |
| 14964 var arg_id = "foo"; | 15311 var arg_id = "foo"; |
| 14965 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 15312 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 14966 var path = (req.url).path; | 15313 var path = (req.url).path; |
| 14967 var pathOffset = 0; | 15314 var pathOffset = 0; |
| 14968 var index; | 15315 var index; |
| 14969 var subPart; | 15316 var subPart; |
| 14970 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 15317 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 14971 pathOffset += 1; | 15318 pathOffset += 1; |
| 14972 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 15319 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 14973 pathOffset += 18; | 15320 pathOffset += 18; |
| 14974 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 15321 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 14975 pathOffset += 13; | 15322 pathOffset += 13; |
| 14976 index = path.indexOf("/creativeFields/", pathOffset); | 15323 index = path.indexOf("/creativeFields/", pathOffset); |
| 14977 unittest.expect(index >= 0, unittest.isTrue); | 15324 unittest.expect(index >= 0, unittest.isTrue); |
| 14978 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 15325 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 14979 pathOffset = index; | 15326 pathOffset = index; |
| 14980 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 15327 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 14981 unittest.expect(path.substring(pathOffset, pathOffset + 16), unittest.eq
uals("/creativeFields/")); | 15328 unittest.expect(path.substring(pathOffset, pathOffset + 16), unittest.eq
uals("/creativeFields/")); |
| 14982 pathOffset += 16; | 15329 pathOffset += 16; |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 15022 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 15369 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 15023 var obj = new api.CreativeField.fromJson(json); | 15370 var obj = new api.CreativeField.fromJson(json); |
| 15024 checkCreativeField(obj); | 15371 checkCreativeField(obj); |
| 15025 | 15372 |
| 15026 var path = (req.url).path; | 15373 var path = (req.url).path; |
| 15027 var pathOffset = 0; | 15374 var pathOffset = 0; |
| 15028 var index; | 15375 var index; |
| 15029 var subPart; | 15376 var subPart; |
| 15030 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 15377 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 15031 pathOffset += 1; | 15378 pathOffset += 1; |
| 15032 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 15379 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 15033 pathOffset += 18; | 15380 pathOffset += 18; |
| 15034 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 15381 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 15035 pathOffset += 13; | 15382 pathOffset += 13; |
| 15036 index = path.indexOf("/creativeFields", pathOffset); | 15383 index = path.indexOf("/creativeFields", pathOffset); |
| 15037 unittest.expect(index >= 0, unittest.isTrue); | 15384 unittest.expect(index >= 0, unittest.isTrue); |
| 15038 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 15385 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 15039 pathOffset = index; | 15386 pathOffset = index; |
| 15040 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 15387 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 15041 unittest.expect(path.substring(pathOffset, pathOffset + 15), unittest.eq
uals("/creativeFields")); | 15388 unittest.expect(path.substring(pathOffset, pathOffset + 15), unittest.eq
uals("/creativeFields")); |
| 15042 pathOffset += 15; | 15389 pathOffset += 15; |
| (...skipping 25 matching lines...) Expand all Loading... |
| 15068 res.insert(arg_request, arg_profileId).then(unittest.expectAsync(((api.Cre
ativeField response) { | 15415 res.insert(arg_request, arg_profileId).then(unittest.expectAsync(((api.Cre
ativeField response) { |
| 15069 checkCreativeField(response); | 15416 checkCreativeField(response); |
| 15070 }))); | 15417 }))); |
| 15071 }); | 15418 }); |
| 15072 | 15419 |
| 15073 unittest.test("method--list", () { | 15420 unittest.test("method--list", () { |
| 15074 | 15421 |
| 15075 var mock = new HttpServerMock(); | 15422 var mock = new HttpServerMock(); |
| 15076 api.CreativeFieldsResourceApi res = new api.DfareportingApi(mock).creative
Fields; | 15423 api.CreativeFieldsResourceApi res = new api.DfareportingApi(mock).creative
Fields; |
| 15077 var arg_profileId = "foo"; | 15424 var arg_profileId = "foo"; |
| 15078 var arg_advertiserIds = buildUnnamed1613(); | 15425 var arg_advertiserIds = buildUnnamed2352(); |
| 15079 var arg_ids = buildUnnamed1614(); | 15426 var arg_ids = buildUnnamed2353(); |
| 15080 var arg_maxResults = 42; | 15427 var arg_maxResults = 42; |
| 15081 var arg_pageToken = "foo"; | 15428 var arg_pageToken = "foo"; |
| 15082 var arg_searchString = "foo"; | 15429 var arg_searchString = "foo"; |
| 15083 var arg_sortField = "foo"; | 15430 var arg_sortField = "foo"; |
| 15084 var arg_sortOrder = "foo"; | 15431 var arg_sortOrder = "foo"; |
| 15085 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 15432 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 15086 var path = (req.url).path; | 15433 var path = (req.url).path; |
| 15087 var pathOffset = 0; | 15434 var pathOffset = 0; |
| 15088 var index; | 15435 var index; |
| 15089 var subPart; | 15436 var subPart; |
| 15090 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 15437 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 15091 pathOffset += 1; | 15438 pathOffset += 1; |
| 15092 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 15439 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 15093 pathOffset += 18; | 15440 pathOffset += 18; |
| 15094 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 15441 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 15095 pathOffset += 13; | 15442 pathOffset += 13; |
| 15096 index = path.indexOf("/creativeFields", pathOffset); | 15443 index = path.indexOf("/creativeFields", pathOffset); |
| 15097 unittest.expect(index >= 0, unittest.isTrue); | 15444 unittest.expect(index >= 0, unittest.isTrue); |
| 15098 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 15445 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 15099 pathOffset = index; | 15446 pathOffset = index; |
| 15100 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 15447 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 15101 unittest.expect(path.substring(pathOffset, pathOffset + 15), unittest.eq
uals("/creativeFields")); | 15448 unittest.expect(path.substring(pathOffset, pathOffset + 15), unittest.eq
uals("/creativeFields")); |
| 15102 pathOffset += 15; | 15449 pathOffset += 15; |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 15147 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 15494 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 15148 var obj = new api.CreativeField.fromJson(json); | 15495 var obj = new api.CreativeField.fromJson(json); |
| 15149 checkCreativeField(obj); | 15496 checkCreativeField(obj); |
| 15150 | 15497 |
| 15151 var path = (req.url).path; | 15498 var path = (req.url).path; |
| 15152 var pathOffset = 0; | 15499 var pathOffset = 0; |
| 15153 var index; | 15500 var index; |
| 15154 var subPart; | 15501 var subPart; |
| 15155 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 15502 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 15156 pathOffset += 1; | 15503 pathOffset += 1; |
| 15157 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 15504 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 15158 pathOffset += 18; | 15505 pathOffset += 18; |
| 15159 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 15506 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 15160 pathOffset += 13; | 15507 pathOffset += 13; |
| 15161 index = path.indexOf("/creativeFields", pathOffset); | 15508 index = path.indexOf("/creativeFields", pathOffset); |
| 15162 unittest.expect(index >= 0, unittest.isTrue); | 15509 unittest.expect(index >= 0, unittest.isTrue); |
| 15163 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 15510 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 15164 pathOffset = index; | 15511 pathOffset = index; |
| 15165 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 15512 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 15166 unittest.expect(path.substring(pathOffset, pathOffset + 15), unittest.eq
uals("/creativeFields")); | 15513 unittest.expect(path.substring(pathOffset, pathOffset + 15), unittest.eq
uals("/creativeFields")); |
| 15167 pathOffset += 15; | 15514 pathOffset += 15; |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 15205 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 15552 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 15206 var obj = new api.CreativeField.fromJson(json); | 15553 var obj = new api.CreativeField.fromJson(json); |
| 15207 checkCreativeField(obj); | 15554 checkCreativeField(obj); |
| 15208 | 15555 |
| 15209 var path = (req.url).path; | 15556 var path = (req.url).path; |
| 15210 var pathOffset = 0; | 15557 var pathOffset = 0; |
| 15211 var index; | 15558 var index; |
| 15212 var subPart; | 15559 var subPart; |
| 15213 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 15560 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 15214 pathOffset += 1; | 15561 pathOffset += 1; |
| 15215 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 15562 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 15216 pathOffset += 18; | 15563 pathOffset += 18; |
| 15217 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 15564 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 15218 pathOffset += 13; | 15565 pathOffset += 13; |
| 15219 index = path.indexOf("/creativeFields", pathOffset); | 15566 index = path.indexOf("/creativeFields", pathOffset); |
| 15220 unittest.expect(index >= 0, unittest.isTrue); | 15567 unittest.expect(index >= 0, unittest.isTrue); |
| 15221 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 15568 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 15222 pathOffset = index; | 15569 pathOffset = index; |
| 15223 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 15570 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 15224 unittest.expect(path.substring(pathOffset, pathOffset + 15), unittest.eq
uals("/creativeFields")); | 15571 unittest.expect(path.substring(pathOffset, pathOffset + 15), unittest.eq
uals("/creativeFields")); |
| 15225 pathOffset += 15; | 15572 pathOffset += 15; |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 15263 api.CreativeGroupsResourceApi res = new api.DfareportingApi(mock).creative
Groups; | 15610 api.CreativeGroupsResourceApi res = new api.DfareportingApi(mock).creative
Groups; |
| 15264 var arg_profileId = "foo"; | 15611 var arg_profileId = "foo"; |
| 15265 var arg_id = "foo"; | 15612 var arg_id = "foo"; |
| 15266 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 15613 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 15267 var path = (req.url).path; | 15614 var path = (req.url).path; |
| 15268 var pathOffset = 0; | 15615 var pathOffset = 0; |
| 15269 var index; | 15616 var index; |
| 15270 var subPart; | 15617 var subPart; |
| 15271 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 15618 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 15272 pathOffset += 1; | 15619 pathOffset += 1; |
| 15273 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 15620 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 15274 pathOffset += 18; | 15621 pathOffset += 18; |
| 15275 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 15622 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 15276 pathOffset += 13; | 15623 pathOffset += 13; |
| 15277 index = path.indexOf("/creativeGroups/", pathOffset); | 15624 index = path.indexOf("/creativeGroups/", pathOffset); |
| 15278 unittest.expect(index >= 0, unittest.isTrue); | 15625 unittest.expect(index >= 0, unittest.isTrue); |
| 15279 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 15626 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 15280 pathOffset = index; | 15627 pathOffset = index; |
| 15281 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 15628 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 15282 unittest.expect(path.substring(pathOffset, pathOffset + 16), unittest.eq
uals("/creativeGroups/")); | 15629 unittest.expect(path.substring(pathOffset, pathOffset + 16), unittest.eq
uals("/creativeGroups/")); |
| 15283 pathOffset += 16; | 15630 pathOffset += 16; |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 15323 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 15670 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 15324 var obj = new api.CreativeGroup.fromJson(json); | 15671 var obj = new api.CreativeGroup.fromJson(json); |
| 15325 checkCreativeGroup(obj); | 15672 checkCreativeGroup(obj); |
| 15326 | 15673 |
| 15327 var path = (req.url).path; | 15674 var path = (req.url).path; |
| 15328 var pathOffset = 0; | 15675 var pathOffset = 0; |
| 15329 var index; | 15676 var index; |
| 15330 var subPart; | 15677 var subPart; |
| 15331 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 15678 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 15332 pathOffset += 1; | 15679 pathOffset += 1; |
| 15333 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 15680 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 15334 pathOffset += 18; | 15681 pathOffset += 18; |
| 15335 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 15682 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 15336 pathOffset += 13; | 15683 pathOffset += 13; |
| 15337 index = path.indexOf("/creativeGroups", pathOffset); | 15684 index = path.indexOf("/creativeGroups", pathOffset); |
| 15338 unittest.expect(index >= 0, unittest.isTrue); | 15685 unittest.expect(index >= 0, unittest.isTrue); |
| 15339 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 15686 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 15340 pathOffset = index; | 15687 pathOffset = index; |
| 15341 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 15688 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 15342 unittest.expect(path.substring(pathOffset, pathOffset + 15), unittest.eq
uals("/creativeGroups")); | 15689 unittest.expect(path.substring(pathOffset, pathOffset + 15), unittest.eq
uals("/creativeGroups")); |
| 15343 pathOffset += 15; | 15690 pathOffset += 15; |
| (...skipping 25 matching lines...) Expand all Loading... |
| 15369 res.insert(arg_request, arg_profileId).then(unittest.expectAsync(((api.Cre
ativeGroup response) { | 15716 res.insert(arg_request, arg_profileId).then(unittest.expectAsync(((api.Cre
ativeGroup response) { |
| 15370 checkCreativeGroup(response); | 15717 checkCreativeGroup(response); |
| 15371 }))); | 15718 }))); |
| 15372 }); | 15719 }); |
| 15373 | 15720 |
| 15374 unittest.test("method--list", () { | 15721 unittest.test("method--list", () { |
| 15375 | 15722 |
| 15376 var mock = new HttpServerMock(); | 15723 var mock = new HttpServerMock(); |
| 15377 api.CreativeGroupsResourceApi res = new api.DfareportingApi(mock).creative
Groups; | 15724 api.CreativeGroupsResourceApi res = new api.DfareportingApi(mock).creative
Groups; |
| 15378 var arg_profileId = "foo"; | 15725 var arg_profileId = "foo"; |
| 15379 var arg_advertiserIds = buildUnnamed1615(); | 15726 var arg_advertiserIds = buildUnnamed2354(); |
| 15380 var arg_groupNumber = 42; | 15727 var arg_groupNumber = 42; |
| 15381 var arg_ids = buildUnnamed1616(); | 15728 var arg_ids = buildUnnamed2355(); |
| 15382 var arg_maxResults = 42; | 15729 var arg_maxResults = 42; |
| 15383 var arg_pageToken = "foo"; | 15730 var arg_pageToken = "foo"; |
| 15384 var arg_searchString = "foo"; | 15731 var arg_searchString = "foo"; |
| 15385 var arg_sortField = "foo"; | 15732 var arg_sortField = "foo"; |
| 15386 var arg_sortOrder = "foo"; | 15733 var arg_sortOrder = "foo"; |
| 15387 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 15734 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 15388 var path = (req.url).path; | 15735 var path = (req.url).path; |
| 15389 var pathOffset = 0; | 15736 var pathOffset = 0; |
| 15390 var index; | 15737 var index; |
| 15391 var subPart; | 15738 var subPart; |
| 15392 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 15739 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 15393 pathOffset += 1; | 15740 pathOffset += 1; |
| 15394 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 15741 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 15395 pathOffset += 18; | 15742 pathOffset += 18; |
| 15396 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 15743 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 15397 pathOffset += 13; | 15744 pathOffset += 13; |
| 15398 index = path.indexOf("/creativeGroups", pathOffset); | 15745 index = path.indexOf("/creativeGroups", pathOffset); |
| 15399 unittest.expect(index >= 0, unittest.isTrue); | 15746 unittest.expect(index >= 0, unittest.isTrue); |
| 15400 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 15747 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 15401 pathOffset = index; | 15748 pathOffset = index; |
| 15402 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 15749 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 15403 unittest.expect(path.substring(pathOffset, pathOffset + 15), unittest.eq
uals("/creativeGroups")); | 15750 unittest.expect(path.substring(pathOffset, pathOffset + 15), unittest.eq
uals("/creativeGroups")); |
| 15404 pathOffset += 15; | 15751 pathOffset += 15; |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 15450 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 15797 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 15451 var obj = new api.CreativeGroup.fromJson(json); | 15798 var obj = new api.CreativeGroup.fromJson(json); |
| 15452 checkCreativeGroup(obj); | 15799 checkCreativeGroup(obj); |
| 15453 | 15800 |
| 15454 var path = (req.url).path; | 15801 var path = (req.url).path; |
| 15455 var pathOffset = 0; | 15802 var pathOffset = 0; |
| 15456 var index; | 15803 var index; |
| 15457 var subPart; | 15804 var subPart; |
| 15458 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 15805 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 15459 pathOffset += 1; | 15806 pathOffset += 1; |
| 15460 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 15807 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 15461 pathOffset += 18; | 15808 pathOffset += 18; |
| 15462 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 15809 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 15463 pathOffset += 13; | 15810 pathOffset += 13; |
| 15464 index = path.indexOf("/creativeGroups", pathOffset); | 15811 index = path.indexOf("/creativeGroups", pathOffset); |
| 15465 unittest.expect(index >= 0, unittest.isTrue); | 15812 unittest.expect(index >= 0, unittest.isTrue); |
| 15466 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 15813 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 15467 pathOffset = index; | 15814 pathOffset = index; |
| 15468 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 15815 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 15469 unittest.expect(path.substring(pathOffset, pathOffset + 15), unittest.eq
uals("/creativeGroups")); | 15816 unittest.expect(path.substring(pathOffset, pathOffset + 15), unittest.eq
uals("/creativeGroups")); |
| 15470 pathOffset += 15; | 15817 pathOffset += 15; |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 15508 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 15855 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 15509 var obj = new api.CreativeGroup.fromJson(json); | 15856 var obj = new api.CreativeGroup.fromJson(json); |
| 15510 checkCreativeGroup(obj); | 15857 checkCreativeGroup(obj); |
| 15511 | 15858 |
| 15512 var path = (req.url).path; | 15859 var path = (req.url).path; |
| 15513 var pathOffset = 0; | 15860 var pathOffset = 0; |
| 15514 var index; | 15861 var index; |
| 15515 var subPart; | 15862 var subPart; |
| 15516 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 15863 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 15517 pathOffset += 1; | 15864 pathOffset += 1; |
| 15518 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 15865 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 15519 pathOffset += 18; | 15866 pathOffset += 18; |
| 15520 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 15867 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 15521 pathOffset += 13; | 15868 pathOffset += 13; |
| 15522 index = path.indexOf("/creativeGroups", pathOffset); | 15869 index = path.indexOf("/creativeGroups", pathOffset); |
| 15523 unittest.expect(index >= 0, unittest.isTrue); | 15870 unittest.expect(index >= 0, unittest.isTrue); |
| 15524 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 15871 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 15525 pathOffset = index; | 15872 pathOffset = index; |
| 15526 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 15873 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 15527 unittest.expect(path.substring(pathOffset, pathOffset + 15), unittest.eq
uals("/creativeGroups")); | 15874 unittest.expect(path.substring(pathOffset, pathOffset + 15), unittest.eq
uals("/creativeGroups")); |
| 15528 pathOffset += 15; | 15875 pathOffset += 15; |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 15566 api.CreativesResourceApi res = new api.DfareportingApi(mock).creatives; | 15913 api.CreativesResourceApi res = new api.DfareportingApi(mock).creatives; |
| 15567 var arg_profileId = "foo"; | 15914 var arg_profileId = "foo"; |
| 15568 var arg_id = "foo"; | 15915 var arg_id = "foo"; |
| 15569 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 15916 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 15570 var path = (req.url).path; | 15917 var path = (req.url).path; |
| 15571 var pathOffset = 0; | 15918 var pathOffset = 0; |
| 15572 var index; | 15919 var index; |
| 15573 var subPart; | 15920 var subPart; |
| 15574 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 15921 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 15575 pathOffset += 1; | 15922 pathOffset += 1; |
| 15576 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 15923 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 15577 pathOffset += 18; | 15924 pathOffset += 18; |
| 15578 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 15925 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 15579 pathOffset += 13; | 15926 pathOffset += 13; |
| 15580 index = path.indexOf("/creatives/", pathOffset); | 15927 index = path.indexOf("/creatives/", pathOffset); |
| 15581 unittest.expect(index >= 0, unittest.isTrue); | 15928 unittest.expect(index >= 0, unittest.isTrue); |
| 15582 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 15929 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 15583 pathOffset = index; | 15930 pathOffset = index; |
| 15584 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 15931 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 15585 unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.eq
uals("/creatives/")); | 15932 unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.eq
uals("/creatives/")); |
| 15586 pathOffset += 11; | 15933 pathOffset += 11; |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 15626 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 15973 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 15627 var obj = new api.Creative.fromJson(json); | 15974 var obj = new api.Creative.fromJson(json); |
| 15628 checkCreative(obj); | 15975 checkCreative(obj); |
| 15629 | 15976 |
| 15630 var path = (req.url).path; | 15977 var path = (req.url).path; |
| 15631 var pathOffset = 0; | 15978 var pathOffset = 0; |
| 15632 var index; | 15979 var index; |
| 15633 var subPart; | 15980 var subPart; |
| 15634 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 15981 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 15635 pathOffset += 1; | 15982 pathOffset += 1; |
| 15636 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 15983 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 15637 pathOffset += 18; | 15984 pathOffset += 18; |
| 15638 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 15985 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 15639 pathOffset += 13; | 15986 pathOffset += 13; |
| 15640 index = path.indexOf("/creatives", pathOffset); | 15987 index = path.indexOf("/creatives", pathOffset); |
| 15641 unittest.expect(index >= 0, unittest.isTrue); | 15988 unittest.expect(index >= 0, unittest.isTrue); |
| 15642 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 15989 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 15643 pathOffset = index; | 15990 pathOffset = index; |
| 15644 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 15991 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 15645 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("/creatives")); | 15992 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("/creatives")); |
| 15646 pathOffset += 10; | 15993 pathOffset += 10; |
| (...skipping 29 matching lines...) Expand all Loading... |
| 15676 | 16023 |
| 15677 unittest.test("method--list", () { | 16024 unittest.test("method--list", () { |
| 15678 | 16025 |
| 15679 var mock = new HttpServerMock(); | 16026 var mock = new HttpServerMock(); |
| 15680 api.CreativesResourceApi res = new api.DfareportingApi(mock).creatives; | 16027 api.CreativesResourceApi res = new api.DfareportingApi(mock).creatives; |
| 15681 var arg_profileId = "foo"; | 16028 var arg_profileId = "foo"; |
| 15682 var arg_active = true; | 16029 var arg_active = true; |
| 15683 var arg_advertiserId = "foo"; | 16030 var arg_advertiserId = "foo"; |
| 15684 var arg_archived = true; | 16031 var arg_archived = true; |
| 15685 var arg_campaignId = "foo"; | 16032 var arg_campaignId = "foo"; |
| 15686 var arg_companionCreativeIds = buildUnnamed1617(); | 16033 var arg_companionCreativeIds = buildUnnamed2356(); |
| 15687 var arg_creativeFieldIds = buildUnnamed1618(); | 16034 var arg_creativeFieldIds = buildUnnamed2357(); |
| 15688 var arg_ids = buildUnnamed1619(); | 16035 var arg_ids = buildUnnamed2358(); |
| 15689 var arg_maxResults = 42; | 16036 var arg_maxResults = 42; |
| 15690 var arg_pageToken = "foo"; | 16037 var arg_pageToken = "foo"; |
| 15691 var arg_renderingIds = buildUnnamed1620(); | 16038 var arg_renderingIds = buildUnnamed2359(); |
| 15692 var arg_searchString = "foo"; | 16039 var arg_searchString = "foo"; |
| 15693 var arg_sizeIds = buildUnnamed1621(); | 16040 var arg_sizeIds = buildUnnamed2360(); |
| 15694 var arg_sortField = "foo"; | 16041 var arg_sortField = "foo"; |
| 15695 var arg_sortOrder = "foo"; | 16042 var arg_sortOrder = "foo"; |
| 15696 var arg_studioCreativeId = "foo"; | 16043 var arg_studioCreativeId = "foo"; |
| 15697 var arg_types = buildUnnamed1622(); | 16044 var arg_types = buildUnnamed2361(); |
| 15698 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 16045 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 15699 var path = (req.url).path; | 16046 var path = (req.url).path; |
| 15700 var pathOffset = 0; | 16047 var pathOffset = 0; |
| 15701 var index; | 16048 var index; |
| 15702 var subPart; | 16049 var subPart; |
| 15703 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 16050 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 15704 pathOffset += 1; | 16051 pathOffset += 1; |
| 15705 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 16052 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 15706 pathOffset += 18; | 16053 pathOffset += 18; |
| 15707 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 16054 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 15708 pathOffset += 13; | 16055 pathOffset += 13; |
| 15709 index = path.indexOf("/creatives", pathOffset); | 16056 index = path.indexOf("/creatives", pathOffset); |
| 15710 unittest.expect(index >= 0, unittest.isTrue); | 16057 unittest.expect(index >= 0, unittest.isTrue); |
| 15711 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 16058 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 15712 pathOffset = index; | 16059 pathOffset = index; |
| 15713 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 16060 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 15714 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("/creatives")); | 16061 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("/creatives")); |
| 15715 pathOffset += 10; | 16062 pathOffset += 10; |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 15769 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 16116 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 15770 var obj = new api.Creative.fromJson(json); | 16117 var obj = new api.Creative.fromJson(json); |
| 15771 checkCreative(obj); | 16118 checkCreative(obj); |
| 15772 | 16119 |
| 15773 var path = (req.url).path; | 16120 var path = (req.url).path; |
| 15774 var pathOffset = 0; | 16121 var pathOffset = 0; |
| 15775 var index; | 16122 var index; |
| 15776 var subPart; | 16123 var subPart; |
| 15777 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 16124 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 15778 pathOffset += 1; | 16125 pathOffset += 1; |
| 15779 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 16126 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 15780 pathOffset += 18; | 16127 pathOffset += 18; |
| 15781 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 16128 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 15782 pathOffset += 13; | 16129 pathOffset += 13; |
| 15783 index = path.indexOf("/creatives", pathOffset); | 16130 index = path.indexOf("/creatives", pathOffset); |
| 15784 unittest.expect(index >= 0, unittest.isTrue); | 16131 unittest.expect(index >= 0, unittest.isTrue); |
| 15785 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 16132 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 15786 pathOffset = index; | 16133 pathOffset = index; |
| 15787 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 16134 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 15788 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("/creatives")); | 16135 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("/creatives")); |
| 15789 pathOffset += 10; | 16136 pathOffset += 10; |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 15827 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 16174 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 15828 var obj = new api.Creative.fromJson(json); | 16175 var obj = new api.Creative.fromJson(json); |
| 15829 checkCreative(obj); | 16176 checkCreative(obj); |
| 15830 | 16177 |
| 15831 var path = (req.url).path; | 16178 var path = (req.url).path; |
| 15832 var pathOffset = 0; | 16179 var pathOffset = 0; |
| 15833 var index; | 16180 var index; |
| 15834 var subPart; | 16181 var subPart; |
| 15835 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 16182 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 15836 pathOffset += 1; | 16183 pathOffset += 1; |
| 15837 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 16184 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 15838 pathOffset += 18; | 16185 pathOffset += 18; |
| 15839 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 16186 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 15840 pathOffset += 13; | 16187 pathOffset += 13; |
| 15841 index = path.indexOf("/creatives", pathOffset); | 16188 index = path.indexOf("/creatives", pathOffset); |
| 15842 unittest.expect(index >= 0, unittest.isTrue); | 16189 unittest.expect(index >= 0, unittest.isTrue); |
| 15843 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 16190 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 15844 pathOffset = index; | 16191 pathOffset = index; |
| 15845 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 16192 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 15846 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("/creatives")); | 16193 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("/creatives")); |
| 15847 pathOffset += 10; | 16194 pathOffset += 10; |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 15890 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 16237 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 15891 var obj = new api.DimensionValueRequest.fromJson(json); | 16238 var obj = new api.DimensionValueRequest.fromJson(json); |
| 15892 checkDimensionValueRequest(obj); | 16239 checkDimensionValueRequest(obj); |
| 15893 | 16240 |
| 15894 var path = (req.url).path; | 16241 var path = (req.url).path; |
| 15895 var pathOffset = 0; | 16242 var pathOffset = 0; |
| 15896 var index; | 16243 var index; |
| 15897 var subPart; | 16244 var subPart; |
| 15898 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 16245 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 15899 pathOffset += 1; | 16246 pathOffset += 1; |
| 15900 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 16247 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 15901 pathOffset += 18; | 16248 pathOffset += 18; |
| 15902 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 16249 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 15903 pathOffset += 13; | 16250 pathOffset += 13; |
| 15904 index = path.indexOf("/dimensionvalues/query", pathOffset); | 16251 index = path.indexOf("/dimensionvalues/query", pathOffset); |
| 15905 unittest.expect(index >= 0, unittest.isTrue); | 16252 unittest.expect(index >= 0, unittest.isTrue); |
| 15906 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 16253 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 15907 pathOffset = index; | 16254 pathOffset = index; |
| 15908 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 16255 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 15909 unittest.expect(path.substring(pathOffset, pathOffset + 22), unittest.eq
uals("/dimensionvalues/query")); | 16256 unittest.expect(path.substring(pathOffset, pathOffset + 22), unittest.eq
uals("/dimensionvalues/query")); |
| 15910 pathOffset += 22; | 16257 pathOffset += 22; |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 15950 api.DirectorySiteContactsResourceApi res = new api.DfareportingApi(mock).d
irectorySiteContacts; | 16297 api.DirectorySiteContactsResourceApi res = new api.DfareportingApi(mock).d
irectorySiteContacts; |
| 15951 var arg_profileId = "foo"; | 16298 var arg_profileId = "foo"; |
| 15952 var arg_id = "foo"; | 16299 var arg_id = "foo"; |
| 15953 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 16300 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 15954 var path = (req.url).path; | 16301 var path = (req.url).path; |
| 15955 var pathOffset = 0; | 16302 var pathOffset = 0; |
| 15956 var index; | 16303 var index; |
| 15957 var subPart; | 16304 var subPart; |
| 15958 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 16305 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 15959 pathOffset += 1; | 16306 pathOffset += 1; |
| 15960 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 16307 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 15961 pathOffset += 18; | 16308 pathOffset += 18; |
| 15962 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 16309 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 15963 pathOffset += 13; | 16310 pathOffset += 13; |
| 15964 index = path.indexOf("/directorySiteContacts/", pathOffset); | 16311 index = path.indexOf("/directorySiteContacts/", pathOffset); |
| 15965 unittest.expect(index >= 0, unittest.isTrue); | 16312 unittest.expect(index >= 0, unittest.isTrue); |
| 15966 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 16313 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 15967 pathOffset = index; | 16314 pathOffset = index; |
| 15968 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 16315 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 15969 unittest.expect(path.substring(pathOffset, pathOffset + 23), unittest.eq
uals("/directorySiteContacts/")); | 16316 unittest.expect(path.substring(pathOffset, pathOffset + 23), unittest.eq
uals("/directorySiteContacts/")); |
| 15970 pathOffset += 23; | 16317 pathOffset += 23; |
| (...skipping 28 matching lines...) Expand all Loading... |
| 15999 res.get(arg_profileId, arg_id).then(unittest.expectAsync(((api.DirectorySi
teContact response) { | 16346 res.get(arg_profileId, arg_id).then(unittest.expectAsync(((api.DirectorySi
teContact response) { |
| 16000 checkDirectorySiteContact(response); | 16347 checkDirectorySiteContact(response); |
| 16001 }))); | 16348 }))); |
| 16002 }); | 16349 }); |
| 16003 | 16350 |
| 16004 unittest.test("method--list", () { | 16351 unittest.test("method--list", () { |
| 16005 | 16352 |
| 16006 var mock = new HttpServerMock(); | 16353 var mock = new HttpServerMock(); |
| 16007 api.DirectorySiteContactsResourceApi res = new api.DfareportingApi(mock).d
irectorySiteContacts; | 16354 api.DirectorySiteContactsResourceApi res = new api.DfareportingApi(mock).d
irectorySiteContacts; |
| 16008 var arg_profileId = "foo"; | 16355 var arg_profileId = "foo"; |
| 16009 var arg_directorySiteIds = buildUnnamed1623(); | 16356 var arg_directorySiteIds = buildUnnamed2362(); |
| 16010 var arg_ids = buildUnnamed1624(); | 16357 var arg_ids = buildUnnamed2363(); |
| 16011 var arg_maxResults = 42; | 16358 var arg_maxResults = 42; |
| 16012 var arg_pageToken = "foo"; | 16359 var arg_pageToken = "foo"; |
| 16013 var arg_searchString = "foo"; | 16360 var arg_searchString = "foo"; |
| 16014 var arg_sortField = "foo"; | 16361 var arg_sortField = "foo"; |
| 16015 var arg_sortOrder = "foo"; | 16362 var arg_sortOrder = "foo"; |
| 16016 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 16363 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 16017 var path = (req.url).path; | 16364 var path = (req.url).path; |
| 16018 var pathOffset = 0; | 16365 var pathOffset = 0; |
| 16019 var index; | 16366 var index; |
| 16020 var subPart; | 16367 var subPart; |
| 16021 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 16368 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 16022 pathOffset += 1; | 16369 pathOffset += 1; |
| 16023 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 16370 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 16024 pathOffset += 18; | 16371 pathOffset += 18; |
| 16025 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 16372 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 16026 pathOffset += 13; | 16373 pathOffset += 13; |
| 16027 index = path.indexOf("/directorySiteContacts", pathOffset); | 16374 index = path.indexOf("/directorySiteContacts", pathOffset); |
| 16028 unittest.expect(index >= 0, unittest.isTrue); | 16375 unittest.expect(index >= 0, unittest.isTrue); |
| 16029 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 16376 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 16030 pathOffset = index; | 16377 pathOffset = index; |
| 16031 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 16378 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 16032 unittest.expect(path.substring(pathOffset, pathOffset + 22), unittest.eq
uals("/directorySiteContacts")); | 16379 unittest.expect(path.substring(pathOffset, pathOffset + 22), unittest.eq
uals("/directorySiteContacts")); |
| 16033 pathOffset += 22; | 16380 pathOffset += 22; |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 16078 api.DirectorySitesResourceApi res = new api.DfareportingApi(mock).director
ySites; | 16425 api.DirectorySitesResourceApi res = new api.DfareportingApi(mock).director
ySites; |
| 16079 var arg_profileId = "foo"; | 16426 var arg_profileId = "foo"; |
| 16080 var arg_id = "foo"; | 16427 var arg_id = "foo"; |
| 16081 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 16428 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 16082 var path = (req.url).path; | 16429 var path = (req.url).path; |
| 16083 var pathOffset = 0; | 16430 var pathOffset = 0; |
| 16084 var index; | 16431 var index; |
| 16085 var subPart; | 16432 var subPart; |
| 16086 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 16433 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 16087 pathOffset += 1; | 16434 pathOffset += 1; |
| 16088 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 16435 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 16089 pathOffset += 18; | 16436 pathOffset += 18; |
| 16090 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 16437 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 16091 pathOffset += 13; | 16438 pathOffset += 13; |
| 16092 index = path.indexOf("/directorySites/", pathOffset); | 16439 index = path.indexOf("/directorySites/", pathOffset); |
| 16093 unittest.expect(index >= 0, unittest.isTrue); | 16440 unittest.expect(index >= 0, unittest.isTrue); |
| 16094 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 16441 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 16095 pathOffset = index; | 16442 pathOffset = index; |
| 16096 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 16443 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 16097 unittest.expect(path.substring(pathOffset, pathOffset + 16), unittest.eq
uals("/directorySites/")); | 16444 unittest.expect(path.substring(pathOffset, pathOffset + 16), unittest.eq
uals("/directorySites/")); |
| 16098 pathOffset += 16; | 16445 pathOffset += 16; |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 16138 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 16485 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 16139 var obj = new api.DirectorySite.fromJson(json); | 16486 var obj = new api.DirectorySite.fromJson(json); |
| 16140 checkDirectorySite(obj); | 16487 checkDirectorySite(obj); |
| 16141 | 16488 |
| 16142 var path = (req.url).path; | 16489 var path = (req.url).path; |
| 16143 var pathOffset = 0; | 16490 var pathOffset = 0; |
| 16144 var index; | 16491 var index; |
| 16145 var subPart; | 16492 var subPart; |
| 16146 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 16493 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 16147 pathOffset += 1; | 16494 pathOffset += 1; |
| 16148 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 16495 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 16149 pathOffset += 18; | 16496 pathOffset += 18; |
| 16150 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 16497 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 16151 pathOffset += 13; | 16498 pathOffset += 13; |
| 16152 index = path.indexOf("/directorySites", pathOffset); | 16499 index = path.indexOf("/directorySites", pathOffset); |
| 16153 unittest.expect(index >= 0, unittest.isTrue); | 16500 unittest.expect(index >= 0, unittest.isTrue); |
| 16154 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 16501 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 16155 pathOffset = index; | 16502 pathOffset = index; |
| 16156 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 16503 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 16157 unittest.expect(path.substring(pathOffset, pathOffset + 15), unittest.eq
uals("/directorySites")); | 16504 unittest.expect(path.substring(pathOffset, pathOffset + 15), unittest.eq
uals("/directorySites")); |
| 16158 pathOffset += 15; | 16505 pathOffset += 15; |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 16190 | 16537 |
| 16191 var mock = new HttpServerMock(); | 16538 var mock = new HttpServerMock(); |
| 16192 api.DirectorySitesResourceApi res = new api.DfareportingApi(mock).director
ySites; | 16539 api.DirectorySitesResourceApi res = new api.DfareportingApi(mock).director
ySites; |
| 16193 var arg_profileId = "foo"; | 16540 var arg_profileId = "foo"; |
| 16194 var arg_acceptsInStreamVideoPlacements = true; | 16541 var arg_acceptsInStreamVideoPlacements = true; |
| 16195 var arg_acceptsInterstitialPlacements = true; | 16542 var arg_acceptsInterstitialPlacements = true; |
| 16196 var arg_acceptsPublisherPaidPlacements = true; | 16543 var arg_acceptsPublisherPaidPlacements = true; |
| 16197 var arg_active = true; | 16544 var arg_active = true; |
| 16198 var arg_countryId = "foo"; | 16545 var arg_countryId = "foo"; |
| 16199 var arg_dfpNetworkCode = "foo"; | 16546 var arg_dfpNetworkCode = "foo"; |
| 16200 var arg_ids = buildUnnamed1625(); | 16547 var arg_ids = buildUnnamed2364(); |
| 16201 var arg_maxResults = 42; | 16548 var arg_maxResults = 42; |
| 16202 var arg_pageToken = "foo"; | 16549 var arg_pageToken = "foo"; |
| 16203 var arg_parentId = "foo"; | 16550 var arg_parentId = "foo"; |
| 16204 var arg_searchString = "foo"; | 16551 var arg_searchString = "foo"; |
| 16205 var arg_sortField = "foo"; | 16552 var arg_sortField = "foo"; |
| 16206 var arg_sortOrder = "foo"; | 16553 var arg_sortOrder = "foo"; |
| 16207 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 16554 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 16208 var path = (req.url).path; | 16555 var path = (req.url).path; |
| 16209 var pathOffset = 0; | 16556 var pathOffset = 0; |
| 16210 var index; | 16557 var index; |
| 16211 var subPart; | 16558 var subPart; |
| 16212 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 16559 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 16213 pathOffset += 1; | 16560 pathOffset += 1; |
| 16214 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 16561 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 16215 pathOffset += 18; | 16562 pathOffset += 18; |
| 16216 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 16563 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 16217 pathOffset += 13; | 16564 pathOffset += 13; |
| 16218 index = path.indexOf("/directorySites", pathOffset); | 16565 index = path.indexOf("/directorySites", pathOffset); |
| 16219 unittest.expect(index >= 0, unittest.isTrue); | 16566 unittest.expect(index >= 0, unittest.isTrue); |
| 16220 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 16567 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 16221 pathOffset = index; | 16568 pathOffset = index; |
| 16222 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 16569 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 16223 unittest.expect(path.substring(pathOffset, pathOffset + 15), unittest.eq
uals("/directorySites")); | 16570 unittest.expect(path.substring(pathOffset, pathOffset + 15), unittest.eq
uals("/directorySites")); |
| 16224 pathOffset += 15; | 16571 pathOffset += 15; |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 16277 var arg_objectId = "foo"; | 16624 var arg_objectId = "foo"; |
| 16278 var arg_name = "foo"; | 16625 var arg_name = "foo"; |
| 16279 var arg_objectType = "foo"; | 16626 var arg_objectType = "foo"; |
| 16280 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 16627 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 16281 var path = (req.url).path; | 16628 var path = (req.url).path; |
| 16282 var pathOffset = 0; | 16629 var pathOffset = 0; |
| 16283 var index; | 16630 var index; |
| 16284 var subPart; | 16631 var subPart; |
| 16285 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 16632 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 16286 pathOffset += 1; | 16633 pathOffset += 1; |
| 16287 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 16634 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 16288 pathOffset += 18; | 16635 pathOffset += 18; |
| 16289 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 16636 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 16290 pathOffset += 13; | 16637 pathOffset += 13; |
| 16291 index = path.indexOf("/dynamicTargetingKeys/", pathOffset); | 16638 index = path.indexOf("/dynamicTargetingKeys/", pathOffset); |
| 16292 unittest.expect(index >= 0, unittest.isTrue); | 16639 unittest.expect(index >= 0, unittest.isTrue); |
| 16293 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 16640 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 16294 pathOffset = index; | 16641 pathOffset = index; |
| 16295 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 16642 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 16296 unittest.expect(path.substring(pathOffset, pathOffset + 22), unittest.eq
uals("/dynamicTargetingKeys/")); | 16643 unittest.expect(path.substring(pathOffset, pathOffset + 22), unittest.eq
uals("/dynamicTargetingKeys/")); |
| 16297 pathOffset += 22; | 16644 pathOffset += 22; |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 16337 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 16684 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 16338 var obj = new api.DynamicTargetingKey.fromJson(json); | 16685 var obj = new api.DynamicTargetingKey.fromJson(json); |
| 16339 checkDynamicTargetingKey(obj); | 16686 checkDynamicTargetingKey(obj); |
| 16340 | 16687 |
| 16341 var path = (req.url).path; | 16688 var path = (req.url).path; |
| 16342 var pathOffset = 0; | 16689 var pathOffset = 0; |
| 16343 var index; | 16690 var index; |
| 16344 var subPart; | 16691 var subPart; |
| 16345 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 16692 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 16346 pathOffset += 1; | 16693 pathOffset += 1; |
| 16347 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 16694 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 16348 pathOffset += 18; | 16695 pathOffset += 18; |
| 16349 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 16696 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 16350 pathOffset += 13; | 16697 pathOffset += 13; |
| 16351 index = path.indexOf("/dynamicTargetingKeys", pathOffset); | 16698 index = path.indexOf("/dynamicTargetingKeys", pathOffset); |
| 16352 unittest.expect(index >= 0, unittest.isTrue); | 16699 unittest.expect(index >= 0, unittest.isTrue); |
| 16353 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 16700 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 16354 pathOffset = index; | 16701 pathOffset = index; |
| 16355 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 16702 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 16356 unittest.expect(path.substring(pathOffset, pathOffset + 21), unittest.eq
uals("/dynamicTargetingKeys")); | 16703 unittest.expect(path.substring(pathOffset, pathOffset + 21), unittest.eq
uals("/dynamicTargetingKeys")); |
| 16357 pathOffset += 21; | 16704 pathOffset += 21; |
| (...skipping 26 matching lines...) Expand all Loading... |
| 16384 checkDynamicTargetingKey(response); | 16731 checkDynamicTargetingKey(response); |
| 16385 }))); | 16732 }))); |
| 16386 }); | 16733 }); |
| 16387 | 16734 |
| 16388 unittest.test("method--list", () { | 16735 unittest.test("method--list", () { |
| 16389 | 16736 |
| 16390 var mock = new HttpServerMock(); | 16737 var mock = new HttpServerMock(); |
| 16391 api.DynamicTargetingKeysResourceApi res = new api.DfareportingApi(mock).dy
namicTargetingKeys; | 16738 api.DynamicTargetingKeysResourceApi res = new api.DfareportingApi(mock).dy
namicTargetingKeys; |
| 16392 var arg_profileId = "foo"; | 16739 var arg_profileId = "foo"; |
| 16393 var arg_advertiserId = "foo"; | 16740 var arg_advertiserId = "foo"; |
| 16394 var arg_names = buildUnnamed1626(); | 16741 var arg_names = buildUnnamed2365(); |
| 16395 var arg_objectId = "foo"; | 16742 var arg_objectId = "foo"; |
| 16396 var arg_objectType = "foo"; | 16743 var arg_objectType = "foo"; |
| 16397 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 16744 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 16398 var path = (req.url).path; | 16745 var path = (req.url).path; |
| 16399 var pathOffset = 0; | 16746 var pathOffset = 0; |
| 16400 var index; | 16747 var index; |
| 16401 var subPart; | 16748 var subPart; |
| 16402 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 16749 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 16403 pathOffset += 1; | 16750 pathOffset += 1; |
| 16404 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 16751 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 16405 pathOffset += 18; | 16752 pathOffset += 18; |
| 16406 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 16753 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 16407 pathOffset += 13; | 16754 pathOffset += 13; |
| 16408 index = path.indexOf("/dynamicTargetingKeys", pathOffset); | 16755 index = path.indexOf("/dynamicTargetingKeys", pathOffset); |
| 16409 unittest.expect(index >= 0, unittest.isTrue); | 16756 unittest.expect(index >= 0, unittest.isTrue); |
| 16410 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 16757 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 16411 pathOffset = index; | 16758 pathOffset = index; |
| 16412 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 16759 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 16413 unittest.expect(path.substring(pathOffset, pathOffset + 21), unittest.eq
uals("/dynamicTargetingKeys")); | 16760 unittest.expect(path.substring(pathOffset, pathOffset + 21), unittest.eq
uals("/dynamicTargetingKeys")); |
| 16414 pathOffset += 21; | 16761 pathOffset += 21; |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 16456 api.EventTagsResourceApi res = new api.DfareportingApi(mock).eventTags; | 16803 api.EventTagsResourceApi res = new api.DfareportingApi(mock).eventTags; |
| 16457 var arg_profileId = "foo"; | 16804 var arg_profileId = "foo"; |
| 16458 var arg_id = "foo"; | 16805 var arg_id = "foo"; |
| 16459 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 16806 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 16460 var path = (req.url).path; | 16807 var path = (req.url).path; |
| 16461 var pathOffset = 0; | 16808 var pathOffset = 0; |
| 16462 var index; | 16809 var index; |
| 16463 var subPart; | 16810 var subPart; |
| 16464 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 16811 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 16465 pathOffset += 1; | 16812 pathOffset += 1; |
| 16466 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 16813 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 16467 pathOffset += 18; | 16814 pathOffset += 18; |
| 16468 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 16815 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 16469 pathOffset += 13; | 16816 pathOffset += 13; |
| 16470 index = path.indexOf("/eventTags/", pathOffset); | 16817 index = path.indexOf("/eventTags/", pathOffset); |
| 16471 unittest.expect(index >= 0, unittest.isTrue); | 16818 unittest.expect(index >= 0, unittest.isTrue); |
| 16472 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 16819 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 16473 pathOffset = index; | 16820 pathOffset = index; |
| 16474 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 16821 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 16475 unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.eq
uals("/eventTags/")); | 16822 unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.eq
uals("/eventTags/")); |
| 16476 pathOffset += 11; | 16823 pathOffset += 11; |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 16511 api.EventTagsResourceApi res = new api.DfareportingApi(mock).eventTags; | 16858 api.EventTagsResourceApi res = new api.DfareportingApi(mock).eventTags; |
| 16512 var arg_profileId = "foo"; | 16859 var arg_profileId = "foo"; |
| 16513 var arg_id = "foo"; | 16860 var arg_id = "foo"; |
| 16514 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 16861 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 16515 var path = (req.url).path; | 16862 var path = (req.url).path; |
| 16516 var pathOffset = 0; | 16863 var pathOffset = 0; |
| 16517 var index; | 16864 var index; |
| 16518 var subPart; | 16865 var subPart; |
| 16519 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 16866 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 16520 pathOffset += 1; | 16867 pathOffset += 1; |
| 16521 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 16868 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 16522 pathOffset += 18; | 16869 pathOffset += 18; |
| 16523 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 16870 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 16524 pathOffset += 13; | 16871 pathOffset += 13; |
| 16525 index = path.indexOf("/eventTags/", pathOffset); | 16872 index = path.indexOf("/eventTags/", pathOffset); |
| 16526 unittest.expect(index >= 0, unittest.isTrue); | 16873 unittest.expect(index >= 0, unittest.isTrue); |
| 16527 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 16874 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 16528 pathOffset = index; | 16875 pathOffset = index; |
| 16529 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 16876 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 16530 unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.eq
uals("/eventTags/")); | 16877 unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.eq
uals("/eventTags/")); |
| 16531 pathOffset += 11; | 16878 pathOffset += 11; |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 16571 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 16918 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 16572 var obj = new api.EventTag.fromJson(json); | 16919 var obj = new api.EventTag.fromJson(json); |
| 16573 checkEventTag(obj); | 16920 checkEventTag(obj); |
| 16574 | 16921 |
| 16575 var path = (req.url).path; | 16922 var path = (req.url).path; |
| 16576 var pathOffset = 0; | 16923 var pathOffset = 0; |
| 16577 var index; | 16924 var index; |
| 16578 var subPart; | 16925 var subPart; |
| 16579 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 16926 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 16580 pathOffset += 1; | 16927 pathOffset += 1; |
| 16581 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 16928 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 16582 pathOffset += 18; | 16929 pathOffset += 18; |
| 16583 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 16930 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 16584 pathOffset += 13; | 16931 pathOffset += 13; |
| 16585 index = path.indexOf("/eventTags", pathOffset); | 16932 index = path.indexOf("/eventTags", pathOffset); |
| 16586 unittest.expect(index >= 0, unittest.isTrue); | 16933 unittest.expect(index >= 0, unittest.isTrue); |
| 16587 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 16934 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 16588 pathOffset = index; | 16935 pathOffset = index; |
| 16589 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 16936 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 16590 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("/eventTags")); | 16937 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("/eventTags")); |
| 16591 pathOffset += 10; | 16938 pathOffset += 10; |
| (...skipping 30 matching lines...) Expand all Loading... |
| 16622 unittest.test("method--list", () { | 16969 unittest.test("method--list", () { |
| 16623 | 16970 |
| 16624 var mock = new HttpServerMock(); | 16971 var mock = new HttpServerMock(); |
| 16625 api.EventTagsResourceApi res = new api.DfareportingApi(mock).eventTags; | 16972 api.EventTagsResourceApi res = new api.DfareportingApi(mock).eventTags; |
| 16626 var arg_profileId = "foo"; | 16973 var arg_profileId = "foo"; |
| 16627 var arg_adId = "foo"; | 16974 var arg_adId = "foo"; |
| 16628 var arg_advertiserId = "foo"; | 16975 var arg_advertiserId = "foo"; |
| 16629 var arg_campaignId = "foo"; | 16976 var arg_campaignId = "foo"; |
| 16630 var arg_definitionsOnly = true; | 16977 var arg_definitionsOnly = true; |
| 16631 var arg_enabled = true; | 16978 var arg_enabled = true; |
| 16632 var arg_eventTagTypes = buildUnnamed1627(); | 16979 var arg_eventTagTypes = buildUnnamed2366(); |
| 16633 var arg_ids = buildUnnamed1628(); | 16980 var arg_ids = buildUnnamed2367(); |
| 16634 var arg_searchString = "foo"; | 16981 var arg_searchString = "foo"; |
| 16635 var arg_sortField = "foo"; | 16982 var arg_sortField = "foo"; |
| 16636 var arg_sortOrder = "foo"; | 16983 var arg_sortOrder = "foo"; |
| 16637 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 16984 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 16638 var path = (req.url).path; | 16985 var path = (req.url).path; |
| 16639 var pathOffset = 0; | 16986 var pathOffset = 0; |
| 16640 var index; | 16987 var index; |
| 16641 var subPart; | 16988 var subPart; |
| 16642 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 16989 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 16643 pathOffset += 1; | 16990 pathOffset += 1; |
| 16644 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 16991 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 16645 pathOffset += 18; | 16992 pathOffset += 18; |
| 16646 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 16993 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 16647 pathOffset += 13; | 16994 pathOffset += 13; |
| 16648 index = path.indexOf("/eventTags", pathOffset); | 16995 index = path.indexOf("/eventTags", pathOffset); |
| 16649 unittest.expect(index >= 0, unittest.isTrue); | 16996 unittest.expect(index >= 0, unittest.isTrue); |
| 16650 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 16997 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 16651 pathOffset = index; | 16998 pathOffset = index; |
| 16652 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 16999 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 16653 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("/eventTags")); | 17000 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("/eventTags")); |
| 16654 pathOffset += 10; | 17001 pathOffset += 10; |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 16702 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 17049 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 16703 var obj = new api.EventTag.fromJson(json); | 17050 var obj = new api.EventTag.fromJson(json); |
| 16704 checkEventTag(obj); | 17051 checkEventTag(obj); |
| 16705 | 17052 |
| 16706 var path = (req.url).path; | 17053 var path = (req.url).path; |
| 16707 var pathOffset = 0; | 17054 var pathOffset = 0; |
| 16708 var index; | 17055 var index; |
| 16709 var subPart; | 17056 var subPart; |
| 16710 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 17057 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 16711 pathOffset += 1; | 17058 pathOffset += 1; |
| 16712 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 17059 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 16713 pathOffset += 18; | 17060 pathOffset += 18; |
| 16714 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 17061 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 16715 pathOffset += 13; | 17062 pathOffset += 13; |
| 16716 index = path.indexOf("/eventTags", pathOffset); | 17063 index = path.indexOf("/eventTags", pathOffset); |
| 16717 unittest.expect(index >= 0, unittest.isTrue); | 17064 unittest.expect(index >= 0, unittest.isTrue); |
| 16718 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 17065 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 16719 pathOffset = index; | 17066 pathOffset = index; |
| 16720 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 17067 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 16721 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("/eventTags")); | 17068 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("/eventTags")); |
| 16722 pathOffset += 10; | 17069 pathOffset += 10; |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 16760 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 17107 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 16761 var obj = new api.EventTag.fromJson(json); | 17108 var obj = new api.EventTag.fromJson(json); |
| 16762 checkEventTag(obj); | 17109 checkEventTag(obj); |
| 16763 | 17110 |
| 16764 var path = (req.url).path; | 17111 var path = (req.url).path; |
| 16765 var pathOffset = 0; | 17112 var pathOffset = 0; |
| 16766 var index; | 17113 var index; |
| 16767 var subPart; | 17114 var subPart; |
| 16768 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 17115 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 16769 pathOffset += 1; | 17116 pathOffset += 1; |
| 16770 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 17117 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 16771 pathOffset += 18; | 17118 pathOffset += 18; |
| 16772 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 17119 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 16773 pathOffset += 13; | 17120 pathOffset += 13; |
| 16774 index = path.indexOf("/eventTags", pathOffset); | 17121 index = path.indexOf("/eventTags", pathOffset); |
| 16775 unittest.expect(index >= 0, unittest.isTrue); | 17122 unittest.expect(index >= 0, unittest.isTrue); |
| 16776 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 17123 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 16777 pathOffset = index; | 17124 pathOffset = index; |
| 16778 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 17125 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 16779 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("/eventTags")); | 17126 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("/eventTags")); |
| 16780 pathOffset += 10; | 17127 pathOffset += 10; |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 16820 api.FilesResourceApi res = new api.DfareportingApi(mock).files; | 17167 api.FilesResourceApi res = new api.DfareportingApi(mock).files; |
| 16821 var arg_reportId = "foo"; | 17168 var arg_reportId = "foo"; |
| 16822 var arg_fileId = "foo"; | 17169 var arg_fileId = "foo"; |
| 16823 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 17170 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 16824 var path = (req.url).path; | 17171 var path = (req.url).path; |
| 16825 var pathOffset = 0; | 17172 var pathOffset = 0; |
| 16826 var index; | 17173 var index; |
| 16827 var subPart; | 17174 var subPart; |
| 16828 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 17175 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 16829 pathOffset += 1; | 17176 pathOffset += 1; |
| 16830 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 17177 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 16831 pathOffset += 18; | 17178 pathOffset += 18; |
| 16832 unittest.expect(path.substring(pathOffset, pathOffset + 8), unittest.equ
als("reports/")); | 17179 unittest.expect(path.substring(pathOffset, pathOffset + 8), unittest.equ
als("reports/")); |
| 16833 pathOffset += 8; | 17180 pathOffset += 8; |
| 16834 index = path.indexOf("/files/", pathOffset); | 17181 index = path.indexOf("/files/", pathOffset); |
| 16835 unittest.expect(index >= 0, unittest.isTrue); | 17182 unittest.expect(index >= 0, unittest.isTrue); |
| 16836 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 17183 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 16837 pathOffset = index; | 17184 pathOffset = index; |
| 16838 unittest.expect(subPart, unittest.equals("$arg_reportId")); | 17185 unittest.expect(subPart, unittest.equals("$arg_reportId")); |
| 16839 unittest.expect(path.substring(pathOffset, pathOffset + 7), unittest.equ
als("/files/")); | 17186 unittest.expect(path.substring(pathOffset, pathOffset + 7), unittest.equ
als("/files/")); |
| 16840 pathOffset += 7; | 17187 pathOffset += 7; |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 16881 var arg_scope = "foo"; | 17228 var arg_scope = "foo"; |
| 16882 var arg_sortField = "foo"; | 17229 var arg_sortField = "foo"; |
| 16883 var arg_sortOrder = "foo"; | 17230 var arg_sortOrder = "foo"; |
| 16884 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 17231 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 16885 var path = (req.url).path; | 17232 var path = (req.url).path; |
| 16886 var pathOffset = 0; | 17233 var pathOffset = 0; |
| 16887 var index; | 17234 var index; |
| 16888 var subPart; | 17235 var subPart; |
| 16889 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 17236 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 16890 pathOffset += 1; | 17237 pathOffset += 1; |
| 16891 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 17238 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 16892 pathOffset += 18; | 17239 pathOffset += 18; |
| 16893 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 17240 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 16894 pathOffset += 13; | 17241 pathOffset += 13; |
| 16895 index = path.indexOf("/files", pathOffset); | 17242 index = path.indexOf("/files", pathOffset); |
| 16896 unittest.expect(index >= 0, unittest.isTrue); | 17243 unittest.expect(index >= 0, unittest.isTrue); |
| 16897 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 17244 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 16898 pathOffset = index; | 17245 pathOffset = index; |
| 16899 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 17246 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 16900 unittest.expect(path.substring(pathOffset, pathOffset + 6), unittest.equ
als("/files")); | 17247 unittest.expect(path.substring(pathOffset, pathOffset + 6), unittest.equ
als("/files")); |
| 16901 pathOffset += 6; | 17248 pathOffset += 6; |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 16944 api.FloodlightActivitiesResourceApi res = new api.DfareportingApi(mock).fl
oodlightActivities; | 17291 api.FloodlightActivitiesResourceApi res = new api.DfareportingApi(mock).fl
oodlightActivities; |
| 16945 var arg_profileId = "foo"; | 17292 var arg_profileId = "foo"; |
| 16946 var arg_id = "foo"; | 17293 var arg_id = "foo"; |
| 16947 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 17294 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 16948 var path = (req.url).path; | 17295 var path = (req.url).path; |
| 16949 var pathOffset = 0; | 17296 var pathOffset = 0; |
| 16950 var index; | 17297 var index; |
| 16951 var subPart; | 17298 var subPart; |
| 16952 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 17299 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 16953 pathOffset += 1; | 17300 pathOffset += 1; |
| 16954 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 17301 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 16955 pathOffset += 18; | 17302 pathOffset += 18; |
| 16956 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 17303 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 16957 pathOffset += 13; | 17304 pathOffset += 13; |
| 16958 index = path.indexOf("/floodlightActivities/", pathOffset); | 17305 index = path.indexOf("/floodlightActivities/", pathOffset); |
| 16959 unittest.expect(index >= 0, unittest.isTrue); | 17306 unittest.expect(index >= 0, unittest.isTrue); |
| 16960 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 17307 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 16961 pathOffset = index; | 17308 pathOffset = index; |
| 16962 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 17309 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 16963 unittest.expect(path.substring(pathOffset, pathOffset + 22), unittest.eq
uals("/floodlightActivities/")); | 17310 unittest.expect(path.substring(pathOffset, pathOffset + 22), unittest.eq
uals("/floodlightActivities/")); |
| 16964 pathOffset += 22; | 17311 pathOffset += 22; |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 16999 api.FloodlightActivitiesResourceApi res = new api.DfareportingApi(mock).fl
oodlightActivities; | 17346 api.FloodlightActivitiesResourceApi res = new api.DfareportingApi(mock).fl
oodlightActivities; |
| 17000 var arg_profileId = "foo"; | 17347 var arg_profileId = "foo"; |
| 17001 var arg_floodlightActivityId = "foo"; | 17348 var arg_floodlightActivityId = "foo"; |
| 17002 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 17349 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 17003 var path = (req.url).path; | 17350 var path = (req.url).path; |
| 17004 var pathOffset = 0; | 17351 var pathOffset = 0; |
| 17005 var index; | 17352 var index; |
| 17006 var subPart; | 17353 var subPart; |
| 17007 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 17354 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 17008 pathOffset += 1; | 17355 pathOffset += 1; |
| 17009 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 17356 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 17010 pathOffset += 18; | 17357 pathOffset += 18; |
| 17011 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 17358 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 17012 pathOffset += 13; | 17359 pathOffset += 13; |
| 17013 index = path.indexOf("/floodlightActivities/generatetag", pathOffset); | 17360 index = path.indexOf("/floodlightActivities/generatetag", pathOffset); |
| 17014 unittest.expect(index >= 0, unittest.isTrue); | 17361 unittest.expect(index >= 0, unittest.isTrue); |
| 17015 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 17362 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 17016 pathOffset = index; | 17363 pathOffset = index; |
| 17017 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 17364 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 17018 unittest.expect(path.substring(pathOffset, pathOffset + 33), unittest.eq
uals("/floodlightActivities/generatetag")); | 17365 unittest.expect(path.substring(pathOffset, pathOffset + 33), unittest.eq
uals("/floodlightActivities/generatetag")); |
| 17019 pathOffset += 33; | 17366 pathOffset += 33; |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 17054 api.FloodlightActivitiesResourceApi res = new api.DfareportingApi(mock).fl
oodlightActivities; | 17401 api.FloodlightActivitiesResourceApi res = new api.DfareportingApi(mock).fl
oodlightActivities; |
| 17055 var arg_profileId = "foo"; | 17402 var arg_profileId = "foo"; |
| 17056 var arg_id = "foo"; | 17403 var arg_id = "foo"; |
| 17057 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 17404 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 17058 var path = (req.url).path; | 17405 var path = (req.url).path; |
| 17059 var pathOffset = 0; | 17406 var pathOffset = 0; |
| 17060 var index; | 17407 var index; |
| 17061 var subPart; | 17408 var subPart; |
| 17062 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 17409 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 17063 pathOffset += 1; | 17410 pathOffset += 1; |
| 17064 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 17411 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 17065 pathOffset += 18; | 17412 pathOffset += 18; |
| 17066 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 17413 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 17067 pathOffset += 13; | 17414 pathOffset += 13; |
| 17068 index = path.indexOf("/floodlightActivities/", pathOffset); | 17415 index = path.indexOf("/floodlightActivities/", pathOffset); |
| 17069 unittest.expect(index >= 0, unittest.isTrue); | 17416 unittest.expect(index >= 0, unittest.isTrue); |
| 17070 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 17417 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 17071 pathOffset = index; | 17418 pathOffset = index; |
| 17072 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 17419 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 17073 unittest.expect(path.substring(pathOffset, pathOffset + 22), unittest.eq
uals("/floodlightActivities/")); | 17420 unittest.expect(path.substring(pathOffset, pathOffset + 22), unittest.eq
uals("/floodlightActivities/")); |
| 17074 pathOffset += 22; | 17421 pathOffset += 22; |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 17114 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 17461 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 17115 var obj = new api.FloodlightActivity.fromJson(json); | 17462 var obj = new api.FloodlightActivity.fromJson(json); |
| 17116 checkFloodlightActivity(obj); | 17463 checkFloodlightActivity(obj); |
| 17117 | 17464 |
| 17118 var path = (req.url).path; | 17465 var path = (req.url).path; |
| 17119 var pathOffset = 0; | 17466 var pathOffset = 0; |
| 17120 var index; | 17467 var index; |
| 17121 var subPart; | 17468 var subPart; |
| 17122 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 17469 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 17123 pathOffset += 1; | 17470 pathOffset += 1; |
| 17124 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 17471 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 17125 pathOffset += 18; | 17472 pathOffset += 18; |
| 17126 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 17473 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 17127 pathOffset += 13; | 17474 pathOffset += 13; |
| 17128 index = path.indexOf("/floodlightActivities", pathOffset); | 17475 index = path.indexOf("/floodlightActivities", pathOffset); |
| 17129 unittest.expect(index >= 0, unittest.isTrue); | 17476 unittest.expect(index >= 0, unittest.isTrue); |
| 17130 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 17477 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 17131 pathOffset = index; | 17478 pathOffset = index; |
| 17132 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 17479 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 17133 unittest.expect(path.substring(pathOffset, pathOffset + 21), unittest.eq
uals("/floodlightActivities")); | 17480 unittest.expect(path.substring(pathOffset, pathOffset + 21), unittest.eq
uals("/floodlightActivities")); |
| 17134 pathOffset += 21; | 17481 pathOffset += 21; |
| (...skipping 26 matching lines...) Expand all Loading... |
| 17161 checkFloodlightActivity(response); | 17508 checkFloodlightActivity(response); |
| 17162 }))); | 17509 }))); |
| 17163 }); | 17510 }); |
| 17164 | 17511 |
| 17165 unittest.test("method--list", () { | 17512 unittest.test("method--list", () { |
| 17166 | 17513 |
| 17167 var mock = new HttpServerMock(); | 17514 var mock = new HttpServerMock(); |
| 17168 api.FloodlightActivitiesResourceApi res = new api.DfareportingApi(mock).fl
oodlightActivities; | 17515 api.FloodlightActivitiesResourceApi res = new api.DfareportingApi(mock).fl
oodlightActivities; |
| 17169 var arg_profileId = "foo"; | 17516 var arg_profileId = "foo"; |
| 17170 var arg_advertiserId = "foo"; | 17517 var arg_advertiserId = "foo"; |
| 17171 var arg_floodlightActivityGroupIds = buildUnnamed1629(); | 17518 var arg_floodlightActivityGroupIds = buildUnnamed2368(); |
| 17172 var arg_floodlightActivityGroupName = "foo"; | 17519 var arg_floodlightActivityGroupName = "foo"; |
| 17173 var arg_floodlightActivityGroupTagString = "foo"; | 17520 var arg_floodlightActivityGroupTagString = "foo"; |
| 17174 var arg_floodlightActivityGroupType = "foo"; | 17521 var arg_floodlightActivityGroupType = "foo"; |
| 17175 var arg_floodlightConfigurationId = "foo"; | 17522 var arg_floodlightConfigurationId = "foo"; |
| 17176 var arg_ids = buildUnnamed1630(); | 17523 var arg_ids = buildUnnamed2369(); |
| 17177 var arg_maxResults = 42; | 17524 var arg_maxResults = 42; |
| 17178 var arg_pageToken = "foo"; | 17525 var arg_pageToken = "foo"; |
| 17179 var arg_searchString = "foo"; | 17526 var arg_searchString = "foo"; |
| 17180 var arg_sortField = "foo"; | 17527 var arg_sortField = "foo"; |
| 17181 var arg_sortOrder = "foo"; | 17528 var arg_sortOrder = "foo"; |
| 17182 var arg_tagString = "foo"; | 17529 var arg_tagString = "foo"; |
| 17183 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 17530 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 17184 var path = (req.url).path; | 17531 var path = (req.url).path; |
| 17185 var pathOffset = 0; | 17532 var pathOffset = 0; |
| 17186 var index; | 17533 var index; |
| 17187 var subPart; | 17534 var subPart; |
| 17188 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 17535 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 17189 pathOffset += 1; | 17536 pathOffset += 1; |
| 17190 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 17537 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 17191 pathOffset += 18; | 17538 pathOffset += 18; |
| 17192 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 17539 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 17193 pathOffset += 13; | 17540 pathOffset += 13; |
| 17194 index = path.indexOf("/floodlightActivities", pathOffset); | 17541 index = path.indexOf("/floodlightActivities", pathOffset); |
| 17195 unittest.expect(index >= 0, unittest.isTrue); | 17542 unittest.expect(index >= 0, unittest.isTrue); |
| 17196 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 17543 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 17197 pathOffset = index; | 17544 pathOffset = index; |
| 17198 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 17545 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 17199 unittest.expect(path.substring(pathOffset, pathOffset + 21), unittest.eq
uals("/floodlightActivities")); | 17546 unittest.expect(path.substring(pathOffset, pathOffset + 21), unittest.eq
uals("/floodlightActivities")); |
| 17200 pathOffset += 21; | 17547 pathOffset += 21; |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 17251 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 17598 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 17252 var obj = new api.FloodlightActivity.fromJson(json); | 17599 var obj = new api.FloodlightActivity.fromJson(json); |
| 17253 checkFloodlightActivity(obj); | 17600 checkFloodlightActivity(obj); |
| 17254 | 17601 |
| 17255 var path = (req.url).path; | 17602 var path = (req.url).path; |
| 17256 var pathOffset = 0; | 17603 var pathOffset = 0; |
| 17257 var index; | 17604 var index; |
| 17258 var subPart; | 17605 var subPart; |
| 17259 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 17606 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 17260 pathOffset += 1; | 17607 pathOffset += 1; |
| 17261 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 17608 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 17262 pathOffset += 18; | 17609 pathOffset += 18; |
| 17263 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 17610 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 17264 pathOffset += 13; | 17611 pathOffset += 13; |
| 17265 index = path.indexOf("/floodlightActivities", pathOffset); | 17612 index = path.indexOf("/floodlightActivities", pathOffset); |
| 17266 unittest.expect(index >= 0, unittest.isTrue); | 17613 unittest.expect(index >= 0, unittest.isTrue); |
| 17267 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 17614 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 17268 pathOffset = index; | 17615 pathOffset = index; |
| 17269 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 17616 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 17270 unittest.expect(path.substring(pathOffset, pathOffset + 21), unittest.eq
uals("/floodlightActivities")); | 17617 unittest.expect(path.substring(pathOffset, pathOffset + 21), unittest.eq
uals("/floodlightActivities")); |
| 17271 pathOffset += 21; | 17618 pathOffset += 21; |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 17309 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 17656 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 17310 var obj = new api.FloodlightActivity.fromJson(json); | 17657 var obj = new api.FloodlightActivity.fromJson(json); |
| 17311 checkFloodlightActivity(obj); | 17658 checkFloodlightActivity(obj); |
| 17312 | 17659 |
| 17313 var path = (req.url).path; | 17660 var path = (req.url).path; |
| 17314 var pathOffset = 0; | 17661 var pathOffset = 0; |
| 17315 var index; | 17662 var index; |
| 17316 var subPart; | 17663 var subPart; |
| 17317 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 17664 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 17318 pathOffset += 1; | 17665 pathOffset += 1; |
| 17319 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 17666 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 17320 pathOffset += 18; | 17667 pathOffset += 18; |
| 17321 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 17668 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 17322 pathOffset += 13; | 17669 pathOffset += 13; |
| 17323 index = path.indexOf("/floodlightActivities", pathOffset); | 17670 index = path.indexOf("/floodlightActivities", pathOffset); |
| 17324 unittest.expect(index >= 0, unittest.isTrue); | 17671 unittest.expect(index >= 0, unittest.isTrue); |
| 17325 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 17672 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 17326 pathOffset = index; | 17673 pathOffset = index; |
| 17327 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 17674 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 17328 unittest.expect(path.substring(pathOffset, pathOffset + 21), unittest.eq
uals("/floodlightActivities")); | 17675 unittest.expect(path.substring(pathOffset, pathOffset + 21), unittest.eq
uals("/floodlightActivities")); |
| 17329 pathOffset += 21; | 17676 pathOffset += 21; |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 17367 api.FloodlightActivityGroupsResourceApi res = new api.DfareportingApi(mock
).floodlightActivityGroups; | 17714 api.FloodlightActivityGroupsResourceApi res = new api.DfareportingApi(mock
).floodlightActivityGroups; |
| 17368 var arg_profileId = "foo"; | 17715 var arg_profileId = "foo"; |
| 17369 var arg_id = "foo"; | 17716 var arg_id = "foo"; |
| 17370 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 17717 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 17371 var path = (req.url).path; | 17718 var path = (req.url).path; |
| 17372 var pathOffset = 0; | 17719 var pathOffset = 0; |
| 17373 var index; | 17720 var index; |
| 17374 var subPart; | 17721 var subPart; |
| 17375 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 17722 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 17376 pathOffset += 1; | 17723 pathOffset += 1; |
| 17377 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 17724 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 17378 pathOffset += 18; | 17725 pathOffset += 18; |
| 17379 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 17726 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 17380 pathOffset += 13; | 17727 pathOffset += 13; |
| 17381 index = path.indexOf("/floodlightActivityGroups/", pathOffset); | 17728 index = path.indexOf("/floodlightActivityGroups/", pathOffset); |
| 17382 unittest.expect(index >= 0, unittest.isTrue); | 17729 unittest.expect(index >= 0, unittest.isTrue); |
| 17383 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 17730 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 17384 pathOffset = index; | 17731 pathOffset = index; |
| 17385 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 17732 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 17386 unittest.expect(path.substring(pathOffset, pathOffset + 26), unittest.eq
uals("/floodlightActivityGroups/")); | 17733 unittest.expect(path.substring(pathOffset, pathOffset + 26), unittest.eq
uals("/floodlightActivityGroups/")); |
| 17387 pathOffset += 26; | 17734 pathOffset += 26; |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 17427 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 17774 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 17428 var obj = new api.FloodlightActivityGroup.fromJson(json); | 17775 var obj = new api.FloodlightActivityGroup.fromJson(json); |
| 17429 checkFloodlightActivityGroup(obj); | 17776 checkFloodlightActivityGroup(obj); |
| 17430 | 17777 |
| 17431 var path = (req.url).path; | 17778 var path = (req.url).path; |
| 17432 var pathOffset = 0; | 17779 var pathOffset = 0; |
| 17433 var index; | 17780 var index; |
| 17434 var subPart; | 17781 var subPart; |
| 17435 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 17782 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 17436 pathOffset += 1; | 17783 pathOffset += 1; |
| 17437 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 17784 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 17438 pathOffset += 18; | 17785 pathOffset += 18; |
| 17439 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 17786 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 17440 pathOffset += 13; | 17787 pathOffset += 13; |
| 17441 index = path.indexOf("/floodlightActivityGroups", pathOffset); | 17788 index = path.indexOf("/floodlightActivityGroups", pathOffset); |
| 17442 unittest.expect(index >= 0, unittest.isTrue); | 17789 unittest.expect(index >= 0, unittest.isTrue); |
| 17443 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 17790 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 17444 pathOffset = index; | 17791 pathOffset = index; |
| 17445 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 17792 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 17446 unittest.expect(path.substring(pathOffset, pathOffset + 25), unittest.eq
uals("/floodlightActivityGroups")); | 17793 unittest.expect(path.substring(pathOffset, pathOffset + 25), unittest.eq
uals("/floodlightActivityGroups")); |
| 17447 pathOffset += 25; | 17794 pathOffset += 25; |
| (...skipping 27 matching lines...) Expand all Loading... |
| 17475 }))); | 17822 }))); |
| 17476 }); | 17823 }); |
| 17477 | 17824 |
| 17478 unittest.test("method--list", () { | 17825 unittest.test("method--list", () { |
| 17479 | 17826 |
| 17480 var mock = new HttpServerMock(); | 17827 var mock = new HttpServerMock(); |
| 17481 api.FloodlightActivityGroupsResourceApi res = new api.DfareportingApi(mock
).floodlightActivityGroups; | 17828 api.FloodlightActivityGroupsResourceApi res = new api.DfareportingApi(mock
).floodlightActivityGroups; |
| 17482 var arg_profileId = "foo"; | 17829 var arg_profileId = "foo"; |
| 17483 var arg_advertiserId = "foo"; | 17830 var arg_advertiserId = "foo"; |
| 17484 var arg_floodlightConfigurationId = "foo"; | 17831 var arg_floodlightConfigurationId = "foo"; |
| 17485 var arg_ids = buildUnnamed1631(); | 17832 var arg_ids = buildUnnamed2370(); |
| 17486 var arg_maxResults = 42; | 17833 var arg_maxResults = 42; |
| 17487 var arg_pageToken = "foo"; | 17834 var arg_pageToken = "foo"; |
| 17488 var arg_searchString = "foo"; | 17835 var arg_searchString = "foo"; |
| 17489 var arg_sortField = "foo"; | 17836 var arg_sortField = "foo"; |
| 17490 var arg_sortOrder = "foo"; | 17837 var arg_sortOrder = "foo"; |
| 17491 var arg_type = "foo"; | 17838 var arg_type = "foo"; |
| 17492 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 17839 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 17493 var path = (req.url).path; | 17840 var path = (req.url).path; |
| 17494 var pathOffset = 0; | 17841 var pathOffset = 0; |
| 17495 var index; | 17842 var index; |
| 17496 var subPart; | 17843 var subPart; |
| 17497 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 17844 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 17498 pathOffset += 1; | 17845 pathOffset += 1; |
| 17499 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 17846 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 17500 pathOffset += 18; | 17847 pathOffset += 18; |
| 17501 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 17848 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 17502 pathOffset += 13; | 17849 pathOffset += 13; |
| 17503 index = path.indexOf("/floodlightActivityGroups", pathOffset); | 17850 index = path.indexOf("/floodlightActivityGroups", pathOffset); |
| 17504 unittest.expect(index >= 0, unittest.isTrue); | 17851 unittest.expect(index >= 0, unittest.isTrue); |
| 17505 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 17852 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 17506 pathOffset = index; | 17853 pathOffset = index; |
| 17507 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 17854 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 17508 unittest.expect(path.substring(pathOffset, pathOffset + 25), unittest.eq
uals("/floodlightActivityGroups")); | 17855 unittest.expect(path.substring(pathOffset, pathOffset + 25), unittest.eq
uals("/floodlightActivityGroups")); |
| 17509 pathOffset += 25; | 17856 pathOffset += 25; |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 17556 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 17903 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 17557 var obj = new api.FloodlightActivityGroup.fromJson(json); | 17904 var obj = new api.FloodlightActivityGroup.fromJson(json); |
| 17558 checkFloodlightActivityGroup(obj); | 17905 checkFloodlightActivityGroup(obj); |
| 17559 | 17906 |
| 17560 var path = (req.url).path; | 17907 var path = (req.url).path; |
| 17561 var pathOffset = 0; | 17908 var pathOffset = 0; |
| 17562 var index; | 17909 var index; |
| 17563 var subPart; | 17910 var subPart; |
| 17564 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 17911 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 17565 pathOffset += 1; | 17912 pathOffset += 1; |
| 17566 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 17913 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 17567 pathOffset += 18; | 17914 pathOffset += 18; |
| 17568 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 17915 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 17569 pathOffset += 13; | 17916 pathOffset += 13; |
| 17570 index = path.indexOf("/floodlightActivityGroups", pathOffset); | 17917 index = path.indexOf("/floodlightActivityGroups", pathOffset); |
| 17571 unittest.expect(index >= 0, unittest.isTrue); | 17918 unittest.expect(index >= 0, unittest.isTrue); |
| 17572 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 17919 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 17573 pathOffset = index; | 17920 pathOffset = index; |
| 17574 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 17921 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 17575 unittest.expect(path.substring(pathOffset, pathOffset + 25), unittest.eq
uals("/floodlightActivityGroups")); | 17922 unittest.expect(path.substring(pathOffset, pathOffset + 25), unittest.eq
uals("/floodlightActivityGroups")); |
| 17576 pathOffset += 25; | 17923 pathOffset += 25; |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 17614 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 17961 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 17615 var obj = new api.FloodlightActivityGroup.fromJson(json); | 17962 var obj = new api.FloodlightActivityGroup.fromJson(json); |
| 17616 checkFloodlightActivityGroup(obj); | 17963 checkFloodlightActivityGroup(obj); |
| 17617 | 17964 |
| 17618 var path = (req.url).path; | 17965 var path = (req.url).path; |
| 17619 var pathOffset = 0; | 17966 var pathOffset = 0; |
| 17620 var index; | 17967 var index; |
| 17621 var subPart; | 17968 var subPart; |
| 17622 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 17969 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 17623 pathOffset += 1; | 17970 pathOffset += 1; |
| 17624 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 17971 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 17625 pathOffset += 18; | 17972 pathOffset += 18; |
| 17626 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 17973 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 17627 pathOffset += 13; | 17974 pathOffset += 13; |
| 17628 index = path.indexOf("/floodlightActivityGroups", pathOffset); | 17975 index = path.indexOf("/floodlightActivityGroups", pathOffset); |
| 17629 unittest.expect(index >= 0, unittest.isTrue); | 17976 unittest.expect(index >= 0, unittest.isTrue); |
| 17630 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 17977 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 17631 pathOffset = index; | 17978 pathOffset = index; |
| 17632 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 17979 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 17633 unittest.expect(path.substring(pathOffset, pathOffset + 25), unittest.eq
uals("/floodlightActivityGroups")); | 17980 unittest.expect(path.substring(pathOffset, pathOffset + 25), unittest.eq
uals("/floodlightActivityGroups")); |
| 17634 pathOffset += 25; | 17981 pathOffset += 25; |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 17672 api.FloodlightConfigurationsResourceApi res = new api.DfareportingApi(mock
).floodlightConfigurations; | 18019 api.FloodlightConfigurationsResourceApi res = new api.DfareportingApi(mock
).floodlightConfigurations; |
| 17673 var arg_profileId = "foo"; | 18020 var arg_profileId = "foo"; |
| 17674 var arg_id = "foo"; | 18021 var arg_id = "foo"; |
| 17675 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 18022 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 17676 var path = (req.url).path; | 18023 var path = (req.url).path; |
| 17677 var pathOffset = 0; | 18024 var pathOffset = 0; |
| 17678 var index; | 18025 var index; |
| 17679 var subPart; | 18026 var subPart; |
| 17680 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 18027 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 17681 pathOffset += 1; | 18028 pathOffset += 1; |
| 17682 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 18029 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 17683 pathOffset += 18; | 18030 pathOffset += 18; |
| 17684 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 18031 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 17685 pathOffset += 13; | 18032 pathOffset += 13; |
| 17686 index = path.indexOf("/floodlightConfigurations/", pathOffset); | 18033 index = path.indexOf("/floodlightConfigurations/", pathOffset); |
| 17687 unittest.expect(index >= 0, unittest.isTrue); | 18034 unittest.expect(index >= 0, unittest.isTrue); |
| 17688 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 18035 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 17689 pathOffset = index; | 18036 pathOffset = index; |
| 17690 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 18037 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 17691 unittest.expect(path.substring(pathOffset, pathOffset + 26), unittest.eq
uals("/floodlightConfigurations/")); | 18038 unittest.expect(path.substring(pathOffset, pathOffset + 26), unittest.eq
uals("/floodlightConfigurations/")); |
| 17692 pathOffset += 26; | 18039 pathOffset += 26; |
| (...skipping 28 matching lines...) Expand all Loading... |
| 17721 res.get(arg_profileId, arg_id).then(unittest.expectAsync(((api.FloodlightC
onfiguration response) { | 18068 res.get(arg_profileId, arg_id).then(unittest.expectAsync(((api.FloodlightC
onfiguration response) { |
| 17722 checkFloodlightConfiguration(response); | 18069 checkFloodlightConfiguration(response); |
| 17723 }))); | 18070 }))); |
| 17724 }); | 18071 }); |
| 17725 | 18072 |
| 17726 unittest.test("method--list", () { | 18073 unittest.test("method--list", () { |
| 17727 | 18074 |
| 17728 var mock = new HttpServerMock(); | 18075 var mock = new HttpServerMock(); |
| 17729 api.FloodlightConfigurationsResourceApi res = new api.DfareportingApi(mock
).floodlightConfigurations; | 18076 api.FloodlightConfigurationsResourceApi res = new api.DfareportingApi(mock
).floodlightConfigurations; |
| 17730 var arg_profileId = "foo"; | 18077 var arg_profileId = "foo"; |
| 17731 var arg_ids = buildUnnamed1632(); | 18078 var arg_ids = buildUnnamed2371(); |
| 17732 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 18079 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 17733 var path = (req.url).path; | 18080 var path = (req.url).path; |
| 17734 var pathOffset = 0; | 18081 var pathOffset = 0; |
| 17735 var index; | 18082 var index; |
| 17736 var subPart; | 18083 var subPart; |
| 17737 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 18084 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 17738 pathOffset += 1; | 18085 pathOffset += 1; |
| 17739 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 18086 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 17740 pathOffset += 18; | 18087 pathOffset += 18; |
| 17741 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 18088 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 17742 pathOffset += 13; | 18089 pathOffset += 13; |
| 17743 index = path.indexOf("/floodlightConfigurations", pathOffset); | 18090 index = path.indexOf("/floodlightConfigurations", pathOffset); |
| 17744 unittest.expect(index >= 0, unittest.isTrue); | 18091 unittest.expect(index >= 0, unittest.isTrue); |
| 17745 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 18092 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 17746 pathOffset = index; | 18093 pathOffset = index; |
| 17747 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 18094 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 17748 unittest.expect(path.substring(pathOffset, pathOffset + 25), unittest.eq
uals("/floodlightConfigurations")); | 18095 unittest.expect(path.substring(pathOffset, pathOffset + 25), unittest.eq
uals("/floodlightConfigurations")); |
| 17749 pathOffset += 25; | 18096 pathOffset += 25; |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 17788 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 18135 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 17789 var obj = new api.FloodlightConfiguration.fromJson(json); | 18136 var obj = new api.FloodlightConfiguration.fromJson(json); |
| 17790 checkFloodlightConfiguration(obj); | 18137 checkFloodlightConfiguration(obj); |
| 17791 | 18138 |
| 17792 var path = (req.url).path; | 18139 var path = (req.url).path; |
| 17793 var pathOffset = 0; | 18140 var pathOffset = 0; |
| 17794 var index; | 18141 var index; |
| 17795 var subPart; | 18142 var subPart; |
| 17796 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 18143 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 17797 pathOffset += 1; | 18144 pathOffset += 1; |
| 17798 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 18145 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 17799 pathOffset += 18; | 18146 pathOffset += 18; |
| 17800 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 18147 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 17801 pathOffset += 13; | 18148 pathOffset += 13; |
| 17802 index = path.indexOf("/floodlightConfigurations", pathOffset); | 18149 index = path.indexOf("/floodlightConfigurations", pathOffset); |
| 17803 unittest.expect(index >= 0, unittest.isTrue); | 18150 unittest.expect(index >= 0, unittest.isTrue); |
| 17804 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 18151 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 17805 pathOffset = index; | 18152 pathOffset = index; |
| 17806 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 18153 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 17807 unittest.expect(path.substring(pathOffset, pathOffset + 25), unittest.eq
uals("/floodlightConfigurations")); | 18154 unittest.expect(path.substring(pathOffset, pathOffset + 25), unittest.eq
uals("/floodlightConfigurations")); |
| 17808 pathOffset += 25; | 18155 pathOffset += 25; |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 17846 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 18193 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 17847 var obj = new api.FloodlightConfiguration.fromJson(json); | 18194 var obj = new api.FloodlightConfiguration.fromJson(json); |
| 17848 checkFloodlightConfiguration(obj); | 18195 checkFloodlightConfiguration(obj); |
| 17849 | 18196 |
| 17850 var path = (req.url).path; | 18197 var path = (req.url).path; |
| 17851 var pathOffset = 0; | 18198 var pathOffset = 0; |
| 17852 var index; | 18199 var index; |
| 17853 var subPart; | 18200 var subPart; |
| 17854 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 18201 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 17855 pathOffset += 1; | 18202 pathOffset += 1; |
| 17856 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 18203 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 17857 pathOffset += 18; | 18204 pathOffset += 18; |
| 17858 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 18205 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 17859 pathOffset += 13; | 18206 pathOffset += 13; |
| 17860 index = path.indexOf("/floodlightConfigurations", pathOffset); | 18207 index = path.indexOf("/floodlightConfigurations", pathOffset); |
| 17861 unittest.expect(index >= 0, unittest.isTrue); | 18208 unittest.expect(index >= 0, unittest.isTrue); |
| 17862 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 18209 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 17863 pathOffset = index; | 18210 pathOffset = index; |
| 17864 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 18211 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 17865 unittest.expect(path.substring(pathOffset, pathOffset + 25), unittest.eq
uals("/floodlightConfigurations")); | 18212 unittest.expect(path.substring(pathOffset, pathOffset + 25), unittest.eq
uals("/floodlightConfigurations")); |
| 17866 pathOffset += 25; | 18213 pathOffset += 25; |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 17905 var arg_profileId = "foo"; | 18252 var arg_profileId = "foo"; |
| 17906 var arg_projectId = "foo"; | 18253 var arg_projectId = "foo"; |
| 17907 var arg_id = "foo"; | 18254 var arg_id = "foo"; |
| 17908 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 18255 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 17909 var path = (req.url).path; | 18256 var path = (req.url).path; |
| 17910 var pathOffset = 0; | 18257 var pathOffset = 0; |
| 17911 var index; | 18258 var index; |
| 17912 var subPart; | 18259 var subPart; |
| 17913 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 18260 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 17914 pathOffset += 1; | 18261 pathOffset += 1; |
| 17915 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 18262 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 17916 pathOffset += 18; | 18263 pathOffset += 18; |
| 17917 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 18264 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 17918 pathOffset += 13; | 18265 pathOffset += 13; |
| 17919 index = path.indexOf("/projects/", pathOffset); | 18266 index = path.indexOf("/projects/", pathOffset); |
| 17920 unittest.expect(index >= 0, unittest.isTrue); | 18267 unittest.expect(index >= 0, unittest.isTrue); |
| 17921 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 18268 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 17922 pathOffset = index; | 18269 pathOffset = index; |
| 17923 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 18270 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 17924 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("/projects/")); | 18271 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("/projects/")); |
| 17925 pathOffset += 10; | 18272 pathOffset += 10; |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 17962 checkInventoryItem(response); | 18309 checkInventoryItem(response); |
| 17963 }))); | 18310 }))); |
| 17964 }); | 18311 }); |
| 17965 | 18312 |
| 17966 unittest.test("method--list", () { | 18313 unittest.test("method--list", () { |
| 17967 | 18314 |
| 17968 var mock = new HttpServerMock(); | 18315 var mock = new HttpServerMock(); |
| 17969 api.InventoryItemsResourceApi res = new api.DfareportingApi(mock).inventor
yItems; | 18316 api.InventoryItemsResourceApi res = new api.DfareportingApi(mock).inventor
yItems; |
| 17970 var arg_profileId = "foo"; | 18317 var arg_profileId = "foo"; |
| 17971 var arg_projectId = "foo"; | 18318 var arg_projectId = "foo"; |
| 17972 var arg_ids = buildUnnamed1633(); | 18319 var arg_ids = buildUnnamed2372(); |
| 17973 var arg_inPlan = true; | 18320 var arg_inPlan = true; |
| 17974 var arg_maxResults = 42; | 18321 var arg_maxResults = 42; |
| 17975 var arg_orderId = buildUnnamed1634(); | 18322 var arg_orderId = buildUnnamed2373(); |
| 17976 var arg_pageToken = "foo"; | 18323 var arg_pageToken = "foo"; |
| 17977 var arg_siteId = buildUnnamed1635(); | 18324 var arg_siteId = buildUnnamed2374(); |
| 17978 var arg_sortField = "foo"; | 18325 var arg_sortField = "foo"; |
| 17979 var arg_sortOrder = "foo"; | 18326 var arg_sortOrder = "foo"; |
| 17980 var arg_type = "foo"; | 18327 var arg_type = "foo"; |
| 17981 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 18328 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 17982 var path = (req.url).path; | 18329 var path = (req.url).path; |
| 17983 var pathOffset = 0; | 18330 var pathOffset = 0; |
| 17984 var index; | 18331 var index; |
| 17985 var subPart; | 18332 var subPart; |
| 17986 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 18333 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 17987 pathOffset += 1; | 18334 pathOffset += 1; |
| 17988 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 18335 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 17989 pathOffset += 18; | 18336 pathOffset += 18; |
| 17990 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 18337 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 17991 pathOffset += 13; | 18338 pathOffset += 13; |
| 17992 index = path.indexOf("/projects/", pathOffset); | 18339 index = path.indexOf("/projects/", pathOffset); |
| 17993 unittest.expect(index >= 0, unittest.isTrue); | 18340 unittest.expect(index >= 0, unittest.isTrue); |
| 17994 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 18341 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 17995 pathOffset = index; | 18342 pathOffset = index; |
| 17996 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 18343 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 17997 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("/projects/")); | 18344 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("/projects/")); |
| 17998 pathOffset += 10; | 18345 pathOffset += 10; |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 18053 var arg_profileId = "foo"; | 18400 var arg_profileId = "foo"; |
| 18054 var arg_campaignId = "foo"; | 18401 var arg_campaignId = "foo"; |
| 18055 var arg_id = "foo"; | 18402 var arg_id = "foo"; |
| 18056 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 18403 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 18057 var path = (req.url).path; | 18404 var path = (req.url).path; |
| 18058 var pathOffset = 0; | 18405 var pathOffset = 0; |
| 18059 var index; | 18406 var index; |
| 18060 var subPart; | 18407 var subPart; |
| 18061 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 18408 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 18062 pathOffset += 1; | 18409 pathOffset += 1; |
| 18063 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 18410 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 18064 pathOffset += 18; | 18411 pathOffset += 18; |
| 18065 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 18412 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 18066 pathOffset += 13; | 18413 pathOffset += 13; |
| 18067 index = path.indexOf("/campaigns/", pathOffset); | 18414 index = path.indexOf("/campaigns/", pathOffset); |
| 18068 unittest.expect(index >= 0, unittest.isTrue); | 18415 unittest.expect(index >= 0, unittest.isTrue); |
| 18069 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 18416 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 18070 pathOffset = index; | 18417 pathOffset = index; |
| 18071 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 18418 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 18072 unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.eq
uals("/campaigns/")); | 18419 unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.eq
uals("/campaigns/")); |
| 18073 pathOffset += 11; | 18420 pathOffset += 11; |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 18116 var arg_profileId = "foo"; | 18463 var arg_profileId = "foo"; |
| 18117 var arg_campaignId = "foo"; | 18464 var arg_campaignId = "foo"; |
| 18118 var arg_id = "foo"; | 18465 var arg_id = "foo"; |
| 18119 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 18466 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 18120 var path = (req.url).path; | 18467 var path = (req.url).path; |
| 18121 var pathOffset = 0; | 18468 var pathOffset = 0; |
| 18122 var index; | 18469 var index; |
| 18123 var subPart; | 18470 var subPart; |
| 18124 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 18471 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 18125 pathOffset += 1; | 18472 pathOffset += 1; |
| 18126 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 18473 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 18127 pathOffset += 18; | 18474 pathOffset += 18; |
| 18128 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 18475 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 18129 pathOffset += 13; | 18476 pathOffset += 13; |
| 18130 index = path.indexOf("/campaigns/", pathOffset); | 18477 index = path.indexOf("/campaigns/", pathOffset); |
| 18131 unittest.expect(index >= 0, unittest.isTrue); | 18478 unittest.expect(index >= 0, unittest.isTrue); |
| 18132 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 18479 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 18133 pathOffset = index; | 18480 pathOffset = index; |
| 18134 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 18481 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 18135 unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.eq
uals("/campaigns/")); | 18482 unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.eq
uals("/campaigns/")); |
| 18136 pathOffset += 11; | 18483 pathOffset += 11; |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 18184 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 18531 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 18185 var obj = new api.LandingPage.fromJson(json); | 18532 var obj = new api.LandingPage.fromJson(json); |
| 18186 checkLandingPage(obj); | 18533 checkLandingPage(obj); |
| 18187 | 18534 |
| 18188 var path = (req.url).path; | 18535 var path = (req.url).path; |
| 18189 var pathOffset = 0; | 18536 var pathOffset = 0; |
| 18190 var index; | 18537 var index; |
| 18191 var subPart; | 18538 var subPart; |
| 18192 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 18539 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 18193 pathOffset += 1; | 18540 pathOffset += 1; |
| 18194 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 18541 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 18195 pathOffset += 18; | 18542 pathOffset += 18; |
| 18196 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 18543 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 18197 pathOffset += 13; | 18544 pathOffset += 13; |
| 18198 index = path.indexOf("/campaigns/", pathOffset); | 18545 index = path.indexOf("/campaigns/", pathOffset); |
| 18199 unittest.expect(index >= 0, unittest.isTrue); | 18546 unittest.expect(index >= 0, unittest.isTrue); |
| 18200 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 18547 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 18201 pathOffset = index; | 18548 pathOffset = index; |
| 18202 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 18549 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 18203 unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.eq
uals("/campaigns/")); | 18550 unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.eq
uals("/campaigns/")); |
| 18204 pathOffset += 11; | 18551 pathOffset += 11; |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 18245 api.LandingPagesResourceApi res = new api.DfareportingApi(mock).landingPag
es; | 18592 api.LandingPagesResourceApi res = new api.DfareportingApi(mock).landingPag
es; |
| 18246 var arg_profileId = "foo"; | 18593 var arg_profileId = "foo"; |
| 18247 var arg_campaignId = "foo"; | 18594 var arg_campaignId = "foo"; |
| 18248 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 18595 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 18249 var path = (req.url).path; | 18596 var path = (req.url).path; |
| 18250 var pathOffset = 0; | 18597 var pathOffset = 0; |
| 18251 var index; | 18598 var index; |
| 18252 var subPart; | 18599 var subPart; |
| 18253 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 18600 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 18254 pathOffset += 1; | 18601 pathOffset += 1; |
| 18255 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 18602 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 18256 pathOffset += 18; | 18603 pathOffset += 18; |
| 18257 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 18604 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 18258 pathOffset += 13; | 18605 pathOffset += 13; |
| 18259 index = path.indexOf("/campaigns/", pathOffset); | 18606 index = path.indexOf("/campaigns/", pathOffset); |
| 18260 unittest.expect(index >= 0, unittest.isTrue); | 18607 unittest.expect(index >= 0, unittest.isTrue); |
| 18261 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 18608 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 18262 pathOffset = index; | 18609 pathOffset = index; |
| 18263 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 18610 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 18264 unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.eq
uals("/campaigns/")); | 18611 unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.eq
uals("/campaigns/")); |
| 18265 pathOffset += 11; | 18612 pathOffset += 11; |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 18311 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 18658 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 18312 var obj = new api.LandingPage.fromJson(json); | 18659 var obj = new api.LandingPage.fromJson(json); |
| 18313 checkLandingPage(obj); | 18660 checkLandingPage(obj); |
| 18314 | 18661 |
| 18315 var path = (req.url).path; | 18662 var path = (req.url).path; |
| 18316 var pathOffset = 0; | 18663 var pathOffset = 0; |
| 18317 var index; | 18664 var index; |
| 18318 var subPart; | 18665 var subPart; |
| 18319 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 18666 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 18320 pathOffset += 1; | 18667 pathOffset += 1; |
| 18321 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 18668 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 18322 pathOffset += 18; | 18669 pathOffset += 18; |
| 18323 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 18670 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 18324 pathOffset += 13; | 18671 pathOffset += 13; |
| 18325 index = path.indexOf("/campaigns/", pathOffset); | 18672 index = path.indexOf("/campaigns/", pathOffset); |
| 18326 unittest.expect(index >= 0, unittest.isTrue); | 18673 unittest.expect(index >= 0, unittest.isTrue); |
| 18327 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 18674 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 18328 pathOffset = index; | 18675 pathOffset = index; |
| 18329 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 18676 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 18330 unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.eq
uals("/campaigns/")); | 18677 unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.eq
uals("/campaigns/")); |
| 18331 pathOffset += 11; | 18678 pathOffset += 11; |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 18377 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 18724 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 18378 var obj = new api.LandingPage.fromJson(json); | 18725 var obj = new api.LandingPage.fromJson(json); |
| 18379 checkLandingPage(obj); | 18726 checkLandingPage(obj); |
| 18380 | 18727 |
| 18381 var path = (req.url).path; | 18728 var path = (req.url).path; |
| 18382 var pathOffset = 0; | 18729 var pathOffset = 0; |
| 18383 var index; | 18730 var index; |
| 18384 var subPart; | 18731 var subPart; |
| 18385 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 18732 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 18386 pathOffset += 1; | 18733 pathOffset += 1; |
| 18387 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 18734 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 18388 pathOffset += 18; | 18735 pathOffset += 18; |
| 18389 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 18736 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 18390 pathOffset += 13; | 18737 pathOffset += 13; |
| 18391 index = path.indexOf("/campaigns/", pathOffset); | 18738 index = path.indexOf("/campaigns/", pathOffset); |
| 18392 unittest.expect(index >= 0, unittest.isTrue); | 18739 unittest.expect(index >= 0, unittest.isTrue); |
| 18393 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 18740 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 18394 pathOffset = index; | 18741 pathOffset = index; |
| 18395 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 18742 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 18396 unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.eq
uals("/campaigns/")); | 18743 unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.eq
uals("/campaigns/")); |
| 18397 pathOffset += 11; | 18744 pathOffset += 11; |
| (...skipping 30 matching lines...) Expand all Loading... |
| 18428 return new async.Future.value(stringResponse(200, h, resp)); | 18775 return new async.Future.value(stringResponse(200, h, resp)); |
| 18429 }), true); | 18776 }), true); |
| 18430 res.update(arg_request, arg_profileId, arg_campaignId).then(unittest.expec
tAsync(((api.LandingPage response) { | 18777 res.update(arg_request, arg_profileId, arg_campaignId).then(unittest.expec
tAsync(((api.LandingPage response) { |
| 18431 checkLandingPage(response); | 18778 checkLandingPage(response); |
| 18432 }))); | 18779 }))); |
| 18433 }); | 18780 }); |
| 18434 | 18781 |
| 18435 }); | 18782 }); |
| 18436 | 18783 |
| 18437 | 18784 |
| 18785 unittest.group("resource-LanguagesResourceApi", () { |
| 18786 unittest.test("method--list", () { |
| 18787 |
| 18788 var mock = new HttpServerMock(); |
| 18789 api.LanguagesResourceApi res = new api.DfareportingApi(mock).languages; |
| 18790 var arg_profileId = "foo"; |
| 18791 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 18792 var path = (req.url).path; |
| 18793 var pathOffset = 0; |
| 18794 var index; |
| 18795 var subPart; |
| 18796 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 18797 pathOffset += 1; |
| 18798 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 18799 pathOffset += 18; |
| 18800 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 18801 pathOffset += 13; |
| 18802 index = path.indexOf("/languages", pathOffset); |
| 18803 unittest.expect(index >= 0, unittest.isTrue); |
| 18804 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 18805 pathOffset = index; |
| 18806 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 18807 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("/languages")); |
| 18808 pathOffset += 10; |
| 18809 |
| 18810 var query = (req.url).query; |
| 18811 var queryOffset = 0; |
| 18812 var queryMap = {}; |
| 18813 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); |
| 18814 parseBool(n) { |
| 18815 if (n == "true") return true; |
| 18816 if (n == "false") return false; |
| 18817 if (n == null) return null; |
| 18818 throw new core.ArgumentError("Invalid boolean: $n"); |
| 18819 } |
| 18820 if (query.length > 0) { |
| 18821 for (var part in query.split("&")) { |
| 18822 var keyvalue = part.split("="); |
| 18823 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); |
| 18824 } |
| 18825 } |
| 18826 |
| 18827 |
| 18828 var h = { |
| 18829 "content-type" : "application/json; charset=utf-8", |
| 18830 }; |
| 18831 var resp = convert.JSON.encode(buildLanguagesListResponse()); |
| 18832 return new async.Future.value(stringResponse(200, h, resp)); |
| 18833 }), true); |
| 18834 res.list(arg_profileId).then(unittest.expectAsync(((api.LanguagesListRespo
nse response) { |
| 18835 checkLanguagesListResponse(response); |
| 18836 }))); |
| 18837 }); |
| 18838 |
| 18839 }); |
| 18840 |
| 18841 |
| 18438 unittest.group("resource-MetrosResourceApi", () { | 18842 unittest.group("resource-MetrosResourceApi", () { |
| 18439 unittest.test("method--list", () { | 18843 unittest.test("method--list", () { |
| 18440 | 18844 |
| 18441 var mock = new HttpServerMock(); | 18845 var mock = new HttpServerMock(); |
| 18442 api.MetrosResourceApi res = new api.DfareportingApi(mock).metros; | 18846 api.MetrosResourceApi res = new api.DfareportingApi(mock).metros; |
| 18443 var arg_profileId = "foo"; | 18847 var arg_profileId = "foo"; |
| 18444 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 18848 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 18445 var path = (req.url).path; | 18849 var path = (req.url).path; |
| 18446 var pathOffset = 0; | 18850 var pathOffset = 0; |
| 18447 var index; | 18851 var index; |
| 18448 var subPart; | 18852 var subPart; |
| 18449 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 18853 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 18450 pathOffset += 1; | 18854 pathOffset += 1; |
| 18451 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 18855 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 18452 pathOffset += 18; | 18856 pathOffset += 18; |
| 18453 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 18857 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 18454 pathOffset += 13; | 18858 pathOffset += 13; |
| 18455 index = path.indexOf("/metros", pathOffset); | 18859 index = path.indexOf("/metros", pathOffset); |
| 18456 unittest.expect(index >= 0, unittest.isTrue); | 18860 unittest.expect(index >= 0, unittest.isTrue); |
| 18457 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 18861 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 18458 pathOffset = index; | 18862 pathOffset = index; |
| 18459 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 18863 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 18460 unittest.expect(path.substring(pathOffset, pathOffset + 7), unittest.equ
als("/metros")); | 18864 unittest.expect(path.substring(pathOffset, pathOffset + 7), unittest.equ
als("/metros")); |
| 18461 pathOffset += 7; | 18865 pathOffset += 7; |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 18499 api.MobileCarriersResourceApi res = new api.DfareportingApi(mock).mobileCa
rriers; | 18903 api.MobileCarriersResourceApi res = new api.DfareportingApi(mock).mobileCa
rriers; |
| 18500 var arg_profileId = "foo"; | 18904 var arg_profileId = "foo"; |
| 18501 var arg_id = "foo"; | 18905 var arg_id = "foo"; |
| 18502 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 18906 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 18503 var path = (req.url).path; | 18907 var path = (req.url).path; |
| 18504 var pathOffset = 0; | 18908 var pathOffset = 0; |
| 18505 var index; | 18909 var index; |
| 18506 var subPart; | 18910 var subPart; |
| 18507 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 18911 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 18508 pathOffset += 1; | 18912 pathOffset += 1; |
| 18509 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 18913 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 18510 pathOffset += 18; | 18914 pathOffset += 18; |
| 18511 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 18915 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 18512 pathOffset += 13; | 18916 pathOffset += 13; |
| 18513 index = path.indexOf("/mobileCarriers/", pathOffset); | 18917 index = path.indexOf("/mobileCarriers/", pathOffset); |
| 18514 unittest.expect(index >= 0, unittest.isTrue); | 18918 unittest.expect(index >= 0, unittest.isTrue); |
| 18515 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 18919 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 18516 pathOffset = index; | 18920 pathOffset = index; |
| 18517 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 18921 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 18518 unittest.expect(path.substring(pathOffset, pathOffset + 16), unittest.eq
uals("/mobileCarriers/")); | 18922 unittest.expect(path.substring(pathOffset, pathOffset + 16), unittest.eq
uals("/mobileCarriers/")); |
| 18519 pathOffset += 16; | 18923 pathOffset += 16; |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 18555 var mock = new HttpServerMock(); | 18959 var mock = new HttpServerMock(); |
| 18556 api.MobileCarriersResourceApi res = new api.DfareportingApi(mock).mobileCa
rriers; | 18960 api.MobileCarriersResourceApi res = new api.DfareportingApi(mock).mobileCa
rriers; |
| 18557 var arg_profileId = "foo"; | 18961 var arg_profileId = "foo"; |
| 18558 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 18962 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 18559 var path = (req.url).path; | 18963 var path = (req.url).path; |
| 18560 var pathOffset = 0; | 18964 var pathOffset = 0; |
| 18561 var index; | 18965 var index; |
| 18562 var subPart; | 18966 var subPart; |
| 18563 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 18967 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 18564 pathOffset += 1; | 18968 pathOffset += 1; |
| 18565 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 18969 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 18566 pathOffset += 18; | 18970 pathOffset += 18; |
| 18567 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 18971 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 18568 pathOffset += 13; | 18972 pathOffset += 13; |
| 18569 index = path.indexOf("/mobileCarriers", pathOffset); | 18973 index = path.indexOf("/mobileCarriers", pathOffset); |
| 18570 unittest.expect(index >= 0, unittest.isTrue); | 18974 unittest.expect(index >= 0, unittest.isTrue); |
| 18571 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 18975 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 18572 pathOffset = index; | 18976 pathOffset = index; |
| 18573 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 18977 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 18574 unittest.expect(path.substring(pathOffset, pathOffset + 15), unittest.eq
uals("/mobileCarriers")); | 18978 unittest.expect(path.substring(pathOffset, pathOffset + 15), unittest.eq
uals("/mobileCarriers")); |
| 18575 pathOffset += 15; | 18979 pathOffset += 15; |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 18613 api.OperatingSystemVersionsResourceApi res = new api.DfareportingApi(mock)
.operatingSystemVersions; | 19017 api.OperatingSystemVersionsResourceApi res = new api.DfareportingApi(mock)
.operatingSystemVersions; |
| 18614 var arg_profileId = "foo"; | 19018 var arg_profileId = "foo"; |
| 18615 var arg_id = "foo"; | 19019 var arg_id = "foo"; |
| 18616 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 19020 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 18617 var path = (req.url).path; | 19021 var path = (req.url).path; |
| 18618 var pathOffset = 0; | 19022 var pathOffset = 0; |
| 18619 var index; | 19023 var index; |
| 18620 var subPart; | 19024 var subPart; |
| 18621 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 19025 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 18622 pathOffset += 1; | 19026 pathOffset += 1; |
| 18623 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 19027 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 18624 pathOffset += 18; | 19028 pathOffset += 18; |
| 18625 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 19029 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 18626 pathOffset += 13; | 19030 pathOffset += 13; |
| 18627 index = path.indexOf("/operatingSystemVersions/", pathOffset); | 19031 index = path.indexOf("/operatingSystemVersions/", pathOffset); |
| 18628 unittest.expect(index >= 0, unittest.isTrue); | 19032 unittest.expect(index >= 0, unittest.isTrue); |
| 18629 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 19033 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 18630 pathOffset = index; | 19034 pathOffset = index; |
| 18631 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 19035 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 18632 unittest.expect(path.substring(pathOffset, pathOffset + 25), unittest.eq
uals("/operatingSystemVersions/")); | 19036 unittest.expect(path.substring(pathOffset, pathOffset + 25), unittest.eq
uals("/operatingSystemVersions/")); |
| 18633 pathOffset += 25; | 19037 pathOffset += 25; |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 18669 var mock = new HttpServerMock(); | 19073 var mock = new HttpServerMock(); |
| 18670 api.OperatingSystemVersionsResourceApi res = new api.DfareportingApi(mock)
.operatingSystemVersions; | 19074 api.OperatingSystemVersionsResourceApi res = new api.DfareportingApi(mock)
.operatingSystemVersions; |
| 18671 var arg_profileId = "foo"; | 19075 var arg_profileId = "foo"; |
| 18672 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 19076 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 18673 var path = (req.url).path; | 19077 var path = (req.url).path; |
| 18674 var pathOffset = 0; | 19078 var pathOffset = 0; |
| 18675 var index; | 19079 var index; |
| 18676 var subPart; | 19080 var subPart; |
| 18677 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 19081 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 18678 pathOffset += 1; | 19082 pathOffset += 1; |
| 18679 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 19083 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 18680 pathOffset += 18; | 19084 pathOffset += 18; |
| 18681 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 19085 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 18682 pathOffset += 13; | 19086 pathOffset += 13; |
| 18683 index = path.indexOf("/operatingSystemVersions", pathOffset); | 19087 index = path.indexOf("/operatingSystemVersions", pathOffset); |
| 18684 unittest.expect(index >= 0, unittest.isTrue); | 19088 unittest.expect(index >= 0, unittest.isTrue); |
| 18685 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 19089 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 18686 pathOffset = index; | 19090 pathOffset = index; |
| 18687 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 19091 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 18688 unittest.expect(path.substring(pathOffset, pathOffset + 24), unittest.eq
uals("/operatingSystemVersions")); | 19092 unittest.expect(path.substring(pathOffset, pathOffset + 24), unittest.eq
uals("/operatingSystemVersions")); |
| 18689 pathOffset += 24; | 19093 pathOffset += 24; |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 18727 api.OperatingSystemsResourceApi res = new api.DfareportingApi(mock).operat
ingSystems; | 19131 api.OperatingSystemsResourceApi res = new api.DfareportingApi(mock).operat
ingSystems; |
| 18728 var arg_profileId = "foo"; | 19132 var arg_profileId = "foo"; |
| 18729 var arg_dartId = "foo"; | 19133 var arg_dartId = "foo"; |
| 18730 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 19134 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 18731 var path = (req.url).path; | 19135 var path = (req.url).path; |
| 18732 var pathOffset = 0; | 19136 var pathOffset = 0; |
| 18733 var index; | 19137 var index; |
| 18734 var subPart; | 19138 var subPart; |
| 18735 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 19139 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 18736 pathOffset += 1; | 19140 pathOffset += 1; |
| 18737 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 19141 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 18738 pathOffset += 18; | 19142 pathOffset += 18; |
| 18739 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 19143 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 18740 pathOffset += 13; | 19144 pathOffset += 13; |
| 18741 index = path.indexOf("/operatingSystems/", pathOffset); | 19145 index = path.indexOf("/operatingSystems/", pathOffset); |
| 18742 unittest.expect(index >= 0, unittest.isTrue); | 19146 unittest.expect(index >= 0, unittest.isTrue); |
| 18743 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 19147 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 18744 pathOffset = index; | 19148 pathOffset = index; |
| 18745 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 19149 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 18746 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("/operatingSystems/")); | 19150 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("/operatingSystems/")); |
| 18747 pathOffset += 18; | 19151 pathOffset += 18; |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 18783 var mock = new HttpServerMock(); | 19187 var mock = new HttpServerMock(); |
| 18784 api.OperatingSystemsResourceApi res = new api.DfareportingApi(mock).operat
ingSystems; | 19188 api.OperatingSystemsResourceApi res = new api.DfareportingApi(mock).operat
ingSystems; |
| 18785 var arg_profileId = "foo"; | 19189 var arg_profileId = "foo"; |
| 18786 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 19190 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 18787 var path = (req.url).path; | 19191 var path = (req.url).path; |
| 18788 var pathOffset = 0; | 19192 var pathOffset = 0; |
| 18789 var index; | 19193 var index; |
| 18790 var subPart; | 19194 var subPart; |
| 18791 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 19195 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 18792 pathOffset += 1; | 19196 pathOffset += 1; |
| 18793 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 19197 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 18794 pathOffset += 18; | 19198 pathOffset += 18; |
| 18795 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 19199 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 18796 pathOffset += 13; | 19200 pathOffset += 13; |
| 18797 index = path.indexOf("/operatingSystems", pathOffset); | 19201 index = path.indexOf("/operatingSystems", pathOffset); |
| 18798 unittest.expect(index >= 0, unittest.isTrue); | 19202 unittest.expect(index >= 0, unittest.isTrue); |
| 18799 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 19203 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 18800 pathOffset = index; | 19204 pathOffset = index; |
| 18801 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 19205 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 18802 unittest.expect(path.substring(pathOffset, pathOffset + 17), unittest.eq
uals("/operatingSystems")); | 19206 unittest.expect(path.substring(pathOffset, pathOffset + 17), unittest.eq
uals("/operatingSystems")); |
| 18803 pathOffset += 17; | 19207 pathOffset += 17; |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 18842 var arg_profileId = "foo"; | 19246 var arg_profileId = "foo"; |
| 18843 var arg_projectId = "foo"; | 19247 var arg_projectId = "foo"; |
| 18844 var arg_id = "foo"; | 19248 var arg_id = "foo"; |
| 18845 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 19249 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 18846 var path = (req.url).path; | 19250 var path = (req.url).path; |
| 18847 var pathOffset = 0; | 19251 var pathOffset = 0; |
| 18848 var index; | 19252 var index; |
| 18849 var subPart; | 19253 var subPart; |
| 18850 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 19254 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 18851 pathOffset += 1; | 19255 pathOffset += 1; |
| 18852 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 19256 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 18853 pathOffset += 18; | 19257 pathOffset += 18; |
| 18854 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 19258 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 18855 pathOffset += 13; | 19259 pathOffset += 13; |
| 18856 index = path.indexOf("/projects/", pathOffset); | 19260 index = path.indexOf("/projects/", pathOffset); |
| 18857 unittest.expect(index >= 0, unittest.isTrue); | 19261 unittest.expect(index >= 0, unittest.isTrue); |
| 18858 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 19262 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 18859 pathOffset = index; | 19263 pathOffset = index; |
| 18860 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 19264 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 18861 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("/projects/")); | 19265 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("/projects/")); |
| 18862 pathOffset += 10; | 19266 pathOffset += 10; |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 18900 }))); | 19304 }))); |
| 18901 }); | 19305 }); |
| 18902 | 19306 |
| 18903 unittest.test("method--list", () { | 19307 unittest.test("method--list", () { |
| 18904 | 19308 |
| 18905 var mock = new HttpServerMock(); | 19309 var mock = new HttpServerMock(); |
| 18906 api.OrderDocumentsResourceApi res = new api.DfareportingApi(mock).orderDoc
uments; | 19310 api.OrderDocumentsResourceApi res = new api.DfareportingApi(mock).orderDoc
uments; |
| 18907 var arg_profileId = "foo"; | 19311 var arg_profileId = "foo"; |
| 18908 var arg_projectId = "foo"; | 19312 var arg_projectId = "foo"; |
| 18909 var arg_approved = true; | 19313 var arg_approved = true; |
| 18910 var arg_ids = buildUnnamed1636(); | 19314 var arg_ids = buildUnnamed2375(); |
| 18911 var arg_maxResults = 42; | 19315 var arg_maxResults = 42; |
| 18912 var arg_orderId = buildUnnamed1637(); | 19316 var arg_orderId = buildUnnamed2376(); |
| 18913 var arg_pageToken = "foo"; | 19317 var arg_pageToken = "foo"; |
| 18914 var arg_searchString = "foo"; | 19318 var arg_searchString = "foo"; |
| 18915 var arg_siteId = buildUnnamed1638(); | 19319 var arg_siteId = buildUnnamed2377(); |
| 18916 var arg_sortField = "foo"; | 19320 var arg_sortField = "foo"; |
| 18917 var arg_sortOrder = "foo"; | 19321 var arg_sortOrder = "foo"; |
| 18918 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 19322 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 18919 var path = (req.url).path; | 19323 var path = (req.url).path; |
| 18920 var pathOffset = 0; | 19324 var pathOffset = 0; |
| 18921 var index; | 19325 var index; |
| 18922 var subPart; | 19326 var subPart; |
| 18923 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 19327 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 18924 pathOffset += 1; | 19328 pathOffset += 1; |
| 18925 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 19329 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 18926 pathOffset += 18; | 19330 pathOffset += 18; |
| 18927 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 19331 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 18928 pathOffset += 13; | 19332 pathOffset += 13; |
| 18929 index = path.indexOf("/projects/", pathOffset); | 19333 index = path.indexOf("/projects/", pathOffset); |
| 18930 unittest.expect(index >= 0, unittest.isTrue); | 19334 unittest.expect(index >= 0, unittest.isTrue); |
| 18931 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 19335 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 18932 pathOffset = index; | 19336 pathOffset = index; |
| 18933 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 19337 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 18934 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("/projects/")); | 19338 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("/projects/")); |
| 18935 pathOffset += 10; | 19339 pathOffset += 10; |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 18990 var arg_profileId = "foo"; | 19394 var arg_profileId = "foo"; |
| 18991 var arg_projectId = "foo"; | 19395 var arg_projectId = "foo"; |
| 18992 var arg_id = "foo"; | 19396 var arg_id = "foo"; |
| 18993 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 19397 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 18994 var path = (req.url).path; | 19398 var path = (req.url).path; |
| 18995 var pathOffset = 0; | 19399 var pathOffset = 0; |
| 18996 var index; | 19400 var index; |
| 18997 var subPart; | 19401 var subPart; |
| 18998 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 19402 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 18999 pathOffset += 1; | 19403 pathOffset += 1; |
| 19000 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 19404 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 19001 pathOffset += 18; | 19405 pathOffset += 18; |
| 19002 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 19406 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 19003 pathOffset += 13; | 19407 pathOffset += 13; |
| 19004 index = path.indexOf("/projects/", pathOffset); | 19408 index = path.indexOf("/projects/", pathOffset); |
| 19005 unittest.expect(index >= 0, unittest.isTrue); | 19409 unittest.expect(index >= 0, unittest.isTrue); |
| 19006 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 19410 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 19007 pathOffset = index; | 19411 pathOffset = index; |
| 19008 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 19412 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 19009 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("/projects/")); | 19413 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("/projects/")); |
| 19010 pathOffset += 10; | 19414 pathOffset += 10; |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 19047 checkOrder(response); | 19451 checkOrder(response); |
| 19048 }))); | 19452 }))); |
| 19049 }); | 19453 }); |
| 19050 | 19454 |
| 19051 unittest.test("method--list", () { | 19455 unittest.test("method--list", () { |
| 19052 | 19456 |
| 19053 var mock = new HttpServerMock(); | 19457 var mock = new HttpServerMock(); |
| 19054 api.OrdersResourceApi res = new api.DfareportingApi(mock).orders; | 19458 api.OrdersResourceApi res = new api.DfareportingApi(mock).orders; |
| 19055 var arg_profileId = "foo"; | 19459 var arg_profileId = "foo"; |
| 19056 var arg_projectId = "foo"; | 19460 var arg_projectId = "foo"; |
| 19057 var arg_ids = buildUnnamed1639(); | 19461 var arg_ids = buildUnnamed2378(); |
| 19058 var arg_maxResults = 42; | 19462 var arg_maxResults = 42; |
| 19059 var arg_pageToken = "foo"; | 19463 var arg_pageToken = "foo"; |
| 19060 var arg_searchString = "foo"; | 19464 var arg_searchString = "foo"; |
| 19061 var arg_siteId = buildUnnamed1640(); | 19465 var arg_siteId = buildUnnamed2379(); |
| 19062 var arg_sortField = "foo"; | 19466 var arg_sortField = "foo"; |
| 19063 var arg_sortOrder = "foo"; | 19467 var arg_sortOrder = "foo"; |
| 19064 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 19468 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 19065 var path = (req.url).path; | 19469 var path = (req.url).path; |
| 19066 var pathOffset = 0; | 19470 var pathOffset = 0; |
| 19067 var index; | 19471 var index; |
| 19068 var subPart; | 19472 var subPart; |
| 19069 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 19473 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 19070 pathOffset += 1; | 19474 pathOffset += 1; |
| 19071 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 19475 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 19072 pathOffset += 18; | 19476 pathOffset += 18; |
| 19073 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 19477 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 19074 pathOffset += 13; | 19478 pathOffset += 13; |
| 19075 index = path.indexOf("/projects/", pathOffset); | 19479 index = path.indexOf("/projects/", pathOffset); |
| 19076 unittest.expect(index >= 0, unittest.isTrue); | 19480 unittest.expect(index >= 0, unittest.isTrue); |
| 19077 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 19481 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 19078 pathOffset = index; | 19482 pathOffset = index; |
| 19079 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 19483 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 19080 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("/projects/")); | 19484 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("/projects/")); |
| 19081 pathOffset += 10; | 19485 pathOffset += 10; |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 19133 api.PlacementGroupsResourceApi res = new api.DfareportingApi(mock).placeme
ntGroups; | 19537 api.PlacementGroupsResourceApi res = new api.DfareportingApi(mock).placeme
ntGroups; |
| 19134 var arg_profileId = "foo"; | 19538 var arg_profileId = "foo"; |
| 19135 var arg_id = "foo"; | 19539 var arg_id = "foo"; |
| 19136 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 19540 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 19137 var path = (req.url).path; | 19541 var path = (req.url).path; |
| 19138 var pathOffset = 0; | 19542 var pathOffset = 0; |
| 19139 var index; | 19543 var index; |
| 19140 var subPart; | 19544 var subPart; |
| 19141 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 19545 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 19142 pathOffset += 1; | 19546 pathOffset += 1; |
| 19143 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 19547 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 19144 pathOffset += 18; | 19548 pathOffset += 18; |
| 19145 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 19549 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 19146 pathOffset += 13; | 19550 pathOffset += 13; |
| 19147 index = path.indexOf("/placementGroups/", pathOffset); | 19551 index = path.indexOf("/placementGroups/", pathOffset); |
| 19148 unittest.expect(index >= 0, unittest.isTrue); | 19552 unittest.expect(index >= 0, unittest.isTrue); |
| 19149 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 19553 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 19150 pathOffset = index; | 19554 pathOffset = index; |
| 19151 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 19555 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 19152 unittest.expect(path.substring(pathOffset, pathOffset + 17), unittest.eq
uals("/placementGroups/")); | 19556 unittest.expect(path.substring(pathOffset, pathOffset + 17), unittest.eq
uals("/placementGroups/")); |
| 19153 pathOffset += 17; | 19557 pathOffset += 17; |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 19193 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 19597 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 19194 var obj = new api.PlacementGroup.fromJson(json); | 19598 var obj = new api.PlacementGroup.fromJson(json); |
| 19195 checkPlacementGroup(obj); | 19599 checkPlacementGroup(obj); |
| 19196 | 19600 |
| 19197 var path = (req.url).path; | 19601 var path = (req.url).path; |
| 19198 var pathOffset = 0; | 19602 var pathOffset = 0; |
| 19199 var index; | 19603 var index; |
| 19200 var subPart; | 19604 var subPart; |
| 19201 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 19605 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 19202 pathOffset += 1; | 19606 pathOffset += 1; |
| 19203 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 19607 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 19204 pathOffset += 18; | 19608 pathOffset += 18; |
| 19205 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 19609 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 19206 pathOffset += 13; | 19610 pathOffset += 13; |
| 19207 index = path.indexOf("/placementGroups", pathOffset); | 19611 index = path.indexOf("/placementGroups", pathOffset); |
| 19208 unittest.expect(index >= 0, unittest.isTrue); | 19612 unittest.expect(index >= 0, unittest.isTrue); |
| 19209 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 19613 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 19210 pathOffset = index; | 19614 pathOffset = index; |
| 19211 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 19615 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 19212 unittest.expect(path.substring(pathOffset, pathOffset + 16), unittest.eq
uals("/placementGroups")); | 19616 unittest.expect(path.substring(pathOffset, pathOffset + 16), unittest.eq
uals("/placementGroups")); |
| 19213 pathOffset += 16; | 19617 pathOffset += 16; |
| (...skipping 25 matching lines...) Expand all Loading... |
| 19239 res.insert(arg_request, arg_profileId).then(unittest.expectAsync(((api.Pla
cementGroup response) { | 19643 res.insert(arg_request, arg_profileId).then(unittest.expectAsync(((api.Pla
cementGroup response) { |
| 19240 checkPlacementGroup(response); | 19644 checkPlacementGroup(response); |
| 19241 }))); | 19645 }))); |
| 19242 }); | 19646 }); |
| 19243 | 19647 |
| 19244 unittest.test("method--list", () { | 19648 unittest.test("method--list", () { |
| 19245 | 19649 |
| 19246 var mock = new HttpServerMock(); | 19650 var mock = new HttpServerMock(); |
| 19247 api.PlacementGroupsResourceApi res = new api.DfareportingApi(mock).placeme
ntGroups; | 19651 api.PlacementGroupsResourceApi res = new api.DfareportingApi(mock).placeme
ntGroups; |
| 19248 var arg_profileId = "foo"; | 19652 var arg_profileId = "foo"; |
| 19249 var arg_advertiserIds = buildUnnamed1641(); | 19653 var arg_advertiserIds = buildUnnamed2380(); |
| 19250 var arg_archived = true; | 19654 var arg_archived = true; |
| 19251 var arg_campaignIds = buildUnnamed1642(); | 19655 var arg_campaignIds = buildUnnamed2381(); |
| 19252 var arg_contentCategoryIds = buildUnnamed1643(); | 19656 var arg_contentCategoryIds = buildUnnamed2382(); |
| 19253 var arg_directorySiteIds = buildUnnamed1644(); | 19657 var arg_directorySiteIds = buildUnnamed2383(); |
| 19254 var arg_ids = buildUnnamed1645(); | 19658 var arg_ids = buildUnnamed2384(); |
| 19255 var arg_maxEndDate = "foo"; | 19659 var arg_maxEndDate = "foo"; |
| 19256 var arg_maxResults = 42; | 19660 var arg_maxResults = 42; |
| 19257 var arg_maxStartDate = "foo"; | 19661 var arg_maxStartDate = "foo"; |
| 19258 var arg_minEndDate = "foo"; | 19662 var arg_minEndDate = "foo"; |
| 19259 var arg_minStartDate = "foo"; | 19663 var arg_minStartDate = "foo"; |
| 19260 var arg_pageToken = "foo"; | 19664 var arg_pageToken = "foo"; |
| 19261 var arg_placementGroupType = "foo"; | 19665 var arg_placementGroupType = "foo"; |
| 19262 var arg_placementStrategyIds = buildUnnamed1646(); | 19666 var arg_placementStrategyIds = buildUnnamed2385(); |
| 19263 var arg_pricingTypes = buildUnnamed1647(); | 19667 var arg_pricingTypes = buildUnnamed2386(); |
| 19264 var arg_searchString = "foo"; | 19668 var arg_searchString = "foo"; |
| 19265 var arg_siteIds = buildUnnamed1648(); | 19669 var arg_siteIds = buildUnnamed2387(); |
| 19266 var arg_sortField = "foo"; | 19670 var arg_sortField = "foo"; |
| 19267 var arg_sortOrder = "foo"; | 19671 var arg_sortOrder = "foo"; |
| 19268 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 19672 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 19269 var path = (req.url).path; | 19673 var path = (req.url).path; |
| 19270 var pathOffset = 0; | 19674 var pathOffset = 0; |
| 19271 var index; | 19675 var index; |
| 19272 var subPart; | 19676 var subPart; |
| 19273 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 19677 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 19274 pathOffset += 1; | 19678 pathOffset += 1; |
| 19275 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 19679 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 19276 pathOffset += 18; | 19680 pathOffset += 18; |
| 19277 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 19681 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 19278 pathOffset += 13; | 19682 pathOffset += 13; |
| 19279 index = path.indexOf("/placementGroups", pathOffset); | 19683 index = path.indexOf("/placementGroups", pathOffset); |
| 19280 unittest.expect(index >= 0, unittest.isTrue); | 19684 unittest.expect(index >= 0, unittest.isTrue); |
| 19281 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 19685 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 19282 pathOffset = index; | 19686 pathOffset = index; |
| 19283 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 19687 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 19284 unittest.expect(path.substring(pathOffset, pathOffset + 16), unittest.eq
uals("/placementGroups")); | 19688 unittest.expect(path.substring(pathOffset, pathOffset + 16), unittest.eq
uals("/placementGroups")); |
| 19285 pathOffset += 16; | 19689 pathOffset += 16; |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 19342 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 19746 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 19343 var obj = new api.PlacementGroup.fromJson(json); | 19747 var obj = new api.PlacementGroup.fromJson(json); |
| 19344 checkPlacementGroup(obj); | 19748 checkPlacementGroup(obj); |
| 19345 | 19749 |
| 19346 var path = (req.url).path; | 19750 var path = (req.url).path; |
| 19347 var pathOffset = 0; | 19751 var pathOffset = 0; |
| 19348 var index; | 19752 var index; |
| 19349 var subPart; | 19753 var subPart; |
| 19350 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 19754 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 19351 pathOffset += 1; | 19755 pathOffset += 1; |
| 19352 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 19756 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 19353 pathOffset += 18; | 19757 pathOffset += 18; |
| 19354 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 19758 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 19355 pathOffset += 13; | 19759 pathOffset += 13; |
| 19356 index = path.indexOf("/placementGroups", pathOffset); | 19760 index = path.indexOf("/placementGroups", pathOffset); |
| 19357 unittest.expect(index >= 0, unittest.isTrue); | 19761 unittest.expect(index >= 0, unittest.isTrue); |
| 19358 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 19762 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 19359 pathOffset = index; | 19763 pathOffset = index; |
| 19360 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 19764 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 19361 unittest.expect(path.substring(pathOffset, pathOffset + 16), unittest.eq
uals("/placementGroups")); | 19765 unittest.expect(path.substring(pathOffset, pathOffset + 16), unittest.eq
uals("/placementGroups")); |
| 19362 pathOffset += 16; | 19766 pathOffset += 16; |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 19400 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 19804 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 19401 var obj = new api.PlacementGroup.fromJson(json); | 19805 var obj = new api.PlacementGroup.fromJson(json); |
| 19402 checkPlacementGroup(obj); | 19806 checkPlacementGroup(obj); |
| 19403 | 19807 |
| 19404 var path = (req.url).path; | 19808 var path = (req.url).path; |
| 19405 var pathOffset = 0; | 19809 var pathOffset = 0; |
| 19406 var index; | 19810 var index; |
| 19407 var subPart; | 19811 var subPart; |
| 19408 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 19812 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 19409 pathOffset += 1; | 19813 pathOffset += 1; |
| 19410 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 19814 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 19411 pathOffset += 18; | 19815 pathOffset += 18; |
| 19412 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 19816 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 19413 pathOffset += 13; | 19817 pathOffset += 13; |
| 19414 index = path.indexOf("/placementGroups", pathOffset); | 19818 index = path.indexOf("/placementGroups", pathOffset); |
| 19415 unittest.expect(index >= 0, unittest.isTrue); | 19819 unittest.expect(index >= 0, unittest.isTrue); |
| 19416 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 19820 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 19417 pathOffset = index; | 19821 pathOffset = index; |
| 19418 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 19822 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 19419 unittest.expect(path.substring(pathOffset, pathOffset + 16), unittest.eq
uals("/placementGroups")); | 19823 unittest.expect(path.substring(pathOffset, pathOffset + 16), unittest.eq
uals("/placementGroups")); |
| 19420 pathOffset += 16; | 19824 pathOffset += 16; |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 19458 api.PlacementStrategiesResourceApi res = new api.DfareportingApi(mock).pla
cementStrategies; | 19862 api.PlacementStrategiesResourceApi res = new api.DfareportingApi(mock).pla
cementStrategies; |
| 19459 var arg_profileId = "foo"; | 19863 var arg_profileId = "foo"; |
| 19460 var arg_id = "foo"; | 19864 var arg_id = "foo"; |
| 19461 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 19865 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 19462 var path = (req.url).path; | 19866 var path = (req.url).path; |
| 19463 var pathOffset = 0; | 19867 var pathOffset = 0; |
| 19464 var index; | 19868 var index; |
| 19465 var subPart; | 19869 var subPart; |
| 19466 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 19870 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 19467 pathOffset += 1; | 19871 pathOffset += 1; |
| 19468 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 19872 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 19469 pathOffset += 18; | 19873 pathOffset += 18; |
| 19470 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 19874 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 19471 pathOffset += 13; | 19875 pathOffset += 13; |
| 19472 index = path.indexOf("/placementStrategies/", pathOffset); | 19876 index = path.indexOf("/placementStrategies/", pathOffset); |
| 19473 unittest.expect(index >= 0, unittest.isTrue); | 19877 unittest.expect(index >= 0, unittest.isTrue); |
| 19474 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 19878 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 19475 pathOffset = index; | 19879 pathOffset = index; |
| 19476 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 19880 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 19477 unittest.expect(path.substring(pathOffset, pathOffset + 21), unittest.eq
uals("/placementStrategies/")); | 19881 unittest.expect(path.substring(pathOffset, pathOffset + 21), unittest.eq
uals("/placementStrategies/")); |
| 19478 pathOffset += 21; | 19882 pathOffset += 21; |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 19513 api.PlacementStrategiesResourceApi res = new api.DfareportingApi(mock).pla
cementStrategies; | 19917 api.PlacementStrategiesResourceApi res = new api.DfareportingApi(mock).pla
cementStrategies; |
| 19514 var arg_profileId = "foo"; | 19918 var arg_profileId = "foo"; |
| 19515 var arg_id = "foo"; | 19919 var arg_id = "foo"; |
| 19516 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 19920 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 19517 var path = (req.url).path; | 19921 var path = (req.url).path; |
| 19518 var pathOffset = 0; | 19922 var pathOffset = 0; |
| 19519 var index; | 19923 var index; |
| 19520 var subPart; | 19924 var subPart; |
| 19521 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 19925 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 19522 pathOffset += 1; | 19926 pathOffset += 1; |
| 19523 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 19927 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 19524 pathOffset += 18; | 19928 pathOffset += 18; |
| 19525 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 19929 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 19526 pathOffset += 13; | 19930 pathOffset += 13; |
| 19527 index = path.indexOf("/placementStrategies/", pathOffset); | 19931 index = path.indexOf("/placementStrategies/", pathOffset); |
| 19528 unittest.expect(index >= 0, unittest.isTrue); | 19932 unittest.expect(index >= 0, unittest.isTrue); |
| 19529 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 19933 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 19530 pathOffset = index; | 19934 pathOffset = index; |
| 19531 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 19935 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 19532 unittest.expect(path.substring(pathOffset, pathOffset + 21), unittest.eq
uals("/placementStrategies/")); | 19936 unittest.expect(path.substring(pathOffset, pathOffset + 21), unittest.eq
uals("/placementStrategies/")); |
| 19533 pathOffset += 21; | 19937 pathOffset += 21; |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 19573 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 19977 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 19574 var obj = new api.PlacementStrategy.fromJson(json); | 19978 var obj = new api.PlacementStrategy.fromJson(json); |
| 19575 checkPlacementStrategy(obj); | 19979 checkPlacementStrategy(obj); |
| 19576 | 19980 |
| 19577 var path = (req.url).path; | 19981 var path = (req.url).path; |
| 19578 var pathOffset = 0; | 19982 var pathOffset = 0; |
| 19579 var index; | 19983 var index; |
| 19580 var subPart; | 19984 var subPart; |
| 19581 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 19985 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 19582 pathOffset += 1; | 19986 pathOffset += 1; |
| 19583 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 19987 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 19584 pathOffset += 18; | 19988 pathOffset += 18; |
| 19585 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 19989 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 19586 pathOffset += 13; | 19990 pathOffset += 13; |
| 19587 index = path.indexOf("/placementStrategies", pathOffset); | 19991 index = path.indexOf("/placementStrategies", pathOffset); |
| 19588 unittest.expect(index >= 0, unittest.isTrue); | 19992 unittest.expect(index >= 0, unittest.isTrue); |
| 19589 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 19993 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 19590 pathOffset = index; | 19994 pathOffset = index; |
| 19591 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 19995 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 19592 unittest.expect(path.substring(pathOffset, pathOffset + 20), unittest.eq
uals("/placementStrategies")); | 19996 unittest.expect(path.substring(pathOffset, pathOffset + 20), unittest.eq
uals("/placementStrategies")); |
| 19593 pathOffset += 20; | 19997 pathOffset += 20; |
| (...skipping 25 matching lines...) Expand all Loading... |
| 19619 res.insert(arg_request, arg_profileId).then(unittest.expectAsync(((api.Pla
cementStrategy response) { | 20023 res.insert(arg_request, arg_profileId).then(unittest.expectAsync(((api.Pla
cementStrategy response) { |
| 19620 checkPlacementStrategy(response); | 20024 checkPlacementStrategy(response); |
| 19621 }))); | 20025 }))); |
| 19622 }); | 20026 }); |
| 19623 | 20027 |
| 19624 unittest.test("method--list", () { | 20028 unittest.test("method--list", () { |
| 19625 | 20029 |
| 19626 var mock = new HttpServerMock(); | 20030 var mock = new HttpServerMock(); |
| 19627 api.PlacementStrategiesResourceApi res = new api.DfareportingApi(mock).pla
cementStrategies; | 20031 api.PlacementStrategiesResourceApi res = new api.DfareportingApi(mock).pla
cementStrategies; |
| 19628 var arg_profileId = "foo"; | 20032 var arg_profileId = "foo"; |
| 19629 var arg_ids = buildUnnamed1649(); | 20033 var arg_ids = buildUnnamed2388(); |
| 19630 var arg_maxResults = 42; | 20034 var arg_maxResults = 42; |
| 19631 var arg_pageToken = "foo"; | 20035 var arg_pageToken = "foo"; |
| 19632 var arg_searchString = "foo"; | 20036 var arg_searchString = "foo"; |
| 19633 var arg_sortField = "foo"; | 20037 var arg_sortField = "foo"; |
| 19634 var arg_sortOrder = "foo"; | 20038 var arg_sortOrder = "foo"; |
| 19635 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 20039 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 19636 var path = (req.url).path; | 20040 var path = (req.url).path; |
| 19637 var pathOffset = 0; | 20041 var pathOffset = 0; |
| 19638 var index; | 20042 var index; |
| 19639 var subPart; | 20043 var subPart; |
| 19640 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 20044 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 19641 pathOffset += 1; | 20045 pathOffset += 1; |
| 19642 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 20046 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 19643 pathOffset += 18; | 20047 pathOffset += 18; |
| 19644 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 20048 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 19645 pathOffset += 13; | 20049 pathOffset += 13; |
| 19646 index = path.indexOf("/placementStrategies", pathOffset); | 20050 index = path.indexOf("/placementStrategies", pathOffset); |
| 19647 unittest.expect(index >= 0, unittest.isTrue); | 20051 unittest.expect(index >= 0, unittest.isTrue); |
| 19648 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 20052 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 19649 pathOffset = index; | 20053 pathOffset = index; |
| 19650 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 20054 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 19651 unittest.expect(path.substring(pathOffset, pathOffset + 20), unittest.eq
uals("/placementStrategies")); | 20055 unittest.expect(path.substring(pathOffset, pathOffset + 20), unittest.eq
uals("/placementStrategies")); |
| 19652 pathOffset += 20; | 20056 pathOffset += 20; |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 19696 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 20100 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 19697 var obj = new api.PlacementStrategy.fromJson(json); | 20101 var obj = new api.PlacementStrategy.fromJson(json); |
| 19698 checkPlacementStrategy(obj); | 20102 checkPlacementStrategy(obj); |
| 19699 | 20103 |
| 19700 var path = (req.url).path; | 20104 var path = (req.url).path; |
| 19701 var pathOffset = 0; | 20105 var pathOffset = 0; |
| 19702 var index; | 20106 var index; |
| 19703 var subPart; | 20107 var subPart; |
| 19704 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 20108 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 19705 pathOffset += 1; | 20109 pathOffset += 1; |
| 19706 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 20110 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 19707 pathOffset += 18; | 20111 pathOffset += 18; |
| 19708 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 20112 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 19709 pathOffset += 13; | 20113 pathOffset += 13; |
| 19710 index = path.indexOf("/placementStrategies", pathOffset); | 20114 index = path.indexOf("/placementStrategies", pathOffset); |
| 19711 unittest.expect(index >= 0, unittest.isTrue); | 20115 unittest.expect(index >= 0, unittest.isTrue); |
| 19712 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 20116 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 19713 pathOffset = index; | 20117 pathOffset = index; |
| 19714 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 20118 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 19715 unittest.expect(path.substring(pathOffset, pathOffset + 20), unittest.eq
uals("/placementStrategies")); | 20119 unittest.expect(path.substring(pathOffset, pathOffset + 20), unittest.eq
uals("/placementStrategies")); |
| 19716 pathOffset += 20; | 20120 pathOffset += 20; |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 19754 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 20158 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 19755 var obj = new api.PlacementStrategy.fromJson(json); | 20159 var obj = new api.PlacementStrategy.fromJson(json); |
| 19756 checkPlacementStrategy(obj); | 20160 checkPlacementStrategy(obj); |
| 19757 | 20161 |
| 19758 var path = (req.url).path; | 20162 var path = (req.url).path; |
| 19759 var pathOffset = 0; | 20163 var pathOffset = 0; |
| 19760 var index; | 20164 var index; |
| 19761 var subPart; | 20165 var subPart; |
| 19762 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 20166 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 19763 pathOffset += 1; | 20167 pathOffset += 1; |
| 19764 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 20168 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 19765 pathOffset += 18; | 20169 pathOffset += 18; |
| 19766 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 20170 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 19767 pathOffset += 13; | 20171 pathOffset += 13; |
| 19768 index = path.indexOf("/placementStrategies", pathOffset); | 20172 index = path.indexOf("/placementStrategies", pathOffset); |
| 19769 unittest.expect(index >= 0, unittest.isTrue); | 20173 unittest.expect(index >= 0, unittest.isTrue); |
| 19770 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 20174 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 19771 pathOffset = index; | 20175 pathOffset = index; |
| 19772 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 20176 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 19773 unittest.expect(path.substring(pathOffset, pathOffset + 20), unittest.eq
uals("/placementStrategies")); | 20177 unittest.expect(path.substring(pathOffset, pathOffset + 20), unittest.eq
uals("/placementStrategies")); |
| 19774 pathOffset += 20; | 20178 pathOffset += 20; |
| (...skipping 30 matching lines...) Expand all Loading... |
| 19805 }); | 20209 }); |
| 19806 | 20210 |
| 19807 | 20211 |
| 19808 unittest.group("resource-PlacementsResourceApi", () { | 20212 unittest.group("resource-PlacementsResourceApi", () { |
| 19809 unittest.test("method--generatetags", () { | 20213 unittest.test("method--generatetags", () { |
| 19810 | 20214 |
| 19811 var mock = new HttpServerMock(); | 20215 var mock = new HttpServerMock(); |
| 19812 api.PlacementsResourceApi res = new api.DfareportingApi(mock).placements; | 20216 api.PlacementsResourceApi res = new api.DfareportingApi(mock).placements; |
| 19813 var arg_profileId = "foo"; | 20217 var arg_profileId = "foo"; |
| 19814 var arg_campaignId = "foo"; | 20218 var arg_campaignId = "foo"; |
| 19815 var arg_placementIds = buildUnnamed1650(); | 20219 var arg_placementIds = buildUnnamed2389(); |
| 19816 var arg_tagFormats = buildUnnamed1651(); | 20220 var arg_tagFormats = buildUnnamed2390(); |
| 19817 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 20221 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 19818 var path = (req.url).path; | 20222 var path = (req.url).path; |
| 19819 var pathOffset = 0; | 20223 var pathOffset = 0; |
| 19820 var index; | 20224 var index; |
| 19821 var subPart; | 20225 var subPart; |
| 19822 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 20226 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 19823 pathOffset += 1; | 20227 pathOffset += 1; |
| 19824 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 20228 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 19825 pathOffset += 18; | 20229 pathOffset += 18; |
| 19826 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 20230 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 19827 pathOffset += 13; | 20231 pathOffset += 13; |
| 19828 index = path.indexOf("/placements/generatetags", pathOffset); | 20232 index = path.indexOf("/placements/generatetags", pathOffset); |
| 19829 unittest.expect(index >= 0, unittest.isTrue); | 20233 unittest.expect(index >= 0, unittest.isTrue); |
| 19830 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 20234 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 19831 pathOffset = index; | 20235 pathOffset = index; |
| 19832 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 20236 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 19833 unittest.expect(path.substring(pathOffset, pathOffset + 24), unittest.eq
uals("/placements/generatetags")); | 20237 unittest.expect(path.substring(pathOffset, pathOffset + 24), unittest.eq
uals("/placements/generatetags")); |
| 19834 pathOffset += 24; | 20238 pathOffset += 24; |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 19871 api.PlacementsResourceApi res = new api.DfareportingApi(mock).placements; | 20275 api.PlacementsResourceApi res = new api.DfareportingApi(mock).placements; |
| 19872 var arg_profileId = "foo"; | 20276 var arg_profileId = "foo"; |
| 19873 var arg_id = "foo"; | 20277 var arg_id = "foo"; |
| 19874 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 20278 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 19875 var path = (req.url).path; | 20279 var path = (req.url).path; |
| 19876 var pathOffset = 0; | 20280 var pathOffset = 0; |
| 19877 var index; | 20281 var index; |
| 19878 var subPart; | 20282 var subPart; |
| 19879 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 20283 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 19880 pathOffset += 1; | 20284 pathOffset += 1; |
| 19881 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 20285 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 19882 pathOffset += 18; | 20286 pathOffset += 18; |
| 19883 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 20287 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 19884 pathOffset += 13; | 20288 pathOffset += 13; |
| 19885 index = path.indexOf("/placements/", pathOffset); | 20289 index = path.indexOf("/placements/", pathOffset); |
| 19886 unittest.expect(index >= 0, unittest.isTrue); | 20290 unittest.expect(index >= 0, unittest.isTrue); |
| 19887 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 20291 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 19888 pathOffset = index; | 20292 pathOffset = index; |
| 19889 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 20293 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 19890 unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.eq
uals("/placements/")); | 20294 unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.eq
uals("/placements/")); |
| 19891 pathOffset += 12; | 20295 pathOffset += 12; |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 19931 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 20335 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 19932 var obj = new api.Placement.fromJson(json); | 20336 var obj = new api.Placement.fromJson(json); |
| 19933 checkPlacement(obj); | 20337 checkPlacement(obj); |
| 19934 | 20338 |
| 19935 var path = (req.url).path; | 20339 var path = (req.url).path; |
| 19936 var pathOffset = 0; | 20340 var pathOffset = 0; |
| 19937 var index; | 20341 var index; |
| 19938 var subPart; | 20342 var subPart; |
| 19939 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 20343 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 19940 pathOffset += 1; | 20344 pathOffset += 1; |
| 19941 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 20345 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 19942 pathOffset += 18; | 20346 pathOffset += 18; |
| 19943 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 20347 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 19944 pathOffset += 13; | 20348 pathOffset += 13; |
| 19945 index = path.indexOf("/placements", pathOffset); | 20349 index = path.indexOf("/placements", pathOffset); |
| 19946 unittest.expect(index >= 0, unittest.isTrue); | 20350 unittest.expect(index >= 0, unittest.isTrue); |
| 19947 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 20351 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 19948 pathOffset = index; | 20352 pathOffset = index; |
| 19949 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 20353 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 19950 unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.eq
uals("/placements")); | 20354 unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.eq
uals("/placements")); |
| 19951 pathOffset += 11; | 20355 pathOffset += 11; |
| (...skipping 25 matching lines...) Expand all Loading... |
| 19977 res.insert(arg_request, arg_profileId).then(unittest.expectAsync(((api.Pla
cement response) { | 20381 res.insert(arg_request, arg_profileId).then(unittest.expectAsync(((api.Pla
cement response) { |
| 19978 checkPlacement(response); | 20382 checkPlacement(response); |
| 19979 }))); | 20383 }))); |
| 19980 }); | 20384 }); |
| 19981 | 20385 |
| 19982 unittest.test("method--list", () { | 20386 unittest.test("method--list", () { |
| 19983 | 20387 |
| 19984 var mock = new HttpServerMock(); | 20388 var mock = new HttpServerMock(); |
| 19985 api.PlacementsResourceApi res = new api.DfareportingApi(mock).placements; | 20389 api.PlacementsResourceApi res = new api.DfareportingApi(mock).placements; |
| 19986 var arg_profileId = "foo"; | 20390 var arg_profileId = "foo"; |
| 19987 var arg_advertiserIds = buildUnnamed1652(); | 20391 var arg_advertiserIds = buildUnnamed2391(); |
| 19988 var arg_archived = true; | 20392 var arg_archived = true; |
| 19989 var arg_campaignIds = buildUnnamed1653(); | 20393 var arg_campaignIds = buildUnnamed2392(); |
| 19990 var arg_compatibilities = buildUnnamed1654(); | 20394 var arg_compatibilities = buildUnnamed2393(); |
| 19991 var arg_contentCategoryIds = buildUnnamed1655(); | 20395 var arg_contentCategoryIds = buildUnnamed2394(); |
| 19992 var arg_directorySiteIds = buildUnnamed1656(); | 20396 var arg_directorySiteIds = buildUnnamed2395(); |
| 19993 var arg_groupIds = buildUnnamed1657(); | 20397 var arg_groupIds = buildUnnamed2396(); |
| 19994 var arg_ids = buildUnnamed1658(); | 20398 var arg_ids = buildUnnamed2397(); |
| 19995 var arg_maxEndDate = "foo"; | 20399 var arg_maxEndDate = "foo"; |
| 19996 var arg_maxResults = 42; | 20400 var arg_maxResults = 42; |
| 19997 var arg_maxStartDate = "foo"; | 20401 var arg_maxStartDate = "foo"; |
| 19998 var arg_minEndDate = "foo"; | 20402 var arg_minEndDate = "foo"; |
| 19999 var arg_minStartDate = "foo"; | 20403 var arg_minStartDate = "foo"; |
| 20000 var arg_pageToken = "foo"; | 20404 var arg_pageToken = "foo"; |
| 20001 var arg_paymentSource = "foo"; | 20405 var arg_paymentSource = "foo"; |
| 20002 var arg_placementStrategyIds = buildUnnamed1659(); | 20406 var arg_placementStrategyIds = buildUnnamed2398(); |
| 20003 var arg_pricingTypes = buildUnnamed1660(); | 20407 var arg_pricingTypes = buildUnnamed2399(); |
| 20004 var arg_searchString = "foo"; | 20408 var arg_searchString = "foo"; |
| 20005 var arg_siteIds = buildUnnamed1661(); | 20409 var arg_siteIds = buildUnnamed2400(); |
| 20006 var arg_sizeIds = buildUnnamed1662(); | 20410 var arg_sizeIds = buildUnnamed2401(); |
| 20007 var arg_sortField = "foo"; | 20411 var arg_sortField = "foo"; |
| 20008 var arg_sortOrder = "foo"; | 20412 var arg_sortOrder = "foo"; |
| 20009 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 20413 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 20010 var path = (req.url).path; | 20414 var path = (req.url).path; |
| 20011 var pathOffset = 0; | 20415 var pathOffset = 0; |
| 20012 var index; | 20416 var index; |
| 20013 var subPart; | 20417 var subPart; |
| 20014 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 20418 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 20015 pathOffset += 1; | 20419 pathOffset += 1; |
| 20016 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 20420 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 20017 pathOffset += 18; | 20421 pathOffset += 18; |
| 20018 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 20422 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 20019 pathOffset += 13; | 20423 pathOffset += 13; |
| 20020 index = path.indexOf("/placements", pathOffset); | 20424 index = path.indexOf("/placements", pathOffset); |
| 20021 unittest.expect(index >= 0, unittest.isTrue); | 20425 unittest.expect(index >= 0, unittest.isTrue); |
| 20022 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 20426 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 20023 pathOffset = index; | 20427 pathOffset = index; |
| 20024 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 20428 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 20025 unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.eq
uals("/placements")); | 20429 unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.eq
uals("/placements")); |
| 20026 pathOffset += 11; | 20430 pathOffset += 11; |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 20086 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 20490 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 20087 var obj = new api.Placement.fromJson(json); | 20491 var obj = new api.Placement.fromJson(json); |
| 20088 checkPlacement(obj); | 20492 checkPlacement(obj); |
| 20089 | 20493 |
| 20090 var path = (req.url).path; | 20494 var path = (req.url).path; |
| 20091 var pathOffset = 0; | 20495 var pathOffset = 0; |
| 20092 var index; | 20496 var index; |
| 20093 var subPart; | 20497 var subPart; |
| 20094 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 20498 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 20095 pathOffset += 1; | 20499 pathOffset += 1; |
| 20096 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 20500 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 20097 pathOffset += 18; | 20501 pathOffset += 18; |
| 20098 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 20502 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 20099 pathOffset += 13; | 20503 pathOffset += 13; |
| 20100 index = path.indexOf("/placements", pathOffset); | 20504 index = path.indexOf("/placements", pathOffset); |
| 20101 unittest.expect(index >= 0, unittest.isTrue); | 20505 unittest.expect(index >= 0, unittest.isTrue); |
| 20102 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 20506 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 20103 pathOffset = index; | 20507 pathOffset = index; |
| 20104 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 20508 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 20105 unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.eq
uals("/placements")); | 20509 unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.eq
uals("/placements")); |
| 20106 pathOffset += 11; | 20510 pathOffset += 11; |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 20144 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 20548 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 20145 var obj = new api.Placement.fromJson(json); | 20549 var obj = new api.Placement.fromJson(json); |
| 20146 checkPlacement(obj); | 20550 checkPlacement(obj); |
| 20147 | 20551 |
| 20148 var path = (req.url).path; | 20552 var path = (req.url).path; |
| 20149 var pathOffset = 0; | 20553 var pathOffset = 0; |
| 20150 var index; | 20554 var index; |
| 20151 var subPart; | 20555 var subPart; |
| 20152 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 20556 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 20153 pathOffset += 1; | 20557 pathOffset += 1; |
| 20154 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 20558 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 20155 pathOffset += 18; | 20559 pathOffset += 18; |
| 20156 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 20560 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 20157 pathOffset += 13; | 20561 pathOffset += 13; |
| 20158 index = path.indexOf("/placements", pathOffset); | 20562 index = path.indexOf("/placements", pathOffset); |
| 20159 unittest.expect(index >= 0, unittest.isTrue); | 20563 unittest.expect(index >= 0, unittest.isTrue); |
| 20160 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 20564 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 20161 pathOffset = index; | 20565 pathOffset = index; |
| 20162 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 20566 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 20163 unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.eq
uals("/placements")); | 20567 unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.eq
uals("/placements")); |
| 20164 pathOffset += 11; | 20568 pathOffset += 11; |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 20202 api.PlatformTypesResourceApi res = new api.DfareportingApi(mock).platformT
ypes; | 20606 api.PlatformTypesResourceApi res = new api.DfareportingApi(mock).platformT
ypes; |
| 20203 var arg_profileId = "foo"; | 20607 var arg_profileId = "foo"; |
| 20204 var arg_id = "foo"; | 20608 var arg_id = "foo"; |
| 20205 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 20609 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 20206 var path = (req.url).path; | 20610 var path = (req.url).path; |
| 20207 var pathOffset = 0; | 20611 var pathOffset = 0; |
| 20208 var index; | 20612 var index; |
| 20209 var subPart; | 20613 var subPart; |
| 20210 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 20614 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 20211 pathOffset += 1; | 20615 pathOffset += 1; |
| 20212 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 20616 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 20213 pathOffset += 18; | 20617 pathOffset += 18; |
| 20214 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 20618 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 20215 pathOffset += 13; | 20619 pathOffset += 13; |
| 20216 index = path.indexOf("/platformTypes/", pathOffset); | 20620 index = path.indexOf("/platformTypes/", pathOffset); |
| 20217 unittest.expect(index >= 0, unittest.isTrue); | 20621 unittest.expect(index >= 0, unittest.isTrue); |
| 20218 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 20622 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 20219 pathOffset = index; | 20623 pathOffset = index; |
| 20220 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 20624 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 20221 unittest.expect(path.substring(pathOffset, pathOffset + 15), unittest.eq
uals("/platformTypes/")); | 20625 unittest.expect(path.substring(pathOffset, pathOffset + 15), unittest.eq
uals("/platformTypes/")); |
| 20222 pathOffset += 15; | 20626 pathOffset += 15; |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 20258 var mock = new HttpServerMock(); | 20662 var mock = new HttpServerMock(); |
| 20259 api.PlatformTypesResourceApi res = new api.DfareportingApi(mock).platformT
ypes; | 20663 api.PlatformTypesResourceApi res = new api.DfareportingApi(mock).platformT
ypes; |
| 20260 var arg_profileId = "foo"; | 20664 var arg_profileId = "foo"; |
| 20261 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 20665 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 20262 var path = (req.url).path; | 20666 var path = (req.url).path; |
| 20263 var pathOffset = 0; | 20667 var pathOffset = 0; |
| 20264 var index; | 20668 var index; |
| 20265 var subPart; | 20669 var subPart; |
| 20266 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 20670 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 20267 pathOffset += 1; | 20671 pathOffset += 1; |
| 20268 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 20672 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 20269 pathOffset += 18; | 20673 pathOffset += 18; |
| 20270 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 20674 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 20271 pathOffset += 13; | 20675 pathOffset += 13; |
| 20272 index = path.indexOf("/platformTypes", pathOffset); | 20676 index = path.indexOf("/platformTypes", pathOffset); |
| 20273 unittest.expect(index >= 0, unittest.isTrue); | 20677 unittest.expect(index >= 0, unittest.isTrue); |
| 20274 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 20678 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 20275 pathOffset = index; | 20679 pathOffset = index; |
| 20276 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 20680 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 20277 unittest.expect(path.substring(pathOffset, pathOffset + 14), unittest.eq
uals("/platformTypes")); | 20681 unittest.expect(path.substring(pathOffset, pathOffset + 14), unittest.eq
uals("/platformTypes")); |
| 20278 pathOffset += 14; | 20682 pathOffset += 14; |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 20316 api.PostalCodesResourceApi res = new api.DfareportingApi(mock).postalCodes
; | 20720 api.PostalCodesResourceApi res = new api.DfareportingApi(mock).postalCodes
; |
| 20317 var arg_profileId = "foo"; | 20721 var arg_profileId = "foo"; |
| 20318 var arg_code = "foo"; | 20722 var arg_code = "foo"; |
| 20319 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 20723 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 20320 var path = (req.url).path; | 20724 var path = (req.url).path; |
| 20321 var pathOffset = 0; | 20725 var pathOffset = 0; |
| 20322 var index; | 20726 var index; |
| 20323 var subPart; | 20727 var subPart; |
| 20324 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 20728 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 20325 pathOffset += 1; | 20729 pathOffset += 1; |
| 20326 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 20730 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 20327 pathOffset += 18; | 20731 pathOffset += 18; |
| 20328 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 20732 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 20329 pathOffset += 13; | 20733 pathOffset += 13; |
| 20330 index = path.indexOf("/postalCodes/", pathOffset); | 20734 index = path.indexOf("/postalCodes/", pathOffset); |
| 20331 unittest.expect(index >= 0, unittest.isTrue); | 20735 unittest.expect(index >= 0, unittest.isTrue); |
| 20332 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 20736 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 20333 pathOffset = index; | 20737 pathOffset = index; |
| 20334 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 20738 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 20335 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("/postalCodes/")); | 20739 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("/postalCodes/")); |
| 20336 pathOffset += 13; | 20740 pathOffset += 13; |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 20372 var mock = new HttpServerMock(); | 20776 var mock = new HttpServerMock(); |
| 20373 api.PostalCodesResourceApi res = new api.DfareportingApi(mock).postalCodes
; | 20777 api.PostalCodesResourceApi res = new api.DfareportingApi(mock).postalCodes
; |
| 20374 var arg_profileId = "foo"; | 20778 var arg_profileId = "foo"; |
| 20375 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 20779 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 20376 var path = (req.url).path; | 20780 var path = (req.url).path; |
| 20377 var pathOffset = 0; | 20781 var pathOffset = 0; |
| 20378 var index; | 20782 var index; |
| 20379 var subPart; | 20783 var subPart; |
| 20380 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 20784 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 20381 pathOffset += 1; | 20785 pathOffset += 1; |
| 20382 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 20786 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 20383 pathOffset += 18; | 20787 pathOffset += 18; |
| 20384 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 20788 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 20385 pathOffset += 13; | 20789 pathOffset += 13; |
| 20386 index = path.indexOf("/postalCodes", pathOffset); | 20790 index = path.indexOf("/postalCodes", pathOffset); |
| 20387 unittest.expect(index >= 0, unittest.isTrue); | 20791 unittest.expect(index >= 0, unittest.isTrue); |
| 20388 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 20792 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 20389 pathOffset = index; | 20793 pathOffset = index; |
| 20390 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 20794 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 20391 unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.eq
uals("/postalCodes")); | 20795 unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.eq
uals("/postalCodes")); |
| 20392 pathOffset += 12; | 20796 pathOffset += 12; |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 20430 api.ProjectsResourceApi res = new api.DfareportingApi(mock).projects; | 20834 api.ProjectsResourceApi res = new api.DfareportingApi(mock).projects; |
| 20431 var arg_profileId = "foo"; | 20835 var arg_profileId = "foo"; |
| 20432 var arg_id = "foo"; | 20836 var arg_id = "foo"; |
| 20433 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 20837 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 20434 var path = (req.url).path; | 20838 var path = (req.url).path; |
| 20435 var pathOffset = 0; | 20839 var pathOffset = 0; |
| 20436 var index; | 20840 var index; |
| 20437 var subPart; | 20841 var subPart; |
| 20438 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 20842 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 20439 pathOffset += 1; | 20843 pathOffset += 1; |
| 20440 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 20844 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 20441 pathOffset += 18; | 20845 pathOffset += 18; |
| 20442 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 20846 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 20443 pathOffset += 13; | 20847 pathOffset += 13; |
| 20444 index = path.indexOf("/projects/", pathOffset); | 20848 index = path.indexOf("/projects/", pathOffset); |
| 20445 unittest.expect(index >= 0, unittest.isTrue); | 20849 unittest.expect(index >= 0, unittest.isTrue); |
| 20446 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 20850 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 20447 pathOffset = index; | 20851 pathOffset = index; |
| 20448 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 20852 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 20449 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("/projects/")); | 20853 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("/projects/")); |
| 20450 pathOffset += 10; | 20854 pathOffset += 10; |
| (...skipping 28 matching lines...) Expand all Loading... |
| 20479 res.get(arg_profileId, arg_id).then(unittest.expectAsync(((api.Project res
ponse) { | 20883 res.get(arg_profileId, arg_id).then(unittest.expectAsync(((api.Project res
ponse) { |
| 20480 checkProject(response); | 20884 checkProject(response); |
| 20481 }))); | 20885 }))); |
| 20482 }); | 20886 }); |
| 20483 | 20887 |
| 20484 unittest.test("method--list", () { | 20888 unittest.test("method--list", () { |
| 20485 | 20889 |
| 20486 var mock = new HttpServerMock(); | 20890 var mock = new HttpServerMock(); |
| 20487 api.ProjectsResourceApi res = new api.DfareportingApi(mock).projects; | 20891 api.ProjectsResourceApi res = new api.DfareportingApi(mock).projects; |
| 20488 var arg_profileId = "foo"; | 20892 var arg_profileId = "foo"; |
| 20489 var arg_advertiserIds = buildUnnamed1663(); | 20893 var arg_advertiserIds = buildUnnamed2402(); |
| 20490 var arg_ids = buildUnnamed1664(); | 20894 var arg_ids = buildUnnamed2403(); |
| 20491 var arg_maxResults = 42; | 20895 var arg_maxResults = 42; |
| 20492 var arg_pageToken = "foo"; | 20896 var arg_pageToken = "foo"; |
| 20493 var arg_searchString = "foo"; | 20897 var arg_searchString = "foo"; |
| 20494 var arg_sortField = "foo"; | 20898 var arg_sortField = "foo"; |
| 20495 var arg_sortOrder = "foo"; | 20899 var arg_sortOrder = "foo"; |
| 20496 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 20900 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 20497 var path = (req.url).path; | 20901 var path = (req.url).path; |
| 20498 var pathOffset = 0; | 20902 var pathOffset = 0; |
| 20499 var index; | 20903 var index; |
| 20500 var subPart; | 20904 var subPart; |
| 20501 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 20905 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 20502 pathOffset += 1; | 20906 pathOffset += 1; |
| 20503 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 20907 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 20504 pathOffset += 18; | 20908 pathOffset += 18; |
| 20505 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 20909 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 20506 pathOffset += 13; | 20910 pathOffset += 13; |
| 20507 index = path.indexOf("/projects", pathOffset); | 20911 index = path.indexOf("/projects", pathOffset); |
| 20508 unittest.expect(index >= 0, unittest.isTrue); | 20912 unittest.expect(index >= 0, unittest.isTrue); |
| 20509 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 20913 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 20510 pathOffset = index; | 20914 pathOffset = index; |
| 20511 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 20915 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 20512 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ
als("/projects")); | 20916 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ
als("/projects")); |
| 20513 pathOffset += 9; | 20917 pathOffset += 9; |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 20557 var mock = new HttpServerMock(); | 20961 var mock = new HttpServerMock(); |
| 20558 api.RegionsResourceApi res = new api.DfareportingApi(mock).regions; | 20962 api.RegionsResourceApi res = new api.DfareportingApi(mock).regions; |
| 20559 var arg_profileId = "foo"; | 20963 var arg_profileId = "foo"; |
| 20560 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 20964 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 20561 var path = (req.url).path; | 20965 var path = (req.url).path; |
| 20562 var pathOffset = 0; | 20966 var pathOffset = 0; |
| 20563 var index; | 20967 var index; |
| 20564 var subPart; | 20968 var subPart; |
| 20565 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 20969 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 20566 pathOffset += 1; | 20970 pathOffset += 1; |
| 20567 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 20971 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 20568 pathOffset += 18; | 20972 pathOffset += 18; |
| 20569 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 20973 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 20570 pathOffset += 13; | 20974 pathOffset += 13; |
| 20571 index = path.indexOf("/regions", pathOffset); | 20975 index = path.indexOf("/regions", pathOffset); |
| 20572 unittest.expect(index >= 0, unittest.isTrue); | 20976 unittest.expect(index >= 0, unittest.isTrue); |
| 20573 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 20977 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 20574 pathOffset = index; | 20978 pathOffset = index; |
| 20575 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 20979 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 20576 unittest.expect(path.substring(pathOffset, pathOffset + 8), unittest.equ
als("/regions")); | 20980 unittest.expect(path.substring(pathOffset, pathOffset + 8), unittest.equ
als("/regions")); |
| 20577 pathOffset += 8; | 20981 pathOffset += 8; |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 20615 api.RemarketingListSharesResourceApi res = new api.DfareportingApi(mock).r
emarketingListShares; | 21019 api.RemarketingListSharesResourceApi res = new api.DfareportingApi(mock).r
emarketingListShares; |
| 20616 var arg_profileId = "foo"; | 21020 var arg_profileId = "foo"; |
| 20617 var arg_remarketingListId = "foo"; | 21021 var arg_remarketingListId = "foo"; |
| 20618 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 21022 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 20619 var path = (req.url).path; | 21023 var path = (req.url).path; |
| 20620 var pathOffset = 0; | 21024 var pathOffset = 0; |
| 20621 var index; | 21025 var index; |
| 20622 var subPart; | 21026 var subPart; |
| 20623 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 21027 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 20624 pathOffset += 1; | 21028 pathOffset += 1; |
| 20625 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 21029 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 20626 pathOffset += 18; | 21030 pathOffset += 18; |
| 20627 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 21031 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 20628 pathOffset += 13; | 21032 pathOffset += 13; |
| 20629 index = path.indexOf("/remarketingListShares/", pathOffset); | 21033 index = path.indexOf("/remarketingListShares/", pathOffset); |
| 20630 unittest.expect(index >= 0, unittest.isTrue); | 21034 unittest.expect(index >= 0, unittest.isTrue); |
| 20631 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 21035 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 20632 pathOffset = index; | 21036 pathOffset = index; |
| 20633 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 21037 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 20634 unittest.expect(path.substring(pathOffset, pathOffset + 23), unittest.eq
uals("/remarketingListShares/")); | 21038 unittest.expect(path.substring(pathOffset, pathOffset + 23), unittest.eq
uals("/remarketingListShares/")); |
| 20635 pathOffset += 23; | 21039 pathOffset += 23; |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 20676 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 21080 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 20677 var obj = new api.RemarketingListShare.fromJson(json); | 21081 var obj = new api.RemarketingListShare.fromJson(json); |
| 20678 checkRemarketingListShare(obj); | 21082 checkRemarketingListShare(obj); |
| 20679 | 21083 |
| 20680 var path = (req.url).path; | 21084 var path = (req.url).path; |
| 20681 var pathOffset = 0; | 21085 var pathOffset = 0; |
| 20682 var index; | 21086 var index; |
| 20683 var subPart; | 21087 var subPart; |
| 20684 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 21088 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 20685 pathOffset += 1; | 21089 pathOffset += 1; |
| 20686 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 21090 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 20687 pathOffset += 18; | 21091 pathOffset += 18; |
| 20688 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 21092 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 20689 pathOffset += 13; | 21093 pathOffset += 13; |
| 20690 index = path.indexOf("/remarketingListShares", pathOffset); | 21094 index = path.indexOf("/remarketingListShares", pathOffset); |
| 20691 unittest.expect(index >= 0, unittest.isTrue); | 21095 unittest.expect(index >= 0, unittest.isTrue); |
| 20692 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 21096 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 20693 pathOffset = index; | 21097 pathOffset = index; |
| 20694 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 21098 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 20695 unittest.expect(path.substring(pathOffset, pathOffset + 22), unittest.eq
uals("/remarketingListShares")); | 21099 unittest.expect(path.substring(pathOffset, pathOffset + 22), unittest.eq
uals("/remarketingListShares")); |
| 20696 pathOffset += 22; | 21100 pathOffset += 22; |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 20734 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 21138 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 20735 var obj = new api.RemarketingListShare.fromJson(json); | 21139 var obj = new api.RemarketingListShare.fromJson(json); |
| 20736 checkRemarketingListShare(obj); | 21140 checkRemarketingListShare(obj); |
| 20737 | 21141 |
| 20738 var path = (req.url).path; | 21142 var path = (req.url).path; |
| 20739 var pathOffset = 0; | 21143 var pathOffset = 0; |
| 20740 var index; | 21144 var index; |
| 20741 var subPart; | 21145 var subPart; |
| 20742 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 21146 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 20743 pathOffset += 1; | 21147 pathOffset += 1; |
| 20744 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 21148 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 20745 pathOffset += 18; | 21149 pathOffset += 18; |
| 20746 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 21150 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 20747 pathOffset += 13; | 21151 pathOffset += 13; |
| 20748 index = path.indexOf("/remarketingListShares", pathOffset); | 21152 index = path.indexOf("/remarketingListShares", pathOffset); |
| 20749 unittest.expect(index >= 0, unittest.isTrue); | 21153 unittest.expect(index >= 0, unittest.isTrue); |
| 20750 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 21154 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 20751 pathOffset = index; | 21155 pathOffset = index; |
| 20752 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 21156 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 20753 unittest.expect(path.substring(pathOffset, pathOffset + 22), unittest.eq
uals("/remarketingListShares")); | 21157 unittest.expect(path.substring(pathOffset, pathOffset + 22), unittest.eq
uals("/remarketingListShares")); |
| 20754 pathOffset += 22; | 21158 pathOffset += 22; |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 20792 api.RemarketingListsResourceApi res = new api.DfareportingApi(mock).remark
etingLists; | 21196 api.RemarketingListsResourceApi res = new api.DfareportingApi(mock).remark
etingLists; |
| 20793 var arg_profileId = "foo"; | 21197 var arg_profileId = "foo"; |
| 20794 var arg_id = "foo"; | 21198 var arg_id = "foo"; |
| 20795 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 21199 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 20796 var path = (req.url).path; | 21200 var path = (req.url).path; |
| 20797 var pathOffset = 0; | 21201 var pathOffset = 0; |
| 20798 var index; | 21202 var index; |
| 20799 var subPart; | 21203 var subPart; |
| 20800 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 21204 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 20801 pathOffset += 1; | 21205 pathOffset += 1; |
| 20802 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 21206 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 20803 pathOffset += 18; | 21207 pathOffset += 18; |
| 20804 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 21208 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 20805 pathOffset += 13; | 21209 pathOffset += 13; |
| 20806 index = path.indexOf("/remarketingLists/", pathOffset); | 21210 index = path.indexOf("/remarketingLists/", pathOffset); |
| 20807 unittest.expect(index >= 0, unittest.isTrue); | 21211 unittest.expect(index >= 0, unittest.isTrue); |
| 20808 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 21212 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 20809 pathOffset = index; | 21213 pathOffset = index; |
| 20810 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 21214 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 20811 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("/remarketingLists/")); | 21215 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("/remarketingLists/")); |
| 20812 pathOffset += 18; | 21216 pathOffset += 18; |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 20852 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 21256 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 20853 var obj = new api.RemarketingList.fromJson(json); | 21257 var obj = new api.RemarketingList.fromJson(json); |
| 20854 checkRemarketingList(obj); | 21258 checkRemarketingList(obj); |
| 20855 | 21259 |
| 20856 var path = (req.url).path; | 21260 var path = (req.url).path; |
| 20857 var pathOffset = 0; | 21261 var pathOffset = 0; |
| 20858 var index; | 21262 var index; |
| 20859 var subPart; | 21263 var subPart; |
| 20860 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 21264 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 20861 pathOffset += 1; | 21265 pathOffset += 1; |
| 20862 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 21266 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 20863 pathOffset += 18; | 21267 pathOffset += 18; |
| 20864 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 21268 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 20865 pathOffset += 13; | 21269 pathOffset += 13; |
| 20866 index = path.indexOf("/remarketingLists", pathOffset); | 21270 index = path.indexOf("/remarketingLists", pathOffset); |
| 20867 unittest.expect(index >= 0, unittest.isTrue); | 21271 unittest.expect(index >= 0, unittest.isTrue); |
| 20868 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 21272 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 20869 pathOffset = index; | 21273 pathOffset = index; |
| 20870 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 21274 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 20871 unittest.expect(path.substring(pathOffset, pathOffset + 17), unittest.eq
uals("/remarketingLists")); | 21275 unittest.expect(path.substring(pathOffset, pathOffset + 17), unittest.eq
uals("/remarketingLists")); |
| 20872 pathOffset += 17; | 21276 pathOffset += 17; |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 20913 var arg_pageToken = "foo"; | 21317 var arg_pageToken = "foo"; |
| 20914 var arg_sortField = "foo"; | 21318 var arg_sortField = "foo"; |
| 20915 var arg_sortOrder = "foo"; | 21319 var arg_sortOrder = "foo"; |
| 20916 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 21320 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 20917 var path = (req.url).path; | 21321 var path = (req.url).path; |
| 20918 var pathOffset = 0; | 21322 var pathOffset = 0; |
| 20919 var index; | 21323 var index; |
| 20920 var subPart; | 21324 var subPart; |
| 20921 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 21325 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 20922 pathOffset += 1; | 21326 pathOffset += 1; |
| 20923 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 21327 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 20924 pathOffset += 18; | 21328 pathOffset += 18; |
| 20925 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 21329 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 20926 pathOffset += 13; | 21330 pathOffset += 13; |
| 20927 index = path.indexOf("/remarketingLists", pathOffset); | 21331 index = path.indexOf("/remarketingLists", pathOffset); |
| 20928 unittest.expect(index >= 0, unittest.isTrue); | 21332 unittest.expect(index >= 0, unittest.isTrue); |
| 20929 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 21333 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 20930 pathOffset = index; | 21334 pathOffset = index; |
| 20931 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 21335 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 20932 unittest.expect(path.substring(pathOffset, pathOffset + 17), unittest.eq
uals("/remarketingLists")); | 21336 unittest.expect(path.substring(pathOffset, pathOffset + 17), unittest.eq
uals("/remarketingLists")); |
| 20933 pathOffset += 17; | 21337 pathOffset += 17; |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 20979 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 21383 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 20980 var obj = new api.RemarketingList.fromJson(json); | 21384 var obj = new api.RemarketingList.fromJson(json); |
| 20981 checkRemarketingList(obj); | 21385 checkRemarketingList(obj); |
| 20982 | 21386 |
| 20983 var path = (req.url).path; | 21387 var path = (req.url).path; |
| 20984 var pathOffset = 0; | 21388 var pathOffset = 0; |
| 20985 var index; | 21389 var index; |
| 20986 var subPart; | 21390 var subPart; |
| 20987 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 21391 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 20988 pathOffset += 1; | 21392 pathOffset += 1; |
| 20989 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 21393 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 20990 pathOffset += 18; | 21394 pathOffset += 18; |
| 20991 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 21395 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 20992 pathOffset += 13; | 21396 pathOffset += 13; |
| 20993 index = path.indexOf("/remarketingLists", pathOffset); | 21397 index = path.indexOf("/remarketingLists", pathOffset); |
| 20994 unittest.expect(index >= 0, unittest.isTrue); | 21398 unittest.expect(index >= 0, unittest.isTrue); |
| 20995 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 21399 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 20996 pathOffset = index; | 21400 pathOffset = index; |
| 20997 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 21401 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 20998 unittest.expect(path.substring(pathOffset, pathOffset + 17), unittest.eq
uals("/remarketingLists")); | 21402 unittest.expect(path.substring(pathOffset, pathOffset + 17), unittest.eq
uals("/remarketingLists")); |
| 20999 pathOffset += 17; | 21403 pathOffset += 17; |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 21037 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 21441 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 21038 var obj = new api.RemarketingList.fromJson(json); | 21442 var obj = new api.RemarketingList.fromJson(json); |
| 21039 checkRemarketingList(obj); | 21443 checkRemarketingList(obj); |
| 21040 | 21444 |
| 21041 var path = (req.url).path; | 21445 var path = (req.url).path; |
| 21042 var pathOffset = 0; | 21446 var pathOffset = 0; |
| 21043 var index; | 21447 var index; |
| 21044 var subPart; | 21448 var subPart; |
| 21045 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 21449 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 21046 pathOffset += 1; | 21450 pathOffset += 1; |
| 21047 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 21451 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 21048 pathOffset += 18; | 21452 pathOffset += 18; |
| 21049 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 21453 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 21050 pathOffset += 13; | 21454 pathOffset += 13; |
| 21051 index = path.indexOf("/remarketingLists", pathOffset); | 21455 index = path.indexOf("/remarketingLists", pathOffset); |
| 21052 unittest.expect(index >= 0, unittest.isTrue); | 21456 unittest.expect(index >= 0, unittest.isTrue); |
| 21053 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 21457 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 21054 pathOffset = index; | 21458 pathOffset = index; |
| 21055 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 21459 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 21056 unittest.expect(path.substring(pathOffset, pathOffset + 17), unittest.eq
uals("/remarketingLists")); | 21460 unittest.expect(path.substring(pathOffset, pathOffset + 17), unittest.eq
uals("/remarketingLists")); |
| 21057 pathOffset += 17; | 21461 pathOffset += 17; |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 21095 api.ReportsResourceApi res = new api.DfareportingApi(mock).reports; | 21499 api.ReportsResourceApi res = new api.DfareportingApi(mock).reports; |
| 21096 var arg_profileId = "foo"; | 21500 var arg_profileId = "foo"; |
| 21097 var arg_reportId = "foo"; | 21501 var arg_reportId = "foo"; |
| 21098 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 21502 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 21099 var path = (req.url).path; | 21503 var path = (req.url).path; |
| 21100 var pathOffset = 0; | 21504 var pathOffset = 0; |
| 21101 var index; | 21505 var index; |
| 21102 var subPart; | 21506 var subPart; |
| 21103 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 21507 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 21104 pathOffset += 1; | 21508 pathOffset += 1; |
| 21105 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 21509 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 21106 pathOffset += 18; | 21510 pathOffset += 18; |
| 21107 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 21511 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 21108 pathOffset += 13; | 21512 pathOffset += 13; |
| 21109 index = path.indexOf("/reports/", pathOffset); | 21513 index = path.indexOf("/reports/", pathOffset); |
| 21110 unittest.expect(index >= 0, unittest.isTrue); | 21514 unittest.expect(index >= 0, unittest.isTrue); |
| 21111 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 21515 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 21112 pathOffset = index; | 21516 pathOffset = index; |
| 21113 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 21517 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 21114 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ
als("/reports/")); | 21518 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ
als("/reports/")); |
| 21115 pathOffset += 9; | 21519 pathOffset += 9; |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 21150 api.ReportsResourceApi res = new api.DfareportingApi(mock).reports; | 21554 api.ReportsResourceApi res = new api.DfareportingApi(mock).reports; |
| 21151 var arg_profileId = "foo"; | 21555 var arg_profileId = "foo"; |
| 21152 var arg_reportId = "foo"; | 21556 var arg_reportId = "foo"; |
| 21153 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 21557 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 21154 var path = (req.url).path; | 21558 var path = (req.url).path; |
| 21155 var pathOffset = 0; | 21559 var pathOffset = 0; |
| 21156 var index; | 21560 var index; |
| 21157 var subPart; | 21561 var subPart; |
| 21158 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 21562 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 21159 pathOffset += 1; | 21563 pathOffset += 1; |
| 21160 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 21564 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 21161 pathOffset += 18; | 21565 pathOffset += 18; |
| 21162 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 21566 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 21163 pathOffset += 13; | 21567 pathOffset += 13; |
| 21164 index = path.indexOf("/reports/", pathOffset); | 21568 index = path.indexOf("/reports/", pathOffset); |
| 21165 unittest.expect(index >= 0, unittest.isTrue); | 21569 unittest.expect(index >= 0, unittest.isTrue); |
| 21166 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 21570 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 21167 pathOffset = index; | 21571 pathOffset = index; |
| 21168 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 21572 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 21169 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ
als("/reports/")); | 21573 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ
als("/reports/")); |
| 21170 pathOffset += 9; | 21574 pathOffset += 9; |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 21210 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 21614 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 21211 var obj = new api.Report.fromJson(json); | 21615 var obj = new api.Report.fromJson(json); |
| 21212 checkReport(obj); | 21616 checkReport(obj); |
| 21213 | 21617 |
| 21214 var path = (req.url).path; | 21618 var path = (req.url).path; |
| 21215 var pathOffset = 0; | 21619 var pathOffset = 0; |
| 21216 var index; | 21620 var index; |
| 21217 var subPart; | 21621 var subPart; |
| 21218 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 21622 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 21219 pathOffset += 1; | 21623 pathOffset += 1; |
| 21220 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 21624 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 21221 pathOffset += 18; | 21625 pathOffset += 18; |
| 21222 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 21626 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 21223 pathOffset += 13; | 21627 pathOffset += 13; |
| 21224 index = path.indexOf("/reports", pathOffset); | 21628 index = path.indexOf("/reports", pathOffset); |
| 21225 unittest.expect(index >= 0, unittest.isTrue); | 21629 unittest.expect(index >= 0, unittest.isTrue); |
| 21226 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 21630 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 21227 pathOffset = index; | 21631 pathOffset = index; |
| 21228 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 21632 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 21229 unittest.expect(path.substring(pathOffset, pathOffset + 8), unittest.equ
als("/reports")); | 21633 unittest.expect(path.substring(pathOffset, pathOffset + 8), unittest.equ
als("/reports")); |
| 21230 pathOffset += 8; | 21634 pathOffset += 8; |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 21268 var arg_scope = "foo"; | 21672 var arg_scope = "foo"; |
| 21269 var arg_sortField = "foo"; | 21673 var arg_sortField = "foo"; |
| 21270 var arg_sortOrder = "foo"; | 21674 var arg_sortOrder = "foo"; |
| 21271 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 21675 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 21272 var path = (req.url).path; | 21676 var path = (req.url).path; |
| 21273 var pathOffset = 0; | 21677 var pathOffset = 0; |
| 21274 var index; | 21678 var index; |
| 21275 var subPart; | 21679 var subPart; |
| 21276 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 21680 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 21277 pathOffset += 1; | 21681 pathOffset += 1; |
| 21278 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 21682 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 21279 pathOffset += 18; | 21683 pathOffset += 18; |
| 21280 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 21684 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 21281 pathOffset += 13; | 21685 pathOffset += 13; |
| 21282 index = path.indexOf("/reports", pathOffset); | 21686 index = path.indexOf("/reports", pathOffset); |
| 21283 unittest.expect(index >= 0, unittest.isTrue); | 21687 unittest.expect(index >= 0, unittest.isTrue); |
| 21284 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 21688 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 21285 pathOffset = index; | 21689 pathOffset = index; |
| 21286 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 21690 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 21287 unittest.expect(path.substring(pathOffset, pathOffset + 8), unittest.equ
als("/reports")); | 21691 unittest.expect(path.substring(pathOffset, pathOffset + 8), unittest.equ
als("/reports")); |
| 21288 pathOffset += 8; | 21692 pathOffset += 8; |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 21331 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 21735 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 21332 var obj = new api.Report.fromJson(json); | 21736 var obj = new api.Report.fromJson(json); |
| 21333 checkReport(obj); | 21737 checkReport(obj); |
| 21334 | 21738 |
| 21335 var path = (req.url).path; | 21739 var path = (req.url).path; |
| 21336 var pathOffset = 0; | 21740 var pathOffset = 0; |
| 21337 var index; | 21741 var index; |
| 21338 var subPart; | 21742 var subPart; |
| 21339 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 21743 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 21340 pathOffset += 1; | 21744 pathOffset += 1; |
| 21341 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 21745 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 21342 pathOffset += 18; | 21746 pathOffset += 18; |
| 21343 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 21747 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 21344 pathOffset += 13; | 21748 pathOffset += 13; |
| 21345 index = path.indexOf("/reports/", pathOffset); | 21749 index = path.indexOf("/reports/", pathOffset); |
| 21346 unittest.expect(index >= 0, unittest.isTrue); | 21750 unittest.expect(index >= 0, unittest.isTrue); |
| 21347 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 21751 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 21348 pathOffset = index; | 21752 pathOffset = index; |
| 21349 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 21753 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 21350 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ
als("/reports/")); | 21754 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ
als("/reports/")); |
| 21351 pathOffset += 9; | 21755 pathOffset += 9; |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 21389 var arg_profileId = "foo"; | 21793 var arg_profileId = "foo"; |
| 21390 var arg_reportId = "foo"; | 21794 var arg_reportId = "foo"; |
| 21391 var arg_synchronous = true; | 21795 var arg_synchronous = true; |
| 21392 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 21796 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 21393 var path = (req.url).path; | 21797 var path = (req.url).path; |
| 21394 var pathOffset = 0; | 21798 var pathOffset = 0; |
| 21395 var index; | 21799 var index; |
| 21396 var subPart; | 21800 var subPart; |
| 21397 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 21801 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 21398 pathOffset += 1; | 21802 pathOffset += 1; |
| 21399 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 21803 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 21400 pathOffset += 18; | 21804 pathOffset += 18; |
| 21401 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 21805 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 21402 pathOffset += 13; | 21806 pathOffset += 13; |
| 21403 index = path.indexOf("/reports/", pathOffset); | 21807 index = path.indexOf("/reports/", pathOffset); |
| 21404 unittest.expect(index >= 0, unittest.isTrue); | 21808 unittest.expect(index >= 0, unittest.isTrue); |
| 21405 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 21809 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 21406 pathOffset = index; | 21810 pathOffset = index; |
| 21407 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 21811 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 21408 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ
als("/reports/")); | 21812 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ
als("/reports/")); |
| 21409 pathOffset += 9; | 21813 pathOffset += 9; |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 21455 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 21859 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 21456 var obj = new api.Report.fromJson(json); | 21860 var obj = new api.Report.fromJson(json); |
| 21457 checkReport(obj); | 21861 checkReport(obj); |
| 21458 | 21862 |
| 21459 var path = (req.url).path; | 21863 var path = (req.url).path; |
| 21460 var pathOffset = 0; | 21864 var pathOffset = 0; |
| 21461 var index; | 21865 var index; |
| 21462 var subPart; | 21866 var subPart; |
| 21463 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 21867 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 21464 pathOffset += 1; | 21868 pathOffset += 1; |
| 21465 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 21869 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 21466 pathOffset += 18; | 21870 pathOffset += 18; |
| 21467 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 21871 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 21468 pathOffset += 13; | 21872 pathOffset += 13; |
| 21469 index = path.indexOf("/reports/", pathOffset); | 21873 index = path.indexOf("/reports/", pathOffset); |
| 21470 unittest.expect(index >= 0, unittest.isTrue); | 21874 unittest.expect(index >= 0, unittest.isTrue); |
| 21471 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 21875 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 21472 pathOffset = index; | 21876 pathOffset = index; |
| 21473 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 21877 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 21474 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ
als("/reports/")); | 21878 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ
als("/reports/")); |
| 21475 pathOffset += 9; | 21879 pathOffset += 9; |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 21519 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 21923 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 21520 var obj = new api.Report.fromJson(json); | 21924 var obj = new api.Report.fromJson(json); |
| 21521 checkReport(obj); | 21925 checkReport(obj); |
| 21522 | 21926 |
| 21523 var path = (req.url).path; | 21927 var path = (req.url).path; |
| 21524 var pathOffset = 0; | 21928 var pathOffset = 0; |
| 21525 var index; | 21929 var index; |
| 21526 var subPart; | 21930 var subPart; |
| 21527 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 21931 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 21528 pathOffset += 1; | 21932 pathOffset += 1; |
| 21529 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 21933 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 21530 pathOffset += 18; | 21934 pathOffset += 18; |
| 21531 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 21935 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 21532 pathOffset += 13; | 21936 pathOffset += 13; |
| 21533 index = path.indexOf("/reports/compatiblefields/query", pathOffset); | 21937 index = path.indexOf("/reports/compatiblefields/query", pathOffset); |
| 21534 unittest.expect(index >= 0, unittest.isTrue); | 21938 unittest.expect(index >= 0, unittest.isTrue); |
| 21535 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 21939 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 21536 pathOffset = index; | 21940 pathOffset = index; |
| 21537 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 21941 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 21538 unittest.expect(path.substring(pathOffset, pathOffset + 31), unittest.eq
uals("/reports/compatiblefields/query")); | 21942 unittest.expect(path.substring(pathOffset, pathOffset + 31), unittest.eq
uals("/reports/compatiblefields/query")); |
| 21539 pathOffset += 31; | 21943 pathOffset += 31; |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 21580 var arg_profileId = "foo"; | 21984 var arg_profileId = "foo"; |
| 21581 var arg_reportId = "foo"; | 21985 var arg_reportId = "foo"; |
| 21582 var arg_fileId = "foo"; | 21986 var arg_fileId = "foo"; |
| 21583 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 21987 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 21584 var path = (req.url).path; | 21988 var path = (req.url).path; |
| 21585 var pathOffset = 0; | 21989 var pathOffset = 0; |
| 21586 var index; | 21990 var index; |
| 21587 var subPart; | 21991 var subPart; |
| 21588 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 21992 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 21589 pathOffset += 1; | 21993 pathOffset += 1; |
| 21590 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 21994 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 21591 pathOffset += 18; | 21995 pathOffset += 18; |
| 21592 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 21996 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 21593 pathOffset += 13; | 21997 pathOffset += 13; |
| 21594 index = path.indexOf("/reports/", pathOffset); | 21998 index = path.indexOf("/reports/", pathOffset); |
| 21595 unittest.expect(index >= 0, unittest.isTrue); | 21999 unittest.expect(index >= 0, unittest.isTrue); |
| 21596 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 22000 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 21597 pathOffset = index; | 22001 pathOffset = index; |
| 21598 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 22002 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 21599 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ
als("/reports/")); | 22003 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ
als("/reports/")); |
| 21600 pathOffset += 9; | 22004 pathOffset += 9; |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 21648 var arg_pageToken = "foo"; | 22052 var arg_pageToken = "foo"; |
| 21649 var arg_sortField = "foo"; | 22053 var arg_sortField = "foo"; |
| 21650 var arg_sortOrder = "foo"; | 22054 var arg_sortOrder = "foo"; |
| 21651 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 22055 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 21652 var path = (req.url).path; | 22056 var path = (req.url).path; |
| 21653 var pathOffset = 0; | 22057 var pathOffset = 0; |
| 21654 var index; | 22058 var index; |
| 21655 var subPart; | 22059 var subPart; |
| 21656 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 22060 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 21657 pathOffset += 1; | 22061 pathOffset += 1; |
| 21658 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 22062 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 21659 pathOffset += 18; | 22063 pathOffset += 18; |
| 21660 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 22064 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 21661 pathOffset += 13; | 22065 pathOffset += 13; |
| 21662 index = path.indexOf("/reports/", pathOffset); | 22066 index = path.indexOf("/reports/", pathOffset); |
| 21663 unittest.expect(index >= 0, unittest.isTrue); | 22067 unittest.expect(index >= 0, unittest.isTrue); |
| 21664 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 22068 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 21665 pathOffset = index; | 22069 pathOffset = index; |
| 21666 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 22070 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 21667 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ
als("/reports/")); | 22071 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ
als("/reports/")); |
| 21668 pathOffset += 9; | 22072 pathOffset += 9; |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 21717 api.SitesResourceApi res = new api.DfareportingApi(mock).sites; | 22121 api.SitesResourceApi res = new api.DfareportingApi(mock).sites; |
| 21718 var arg_profileId = "foo"; | 22122 var arg_profileId = "foo"; |
| 21719 var arg_id = "foo"; | 22123 var arg_id = "foo"; |
| 21720 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 22124 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 21721 var path = (req.url).path; | 22125 var path = (req.url).path; |
| 21722 var pathOffset = 0; | 22126 var pathOffset = 0; |
| 21723 var index; | 22127 var index; |
| 21724 var subPart; | 22128 var subPart; |
| 21725 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 22129 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 21726 pathOffset += 1; | 22130 pathOffset += 1; |
| 21727 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 22131 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 21728 pathOffset += 18; | 22132 pathOffset += 18; |
| 21729 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 22133 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 21730 pathOffset += 13; | 22134 pathOffset += 13; |
| 21731 index = path.indexOf("/sites/", pathOffset); | 22135 index = path.indexOf("/sites/", pathOffset); |
| 21732 unittest.expect(index >= 0, unittest.isTrue); | 22136 unittest.expect(index >= 0, unittest.isTrue); |
| 21733 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 22137 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 21734 pathOffset = index; | 22138 pathOffset = index; |
| 21735 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 22139 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 21736 unittest.expect(path.substring(pathOffset, pathOffset + 7), unittest.equ
als("/sites/")); | 22140 unittest.expect(path.substring(pathOffset, pathOffset + 7), unittest.equ
als("/sites/")); |
| 21737 pathOffset += 7; | 22141 pathOffset += 7; |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 21777 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 22181 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 21778 var obj = new api.Site.fromJson(json); | 22182 var obj = new api.Site.fromJson(json); |
| 21779 checkSite(obj); | 22183 checkSite(obj); |
| 21780 | 22184 |
| 21781 var path = (req.url).path; | 22185 var path = (req.url).path; |
| 21782 var pathOffset = 0; | 22186 var pathOffset = 0; |
| 21783 var index; | 22187 var index; |
| 21784 var subPart; | 22188 var subPart; |
| 21785 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 22189 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 21786 pathOffset += 1; | 22190 pathOffset += 1; |
| 21787 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 22191 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 21788 pathOffset += 18; | 22192 pathOffset += 18; |
| 21789 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 22193 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 21790 pathOffset += 13; | 22194 pathOffset += 13; |
| 21791 index = path.indexOf("/sites", pathOffset); | 22195 index = path.indexOf("/sites", pathOffset); |
| 21792 unittest.expect(index >= 0, unittest.isTrue); | 22196 unittest.expect(index >= 0, unittest.isTrue); |
| 21793 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 22197 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 21794 pathOffset = index; | 22198 pathOffset = index; |
| 21795 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 22199 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 21796 unittest.expect(path.substring(pathOffset, pathOffset + 6), unittest.equ
als("/sites")); | 22200 unittest.expect(path.substring(pathOffset, pathOffset + 6), unittest.equ
als("/sites")); |
| 21797 pathOffset += 6; | 22201 pathOffset += 6; |
| (...skipping 30 matching lines...) Expand all Loading... |
| 21828 unittest.test("method--list", () { | 22232 unittest.test("method--list", () { |
| 21829 | 22233 |
| 21830 var mock = new HttpServerMock(); | 22234 var mock = new HttpServerMock(); |
| 21831 api.SitesResourceApi res = new api.DfareportingApi(mock).sites; | 22235 api.SitesResourceApi res = new api.DfareportingApi(mock).sites; |
| 21832 var arg_profileId = "foo"; | 22236 var arg_profileId = "foo"; |
| 21833 var arg_acceptsInStreamVideoPlacements = true; | 22237 var arg_acceptsInStreamVideoPlacements = true; |
| 21834 var arg_acceptsInterstitialPlacements = true; | 22238 var arg_acceptsInterstitialPlacements = true; |
| 21835 var arg_acceptsPublisherPaidPlacements = true; | 22239 var arg_acceptsPublisherPaidPlacements = true; |
| 21836 var arg_adWordsSite = true; | 22240 var arg_adWordsSite = true; |
| 21837 var arg_approved = true; | 22241 var arg_approved = true; |
| 21838 var arg_campaignIds = buildUnnamed1665(); | 22242 var arg_campaignIds = buildUnnamed2404(); |
| 21839 var arg_directorySiteIds = buildUnnamed1666(); | 22243 var arg_directorySiteIds = buildUnnamed2405(); |
| 21840 var arg_ids = buildUnnamed1667(); | 22244 var arg_ids = buildUnnamed2406(); |
| 21841 var arg_maxResults = 42; | 22245 var arg_maxResults = 42; |
| 21842 var arg_pageToken = "foo"; | 22246 var arg_pageToken = "foo"; |
| 21843 var arg_searchString = "foo"; | 22247 var arg_searchString = "foo"; |
| 21844 var arg_sortField = "foo"; | 22248 var arg_sortField = "foo"; |
| 21845 var arg_sortOrder = "foo"; | 22249 var arg_sortOrder = "foo"; |
| 21846 var arg_subaccountId = "foo"; | 22250 var arg_subaccountId = "foo"; |
| 21847 var arg_unmappedSite = true; | 22251 var arg_unmappedSite = true; |
| 21848 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 22252 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 21849 var path = (req.url).path; | 22253 var path = (req.url).path; |
| 21850 var pathOffset = 0; | 22254 var pathOffset = 0; |
| 21851 var index; | 22255 var index; |
| 21852 var subPart; | 22256 var subPart; |
| 21853 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 22257 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 21854 pathOffset += 1; | 22258 pathOffset += 1; |
| 21855 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 22259 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 21856 pathOffset += 18; | 22260 pathOffset += 18; |
| 21857 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 22261 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 21858 pathOffset += 13; | 22262 pathOffset += 13; |
| 21859 index = path.indexOf("/sites", pathOffset); | 22263 index = path.indexOf("/sites", pathOffset); |
| 21860 unittest.expect(index >= 0, unittest.isTrue); | 22264 unittest.expect(index >= 0, unittest.isTrue); |
| 21861 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 22265 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 21862 pathOffset = index; | 22266 pathOffset = index; |
| 21863 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 22267 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 21864 unittest.expect(path.substring(pathOffset, pathOffset + 6), unittest.equ
als("/sites")); | 22268 unittest.expect(path.substring(pathOffset, pathOffset + 6), unittest.equ
als("/sites")); |
| 21865 pathOffset += 6; | 22269 pathOffset += 6; |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 21918 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 22322 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 21919 var obj = new api.Site.fromJson(json); | 22323 var obj = new api.Site.fromJson(json); |
| 21920 checkSite(obj); | 22324 checkSite(obj); |
| 21921 | 22325 |
| 21922 var path = (req.url).path; | 22326 var path = (req.url).path; |
| 21923 var pathOffset = 0; | 22327 var pathOffset = 0; |
| 21924 var index; | 22328 var index; |
| 21925 var subPart; | 22329 var subPart; |
| 21926 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 22330 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 21927 pathOffset += 1; | 22331 pathOffset += 1; |
| 21928 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 22332 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 21929 pathOffset += 18; | 22333 pathOffset += 18; |
| 21930 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 22334 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 21931 pathOffset += 13; | 22335 pathOffset += 13; |
| 21932 index = path.indexOf("/sites", pathOffset); | 22336 index = path.indexOf("/sites", pathOffset); |
| 21933 unittest.expect(index >= 0, unittest.isTrue); | 22337 unittest.expect(index >= 0, unittest.isTrue); |
| 21934 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 22338 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 21935 pathOffset = index; | 22339 pathOffset = index; |
| 21936 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 22340 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 21937 unittest.expect(path.substring(pathOffset, pathOffset + 6), unittest.equ
als("/sites")); | 22341 unittest.expect(path.substring(pathOffset, pathOffset + 6), unittest.equ
als("/sites")); |
| 21938 pathOffset += 6; | 22342 pathOffset += 6; |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 21976 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 22380 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 21977 var obj = new api.Site.fromJson(json); | 22381 var obj = new api.Site.fromJson(json); |
| 21978 checkSite(obj); | 22382 checkSite(obj); |
| 21979 | 22383 |
| 21980 var path = (req.url).path; | 22384 var path = (req.url).path; |
| 21981 var pathOffset = 0; | 22385 var pathOffset = 0; |
| 21982 var index; | 22386 var index; |
| 21983 var subPart; | 22387 var subPart; |
| 21984 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 22388 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 21985 pathOffset += 1; | 22389 pathOffset += 1; |
| 21986 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 22390 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 21987 pathOffset += 18; | 22391 pathOffset += 18; |
| 21988 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 22392 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 21989 pathOffset += 13; | 22393 pathOffset += 13; |
| 21990 index = path.indexOf("/sites", pathOffset); | 22394 index = path.indexOf("/sites", pathOffset); |
| 21991 unittest.expect(index >= 0, unittest.isTrue); | 22395 unittest.expect(index >= 0, unittest.isTrue); |
| 21992 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 22396 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 21993 pathOffset = index; | 22397 pathOffset = index; |
| 21994 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 22398 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 21995 unittest.expect(path.substring(pathOffset, pathOffset + 6), unittest.equ
als("/sites")); | 22399 unittest.expect(path.substring(pathOffset, pathOffset + 6), unittest.equ
als("/sites")); |
| 21996 pathOffset += 6; | 22400 pathOffset += 6; |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 22034 api.SizesResourceApi res = new api.DfareportingApi(mock).sizes; | 22438 api.SizesResourceApi res = new api.DfareportingApi(mock).sizes; |
| 22035 var arg_profileId = "foo"; | 22439 var arg_profileId = "foo"; |
| 22036 var arg_id = "foo"; | 22440 var arg_id = "foo"; |
| 22037 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 22441 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 22038 var path = (req.url).path; | 22442 var path = (req.url).path; |
| 22039 var pathOffset = 0; | 22443 var pathOffset = 0; |
| 22040 var index; | 22444 var index; |
| 22041 var subPart; | 22445 var subPart; |
| 22042 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 22446 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 22043 pathOffset += 1; | 22447 pathOffset += 1; |
| 22044 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 22448 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 22045 pathOffset += 18; | 22449 pathOffset += 18; |
| 22046 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 22450 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 22047 pathOffset += 13; | 22451 pathOffset += 13; |
| 22048 index = path.indexOf("/sizes/", pathOffset); | 22452 index = path.indexOf("/sizes/", pathOffset); |
| 22049 unittest.expect(index >= 0, unittest.isTrue); | 22453 unittest.expect(index >= 0, unittest.isTrue); |
| 22050 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 22454 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 22051 pathOffset = index; | 22455 pathOffset = index; |
| 22052 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 22456 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 22053 unittest.expect(path.substring(pathOffset, pathOffset + 7), unittest.equ
als("/sizes/")); | 22457 unittest.expect(path.substring(pathOffset, pathOffset + 7), unittest.equ
als("/sizes/")); |
| 22054 pathOffset += 7; | 22458 pathOffset += 7; |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 22094 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 22498 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 22095 var obj = new api.Size.fromJson(json); | 22499 var obj = new api.Size.fromJson(json); |
| 22096 checkSize(obj); | 22500 checkSize(obj); |
| 22097 | 22501 |
| 22098 var path = (req.url).path; | 22502 var path = (req.url).path; |
| 22099 var pathOffset = 0; | 22503 var pathOffset = 0; |
| 22100 var index; | 22504 var index; |
| 22101 var subPart; | 22505 var subPart; |
| 22102 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 22506 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 22103 pathOffset += 1; | 22507 pathOffset += 1; |
| 22104 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 22508 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 22105 pathOffset += 18; | 22509 pathOffset += 18; |
| 22106 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 22510 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 22107 pathOffset += 13; | 22511 pathOffset += 13; |
| 22108 index = path.indexOf("/sizes", pathOffset); | 22512 index = path.indexOf("/sizes", pathOffset); |
| 22109 unittest.expect(index >= 0, unittest.isTrue); | 22513 unittest.expect(index >= 0, unittest.isTrue); |
| 22110 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 22514 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 22111 pathOffset = index; | 22515 pathOffset = index; |
| 22112 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 22516 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 22113 unittest.expect(path.substring(pathOffset, pathOffset + 6), unittest.equ
als("/sizes")); | 22517 unittest.expect(path.substring(pathOffset, pathOffset + 6), unittest.equ
als("/sizes")); |
| 22114 pathOffset += 6; | 22518 pathOffset += 6; |
| (...skipping 27 matching lines...) Expand all Loading... |
| 22142 }))); | 22546 }))); |
| 22143 }); | 22547 }); |
| 22144 | 22548 |
| 22145 unittest.test("method--list", () { | 22549 unittest.test("method--list", () { |
| 22146 | 22550 |
| 22147 var mock = new HttpServerMock(); | 22551 var mock = new HttpServerMock(); |
| 22148 api.SizesResourceApi res = new api.DfareportingApi(mock).sizes; | 22552 api.SizesResourceApi res = new api.DfareportingApi(mock).sizes; |
| 22149 var arg_profileId = "foo"; | 22553 var arg_profileId = "foo"; |
| 22150 var arg_height = 42; | 22554 var arg_height = 42; |
| 22151 var arg_iabStandard = true; | 22555 var arg_iabStandard = true; |
| 22152 var arg_ids = buildUnnamed1668(); | 22556 var arg_ids = buildUnnamed2407(); |
| 22153 var arg_width = 42; | 22557 var arg_width = 42; |
| 22154 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 22558 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 22155 var path = (req.url).path; | 22559 var path = (req.url).path; |
| 22156 var pathOffset = 0; | 22560 var pathOffset = 0; |
| 22157 var index; | 22561 var index; |
| 22158 var subPart; | 22562 var subPart; |
| 22159 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 22563 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 22160 pathOffset += 1; | 22564 pathOffset += 1; |
| 22161 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 22565 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 22162 pathOffset += 18; | 22566 pathOffset += 18; |
| 22163 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 22567 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 22164 pathOffset += 13; | 22568 pathOffset += 13; |
| 22165 index = path.indexOf("/sizes", pathOffset); | 22569 index = path.indexOf("/sizes", pathOffset); |
| 22166 unittest.expect(index >= 0, unittest.isTrue); | 22570 unittest.expect(index >= 0, unittest.isTrue); |
| 22167 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 22571 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 22168 pathOffset = index; | 22572 pathOffset = index; |
| 22169 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 22573 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 22170 unittest.expect(path.substring(pathOffset, pathOffset + 6), unittest.equ
als("/sizes")); | 22574 unittest.expect(path.substring(pathOffset, pathOffset + 6), unittest.equ
als("/sizes")); |
| 22171 pathOffset += 6; | 22575 pathOffset += 6; |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 22213 api.SubaccountsResourceApi res = new api.DfareportingApi(mock).subaccounts
; | 22617 api.SubaccountsResourceApi res = new api.DfareportingApi(mock).subaccounts
; |
| 22214 var arg_profileId = "foo"; | 22618 var arg_profileId = "foo"; |
| 22215 var arg_id = "foo"; | 22619 var arg_id = "foo"; |
| 22216 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 22620 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 22217 var path = (req.url).path; | 22621 var path = (req.url).path; |
| 22218 var pathOffset = 0; | 22622 var pathOffset = 0; |
| 22219 var index; | 22623 var index; |
| 22220 var subPart; | 22624 var subPart; |
| 22221 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 22625 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 22222 pathOffset += 1; | 22626 pathOffset += 1; |
| 22223 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 22627 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 22224 pathOffset += 18; | 22628 pathOffset += 18; |
| 22225 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 22629 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 22226 pathOffset += 13; | 22630 pathOffset += 13; |
| 22227 index = path.indexOf("/subaccounts/", pathOffset); | 22631 index = path.indexOf("/subaccounts/", pathOffset); |
| 22228 unittest.expect(index >= 0, unittest.isTrue); | 22632 unittest.expect(index >= 0, unittest.isTrue); |
| 22229 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 22633 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 22230 pathOffset = index; | 22634 pathOffset = index; |
| 22231 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 22635 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 22232 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("/subaccounts/")); | 22636 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("/subaccounts/")); |
| 22233 pathOffset += 13; | 22637 pathOffset += 13; |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 22273 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 22677 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 22274 var obj = new api.Subaccount.fromJson(json); | 22678 var obj = new api.Subaccount.fromJson(json); |
| 22275 checkSubaccount(obj); | 22679 checkSubaccount(obj); |
| 22276 | 22680 |
| 22277 var path = (req.url).path; | 22681 var path = (req.url).path; |
| 22278 var pathOffset = 0; | 22682 var pathOffset = 0; |
| 22279 var index; | 22683 var index; |
| 22280 var subPart; | 22684 var subPart; |
| 22281 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 22685 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 22282 pathOffset += 1; | 22686 pathOffset += 1; |
| 22283 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 22687 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 22284 pathOffset += 18; | 22688 pathOffset += 18; |
| 22285 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 22689 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 22286 pathOffset += 13; | 22690 pathOffset += 13; |
| 22287 index = path.indexOf("/subaccounts", pathOffset); | 22691 index = path.indexOf("/subaccounts", pathOffset); |
| 22288 unittest.expect(index >= 0, unittest.isTrue); | 22692 unittest.expect(index >= 0, unittest.isTrue); |
| 22289 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 22693 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 22290 pathOffset = index; | 22694 pathOffset = index; |
| 22291 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 22695 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 22292 unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.eq
uals("/subaccounts")); | 22696 unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.eq
uals("/subaccounts")); |
| 22293 pathOffset += 12; | 22697 pathOffset += 12; |
| (...skipping 25 matching lines...) Expand all Loading... |
| 22319 res.insert(arg_request, arg_profileId).then(unittest.expectAsync(((api.Sub
account response) { | 22723 res.insert(arg_request, arg_profileId).then(unittest.expectAsync(((api.Sub
account response) { |
| 22320 checkSubaccount(response); | 22724 checkSubaccount(response); |
| 22321 }))); | 22725 }))); |
| 22322 }); | 22726 }); |
| 22323 | 22727 |
| 22324 unittest.test("method--list", () { | 22728 unittest.test("method--list", () { |
| 22325 | 22729 |
| 22326 var mock = new HttpServerMock(); | 22730 var mock = new HttpServerMock(); |
| 22327 api.SubaccountsResourceApi res = new api.DfareportingApi(mock).subaccounts
; | 22731 api.SubaccountsResourceApi res = new api.DfareportingApi(mock).subaccounts
; |
| 22328 var arg_profileId = "foo"; | 22732 var arg_profileId = "foo"; |
| 22329 var arg_ids = buildUnnamed1669(); | 22733 var arg_ids = buildUnnamed2408(); |
| 22330 var arg_maxResults = 42; | 22734 var arg_maxResults = 42; |
| 22331 var arg_pageToken = "foo"; | 22735 var arg_pageToken = "foo"; |
| 22332 var arg_searchString = "foo"; | 22736 var arg_searchString = "foo"; |
| 22333 var arg_sortField = "foo"; | 22737 var arg_sortField = "foo"; |
| 22334 var arg_sortOrder = "foo"; | 22738 var arg_sortOrder = "foo"; |
| 22335 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 22739 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 22336 var path = (req.url).path; | 22740 var path = (req.url).path; |
| 22337 var pathOffset = 0; | 22741 var pathOffset = 0; |
| 22338 var index; | 22742 var index; |
| 22339 var subPart; | 22743 var subPart; |
| 22340 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 22744 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 22341 pathOffset += 1; | 22745 pathOffset += 1; |
| 22342 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 22746 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 22343 pathOffset += 18; | 22747 pathOffset += 18; |
| 22344 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 22748 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 22345 pathOffset += 13; | 22749 pathOffset += 13; |
| 22346 index = path.indexOf("/subaccounts", pathOffset); | 22750 index = path.indexOf("/subaccounts", pathOffset); |
| 22347 unittest.expect(index >= 0, unittest.isTrue); | 22751 unittest.expect(index >= 0, unittest.isTrue); |
| 22348 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 22752 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 22349 pathOffset = index; | 22753 pathOffset = index; |
| 22350 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 22754 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 22351 unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.eq
uals("/subaccounts")); | 22755 unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.eq
uals("/subaccounts")); |
| 22352 pathOffset += 12; | 22756 pathOffset += 12; |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 22396 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 22800 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 22397 var obj = new api.Subaccount.fromJson(json); | 22801 var obj = new api.Subaccount.fromJson(json); |
| 22398 checkSubaccount(obj); | 22802 checkSubaccount(obj); |
| 22399 | 22803 |
| 22400 var path = (req.url).path; | 22804 var path = (req.url).path; |
| 22401 var pathOffset = 0; | 22805 var pathOffset = 0; |
| 22402 var index; | 22806 var index; |
| 22403 var subPart; | 22807 var subPart; |
| 22404 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 22808 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 22405 pathOffset += 1; | 22809 pathOffset += 1; |
| 22406 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 22810 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 22407 pathOffset += 18; | 22811 pathOffset += 18; |
| 22408 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 22812 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 22409 pathOffset += 13; | 22813 pathOffset += 13; |
| 22410 index = path.indexOf("/subaccounts", pathOffset); | 22814 index = path.indexOf("/subaccounts", pathOffset); |
| 22411 unittest.expect(index >= 0, unittest.isTrue); | 22815 unittest.expect(index >= 0, unittest.isTrue); |
| 22412 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 22816 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 22413 pathOffset = index; | 22817 pathOffset = index; |
| 22414 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 22818 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 22415 unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.eq
uals("/subaccounts")); | 22819 unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.eq
uals("/subaccounts")); |
| 22416 pathOffset += 12; | 22820 pathOffset += 12; |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 22454 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 22858 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 22455 var obj = new api.Subaccount.fromJson(json); | 22859 var obj = new api.Subaccount.fromJson(json); |
| 22456 checkSubaccount(obj); | 22860 checkSubaccount(obj); |
| 22457 | 22861 |
| 22458 var path = (req.url).path; | 22862 var path = (req.url).path; |
| 22459 var pathOffset = 0; | 22863 var pathOffset = 0; |
| 22460 var index; | 22864 var index; |
| 22461 var subPart; | 22865 var subPart; |
| 22462 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 22866 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 22463 pathOffset += 1; | 22867 pathOffset += 1; |
| 22464 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 22868 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 22465 pathOffset += 18; | 22869 pathOffset += 18; |
| 22466 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 22870 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 22467 pathOffset += 13; | 22871 pathOffset += 13; |
| 22468 index = path.indexOf("/subaccounts", pathOffset); | 22872 index = path.indexOf("/subaccounts", pathOffset); |
| 22469 unittest.expect(index >= 0, unittest.isTrue); | 22873 unittest.expect(index >= 0, unittest.isTrue); |
| 22470 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 22874 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 22471 pathOffset = index; | 22875 pathOffset = index; |
| 22472 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 22876 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 22473 unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.eq
uals("/subaccounts")); | 22877 unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.eq
uals("/subaccounts")); |
| 22474 pathOffset += 12; | 22878 pathOffset += 12; |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 22512 api.TargetableRemarketingListsResourceApi res = new api.DfareportingApi(mo
ck).targetableRemarketingLists; | 22916 api.TargetableRemarketingListsResourceApi res = new api.DfareportingApi(mo
ck).targetableRemarketingLists; |
| 22513 var arg_profileId = "foo"; | 22917 var arg_profileId = "foo"; |
| 22514 var arg_id = "foo"; | 22918 var arg_id = "foo"; |
| 22515 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 22919 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 22516 var path = (req.url).path; | 22920 var path = (req.url).path; |
| 22517 var pathOffset = 0; | 22921 var pathOffset = 0; |
| 22518 var index; | 22922 var index; |
| 22519 var subPart; | 22923 var subPart; |
| 22520 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 22924 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 22521 pathOffset += 1; | 22925 pathOffset += 1; |
| 22522 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 22926 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 22523 pathOffset += 18; | 22927 pathOffset += 18; |
| 22524 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 22928 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 22525 pathOffset += 13; | 22929 pathOffset += 13; |
| 22526 index = path.indexOf("/targetableRemarketingLists/", pathOffset); | 22930 index = path.indexOf("/targetableRemarketingLists/", pathOffset); |
| 22527 unittest.expect(index >= 0, unittest.isTrue); | 22931 unittest.expect(index >= 0, unittest.isTrue); |
| 22528 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 22932 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 22529 pathOffset = index; | 22933 pathOffset = index; |
| 22530 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 22934 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 22531 unittest.expect(path.substring(pathOffset, pathOffset + 28), unittest.eq
uals("/targetableRemarketingLists/")); | 22935 unittest.expect(path.substring(pathOffset, pathOffset + 28), unittest.eq
uals("/targetableRemarketingLists/")); |
| 22532 pathOffset += 28; | 22936 pathOffset += 28; |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 22575 var arg_pageToken = "foo"; | 22979 var arg_pageToken = "foo"; |
| 22576 var arg_sortField = "foo"; | 22980 var arg_sortField = "foo"; |
| 22577 var arg_sortOrder = "foo"; | 22981 var arg_sortOrder = "foo"; |
| 22578 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 22982 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 22579 var path = (req.url).path; | 22983 var path = (req.url).path; |
| 22580 var pathOffset = 0; | 22984 var pathOffset = 0; |
| 22581 var index; | 22985 var index; |
| 22582 var subPart; | 22986 var subPart; |
| 22583 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 22987 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 22584 pathOffset += 1; | 22988 pathOffset += 1; |
| 22585 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 22989 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 22586 pathOffset += 18; | 22990 pathOffset += 18; |
| 22587 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 22991 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 22588 pathOffset += 13; | 22992 pathOffset += 13; |
| 22589 index = path.indexOf("/targetableRemarketingLists", pathOffset); | 22993 index = path.indexOf("/targetableRemarketingLists", pathOffset); |
| 22590 unittest.expect(index >= 0, unittest.isTrue); | 22994 unittest.expect(index >= 0, unittest.isTrue); |
| 22591 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 22995 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 22592 pathOffset = index; | 22996 pathOffset = index; |
| 22593 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 22997 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 22594 unittest.expect(path.substring(pathOffset, pathOffset + 27), unittest.eq
uals("/targetableRemarketingLists")); | 22998 unittest.expect(path.substring(pathOffset, pathOffset + 27), unittest.eq
uals("/targetableRemarketingLists")); |
| 22595 pathOffset += 27; | 22999 pathOffset += 27; |
| (...skipping 30 matching lines...) Expand all Loading... |
| 22626 return new async.Future.value(stringResponse(200, h, resp)); | 23030 return new async.Future.value(stringResponse(200, h, resp)); |
| 22627 }), true); | 23031 }), true); |
| 22628 res.list(arg_profileId, arg_advertiserId, active: arg_active, maxResults:
arg_maxResults, name: arg_name, pageToken: arg_pageToken, sortField: arg_sortFie
ld, sortOrder: arg_sortOrder).then(unittest.expectAsync(((api.TargetableRemarket
ingListsListResponse response) { | 23032 res.list(arg_profileId, arg_advertiserId, active: arg_active, maxResults:
arg_maxResults, name: arg_name, pageToken: arg_pageToken, sortField: arg_sortFie
ld, sortOrder: arg_sortOrder).then(unittest.expectAsync(((api.TargetableRemarket
ingListsListResponse response) { |
| 22629 checkTargetableRemarketingListsListResponse(response); | 23033 checkTargetableRemarketingListsListResponse(response); |
| 22630 }))); | 23034 }))); |
| 22631 }); | 23035 }); |
| 22632 | 23036 |
| 22633 }); | 23037 }); |
| 22634 | 23038 |
| 22635 | 23039 |
| 23040 unittest.group("resource-TargetingTemplatesResourceApi", () { |
| 23041 unittest.test("method--get", () { |
| 23042 |
| 23043 var mock = new HttpServerMock(); |
| 23044 api.TargetingTemplatesResourceApi res = new api.DfareportingApi(mock).targ
etingTemplates; |
| 23045 var arg_profileId = "foo"; |
| 23046 var arg_id = "foo"; |
| 23047 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 23048 var path = (req.url).path; |
| 23049 var pathOffset = 0; |
| 23050 var index; |
| 23051 var subPart; |
| 23052 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 23053 pathOffset += 1; |
| 23054 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 23055 pathOffset += 18; |
| 23056 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 23057 pathOffset += 13; |
| 23058 index = path.indexOf("/targetingTemplates/", pathOffset); |
| 23059 unittest.expect(index >= 0, unittest.isTrue); |
| 23060 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 23061 pathOffset = index; |
| 23062 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 23063 unittest.expect(path.substring(pathOffset, pathOffset + 20), unittest.eq
uals("/targetingTemplates/")); |
| 23064 pathOffset += 20; |
| 23065 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset)); |
| 23066 pathOffset = path.length; |
| 23067 unittest.expect(subPart, unittest.equals("$arg_id")); |
| 23068 |
| 23069 var query = (req.url).query; |
| 23070 var queryOffset = 0; |
| 23071 var queryMap = {}; |
| 23072 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); |
| 23073 parseBool(n) { |
| 23074 if (n == "true") return true; |
| 23075 if (n == "false") return false; |
| 23076 if (n == null) return null; |
| 23077 throw new core.ArgumentError("Invalid boolean: $n"); |
| 23078 } |
| 23079 if (query.length > 0) { |
| 23080 for (var part in query.split("&")) { |
| 23081 var keyvalue = part.split("="); |
| 23082 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); |
| 23083 } |
| 23084 } |
| 23085 |
| 23086 |
| 23087 var h = { |
| 23088 "content-type" : "application/json; charset=utf-8", |
| 23089 }; |
| 23090 var resp = convert.JSON.encode(buildTargetingTemplate()); |
| 23091 return new async.Future.value(stringResponse(200, h, resp)); |
| 23092 }), true); |
| 23093 res.get(arg_profileId, arg_id).then(unittest.expectAsync(((api.TargetingTe
mplate response) { |
| 23094 checkTargetingTemplate(response); |
| 23095 }))); |
| 23096 }); |
| 23097 |
| 23098 unittest.test("method--insert", () { |
| 23099 |
| 23100 var mock = new HttpServerMock(); |
| 23101 api.TargetingTemplatesResourceApi res = new api.DfareportingApi(mock).targ
etingTemplates; |
| 23102 var arg_request = buildTargetingTemplate(); |
| 23103 var arg_profileId = "foo"; |
| 23104 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 23105 var obj = new api.TargetingTemplate.fromJson(json); |
| 23106 checkTargetingTemplate(obj); |
| 23107 |
| 23108 var path = (req.url).path; |
| 23109 var pathOffset = 0; |
| 23110 var index; |
| 23111 var subPart; |
| 23112 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 23113 pathOffset += 1; |
| 23114 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 23115 pathOffset += 18; |
| 23116 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 23117 pathOffset += 13; |
| 23118 index = path.indexOf("/targetingTemplates", pathOffset); |
| 23119 unittest.expect(index >= 0, unittest.isTrue); |
| 23120 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 23121 pathOffset = index; |
| 23122 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 23123 unittest.expect(path.substring(pathOffset, pathOffset + 19), unittest.eq
uals("/targetingTemplates")); |
| 23124 pathOffset += 19; |
| 23125 |
| 23126 var query = (req.url).query; |
| 23127 var queryOffset = 0; |
| 23128 var queryMap = {}; |
| 23129 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); |
| 23130 parseBool(n) { |
| 23131 if (n == "true") return true; |
| 23132 if (n == "false") return false; |
| 23133 if (n == null) return null; |
| 23134 throw new core.ArgumentError("Invalid boolean: $n"); |
| 23135 } |
| 23136 if (query.length > 0) { |
| 23137 for (var part in query.split("&")) { |
| 23138 var keyvalue = part.split("="); |
| 23139 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); |
| 23140 } |
| 23141 } |
| 23142 |
| 23143 |
| 23144 var h = { |
| 23145 "content-type" : "application/json; charset=utf-8", |
| 23146 }; |
| 23147 var resp = convert.JSON.encode(buildTargetingTemplate()); |
| 23148 return new async.Future.value(stringResponse(200, h, resp)); |
| 23149 }), true); |
| 23150 res.insert(arg_request, arg_profileId).then(unittest.expectAsync(((api.Tar
getingTemplate response) { |
| 23151 checkTargetingTemplate(response); |
| 23152 }))); |
| 23153 }); |
| 23154 |
| 23155 unittest.test("method--list", () { |
| 23156 |
| 23157 var mock = new HttpServerMock(); |
| 23158 api.TargetingTemplatesResourceApi res = new api.DfareportingApi(mock).targ
etingTemplates; |
| 23159 var arg_profileId = "foo"; |
| 23160 var arg_advertiserId = "foo"; |
| 23161 var arg_ids = buildUnnamed2409(); |
| 23162 var arg_maxResults = 42; |
| 23163 var arg_pageToken = "foo"; |
| 23164 var arg_searchString = "foo"; |
| 23165 var arg_sortField = "foo"; |
| 23166 var arg_sortOrder = "foo"; |
| 23167 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 23168 var path = (req.url).path; |
| 23169 var pathOffset = 0; |
| 23170 var index; |
| 23171 var subPart; |
| 23172 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 23173 pathOffset += 1; |
| 23174 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 23175 pathOffset += 18; |
| 23176 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 23177 pathOffset += 13; |
| 23178 index = path.indexOf("/targetingTemplates", pathOffset); |
| 23179 unittest.expect(index >= 0, unittest.isTrue); |
| 23180 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 23181 pathOffset = index; |
| 23182 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 23183 unittest.expect(path.substring(pathOffset, pathOffset + 19), unittest.eq
uals("/targetingTemplates")); |
| 23184 pathOffset += 19; |
| 23185 |
| 23186 var query = (req.url).query; |
| 23187 var queryOffset = 0; |
| 23188 var queryMap = {}; |
| 23189 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); |
| 23190 parseBool(n) { |
| 23191 if (n == "true") return true; |
| 23192 if (n == "false") return false; |
| 23193 if (n == null) return null; |
| 23194 throw new core.ArgumentError("Invalid boolean: $n"); |
| 23195 } |
| 23196 if (query.length > 0) { |
| 23197 for (var part in query.split("&")) { |
| 23198 var keyvalue = part.split("="); |
| 23199 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); |
| 23200 } |
| 23201 } |
| 23202 unittest.expect(queryMap["advertiserId"].first, unittest.equals(arg_adve
rtiserId)); |
| 23203 unittest.expect(queryMap["ids"], unittest.equals(arg_ids)); |
| 23204 unittest.expect(core.int.parse(queryMap["maxResults"].first), unittest.e
quals(arg_maxResults)); |
| 23205 unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageTok
en)); |
| 23206 unittest.expect(queryMap["searchString"].first, unittest.equals(arg_sear
chString)); |
| 23207 unittest.expect(queryMap["sortField"].first, unittest.equals(arg_sortFie
ld)); |
| 23208 unittest.expect(queryMap["sortOrder"].first, unittest.equals(arg_sortOrd
er)); |
| 23209 |
| 23210 |
| 23211 var h = { |
| 23212 "content-type" : "application/json; charset=utf-8", |
| 23213 }; |
| 23214 var resp = convert.JSON.encode(buildTargetingTemplatesListResponse()); |
| 23215 return new async.Future.value(stringResponse(200, h, resp)); |
| 23216 }), true); |
| 23217 res.list(arg_profileId, advertiserId: arg_advertiserId, ids: arg_ids, maxR
esults: arg_maxResults, pageToken: arg_pageToken, searchString: arg_searchString
, sortField: arg_sortField, sortOrder: arg_sortOrder).then(unittest.expectAsync(
((api.TargetingTemplatesListResponse response) { |
| 23218 checkTargetingTemplatesListResponse(response); |
| 23219 }))); |
| 23220 }); |
| 23221 |
| 23222 unittest.test("method--patch", () { |
| 23223 |
| 23224 var mock = new HttpServerMock(); |
| 23225 api.TargetingTemplatesResourceApi res = new api.DfareportingApi(mock).targ
etingTemplates; |
| 23226 var arg_request = buildTargetingTemplate(); |
| 23227 var arg_profileId = "foo"; |
| 23228 var arg_id = "foo"; |
| 23229 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 23230 var obj = new api.TargetingTemplate.fromJson(json); |
| 23231 checkTargetingTemplate(obj); |
| 23232 |
| 23233 var path = (req.url).path; |
| 23234 var pathOffset = 0; |
| 23235 var index; |
| 23236 var subPart; |
| 23237 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 23238 pathOffset += 1; |
| 23239 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 23240 pathOffset += 18; |
| 23241 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 23242 pathOffset += 13; |
| 23243 index = path.indexOf("/targetingTemplates", pathOffset); |
| 23244 unittest.expect(index >= 0, unittest.isTrue); |
| 23245 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 23246 pathOffset = index; |
| 23247 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 23248 unittest.expect(path.substring(pathOffset, pathOffset + 19), unittest.eq
uals("/targetingTemplates")); |
| 23249 pathOffset += 19; |
| 23250 |
| 23251 var query = (req.url).query; |
| 23252 var queryOffset = 0; |
| 23253 var queryMap = {}; |
| 23254 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); |
| 23255 parseBool(n) { |
| 23256 if (n == "true") return true; |
| 23257 if (n == "false") return false; |
| 23258 if (n == null) return null; |
| 23259 throw new core.ArgumentError("Invalid boolean: $n"); |
| 23260 } |
| 23261 if (query.length > 0) { |
| 23262 for (var part in query.split("&")) { |
| 23263 var keyvalue = part.split("="); |
| 23264 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); |
| 23265 } |
| 23266 } |
| 23267 unittest.expect(queryMap["id"].first, unittest.equals(arg_id)); |
| 23268 |
| 23269 |
| 23270 var h = { |
| 23271 "content-type" : "application/json; charset=utf-8", |
| 23272 }; |
| 23273 var resp = convert.JSON.encode(buildTargetingTemplate()); |
| 23274 return new async.Future.value(stringResponse(200, h, resp)); |
| 23275 }), true); |
| 23276 res.patch(arg_request, arg_profileId, arg_id).then(unittest.expectAsync(((
api.TargetingTemplate response) { |
| 23277 checkTargetingTemplate(response); |
| 23278 }))); |
| 23279 }); |
| 23280 |
| 23281 unittest.test("method--update", () { |
| 23282 |
| 23283 var mock = new HttpServerMock(); |
| 23284 api.TargetingTemplatesResourceApi res = new api.DfareportingApi(mock).targ
etingTemplates; |
| 23285 var arg_request = buildTargetingTemplate(); |
| 23286 var arg_profileId = "foo"; |
| 23287 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 23288 var obj = new api.TargetingTemplate.fromJson(json); |
| 23289 checkTargetingTemplate(obj); |
| 23290 |
| 23291 var path = (req.url).path; |
| 23292 var pathOffset = 0; |
| 23293 var index; |
| 23294 var subPart; |
| 23295 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 23296 pathOffset += 1; |
| 23297 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 23298 pathOffset += 18; |
| 23299 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 23300 pathOffset += 13; |
| 23301 index = path.indexOf("/targetingTemplates", pathOffset); |
| 23302 unittest.expect(index >= 0, unittest.isTrue); |
| 23303 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 23304 pathOffset = index; |
| 23305 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 23306 unittest.expect(path.substring(pathOffset, pathOffset + 19), unittest.eq
uals("/targetingTemplates")); |
| 23307 pathOffset += 19; |
| 23308 |
| 23309 var query = (req.url).query; |
| 23310 var queryOffset = 0; |
| 23311 var queryMap = {}; |
| 23312 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); |
| 23313 parseBool(n) { |
| 23314 if (n == "true") return true; |
| 23315 if (n == "false") return false; |
| 23316 if (n == null) return null; |
| 23317 throw new core.ArgumentError("Invalid boolean: $n"); |
| 23318 } |
| 23319 if (query.length > 0) { |
| 23320 for (var part in query.split("&")) { |
| 23321 var keyvalue = part.split("="); |
| 23322 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); |
| 23323 } |
| 23324 } |
| 23325 |
| 23326 |
| 23327 var h = { |
| 23328 "content-type" : "application/json; charset=utf-8", |
| 23329 }; |
| 23330 var resp = convert.JSON.encode(buildTargetingTemplate()); |
| 23331 return new async.Future.value(stringResponse(200, h, resp)); |
| 23332 }), true); |
| 23333 res.update(arg_request, arg_profileId).then(unittest.expectAsync(((api.Tar
getingTemplate response) { |
| 23334 checkTargetingTemplate(response); |
| 23335 }))); |
| 23336 }); |
| 23337 |
| 23338 }); |
| 23339 |
| 23340 |
| 22636 unittest.group("resource-UserProfilesResourceApi", () { | 23341 unittest.group("resource-UserProfilesResourceApi", () { |
| 22637 unittest.test("method--get", () { | 23342 unittest.test("method--get", () { |
| 22638 | 23343 |
| 22639 var mock = new HttpServerMock(); | 23344 var mock = new HttpServerMock(); |
| 22640 api.UserProfilesResourceApi res = new api.DfareportingApi(mock).userProfil
es; | 23345 api.UserProfilesResourceApi res = new api.DfareportingApi(mock).userProfil
es; |
| 22641 var arg_profileId = "foo"; | 23346 var arg_profileId = "foo"; |
| 22642 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 23347 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 22643 var path = (req.url).path; | 23348 var path = (req.url).path; |
| 22644 var pathOffset = 0; | 23349 var pathOffset = 0; |
| 22645 var index; | 23350 var index; |
| 22646 var subPart; | 23351 var subPart; |
| 22647 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 23352 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 22648 pathOffset += 1; | 23353 pathOffset += 1; |
| 22649 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 23354 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 22650 pathOffset += 18; | 23355 pathOffset += 18; |
| 22651 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 23356 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 22652 pathOffset += 13; | 23357 pathOffset += 13; |
| 22653 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset)); | 23358 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset)); |
| 22654 pathOffset = path.length; | 23359 pathOffset = path.length; |
| 22655 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 23360 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 22656 | 23361 |
| 22657 var query = (req.url).query; | 23362 var query = (req.url).query; |
| 22658 var queryOffset = 0; | 23363 var queryOffset = 0; |
| 22659 var queryMap = {}; | 23364 var queryMap = {}; |
| (...skipping 27 matching lines...) Expand all Loading... |
| 22687 | 23392 |
| 22688 var mock = new HttpServerMock(); | 23393 var mock = new HttpServerMock(); |
| 22689 api.UserProfilesResourceApi res = new api.DfareportingApi(mock).userProfil
es; | 23394 api.UserProfilesResourceApi res = new api.DfareportingApi(mock).userProfil
es; |
| 22690 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 23395 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 22691 var path = (req.url).path; | 23396 var path = (req.url).path; |
| 22692 var pathOffset = 0; | 23397 var pathOffset = 0; |
| 22693 var index; | 23398 var index; |
| 22694 var subPart; | 23399 var subPart; |
| 22695 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 23400 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 22696 pathOffset += 1; | 23401 pathOffset += 1; |
| 22697 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 23402 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 22698 pathOffset += 18; | 23403 pathOffset += 18; |
| 22699 unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.eq
uals("userprofiles")); | 23404 unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.eq
uals("userprofiles")); |
| 22700 pathOffset += 12; | 23405 pathOffset += 12; |
| 22701 | 23406 |
| 22702 var query = (req.url).query; | 23407 var query = (req.url).query; |
| 22703 var queryOffset = 0; | 23408 var queryOffset = 0; |
| 22704 var queryMap = {}; | 23409 var queryMap = {}; |
| 22705 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); | 23410 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); |
| 22706 parseBool(n) { | 23411 parseBool(n) { |
| 22707 if (n == "true") return true; | 23412 if (n == "true") return true; |
| (...skipping 30 matching lines...) Expand all Loading... |
| 22738 api.UserRolePermissionGroupsResourceApi res = new api.DfareportingApi(mock
).userRolePermissionGroups; | 23443 api.UserRolePermissionGroupsResourceApi res = new api.DfareportingApi(mock
).userRolePermissionGroups; |
| 22739 var arg_profileId = "foo"; | 23444 var arg_profileId = "foo"; |
| 22740 var arg_id = "foo"; | 23445 var arg_id = "foo"; |
| 22741 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 23446 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 22742 var path = (req.url).path; | 23447 var path = (req.url).path; |
| 22743 var pathOffset = 0; | 23448 var pathOffset = 0; |
| 22744 var index; | 23449 var index; |
| 22745 var subPart; | 23450 var subPart; |
| 22746 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 23451 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 22747 pathOffset += 1; | 23452 pathOffset += 1; |
| 22748 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 23453 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 22749 pathOffset += 18; | 23454 pathOffset += 18; |
| 22750 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 23455 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 22751 pathOffset += 13; | 23456 pathOffset += 13; |
| 22752 index = path.indexOf("/userRolePermissionGroups/", pathOffset); | 23457 index = path.indexOf("/userRolePermissionGroups/", pathOffset); |
| 22753 unittest.expect(index >= 0, unittest.isTrue); | 23458 unittest.expect(index >= 0, unittest.isTrue); |
| 22754 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 23459 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 22755 pathOffset = index; | 23460 pathOffset = index; |
| 22756 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 23461 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 22757 unittest.expect(path.substring(pathOffset, pathOffset + 26), unittest.eq
uals("/userRolePermissionGroups/")); | 23462 unittest.expect(path.substring(pathOffset, pathOffset + 26), unittest.eq
uals("/userRolePermissionGroups/")); |
| 22758 pathOffset += 26; | 23463 pathOffset += 26; |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 22794 var mock = new HttpServerMock(); | 23499 var mock = new HttpServerMock(); |
| 22795 api.UserRolePermissionGroupsResourceApi res = new api.DfareportingApi(mock
).userRolePermissionGroups; | 23500 api.UserRolePermissionGroupsResourceApi res = new api.DfareportingApi(mock
).userRolePermissionGroups; |
| 22796 var arg_profileId = "foo"; | 23501 var arg_profileId = "foo"; |
| 22797 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 23502 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 22798 var path = (req.url).path; | 23503 var path = (req.url).path; |
| 22799 var pathOffset = 0; | 23504 var pathOffset = 0; |
| 22800 var index; | 23505 var index; |
| 22801 var subPart; | 23506 var subPart; |
| 22802 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 23507 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 22803 pathOffset += 1; | 23508 pathOffset += 1; |
| 22804 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 23509 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 22805 pathOffset += 18; | 23510 pathOffset += 18; |
| 22806 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 23511 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 22807 pathOffset += 13; | 23512 pathOffset += 13; |
| 22808 index = path.indexOf("/userRolePermissionGroups", pathOffset); | 23513 index = path.indexOf("/userRolePermissionGroups", pathOffset); |
| 22809 unittest.expect(index >= 0, unittest.isTrue); | 23514 unittest.expect(index >= 0, unittest.isTrue); |
| 22810 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 23515 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 22811 pathOffset = index; | 23516 pathOffset = index; |
| 22812 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 23517 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 22813 unittest.expect(path.substring(pathOffset, pathOffset + 25), unittest.eq
uals("/userRolePermissionGroups")); | 23518 unittest.expect(path.substring(pathOffset, pathOffset + 25), unittest.eq
uals("/userRolePermissionGroups")); |
| 22814 pathOffset += 25; | 23519 pathOffset += 25; |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 22852 api.UserRolePermissionsResourceApi res = new api.DfareportingApi(mock).use
rRolePermissions; | 23557 api.UserRolePermissionsResourceApi res = new api.DfareportingApi(mock).use
rRolePermissions; |
| 22853 var arg_profileId = "foo"; | 23558 var arg_profileId = "foo"; |
| 22854 var arg_id = "foo"; | 23559 var arg_id = "foo"; |
| 22855 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 23560 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 22856 var path = (req.url).path; | 23561 var path = (req.url).path; |
| 22857 var pathOffset = 0; | 23562 var pathOffset = 0; |
| 22858 var index; | 23563 var index; |
| 22859 var subPart; | 23564 var subPart; |
| 22860 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 23565 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 22861 pathOffset += 1; | 23566 pathOffset += 1; |
| 22862 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 23567 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 22863 pathOffset += 18; | 23568 pathOffset += 18; |
| 22864 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 23569 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 22865 pathOffset += 13; | 23570 pathOffset += 13; |
| 22866 index = path.indexOf("/userRolePermissions/", pathOffset); | 23571 index = path.indexOf("/userRolePermissions/", pathOffset); |
| 22867 unittest.expect(index >= 0, unittest.isTrue); | 23572 unittest.expect(index >= 0, unittest.isTrue); |
| 22868 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 23573 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 22869 pathOffset = index; | 23574 pathOffset = index; |
| 22870 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 23575 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 22871 unittest.expect(path.substring(pathOffset, pathOffset + 21), unittest.eq
uals("/userRolePermissions/")); | 23576 unittest.expect(path.substring(pathOffset, pathOffset + 21), unittest.eq
uals("/userRolePermissions/")); |
| 22872 pathOffset += 21; | 23577 pathOffset += 21; |
| (...skipping 28 matching lines...) Expand all Loading... |
| 22901 res.get(arg_profileId, arg_id).then(unittest.expectAsync(((api.UserRolePer
mission response) { | 23606 res.get(arg_profileId, arg_id).then(unittest.expectAsync(((api.UserRolePer
mission response) { |
| 22902 checkUserRolePermission(response); | 23607 checkUserRolePermission(response); |
| 22903 }))); | 23608 }))); |
| 22904 }); | 23609 }); |
| 22905 | 23610 |
| 22906 unittest.test("method--list", () { | 23611 unittest.test("method--list", () { |
| 22907 | 23612 |
| 22908 var mock = new HttpServerMock(); | 23613 var mock = new HttpServerMock(); |
| 22909 api.UserRolePermissionsResourceApi res = new api.DfareportingApi(mock).use
rRolePermissions; | 23614 api.UserRolePermissionsResourceApi res = new api.DfareportingApi(mock).use
rRolePermissions; |
| 22910 var arg_profileId = "foo"; | 23615 var arg_profileId = "foo"; |
| 22911 var arg_ids = buildUnnamed1670(); | 23616 var arg_ids = buildUnnamed2410(); |
| 22912 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 23617 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 22913 var path = (req.url).path; | 23618 var path = (req.url).path; |
| 22914 var pathOffset = 0; | 23619 var pathOffset = 0; |
| 22915 var index; | 23620 var index; |
| 22916 var subPart; | 23621 var subPart; |
| 22917 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 23622 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 22918 pathOffset += 1; | 23623 pathOffset += 1; |
| 22919 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 23624 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 22920 pathOffset += 18; | 23625 pathOffset += 18; |
| 22921 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 23626 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 22922 pathOffset += 13; | 23627 pathOffset += 13; |
| 22923 index = path.indexOf("/userRolePermissions", pathOffset); | 23628 index = path.indexOf("/userRolePermissions", pathOffset); |
| 22924 unittest.expect(index >= 0, unittest.isTrue); | 23629 unittest.expect(index >= 0, unittest.isTrue); |
| 22925 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 23630 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 22926 pathOffset = index; | 23631 pathOffset = index; |
| 22927 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 23632 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 22928 unittest.expect(path.substring(pathOffset, pathOffset + 20), unittest.eq
uals("/userRolePermissions")); | 23633 unittest.expect(path.substring(pathOffset, pathOffset + 20), unittest.eq
uals("/userRolePermissions")); |
| 22929 pathOffset += 20; | 23634 pathOffset += 20; |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 22968 api.UserRolesResourceApi res = new api.DfareportingApi(mock).userRoles; | 23673 api.UserRolesResourceApi res = new api.DfareportingApi(mock).userRoles; |
| 22969 var arg_profileId = "foo"; | 23674 var arg_profileId = "foo"; |
| 22970 var arg_id = "foo"; | 23675 var arg_id = "foo"; |
| 22971 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 23676 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 22972 var path = (req.url).path; | 23677 var path = (req.url).path; |
| 22973 var pathOffset = 0; | 23678 var pathOffset = 0; |
| 22974 var index; | 23679 var index; |
| 22975 var subPart; | 23680 var subPart; |
| 22976 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 23681 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 22977 pathOffset += 1; | 23682 pathOffset += 1; |
| 22978 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 23683 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 22979 pathOffset += 18; | 23684 pathOffset += 18; |
| 22980 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 23685 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 22981 pathOffset += 13; | 23686 pathOffset += 13; |
| 22982 index = path.indexOf("/userRoles/", pathOffset); | 23687 index = path.indexOf("/userRoles/", pathOffset); |
| 22983 unittest.expect(index >= 0, unittest.isTrue); | 23688 unittest.expect(index >= 0, unittest.isTrue); |
| 22984 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 23689 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 22985 pathOffset = index; | 23690 pathOffset = index; |
| 22986 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 23691 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 22987 unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.eq
uals("/userRoles/")); | 23692 unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.eq
uals("/userRoles/")); |
| 22988 pathOffset += 11; | 23693 pathOffset += 11; |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 23023 api.UserRolesResourceApi res = new api.DfareportingApi(mock).userRoles; | 23728 api.UserRolesResourceApi res = new api.DfareportingApi(mock).userRoles; |
| 23024 var arg_profileId = "foo"; | 23729 var arg_profileId = "foo"; |
| 23025 var arg_id = "foo"; | 23730 var arg_id = "foo"; |
| 23026 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 23731 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 23027 var path = (req.url).path; | 23732 var path = (req.url).path; |
| 23028 var pathOffset = 0; | 23733 var pathOffset = 0; |
| 23029 var index; | 23734 var index; |
| 23030 var subPart; | 23735 var subPart; |
| 23031 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 23736 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 23032 pathOffset += 1; | 23737 pathOffset += 1; |
| 23033 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 23738 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 23034 pathOffset += 18; | 23739 pathOffset += 18; |
| 23035 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 23740 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 23036 pathOffset += 13; | 23741 pathOffset += 13; |
| 23037 index = path.indexOf("/userRoles/", pathOffset); | 23742 index = path.indexOf("/userRoles/", pathOffset); |
| 23038 unittest.expect(index >= 0, unittest.isTrue); | 23743 unittest.expect(index >= 0, unittest.isTrue); |
| 23039 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 23744 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 23040 pathOffset = index; | 23745 pathOffset = index; |
| 23041 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 23746 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 23042 unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.eq
uals("/userRoles/")); | 23747 unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.eq
uals("/userRoles/")); |
| 23043 pathOffset += 11; | 23748 pathOffset += 11; |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 23083 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 23788 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 23084 var obj = new api.UserRole.fromJson(json); | 23789 var obj = new api.UserRole.fromJson(json); |
| 23085 checkUserRole(obj); | 23790 checkUserRole(obj); |
| 23086 | 23791 |
| 23087 var path = (req.url).path; | 23792 var path = (req.url).path; |
| 23088 var pathOffset = 0; | 23793 var pathOffset = 0; |
| 23089 var index; | 23794 var index; |
| 23090 var subPart; | 23795 var subPart; |
| 23091 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 23796 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 23092 pathOffset += 1; | 23797 pathOffset += 1; |
| 23093 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 23798 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 23094 pathOffset += 18; | 23799 pathOffset += 18; |
| 23095 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 23800 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 23096 pathOffset += 13; | 23801 pathOffset += 13; |
| 23097 index = path.indexOf("/userRoles", pathOffset); | 23802 index = path.indexOf("/userRoles", pathOffset); |
| 23098 unittest.expect(index >= 0, unittest.isTrue); | 23803 unittest.expect(index >= 0, unittest.isTrue); |
| 23099 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 23804 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 23100 pathOffset = index; | 23805 pathOffset = index; |
| 23101 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 23806 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 23102 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("/userRoles")); | 23807 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("/userRoles")); |
| 23103 pathOffset += 10; | 23808 pathOffset += 10; |
| (...skipping 26 matching lines...) Expand all Loading... |
| 23130 checkUserRole(response); | 23835 checkUserRole(response); |
| 23131 }))); | 23836 }))); |
| 23132 }); | 23837 }); |
| 23133 | 23838 |
| 23134 unittest.test("method--list", () { | 23839 unittest.test("method--list", () { |
| 23135 | 23840 |
| 23136 var mock = new HttpServerMock(); | 23841 var mock = new HttpServerMock(); |
| 23137 api.UserRolesResourceApi res = new api.DfareportingApi(mock).userRoles; | 23842 api.UserRolesResourceApi res = new api.DfareportingApi(mock).userRoles; |
| 23138 var arg_profileId = "foo"; | 23843 var arg_profileId = "foo"; |
| 23139 var arg_accountUserRoleOnly = true; | 23844 var arg_accountUserRoleOnly = true; |
| 23140 var arg_ids = buildUnnamed1671(); | 23845 var arg_ids = buildUnnamed2411(); |
| 23141 var arg_maxResults = 42; | 23846 var arg_maxResults = 42; |
| 23142 var arg_pageToken = "foo"; | 23847 var arg_pageToken = "foo"; |
| 23143 var arg_searchString = "foo"; | 23848 var arg_searchString = "foo"; |
| 23144 var arg_sortField = "foo"; | 23849 var arg_sortField = "foo"; |
| 23145 var arg_sortOrder = "foo"; | 23850 var arg_sortOrder = "foo"; |
| 23146 var arg_subaccountId = "foo"; | 23851 var arg_subaccountId = "foo"; |
| 23147 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 23852 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 23148 var path = (req.url).path; | 23853 var path = (req.url).path; |
| 23149 var pathOffset = 0; | 23854 var pathOffset = 0; |
| 23150 var index; | 23855 var index; |
| 23151 var subPart; | 23856 var subPart; |
| 23152 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 23857 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 23153 pathOffset += 1; | 23858 pathOffset += 1; |
| 23154 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 23859 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 23155 pathOffset += 18; | 23860 pathOffset += 18; |
| 23156 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 23861 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 23157 pathOffset += 13; | 23862 pathOffset += 13; |
| 23158 index = path.indexOf("/userRoles", pathOffset); | 23863 index = path.indexOf("/userRoles", pathOffset); |
| 23159 unittest.expect(index >= 0, unittest.isTrue); | 23864 unittest.expect(index >= 0, unittest.isTrue); |
| 23160 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 23865 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 23161 pathOffset = index; | 23866 pathOffset = index; |
| 23162 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 23867 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 23163 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("/userRoles")); | 23868 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("/userRoles")); |
| 23164 pathOffset += 10; | 23869 pathOffset += 10; |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 23210 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 23915 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 23211 var obj = new api.UserRole.fromJson(json); | 23916 var obj = new api.UserRole.fromJson(json); |
| 23212 checkUserRole(obj); | 23917 checkUserRole(obj); |
| 23213 | 23918 |
| 23214 var path = (req.url).path; | 23919 var path = (req.url).path; |
| 23215 var pathOffset = 0; | 23920 var pathOffset = 0; |
| 23216 var index; | 23921 var index; |
| 23217 var subPart; | 23922 var subPart; |
| 23218 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 23923 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 23219 pathOffset += 1; | 23924 pathOffset += 1; |
| 23220 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 23925 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 23221 pathOffset += 18; | 23926 pathOffset += 18; |
| 23222 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 23927 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 23223 pathOffset += 13; | 23928 pathOffset += 13; |
| 23224 index = path.indexOf("/userRoles", pathOffset); | 23929 index = path.indexOf("/userRoles", pathOffset); |
| 23225 unittest.expect(index >= 0, unittest.isTrue); | 23930 unittest.expect(index >= 0, unittest.isTrue); |
| 23226 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 23931 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 23227 pathOffset = index; | 23932 pathOffset = index; |
| 23228 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 23933 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 23229 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("/userRoles")); | 23934 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("/userRoles")); |
| 23230 pathOffset += 10; | 23935 pathOffset += 10; |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 23268 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 23973 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 23269 var obj = new api.UserRole.fromJson(json); | 23974 var obj = new api.UserRole.fromJson(json); |
| 23270 checkUserRole(obj); | 23975 checkUserRole(obj); |
| 23271 | 23976 |
| 23272 var path = (req.url).path; | 23977 var path = (req.url).path; |
| 23273 var pathOffset = 0; | 23978 var pathOffset = 0; |
| 23274 var index; | 23979 var index; |
| 23275 var subPart; | 23980 var subPart; |
| 23276 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 23981 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 23277 pathOffset += 1; | 23982 pathOffset += 1; |
| 23278 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.5/")); | 23983 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); |
| 23279 pathOffset += 18; | 23984 pathOffset += 18; |
| 23280 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 23985 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 23281 pathOffset += 13; | 23986 pathOffset += 13; |
| 23282 index = path.indexOf("/userRoles", pathOffset); | 23987 index = path.indexOf("/userRoles", pathOffset); |
| 23283 unittest.expect(index >= 0, unittest.isTrue); | 23988 unittest.expect(index >= 0, unittest.isTrue); |
| 23284 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 23989 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 23285 pathOffset = index; | 23990 pathOffset = index; |
| 23286 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 23991 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 23287 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("/userRoles")); | 23992 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("/userRoles")); |
| 23288 pathOffset += 10; | 23993 pathOffset += 10; |
| (...skipping 25 matching lines...) Expand all Loading... |
| 23314 res.update(arg_request, arg_profileId).then(unittest.expectAsync(((api.Use
rRole response) { | 24019 res.update(arg_request, arg_profileId).then(unittest.expectAsync(((api.Use
rRole response) { |
| 23315 checkUserRole(response); | 24020 checkUserRole(response); |
| 23316 }))); | 24021 }))); |
| 23317 }); | 24022 }); |
| 23318 | 24023 |
| 23319 }); | 24024 }); |
| 23320 | 24025 |
| 23321 | 24026 |
| 23322 } | 24027 } |
| 23323 | 24028 |
| OLD | NEW |