| OLD | NEW |
| 1 library googleapis.adexchangebuyer.v1_4.test; | 1 library googleapis.adexchangebuyer.v1_4.test; |
| 2 | 2 |
| 3 import "dart:core" as core; | 3 import "dart:core" as core; |
| 4 import "dart:collection" as collection; | 4 import "dart:collection" as collection; |
| 5 import "dart:async" as async; | 5 import "dart:async" as async; |
| 6 import "dart:convert" as convert; | 6 import "dart:convert" as convert; |
| 7 | 7 |
| 8 import 'package:http/http.dart' as http; | 8 import 'package:http/http.dart' as http; |
| 9 import 'package:http/testing.dart' as http_testing; | 9 import 'package:http/testing.dart' as http_testing; |
| 10 import 'package:unittest/unittest.dart' as unittest; | 10 import 'package:unittest/unittest.dart' as unittest; |
| (...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 buildUnnamed44() { | 77 buildUnnamed1567() { |
| 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 checkUnnamed44(core.List<api.AccountBidderLocation> o) { | 84 checkUnnamed1567(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 = buildUnnamed44(); | 95 o.bidderLocation = buildUnnamed1567(); |
| 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 checkUnnamed44(o.bidderLocation); | 111 checkUnnamed1567(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 buildUnnamed45() { | 123 buildUnnamed1568() { |
| 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 checkUnnamed45(core.List<api.Account> o) { | 130 checkUnnamed1568(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 = buildUnnamed45(); | 141 o.items = buildUnnamed1568(); |
| 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 checkUnnamed45(o.items); | 151 checkUnnamed1568(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 buildUnnamed46() { | 157 buildUnnamed1569() { |
| 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 checkUnnamed46(core.List<core.String> o) { | 164 checkUnnamed1569(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 = buildUnnamed46(); | 177 o.billingId = buildUnnamed1569(); |
| 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 checkUnnamed46(o.billingId); | 189 checkUnnamed1569(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 buildUnnamed47() { | 195 buildUnnamed1570() { |
| 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 checkUnnamed47(core.List<api.BillingInfo> o) { | 202 checkUnnamed1570(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 = buildUnnamed47(); | 213 o.items = buildUnnamed1570(); |
| 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 checkUnnamed47(o.items); | 223 checkUnnamed1570(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 buildUnnamed48() { | 258 buildUnnamed1571() { |
| 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 checkUnnamed48(core.List<core.String> o) { | 265 checkUnnamed1571(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 buildUnnamed49() { | 271 buildUnnamed1572() { |
| 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 checkUnnamed49(core.List<core.int> o) { | 278 checkUnnamed1572(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 buildUnnamed50() { | 284 buildUnnamed1573() { |
| 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 checkUnnamed50(core.List<core.String> o) { | 291 checkUnnamed1573(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 buildUnnamed51() { | 297 buildUnnamed1574() { |
| 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 checkUnnamed51(core.List<core.String> o) { | 304 checkUnnamed1574(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 = buildUnnamed51(); | 315 o.details = buildUnnamed1574(); |
| 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 checkUnnamed51(o.details); | 325 checkUnnamed1574(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 buildUnnamed52() { | 331 buildUnnamed1575() { |
| 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 checkUnnamed52(core.List<api.CreativeCorrections> o) { | 338 checkUnnamed1575(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 core.int buildCounterCreativeFilteringReasonsReasons = 0; | 344 core.int buildCounterCreativeFilteringReasonsReasons = 0; |
| 345 buildCreativeFilteringReasonsReasons() { | 345 buildCreativeFilteringReasonsReasons() { |
| 346 var o = new api.CreativeFilteringReasonsReasons(); | 346 var o = new api.CreativeFilteringReasonsReasons(); |
| 347 buildCounterCreativeFilteringReasonsReasons++; | 347 buildCounterCreativeFilteringReasonsReasons++; |
| 348 if (buildCounterCreativeFilteringReasonsReasons < 3) { | 348 if (buildCounterCreativeFilteringReasonsReasons < 3) { |
| 349 o.filteringCount = "foo"; | 349 o.filteringCount = "foo"; |
| 350 o.filteringStatus = 42; | 350 o.filteringStatus = 42; |
| 351 } | 351 } |
| 352 buildCounterCreativeFilteringReasonsReasons--; | 352 buildCounterCreativeFilteringReasonsReasons--; |
| 353 return o; | 353 return o; |
| 354 } | 354 } |
| 355 | 355 |
| 356 checkCreativeFilteringReasonsReasons(api.CreativeFilteringReasonsReasons o) { | 356 checkCreativeFilteringReasonsReasons(api.CreativeFilteringReasonsReasons o) { |
| 357 buildCounterCreativeFilteringReasonsReasons++; | 357 buildCounterCreativeFilteringReasonsReasons++; |
| 358 if (buildCounterCreativeFilteringReasonsReasons < 3) { | 358 if (buildCounterCreativeFilteringReasonsReasons < 3) { |
| 359 unittest.expect(o.filteringCount, unittest.equals('foo')); | 359 unittest.expect(o.filteringCount, unittest.equals('foo')); |
| 360 unittest.expect(o.filteringStatus, unittest.equals(42)); | 360 unittest.expect(o.filteringStatus, unittest.equals(42)); |
| 361 } | 361 } |
| 362 buildCounterCreativeFilteringReasonsReasons--; | 362 buildCounterCreativeFilteringReasonsReasons--; |
| 363 } | 363 } |
| 364 | 364 |
| 365 buildUnnamed53() { | 365 buildUnnamed1576() { |
| 366 var o = new core.List<api.CreativeFilteringReasonsReasons>(); | 366 var o = new core.List<api.CreativeFilteringReasonsReasons>(); |
| 367 o.add(buildCreativeFilteringReasonsReasons()); | 367 o.add(buildCreativeFilteringReasonsReasons()); |
| 368 o.add(buildCreativeFilteringReasonsReasons()); | 368 o.add(buildCreativeFilteringReasonsReasons()); |
| 369 return o; | 369 return o; |
| 370 } | 370 } |
| 371 | 371 |
| 372 checkUnnamed53(core.List<api.CreativeFilteringReasonsReasons> o) { | 372 checkUnnamed1576(core.List<api.CreativeFilteringReasonsReasons> o) { |
| 373 unittest.expect(o, unittest.hasLength(2)); | 373 unittest.expect(o, unittest.hasLength(2)); |
| 374 checkCreativeFilteringReasonsReasons(o[0]); | 374 checkCreativeFilteringReasonsReasons(o[0]); |
| 375 checkCreativeFilteringReasonsReasons(o[1]); | 375 checkCreativeFilteringReasonsReasons(o[1]); |
| 376 } | 376 } |
| 377 | 377 |
| 378 core.int buildCounterCreativeFilteringReasons = 0; | 378 core.int buildCounterCreativeFilteringReasons = 0; |
| 379 buildCreativeFilteringReasons() { | 379 buildCreativeFilteringReasons() { |
| 380 var o = new api.CreativeFilteringReasons(); | 380 var o = new api.CreativeFilteringReasons(); |
| 381 buildCounterCreativeFilteringReasons++; | 381 buildCounterCreativeFilteringReasons++; |
| 382 if (buildCounterCreativeFilteringReasons < 3) { | 382 if (buildCounterCreativeFilteringReasons < 3) { |
| 383 o.date = "foo"; | 383 o.date = "foo"; |
| 384 o.reasons = buildUnnamed53(); | 384 o.reasons = buildUnnamed1576(); |
| 385 } | 385 } |
| 386 buildCounterCreativeFilteringReasons--; | 386 buildCounterCreativeFilteringReasons--; |
| 387 return o; | 387 return o; |
| 388 } | 388 } |
| 389 | 389 |
| 390 checkCreativeFilteringReasons(api.CreativeFilteringReasons o) { | 390 checkCreativeFilteringReasons(api.CreativeFilteringReasons o) { |
| 391 buildCounterCreativeFilteringReasons++; | 391 buildCounterCreativeFilteringReasons++; |
| 392 if (buildCounterCreativeFilteringReasons < 3) { | 392 if (buildCounterCreativeFilteringReasons < 3) { |
| 393 unittest.expect(o.date, unittest.equals('foo')); | 393 unittest.expect(o.date, unittest.equals('foo')); |
| 394 checkUnnamed53(o.reasons); | 394 checkUnnamed1576(o.reasons); |
| 395 } | 395 } |
| 396 buildCounterCreativeFilteringReasons--; | 396 buildCounterCreativeFilteringReasons--; |
| 397 } | 397 } |
| 398 | 398 |
| 399 buildUnnamed54() { | 399 buildUnnamed1577() { |
| 400 var o = new core.List<core.int>(); | 400 var o = new core.List<core.int>(); |
| 401 o.add(42); | 401 o.add(42); |
| 402 o.add(42); | 402 o.add(42); |
| 403 return o; | 403 return o; |
| 404 } | 404 } |
| 405 | 405 |
| 406 checkUnnamed54(core.List<core.int> o) { | 406 checkUnnamed1577(core.List<core.int> o) { |
| 407 unittest.expect(o, unittest.hasLength(2)); | 407 unittest.expect(o, unittest.hasLength(2)); |
| 408 unittest.expect(o[0], unittest.equals(42)); | 408 unittest.expect(o[0], unittest.equals(42)); |
| 409 unittest.expect(o[1], unittest.equals(42)); | 409 unittest.expect(o[1], unittest.equals(42)); |
| 410 } | 410 } |
| 411 | 411 |
| 412 buildUnnamed55() { | 412 buildUnnamed1578() { |
| 413 var o = new core.List<core.int>(); | 413 var o = new core.List<core.int>(); |
| 414 o.add(42); | 414 o.add(42); |
| 415 o.add(42); | 415 o.add(42); |
| 416 return o; | 416 return o; |
| 417 } | 417 } |
| 418 | 418 |
| 419 checkUnnamed55(core.List<core.int> o) { | 419 checkUnnamed1578(core.List<core.int> o) { |
| 420 unittest.expect(o, unittest.hasLength(2)); | 420 unittest.expect(o, unittest.hasLength(2)); |
| 421 unittest.expect(o[0], unittest.equals(42)); | 421 unittest.expect(o[0], unittest.equals(42)); |
| 422 unittest.expect(o[1], unittest.equals(42)); | 422 unittest.expect(o[1], unittest.equals(42)); |
| 423 } | 423 } |
| 424 | 424 |
| 425 buildUnnamed56() { | 425 buildUnnamed1579() { |
| 426 var o = new core.List<core.int>(); | 426 var o = new core.List<core.int>(); |
| 427 o.add(42); | 427 o.add(42); |
| 428 o.add(42); | 428 o.add(42); |
| 429 return o; | 429 return o; |
| 430 } | 430 } |
| 431 | 431 |
| 432 checkUnnamed56(core.List<core.int> o) { | 432 checkUnnamed1579(core.List<core.int> o) { |
| 433 unittest.expect(o, unittest.hasLength(2)); | 433 unittest.expect(o, unittest.hasLength(2)); |
| 434 unittest.expect(o[0], unittest.equals(42)); | 434 unittest.expect(o[0], unittest.equals(42)); |
| 435 unittest.expect(o[1], unittest.equals(42)); | 435 unittest.expect(o[1], unittest.equals(42)); |
| 436 } | 436 } |
| 437 | 437 |
| 438 buildUnnamed57() { | 438 buildUnnamed1580() { |
| 439 var o = new core.List<core.String>(); | 439 var o = new core.List<core.String>(); |
| 440 o.add("foo"); | 440 o.add("foo"); |
| 441 o.add("foo"); | 441 o.add("foo"); |
| 442 return o; | 442 return o; |
| 443 } | 443 } |
| 444 | 444 |
| 445 checkUnnamed57(core.List<core.String> o) { | 445 checkUnnamed1580(core.List<core.String> o) { |
| 446 unittest.expect(o, unittest.hasLength(2)); | 446 unittest.expect(o, unittest.hasLength(2)); |
| 447 unittest.expect(o[0], unittest.equals('foo')); | 447 unittest.expect(o[0], unittest.equals('foo')); |
| 448 unittest.expect(o[1], unittest.equals('foo')); | 448 unittest.expect(o[1], unittest.equals('foo')); |
| 449 } | 449 } |
| 450 | 450 |
| 451 buildUnnamed58() { | 451 buildUnnamed1581() { |
| 452 var o = new core.List<core.int>(); | 452 var o = new core.List<core.int>(); |
| 453 o.add(42); | 453 o.add(42); |
| 454 o.add(42); | 454 o.add(42); |
| 455 return o; | 455 return o; |
| 456 } | 456 } |
| 457 | 457 |
| 458 checkUnnamed58(core.List<core.int> o) { | 458 checkUnnamed1581(core.List<core.int> o) { |
| 459 unittest.expect(o, unittest.hasLength(2)); | 459 unittest.expect(o, unittest.hasLength(2)); |
| 460 unittest.expect(o[0], unittest.equals(42)); | 460 unittest.expect(o[0], unittest.equals(42)); |
| 461 unittest.expect(o[1], unittest.equals(42)); | 461 unittest.expect(o[1], unittest.equals(42)); |
| 462 } | 462 } |
| 463 | 463 |
| 464 buildUnnamed59() { | 464 buildUnnamed1582() { |
| 465 var o = new core.List<core.String>(); | 465 var o = new core.List<core.String>(); |
| 466 o.add("foo"); | 466 o.add("foo"); |
| 467 o.add("foo"); | 467 o.add("foo"); |
| 468 return o; | 468 return o; |
| 469 } | 469 } |
| 470 | 470 |
| 471 checkUnnamed59(core.List<core.String> o) { | 471 checkUnnamed1582(core.List<core.String> o) { |
| 472 unittest.expect(o, unittest.hasLength(2)); | 472 unittest.expect(o, unittest.hasLength(2)); |
| 473 unittest.expect(o[0], unittest.equals('foo')); | 473 unittest.expect(o[0], unittest.equals('foo')); |
| 474 unittest.expect(o[1], unittest.equals('foo')); | 474 unittest.expect(o[1], unittest.equals('foo')); |
| 475 } | 475 } |
| 476 | 476 |
| 477 core.int buildCounterCreativeServingRestrictionsContexts = 0; | 477 core.int buildCounterCreativeServingRestrictionsContexts = 0; |
| 478 buildCreativeServingRestrictionsContexts() { | 478 buildCreativeServingRestrictionsContexts() { |
| 479 var o = new api.CreativeServingRestrictionsContexts(); | 479 var o = new api.CreativeServingRestrictionsContexts(); |
| 480 buildCounterCreativeServingRestrictionsContexts++; | 480 buildCounterCreativeServingRestrictionsContexts++; |
| 481 if (buildCounterCreativeServingRestrictionsContexts < 3) { | 481 if (buildCounterCreativeServingRestrictionsContexts < 3) { |
| 482 o.auctionType = buildUnnamed57(); | 482 o.auctionType = buildUnnamed1580(); |
| 483 o.contextType = "foo"; | 483 o.contextType = "foo"; |
| 484 o.geoCriteriaId = buildUnnamed58(); | 484 o.geoCriteriaId = buildUnnamed1581(); |
| 485 o.platform = buildUnnamed59(); | 485 o.platform = buildUnnamed1582(); |
| 486 } | 486 } |
| 487 buildCounterCreativeServingRestrictionsContexts--; | 487 buildCounterCreativeServingRestrictionsContexts--; |
| 488 return o; | 488 return o; |
| 489 } | 489 } |
| 490 | 490 |
| 491 checkCreativeServingRestrictionsContexts(api.CreativeServingRestrictionsContexts
o) { | 491 checkCreativeServingRestrictionsContexts(api.CreativeServingRestrictionsContexts
o) { |
| 492 buildCounterCreativeServingRestrictionsContexts++; | 492 buildCounterCreativeServingRestrictionsContexts++; |
| 493 if (buildCounterCreativeServingRestrictionsContexts < 3) { | 493 if (buildCounterCreativeServingRestrictionsContexts < 3) { |
| 494 checkUnnamed57(o.auctionType); | 494 checkUnnamed1580(o.auctionType); |
| 495 unittest.expect(o.contextType, unittest.equals('foo')); | 495 unittest.expect(o.contextType, unittest.equals('foo')); |
| 496 checkUnnamed58(o.geoCriteriaId); | 496 checkUnnamed1581(o.geoCriteriaId); |
| 497 checkUnnamed59(o.platform); | 497 checkUnnamed1582(o.platform); |
| 498 } | 498 } |
| 499 buildCounterCreativeServingRestrictionsContexts--; | 499 buildCounterCreativeServingRestrictionsContexts--; |
| 500 } | 500 } |
| 501 | 501 |
| 502 buildUnnamed60() { | 502 buildUnnamed1583() { |
| 503 var o = new core.List<api.CreativeServingRestrictionsContexts>(); | 503 var o = new core.List<api.CreativeServingRestrictionsContexts>(); |
| 504 o.add(buildCreativeServingRestrictionsContexts()); | 504 o.add(buildCreativeServingRestrictionsContexts()); |
| 505 o.add(buildCreativeServingRestrictionsContexts()); | 505 o.add(buildCreativeServingRestrictionsContexts()); |
| 506 return o; | 506 return o; |
| 507 } | 507 } |
| 508 | 508 |
| 509 checkUnnamed60(core.List<api.CreativeServingRestrictionsContexts> o) { | 509 checkUnnamed1583(core.List<api.CreativeServingRestrictionsContexts> o) { |
| 510 unittest.expect(o, unittest.hasLength(2)); | 510 unittest.expect(o, unittest.hasLength(2)); |
| 511 checkCreativeServingRestrictionsContexts(o[0]); | 511 checkCreativeServingRestrictionsContexts(o[0]); |
| 512 checkCreativeServingRestrictionsContexts(o[1]); | 512 checkCreativeServingRestrictionsContexts(o[1]); |
| 513 } | 513 } |
| 514 | 514 |
| 515 buildUnnamed61() { | 515 buildUnnamed1584() { |
| 516 var o = new core.List<core.String>(); | 516 var o = new core.List<core.String>(); |
| 517 o.add("foo"); | 517 o.add("foo"); |
| 518 o.add("foo"); | 518 o.add("foo"); |
| 519 return o; | 519 return o; |
| 520 } | 520 } |
| 521 | 521 |
| 522 checkUnnamed61(core.List<core.String> o) { | 522 checkUnnamed1584(core.List<core.String> o) { |
| 523 unittest.expect(o, unittest.hasLength(2)); | 523 unittest.expect(o, unittest.hasLength(2)); |
| 524 unittest.expect(o[0], unittest.equals('foo')); | 524 unittest.expect(o[0], unittest.equals('foo')); |
| 525 unittest.expect(o[1], unittest.equals('foo')); | 525 unittest.expect(o[1], unittest.equals('foo')); |
| 526 } | 526 } |
| 527 | 527 |
| 528 core.int buildCounterCreativeServingRestrictionsDisapprovalReasons = 0; | 528 core.int buildCounterCreativeServingRestrictionsDisapprovalReasons = 0; |
| 529 buildCreativeServingRestrictionsDisapprovalReasons() { | 529 buildCreativeServingRestrictionsDisapprovalReasons() { |
| 530 var o = new api.CreativeServingRestrictionsDisapprovalReasons(); | 530 var o = new api.CreativeServingRestrictionsDisapprovalReasons(); |
| 531 buildCounterCreativeServingRestrictionsDisapprovalReasons++; | 531 buildCounterCreativeServingRestrictionsDisapprovalReasons++; |
| 532 if (buildCounterCreativeServingRestrictionsDisapprovalReasons < 3) { | 532 if (buildCounterCreativeServingRestrictionsDisapprovalReasons < 3) { |
| 533 o.details = buildUnnamed61(); | 533 o.details = buildUnnamed1584(); |
| 534 o.reason = "foo"; | 534 o.reason = "foo"; |
| 535 } | 535 } |
| 536 buildCounterCreativeServingRestrictionsDisapprovalReasons--; | 536 buildCounterCreativeServingRestrictionsDisapprovalReasons--; |
| 537 return o; | 537 return o; |
| 538 } | 538 } |
| 539 | 539 |
| 540 checkCreativeServingRestrictionsDisapprovalReasons(api.CreativeServingRestrictio
nsDisapprovalReasons o) { | 540 checkCreativeServingRestrictionsDisapprovalReasons(api.CreativeServingRestrictio
nsDisapprovalReasons o) { |
| 541 buildCounterCreativeServingRestrictionsDisapprovalReasons++; | 541 buildCounterCreativeServingRestrictionsDisapprovalReasons++; |
| 542 if (buildCounterCreativeServingRestrictionsDisapprovalReasons < 3) { | 542 if (buildCounterCreativeServingRestrictionsDisapprovalReasons < 3) { |
| 543 checkUnnamed61(o.details); | 543 checkUnnamed1584(o.details); |
| 544 unittest.expect(o.reason, unittest.equals('foo')); | 544 unittest.expect(o.reason, unittest.equals('foo')); |
| 545 } | 545 } |
| 546 buildCounterCreativeServingRestrictionsDisapprovalReasons--; | 546 buildCounterCreativeServingRestrictionsDisapprovalReasons--; |
| 547 } | 547 } |
| 548 | 548 |
| 549 buildUnnamed62() { | 549 buildUnnamed1585() { |
| 550 var o = new core.List<api.CreativeServingRestrictionsDisapprovalReasons>(); | 550 var o = new core.List<api.CreativeServingRestrictionsDisapprovalReasons>(); |
| 551 o.add(buildCreativeServingRestrictionsDisapprovalReasons()); | 551 o.add(buildCreativeServingRestrictionsDisapprovalReasons()); |
| 552 o.add(buildCreativeServingRestrictionsDisapprovalReasons()); | 552 o.add(buildCreativeServingRestrictionsDisapprovalReasons()); |
| 553 return o; | 553 return o; |
| 554 } | 554 } |
| 555 | 555 |
| 556 checkUnnamed62(core.List<api.CreativeServingRestrictionsDisapprovalReasons> o) { | 556 checkUnnamed1585(core.List<api.CreativeServingRestrictionsDisapprovalReasons> o)
{ |
| 557 unittest.expect(o, unittest.hasLength(2)); | 557 unittest.expect(o, unittest.hasLength(2)); |
| 558 checkCreativeServingRestrictionsDisapprovalReasons(o[0]); | 558 checkCreativeServingRestrictionsDisapprovalReasons(o[0]); |
| 559 checkCreativeServingRestrictionsDisapprovalReasons(o[1]); | 559 checkCreativeServingRestrictionsDisapprovalReasons(o[1]); |
| 560 } | 560 } |
| 561 | 561 |
| 562 core.int buildCounterCreativeServingRestrictions = 0; | 562 core.int buildCounterCreativeServingRestrictions = 0; |
| 563 buildCreativeServingRestrictions() { | 563 buildCreativeServingRestrictions() { |
| 564 var o = new api.CreativeServingRestrictions(); | 564 var o = new api.CreativeServingRestrictions(); |
| 565 buildCounterCreativeServingRestrictions++; | 565 buildCounterCreativeServingRestrictions++; |
| 566 if (buildCounterCreativeServingRestrictions < 3) { | 566 if (buildCounterCreativeServingRestrictions < 3) { |
| 567 o.contexts = buildUnnamed60(); | 567 o.contexts = buildUnnamed1583(); |
| 568 o.disapprovalReasons = buildUnnamed62(); | 568 o.disapprovalReasons = buildUnnamed1585(); |
| 569 o.reason = "foo"; | 569 o.reason = "foo"; |
| 570 } | 570 } |
| 571 buildCounterCreativeServingRestrictions--; | 571 buildCounterCreativeServingRestrictions--; |
| 572 return o; | 572 return o; |
| 573 } | 573 } |
| 574 | 574 |
| 575 checkCreativeServingRestrictions(api.CreativeServingRestrictions o) { | 575 checkCreativeServingRestrictions(api.CreativeServingRestrictions o) { |
| 576 buildCounterCreativeServingRestrictions++; | 576 buildCounterCreativeServingRestrictions++; |
| 577 if (buildCounterCreativeServingRestrictions < 3) { | 577 if (buildCounterCreativeServingRestrictions < 3) { |
| 578 checkUnnamed60(o.contexts); | 578 checkUnnamed1583(o.contexts); |
| 579 checkUnnamed62(o.disapprovalReasons); | 579 checkUnnamed1585(o.disapprovalReasons); |
| 580 unittest.expect(o.reason, unittest.equals('foo')); | 580 unittest.expect(o.reason, unittest.equals('foo')); |
| 581 } | 581 } |
| 582 buildCounterCreativeServingRestrictions--; | 582 buildCounterCreativeServingRestrictions--; |
| 583 } | 583 } |
| 584 | 584 |
| 585 buildUnnamed63() { | 585 buildUnnamed1586() { |
| 586 var o = new core.List<api.CreativeServingRestrictions>(); | 586 var o = new core.List<api.CreativeServingRestrictions>(); |
| 587 o.add(buildCreativeServingRestrictions()); | 587 o.add(buildCreativeServingRestrictions()); |
| 588 o.add(buildCreativeServingRestrictions()); | 588 o.add(buildCreativeServingRestrictions()); |
| 589 return o; | 589 return o; |
| 590 } | 590 } |
| 591 | 591 |
| 592 checkUnnamed63(core.List<api.CreativeServingRestrictions> o) { | 592 checkUnnamed1586(core.List<api.CreativeServingRestrictions> o) { |
| 593 unittest.expect(o, unittest.hasLength(2)); | 593 unittest.expect(o, unittest.hasLength(2)); |
| 594 checkCreativeServingRestrictions(o[0]); | 594 checkCreativeServingRestrictions(o[0]); |
| 595 checkCreativeServingRestrictions(o[1]); | 595 checkCreativeServingRestrictions(o[1]); |
| 596 } | 596 } |
| 597 | 597 |
| 598 buildUnnamed64() { | 598 buildUnnamed1587() { |
| 599 var o = new core.List<core.int>(); | 599 var o = new core.List<core.int>(); |
| 600 o.add(42); | 600 o.add(42); |
| 601 o.add(42); | 601 o.add(42); |
| 602 return o; | 602 return o; |
| 603 } | 603 } |
| 604 | 604 |
| 605 checkUnnamed64(core.List<core.int> o) { | 605 checkUnnamed1587(core.List<core.int> o) { |
| 606 unittest.expect(o, unittest.hasLength(2)); | 606 unittest.expect(o, unittest.hasLength(2)); |
| 607 unittest.expect(o[0], unittest.equals(42)); | 607 unittest.expect(o[0], unittest.equals(42)); |
| 608 unittest.expect(o[1], unittest.equals(42)); | 608 unittest.expect(o[1], unittest.equals(42)); |
| 609 } | 609 } |
| 610 | 610 |
| 611 core.int buildCounterCreative = 0; | 611 core.int buildCounterCreative = 0; |
| 612 buildCreative() { | 612 buildCreative() { |
| 613 var o = new api.Creative(); | 613 var o = new api.Creative(); |
| 614 buildCounterCreative++; | 614 buildCounterCreative++; |
| 615 if (buildCounterCreative < 3) { | 615 if (buildCounterCreative < 3) { |
| 616 o.HTMLSnippet = "foo"; | 616 o.HTMLSnippet = "foo"; |
| 617 o.accountId = 42; | 617 o.accountId = 42; |
| 618 o.advertiserId = buildUnnamed48(); | 618 o.advertiserId = buildUnnamed1571(); |
| 619 o.advertiserName = "foo"; | 619 o.advertiserName = "foo"; |
| 620 o.agencyId = "foo"; | 620 o.agencyId = "foo"; |
| 621 o.attribute = buildUnnamed49(); | 621 o.attribute = buildUnnamed1572(); |
| 622 o.buyerCreativeId = "foo"; | 622 o.buyerCreativeId = "foo"; |
| 623 o.clickThroughUrl = buildUnnamed50(); | 623 o.clickThroughUrl = buildUnnamed1573(); |
| 624 o.corrections = buildUnnamed52(); | 624 o.corrections = buildUnnamed1575(); |
| 625 o.dealsStatus = "foo"; | 625 o.dealsStatus = "foo"; |
| 626 o.filteringReasons = buildCreativeFilteringReasons(); | 626 o.filteringReasons = buildCreativeFilteringReasons(); |
| 627 o.height = 42; | 627 o.height = 42; |
| 628 o.kind = "foo"; | 628 o.kind = "foo"; |
| 629 o.openAuctionStatus = "foo"; | 629 o.openAuctionStatus = "foo"; |
| 630 o.productCategories = buildUnnamed54(); | 630 o.productCategories = buildUnnamed1577(); |
| 631 o.restrictedCategories = buildUnnamed55(); | 631 o.restrictedCategories = buildUnnamed1578(); |
| 632 o.sensitiveCategories = buildUnnamed56(); | 632 o.sensitiveCategories = buildUnnamed1579(); |
| 633 o.servingRestrictions = buildUnnamed63(); | 633 o.servingRestrictions = buildUnnamed1586(); |
| 634 o.vendorType = buildUnnamed64(); | 634 o.vendorType = buildUnnamed1587(); |
| 635 o.videoURL = "foo"; | 635 o.videoURL = "foo"; |
| 636 o.width = 42; | 636 o.width = 42; |
| 637 } | 637 } |
| 638 buildCounterCreative--; | 638 buildCounterCreative--; |
| 639 return o; | 639 return o; |
| 640 } | 640 } |
| 641 | 641 |
| 642 checkCreative(api.Creative o) { | 642 checkCreative(api.Creative o) { |
| 643 buildCounterCreative++; | 643 buildCounterCreative++; |
| 644 if (buildCounterCreative < 3) { | 644 if (buildCounterCreative < 3) { |
| 645 unittest.expect(o.HTMLSnippet, unittest.equals('foo')); | 645 unittest.expect(o.HTMLSnippet, unittest.equals('foo')); |
| 646 unittest.expect(o.accountId, unittest.equals(42)); | 646 unittest.expect(o.accountId, unittest.equals(42)); |
| 647 checkUnnamed48(o.advertiserId); | 647 checkUnnamed1571(o.advertiserId); |
| 648 unittest.expect(o.advertiserName, unittest.equals('foo')); | 648 unittest.expect(o.advertiserName, unittest.equals('foo')); |
| 649 unittest.expect(o.agencyId, unittest.equals('foo')); | 649 unittest.expect(o.agencyId, unittest.equals('foo')); |
| 650 checkUnnamed49(o.attribute); | 650 checkUnnamed1572(o.attribute); |
| 651 unittest.expect(o.buyerCreativeId, unittest.equals('foo')); | 651 unittest.expect(o.buyerCreativeId, unittest.equals('foo')); |
| 652 checkUnnamed50(o.clickThroughUrl); | 652 checkUnnamed1573(o.clickThroughUrl); |
| 653 checkUnnamed52(o.corrections); | 653 checkUnnamed1575(o.corrections); |
| 654 unittest.expect(o.dealsStatus, unittest.equals('foo')); | 654 unittest.expect(o.dealsStatus, unittest.equals('foo')); |
| 655 checkCreativeFilteringReasons(o.filteringReasons); | 655 checkCreativeFilteringReasons(o.filteringReasons); |
| 656 unittest.expect(o.height, unittest.equals(42)); | 656 unittest.expect(o.height, unittest.equals(42)); |
| 657 unittest.expect(o.kind, unittest.equals('foo')); | 657 unittest.expect(o.kind, unittest.equals('foo')); |
| 658 unittest.expect(o.openAuctionStatus, unittest.equals('foo')); | 658 unittest.expect(o.openAuctionStatus, unittest.equals('foo')); |
| 659 checkUnnamed54(o.productCategories); | 659 checkUnnamed1577(o.productCategories); |
| 660 checkUnnamed55(o.restrictedCategories); | 660 checkUnnamed1578(o.restrictedCategories); |
| 661 checkUnnamed56(o.sensitiveCategories); | 661 checkUnnamed1579(o.sensitiveCategories); |
| 662 checkUnnamed63(o.servingRestrictions); | 662 checkUnnamed1586(o.servingRestrictions); |
| 663 checkUnnamed64(o.vendorType); | 663 checkUnnamed1587(o.vendorType); |
| 664 unittest.expect(o.videoURL, unittest.equals('foo')); | 664 unittest.expect(o.videoURL, unittest.equals('foo')); |
| 665 unittest.expect(o.width, unittest.equals(42)); | 665 unittest.expect(o.width, unittest.equals(42)); |
| 666 } | 666 } |
| 667 buildCounterCreative--; | 667 buildCounterCreative--; |
| 668 } | 668 } |
| 669 | 669 |
| 670 buildUnnamed65() { | 670 buildUnnamed1588() { |
| 671 var o = new core.List<api.Creative>(); | 671 var o = new core.List<api.Creative>(); |
| 672 o.add(buildCreative()); | 672 o.add(buildCreative()); |
| 673 o.add(buildCreative()); | 673 o.add(buildCreative()); |
| 674 return o; | 674 return o; |
| 675 } | 675 } |
| 676 | 676 |
| 677 checkUnnamed65(core.List<api.Creative> o) { | 677 checkUnnamed1588(core.List<api.Creative> o) { |
| 678 unittest.expect(o, unittest.hasLength(2)); | 678 unittest.expect(o, unittest.hasLength(2)); |
| 679 checkCreative(o[0]); | 679 checkCreative(o[0]); |
| 680 checkCreative(o[1]); | 680 checkCreative(o[1]); |
| 681 } | 681 } |
| 682 | 682 |
| 683 core.int buildCounterCreativesList = 0; | 683 core.int buildCounterCreativesList = 0; |
| 684 buildCreativesList() { | 684 buildCreativesList() { |
| 685 var o = new api.CreativesList(); | 685 var o = new api.CreativesList(); |
| 686 buildCounterCreativesList++; | 686 buildCounterCreativesList++; |
| 687 if (buildCounterCreativesList < 3) { | 687 if (buildCounterCreativesList < 3) { |
| 688 o.items = buildUnnamed65(); | 688 o.items = buildUnnamed1588(); |
| 689 o.kind = "foo"; | 689 o.kind = "foo"; |
| 690 o.nextPageToken = "foo"; | 690 o.nextPageToken = "foo"; |
| 691 } | 691 } |
| 692 buildCounterCreativesList--; | 692 buildCounterCreativesList--; |
| 693 return o; | 693 return o; |
| 694 } | 694 } |
| 695 | 695 |
| 696 checkCreativesList(api.CreativesList o) { | 696 checkCreativesList(api.CreativesList o) { |
| 697 buildCounterCreativesList++; | 697 buildCounterCreativesList++; |
| 698 if (buildCounterCreativesList < 3) { | 698 if (buildCounterCreativesList < 3) { |
| 699 checkUnnamed65(o.items); | 699 checkUnnamed1588(o.items); |
| 700 unittest.expect(o.kind, unittest.equals('foo')); | 700 unittest.expect(o.kind, unittest.equals('foo')); |
| 701 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 701 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 702 } | 702 } |
| 703 buildCounterCreativesList--; | 703 buildCounterCreativesList--; |
| 704 } | 704 } |
| 705 | 705 |
| 706 buildUnnamed66() { | 706 buildUnnamed1589() { |
| 707 var o = new core.List<core.Object>(); | 707 var o = new core.List<core.Object>(); |
| 708 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); | 708 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); |
| 709 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); | 709 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); |
| 710 return o; | 710 return o; |
| 711 } | 711 } |
| 712 | 712 |
| 713 checkUnnamed66(core.List<core.Object> o) { | 713 checkUnnamed1589(core.List<core.Object> o) { |
| 714 unittest.expect(o, unittest.hasLength(2)); | 714 unittest.expect(o, unittest.hasLength(2)); |
| 715 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')); | 715 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')); |
| 716 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')); | 716 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')); |
| 717 } | 717 } |
| 718 | 718 |
| 719 buildUnnamed67() { | 719 buildUnnamed1590() { |
| 720 var o = new core.List<core.Object>(); | 720 var o = new core.List<core.Object>(); |
| 721 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); | 721 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); |
| 722 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); | 722 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); |
| 723 return o; | 723 return o; |
| 724 } | 724 } |
| 725 | 725 |
| 726 checkUnnamed67(core.List<core.Object> o) { | 726 checkUnnamed1590(core.List<core.Object> o) { |
| 727 unittest.expect(o, unittest.hasLength(2)); | 727 unittest.expect(o, unittest.hasLength(2)); |
| 728 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')); | 728 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')); |
| 729 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')); | 729 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')); |
| 730 } | 730 } |
| 731 | 731 |
| 732 buildUnnamed68() { | 732 buildUnnamed1591() { |
| 733 var o = new core.List<core.Object>(); | 733 var o = new core.List<core.Object>(); |
| 734 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); | 734 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); |
| 735 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); | 735 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); |
| 736 return o; | 736 return o; |
| 737 } | 737 } |
| 738 | 738 |
| 739 checkUnnamed68(core.List<core.Object> o) { | 739 checkUnnamed1591(core.List<core.Object> o) { |
| 740 unittest.expect(o, unittest.hasLength(2)); | 740 unittest.expect(o, unittest.hasLength(2)); |
| 741 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')); | 741 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')); |
| 742 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')); | 742 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')); |
| 743 } | 743 } |
| 744 | 744 |
| 745 buildUnnamed69() { | 745 buildUnnamed1592() { |
| 746 var o = new core.List<core.Object>(); | 746 var o = new core.List<core.Object>(); |
| 747 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); | 747 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); |
| 748 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); | 748 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); |
| 749 return o; | 749 return o; |
| 750 } | 750 } |
| 751 | 751 |
| 752 checkUnnamed69(core.List<core.Object> o) { | 752 checkUnnamed1592(core.List<core.Object> o) { |
| 753 unittest.expect(o, unittest.hasLength(2)); | 753 unittest.expect(o, unittest.hasLength(2)); |
| 754 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')); | 754 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')); |
| 755 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')); | 755 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')); |
| 756 } | 756 } |
| 757 | 757 |
| 758 core.int buildCounterPerformanceReport = 0; | 758 core.int buildCounterPerformanceReport = 0; |
| 759 buildPerformanceReport() { | 759 buildPerformanceReport() { |
| 760 var o = new api.PerformanceReport(); | 760 var o = new api.PerformanceReport(); |
| 761 buildCounterPerformanceReport++; | 761 buildCounterPerformanceReport++; |
| 762 if (buildCounterPerformanceReport < 3) { | 762 if (buildCounterPerformanceReport < 3) { |
| 763 o.bidRate = 42.0; | 763 o.bidRate = 42.0; |
| 764 o.bidRequestRate = 42.0; | 764 o.bidRequestRate = 42.0; |
| 765 o.calloutStatusRate = buildUnnamed66(); | 765 o.calloutStatusRate = buildUnnamed1589(); |
| 766 o.cookieMatcherStatusRate = buildUnnamed67(); | 766 o.cookieMatcherStatusRate = buildUnnamed1590(); |
| 767 o.creativeStatusRate = buildUnnamed68(); | 767 o.creativeStatusRate = buildUnnamed1591(); |
| 768 o.filteredBidRate = 42.0; | 768 o.filteredBidRate = 42.0; |
| 769 o.hostedMatchStatusRate = buildUnnamed69(); | 769 o.hostedMatchStatusRate = buildUnnamed1592(); |
| 770 o.inventoryMatchRate = 42.0; | 770 o.inventoryMatchRate = 42.0; |
| 771 o.kind = "foo"; | 771 o.kind = "foo"; |
| 772 o.latency50thPercentile = 42.0; | 772 o.latency50thPercentile = 42.0; |
| 773 o.latency85thPercentile = 42.0; | 773 o.latency85thPercentile = 42.0; |
| 774 o.latency95thPercentile = 42.0; | 774 o.latency95thPercentile = 42.0; |
| 775 o.noQuotaInRegion = 42.0; | 775 o.noQuotaInRegion = 42.0; |
| 776 o.outOfQuota = 42.0; | 776 o.outOfQuota = 42.0; |
| 777 o.pixelMatchRequests = 42.0; | 777 o.pixelMatchRequests = 42.0; |
| 778 o.pixelMatchResponses = 42.0; | 778 o.pixelMatchResponses = 42.0; |
| 779 o.quotaConfiguredLimit = 42.0; | 779 o.quotaConfiguredLimit = 42.0; |
| 780 o.quotaThrottledLimit = 42.0; | 780 o.quotaThrottledLimit = 42.0; |
| 781 o.region = "foo"; | 781 o.region = "foo"; |
| 782 o.successfulRequestRate = 42.0; | 782 o.successfulRequestRate = 42.0; |
| 783 o.timestamp = "foo"; | 783 o.timestamp = "foo"; |
| 784 o.unsuccessfulRequestRate = 42.0; | 784 o.unsuccessfulRequestRate = 42.0; |
| 785 } | 785 } |
| 786 buildCounterPerformanceReport--; | 786 buildCounterPerformanceReport--; |
| 787 return o; | 787 return o; |
| 788 } | 788 } |
| 789 | 789 |
| 790 checkPerformanceReport(api.PerformanceReport o) { | 790 checkPerformanceReport(api.PerformanceReport o) { |
| 791 buildCounterPerformanceReport++; | 791 buildCounterPerformanceReport++; |
| 792 if (buildCounterPerformanceReport < 3) { | 792 if (buildCounterPerformanceReport < 3) { |
| 793 unittest.expect(o.bidRate, unittest.equals(42.0)); | 793 unittest.expect(o.bidRate, unittest.equals(42.0)); |
| 794 unittest.expect(o.bidRequestRate, unittest.equals(42.0)); | 794 unittest.expect(o.bidRequestRate, unittest.equals(42.0)); |
| 795 checkUnnamed66(o.calloutStatusRate); | 795 checkUnnamed1589(o.calloutStatusRate); |
| 796 checkUnnamed67(o.cookieMatcherStatusRate); | 796 checkUnnamed1590(o.cookieMatcherStatusRate); |
| 797 checkUnnamed68(o.creativeStatusRate); | 797 checkUnnamed1591(o.creativeStatusRate); |
| 798 unittest.expect(o.filteredBidRate, unittest.equals(42.0)); | 798 unittest.expect(o.filteredBidRate, unittest.equals(42.0)); |
| 799 checkUnnamed69(o.hostedMatchStatusRate); | 799 checkUnnamed1592(o.hostedMatchStatusRate); |
| 800 unittest.expect(o.inventoryMatchRate, unittest.equals(42.0)); | 800 unittest.expect(o.inventoryMatchRate, unittest.equals(42.0)); |
| 801 unittest.expect(o.kind, unittest.equals('foo')); | 801 unittest.expect(o.kind, unittest.equals('foo')); |
| 802 unittest.expect(o.latency50thPercentile, unittest.equals(42.0)); | 802 unittest.expect(o.latency50thPercentile, unittest.equals(42.0)); |
| 803 unittest.expect(o.latency85thPercentile, unittest.equals(42.0)); | 803 unittest.expect(o.latency85thPercentile, unittest.equals(42.0)); |
| 804 unittest.expect(o.latency95thPercentile, unittest.equals(42.0)); | 804 unittest.expect(o.latency95thPercentile, unittest.equals(42.0)); |
| 805 unittest.expect(o.noQuotaInRegion, unittest.equals(42.0)); | 805 unittest.expect(o.noQuotaInRegion, unittest.equals(42.0)); |
| 806 unittest.expect(o.outOfQuota, unittest.equals(42.0)); | 806 unittest.expect(o.outOfQuota, unittest.equals(42.0)); |
| 807 unittest.expect(o.pixelMatchRequests, unittest.equals(42.0)); | 807 unittest.expect(o.pixelMatchRequests, unittest.equals(42.0)); |
| 808 unittest.expect(o.pixelMatchResponses, unittest.equals(42.0)); | 808 unittest.expect(o.pixelMatchResponses, unittest.equals(42.0)); |
| 809 unittest.expect(o.quotaConfiguredLimit, unittest.equals(42.0)); | 809 unittest.expect(o.quotaConfiguredLimit, unittest.equals(42.0)); |
| 810 unittest.expect(o.quotaThrottledLimit, unittest.equals(42.0)); | 810 unittest.expect(o.quotaThrottledLimit, unittest.equals(42.0)); |
| 811 unittest.expect(o.region, unittest.equals('foo')); | 811 unittest.expect(o.region, unittest.equals('foo')); |
| 812 unittest.expect(o.successfulRequestRate, unittest.equals(42.0)); | 812 unittest.expect(o.successfulRequestRate, unittest.equals(42.0)); |
| 813 unittest.expect(o.timestamp, unittest.equals('foo')); | 813 unittest.expect(o.timestamp, unittest.equals('foo')); |
| 814 unittest.expect(o.unsuccessfulRequestRate, unittest.equals(42.0)); | 814 unittest.expect(o.unsuccessfulRequestRate, unittest.equals(42.0)); |
| 815 } | 815 } |
| 816 buildCounterPerformanceReport--; | 816 buildCounterPerformanceReport--; |
| 817 } | 817 } |
| 818 | 818 |
| 819 buildUnnamed70() { | 819 buildUnnamed1593() { |
| 820 var o = new core.List<api.PerformanceReport>(); | 820 var o = new core.List<api.PerformanceReport>(); |
| 821 o.add(buildPerformanceReport()); | 821 o.add(buildPerformanceReport()); |
| 822 o.add(buildPerformanceReport()); | 822 o.add(buildPerformanceReport()); |
| 823 return o; | 823 return o; |
| 824 } | 824 } |
| 825 | 825 |
| 826 checkUnnamed70(core.List<api.PerformanceReport> o) { | 826 checkUnnamed1593(core.List<api.PerformanceReport> o) { |
| 827 unittest.expect(o, unittest.hasLength(2)); | 827 unittest.expect(o, unittest.hasLength(2)); |
| 828 checkPerformanceReport(o[0]); | 828 checkPerformanceReport(o[0]); |
| 829 checkPerformanceReport(o[1]); | 829 checkPerformanceReport(o[1]); |
| 830 } | 830 } |
| 831 | 831 |
| 832 core.int buildCounterPerformanceReportList = 0; | 832 core.int buildCounterPerformanceReportList = 0; |
| 833 buildPerformanceReportList() { | 833 buildPerformanceReportList() { |
| 834 var o = new api.PerformanceReportList(); | 834 var o = new api.PerformanceReportList(); |
| 835 buildCounterPerformanceReportList++; | 835 buildCounterPerformanceReportList++; |
| 836 if (buildCounterPerformanceReportList < 3) { | 836 if (buildCounterPerformanceReportList < 3) { |
| 837 o.kind = "foo"; | 837 o.kind = "foo"; |
| 838 o.performanceReport = buildUnnamed70(); | 838 o.performanceReport = buildUnnamed1593(); |
| 839 } | 839 } |
| 840 buildCounterPerformanceReportList--; | 840 buildCounterPerformanceReportList--; |
| 841 return o; | 841 return o; |
| 842 } | 842 } |
| 843 | 843 |
| 844 checkPerformanceReportList(api.PerformanceReportList o) { | 844 checkPerformanceReportList(api.PerformanceReportList o) { |
| 845 buildCounterPerformanceReportList++; | 845 buildCounterPerformanceReportList++; |
| 846 if (buildCounterPerformanceReportList < 3) { | 846 if (buildCounterPerformanceReportList < 3) { |
| 847 unittest.expect(o.kind, unittest.equals('foo')); | 847 unittest.expect(o.kind, unittest.equals('foo')); |
| 848 checkUnnamed70(o.performanceReport); | 848 checkUnnamed1593(o.performanceReport); |
| 849 } | 849 } |
| 850 buildCounterPerformanceReportList--; | 850 buildCounterPerformanceReportList--; |
| 851 } | 851 } |
| 852 | 852 |
| 853 buildUnnamed71() { | 853 buildUnnamed1594() { |
| 854 var o = new core.List<core.String>(); | 854 var o = new core.List<core.String>(); |
| 855 o.add("foo"); | 855 o.add("foo"); |
| 856 o.add("foo"); | 856 o.add("foo"); |
| 857 return o; | 857 return o; |
| 858 } | 858 } |
| 859 | 859 |
| 860 checkUnnamed71(core.List<core.String> o) { | 860 checkUnnamed1594(core.List<core.String> o) { |
| 861 unittest.expect(o, unittest.hasLength(2)); | 861 unittest.expect(o, unittest.hasLength(2)); |
| 862 unittest.expect(o[0], unittest.equals('foo')); | 862 unittest.expect(o[0], unittest.equals('foo')); |
| 863 unittest.expect(o[1], unittest.equals('foo')); | 863 unittest.expect(o[1], unittest.equals('foo')); |
| 864 } | 864 } |
| 865 | 865 |
| 866 core.int buildCounterPretargetingConfigDimensions = 0; | 866 core.int buildCounterPretargetingConfigDimensions = 0; |
| 867 buildPretargetingConfigDimensions() { | 867 buildPretargetingConfigDimensions() { |
| 868 var o = new api.PretargetingConfigDimensions(); | 868 var o = new api.PretargetingConfigDimensions(); |
| 869 buildCounterPretargetingConfigDimensions++; | 869 buildCounterPretargetingConfigDimensions++; |
| 870 if (buildCounterPretargetingConfigDimensions < 3) { | 870 if (buildCounterPretargetingConfigDimensions < 3) { |
| 871 o.height = "foo"; | 871 o.height = "foo"; |
| 872 o.width = "foo"; | 872 o.width = "foo"; |
| 873 } | 873 } |
| 874 buildCounterPretargetingConfigDimensions--; | 874 buildCounterPretargetingConfigDimensions--; |
| 875 return o; | 875 return o; |
| 876 } | 876 } |
| 877 | 877 |
| 878 checkPretargetingConfigDimensions(api.PretargetingConfigDimensions o) { | 878 checkPretargetingConfigDimensions(api.PretargetingConfigDimensions o) { |
| 879 buildCounterPretargetingConfigDimensions++; | 879 buildCounterPretargetingConfigDimensions++; |
| 880 if (buildCounterPretargetingConfigDimensions < 3) { | 880 if (buildCounterPretargetingConfigDimensions < 3) { |
| 881 unittest.expect(o.height, unittest.equals('foo')); | 881 unittest.expect(o.height, unittest.equals('foo')); |
| 882 unittest.expect(o.width, unittest.equals('foo')); | 882 unittest.expect(o.width, unittest.equals('foo')); |
| 883 } | 883 } |
| 884 buildCounterPretargetingConfigDimensions--; | 884 buildCounterPretargetingConfigDimensions--; |
| 885 } | 885 } |
| 886 | 886 |
| 887 buildUnnamed72() { | 887 buildUnnamed1595() { |
| 888 var o = new core.List<api.PretargetingConfigDimensions>(); | 888 var o = new core.List<api.PretargetingConfigDimensions>(); |
| 889 o.add(buildPretargetingConfigDimensions()); | 889 o.add(buildPretargetingConfigDimensions()); |
| 890 o.add(buildPretargetingConfigDimensions()); | 890 o.add(buildPretargetingConfigDimensions()); |
| 891 return o; | 891 return o; |
| 892 } | 892 } |
| 893 | 893 |
| 894 checkUnnamed72(core.List<api.PretargetingConfigDimensions> o) { | 894 checkUnnamed1595(core.List<api.PretargetingConfigDimensions> o) { |
| 895 unittest.expect(o, unittest.hasLength(2)); | 895 unittest.expect(o, unittest.hasLength(2)); |
| 896 checkPretargetingConfigDimensions(o[0]); | 896 checkPretargetingConfigDimensions(o[0]); |
| 897 checkPretargetingConfigDimensions(o[1]); | 897 checkPretargetingConfigDimensions(o[1]); |
| 898 } | 898 } |
| 899 | 899 |
| 900 buildUnnamed73() { | 900 buildUnnamed1596() { |
| 901 var o = new core.List<core.String>(); | 901 var o = new core.List<core.String>(); |
| 902 o.add("foo"); | 902 o.add("foo"); |
| 903 o.add("foo"); | 903 o.add("foo"); |
| 904 return o; | 904 return o; |
| 905 } | 905 } |
| 906 | 906 |
| 907 checkUnnamed73(core.List<core.String> o) { | 907 checkUnnamed1596(core.List<core.String> o) { |
| 908 unittest.expect(o, unittest.hasLength(2)); | 908 unittest.expect(o, unittest.hasLength(2)); |
| 909 unittest.expect(o[0], unittest.equals('foo')); | 909 unittest.expect(o[0], unittest.equals('foo')); |
| 910 unittest.expect(o[1], unittest.equals('foo')); | 910 unittest.expect(o[1], unittest.equals('foo')); |
| 911 } | 911 } |
| 912 | 912 |
| 913 buildUnnamed74() { | 913 buildUnnamed1597() { |
| 914 var o = new core.List<core.String>(); | 914 var o = new core.List<core.String>(); |
| 915 o.add("foo"); | 915 o.add("foo"); |
| 916 o.add("foo"); | 916 o.add("foo"); |
| 917 return o; | 917 return o; |
| 918 } | 918 } |
| 919 | 919 |
| 920 checkUnnamed74(core.List<core.String> o) { | 920 checkUnnamed1597(core.List<core.String> o) { |
| 921 unittest.expect(o, unittest.hasLength(2)); | 921 unittest.expect(o, unittest.hasLength(2)); |
| 922 unittest.expect(o[0], unittest.equals('foo')); | 922 unittest.expect(o[0], unittest.equals('foo')); |
| 923 unittest.expect(o[1], unittest.equals('foo')); | 923 unittest.expect(o[1], unittest.equals('foo')); |
| 924 } | 924 } |
| 925 | 925 |
| 926 core.int buildCounterPretargetingConfigExcludedPlacements = 0; | 926 core.int buildCounterPretargetingConfigExcludedPlacements = 0; |
| 927 buildPretargetingConfigExcludedPlacements() { | 927 buildPretargetingConfigExcludedPlacements() { |
| 928 var o = new api.PretargetingConfigExcludedPlacements(); | 928 var o = new api.PretargetingConfigExcludedPlacements(); |
| 929 buildCounterPretargetingConfigExcludedPlacements++; | 929 buildCounterPretargetingConfigExcludedPlacements++; |
| 930 if (buildCounterPretargetingConfigExcludedPlacements < 3) { | 930 if (buildCounterPretargetingConfigExcludedPlacements < 3) { |
| 931 o.token = "foo"; | 931 o.token = "foo"; |
| 932 o.type = "foo"; | 932 o.type = "foo"; |
| 933 } | 933 } |
| 934 buildCounterPretargetingConfigExcludedPlacements--; | 934 buildCounterPretargetingConfigExcludedPlacements--; |
| 935 return o; | 935 return o; |
| 936 } | 936 } |
| 937 | 937 |
| 938 checkPretargetingConfigExcludedPlacements(api.PretargetingConfigExcludedPlacemen
ts o) { | 938 checkPretargetingConfigExcludedPlacements(api.PretargetingConfigExcludedPlacemen
ts o) { |
| 939 buildCounterPretargetingConfigExcludedPlacements++; | 939 buildCounterPretargetingConfigExcludedPlacements++; |
| 940 if (buildCounterPretargetingConfigExcludedPlacements < 3) { | 940 if (buildCounterPretargetingConfigExcludedPlacements < 3) { |
| 941 unittest.expect(o.token, unittest.equals('foo')); | 941 unittest.expect(o.token, unittest.equals('foo')); |
| 942 unittest.expect(o.type, unittest.equals('foo')); | 942 unittest.expect(o.type, unittest.equals('foo')); |
| 943 } | 943 } |
| 944 buildCounterPretargetingConfigExcludedPlacements--; | 944 buildCounterPretargetingConfigExcludedPlacements--; |
| 945 } | 945 } |
| 946 | 946 |
| 947 buildUnnamed75() { | 947 buildUnnamed1598() { |
| 948 var o = new core.List<api.PretargetingConfigExcludedPlacements>(); | 948 var o = new core.List<api.PretargetingConfigExcludedPlacements>(); |
| 949 o.add(buildPretargetingConfigExcludedPlacements()); | 949 o.add(buildPretargetingConfigExcludedPlacements()); |
| 950 o.add(buildPretargetingConfigExcludedPlacements()); | 950 o.add(buildPretargetingConfigExcludedPlacements()); |
| 951 return o; | 951 return o; |
| 952 } | 952 } |
| 953 | 953 |
| 954 checkUnnamed75(core.List<api.PretargetingConfigExcludedPlacements> o) { | 954 checkUnnamed1598(core.List<api.PretargetingConfigExcludedPlacements> o) { |
| 955 unittest.expect(o, unittest.hasLength(2)); | 955 unittest.expect(o, unittest.hasLength(2)); |
| 956 checkPretargetingConfigExcludedPlacements(o[0]); | 956 checkPretargetingConfigExcludedPlacements(o[0]); |
| 957 checkPretargetingConfigExcludedPlacements(o[1]); | 957 checkPretargetingConfigExcludedPlacements(o[1]); |
| 958 } | 958 } |
| 959 | 959 |
| 960 buildUnnamed76() { | 960 buildUnnamed1599() { |
| 961 var o = new core.List<core.String>(); | 961 var o = new core.List<core.String>(); |
| 962 o.add("foo"); | 962 o.add("foo"); |
| 963 o.add("foo"); | 963 o.add("foo"); |
| 964 return o; | 964 return o; |
| 965 } | 965 } |
| 966 | 966 |
| 967 checkUnnamed76(core.List<core.String> o) { | 967 checkUnnamed1599(core.List<core.String> o) { |
| 968 unittest.expect(o, unittest.hasLength(2)); | 968 unittest.expect(o, unittest.hasLength(2)); |
| 969 unittest.expect(o[0], unittest.equals('foo')); | 969 unittest.expect(o[0], unittest.equals('foo')); |
| 970 unittest.expect(o[1], unittest.equals('foo')); | 970 unittest.expect(o[1], unittest.equals('foo')); |
| 971 } | 971 } |
| 972 | 972 |
| 973 buildUnnamed77() { | 973 buildUnnamed1600() { |
| 974 var o = new core.List<core.String>(); | 974 var o = new core.List<core.String>(); |
| 975 o.add("foo"); | 975 o.add("foo"); |
| 976 o.add("foo"); | 976 o.add("foo"); |
| 977 return o; | 977 return o; |
| 978 } | 978 } |
| 979 | 979 |
| 980 checkUnnamed77(core.List<core.String> o) { | 980 checkUnnamed1600(core.List<core.String> o) { |
| 981 unittest.expect(o, unittest.hasLength(2)); | 981 unittest.expect(o, unittest.hasLength(2)); |
| 982 unittest.expect(o[0], unittest.equals('foo')); | 982 unittest.expect(o[0], unittest.equals('foo')); |
| 983 unittest.expect(o[1], unittest.equals('foo')); | 983 unittest.expect(o[1], unittest.equals('foo')); |
| 984 } | 984 } |
| 985 | 985 |
| 986 buildUnnamed78() { | 986 buildUnnamed1601() { |
| 987 var o = new core.List<core.String>(); | 987 var o = new core.List<core.String>(); |
| 988 o.add("foo"); | 988 o.add("foo"); |
| 989 o.add("foo"); | 989 o.add("foo"); |
| 990 return o; | 990 return o; |
| 991 } | 991 } |
| 992 | 992 |
| 993 checkUnnamed78(core.List<core.String> o) { | 993 checkUnnamed1601(core.List<core.String> o) { |
| 994 unittest.expect(o, unittest.hasLength(2)); | 994 unittest.expect(o, unittest.hasLength(2)); |
| 995 unittest.expect(o[0], unittest.equals('foo')); | 995 unittest.expect(o[0], unittest.equals('foo')); |
| 996 unittest.expect(o[1], unittest.equals('foo')); | 996 unittest.expect(o[1], unittest.equals('foo')); |
| 997 } | 997 } |
| 998 | 998 |
| 999 buildUnnamed79() { | 999 buildUnnamed1602() { |
| 1000 var o = new core.List<core.String>(); | 1000 var o = new core.List<core.String>(); |
| 1001 o.add("foo"); | 1001 o.add("foo"); |
| 1002 o.add("foo"); | 1002 o.add("foo"); |
| 1003 return o; | 1003 return o; |
| 1004 } | 1004 } |
| 1005 | 1005 |
| 1006 checkUnnamed79(core.List<core.String> o) { | 1006 checkUnnamed1602(core.List<core.String> o) { |
| 1007 unittest.expect(o, unittest.hasLength(2)); | 1007 unittest.expect(o, unittest.hasLength(2)); |
| 1008 unittest.expect(o[0], unittest.equals('foo')); | 1008 unittest.expect(o[0], unittest.equals('foo')); |
| 1009 unittest.expect(o[1], unittest.equals('foo')); | 1009 unittest.expect(o[1], unittest.equals('foo')); |
| 1010 } | 1010 } |
| 1011 | 1011 |
| 1012 buildUnnamed80() { | 1012 buildUnnamed1603() { |
| 1013 var o = new core.List<core.String>(); | 1013 var o = new core.List<core.String>(); |
| 1014 o.add("foo"); | 1014 o.add("foo"); |
| 1015 o.add("foo"); | 1015 o.add("foo"); |
| 1016 return o; | 1016 return o; |
| 1017 } | 1017 } |
| 1018 | 1018 |
| 1019 checkUnnamed80(core.List<core.String> o) { | 1019 checkUnnamed1603(core.List<core.String> o) { |
| 1020 unittest.expect(o, unittest.hasLength(2)); | 1020 unittest.expect(o, unittest.hasLength(2)); |
| 1021 unittest.expect(o[0], unittest.equals('foo')); | 1021 unittest.expect(o[0], unittest.equals('foo')); |
| 1022 unittest.expect(o[1], unittest.equals('foo')); | 1022 unittest.expect(o[1], unittest.equals('foo')); |
| 1023 } | 1023 } |
| 1024 | 1024 |
| 1025 buildUnnamed81() { | 1025 buildUnnamed1604() { |
| 1026 var o = new core.List<core.String>(); | 1026 var o = new core.List<core.String>(); |
| 1027 o.add("foo"); | 1027 o.add("foo"); |
| 1028 o.add("foo"); | 1028 o.add("foo"); |
| 1029 return o; | 1029 return o; |
| 1030 } | 1030 } |
| 1031 | 1031 |
| 1032 checkUnnamed81(core.List<core.String> o) { | 1032 checkUnnamed1604(core.List<core.String> o) { |
| 1033 unittest.expect(o, unittest.hasLength(2)); | 1033 unittest.expect(o, unittest.hasLength(2)); |
| 1034 unittest.expect(o[0], unittest.equals('foo')); | 1034 unittest.expect(o[0], unittest.equals('foo')); |
| 1035 unittest.expect(o[1], unittest.equals('foo')); | 1035 unittest.expect(o[1], unittest.equals('foo')); |
| 1036 } | 1036 } |
| 1037 | 1037 |
| 1038 buildUnnamed82() { | 1038 buildUnnamed1605() { |
| 1039 var o = new core.List<core.String>(); | 1039 var o = new core.List<core.String>(); |
| 1040 o.add("foo"); | 1040 o.add("foo"); |
| 1041 o.add("foo"); | 1041 o.add("foo"); |
| 1042 return o; | 1042 return o; |
| 1043 } | 1043 } |
| 1044 | 1044 |
| 1045 checkUnnamed82(core.List<core.String> o) { | 1045 checkUnnamed1605(core.List<core.String> o) { |
| 1046 unittest.expect(o, unittest.hasLength(2)); | 1046 unittest.expect(o, unittest.hasLength(2)); |
| 1047 unittest.expect(o[0], unittest.equals('foo')); | 1047 unittest.expect(o[0], unittest.equals('foo')); |
| 1048 unittest.expect(o[1], unittest.equals('foo')); | 1048 unittest.expect(o[1], unittest.equals('foo')); |
| 1049 } | 1049 } |
| 1050 | 1050 |
| 1051 core.int buildCounterPretargetingConfigPlacements = 0; | 1051 core.int buildCounterPretargetingConfigPlacements = 0; |
| 1052 buildPretargetingConfigPlacements() { | 1052 buildPretargetingConfigPlacements() { |
| 1053 var o = new api.PretargetingConfigPlacements(); | 1053 var o = new api.PretargetingConfigPlacements(); |
| 1054 buildCounterPretargetingConfigPlacements++; | 1054 buildCounterPretargetingConfigPlacements++; |
| 1055 if (buildCounterPretargetingConfigPlacements < 3) { | 1055 if (buildCounterPretargetingConfigPlacements < 3) { |
| 1056 o.token = "foo"; | 1056 o.token = "foo"; |
| 1057 o.type = "foo"; | 1057 o.type = "foo"; |
| 1058 } | 1058 } |
| 1059 buildCounterPretargetingConfigPlacements--; | 1059 buildCounterPretargetingConfigPlacements--; |
| 1060 return o; | 1060 return o; |
| 1061 } | 1061 } |
| 1062 | 1062 |
| 1063 checkPretargetingConfigPlacements(api.PretargetingConfigPlacements o) { | 1063 checkPretargetingConfigPlacements(api.PretargetingConfigPlacements o) { |
| 1064 buildCounterPretargetingConfigPlacements++; | 1064 buildCounterPretargetingConfigPlacements++; |
| 1065 if (buildCounterPretargetingConfigPlacements < 3) { | 1065 if (buildCounterPretargetingConfigPlacements < 3) { |
| 1066 unittest.expect(o.token, unittest.equals('foo')); | 1066 unittest.expect(o.token, unittest.equals('foo')); |
| 1067 unittest.expect(o.type, unittest.equals('foo')); | 1067 unittest.expect(o.type, unittest.equals('foo')); |
| 1068 } | 1068 } |
| 1069 buildCounterPretargetingConfigPlacements--; | 1069 buildCounterPretargetingConfigPlacements--; |
| 1070 } | 1070 } |
| 1071 | 1071 |
| 1072 buildUnnamed83() { | 1072 buildUnnamed1606() { |
| 1073 var o = new core.List<api.PretargetingConfigPlacements>(); | 1073 var o = new core.List<api.PretargetingConfigPlacements>(); |
| 1074 o.add(buildPretargetingConfigPlacements()); | 1074 o.add(buildPretargetingConfigPlacements()); |
| 1075 o.add(buildPretargetingConfigPlacements()); | 1075 o.add(buildPretargetingConfigPlacements()); |
| 1076 return o; | 1076 return o; |
| 1077 } | 1077 } |
| 1078 | 1078 |
| 1079 checkUnnamed83(core.List<api.PretargetingConfigPlacements> o) { | 1079 checkUnnamed1606(core.List<api.PretargetingConfigPlacements> o) { |
| 1080 unittest.expect(o, unittest.hasLength(2)); | 1080 unittest.expect(o, unittest.hasLength(2)); |
| 1081 checkPretargetingConfigPlacements(o[0]); | 1081 checkPretargetingConfigPlacements(o[0]); |
| 1082 checkPretargetingConfigPlacements(o[1]); | 1082 checkPretargetingConfigPlacements(o[1]); |
| 1083 } | 1083 } |
| 1084 | 1084 |
| 1085 buildUnnamed84() { | 1085 buildUnnamed1607() { |
| 1086 var o = new core.List<core.String>(); | 1086 var o = new core.List<core.String>(); |
| 1087 o.add("foo"); | 1087 o.add("foo"); |
| 1088 o.add("foo"); | 1088 o.add("foo"); |
| 1089 return o; | 1089 return o; |
| 1090 } | 1090 } |
| 1091 | 1091 |
| 1092 checkUnnamed84(core.List<core.String> o) { | 1092 checkUnnamed1607(core.List<core.String> o) { |
| 1093 unittest.expect(o, unittest.hasLength(2)); | 1093 unittest.expect(o, unittest.hasLength(2)); |
| 1094 unittest.expect(o[0], unittest.equals('foo')); | 1094 unittest.expect(o[0], unittest.equals('foo')); |
| 1095 unittest.expect(o[1], unittest.equals('foo')); | 1095 unittest.expect(o[1], unittest.equals('foo')); |
| 1096 } | 1096 } |
| 1097 | 1097 |
| 1098 buildUnnamed85() { | 1098 buildUnnamed1608() { |
| 1099 var o = new core.List<core.String>(); | 1099 var o = new core.List<core.String>(); |
| 1100 o.add("foo"); | 1100 o.add("foo"); |
| 1101 o.add("foo"); | 1101 o.add("foo"); |
| 1102 return o; | 1102 return o; |
| 1103 } | 1103 } |
| 1104 | 1104 |
| 1105 checkUnnamed85(core.List<core.String> o) { | 1105 checkUnnamed1608(core.List<core.String> o) { |
| 1106 unittest.expect(o, unittest.hasLength(2)); | 1106 unittest.expect(o, unittest.hasLength(2)); |
| 1107 unittest.expect(o[0], unittest.equals('foo')); | 1107 unittest.expect(o[0], unittest.equals('foo')); |
| 1108 unittest.expect(o[1], unittest.equals('foo')); | 1108 unittest.expect(o[1], unittest.equals('foo')); |
| 1109 } | 1109 } |
| 1110 | 1110 |
| 1111 buildUnnamed86() { | 1111 buildUnnamed1609() { |
| 1112 var o = new core.List<core.String>(); | 1112 var o = new core.List<core.String>(); |
| 1113 o.add("foo"); | 1113 o.add("foo"); |
| 1114 o.add("foo"); | 1114 o.add("foo"); |
| 1115 return o; | 1115 return o; |
| 1116 } | 1116 } |
| 1117 | 1117 |
| 1118 checkUnnamed86(core.List<core.String> o) { | 1118 checkUnnamed1609(core.List<core.String> o) { |
| 1119 unittest.expect(o, unittest.hasLength(2)); | 1119 unittest.expect(o, unittest.hasLength(2)); |
| 1120 unittest.expect(o[0], unittest.equals('foo')); | 1120 unittest.expect(o[0], unittest.equals('foo')); |
| 1121 unittest.expect(o[1], unittest.equals('foo')); | 1121 unittest.expect(o[1], unittest.equals('foo')); |
| 1122 } | 1122 } |
| 1123 | 1123 |
| 1124 buildUnnamed87() { | 1124 buildUnnamed1610() { |
| 1125 var o = new core.List<core.String>(); | 1125 var o = new core.List<core.String>(); |
| 1126 o.add("foo"); | 1126 o.add("foo"); |
| 1127 o.add("foo"); | 1127 o.add("foo"); |
| 1128 return o; | 1128 return o; |
| 1129 } | 1129 } |
| 1130 | 1130 |
| 1131 checkUnnamed87(core.List<core.String> o) { | 1131 checkUnnamed1610(core.List<core.String> o) { |
| 1132 unittest.expect(o, unittest.hasLength(2)); | 1132 unittest.expect(o, unittest.hasLength(2)); |
| 1133 unittest.expect(o[0], unittest.equals('foo')); | 1133 unittest.expect(o[0], unittest.equals('foo')); |
| 1134 unittest.expect(o[1], unittest.equals('foo')); | 1134 unittest.expect(o[1], unittest.equals('foo')); |
| 1135 } | 1135 } |
| 1136 | 1136 |
| 1137 buildUnnamed88() { | 1137 buildUnnamed1611() { |
| 1138 var o = new core.List<core.String>(); | 1138 var o = new core.List<core.String>(); |
| 1139 o.add("foo"); | 1139 o.add("foo"); |
| 1140 o.add("foo"); | 1140 o.add("foo"); |
| 1141 return o; | 1141 return o; |
| 1142 } | 1142 } |
| 1143 | 1143 |
| 1144 checkUnnamed88(core.List<core.String> o) { | 1144 checkUnnamed1611(core.List<core.String> o) { |
| 1145 unittest.expect(o, unittest.hasLength(2)); | 1145 unittest.expect(o, unittest.hasLength(2)); |
| 1146 unittest.expect(o[0], unittest.equals('foo')); | 1146 unittest.expect(o[0], unittest.equals('foo')); |
| 1147 unittest.expect(o[1], unittest.equals('foo')); | 1147 unittest.expect(o[1], unittest.equals('foo')); |
| 1148 } | 1148 } |
| 1149 | 1149 |
| 1150 core.int buildCounterPretargetingConfig = 0; | 1150 core.int buildCounterPretargetingConfig = 0; |
| 1151 buildPretargetingConfig() { | 1151 buildPretargetingConfig() { |
| 1152 var o = new api.PretargetingConfig(); | 1152 var o = new api.PretargetingConfig(); |
| 1153 buildCounterPretargetingConfig++; | 1153 buildCounterPretargetingConfig++; |
| 1154 if (buildCounterPretargetingConfig < 3) { | 1154 if (buildCounterPretargetingConfig < 3) { |
| 1155 o.billingId = "foo"; | 1155 o.billingId = "foo"; |
| 1156 o.configId = "foo"; | 1156 o.configId = "foo"; |
| 1157 o.configName = "foo"; | 1157 o.configName = "foo"; |
| 1158 o.creativeType = buildUnnamed71(); | 1158 o.creativeType = buildUnnamed1594(); |
| 1159 o.dimensions = buildUnnamed72(); | 1159 o.dimensions = buildUnnamed1595(); |
| 1160 o.excludedContentLabels = buildUnnamed73(); | 1160 o.excludedContentLabels = buildUnnamed1596(); |
| 1161 o.excludedGeoCriteriaIds = buildUnnamed74(); | 1161 o.excludedGeoCriteriaIds = buildUnnamed1597(); |
| 1162 o.excludedPlacements = buildUnnamed75(); | 1162 o.excludedPlacements = buildUnnamed1598(); |
| 1163 o.excludedUserLists = buildUnnamed76(); | 1163 o.excludedUserLists = buildUnnamed1599(); |
| 1164 o.excludedVerticals = buildUnnamed77(); | 1164 o.excludedVerticals = buildUnnamed1600(); |
| 1165 o.geoCriteriaIds = buildUnnamed78(); | 1165 o.geoCriteriaIds = buildUnnamed1601(); |
| 1166 o.isActive = true; | 1166 o.isActive = true; |
| 1167 o.kind = "foo"; | 1167 o.kind = "foo"; |
| 1168 o.languages = buildUnnamed79(); | 1168 o.languages = buildUnnamed1602(); |
| 1169 o.mobileCarriers = buildUnnamed80(); | 1169 o.mobileCarriers = buildUnnamed1603(); |
| 1170 o.mobileDevices = buildUnnamed81(); | 1170 o.mobileDevices = buildUnnamed1604(); |
| 1171 o.mobileOperatingSystemVersions = buildUnnamed82(); | 1171 o.mobileOperatingSystemVersions = buildUnnamed1605(); |
| 1172 o.placements = buildUnnamed83(); | 1172 o.placements = buildUnnamed1606(); |
| 1173 o.platforms = buildUnnamed84(); | 1173 o.platforms = buildUnnamed1607(); |
| 1174 o.supportedCreativeAttributes = buildUnnamed85(); | 1174 o.supportedCreativeAttributes = buildUnnamed1608(); |
| 1175 o.userLists = buildUnnamed86(); | 1175 o.userLists = buildUnnamed1609(); |
| 1176 o.vendorTypes = buildUnnamed87(); | 1176 o.vendorTypes = buildUnnamed1610(); |
| 1177 o.verticals = buildUnnamed88(); | 1177 o.verticals = buildUnnamed1611(); |
| 1178 } | 1178 } |
| 1179 buildCounterPretargetingConfig--; | 1179 buildCounterPretargetingConfig--; |
| 1180 return o; | 1180 return o; |
| 1181 } | 1181 } |
| 1182 | 1182 |
| 1183 checkPretargetingConfig(api.PretargetingConfig o) { | 1183 checkPretargetingConfig(api.PretargetingConfig o) { |
| 1184 buildCounterPretargetingConfig++; | 1184 buildCounterPretargetingConfig++; |
| 1185 if (buildCounterPretargetingConfig < 3) { | 1185 if (buildCounterPretargetingConfig < 3) { |
| 1186 unittest.expect(o.billingId, unittest.equals('foo')); | 1186 unittest.expect(o.billingId, unittest.equals('foo')); |
| 1187 unittest.expect(o.configId, unittest.equals('foo')); | 1187 unittest.expect(o.configId, unittest.equals('foo')); |
| 1188 unittest.expect(o.configName, unittest.equals('foo')); | 1188 unittest.expect(o.configName, unittest.equals('foo')); |
| 1189 checkUnnamed71(o.creativeType); | 1189 checkUnnamed1594(o.creativeType); |
| 1190 checkUnnamed72(o.dimensions); | 1190 checkUnnamed1595(o.dimensions); |
| 1191 checkUnnamed73(o.excludedContentLabels); | 1191 checkUnnamed1596(o.excludedContentLabels); |
| 1192 checkUnnamed74(o.excludedGeoCriteriaIds); | 1192 checkUnnamed1597(o.excludedGeoCriteriaIds); |
| 1193 checkUnnamed75(o.excludedPlacements); | 1193 checkUnnamed1598(o.excludedPlacements); |
| 1194 checkUnnamed76(o.excludedUserLists); | 1194 checkUnnamed1599(o.excludedUserLists); |
| 1195 checkUnnamed77(o.excludedVerticals); | 1195 checkUnnamed1600(o.excludedVerticals); |
| 1196 checkUnnamed78(o.geoCriteriaIds); | 1196 checkUnnamed1601(o.geoCriteriaIds); |
| 1197 unittest.expect(o.isActive, unittest.isTrue); | 1197 unittest.expect(o.isActive, unittest.isTrue); |
| 1198 unittest.expect(o.kind, unittest.equals('foo')); | 1198 unittest.expect(o.kind, unittest.equals('foo')); |
| 1199 checkUnnamed79(o.languages); | 1199 checkUnnamed1602(o.languages); |
| 1200 checkUnnamed80(o.mobileCarriers); | 1200 checkUnnamed1603(o.mobileCarriers); |
| 1201 checkUnnamed81(o.mobileDevices); | 1201 checkUnnamed1604(o.mobileDevices); |
| 1202 checkUnnamed82(o.mobileOperatingSystemVersions); | 1202 checkUnnamed1605(o.mobileOperatingSystemVersions); |
| 1203 checkUnnamed83(o.placements); | 1203 checkUnnamed1606(o.placements); |
| 1204 checkUnnamed84(o.platforms); | 1204 checkUnnamed1607(o.platforms); |
| 1205 checkUnnamed85(o.supportedCreativeAttributes); | 1205 checkUnnamed1608(o.supportedCreativeAttributes); |
| 1206 checkUnnamed86(o.userLists); | 1206 checkUnnamed1609(o.userLists); |
| 1207 checkUnnamed87(o.vendorTypes); | 1207 checkUnnamed1610(o.vendorTypes); |
| 1208 checkUnnamed88(o.verticals); | 1208 checkUnnamed1611(o.verticals); |
| 1209 } | 1209 } |
| 1210 buildCounterPretargetingConfig--; | 1210 buildCounterPretargetingConfig--; |
| 1211 } | 1211 } |
| 1212 | 1212 |
| 1213 buildUnnamed89() { | 1213 buildUnnamed1612() { |
| 1214 var o = new core.List<api.PretargetingConfig>(); | 1214 var o = new core.List<api.PretargetingConfig>(); |
| 1215 o.add(buildPretargetingConfig()); | 1215 o.add(buildPretargetingConfig()); |
| 1216 o.add(buildPretargetingConfig()); | 1216 o.add(buildPretargetingConfig()); |
| 1217 return o; | 1217 return o; |
| 1218 } | 1218 } |
| 1219 | 1219 |
| 1220 checkUnnamed89(core.List<api.PretargetingConfig> o) { | 1220 checkUnnamed1612(core.List<api.PretargetingConfig> o) { |
| 1221 unittest.expect(o, unittest.hasLength(2)); | 1221 unittest.expect(o, unittest.hasLength(2)); |
| 1222 checkPretargetingConfig(o[0]); | 1222 checkPretargetingConfig(o[0]); |
| 1223 checkPretargetingConfig(o[1]); | 1223 checkPretargetingConfig(o[1]); |
| 1224 } | 1224 } |
| 1225 | 1225 |
| 1226 core.int buildCounterPretargetingConfigList = 0; | 1226 core.int buildCounterPretargetingConfigList = 0; |
| 1227 buildPretargetingConfigList() { | 1227 buildPretargetingConfigList() { |
| 1228 var o = new api.PretargetingConfigList(); | 1228 var o = new api.PretargetingConfigList(); |
| 1229 buildCounterPretargetingConfigList++; | 1229 buildCounterPretargetingConfigList++; |
| 1230 if (buildCounterPretargetingConfigList < 3) { | 1230 if (buildCounterPretargetingConfigList < 3) { |
| 1231 o.items = buildUnnamed89(); | 1231 o.items = buildUnnamed1612(); |
| 1232 o.kind = "foo"; | 1232 o.kind = "foo"; |
| 1233 } | 1233 } |
| 1234 buildCounterPretargetingConfigList--; | 1234 buildCounterPretargetingConfigList--; |
| 1235 return o; | 1235 return o; |
| 1236 } | 1236 } |
| 1237 | 1237 |
| 1238 checkPretargetingConfigList(api.PretargetingConfigList o) { | 1238 checkPretargetingConfigList(api.PretargetingConfigList o) { |
| 1239 buildCounterPretargetingConfigList++; | 1239 buildCounterPretargetingConfigList++; |
| 1240 if (buildCounterPretargetingConfigList < 3) { | 1240 if (buildCounterPretargetingConfigList < 3) { |
| 1241 checkUnnamed89(o.items); | 1241 checkUnnamed1612(o.items); |
| 1242 unittest.expect(o.kind, unittest.equals('foo')); | 1242 unittest.expect(o.kind, unittest.equals('foo')); |
| 1243 } | 1243 } |
| 1244 buildCounterPretargetingConfigList--; | 1244 buildCounterPretargetingConfigList--; |
| 1245 } | 1245 } |
| 1246 | 1246 |
| 1247 buildUnnamed90() { | 1247 buildUnnamed1613() { |
| 1248 var o = new core.List<core.int>(); | 1248 var o = new core.List<core.int>(); |
| 1249 o.add(42); | 1249 o.add(42); |
| 1250 o.add(42); | 1250 o.add(42); |
| 1251 return o; | 1251 return o; |
| 1252 } | 1252 } |
| 1253 | 1253 |
| 1254 checkUnnamed90(core.List<core.int> o) { | 1254 checkUnnamed1613(core.List<core.int> o) { |
| 1255 unittest.expect(o, unittest.hasLength(2)); | 1255 unittest.expect(o, unittest.hasLength(2)); |
| 1256 unittest.expect(o[0], unittest.equals(42)); | 1256 unittest.expect(o[0], unittest.equals(42)); |
| 1257 unittest.expect(o[1], unittest.equals(42)); | 1257 unittest.expect(o[1], unittest.equals(42)); |
| 1258 } | 1258 } |
| 1259 | 1259 |
| 1260 buildUnnamed91() { | 1260 buildUnnamed1614() { |
| 1261 var o = new core.List<core.String>(); | 1261 var o = new core.List<core.String>(); |
| 1262 o.add("foo"); | 1262 o.add("foo"); |
| 1263 o.add("foo"); | 1263 o.add("foo"); |
| 1264 return o; | 1264 return o; |
| 1265 } | 1265 } |
| 1266 | 1266 |
| 1267 checkUnnamed91(core.List<core.String> o) { | 1267 checkUnnamed1614(core.List<core.String> o) { |
| 1268 unittest.expect(o, unittest.hasLength(2)); | 1268 unittest.expect(o, unittest.hasLength(2)); |
| 1269 unittest.expect(o[0], unittest.equals('foo')); | 1269 unittest.expect(o[0], unittest.equals('foo')); |
| 1270 unittest.expect(o[1], unittest.equals('foo')); | 1270 unittest.expect(o[1], unittest.equals('foo')); |
| 1271 } | 1271 } |
| 1272 | 1272 |
| 1273 | 1273 |
| 1274 main() { | 1274 main() { |
| 1275 unittest.group("obj-schema-AccountBidderLocation", () { | 1275 unittest.group("obj-schema-AccountBidderLocation", () { |
| 1276 unittest.test("to-json--from-json", () { | 1276 unittest.test("to-json--from-json", () { |
| 1277 var o = buildAccountBidderLocation(); | 1277 var o = buildAccountBidderLocation(); |
| (...skipping 772 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2050 }), true); | 2050 }), true); |
| 2051 res.insert(arg_request).then(unittest.expectAsync(((api.Creative response)
{ | 2051 res.insert(arg_request).then(unittest.expectAsync(((api.Creative response)
{ |
| 2052 checkCreative(response); | 2052 checkCreative(response); |
| 2053 }))); | 2053 }))); |
| 2054 }); | 2054 }); |
| 2055 | 2055 |
| 2056 unittest.test("method--list", () { | 2056 unittest.test("method--list", () { |
| 2057 | 2057 |
| 2058 var mock = new HttpServerMock(); | 2058 var mock = new HttpServerMock(); |
| 2059 api.CreativesResourceApi res = new api.AdexchangebuyerApi(mock).creatives; | 2059 api.CreativesResourceApi res = new api.AdexchangebuyerApi(mock).creatives; |
| 2060 var arg_accountId = buildUnnamed90(); | 2060 var arg_accountId = buildUnnamed1613(); |
| 2061 var arg_buyerCreativeId = buildUnnamed91(); | 2061 var arg_buyerCreativeId = buildUnnamed1614(); |
| 2062 var arg_dealsStatusFilter = "foo"; | 2062 var arg_dealsStatusFilter = "foo"; |
| 2063 var arg_maxResults = 42; | 2063 var arg_maxResults = 42; |
| 2064 var arg_openAuctionStatusFilter = "foo"; | 2064 var arg_openAuctionStatusFilter = "foo"; |
| 2065 var arg_pageToken = "foo"; | 2065 var arg_pageToken = "foo"; |
| 2066 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 2066 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 2067 var path = (req.url).path; | 2067 var path = (req.url).path; |
| 2068 var pathOffset = 0; | 2068 var pathOffset = 0; |
| 2069 var index; | 2069 var index; |
| 2070 var subPart; | 2070 var subPart; |
| 2071 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 2071 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| (...skipping 435 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2507 res.update(arg_request, arg_accountId, arg_configId).then(unittest.expectA
sync(((api.PretargetingConfig response) { | 2507 res.update(arg_request, arg_accountId, arg_configId).then(unittest.expectA
sync(((api.PretargetingConfig response) { |
| 2508 checkPretargetingConfig(response); | 2508 checkPretargetingConfig(response); |
| 2509 }))); | 2509 }))); |
| 2510 }); | 2510 }); |
| 2511 | 2511 |
| 2512 }); | 2512 }); |
| 2513 | 2513 |
| 2514 | 2514 |
| 2515 } | 2515 } |
| 2516 | 2516 |
| OLD | NEW |