| OLD | NEW |
| 1 library googleapis.adexchangebuyer.v1_3.test; | 1 library googleapis.adexchangebuyer.v1_3.test; |
| 2 | 2 |
| 3 import "dart:core" as core; | 3 import "dart:core" as core; |
| 4 import "dart:collection" as collection; | 4 import "dart:collection" as collection; |
| 5 import "dart:async" as async; | 5 import "dart:async" as async; |
| 6 import "dart:convert" as convert; | 6 import "dart:convert" as convert; |
| 7 | 7 |
| 8 import 'package:http/http.dart' as http; | 8 import 'package:http/http.dart' as http; |
| 9 import 'package:http/testing.dart' as http_testing; | 9 import 'package:http/testing.dart' as http_testing; |
| 10 import 'package:unittest/unittest.dart' as unittest; | 10 import 'package:unittest/unittest.dart' as unittest; |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 67 checkAccountBidderLocation(api.AccountBidderLocation o) { | 67 checkAccountBidderLocation(api.AccountBidderLocation o) { |
| 68 buildCounterAccountBidderLocation++; | 68 buildCounterAccountBidderLocation++; |
| 69 if (buildCounterAccountBidderLocation < 3) { | 69 if (buildCounterAccountBidderLocation < 3) { |
| 70 unittest.expect(o.maximumQps, unittest.equals(42)); | 70 unittest.expect(o.maximumQps, unittest.equals(42)); |
| 71 unittest.expect(o.region, unittest.equals('foo')); | 71 unittest.expect(o.region, unittest.equals('foo')); |
| 72 unittest.expect(o.url, unittest.equals('foo')); | 72 unittest.expect(o.url, unittest.equals('foo')); |
| 73 } | 73 } |
| 74 buildCounterAccountBidderLocation--; | 74 buildCounterAccountBidderLocation--; |
| 75 } | 75 } |
| 76 | 76 |
| 77 buildUnnamed1183() { | 77 buildUnnamed1440() { |
| 78 var o = new core.List<api.AccountBidderLocation>(); | 78 var o = new core.List<api.AccountBidderLocation>(); |
| 79 o.add(buildAccountBidderLocation()); | 79 o.add(buildAccountBidderLocation()); |
| 80 o.add(buildAccountBidderLocation()); | 80 o.add(buildAccountBidderLocation()); |
| 81 return o; | 81 return o; |
| 82 } | 82 } |
| 83 | 83 |
| 84 checkUnnamed1183(core.List<api.AccountBidderLocation> o) { | 84 checkUnnamed1440(core.List<api.AccountBidderLocation> o) { |
| 85 unittest.expect(o, unittest.hasLength(2)); | 85 unittest.expect(o, unittest.hasLength(2)); |
| 86 checkAccountBidderLocation(o[0]); | 86 checkAccountBidderLocation(o[0]); |
| 87 checkAccountBidderLocation(o[1]); | 87 checkAccountBidderLocation(o[1]); |
| 88 } | 88 } |
| 89 | 89 |
| 90 core.int buildCounterAccount = 0; | 90 core.int buildCounterAccount = 0; |
| 91 buildAccount() { | 91 buildAccount() { |
| 92 var o = new api.Account(); | 92 var o = new api.Account(); |
| 93 buildCounterAccount++; | 93 buildCounterAccount++; |
| 94 if (buildCounterAccount < 3) { | 94 if (buildCounterAccount < 3) { |
| 95 o.bidderLocation = buildUnnamed1183(); | 95 o.bidderLocation = buildUnnamed1440(); |
| 96 o.cookieMatchingNid = "foo"; | 96 o.cookieMatchingNid = "foo"; |
| 97 o.cookieMatchingUrl = "foo"; | 97 o.cookieMatchingUrl = "foo"; |
| 98 o.id = 42; | 98 o.id = 42; |
| 99 o.kind = "foo"; | 99 o.kind = "foo"; |
| 100 o.maximumActiveCreatives = 42; | 100 o.maximumActiveCreatives = 42; |
| 101 o.maximumTotalQps = 42; | 101 o.maximumTotalQps = 42; |
| 102 o.numberActiveCreatives = 42; | 102 o.numberActiveCreatives = 42; |
| 103 } | 103 } |
| 104 buildCounterAccount--; | 104 buildCounterAccount--; |
| 105 return o; | 105 return o; |
| 106 } | 106 } |
| 107 | 107 |
| 108 checkAccount(api.Account o) { | 108 checkAccount(api.Account o) { |
| 109 buildCounterAccount++; | 109 buildCounterAccount++; |
| 110 if (buildCounterAccount < 3) { | 110 if (buildCounterAccount < 3) { |
| 111 checkUnnamed1183(o.bidderLocation); | 111 checkUnnamed1440(o.bidderLocation); |
| 112 unittest.expect(o.cookieMatchingNid, unittest.equals('foo')); | 112 unittest.expect(o.cookieMatchingNid, unittest.equals('foo')); |
| 113 unittest.expect(o.cookieMatchingUrl, unittest.equals('foo')); | 113 unittest.expect(o.cookieMatchingUrl, unittest.equals('foo')); |
| 114 unittest.expect(o.id, unittest.equals(42)); | 114 unittest.expect(o.id, unittest.equals(42)); |
| 115 unittest.expect(o.kind, unittest.equals('foo')); | 115 unittest.expect(o.kind, unittest.equals('foo')); |
| 116 unittest.expect(o.maximumActiveCreatives, unittest.equals(42)); | 116 unittest.expect(o.maximumActiveCreatives, unittest.equals(42)); |
| 117 unittest.expect(o.maximumTotalQps, unittest.equals(42)); | 117 unittest.expect(o.maximumTotalQps, unittest.equals(42)); |
| 118 unittest.expect(o.numberActiveCreatives, unittest.equals(42)); | 118 unittest.expect(o.numberActiveCreatives, unittest.equals(42)); |
| 119 } | 119 } |
| 120 buildCounterAccount--; | 120 buildCounterAccount--; |
| 121 } | 121 } |
| 122 | 122 |
| 123 buildUnnamed1184() { | 123 buildUnnamed1441() { |
| 124 var o = new core.List<api.Account>(); | 124 var o = new core.List<api.Account>(); |
| 125 o.add(buildAccount()); | 125 o.add(buildAccount()); |
| 126 o.add(buildAccount()); | 126 o.add(buildAccount()); |
| 127 return o; | 127 return o; |
| 128 } | 128 } |
| 129 | 129 |
| 130 checkUnnamed1184(core.List<api.Account> o) { | 130 checkUnnamed1441(core.List<api.Account> o) { |
| 131 unittest.expect(o, unittest.hasLength(2)); | 131 unittest.expect(o, unittest.hasLength(2)); |
| 132 checkAccount(o[0]); | 132 checkAccount(o[0]); |
| 133 checkAccount(o[1]); | 133 checkAccount(o[1]); |
| 134 } | 134 } |
| 135 | 135 |
| 136 core.int buildCounterAccountsList = 0; | 136 core.int buildCounterAccountsList = 0; |
| 137 buildAccountsList() { | 137 buildAccountsList() { |
| 138 var o = new api.AccountsList(); | 138 var o = new api.AccountsList(); |
| 139 buildCounterAccountsList++; | 139 buildCounterAccountsList++; |
| 140 if (buildCounterAccountsList < 3) { | 140 if (buildCounterAccountsList < 3) { |
| 141 o.items = buildUnnamed1184(); | 141 o.items = buildUnnamed1441(); |
| 142 o.kind = "foo"; | 142 o.kind = "foo"; |
| 143 } | 143 } |
| 144 buildCounterAccountsList--; | 144 buildCounterAccountsList--; |
| 145 return o; | 145 return o; |
| 146 } | 146 } |
| 147 | 147 |
| 148 checkAccountsList(api.AccountsList o) { | 148 checkAccountsList(api.AccountsList o) { |
| 149 buildCounterAccountsList++; | 149 buildCounterAccountsList++; |
| 150 if (buildCounterAccountsList < 3) { | 150 if (buildCounterAccountsList < 3) { |
| 151 checkUnnamed1184(o.items); | 151 checkUnnamed1441(o.items); |
| 152 unittest.expect(o.kind, unittest.equals('foo')); | 152 unittest.expect(o.kind, unittest.equals('foo')); |
| 153 } | 153 } |
| 154 buildCounterAccountsList--; | 154 buildCounterAccountsList--; |
| 155 } | 155 } |
| 156 | 156 |
| 157 buildUnnamed1185() { | 157 buildUnnamed1442() { |
| 158 var o = new core.List<core.String>(); | 158 var o = new core.List<core.String>(); |
| 159 o.add("foo"); | 159 o.add("foo"); |
| 160 o.add("foo"); | 160 o.add("foo"); |
| 161 return o; | 161 return o; |
| 162 } | 162 } |
| 163 | 163 |
| 164 checkUnnamed1185(core.List<core.String> o) { | 164 checkUnnamed1442(core.List<core.String> o) { |
| 165 unittest.expect(o, unittest.hasLength(2)); | 165 unittest.expect(o, unittest.hasLength(2)); |
| 166 unittest.expect(o[0], unittest.equals('foo')); | 166 unittest.expect(o[0], unittest.equals('foo')); |
| 167 unittest.expect(o[1], unittest.equals('foo')); | 167 unittest.expect(o[1], unittest.equals('foo')); |
| 168 } | 168 } |
| 169 | 169 |
| 170 core.int buildCounterBillingInfo = 0; | 170 core.int buildCounterBillingInfo = 0; |
| 171 buildBillingInfo() { | 171 buildBillingInfo() { |
| 172 var o = new api.BillingInfo(); | 172 var o = new api.BillingInfo(); |
| 173 buildCounterBillingInfo++; | 173 buildCounterBillingInfo++; |
| 174 if (buildCounterBillingInfo < 3) { | 174 if (buildCounterBillingInfo < 3) { |
| 175 o.accountId = 42; | 175 o.accountId = 42; |
| 176 o.accountName = "foo"; | 176 o.accountName = "foo"; |
| 177 o.billingId = buildUnnamed1185(); | 177 o.billingId = buildUnnamed1442(); |
| 178 o.kind = "foo"; | 178 o.kind = "foo"; |
| 179 } | 179 } |
| 180 buildCounterBillingInfo--; | 180 buildCounterBillingInfo--; |
| 181 return o; | 181 return o; |
| 182 } | 182 } |
| 183 | 183 |
| 184 checkBillingInfo(api.BillingInfo o) { | 184 checkBillingInfo(api.BillingInfo o) { |
| 185 buildCounterBillingInfo++; | 185 buildCounterBillingInfo++; |
| 186 if (buildCounterBillingInfo < 3) { | 186 if (buildCounterBillingInfo < 3) { |
| 187 unittest.expect(o.accountId, unittest.equals(42)); | 187 unittest.expect(o.accountId, unittest.equals(42)); |
| 188 unittest.expect(o.accountName, unittest.equals('foo')); | 188 unittest.expect(o.accountName, unittest.equals('foo')); |
| 189 checkUnnamed1185(o.billingId); | 189 checkUnnamed1442(o.billingId); |
| 190 unittest.expect(o.kind, unittest.equals('foo')); | 190 unittest.expect(o.kind, unittest.equals('foo')); |
| 191 } | 191 } |
| 192 buildCounterBillingInfo--; | 192 buildCounterBillingInfo--; |
| 193 } | 193 } |
| 194 | 194 |
| 195 buildUnnamed1186() { | 195 buildUnnamed1443() { |
| 196 var o = new core.List<api.BillingInfo>(); | 196 var o = new core.List<api.BillingInfo>(); |
| 197 o.add(buildBillingInfo()); | 197 o.add(buildBillingInfo()); |
| 198 o.add(buildBillingInfo()); | 198 o.add(buildBillingInfo()); |
| 199 return o; | 199 return o; |
| 200 } | 200 } |
| 201 | 201 |
| 202 checkUnnamed1186(core.List<api.BillingInfo> o) { | 202 checkUnnamed1443(core.List<api.BillingInfo> o) { |
| 203 unittest.expect(o, unittest.hasLength(2)); | 203 unittest.expect(o, unittest.hasLength(2)); |
| 204 checkBillingInfo(o[0]); | 204 checkBillingInfo(o[0]); |
| 205 checkBillingInfo(o[1]); | 205 checkBillingInfo(o[1]); |
| 206 } | 206 } |
| 207 | 207 |
| 208 core.int buildCounterBillingInfoList = 0; | 208 core.int buildCounterBillingInfoList = 0; |
| 209 buildBillingInfoList() { | 209 buildBillingInfoList() { |
| 210 var o = new api.BillingInfoList(); | 210 var o = new api.BillingInfoList(); |
| 211 buildCounterBillingInfoList++; | 211 buildCounterBillingInfoList++; |
| 212 if (buildCounterBillingInfoList < 3) { | 212 if (buildCounterBillingInfoList < 3) { |
| 213 o.items = buildUnnamed1186(); | 213 o.items = buildUnnamed1443(); |
| 214 o.kind = "foo"; | 214 o.kind = "foo"; |
| 215 } | 215 } |
| 216 buildCounterBillingInfoList--; | 216 buildCounterBillingInfoList--; |
| 217 return o; | 217 return o; |
| 218 } | 218 } |
| 219 | 219 |
| 220 checkBillingInfoList(api.BillingInfoList o) { | 220 checkBillingInfoList(api.BillingInfoList o) { |
| 221 buildCounterBillingInfoList++; | 221 buildCounterBillingInfoList++; |
| 222 if (buildCounterBillingInfoList < 3) { | 222 if (buildCounterBillingInfoList < 3) { |
| 223 checkUnnamed1186(o.items); | 223 checkUnnamed1443(o.items); |
| 224 unittest.expect(o.kind, unittest.equals('foo')); | 224 unittest.expect(o.kind, unittest.equals('foo')); |
| 225 } | 225 } |
| 226 buildCounterBillingInfoList--; | 226 buildCounterBillingInfoList--; |
| 227 } | 227 } |
| 228 | 228 |
| 229 core.int buildCounterBudget = 0; | 229 core.int buildCounterBudget = 0; |
| 230 buildBudget() { | 230 buildBudget() { |
| 231 var o = new api.Budget(); | 231 var o = new api.Budget(); |
| 232 buildCounterBudget++; | 232 buildCounterBudget++; |
| 233 if (buildCounterBudget < 3) { | 233 if (buildCounterBudget < 3) { |
| (...skipping 14 matching lines...) Expand all Loading... |
| 248 unittest.expect(o.accountId, unittest.equals('foo')); | 248 unittest.expect(o.accountId, unittest.equals('foo')); |
| 249 unittest.expect(o.billingId, unittest.equals('foo')); | 249 unittest.expect(o.billingId, unittest.equals('foo')); |
| 250 unittest.expect(o.budgetAmount, unittest.equals('foo')); | 250 unittest.expect(o.budgetAmount, unittest.equals('foo')); |
| 251 unittest.expect(o.currencyCode, unittest.equals('foo')); | 251 unittest.expect(o.currencyCode, unittest.equals('foo')); |
| 252 unittest.expect(o.id, unittest.equals('foo')); | 252 unittest.expect(o.id, unittest.equals('foo')); |
| 253 unittest.expect(o.kind, unittest.equals('foo')); | 253 unittest.expect(o.kind, unittest.equals('foo')); |
| 254 } | 254 } |
| 255 buildCounterBudget--; | 255 buildCounterBudget--; |
| 256 } | 256 } |
| 257 | 257 |
| 258 buildUnnamed1187() { | 258 buildUnnamed1444() { |
| 259 var o = new core.List<core.String>(); | 259 var o = new core.List<core.String>(); |
| 260 o.add("foo"); | 260 o.add("foo"); |
| 261 o.add("foo"); | 261 o.add("foo"); |
| 262 return o; | 262 return o; |
| 263 } | 263 } |
| 264 | 264 |
| 265 checkUnnamed1187(core.List<core.String> o) { | 265 checkUnnamed1444(core.List<core.String> o) { |
| 266 unittest.expect(o, unittest.hasLength(2)); | 266 unittest.expect(o, unittest.hasLength(2)); |
| 267 unittest.expect(o[0], unittest.equals('foo')); | 267 unittest.expect(o[0], unittest.equals('foo')); |
| 268 unittest.expect(o[1], unittest.equals('foo')); | 268 unittest.expect(o[1], unittest.equals('foo')); |
| 269 } | 269 } |
| 270 | 270 |
| 271 buildUnnamed1188() { | 271 buildUnnamed1445() { |
| 272 var o = new core.List<core.int>(); | 272 var o = new core.List<core.int>(); |
| 273 o.add(42); | 273 o.add(42); |
| 274 o.add(42); | 274 o.add(42); |
| 275 return o; | 275 return o; |
| 276 } | 276 } |
| 277 | 277 |
| 278 checkUnnamed1188(core.List<core.int> o) { | 278 checkUnnamed1445(core.List<core.int> o) { |
| 279 unittest.expect(o, unittest.hasLength(2)); | 279 unittest.expect(o, unittest.hasLength(2)); |
| 280 unittest.expect(o[0], unittest.equals(42)); | 280 unittest.expect(o[0], unittest.equals(42)); |
| 281 unittest.expect(o[1], unittest.equals(42)); | 281 unittest.expect(o[1], unittest.equals(42)); |
| 282 } | 282 } |
| 283 | 283 |
| 284 buildUnnamed1189() { | 284 buildUnnamed1446() { |
| 285 var o = new core.List<core.String>(); | 285 var o = new core.List<core.String>(); |
| 286 o.add("foo"); | 286 o.add("foo"); |
| 287 o.add("foo"); | 287 o.add("foo"); |
| 288 return o; | 288 return o; |
| 289 } | 289 } |
| 290 | 290 |
| 291 checkUnnamed1189(core.List<core.String> o) { | 291 checkUnnamed1446(core.List<core.String> o) { |
| 292 unittest.expect(o, unittest.hasLength(2)); | 292 unittest.expect(o, unittest.hasLength(2)); |
| 293 unittest.expect(o[0], unittest.equals('foo')); | 293 unittest.expect(o[0], unittest.equals('foo')); |
| 294 unittest.expect(o[1], unittest.equals('foo')); | 294 unittest.expect(o[1], unittest.equals('foo')); |
| 295 } | 295 } |
| 296 | 296 |
| 297 buildUnnamed1190() { | 297 buildUnnamed1447() { |
| 298 var o = new core.List<core.String>(); | 298 var o = new core.List<core.String>(); |
| 299 o.add("foo"); | 299 o.add("foo"); |
| 300 o.add("foo"); | 300 o.add("foo"); |
| 301 return o; | 301 return o; |
| 302 } | 302 } |
| 303 | 303 |
| 304 checkUnnamed1190(core.List<core.String> o) { | 304 checkUnnamed1447(core.List<core.String> o) { |
| 305 unittest.expect(o, unittest.hasLength(2)); | 305 unittest.expect(o, unittest.hasLength(2)); |
| 306 unittest.expect(o[0], unittest.equals('foo')); | 306 unittest.expect(o[0], unittest.equals('foo')); |
| 307 unittest.expect(o[1], unittest.equals('foo')); | 307 unittest.expect(o[1], unittest.equals('foo')); |
| 308 } | 308 } |
| 309 | 309 |
| 310 core.int buildCounterCreativeCorrections = 0; | 310 core.int buildCounterCreativeCorrections = 0; |
| 311 buildCreativeCorrections() { | 311 buildCreativeCorrections() { |
| 312 var o = new api.CreativeCorrections(); | 312 var o = new api.CreativeCorrections(); |
| 313 buildCounterCreativeCorrections++; | 313 buildCounterCreativeCorrections++; |
| 314 if (buildCounterCreativeCorrections < 3) { | 314 if (buildCounterCreativeCorrections < 3) { |
| 315 o.details = buildUnnamed1190(); | 315 o.details = buildUnnamed1447(); |
| 316 o.reason = "foo"; | 316 o.reason = "foo"; |
| 317 } | 317 } |
| 318 buildCounterCreativeCorrections--; | 318 buildCounterCreativeCorrections--; |
| 319 return o; | 319 return o; |
| 320 } | 320 } |
| 321 | 321 |
| 322 checkCreativeCorrections(api.CreativeCorrections o) { | 322 checkCreativeCorrections(api.CreativeCorrections o) { |
| 323 buildCounterCreativeCorrections++; | 323 buildCounterCreativeCorrections++; |
| 324 if (buildCounterCreativeCorrections < 3) { | 324 if (buildCounterCreativeCorrections < 3) { |
| 325 checkUnnamed1190(o.details); | 325 checkUnnamed1447(o.details); |
| 326 unittest.expect(o.reason, unittest.equals('foo')); | 326 unittest.expect(o.reason, unittest.equals('foo')); |
| 327 } | 327 } |
| 328 buildCounterCreativeCorrections--; | 328 buildCounterCreativeCorrections--; |
| 329 } | 329 } |
| 330 | 330 |
| 331 buildUnnamed1191() { | 331 buildUnnamed1448() { |
| 332 var o = new core.List<api.CreativeCorrections>(); | 332 var o = new core.List<api.CreativeCorrections>(); |
| 333 o.add(buildCreativeCorrections()); | 333 o.add(buildCreativeCorrections()); |
| 334 o.add(buildCreativeCorrections()); | 334 o.add(buildCreativeCorrections()); |
| 335 return o; | 335 return o; |
| 336 } | 336 } |
| 337 | 337 |
| 338 checkUnnamed1191(core.List<api.CreativeCorrections> o) { | 338 checkUnnamed1448(core.List<api.CreativeCorrections> o) { |
| 339 unittest.expect(o, unittest.hasLength(2)); | 339 unittest.expect(o, unittest.hasLength(2)); |
| 340 checkCreativeCorrections(o[0]); | 340 checkCreativeCorrections(o[0]); |
| 341 checkCreativeCorrections(o[1]); | 341 checkCreativeCorrections(o[1]); |
| 342 } | 342 } |
| 343 | 343 |
| 344 buildUnnamed1192() { | 344 buildUnnamed1449() { |
| 345 var o = new core.List<core.String>(); | 345 var o = new core.List<core.String>(); |
| 346 o.add("foo"); | 346 o.add("foo"); |
| 347 o.add("foo"); | 347 o.add("foo"); |
| 348 return o; | 348 return o; |
| 349 } | 349 } |
| 350 | 350 |
| 351 checkUnnamed1192(core.List<core.String> o) { | 351 checkUnnamed1449(core.List<core.String> o) { |
| 352 unittest.expect(o, unittest.hasLength(2)); | 352 unittest.expect(o, unittest.hasLength(2)); |
| 353 unittest.expect(o[0], unittest.equals('foo')); | 353 unittest.expect(o[0], unittest.equals('foo')); |
| 354 unittest.expect(o[1], unittest.equals('foo')); | 354 unittest.expect(o[1], unittest.equals('foo')); |
| 355 } | 355 } |
| 356 | 356 |
| 357 core.int buildCounterCreativeDisapprovalReasons = 0; | 357 core.int buildCounterCreativeDisapprovalReasons = 0; |
| 358 buildCreativeDisapprovalReasons() { | 358 buildCreativeDisapprovalReasons() { |
| 359 var o = new api.CreativeDisapprovalReasons(); | 359 var o = new api.CreativeDisapprovalReasons(); |
| 360 buildCounterCreativeDisapprovalReasons++; | 360 buildCounterCreativeDisapprovalReasons++; |
| 361 if (buildCounterCreativeDisapprovalReasons < 3) { | 361 if (buildCounterCreativeDisapprovalReasons < 3) { |
| 362 o.details = buildUnnamed1192(); | 362 o.details = buildUnnamed1449(); |
| 363 o.reason = "foo"; | 363 o.reason = "foo"; |
| 364 } | 364 } |
| 365 buildCounterCreativeDisapprovalReasons--; | 365 buildCounterCreativeDisapprovalReasons--; |
| 366 return o; | 366 return o; |
| 367 } | 367 } |
| 368 | 368 |
| 369 checkCreativeDisapprovalReasons(api.CreativeDisapprovalReasons o) { | 369 checkCreativeDisapprovalReasons(api.CreativeDisapprovalReasons o) { |
| 370 buildCounterCreativeDisapprovalReasons++; | 370 buildCounterCreativeDisapprovalReasons++; |
| 371 if (buildCounterCreativeDisapprovalReasons < 3) { | 371 if (buildCounterCreativeDisapprovalReasons < 3) { |
| 372 checkUnnamed1192(o.details); | 372 checkUnnamed1449(o.details); |
| 373 unittest.expect(o.reason, unittest.equals('foo')); | 373 unittest.expect(o.reason, unittest.equals('foo')); |
| 374 } | 374 } |
| 375 buildCounterCreativeDisapprovalReasons--; | 375 buildCounterCreativeDisapprovalReasons--; |
| 376 } | 376 } |
| 377 | 377 |
| 378 buildUnnamed1193() { | 378 buildUnnamed1450() { |
| 379 var o = new core.List<api.CreativeDisapprovalReasons>(); | 379 var o = new core.List<api.CreativeDisapprovalReasons>(); |
| 380 o.add(buildCreativeDisapprovalReasons()); | 380 o.add(buildCreativeDisapprovalReasons()); |
| 381 o.add(buildCreativeDisapprovalReasons()); | 381 o.add(buildCreativeDisapprovalReasons()); |
| 382 return o; | 382 return o; |
| 383 } | 383 } |
| 384 | 384 |
| 385 checkUnnamed1193(core.List<api.CreativeDisapprovalReasons> o) { | 385 checkUnnamed1450(core.List<api.CreativeDisapprovalReasons> o) { |
| 386 unittest.expect(o, unittest.hasLength(2)); | 386 unittest.expect(o, unittest.hasLength(2)); |
| 387 checkCreativeDisapprovalReasons(o[0]); | 387 checkCreativeDisapprovalReasons(o[0]); |
| 388 checkCreativeDisapprovalReasons(o[1]); | 388 checkCreativeDisapprovalReasons(o[1]); |
| 389 } | 389 } |
| 390 | 390 |
| 391 core.int buildCounterCreativeFilteringReasonsReasons = 0; | 391 core.int buildCounterCreativeFilteringReasonsReasons = 0; |
| 392 buildCreativeFilteringReasonsReasons() { | 392 buildCreativeFilteringReasonsReasons() { |
| 393 var o = new api.CreativeFilteringReasonsReasons(); | 393 var o = new api.CreativeFilteringReasonsReasons(); |
| 394 buildCounterCreativeFilteringReasonsReasons++; | 394 buildCounterCreativeFilteringReasonsReasons++; |
| 395 if (buildCounterCreativeFilteringReasonsReasons < 3) { | 395 if (buildCounterCreativeFilteringReasonsReasons < 3) { |
| 396 o.filteringCount = "foo"; | 396 o.filteringCount = "foo"; |
| 397 o.filteringStatus = 42; | 397 o.filteringStatus = 42; |
| 398 } | 398 } |
| 399 buildCounterCreativeFilteringReasonsReasons--; | 399 buildCounterCreativeFilteringReasonsReasons--; |
| 400 return o; | 400 return o; |
| 401 } | 401 } |
| 402 | 402 |
| 403 checkCreativeFilteringReasonsReasons(api.CreativeFilteringReasonsReasons o) { | 403 checkCreativeFilteringReasonsReasons(api.CreativeFilteringReasonsReasons o) { |
| 404 buildCounterCreativeFilteringReasonsReasons++; | 404 buildCounterCreativeFilteringReasonsReasons++; |
| 405 if (buildCounterCreativeFilteringReasonsReasons < 3) { | 405 if (buildCounterCreativeFilteringReasonsReasons < 3) { |
| 406 unittest.expect(o.filteringCount, unittest.equals('foo')); | 406 unittest.expect(o.filteringCount, unittest.equals('foo')); |
| 407 unittest.expect(o.filteringStatus, unittest.equals(42)); | 407 unittest.expect(o.filteringStatus, unittest.equals(42)); |
| 408 } | 408 } |
| 409 buildCounterCreativeFilteringReasonsReasons--; | 409 buildCounterCreativeFilteringReasonsReasons--; |
| 410 } | 410 } |
| 411 | 411 |
| 412 buildUnnamed1194() { | 412 buildUnnamed1451() { |
| 413 var o = new core.List<api.CreativeFilteringReasonsReasons>(); | 413 var o = new core.List<api.CreativeFilteringReasonsReasons>(); |
| 414 o.add(buildCreativeFilteringReasonsReasons()); | 414 o.add(buildCreativeFilteringReasonsReasons()); |
| 415 o.add(buildCreativeFilteringReasonsReasons()); | 415 o.add(buildCreativeFilteringReasonsReasons()); |
| 416 return o; | 416 return o; |
| 417 } | 417 } |
| 418 | 418 |
| 419 checkUnnamed1194(core.List<api.CreativeFilteringReasonsReasons> o) { | 419 checkUnnamed1451(core.List<api.CreativeFilteringReasonsReasons> o) { |
| 420 unittest.expect(o, unittest.hasLength(2)); | 420 unittest.expect(o, unittest.hasLength(2)); |
| 421 checkCreativeFilteringReasonsReasons(o[0]); | 421 checkCreativeFilteringReasonsReasons(o[0]); |
| 422 checkCreativeFilteringReasonsReasons(o[1]); | 422 checkCreativeFilteringReasonsReasons(o[1]); |
| 423 } | 423 } |
| 424 | 424 |
| 425 core.int buildCounterCreativeFilteringReasons = 0; | 425 core.int buildCounterCreativeFilteringReasons = 0; |
| 426 buildCreativeFilteringReasons() { | 426 buildCreativeFilteringReasons() { |
| 427 var o = new api.CreativeFilteringReasons(); | 427 var o = new api.CreativeFilteringReasons(); |
| 428 buildCounterCreativeFilteringReasons++; | 428 buildCounterCreativeFilteringReasons++; |
| 429 if (buildCounterCreativeFilteringReasons < 3) { | 429 if (buildCounterCreativeFilteringReasons < 3) { |
| 430 o.date = "foo"; | 430 o.date = "foo"; |
| 431 o.reasons = buildUnnamed1194(); | 431 o.reasons = buildUnnamed1451(); |
| 432 } | 432 } |
| 433 buildCounterCreativeFilteringReasons--; | 433 buildCounterCreativeFilteringReasons--; |
| 434 return o; | 434 return o; |
| 435 } | 435 } |
| 436 | 436 |
| 437 checkCreativeFilteringReasons(api.CreativeFilteringReasons o) { | 437 checkCreativeFilteringReasons(api.CreativeFilteringReasons o) { |
| 438 buildCounterCreativeFilteringReasons++; | 438 buildCounterCreativeFilteringReasons++; |
| 439 if (buildCounterCreativeFilteringReasons < 3) { | 439 if (buildCounterCreativeFilteringReasons < 3) { |
| 440 unittest.expect(o.date, unittest.equals('foo')); | 440 unittest.expect(o.date, unittest.equals('foo')); |
| 441 checkUnnamed1194(o.reasons); | 441 checkUnnamed1451(o.reasons); |
| 442 } | 442 } |
| 443 buildCounterCreativeFilteringReasons--; | 443 buildCounterCreativeFilteringReasons--; |
| 444 } | 444 } |
| 445 | 445 |
| 446 buildUnnamed1195() { | 446 buildUnnamed1452() { |
| 447 var o = new core.List<core.String>(); | 447 var o = new core.List<core.String>(); |
| 448 o.add("foo"); | 448 o.add("foo"); |
| 449 o.add("foo"); | 449 o.add("foo"); |
| 450 return o; | 450 return o; |
| 451 } | 451 } |
| 452 | 452 |
| 453 checkUnnamed1195(core.List<core.String> o) { | 453 checkUnnamed1452(core.List<core.String> o) { |
| 454 unittest.expect(o, unittest.hasLength(2)); | 454 unittest.expect(o, unittest.hasLength(2)); |
| 455 unittest.expect(o[0], unittest.equals('foo')); | 455 unittest.expect(o[0], unittest.equals('foo')); |
| 456 unittest.expect(o[1], unittest.equals('foo')); | 456 unittest.expect(o[1], unittest.equals('foo')); |
| 457 } | 457 } |
| 458 | 458 |
| 459 core.int buildCounterCreativeNativeAdAppIcon = 0; | 459 core.int buildCounterCreativeNativeAdAppIcon = 0; |
| 460 buildCreativeNativeAdAppIcon() { | 460 buildCreativeNativeAdAppIcon() { |
| 461 var o = new api.CreativeNativeAdAppIcon(); | 461 var o = new api.CreativeNativeAdAppIcon(); |
| 462 buildCounterCreativeNativeAdAppIcon++; | 462 buildCounterCreativeNativeAdAppIcon++; |
| 463 if (buildCounterCreativeNativeAdAppIcon < 3) { | 463 if (buildCounterCreativeNativeAdAppIcon < 3) { |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 495 checkCreativeNativeAdImage(api.CreativeNativeAdImage o) { | 495 checkCreativeNativeAdImage(api.CreativeNativeAdImage o) { |
| 496 buildCounterCreativeNativeAdImage++; | 496 buildCounterCreativeNativeAdImage++; |
| 497 if (buildCounterCreativeNativeAdImage < 3) { | 497 if (buildCounterCreativeNativeAdImage < 3) { |
| 498 unittest.expect(o.height, unittest.equals(42)); | 498 unittest.expect(o.height, unittest.equals(42)); |
| 499 unittest.expect(o.url, unittest.equals('foo')); | 499 unittest.expect(o.url, unittest.equals('foo')); |
| 500 unittest.expect(o.width, unittest.equals(42)); | 500 unittest.expect(o.width, unittest.equals(42)); |
| 501 } | 501 } |
| 502 buildCounterCreativeNativeAdImage--; | 502 buildCounterCreativeNativeAdImage--; |
| 503 } | 503 } |
| 504 | 504 |
| 505 buildUnnamed1196() { | 505 buildUnnamed1453() { |
| 506 var o = new core.List<core.String>(); | 506 var o = new core.List<core.String>(); |
| 507 o.add("foo"); | 507 o.add("foo"); |
| 508 o.add("foo"); | 508 o.add("foo"); |
| 509 return o; | 509 return o; |
| 510 } | 510 } |
| 511 | 511 |
| 512 checkUnnamed1196(core.List<core.String> o) { | 512 checkUnnamed1453(core.List<core.String> o) { |
| 513 unittest.expect(o, unittest.hasLength(2)); | 513 unittest.expect(o, unittest.hasLength(2)); |
| 514 unittest.expect(o[0], unittest.equals('foo')); | 514 unittest.expect(o[0], unittest.equals('foo')); |
| 515 unittest.expect(o[1], unittest.equals('foo')); | 515 unittest.expect(o[1], unittest.equals('foo')); |
| 516 } | 516 } |
| 517 | 517 |
| 518 core.int buildCounterCreativeNativeAdLogo = 0; | 518 core.int buildCounterCreativeNativeAdLogo = 0; |
| 519 buildCreativeNativeAdLogo() { | 519 buildCreativeNativeAdLogo() { |
| 520 var o = new api.CreativeNativeAdLogo(); | 520 var o = new api.CreativeNativeAdLogo(); |
| 521 buildCounterCreativeNativeAdLogo++; | 521 buildCounterCreativeNativeAdLogo++; |
| 522 if (buildCounterCreativeNativeAdLogo < 3) { | 522 if (buildCounterCreativeNativeAdLogo < 3) { |
| (...skipping 20 matching lines...) Expand all Loading... |
| 543 var o = new api.CreativeNativeAd(); | 543 var o = new api.CreativeNativeAd(); |
| 544 buildCounterCreativeNativeAd++; | 544 buildCounterCreativeNativeAd++; |
| 545 if (buildCounterCreativeNativeAd < 3) { | 545 if (buildCounterCreativeNativeAd < 3) { |
| 546 o.advertiser = "foo"; | 546 o.advertiser = "foo"; |
| 547 o.appIcon = buildCreativeNativeAdAppIcon(); | 547 o.appIcon = buildCreativeNativeAdAppIcon(); |
| 548 o.body = "foo"; | 548 o.body = "foo"; |
| 549 o.callToAction = "foo"; | 549 o.callToAction = "foo"; |
| 550 o.clickTrackingUrl = "foo"; | 550 o.clickTrackingUrl = "foo"; |
| 551 o.headline = "foo"; | 551 o.headline = "foo"; |
| 552 o.image = buildCreativeNativeAdImage(); | 552 o.image = buildCreativeNativeAdImage(); |
| 553 o.impressionTrackingUrl = buildUnnamed1196(); | 553 o.impressionTrackingUrl = buildUnnamed1453(); |
| 554 o.logo = buildCreativeNativeAdLogo(); | 554 o.logo = buildCreativeNativeAdLogo(); |
| 555 o.price = "foo"; | 555 o.price = "foo"; |
| 556 o.starRating = 42.0; | 556 o.starRating = 42.0; |
| 557 o.store = "foo"; | 557 o.store = "foo"; |
| 558 } | 558 } |
| 559 buildCounterCreativeNativeAd--; | 559 buildCounterCreativeNativeAd--; |
| 560 return o; | 560 return o; |
| 561 } | 561 } |
| 562 | 562 |
| 563 checkCreativeNativeAd(api.CreativeNativeAd o) { | 563 checkCreativeNativeAd(api.CreativeNativeAd o) { |
| 564 buildCounterCreativeNativeAd++; | 564 buildCounterCreativeNativeAd++; |
| 565 if (buildCounterCreativeNativeAd < 3) { | 565 if (buildCounterCreativeNativeAd < 3) { |
| 566 unittest.expect(o.advertiser, unittest.equals('foo')); | 566 unittest.expect(o.advertiser, unittest.equals('foo')); |
| 567 checkCreativeNativeAdAppIcon(o.appIcon); | 567 checkCreativeNativeAdAppIcon(o.appIcon); |
| 568 unittest.expect(o.body, unittest.equals('foo')); | 568 unittest.expect(o.body, unittest.equals('foo')); |
| 569 unittest.expect(o.callToAction, unittest.equals('foo')); | 569 unittest.expect(o.callToAction, unittest.equals('foo')); |
| 570 unittest.expect(o.clickTrackingUrl, unittest.equals('foo')); | 570 unittest.expect(o.clickTrackingUrl, unittest.equals('foo')); |
| 571 unittest.expect(o.headline, unittest.equals('foo')); | 571 unittest.expect(o.headline, unittest.equals('foo')); |
| 572 checkCreativeNativeAdImage(o.image); | 572 checkCreativeNativeAdImage(o.image); |
| 573 checkUnnamed1196(o.impressionTrackingUrl); | 573 checkUnnamed1453(o.impressionTrackingUrl); |
| 574 checkCreativeNativeAdLogo(o.logo); | 574 checkCreativeNativeAdLogo(o.logo); |
| 575 unittest.expect(o.price, unittest.equals('foo')); | 575 unittest.expect(o.price, unittest.equals('foo')); |
| 576 unittest.expect(o.starRating, unittest.equals(42.0)); | 576 unittest.expect(o.starRating, unittest.equals(42.0)); |
| 577 unittest.expect(o.store, unittest.equals('foo')); | 577 unittest.expect(o.store, unittest.equals('foo')); |
| 578 } | 578 } |
| 579 buildCounterCreativeNativeAd--; | 579 buildCounterCreativeNativeAd--; |
| 580 } | 580 } |
| 581 | 581 |
| 582 buildUnnamed1197() { | 582 buildUnnamed1454() { |
| 583 var o = new core.List<core.int>(); | 583 var o = new core.List<core.int>(); |
| 584 o.add(42); | 584 o.add(42); |
| 585 o.add(42); | 585 o.add(42); |
| 586 return o; | 586 return o; |
| 587 } | 587 } |
| 588 | 588 |
| 589 checkUnnamed1197(core.List<core.int> o) { | 589 checkUnnamed1454(core.List<core.int> o) { |
| 590 unittest.expect(o, unittest.hasLength(2)); | 590 unittest.expect(o, unittest.hasLength(2)); |
| 591 unittest.expect(o[0], unittest.equals(42)); | 591 unittest.expect(o[0], unittest.equals(42)); |
| 592 unittest.expect(o[1], unittest.equals(42)); | 592 unittest.expect(o[1], unittest.equals(42)); |
| 593 } | 593 } |
| 594 | 594 |
| 595 buildUnnamed1198() { | 595 buildUnnamed1455() { |
| 596 var o = new core.List<core.int>(); | 596 var o = new core.List<core.int>(); |
| 597 o.add(42); | 597 o.add(42); |
| 598 o.add(42); | 598 o.add(42); |
| 599 return o; | 599 return o; |
| 600 } | 600 } |
| 601 | 601 |
| 602 checkUnnamed1198(core.List<core.int> o) { | 602 checkUnnamed1455(core.List<core.int> o) { |
| 603 unittest.expect(o, unittest.hasLength(2)); | 603 unittest.expect(o, unittest.hasLength(2)); |
| 604 unittest.expect(o[0], unittest.equals(42)); | 604 unittest.expect(o[0], unittest.equals(42)); |
| 605 unittest.expect(o[1], unittest.equals(42)); | 605 unittest.expect(o[1], unittest.equals(42)); |
| 606 } | 606 } |
| 607 | 607 |
| 608 buildUnnamed1199() { | 608 buildUnnamed1456() { |
| 609 var o = new core.List<core.int>(); | 609 var o = new core.List<core.int>(); |
| 610 o.add(42); | 610 o.add(42); |
| 611 o.add(42); | 611 o.add(42); |
| 612 return o; | 612 return o; |
| 613 } | 613 } |
| 614 | 614 |
| 615 checkUnnamed1199(core.List<core.int> o) { | 615 checkUnnamed1456(core.List<core.int> o) { |
| 616 unittest.expect(o, unittest.hasLength(2)); | 616 unittest.expect(o, unittest.hasLength(2)); |
| 617 unittest.expect(o[0], unittest.equals(42)); | 617 unittest.expect(o[0], unittest.equals(42)); |
| 618 unittest.expect(o[1], unittest.equals(42)); | 618 unittest.expect(o[1], unittest.equals(42)); |
| 619 } | 619 } |
| 620 | 620 |
| 621 buildUnnamed1200() { | 621 buildUnnamed1457() { |
| 622 var o = new core.List<core.int>(); | 622 var o = new core.List<core.int>(); |
| 623 o.add(42); | 623 o.add(42); |
| 624 o.add(42); | 624 o.add(42); |
| 625 return o; | 625 return o; |
| 626 } | 626 } |
| 627 | 627 |
| 628 checkUnnamed1200(core.List<core.int> o) { | 628 checkUnnamed1457(core.List<core.int> o) { |
| 629 unittest.expect(o, unittest.hasLength(2)); | 629 unittest.expect(o, unittest.hasLength(2)); |
| 630 unittest.expect(o[0], unittest.equals(42)); | 630 unittest.expect(o[0], unittest.equals(42)); |
| 631 unittest.expect(o[1], unittest.equals(42)); | 631 unittest.expect(o[1], unittest.equals(42)); |
| 632 } | 632 } |
| 633 | 633 |
| 634 core.int buildCounterCreative = 0; | 634 core.int buildCounterCreative = 0; |
| 635 buildCreative() { | 635 buildCreative() { |
| 636 var o = new api.Creative(); | 636 var o = new api.Creative(); |
| 637 buildCounterCreative++; | 637 buildCounterCreative++; |
| 638 if (buildCounterCreative < 3) { | 638 if (buildCounterCreative < 3) { |
| 639 o.HTMLSnippet = "foo"; | 639 o.HTMLSnippet = "foo"; |
| 640 o.accountId = 42; | 640 o.accountId = 42; |
| 641 o.advertiserId = buildUnnamed1187(); | 641 o.advertiserId = buildUnnamed1444(); |
| 642 o.advertiserName = "foo"; | 642 o.advertiserName = "foo"; |
| 643 o.agencyId = "foo"; | 643 o.agencyId = "foo"; |
| 644 o.apiUploadTimestamp = core.DateTime.parse("2002-02-27T14:01:02"); | 644 o.apiUploadTimestamp = core.DateTime.parse("2002-02-27T14:01:02"); |
| 645 o.attribute = buildUnnamed1188(); | 645 o.attribute = buildUnnamed1445(); |
| 646 o.buyerCreativeId = "foo"; | 646 o.buyerCreativeId = "foo"; |
| 647 o.clickThroughUrl = buildUnnamed1189(); | 647 o.clickThroughUrl = buildUnnamed1446(); |
| 648 o.corrections = buildUnnamed1191(); | 648 o.corrections = buildUnnamed1448(); |
| 649 o.disapprovalReasons = buildUnnamed1193(); | 649 o.disapprovalReasons = buildUnnamed1450(); |
| 650 o.filteringReasons = buildCreativeFilteringReasons(); | 650 o.filteringReasons = buildCreativeFilteringReasons(); |
| 651 o.height = 42; | 651 o.height = 42; |
| 652 o.impressionTrackingUrl = buildUnnamed1195(); | 652 o.impressionTrackingUrl = buildUnnamed1452(); |
| 653 o.kind = "foo"; | 653 o.kind = "foo"; |
| 654 o.nativeAd = buildCreativeNativeAd(); | 654 o.nativeAd = buildCreativeNativeAd(); |
| 655 o.productCategories = buildUnnamed1197(); | 655 o.productCategories = buildUnnamed1454(); |
| 656 o.restrictedCategories = buildUnnamed1198(); | 656 o.restrictedCategories = buildUnnamed1455(); |
| 657 o.sensitiveCategories = buildUnnamed1199(); | 657 o.sensitiveCategories = buildUnnamed1456(); |
| 658 o.status = "foo"; | 658 o.status = "foo"; |
| 659 o.vendorType = buildUnnamed1200(); | 659 o.vendorType = buildUnnamed1457(); |
| 660 o.version = 42; | 660 o.version = 42; |
| 661 o.videoURL = "foo"; | 661 o.videoURL = "foo"; |
| 662 o.width = 42; | 662 o.width = 42; |
| 663 } | 663 } |
| 664 buildCounterCreative--; | 664 buildCounterCreative--; |
| 665 return o; | 665 return o; |
| 666 } | 666 } |
| 667 | 667 |
| 668 checkCreative(api.Creative o) { | 668 checkCreative(api.Creative o) { |
| 669 buildCounterCreative++; | 669 buildCounterCreative++; |
| 670 if (buildCounterCreative < 3) { | 670 if (buildCounterCreative < 3) { |
| 671 unittest.expect(o.HTMLSnippet, unittest.equals('foo')); | 671 unittest.expect(o.HTMLSnippet, unittest.equals('foo')); |
| 672 unittest.expect(o.accountId, unittest.equals(42)); | 672 unittest.expect(o.accountId, unittest.equals(42)); |
| 673 checkUnnamed1187(o.advertiserId); | 673 checkUnnamed1444(o.advertiserId); |
| 674 unittest.expect(o.advertiserName, unittest.equals('foo')); | 674 unittest.expect(o.advertiserName, unittest.equals('foo')); |
| 675 unittest.expect(o.agencyId, unittest.equals('foo')); | 675 unittest.expect(o.agencyId, unittest.equals('foo')); |
| 676 unittest.expect(o.apiUploadTimestamp, unittest.equals(core.DateTime.parse("2
002-02-27T14:01:02"))); | 676 unittest.expect(o.apiUploadTimestamp, unittest.equals(core.DateTime.parse("2
002-02-27T14:01:02"))); |
| 677 checkUnnamed1188(o.attribute); | 677 checkUnnamed1445(o.attribute); |
| 678 unittest.expect(o.buyerCreativeId, unittest.equals('foo')); | 678 unittest.expect(o.buyerCreativeId, unittest.equals('foo')); |
| 679 checkUnnamed1189(o.clickThroughUrl); | 679 checkUnnamed1446(o.clickThroughUrl); |
| 680 checkUnnamed1191(o.corrections); | 680 checkUnnamed1448(o.corrections); |
| 681 checkUnnamed1193(o.disapprovalReasons); | 681 checkUnnamed1450(o.disapprovalReasons); |
| 682 checkCreativeFilteringReasons(o.filteringReasons); | 682 checkCreativeFilteringReasons(o.filteringReasons); |
| 683 unittest.expect(o.height, unittest.equals(42)); | 683 unittest.expect(o.height, unittest.equals(42)); |
| 684 checkUnnamed1195(o.impressionTrackingUrl); | 684 checkUnnamed1452(o.impressionTrackingUrl); |
| 685 unittest.expect(o.kind, unittest.equals('foo')); | 685 unittest.expect(o.kind, unittest.equals('foo')); |
| 686 checkCreativeNativeAd(o.nativeAd); | 686 checkCreativeNativeAd(o.nativeAd); |
| 687 checkUnnamed1197(o.productCategories); | 687 checkUnnamed1454(o.productCategories); |
| 688 checkUnnamed1198(o.restrictedCategories); | 688 checkUnnamed1455(o.restrictedCategories); |
| 689 checkUnnamed1199(o.sensitiveCategories); | 689 checkUnnamed1456(o.sensitiveCategories); |
| 690 unittest.expect(o.status, unittest.equals('foo')); | 690 unittest.expect(o.status, unittest.equals('foo')); |
| 691 checkUnnamed1200(o.vendorType); | 691 checkUnnamed1457(o.vendorType); |
| 692 unittest.expect(o.version, unittest.equals(42)); | 692 unittest.expect(o.version, unittest.equals(42)); |
| 693 unittest.expect(o.videoURL, unittest.equals('foo')); | 693 unittest.expect(o.videoURL, unittest.equals('foo')); |
| 694 unittest.expect(o.width, unittest.equals(42)); | 694 unittest.expect(o.width, unittest.equals(42)); |
| 695 } | 695 } |
| 696 buildCounterCreative--; | 696 buildCounterCreative--; |
| 697 } | 697 } |
| 698 | 698 |
| 699 buildUnnamed1201() { | 699 buildUnnamed1458() { |
| 700 var o = new core.List<api.Creative>(); | 700 var o = new core.List<api.Creative>(); |
| 701 o.add(buildCreative()); | 701 o.add(buildCreative()); |
| 702 o.add(buildCreative()); | 702 o.add(buildCreative()); |
| 703 return o; | 703 return o; |
| 704 } | 704 } |
| 705 | 705 |
| 706 checkUnnamed1201(core.List<api.Creative> o) { | 706 checkUnnamed1458(core.List<api.Creative> o) { |
| 707 unittest.expect(o, unittest.hasLength(2)); | 707 unittest.expect(o, unittest.hasLength(2)); |
| 708 checkCreative(o[0]); | 708 checkCreative(o[0]); |
| 709 checkCreative(o[1]); | 709 checkCreative(o[1]); |
| 710 } | 710 } |
| 711 | 711 |
| 712 core.int buildCounterCreativesList = 0; | 712 core.int buildCounterCreativesList = 0; |
| 713 buildCreativesList() { | 713 buildCreativesList() { |
| 714 var o = new api.CreativesList(); | 714 var o = new api.CreativesList(); |
| 715 buildCounterCreativesList++; | 715 buildCounterCreativesList++; |
| 716 if (buildCounterCreativesList < 3) { | 716 if (buildCounterCreativesList < 3) { |
| 717 o.items = buildUnnamed1201(); | 717 o.items = buildUnnamed1458(); |
| 718 o.kind = "foo"; | 718 o.kind = "foo"; |
| 719 o.nextPageToken = "foo"; | 719 o.nextPageToken = "foo"; |
| 720 } | 720 } |
| 721 buildCounterCreativesList--; | 721 buildCounterCreativesList--; |
| 722 return o; | 722 return o; |
| 723 } | 723 } |
| 724 | 724 |
| 725 checkCreativesList(api.CreativesList o) { | 725 checkCreativesList(api.CreativesList o) { |
| 726 buildCounterCreativesList++; | 726 buildCounterCreativesList++; |
| 727 if (buildCounterCreativesList < 3) { | 727 if (buildCounterCreativesList < 3) { |
| 728 checkUnnamed1201(o.items); | 728 checkUnnamed1458(o.items); |
| 729 unittest.expect(o.kind, unittest.equals('foo')); | 729 unittest.expect(o.kind, unittest.equals('foo')); |
| 730 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 730 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 731 } | 731 } |
| 732 buildCounterCreativesList--; | 732 buildCounterCreativesList--; |
| 733 } | 733 } |
| 734 | 734 |
| 735 core.int buildCounterDirectDeal = 0; | 735 core.int buildCounterDirectDeal = 0; |
| 736 buildDirectDeal() { | 736 buildDirectDeal() { |
| 737 var o = new api.DirectDeal(); | 737 var o = new api.DirectDeal(); |
| 738 buildCounterDirectDeal++; | 738 buildCounterDirectDeal++; |
| 739 if (buildCounterDirectDeal < 3) { | 739 if (buildCounterDirectDeal < 3) { |
| 740 o.accountId = 42; | 740 o.accountId = 42; |
| 741 o.advertiser = "foo"; | 741 o.advertiser = "foo"; |
| 742 o.allowsAlcohol = true; |
| 742 o.currencyCode = "foo"; | 743 o.currencyCode = "foo"; |
| 743 o.dealTier = "foo"; | 744 o.dealTier = "foo"; |
| 744 o.endTime = "foo"; | 745 o.endTime = "foo"; |
| 745 o.fixedCpm = "foo"; | 746 o.fixedCpm = "foo"; |
| 746 o.id = "foo"; | 747 o.id = "foo"; |
| 747 o.kind = "foo"; | 748 o.kind = "foo"; |
| 748 o.name = "foo"; | 749 o.name = "foo"; |
| 749 o.privateExchangeMinCpm = "foo"; | 750 o.privateExchangeMinCpm = "foo"; |
| 750 o.publisherBlocksOverriden = true; | 751 o.publisherBlocksOverriden = true; |
| 751 o.sellerNetwork = "foo"; | 752 o.sellerNetwork = "foo"; |
| 752 o.startTime = "foo"; | 753 o.startTime = "foo"; |
| 753 } | 754 } |
| 754 buildCounterDirectDeal--; | 755 buildCounterDirectDeal--; |
| 755 return o; | 756 return o; |
| 756 } | 757 } |
| 757 | 758 |
| 758 checkDirectDeal(api.DirectDeal o) { | 759 checkDirectDeal(api.DirectDeal o) { |
| 759 buildCounterDirectDeal++; | 760 buildCounterDirectDeal++; |
| 760 if (buildCounterDirectDeal < 3) { | 761 if (buildCounterDirectDeal < 3) { |
| 761 unittest.expect(o.accountId, unittest.equals(42)); | 762 unittest.expect(o.accountId, unittest.equals(42)); |
| 762 unittest.expect(o.advertiser, unittest.equals('foo')); | 763 unittest.expect(o.advertiser, unittest.equals('foo')); |
| 764 unittest.expect(o.allowsAlcohol, unittest.isTrue); |
| 763 unittest.expect(o.currencyCode, unittest.equals('foo')); | 765 unittest.expect(o.currencyCode, unittest.equals('foo')); |
| 764 unittest.expect(o.dealTier, unittest.equals('foo')); | 766 unittest.expect(o.dealTier, unittest.equals('foo')); |
| 765 unittest.expect(o.endTime, unittest.equals('foo')); | 767 unittest.expect(o.endTime, unittest.equals('foo')); |
| 766 unittest.expect(o.fixedCpm, unittest.equals('foo')); | 768 unittest.expect(o.fixedCpm, unittest.equals('foo')); |
| 767 unittest.expect(o.id, unittest.equals('foo')); | 769 unittest.expect(o.id, unittest.equals('foo')); |
| 768 unittest.expect(o.kind, unittest.equals('foo')); | 770 unittest.expect(o.kind, unittest.equals('foo')); |
| 769 unittest.expect(o.name, unittest.equals('foo')); | 771 unittest.expect(o.name, unittest.equals('foo')); |
| 770 unittest.expect(o.privateExchangeMinCpm, unittest.equals('foo')); | 772 unittest.expect(o.privateExchangeMinCpm, unittest.equals('foo')); |
| 771 unittest.expect(o.publisherBlocksOverriden, unittest.isTrue); | 773 unittest.expect(o.publisherBlocksOverriden, unittest.isTrue); |
| 772 unittest.expect(o.sellerNetwork, unittest.equals('foo')); | 774 unittest.expect(o.sellerNetwork, unittest.equals('foo')); |
| 773 unittest.expect(o.startTime, unittest.equals('foo')); | 775 unittest.expect(o.startTime, unittest.equals('foo')); |
| 774 } | 776 } |
| 775 buildCounterDirectDeal--; | 777 buildCounterDirectDeal--; |
| 776 } | 778 } |
| 777 | 779 |
| 778 buildUnnamed1202() { | 780 buildUnnamed1459() { |
| 779 var o = new core.List<api.DirectDeal>(); | 781 var o = new core.List<api.DirectDeal>(); |
| 780 o.add(buildDirectDeal()); | 782 o.add(buildDirectDeal()); |
| 781 o.add(buildDirectDeal()); | 783 o.add(buildDirectDeal()); |
| 782 return o; | 784 return o; |
| 783 } | 785 } |
| 784 | 786 |
| 785 checkUnnamed1202(core.List<api.DirectDeal> o) { | 787 checkUnnamed1459(core.List<api.DirectDeal> o) { |
| 786 unittest.expect(o, unittest.hasLength(2)); | 788 unittest.expect(o, unittest.hasLength(2)); |
| 787 checkDirectDeal(o[0]); | 789 checkDirectDeal(o[0]); |
| 788 checkDirectDeal(o[1]); | 790 checkDirectDeal(o[1]); |
| 789 } | 791 } |
| 790 | 792 |
| 791 core.int buildCounterDirectDealsList = 0; | 793 core.int buildCounterDirectDealsList = 0; |
| 792 buildDirectDealsList() { | 794 buildDirectDealsList() { |
| 793 var o = new api.DirectDealsList(); | 795 var o = new api.DirectDealsList(); |
| 794 buildCounterDirectDealsList++; | 796 buildCounterDirectDealsList++; |
| 795 if (buildCounterDirectDealsList < 3) { | 797 if (buildCounterDirectDealsList < 3) { |
| 796 o.directDeals = buildUnnamed1202(); | 798 o.directDeals = buildUnnamed1459(); |
| 797 o.kind = "foo"; | 799 o.kind = "foo"; |
| 798 } | 800 } |
| 799 buildCounterDirectDealsList--; | 801 buildCounterDirectDealsList--; |
| 800 return o; | 802 return o; |
| 801 } | 803 } |
| 802 | 804 |
| 803 checkDirectDealsList(api.DirectDealsList o) { | 805 checkDirectDealsList(api.DirectDealsList o) { |
| 804 buildCounterDirectDealsList++; | 806 buildCounterDirectDealsList++; |
| 805 if (buildCounterDirectDealsList < 3) { | 807 if (buildCounterDirectDealsList < 3) { |
| 806 checkUnnamed1202(o.directDeals); | 808 checkUnnamed1459(o.directDeals); |
| 807 unittest.expect(o.kind, unittest.equals('foo')); | 809 unittest.expect(o.kind, unittest.equals('foo')); |
| 808 } | 810 } |
| 809 buildCounterDirectDealsList--; | 811 buildCounterDirectDealsList--; |
| 810 } | 812 } |
| 811 | 813 |
| 812 buildUnnamed1203() { | 814 buildUnnamed1460() { |
| 813 var o = new core.List<core.Object>(); | 815 var o = new core.List<core.Object>(); |
| 814 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); | 816 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); |
| 815 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); | 817 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); |
| 816 return o; | 818 return o; |
| 817 } | 819 } |
| 818 | 820 |
| 819 checkUnnamed1203(core.List<core.Object> o) { | 821 checkUnnamed1460(core.List<core.Object> o) { |
| 820 unittest.expect(o, unittest.hasLength(2)); | 822 unittest.expect(o, unittest.hasLength(2)); |
| 821 var casted1 = (o[0]) as core.Map; unittest.expect(casted1, unittest.hasLength(
3)); unittest.expect(casted1["list"], unittest.equals([1, 2, 3])); unittest.expe
ct(casted1["bool"], unittest.equals(true)); unittest.expect(casted1["string"], u
nittest.equals('foo')); | 823 var casted1 = (o[0]) as core.Map; unittest.expect(casted1, unittest.hasLength(
3)); unittest.expect(casted1["list"], unittest.equals([1, 2, 3])); unittest.expe
ct(casted1["bool"], unittest.equals(true)); unittest.expect(casted1["string"], u
nittest.equals('foo')); |
| 822 var casted2 = (o[1]) as core.Map; unittest.expect(casted2, unittest.hasLength(
3)); unittest.expect(casted2["list"], unittest.equals([1, 2, 3])); unittest.expe
ct(casted2["bool"], unittest.equals(true)); unittest.expect(casted2["string"], u
nittest.equals('foo')); | 824 var casted2 = (o[1]) as core.Map; unittest.expect(casted2, unittest.hasLength(
3)); unittest.expect(casted2["list"], unittest.equals([1, 2, 3])); unittest.expe
ct(casted2["bool"], unittest.equals(true)); unittest.expect(casted2["string"], u
nittest.equals('foo')); |
| 823 } | 825 } |
| 824 | 826 |
| 825 buildUnnamed1204() { | 827 buildUnnamed1461() { |
| 826 var o = new core.List<core.Object>(); | 828 var o = new core.List<core.Object>(); |
| 827 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); | 829 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); |
| 828 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); | 830 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); |
| 829 return o; | 831 return o; |
| 830 } | 832 } |
| 831 | 833 |
| 832 checkUnnamed1204(core.List<core.Object> o) { | 834 checkUnnamed1461(core.List<core.Object> o) { |
| 833 unittest.expect(o, unittest.hasLength(2)); | 835 unittest.expect(o, unittest.hasLength(2)); |
| 834 var casted3 = (o[0]) as core.Map; unittest.expect(casted3, unittest.hasLength(
3)); unittest.expect(casted3["list"], unittest.equals([1, 2, 3])); unittest.expe
ct(casted3["bool"], unittest.equals(true)); unittest.expect(casted3["string"], u
nittest.equals('foo')); | 836 var casted3 = (o[0]) as core.Map; unittest.expect(casted3, unittest.hasLength(
3)); unittest.expect(casted3["list"], unittest.equals([1, 2, 3])); unittest.expe
ct(casted3["bool"], unittest.equals(true)); unittest.expect(casted3["string"], u
nittest.equals('foo')); |
| 835 var casted4 = (o[1]) as core.Map; unittest.expect(casted4, unittest.hasLength(
3)); unittest.expect(casted4["list"], unittest.equals([1, 2, 3])); unittest.expe
ct(casted4["bool"], unittest.equals(true)); unittest.expect(casted4["string"], u
nittest.equals('foo')); | 837 var casted4 = (o[1]) as core.Map; unittest.expect(casted4, unittest.hasLength(
3)); unittest.expect(casted4["list"], unittest.equals([1, 2, 3])); unittest.expe
ct(casted4["bool"], unittest.equals(true)); unittest.expect(casted4["string"], u
nittest.equals('foo')); |
| 836 } | 838 } |
| 837 | 839 |
| 838 buildUnnamed1205() { | 840 buildUnnamed1462() { |
| 839 var o = new core.List<core.Object>(); | 841 var o = new core.List<core.Object>(); |
| 840 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); | 842 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); |
| 841 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); | 843 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); |
| 842 return o; | 844 return o; |
| 843 } | 845 } |
| 844 | 846 |
| 845 checkUnnamed1205(core.List<core.Object> o) { | 847 checkUnnamed1462(core.List<core.Object> o) { |
| 846 unittest.expect(o, unittest.hasLength(2)); | 848 unittest.expect(o, unittest.hasLength(2)); |
| 847 var casted5 = (o[0]) as core.Map; unittest.expect(casted5, unittest.hasLength(
3)); unittest.expect(casted5["list"], unittest.equals([1, 2, 3])); unittest.expe
ct(casted5["bool"], unittest.equals(true)); unittest.expect(casted5["string"], u
nittest.equals('foo')); | 849 var casted5 = (o[0]) as core.Map; unittest.expect(casted5, unittest.hasLength(
3)); unittest.expect(casted5["list"], unittest.equals([1, 2, 3])); unittest.expe
ct(casted5["bool"], unittest.equals(true)); unittest.expect(casted5["string"], u
nittest.equals('foo')); |
| 848 var casted6 = (o[1]) as core.Map; unittest.expect(casted6, unittest.hasLength(
3)); unittest.expect(casted6["list"], unittest.equals([1, 2, 3])); unittest.expe
ct(casted6["bool"], unittest.equals(true)); unittest.expect(casted6["string"], u
nittest.equals('foo')); | 850 var casted6 = (o[1]) as core.Map; unittest.expect(casted6, unittest.hasLength(
3)); unittest.expect(casted6["list"], unittest.equals([1, 2, 3])); unittest.expe
ct(casted6["bool"], unittest.equals(true)); unittest.expect(casted6["string"], u
nittest.equals('foo')); |
| 849 } | 851 } |
| 850 | 852 |
| 851 buildUnnamed1206() { | 853 buildUnnamed1463() { |
| 852 var o = new core.List<core.Object>(); | 854 var o = new core.List<core.Object>(); |
| 853 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); | 855 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); |
| 854 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); | 856 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); |
| 855 return o; | 857 return o; |
| 856 } | 858 } |
| 857 | 859 |
| 858 checkUnnamed1206(core.List<core.Object> o) { | 860 checkUnnamed1463(core.List<core.Object> o) { |
| 859 unittest.expect(o, unittest.hasLength(2)); | 861 unittest.expect(o, unittest.hasLength(2)); |
| 860 var casted7 = (o[0]) as core.Map; unittest.expect(casted7, unittest.hasLength(
3)); unittest.expect(casted7["list"], unittest.equals([1, 2, 3])); unittest.expe
ct(casted7["bool"], unittest.equals(true)); unittest.expect(casted7["string"], u
nittest.equals('foo')); | 862 var casted7 = (o[0]) as core.Map; unittest.expect(casted7, unittest.hasLength(
3)); unittest.expect(casted7["list"], unittest.equals([1, 2, 3])); unittest.expe
ct(casted7["bool"], unittest.equals(true)); unittest.expect(casted7["string"], u
nittest.equals('foo')); |
| 861 var casted8 = (o[1]) as core.Map; unittest.expect(casted8, unittest.hasLength(
3)); unittest.expect(casted8["list"], unittest.equals([1, 2, 3])); unittest.expe
ct(casted8["bool"], unittest.equals(true)); unittest.expect(casted8["string"], u
nittest.equals('foo')); | 863 var casted8 = (o[1]) as core.Map; unittest.expect(casted8, unittest.hasLength(
3)); unittest.expect(casted8["list"], unittest.equals([1, 2, 3])); unittest.expe
ct(casted8["bool"], unittest.equals(true)); unittest.expect(casted8["string"], u
nittest.equals('foo')); |
| 862 } | 864 } |
| 863 | 865 |
| 864 core.int buildCounterPerformanceReport = 0; | 866 core.int buildCounterPerformanceReport = 0; |
| 865 buildPerformanceReport() { | 867 buildPerformanceReport() { |
| 866 var o = new api.PerformanceReport(); | 868 var o = new api.PerformanceReport(); |
| 867 buildCounterPerformanceReport++; | 869 buildCounterPerformanceReport++; |
| 868 if (buildCounterPerformanceReport < 3) { | 870 if (buildCounterPerformanceReport < 3) { |
| 869 o.bidRate = 42.0; | 871 o.bidRate = 42.0; |
| 870 o.bidRequestRate = 42.0; | 872 o.bidRequestRate = 42.0; |
| 871 o.calloutStatusRate = buildUnnamed1203(); | 873 o.calloutStatusRate = buildUnnamed1460(); |
| 872 o.cookieMatcherStatusRate = buildUnnamed1204(); | 874 o.cookieMatcherStatusRate = buildUnnamed1461(); |
| 873 o.creativeStatusRate = buildUnnamed1205(); | 875 o.creativeStatusRate = buildUnnamed1462(); |
| 874 o.filteredBidRate = 42.0; | 876 o.filteredBidRate = 42.0; |
| 875 o.hostedMatchStatusRate = buildUnnamed1206(); | 877 o.hostedMatchStatusRate = buildUnnamed1463(); |
| 876 o.inventoryMatchRate = 42.0; | 878 o.inventoryMatchRate = 42.0; |
| 877 o.kind = "foo"; | 879 o.kind = "foo"; |
| 878 o.latency50thPercentile = 42.0; | 880 o.latency50thPercentile = 42.0; |
| 879 o.latency85thPercentile = 42.0; | 881 o.latency85thPercentile = 42.0; |
| 880 o.latency95thPercentile = 42.0; | 882 o.latency95thPercentile = 42.0; |
| 881 o.noQuotaInRegion = 42.0; | 883 o.noQuotaInRegion = 42.0; |
| 882 o.outOfQuota = 42.0; | 884 o.outOfQuota = 42.0; |
| 883 o.pixelMatchRequests = 42.0; | 885 o.pixelMatchRequests = 42.0; |
| 884 o.pixelMatchResponses = 42.0; | 886 o.pixelMatchResponses = 42.0; |
| 885 o.quotaConfiguredLimit = 42.0; | 887 o.quotaConfiguredLimit = 42.0; |
| 886 o.quotaThrottledLimit = 42.0; | 888 o.quotaThrottledLimit = 42.0; |
| 887 o.region = "foo"; | 889 o.region = "foo"; |
| 888 o.successfulRequestRate = 42.0; | 890 o.successfulRequestRate = 42.0; |
| 889 o.timestamp = "foo"; | 891 o.timestamp = "foo"; |
| 890 o.unsuccessfulRequestRate = 42.0; | 892 o.unsuccessfulRequestRate = 42.0; |
| 891 } | 893 } |
| 892 buildCounterPerformanceReport--; | 894 buildCounterPerformanceReport--; |
| 893 return o; | 895 return o; |
| 894 } | 896 } |
| 895 | 897 |
| 896 checkPerformanceReport(api.PerformanceReport o) { | 898 checkPerformanceReport(api.PerformanceReport o) { |
| 897 buildCounterPerformanceReport++; | 899 buildCounterPerformanceReport++; |
| 898 if (buildCounterPerformanceReport < 3) { | 900 if (buildCounterPerformanceReport < 3) { |
| 899 unittest.expect(o.bidRate, unittest.equals(42.0)); | 901 unittest.expect(o.bidRate, unittest.equals(42.0)); |
| 900 unittest.expect(o.bidRequestRate, unittest.equals(42.0)); | 902 unittest.expect(o.bidRequestRate, unittest.equals(42.0)); |
| 901 checkUnnamed1203(o.calloutStatusRate); | 903 checkUnnamed1460(o.calloutStatusRate); |
| 902 checkUnnamed1204(o.cookieMatcherStatusRate); | 904 checkUnnamed1461(o.cookieMatcherStatusRate); |
| 903 checkUnnamed1205(o.creativeStatusRate); | 905 checkUnnamed1462(o.creativeStatusRate); |
| 904 unittest.expect(o.filteredBidRate, unittest.equals(42.0)); | 906 unittest.expect(o.filteredBidRate, unittest.equals(42.0)); |
| 905 checkUnnamed1206(o.hostedMatchStatusRate); | 907 checkUnnamed1463(o.hostedMatchStatusRate); |
| 906 unittest.expect(o.inventoryMatchRate, unittest.equals(42.0)); | 908 unittest.expect(o.inventoryMatchRate, unittest.equals(42.0)); |
| 907 unittest.expect(o.kind, unittest.equals('foo')); | 909 unittest.expect(o.kind, unittest.equals('foo')); |
| 908 unittest.expect(o.latency50thPercentile, unittest.equals(42.0)); | 910 unittest.expect(o.latency50thPercentile, unittest.equals(42.0)); |
| 909 unittest.expect(o.latency85thPercentile, unittest.equals(42.0)); | 911 unittest.expect(o.latency85thPercentile, unittest.equals(42.0)); |
| 910 unittest.expect(o.latency95thPercentile, unittest.equals(42.0)); | 912 unittest.expect(o.latency95thPercentile, unittest.equals(42.0)); |
| 911 unittest.expect(o.noQuotaInRegion, unittest.equals(42.0)); | 913 unittest.expect(o.noQuotaInRegion, unittest.equals(42.0)); |
| 912 unittest.expect(o.outOfQuota, unittest.equals(42.0)); | 914 unittest.expect(o.outOfQuota, unittest.equals(42.0)); |
| 913 unittest.expect(o.pixelMatchRequests, unittest.equals(42.0)); | 915 unittest.expect(o.pixelMatchRequests, unittest.equals(42.0)); |
| 914 unittest.expect(o.pixelMatchResponses, unittest.equals(42.0)); | 916 unittest.expect(o.pixelMatchResponses, unittest.equals(42.0)); |
| 915 unittest.expect(o.quotaConfiguredLimit, unittest.equals(42.0)); | 917 unittest.expect(o.quotaConfiguredLimit, unittest.equals(42.0)); |
| 916 unittest.expect(o.quotaThrottledLimit, unittest.equals(42.0)); | 918 unittest.expect(o.quotaThrottledLimit, unittest.equals(42.0)); |
| 917 unittest.expect(o.region, unittest.equals('foo')); | 919 unittest.expect(o.region, unittest.equals('foo')); |
| 918 unittest.expect(o.successfulRequestRate, unittest.equals(42.0)); | 920 unittest.expect(o.successfulRequestRate, unittest.equals(42.0)); |
| 919 unittest.expect(o.timestamp, unittest.equals('foo')); | 921 unittest.expect(o.timestamp, unittest.equals('foo')); |
| 920 unittest.expect(o.unsuccessfulRequestRate, unittest.equals(42.0)); | 922 unittest.expect(o.unsuccessfulRequestRate, unittest.equals(42.0)); |
| 921 } | 923 } |
| 922 buildCounterPerformanceReport--; | 924 buildCounterPerformanceReport--; |
| 923 } | 925 } |
| 924 | 926 |
| 925 buildUnnamed1207() { | 927 buildUnnamed1464() { |
| 926 var o = new core.List<api.PerformanceReport>(); | 928 var o = new core.List<api.PerformanceReport>(); |
| 927 o.add(buildPerformanceReport()); | 929 o.add(buildPerformanceReport()); |
| 928 o.add(buildPerformanceReport()); | 930 o.add(buildPerformanceReport()); |
| 929 return o; | 931 return o; |
| 930 } | 932 } |
| 931 | 933 |
| 932 checkUnnamed1207(core.List<api.PerformanceReport> o) { | 934 checkUnnamed1464(core.List<api.PerformanceReport> o) { |
| 933 unittest.expect(o, unittest.hasLength(2)); | 935 unittest.expect(o, unittest.hasLength(2)); |
| 934 checkPerformanceReport(o[0]); | 936 checkPerformanceReport(o[0]); |
| 935 checkPerformanceReport(o[1]); | 937 checkPerformanceReport(o[1]); |
| 936 } | 938 } |
| 937 | 939 |
| 938 core.int buildCounterPerformanceReportList = 0; | 940 core.int buildCounterPerformanceReportList = 0; |
| 939 buildPerformanceReportList() { | 941 buildPerformanceReportList() { |
| 940 var o = new api.PerformanceReportList(); | 942 var o = new api.PerformanceReportList(); |
| 941 buildCounterPerformanceReportList++; | 943 buildCounterPerformanceReportList++; |
| 942 if (buildCounterPerformanceReportList < 3) { | 944 if (buildCounterPerformanceReportList < 3) { |
| 943 o.kind = "foo"; | 945 o.kind = "foo"; |
| 944 o.performanceReport = buildUnnamed1207(); | 946 o.performanceReport = buildUnnamed1464(); |
| 945 } | 947 } |
| 946 buildCounterPerformanceReportList--; | 948 buildCounterPerformanceReportList--; |
| 947 return o; | 949 return o; |
| 948 } | 950 } |
| 949 | 951 |
| 950 checkPerformanceReportList(api.PerformanceReportList o) { | 952 checkPerformanceReportList(api.PerformanceReportList o) { |
| 951 buildCounterPerformanceReportList++; | 953 buildCounterPerformanceReportList++; |
| 952 if (buildCounterPerformanceReportList < 3) { | 954 if (buildCounterPerformanceReportList < 3) { |
| 953 unittest.expect(o.kind, unittest.equals('foo')); | 955 unittest.expect(o.kind, unittest.equals('foo')); |
| 954 checkUnnamed1207(o.performanceReport); | 956 checkUnnamed1464(o.performanceReport); |
| 955 } | 957 } |
| 956 buildCounterPerformanceReportList--; | 958 buildCounterPerformanceReportList--; |
| 957 } | 959 } |
| 958 | 960 |
| 959 buildUnnamed1208() { | 961 buildUnnamed1465() { |
| 960 var o = new core.List<core.String>(); | 962 var o = new core.List<core.String>(); |
| 961 o.add("foo"); | 963 o.add("foo"); |
| 962 o.add("foo"); | 964 o.add("foo"); |
| 963 return o; | 965 return o; |
| 964 } | 966 } |
| 965 | 967 |
| 966 checkUnnamed1208(core.List<core.String> o) { | 968 checkUnnamed1465(core.List<core.String> o) { |
| 967 unittest.expect(o, unittest.hasLength(2)); | 969 unittest.expect(o, unittest.hasLength(2)); |
| 968 unittest.expect(o[0], unittest.equals('foo')); | 970 unittest.expect(o[0], unittest.equals('foo')); |
| 969 unittest.expect(o[1], unittest.equals('foo')); | 971 unittest.expect(o[1], unittest.equals('foo')); |
| 970 } | 972 } |
| 971 | 973 |
| 972 core.int buildCounterPretargetingConfigDimensions = 0; | 974 core.int buildCounterPretargetingConfigDimensions = 0; |
| 973 buildPretargetingConfigDimensions() { | 975 buildPretargetingConfigDimensions() { |
| 974 var o = new api.PretargetingConfigDimensions(); | 976 var o = new api.PretargetingConfigDimensions(); |
| 975 buildCounterPretargetingConfigDimensions++; | 977 buildCounterPretargetingConfigDimensions++; |
| 976 if (buildCounterPretargetingConfigDimensions < 3) { | 978 if (buildCounterPretargetingConfigDimensions < 3) { |
| 977 o.height = "foo"; | 979 o.height = "foo"; |
| 978 o.width = "foo"; | 980 o.width = "foo"; |
| 979 } | 981 } |
| 980 buildCounterPretargetingConfigDimensions--; | 982 buildCounterPretargetingConfigDimensions--; |
| 981 return o; | 983 return o; |
| 982 } | 984 } |
| 983 | 985 |
| 984 checkPretargetingConfigDimensions(api.PretargetingConfigDimensions o) { | 986 checkPretargetingConfigDimensions(api.PretargetingConfigDimensions o) { |
| 985 buildCounterPretargetingConfigDimensions++; | 987 buildCounterPretargetingConfigDimensions++; |
| 986 if (buildCounterPretargetingConfigDimensions < 3) { | 988 if (buildCounterPretargetingConfigDimensions < 3) { |
| 987 unittest.expect(o.height, unittest.equals('foo')); | 989 unittest.expect(o.height, unittest.equals('foo')); |
| 988 unittest.expect(o.width, unittest.equals('foo')); | 990 unittest.expect(o.width, unittest.equals('foo')); |
| 989 } | 991 } |
| 990 buildCounterPretargetingConfigDimensions--; | 992 buildCounterPretargetingConfigDimensions--; |
| 991 } | 993 } |
| 992 | 994 |
| 993 buildUnnamed1209() { | 995 buildUnnamed1466() { |
| 994 var o = new core.List<api.PretargetingConfigDimensions>(); | 996 var o = new core.List<api.PretargetingConfigDimensions>(); |
| 995 o.add(buildPretargetingConfigDimensions()); | 997 o.add(buildPretargetingConfigDimensions()); |
| 996 o.add(buildPretargetingConfigDimensions()); | 998 o.add(buildPretargetingConfigDimensions()); |
| 997 return o; | 999 return o; |
| 998 } | 1000 } |
| 999 | 1001 |
| 1000 checkUnnamed1209(core.List<api.PretargetingConfigDimensions> o) { | 1002 checkUnnamed1466(core.List<api.PretargetingConfigDimensions> o) { |
| 1001 unittest.expect(o, unittest.hasLength(2)); | 1003 unittest.expect(o, unittest.hasLength(2)); |
| 1002 checkPretargetingConfigDimensions(o[0]); | 1004 checkPretargetingConfigDimensions(o[0]); |
| 1003 checkPretargetingConfigDimensions(o[1]); | 1005 checkPretargetingConfigDimensions(o[1]); |
| 1004 } | 1006 } |
| 1005 | 1007 |
| 1006 buildUnnamed1210() { | 1008 buildUnnamed1467() { |
| 1007 var o = new core.List<core.String>(); | 1009 var o = new core.List<core.String>(); |
| 1008 o.add("foo"); | 1010 o.add("foo"); |
| 1009 o.add("foo"); | 1011 o.add("foo"); |
| 1010 return o; | 1012 return o; |
| 1011 } | 1013 } |
| 1012 | 1014 |
| 1013 checkUnnamed1210(core.List<core.String> o) { | 1015 checkUnnamed1467(core.List<core.String> o) { |
| 1014 unittest.expect(o, unittest.hasLength(2)); | 1016 unittest.expect(o, unittest.hasLength(2)); |
| 1015 unittest.expect(o[0], unittest.equals('foo')); | 1017 unittest.expect(o[0], unittest.equals('foo')); |
| 1016 unittest.expect(o[1], unittest.equals('foo')); | 1018 unittest.expect(o[1], unittest.equals('foo')); |
| 1017 } | 1019 } |
| 1018 | 1020 |
| 1019 buildUnnamed1211() { | 1021 buildUnnamed1468() { |
| 1020 var o = new core.List<core.String>(); | 1022 var o = new core.List<core.String>(); |
| 1021 o.add("foo"); | 1023 o.add("foo"); |
| 1022 o.add("foo"); | 1024 o.add("foo"); |
| 1023 return o; | 1025 return o; |
| 1024 } | 1026 } |
| 1025 | 1027 |
| 1026 checkUnnamed1211(core.List<core.String> o) { | 1028 checkUnnamed1468(core.List<core.String> o) { |
| 1027 unittest.expect(o, unittest.hasLength(2)); | 1029 unittest.expect(o, unittest.hasLength(2)); |
| 1028 unittest.expect(o[0], unittest.equals('foo')); | 1030 unittest.expect(o[0], unittest.equals('foo')); |
| 1029 unittest.expect(o[1], unittest.equals('foo')); | 1031 unittest.expect(o[1], unittest.equals('foo')); |
| 1030 } | 1032 } |
| 1031 | 1033 |
| 1032 core.int buildCounterPretargetingConfigExcludedPlacements = 0; | 1034 core.int buildCounterPretargetingConfigExcludedPlacements = 0; |
| 1033 buildPretargetingConfigExcludedPlacements() { | 1035 buildPretargetingConfigExcludedPlacements() { |
| 1034 var o = new api.PretargetingConfigExcludedPlacements(); | 1036 var o = new api.PretargetingConfigExcludedPlacements(); |
| 1035 buildCounterPretargetingConfigExcludedPlacements++; | 1037 buildCounterPretargetingConfigExcludedPlacements++; |
| 1036 if (buildCounterPretargetingConfigExcludedPlacements < 3) { | 1038 if (buildCounterPretargetingConfigExcludedPlacements < 3) { |
| 1037 o.token = "foo"; | 1039 o.token = "foo"; |
| 1038 o.type = "foo"; | 1040 o.type = "foo"; |
| 1039 } | 1041 } |
| 1040 buildCounterPretargetingConfigExcludedPlacements--; | 1042 buildCounterPretargetingConfigExcludedPlacements--; |
| 1041 return o; | 1043 return o; |
| 1042 } | 1044 } |
| 1043 | 1045 |
| 1044 checkPretargetingConfigExcludedPlacements(api.PretargetingConfigExcludedPlacemen
ts o) { | 1046 checkPretargetingConfigExcludedPlacements(api.PretargetingConfigExcludedPlacemen
ts o) { |
| 1045 buildCounterPretargetingConfigExcludedPlacements++; | 1047 buildCounterPretargetingConfigExcludedPlacements++; |
| 1046 if (buildCounterPretargetingConfigExcludedPlacements < 3) { | 1048 if (buildCounterPretargetingConfigExcludedPlacements < 3) { |
| 1047 unittest.expect(o.token, unittest.equals('foo')); | 1049 unittest.expect(o.token, unittest.equals('foo')); |
| 1048 unittest.expect(o.type, unittest.equals('foo')); | 1050 unittest.expect(o.type, unittest.equals('foo')); |
| 1049 } | 1051 } |
| 1050 buildCounterPretargetingConfigExcludedPlacements--; | 1052 buildCounterPretargetingConfigExcludedPlacements--; |
| 1051 } | 1053 } |
| 1052 | 1054 |
| 1053 buildUnnamed1212() { | 1055 buildUnnamed1469() { |
| 1054 var o = new core.List<api.PretargetingConfigExcludedPlacements>(); | 1056 var o = new core.List<api.PretargetingConfigExcludedPlacements>(); |
| 1055 o.add(buildPretargetingConfigExcludedPlacements()); | 1057 o.add(buildPretargetingConfigExcludedPlacements()); |
| 1056 o.add(buildPretargetingConfigExcludedPlacements()); | 1058 o.add(buildPretargetingConfigExcludedPlacements()); |
| 1057 return o; | 1059 return o; |
| 1058 } | 1060 } |
| 1059 | 1061 |
| 1060 checkUnnamed1212(core.List<api.PretargetingConfigExcludedPlacements> o) { | 1062 checkUnnamed1469(core.List<api.PretargetingConfigExcludedPlacements> o) { |
| 1061 unittest.expect(o, unittest.hasLength(2)); | 1063 unittest.expect(o, unittest.hasLength(2)); |
| 1062 checkPretargetingConfigExcludedPlacements(o[0]); | 1064 checkPretargetingConfigExcludedPlacements(o[0]); |
| 1063 checkPretargetingConfigExcludedPlacements(o[1]); | 1065 checkPretargetingConfigExcludedPlacements(o[1]); |
| 1064 } | 1066 } |
| 1065 | 1067 |
| 1066 buildUnnamed1213() { | 1068 buildUnnamed1470() { |
| 1067 var o = new core.List<core.String>(); | 1069 var o = new core.List<core.String>(); |
| 1068 o.add("foo"); | 1070 o.add("foo"); |
| 1069 o.add("foo"); | 1071 o.add("foo"); |
| 1070 return o; | 1072 return o; |
| 1071 } | 1073 } |
| 1072 | 1074 |
| 1073 checkUnnamed1213(core.List<core.String> o) { | 1075 checkUnnamed1470(core.List<core.String> o) { |
| 1074 unittest.expect(o, unittest.hasLength(2)); | 1076 unittest.expect(o, unittest.hasLength(2)); |
| 1075 unittest.expect(o[0], unittest.equals('foo')); | 1077 unittest.expect(o[0], unittest.equals('foo')); |
| 1076 unittest.expect(o[1], unittest.equals('foo')); | 1078 unittest.expect(o[1], unittest.equals('foo')); |
| 1077 } | 1079 } |
| 1078 | 1080 |
| 1079 buildUnnamed1214() { | 1081 buildUnnamed1471() { |
| 1080 var o = new core.List<core.String>(); | 1082 var o = new core.List<core.String>(); |
| 1081 o.add("foo"); | 1083 o.add("foo"); |
| 1082 o.add("foo"); | 1084 o.add("foo"); |
| 1083 return o; | 1085 return o; |
| 1084 } | 1086 } |
| 1085 | 1087 |
| 1086 checkUnnamed1214(core.List<core.String> o) { | 1088 checkUnnamed1471(core.List<core.String> o) { |
| 1087 unittest.expect(o, unittest.hasLength(2)); | 1089 unittest.expect(o, unittest.hasLength(2)); |
| 1088 unittest.expect(o[0], unittest.equals('foo')); | 1090 unittest.expect(o[0], unittest.equals('foo')); |
| 1089 unittest.expect(o[1], unittest.equals('foo')); | 1091 unittest.expect(o[1], unittest.equals('foo')); |
| 1090 } | 1092 } |
| 1091 | 1093 |
| 1092 buildUnnamed1215() { | 1094 buildUnnamed1472() { |
| 1093 var o = new core.List<core.String>(); | 1095 var o = new core.List<core.String>(); |
| 1094 o.add("foo"); | 1096 o.add("foo"); |
| 1095 o.add("foo"); | 1097 o.add("foo"); |
| 1096 return o; | 1098 return o; |
| 1097 } | 1099 } |
| 1098 | 1100 |
| 1099 checkUnnamed1215(core.List<core.String> o) { | 1101 checkUnnamed1472(core.List<core.String> o) { |
| 1100 unittest.expect(o, unittest.hasLength(2)); | 1102 unittest.expect(o, unittest.hasLength(2)); |
| 1101 unittest.expect(o[0], unittest.equals('foo')); | 1103 unittest.expect(o[0], unittest.equals('foo')); |
| 1102 unittest.expect(o[1], unittest.equals('foo')); | 1104 unittest.expect(o[1], unittest.equals('foo')); |
| 1103 } | 1105 } |
| 1104 | 1106 |
| 1105 buildUnnamed1216() { | 1107 buildUnnamed1473() { |
| 1106 var o = new core.List<core.String>(); | 1108 var o = new core.List<core.String>(); |
| 1107 o.add("foo"); | 1109 o.add("foo"); |
| 1108 o.add("foo"); | 1110 o.add("foo"); |
| 1109 return o; | 1111 return o; |
| 1110 } | 1112 } |
| 1111 | 1113 |
| 1112 checkUnnamed1216(core.List<core.String> o) { | 1114 checkUnnamed1473(core.List<core.String> o) { |
| 1113 unittest.expect(o, unittest.hasLength(2)); | 1115 unittest.expect(o, unittest.hasLength(2)); |
| 1114 unittest.expect(o[0], unittest.equals('foo')); | 1116 unittest.expect(o[0], unittest.equals('foo')); |
| 1115 unittest.expect(o[1], unittest.equals('foo')); | 1117 unittest.expect(o[1], unittest.equals('foo')); |
| 1116 } | 1118 } |
| 1117 | 1119 |
| 1118 buildUnnamed1217() { | 1120 buildUnnamed1474() { |
| 1119 var o = new core.List<core.String>(); | 1121 var o = new core.List<core.String>(); |
| 1120 o.add("foo"); | 1122 o.add("foo"); |
| 1121 o.add("foo"); | 1123 o.add("foo"); |
| 1122 return o; | 1124 return o; |
| 1123 } | 1125 } |
| 1124 | 1126 |
| 1125 checkUnnamed1217(core.List<core.String> o) { | 1127 checkUnnamed1474(core.List<core.String> o) { |
| 1126 unittest.expect(o, unittest.hasLength(2)); | 1128 unittest.expect(o, unittest.hasLength(2)); |
| 1127 unittest.expect(o[0], unittest.equals('foo')); | 1129 unittest.expect(o[0], unittest.equals('foo')); |
| 1128 unittest.expect(o[1], unittest.equals('foo')); | 1130 unittest.expect(o[1], unittest.equals('foo')); |
| 1129 } | 1131 } |
| 1130 | 1132 |
| 1131 buildUnnamed1218() { | 1133 buildUnnamed1475() { |
| 1132 var o = new core.List<core.String>(); | 1134 var o = new core.List<core.String>(); |
| 1133 o.add("foo"); | 1135 o.add("foo"); |
| 1134 o.add("foo"); | 1136 o.add("foo"); |
| 1135 return o; | 1137 return o; |
| 1136 } | 1138 } |
| 1137 | 1139 |
| 1138 checkUnnamed1218(core.List<core.String> o) { | 1140 checkUnnamed1475(core.List<core.String> o) { |
| 1139 unittest.expect(o, unittest.hasLength(2)); | 1141 unittest.expect(o, unittest.hasLength(2)); |
| 1140 unittest.expect(o[0], unittest.equals('foo')); | 1142 unittest.expect(o[0], unittest.equals('foo')); |
| 1141 unittest.expect(o[1], unittest.equals('foo')); | 1143 unittest.expect(o[1], unittest.equals('foo')); |
| 1142 } | 1144 } |
| 1143 | 1145 |
| 1144 buildUnnamed1219() { | 1146 buildUnnamed1476() { |
| 1145 var o = new core.List<core.String>(); | 1147 var o = new core.List<core.String>(); |
| 1146 o.add("foo"); | 1148 o.add("foo"); |
| 1147 o.add("foo"); | 1149 o.add("foo"); |
| 1148 return o; | 1150 return o; |
| 1149 } | 1151 } |
| 1150 | 1152 |
| 1151 checkUnnamed1219(core.List<core.String> o) { | 1153 checkUnnamed1476(core.List<core.String> o) { |
| 1152 unittest.expect(o, unittest.hasLength(2)); | 1154 unittest.expect(o, unittest.hasLength(2)); |
| 1153 unittest.expect(o[0], unittest.equals('foo')); | 1155 unittest.expect(o[0], unittest.equals('foo')); |
| 1154 unittest.expect(o[1], unittest.equals('foo')); | 1156 unittest.expect(o[1], unittest.equals('foo')); |
| 1155 } | 1157 } |
| 1156 | 1158 |
| 1157 core.int buildCounterPretargetingConfigPlacements = 0; | 1159 core.int buildCounterPretargetingConfigPlacements = 0; |
| 1158 buildPretargetingConfigPlacements() { | 1160 buildPretargetingConfigPlacements() { |
| 1159 var o = new api.PretargetingConfigPlacements(); | 1161 var o = new api.PretargetingConfigPlacements(); |
| 1160 buildCounterPretargetingConfigPlacements++; | 1162 buildCounterPretargetingConfigPlacements++; |
| 1161 if (buildCounterPretargetingConfigPlacements < 3) { | 1163 if (buildCounterPretargetingConfigPlacements < 3) { |
| 1162 o.token = "foo"; | 1164 o.token = "foo"; |
| 1163 o.type = "foo"; | 1165 o.type = "foo"; |
| 1164 } | 1166 } |
| 1165 buildCounterPretargetingConfigPlacements--; | 1167 buildCounterPretargetingConfigPlacements--; |
| 1166 return o; | 1168 return o; |
| 1167 } | 1169 } |
| 1168 | 1170 |
| 1169 checkPretargetingConfigPlacements(api.PretargetingConfigPlacements o) { | 1171 checkPretargetingConfigPlacements(api.PretargetingConfigPlacements o) { |
| 1170 buildCounterPretargetingConfigPlacements++; | 1172 buildCounterPretargetingConfigPlacements++; |
| 1171 if (buildCounterPretargetingConfigPlacements < 3) { | 1173 if (buildCounterPretargetingConfigPlacements < 3) { |
| 1172 unittest.expect(o.token, unittest.equals('foo')); | 1174 unittest.expect(o.token, unittest.equals('foo')); |
| 1173 unittest.expect(o.type, unittest.equals('foo')); | 1175 unittest.expect(o.type, unittest.equals('foo')); |
| 1174 } | 1176 } |
| 1175 buildCounterPretargetingConfigPlacements--; | 1177 buildCounterPretargetingConfigPlacements--; |
| 1176 } | 1178 } |
| 1177 | 1179 |
| 1178 buildUnnamed1220() { | 1180 buildUnnamed1477() { |
| 1179 var o = new core.List<api.PretargetingConfigPlacements>(); | 1181 var o = new core.List<api.PretargetingConfigPlacements>(); |
| 1180 o.add(buildPretargetingConfigPlacements()); | 1182 o.add(buildPretargetingConfigPlacements()); |
| 1181 o.add(buildPretargetingConfigPlacements()); | 1183 o.add(buildPretargetingConfigPlacements()); |
| 1182 return o; | 1184 return o; |
| 1183 } | 1185 } |
| 1184 | 1186 |
| 1185 checkUnnamed1220(core.List<api.PretargetingConfigPlacements> o) { | 1187 checkUnnamed1477(core.List<api.PretargetingConfigPlacements> o) { |
| 1186 unittest.expect(o, unittest.hasLength(2)); | 1188 unittest.expect(o, unittest.hasLength(2)); |
| 1187 checkPretargetingConfigPlacements(o[0]); | 1189 checkPretargetingConfigPlacements(o[0]); |
| 1188 checkPretargetingConfigPlacements(o[1]); | 1190 checkPretargetingConfigPlacements(o[1]); |
| 1189 } | 1191 } |
| 1190 | 1192 |
| 1191 buildUnnamed1221() { | 1193 buildUnnamed1478() { |
| 1192 var o = new core.List<core.String>(); | 1194 var o = new core.List<core.String>(); |
| 1193 o.add("foo"); | 1195 o.add("foo"); |
| 1194 o.add("foo"); | 1196 o.add("foo"); |
| 1195 return o; | 1197 return o; |
| 1196 } | 1198 } |
| 1197 | 1199 |
| 1198 checkUnnamed1221(core.List<core.String> o) { | 1200 checkUnnamed1478(core.List<core.String> o) { |
| 1199 unittest.expect(o, unittest.hasLength(2)); | 1201 unittest.expect(o, unittest.hasLength(2)); |
| 1200 unittest.expect(o[0], unittest.equals('foo')); | 1202 unittest.expect(o[0], unittest.equals('foo')); |
| 1201 unittest.expect(o[1], unittest.equals('foo')); | 1203 unittest.expect(o[1], unittest.equals('foo')); |
| 1202 } | 1204 } |
| 1203 | 1205 |
| 1204 buildUnnamed1222() { | 1206 buildUnnamed1479() { |
| 1205 var o = new core.List<core.String>(); | 1207 var o = new core.List<core.String>(); |
| 1206 o.add("foo"); | 1208 o.add("foo"); |
| 1207 o.add("foo"); | 1209 o.add("foo"); |
| 1208 return o; | 1210 return o; |
| 1209 } | 1211 } |
| 1210 | 1212 |
| 1211 checkUnnamed1222(core.List<core.String> o) { | 1213 checkUnnamed1479(core.List<core.String> o) { |
| 1212 unittest.expect(o, unittest.hasLength(2)); | 1214 unittest.expect(o, unittest.hasLength(2)); |
| 1213 unittest.expect(o[0], unittest.equals('foo')); | 1215 unittest.expect(o[0], unittest.equals('foo')); |
| 1214 unittest.expect(o[1], unittest.equals('foo')); | 1216 unittest.expect(o[1], unittest.equals('foo')); |
| 1215 } | 1217 } |
| 1216 | 1218 |
| 1217 buildUnnamed1223() { | 1219 buildUnnamed1480() { |
| 1218 var o = new core.List<core.String>(); | 1220 var o = new core.List<core.String>(); |
| 1219 o.add("foo"); | 1221 o.add("foo"); |
| 1220 o.add("foo"); | 1222 o.add("foo"); |
| 1221 return o; | 1223 return o; |
| 1222 } | 1224 } |
| 1223 | 1225 |
| 1224 checkUnnamed1223(core.List<core.String> o) { | 1226 checkUnnamed1480(core.List<core.String> o) { |
| 1225 unittest.expect(o, unittest.hasLength(2)); | 1227 unittest.expect(o, unittest.hasLength(2)); |
| 1226 unittest.expect(o[0], unittest.equals('foo')); | 1228 unittest.expect(o[0], unittest.equals('foo')); |
| 1227 unittest.expect(o[1], unittest.equals('foo')); | 1229 unittest.expect(o[1], unittest.equals('foo')); |
| 1228 } | 1230 } |
| 1229 | 1231 |
| 1230 buildUnnamed1224() { | 1232 buildUnnamed1481() { |
| 1231 var o = new core.List<core.String>(); | 1233 var o = new core.List<core.String>(); |
| 1232 o.add("foo"); | 1234 o.add("foo"); |
| 1233 o.add("foo"); | 1235 o.add("foo"); |
| 1234 return o; | 1236 return o; |
| 1235 } | 1237 } |
| 1236 | 1238 |
| 1237 checkUnnamed1224(core.List<core.String> o) { | 1239 checkUnnamed1481(core.List<core.String> o) { |
| 1238 unittest.expect(o, unittest.hasLength(2)); | 1240 unittest.expect(o, unittest.hasLength(2)); |
| 1239 unittest.expect(o[0], unittest.equals('foo')); | 1241 unittest.expect(o[0], unittest.equals('foo')); |
| 1240 unittest.expect(o[1], unittest.equals('foo')); | 1242 unittest.expect(o[1], unittest.equals('foo')); |
| 1241 } | 1243 } |
| 1242 | 1244 |
| 1243 buildUnnamed1225() { | 1245 buildUnnamed1482() { |
| 1244 var o = new core.List<core.String>(); | 1246 var o = new core.List<core.String>(); |
| 1245 o.add("foo"); | 1247 o.add("foo"); |
| 1246 o.add("foo"); | 1248 o.add("foo"); |
| 1247 return o; | 1249 return o; |
| 1248 } | 1250 } |
| 1249 | 1251 |
| 1250 checkUnnamed1225(core.List<core.String> o) { | 1252 checkUnnamed1482(core.List<core.String> o) { |
| 1251 unittest.expect(o, unittest.hasLength(2)); | 1253 unittest.expect(o, unittest.hasLength(2)); |
| 1252 unittest.expect(o[0], unittest.equals('foo')); | 1254 unittest.expect(o[0], unittest.equals('foo')); |
| 1253 unittest.expect(o[1], unittest.equals('foo')); | 1255 unittest.expect(o[1], unittest.equals('foo')); |
| 1254 } | 1256 } |
| 1255 | 1257 |
| 1256 core.int buildCounterPretargetingConfig = 0; | 1258 core.int buildCounterPretargetingConfig = 0; |
| 1257 buildPretargetingConfig() { | 1259 buildPretargetingConfig() { |
| 1258 var o = new api.PretargetingConfig(); | 1260 var o = new api.PretargetingConfig(); |
| 1259 buildCounterPretargetingConfig++; | 1261 buildCounterPretargetingConfig++; |
| 1260 if (buildCounterPretargetingConfig < 3) { | 1262 if (buildCounterPretargetingConfig < 3) { |
| 1261 o.billingId = "foo"; | 1263 o.billingId = "foo"; |
| 1262 o.configId = "foo"; | 1264 o.configId = "foo"; |
| 1263 o.configName = "foo"; | 1265 o.configName = "foo"; |
| 1264 o.creativeType = buildUnnamed1208(); | 1266 o.creativeType = buildUnnamed1465(); |
| 1265 o.dimensions = buildUnnamed1209(); | 1267 o.dimensions = buildUnnamed1466(); |
| 1266 o.excludedContentLabels = buildUnnamed1210(); | 1268 o.excludedContentLabels = buildUnnamed1467(); |
| 1267 o.excludedGeoCriteriaIds = buildUnnamed1211(); | 1269 o.excludedGeoCriteriaIds = buildUnnamed1468(); |
| 1268 o.excludedPlacements = buildUnnamed1212(); | 1270 o.excludedPlacements = buildUnnamed1469(); |
| 1269 o.excludedUserLists = buildUnnamed1213(); | 1271 o.excludedUserLists = buildUnnamed1470(); |
| 1270 o.excludedVerticals = buildUnnamed1214(); | 1272 o.excludedVerticals = buildUnnamed1471(); |
| 1271 o.geoCriteriaIds = buildUnnamed1215(); | 1273 o.geoCriteriaIds = buildUnnamed1472(); |
| 1272 o.isActive = true; | 1274 o.isActive = true; |
| 1273 o.kind = "foo"; | 1275 o.kind = "foo"; |
| 1274 o.languages = buildUnnamed1216(); | 1276 o.languages = buildUnnamed1473(); |
| 1275 o.mobileCarriers = buildUnnamed1217(); | 1277 o.mobileCarriers = buildUnnamed1474(); |
| 1276 o.mobileDevices = buildUnnamed1218(); | 1278 o.mobileDevices = buildUnnamed1475(); |
| 1277 o.mobileOperatingSystemVersions = buildUnnamed1219(); | 1279 o.mobileOperatingSystemVersions = buildUnnamed1476(); |
| 1278 o.placements = buildUnnamed1220(); | 1280 o.placements = buildUnnamed1477(); |
| 1279 o.platforms = buildUnnamed1221(); | 1281 o.platforms = buildUnnamed1478(); |
| 1280 o.supportedCreativeAttributes = buildUnnamed1222(); | 1282 o.supportedCreativeAttributes = buildUnnamed1479(); |
| 1281 o.userLists = buildUnnamed1223(); | 1283 o.userLists = buildUnnamed1480(); |
| 1282 o.vendorTypes = buildUnnamed1224(); | 1284 o.vendorTypes = buildUnnamed1481(); |
| 1283 o.verticals = buildUnnamed1225(); | 1285 o.verticals = buildUnnamed1482(); |
| 1284 } | 1286 } |
| 1285 buildCounterPretargetingConfig--; | 1287 buildCounterPretargetingConfig--; |
| 1286 return o; | 1288 return o; |
| 1287 } | 1289 } |
| 1288 | 1290 |
| 1289 checkPretargetingConfig(api.PretargetingConfig o) { | 1291 checkPretargetingConfig(api.PretargetingConfig o) { |
| 1290 buildCounterPretargetingConfig++; | 1292 buildCounterPretargetingConfig++; |
| 1291 if (buildCounterPretargetingConfig < 3) { | 1293 if (buildCounterPretargetingConfig < 3) { |
| 1292 unittest.expect(o.billingId, unittest.equals('foo')); | 1294 unittest.expect(o.billingId, unittest.equals('foo')); |
| 1293 unittest.expect(o.configId, unittest.equals('foo')); | 1295 unittest.expect(o.configId, unittest.equals('foo')); |
| 1294 unittest.expect(o.configName, unittest.equals('foo')); | 1296 unittest.expect(o.configName, unittest.equals('foo')); |
| 1295 checkUnnamed1208(o.creativeType); | 1297 checkUnnamed1465(o.creativeType); |
| 1296 checkUnnamed1209(o.dimensions); | 1298 checkUnnamed1466(o.dimensions); |
| 1297 checkUnnamed1210(o.excludedContentLabels); | 1299 checkUnnamed1467(o.excludedContentLabels); |
| 1298 checkUnnamed1211(o.excludedGeoCriteriaIds); | 1300 checkUnnamed1468(o.excludedGeoCriteriaIds); |
| 1299 checkUnnamed1212(o.excludedPlacements); | 1301 checkUnnamed1469(o.excludedPlacements); |
| 1300 checkUnnamed1213(o.excludedUserLists); | 1302 checkUnnamed1470(o.excludedUserLists); |
| 1301 checkUnnamed1214(o.excludedVerticals); | 1303 checkUnnamed1471(o.excludedVerticals); |
| 1302 checkUnnamed1215(o.geoCriteriaIds); | 1304 checkUnnamed1472(o.geoCriteriaIds); |
| 1303 unittest.expect(o.isActive, unittest.isTrue); | 1305 unittest.expect(o.isActive, unittest.isTrue); |
| 1304 unittest.expect(o.kind, unittest.equals('foo')); | 1306 unittest.expect(o.kind, unittest.equals('foo')); |
| 1305 checkUnnamed1216(o.languages); | 1307 checkUnnamed1473(o.languages); |
| 1306 checkUnnamed1217(o.mobileCarriers); | 1308 checkUnnamed1474(o.mobileCarriers); |
| 1307 checkUnnamed1218(o.mobileDevices); | 1309 checkUnnamed1475(o.mobileDevices); |
| 1308 checkUnnamed1219(o.mobileOperatingSystemVersions); | 1310 checkUnnamed1476(o.mobileOperatingSystemVersions); |
| 1309 checkUnnamed1220(o.placements); | 1311 checkUnnamed1477(o.placements); |
| 1310 checkUnnamed1221(o.platforms); | 1312 checkUnnamed1478(o.platforms); |
| 1311 checkUnnamed1222(o.supportedCreativeAttributes); | 1313 checkUnnamed1479(o.supportedCreativeAttributes); |
| 1312 checkUnnamed1223(o.userLists); | 1314 checkUnnamed1480(o.userLists); |
| 1313 checkUnnamed1224(o.vendorTypes); | 1315 checkUnnamed1481(o.vendorTypes); |
| 1314 checkUnnamed1225(o.verticals); | 1316 checkUnnamed1482(o.verticals); |
| 1315 } | 1317 } |
| 1316 buildCounterPretargetingConfig--; | 1318 buildCounterPretargetingConfig--; |
| 1317 } | 1319 } |
| 1318 | 1320 |
| 1319 buildUnnamed1226() { | 1321 buildUnnamed1483() { |
| 1320 var o = new core.List<api.PretargetingConfig>(); | 1322 var o = new core.List<api.PretargetingConfig>(); |
| 1321 o.add(buildPretargetingConfig()); | 1323 o.add(buildPretargetingConfig()); |
| 1322 o.add(buildPretargetingConfig()); | 1324 o.add(buildPretargetingConfig()); |
| 1323 return o; | 1325 return o; |
| 1324 } | 1326 } |
| 1325 | 1327 |
| 1326 checkUnnamed1226(core.List<api.PretargetingConfig> o) { | 1328 checkUnnamed1483(core.List<api.PretargetingConfig> o) { |
| 1327 unittest.expect(o, unittest.hasLength(2)); | 1329 unittest.expect(o, unittest.hasLength(2)); |
| 1328 checkPretargetingConfig(o[0]); | 1330 checkPretargetingConfig(o[0]); |
| 1329 checkPretargetingConfig(o[1]); | 1331 checkPretargetingConfig(o[1]); |
| 1330 } | 1332 } |
| 1331 | 1333 |
| 1332 core.int buildCounterPretargetingConfigList = 0; | 1334 core.int buildCounterPretargetingConfigList = 0; |
| 1333 buildPretargetingConfigList() { | 1335 buildPretargetingConfigList() { |
| 1334 var o = new api.PretargetingConfigList(); | 1336 var o = new api.PretargetingConfigList(); |
| 1335 buildCounterPretargetingConfigList++; | 1337 buildCounterPretargetingConfigList++; |
| 1336 if (buildCounterPretargetingConfigList < 3) { | 1338 if (buildCounterPretargetingConfigList < 3) { |
| 1337 o.items = buildUnnamed1226(); | 1339 o.items = buildUnnamed1483(); |
| 1338 o.kind = "foo"; | 1340 o.kind = "foo"; |
| 1339 } | 1341 } |
| 1340 buildCounterPretargetingConfigList--; | 1342 buildCounterPretargetingConfigList--; |
| 1341 return o; | 1343 return o; |
| 1342 } | 1344 } |
| 1343 | 1345 |
| 1344 checkPretargetingConfigList(api.PretargetingConfigList o) { | 1346 checkPretargetingConfigList(api.PretargetingConfigList o) { |
| 1345 buildCounterPretargetingConfigList++; | 1347 buildCounterPretargetingConfigList++; |
| 1346 if (buildCounterPretargetingConfigList < 3) { | 1348 if (buildCounterPretargetingConfigList < 3) { |
| 1347 checkUnnamed1226(o.items); | 1349 checkUnnamed1483(o.items); |
| 1348 unittest.expect(o.kind, unittest.equals('foo')); | 1350 unittest.expect(o.kind, unittest.equals('foo')); |
| 1349 } | 1351 } |
| 1350 buildCounterPretargetingConfigList--; | 1352 buildCounterPretargetingConfigList--; |
| 1351 } | 1353 } |
| 1352 | 1354 |
| 1353 buildUnnamed1227() { | 1355 buildUnnamed1484() { |
| 1354 var o = new core.List<core.int>(); | 1356 var o = new core.List<core.int>(); |
| 1355 o.add(42); | 1357 o.add(42); |
| 1356 o.add(42); | 1358 o.add(42); |
| 1357 return o; | 1359 return o; |
| 1358 } | 1360 } |
| 1359 | 1361 |
| 1360 checkUnnamed1227(core.List<core.int> o) { | 1362 checkUnnamed1484(core.List<core.int> o) { |
| 1361 unittest.expect(o, unittest.hasLength(2)); | 1363 unittest.expect(o, unittest.hasLength(2)); |
| 1362 unittest.expect(o[0], unittest.equals(42)); | 1364 unittest.expect(o[0], unittest.equals(42)); |
| 1363 unittest.expect(o[1], unittest.equals(42)); | 1365 unittest.expect(o[1], unittest.equals(42)); |
| 1364 } | 1366 } |
| 1365 | 1367 |
| 1366 buildUnnamed1228() { | 1368 buildUnnamed1485() { |
| 1367 var o = new core.List<core.String>(); | 1369 var o = new core.List<core.String>(); |
| 1368 o.add("foo"); | 1370 o.add("foo"); |
| 1369 o.add("foo"); | 1371 o.add("foo"); |
| 1370 return o; | 1372 return o; |
| 1371 } | 1373 } |
| 1372 | 1374 |
| 1373 checkUnnamed1228(core.List<core.String> o) { | 1375 checkUnnamed1485(core.List<core.String> o) { |
| 1374 unittest.expect(o, unittest.hasLength(2)); | 1376 unittest.expect(o, unittest.hasLength(2)); |
| 1375 unittest.expect(o[0], unittest.equals('foo')); | 1377 unittest.expect(o[0], unittest.equals('foo')); |
| 1376 unittest.expect(o[1], unittest.equals('foo')); | 1378 unittest.expect(o[1], unittest.equals('foo')); |
| 1377 } | 1379 } |
| 1378 | 1380 |
| 1379 | 1381 |
| 1380 main() { | 1382 main() { |
| 1381 unittest.group("obj-schema-AccountBidderLocation", () { | 1383 unittest.group("obj-schema-AccountBidderLocation", () { |
| 1382 unittest.test("to-json--from-json", () { | 1384 unittest.test("to-json--from-json", () { |
| 1383 var o = buildAccountBidderLocation(); | 1385 var o = buildAccountBidderLocation(); |
| (...skipping 808 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2192 }), true); | 2194 }), true); |
| 2193 res.insert(arg_request).then(unittest.expectAsync(((api.Creative response)
{ | 2195 res.insert(arg_request).then(unittest.expectAsync(((api.Creative response)
{ |
| 2194 checkCreative(response); | 2196 checkCreative(response); |
| 2195 }))); | 2197 }))); |
| 2196 }); | 2198 }); |
| 2197 | 2199 |
| 2198 unittest.test("method--list", () { | 2200 unittest.test("method--list", () { |
| 2199 | 2201 |
| 2200 var mock = new HttpServerMock(); | 2202 var mock = new HttpServerMock(); |
| 2201 api.CreativesResourceApi res = new api.AdexchangebuyerApi(mock).creatives; | 2203 api.CreativesResourceApi res = new api.AdexchangebuyerApi(mock).creatives; |
| 2202 var arg_accountId = buildUnnamed1227(); | 2204 var arg_accountId = buildUnnamed1484(); |
| 2203 var arg_buyerCreativeId = buildUnnamed1228(); | 2205 var arg_buyerCreativeId = buildUnnamed1485(); |
| 2204 var arg_maxResults = 42; | 2206 var arg_maxResults = 42; |
| 2205 var arg_pageToken = "foo"; | 2207 var arg_pageToken = "foo"; |
| 2206 var arg_statusFilter = "foo"; | 2208 var arg_statusFilter = "foo"; |
| 2207 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 2209 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 2208 var path = (req.url).path; | 2210 var path = (req.url).path; |
| 2209 var pathOffset = 0; | 2211 var pathOffset = 0; |
| 2210 var index; | 2212 var index; |
| 2211 var subPart; | 2213 var subPart; |
| 2212 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 2214 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 2213 pathOffset += 1; | 2215 pathOffset += 1; |
| (...skipping 531 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2745 res.update(arg_request, arg_accountId, arg_configId).then(unittest.expectA
sync(((api.PretargetingConfig response) { | 2747 res.update(arg_request, arg_accountId, arg_configId).then(unittest.expectA
sync(((api.PretargetingConfig response) { |
| 2746 checkPretargetingConfig(response); | 2748 checkPretargetingConfig(response); |
| 2747 }))); | 2749 }))); |
| 2748 }); | 2750 }); |
| 2749 | 2751 |
| 2750 }); | 2752 }); |
| 2751 | 2753 |
| 2752 | 2754 |
| 2753 } | 2755 } |
| 2754 | 2756 |
| OLD | NEW |