| 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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 69 buildCounterAccountBidderLocation++; | 69 buildCounterAccountBidderLocation++; |
| 70 if (buildCounterAccountBidderLocation < 3) { | 70 if (buildCounterAccountBidderLocation < 3) { |
| 71 unittest.expect(o.bidProtocol, unittest.equals('foo')); | 71 unittest.expect(o.bidProtocol, unittest.equals('foo')); |
| 72 unittest.expect(o.maximumQps, unittest.equals(42)); | 72 unittest.expect(o.maximumQps, unittest.equals(42)); |
| 73 unittest.expect(o.region, unittest.equals('foo')); | 73 unittest.expect(o.region, unittest.equals('foo')); |
| 74 unittest.expect(o.url, unittest.equals('foo')); | 74 unittest.expect(o.url, unittest.equals('foo')); |
| 75 } | 75 } |
| 76 buildCounterAccountBidderLocation--; | 76 buildCounterAccountBidderLocation--; |
| 77 } | 77 } |
| 78 | 78 |
| 79 buildUnnamed1673() { | 79 buildUnnamed1777() { |
| 80 var o = new core.List<api.AccountBidderLocation>(); | 80 var o = new core.List<api.AccountBidderLocation>(); |
| 81 o.add(buildAccountBidderLocation()); | 81 o.add(buildAccountBidderLocation()); |
| 82 o.add(buildAccountBidderLocation()); | 82 o.add(buildAccountBidderLocation()); |
| 83 return o; | 83 return o; |
| 84 } | 84 } |
| 85 | 85 |
| 86 checkUnnamed1673(core.List<api.AccountBidderLocation> o) { | 86 checkUnnamed1777(core.List<api.AccountBidderLocation> o) { |
| 87 unittest.expect(o, unittest.hasLength(2)); | 87 unittest.expect(o, unittest.hasLength(2)); |
| 88 checkAccountBidderLocation(o[0]); | 88 checkAccountBidderLocation(o[0]); |
| 89 checkAccountBidderLocation(o[1]); | 89 checkAccountBidderLocation(o[1]); |
| 90 } | 90 } |
| 91 | 91 |
| 92 core.int buildCounterAccount = 0; | 92 core.int buildCounterAccount = 0; |
| 93 buildAccount() { | 93 buildAccount() { |
| 94 var o = new api.Account(); | 94 var o = new api.Account(); |
| 95 buildCounterAccount++; | 95 buildCounterAccount++; |
| 96 if (buildCounterAccount < 3) { | 96 if (buildCounterAccount < 3) { |
| 97 o.bidderLocation = buildUnnamed1673(); | 97 o.bidderLocation = buildUnnamed1777(); |
| 98 o.cookieMatchingNid = "foo"; | 98 o.cookieMatchingNid = "foo"; |
| 99 o.cookieMatchingUrl = "foo"; | 99 o.cookieMatchingUrl = "foo"; |
| 100 o.id = 42; | 100 o.id = 42; |
| 101 o.kind = "foo"; | 101 o.kind = "foo"; |
| 102 o.maximumActiveCreatives = 42; | 102 o.maximumActiveCreatives = 42; |
| 103 o.maximumTotalQps = 42; | 103 o.maximumTotalQps = 42; |
| 104 o.numberActiveCreatives = 42; | 104 o.numberActiveCreatives = 42; |
| 105 } | 105 } |
| 106 buildCounterAccount--; | 106 buildCounterAccount--; |
| 107 return o; | 107 return o; |
| 108 } | 108 } |
| 109 | 109 |
| 110 checkAccount(api.Account o) { | 110 checkAccount(api.Account o) { |
| 111 buildCounterAccount++; | 111 buildCounterAccount++; |
| 112 if (buildCounterAccount < 3) { | 112 if (buildCounterAccount < 3) { |
| 113 checkUnnamed1673(o.bidderLocation); | 113 checkUnnamed1777(o.bidderLocation); |
| 114 unittest.expect(o.cookieMatchingNid, unittest.equals('foo')); | 114 unittest.expect(o.cookieMatchingNid, unittest.equals('foo')); |
| 115 unittest.expect(o.cookieMatchingUrl, unittest.equals('foo')); | 115 unittest.expect(o.cookieMatchingUrl, unittest.equals('foo')); |
| 116 unittest.expect(o.id, unittest.equals(42)); | 116 unittest.expect(o.id, unittest.equals(42)); |
| 117 unittest.expect(o.kind, unittest.equals('foo')); | 117 unittest.expect(o.kind, unittest.equals('foo')); |
| 118 unittest.expect(o.maximumActiveCreatives, unittest.equals(42)); | 118 unittest.expect(o.maximumActiveCreatives, unittest.equals(42)); |
| 119 unittest.expect(o.maximumTotalQps, unittest.equals(42)); | 119 unittest.expect(o.maximumTotalQps, unittest.equals(42)); |
| 120 unittest.expect(o.numberActiveCreatives, unittest.equals(42)); | 120 unittest.expect(o.numberActiveCreatives, unittest.equals(42)); |
| 121 } | 121 } |
| 122 buildCounterAccount--; | 122 buildCounterAccount--; |
| 123 } | 123 } |
| 124 | 124 |
| 125 buildUnnamed1674() { | 125 buildUnnamed1778() { |
| 126 var o = new core.List<api.Account>(); | 126 var o = new core.List<api.Account>(); |
| 127 o.add(buildAccount()); | 127 o.add(buildAccount()); |
| 128 o.add(buildAccount()); | 128 o.add(buildAccount()); |
| 129 return o; | 129 return o; |
| 130 } | 130 } |
| 131 | 131 |
| 132 checkUnnamed1674(core.List<api.Account> o) { | 132 checkUnnamed1778(core.List<api.Account> o) { |
| 133 unittest.expect(o, unittest.hasLength(2)); | 133 unittest.expect(o, unittest.hasLength(2)); |
| 134 checkAccount(o[0]); | 134 checkAccount(o[0]); |
| 135 checkAccount(o[1]); | 135 checkAccount(o[1]); |
| 136 } | 136 } |
| 137 | 137 |
| 138 core.int buildCounterAccountsList = 0; | 138 core.int buildCounterAccountsList = 0; |
| 139 buildAccountsList() { | 139 buildAccountsList() { |
| 140 var o = new api.AccountsList(); | 140 var o = new api.AccountsList(); |
| 141 buildCounterAccountsList++; | 141 buildCounterAccountsList++; |
| 142 if (buildCounterAccountsList < 3) { | 142 if (buildCounterAccountsList < 3) { |
| 143 o.items = buildUnnamed1674(); | 143 o.items = buildUnnamed1778(); |
| 144 o.kind = "foo"; | 144 o.kind = "foo"; |
| 145 } | 145 } |
| 146 buildCounterAccountsList--; | 146 buildCounterAccountsList--; |
| 147 return o; | 147 return o; |
| 148 } | 148 } |
| 149 | 149 |
| 150 checkAccountsList(api.AccountsList o) { | 150 checkAccountsList(api.AccountsList o) { |
| 151 buildCounterAccountsList++; | 151 buildCounterAccountsList++; |
| 152 if (buildCounterAccountsList < 3) { | 152 if (buildCounterAccountsList < 3) { |
| 153 checkUnnamed1674(o.items); | 153 checkUnnamed1778(o.items); |
| 154 unittest.expect(o.kind, unittest.equals('foo')); | 154 unittest.expect(o.kind, unittest.equals('foo')); |
| 155 } | 155 } |
| 156 buildCounterAccountsList--; | 156 buildCounterAccountsList--; |
| 157 } | 157 } |
| 158 | 158 |
| 159 buildUnnamed1675() { | 159 buildUnnamed1779() { |
| 160 var o = new core.List<api.MarketplaceDeal>(); | 160 var o = new core.List<api.MarketplaceDeal>(); |
| 161 o.add(buildMarketplaceDeal()); | 161 o.add(buildMarketplaceDeal()); |
| 162 o.add(buildMarketplaceDeal()); | 162 o.add(buildMarketplaceDeal()); |
| 163 return o; | 163 return o; |
| 164 } | 164 } |
| 165 | 165 |
| 166 checkUnnamed1675(core.List<api.MarketplaceDeal> o) { | 166 checkUnnamed1779(core.List<api.MarketplaceDeal> o) { |
| 167 unittest.expect(o, unittest.hasLength(2)); | 167 unittest.expect(o, unittest.hasLength(2)); |
| 168 checkMarketplaceDeal(o[0]); | 168 checkMarketplaceDeal(o[0]); |
| 169 checkMarketplaceDeal(o[1]); | 169 checkMarketplaceDeal(o[1]); |
| 170 } | 170 } |
| 171 | 171 |
| 172 core.int buildCounterAddOrderDealsRequest = 0; | 172 core.int buildCounterAddOrderDealsRequest = 0; |
| 173 buildAddOrderDealsRequest() { | 173 buildAddOrderDealsRequest() { |
| 174 var o = new api.AddOrderDealsRequest(); | 174 var o = new api.AddOrderDealsRequest(); |
| 175 buildCounterAddOrderDealsRequest++; | 175 buildCounterAddOrderDealsRequest++; |
| 176 if (buildCounterAddOrderDealsRequest < 3) { | 176 if (buildCounterAddOrderDealsRequest < 3) { |
| 177 o.deals = buildUnnamed1675(); | 177 o.deals = buildUnnamed1779(); |
| 178 o.proposalRevisionNumber = "foo"; | 178 o.proposalRevisionNumber = "foo"; |
| 179 o.updateAction = "foo"; | 179 o.updateAction = "foo"; |
| 180 } | 180 } |
| 181 buildCounterAddOrderDealsRequest--; | 181 buildCounterAddOrderDealsRequest--; |
| 182 return o; | 182 return o; |
| 183 } | 183 } |
| 184 | 184 |
| 185 checkAddOrderDealsRequest(api.AddOrderDealsRequest o) { | 185 checkAddOrderDealsRequest(api.AddOrderDealsRequest o) { |
| 186 buildCounterAddOrderDealsRequest++; | 186 buildCounterAddOrderDealsRequest++; |
| 187 if (buildCounterAddOrderDealsRequest < 3) { | 187 if (buildCounterAddOrderDealsRequest < 3) { |
| 188 checkUnnamed1675(o.deals); | 188 checkUnnamed1779(o.deals); |
| 189 unittest.expect(o.proposalRevisionNumber, unittest.equals('foo')); | 189 unittest.expect(o.proposalRevisionNumber, unittest.equals('foo')); |
| 190 unittest.expect(o.updateAction, unittest.equals('foo')); | 190 unittest.expect(o.updateAction, unittest.equals('foo')); |
| 191 } | 191 } |
| 192 buildCounterAddOrderDealsRequest--; | 192 buildCounterAddOrderDealsRequest--; |
| 193 } | 193 } |
| 194 | 194 |
| 195 buildUnnamed1676() { | 195 buildUnnamed1780() { |
| 196 var o = new core.List<api.MarketplaceDeal>(); | 196 var o = new core.List<api.MarketplaceDeal>(); |
| 197 o.add(buildMarketplaceDeal()); | 197 o.add(buildMarketplaceDeal()); |
| 198 o.add(buildMarketplaceDeal()); | 198 o.add(buildMarketplaceDeal()); |
| 199 return o; | 199 return o; |
| 200 } | 200 } |
| 201 | 201 |
| 202 checkUnnamed1676(core.List<api.MarketplaceDeal> o) { | 202 checkUnnamed1780(core.List<api.MarketplaceDeal> o) { |
| 203 unittest.expect(o, unittest.hasLength(2)); | 203 unittest.expect(o, unittest.hasLength(2)); |
| 204 checkMarketplaceDeal(o[0]); | 204 checkMarketplaceDeal(o[0]); |
| 205 checkMarketplaceDeal(o[1]); | 205 checkMarketplaceDeal(o[1]); |
| 206 } | 206 } |
| 207 | 207 |
| 208 core.int buildCounterAddOrderDealsResponse = 0; | 208 core.int buildCounterAddOrderDealsResponse = 0; |
| 209 buildAddOrderDealsResponse() { | 209 buildAddOrderDealsResponse() { |
| 210 var o = new api.AddOrderDealsResponse(); | 210 var o = new api.AddOrderDealsResponse(); |
| 211 buildCounterAddOrderDealsResponse++; | 211 buildCounterAddOrderDealsResponse++; |
| 212 if (buildCounterAddOrderDealsResponse < 3) { | 212 if (buildCounterAddOrderDealsResponse < 3) { |
| 213 o.deals = buildUnnamed1676(); | 213 o.deals = buildUnnamed1780(); |
| 214 o.proposalRevisionNumber = "foo"; | 214 o.proposalRevisionNumber = "foo"; |
| 215 } | 215 } |
| 216 buildCounterAddOrderDealsResponse--; | 216 buildCounterAddOrderDealsResponse--; |
| 217 return o; | 217 return o; |
| 218 } | 218 } |
| 219 | 219 |
| 220 checkAddOrderDealsResponse(api.AddOrderDealsResponse o) { | 220 checkAddOrderDealsResponse(api.AddOrderDealsResponse o) { |
| 221 buildCounterAddOrderDealsResponse++; | 221 buildCounterAddOrderDealsResponse++; |
| 222 if (buildCounterAddOrderDealsResponse < 3) { | 222 if (buildCounterAddOrderDealsResponse < 3) { |
| 223 checkUnnamed1676(o.deals); | 223 checkUnnamed1780(o.deals); |
| 224 unittest.expect(o.proposalRevisionNumber, unittest.equals('foo')); | 224 unittest.expect(o.proposalRevisionNumber, unittest.equals('foo')); |
| 225 } | 225 } |
| 226 buildCounterAddOrderDealsResponse--; | 226 buildCounterAddOrderDealsResponse--; |
| 227 } | 227 } |
| 228 | 228 |
| 229 buildUnnamed1677() { | 229 buildUnnamed1781() { |
| 230 var o = new core.List<api.MarketplaceNote>(); | 230 var o = new core.List<api.MarketplaceNote>(); |
| 231 o.add(buildMarketplaceNote()); | 231 o.add(buildMarketplaceNote()); |
| 232 o.add(buildMarketplaceNote()); | 232 o.add(buildMarketplaceNote()); |
| 233 return o; | 233 return o; |
| 234 } | 234 } |
| 235 | 235 |
| 236 checkUnnamed1677(core.List<api.MarketplaceNote> o) { | 236 checkUnnamed1781(core.List<api.MarketplaceNote> o) { |
| 237 unittest.expect(o, unittest.hasLength(2)); | 237 unittest.expect(o, unittest.hasLength(2)); |
| 238 checkMarketplaceNote(o[0]); | 238 checkMarketplaceNote(o[0]); |
| 239 checkMarketplaceNote(o[1]); | 239 checkMarketplaceNote(o[1]); |
| 240 } | 240 } |
| 241 | 241 |
| 242 core.int buildCounterAddOrderNotesRequest = 0; | 242 core.int buildCounterAddOrderNotesRequest = 0; |
| 243 buildAddOrderNotesRequest() { | 243 buildAddOrderNotesRequest() { |
| 244 var o = new api.AddOrderNotesRequest(); | 244 var o = new api.AddOrderNotesRequest(); |
| 245 buildCounterAddOrderNotesRequest++; | 245 buildCounterAddOrderNotesRequest++; |
| 246 if (buildCounterAddOrderNotesRequest < 3) { | 246 if (buildCounterAddOrderNotesRequest < 3) { |
| 247 o.notes = buildUnnamed1677(); | 247 o.notes = buildUnnamed1781(); |
| 248 } | 248 } |
| 249 buildCounterAddOrderNotesRequest--; | 249 buildCounterAddOrderNotesRequest--; |
| 250 return o; | 250 return o; |
| 251 } | 251 } |
| 252 | 252 |
| 253 checkAddOrderNotesRequest(api.AddOrderNotesRequest o) { | 253 checkAddOrderNotesRequest(api.AddOrderNotesRequest o) { |
| 254 buildCounterAddOrderNotesRequest++; | 254 buildCounterAddOrderNotesRequest++; |
| 255 if (buildCounterAddOrderNotesRequest < 3) { | 255 if (buildCounterAddOrderNotesRequest < 3) { |
| 256 checkUnnamed1677(o.notes); | 256 checkUnnamed1781(o.notes); |
| 257 } | 257 } |
| 258 buildCounterAddOrderNotesRequest--; | 258 buildCounterAddOrderNotesRequest--; |
| 259 } | 259 } |
| 260 | 260 |
| 261 buildUnnamed1678() { | 261 buildUnnamed1782() { |
| 262 var o = new core.List<api.MarketplaceNote>(); | 262 var o = new core.List<api.MarketplaceNote>(); |
| 263 o.add(buildMarketplaceNote()); | 263 o.add(buildMarketplaceNote()); |
| 264 o.add(buildMarketplaceNote()); | 264 o.add(buildMarketplaceNote()); |
| 265 return o; | 265 return o; |
| 266 } | 266 } |
| 267 | 267 |
| 268 checkUnnamed1678(core.List<api.MarketplaceNote> o) { | 268 checkUnnamed1782(core.List<api.MarketplaceNote> o) { |
| 269 unittest.expect(o, unittest.hasLength(2)); | 269 unittest.expect(o, unittest.hasLength(2)); |
| 270 checkMarketplaceNote(o[0]); | 270 checkMarketplaceNote(o[0]); |
| 271 checkMarketplaceNote(o[1]); | 271 checkMarketplaceNote(o[1]); |
| 272 } | 272 } |
| 273 | 273 |
| 274 core.int buildCounterAddOrderNotesResponse = 0; | 274 core.int buildCounterAddOrderNotesResponse = 0; |
| 275 buildAddOrderNotesResponse() { | 275 buildAddOrderNotesResponse() { |
| 276 var o = new api.AddOrderNotesResponse(); | 276 var o = new api.AddOrderNotesResponse(); |
| 277 buildCounterAddOrderNotesResponse++; | 277 buildCounterAddOrderNotesResponse++; |
| 278 if (buildCounterAddOrderNotesResponse < 3) { | 278 if (buildCounterAddOrderNotesResponse < 3) { |
| 279 o.notes = buildUnnamed1678(); | 279 o.notes = buildUnnamed1782(); |
| 280 } | 280 } |
| 281 buildCounterAddOrderNotesResponse--; | 281 buildCounterAddOrderNotesResponse--; |
| 282 return o; | 282 return o; |
| 283 } | 283 } |
| 284 | 284 |
| 285 checkAddOrderNotesResponse(api.AddOrderNotesResponse o) { | 285 checkAddOrderNotesResponse(api.AddOrderNotesResponse o) { |
| 286 buildCounterAddOrderNotesResponse++; | 286 buildCounterAddOrderNotesResponse++; |
| 287 if (buildCounterAddOrderNotesResponse < 3) { | 287 if (buildCounterAddOrderNotesResponse < 3) { |
| 288 checkUnnamed1678(o.notes); | 288 checkUnnamed1782(o.notes); |
| 289 } | 289 } |
| 290 buildCounterAddOrderNotesResponse--; | 290 buildCounterAddOrderNotesResponse--; |
| 291 } | 291 } |
| 292 | 292 |
| 293 buildUnnamed1679() { | 293 buildUnnamed1783() { |
| 294 var o = new core.List<core.String>(); | 294 var o = new core.List<core.String>(); |
| 295 o.add("foo"); | 295 o.add("foo"); |
| 296 o.add("foo"); | 296 o.add("foo"); |
| 297 return o; | 297 return o; |
| 298 } | 298 } |
| 299 | 299 |
| 300 checkUnnamed1679(core.List<core.String> o) { | 300 checkUnnamed1783(core.List<core.String> o) { |
| 301 unittest.expect(o, unittest.hasLength(2)); | 301 unittest.expect(o, unittest.hasLength(2)); |
| 302 unittest.expect(o[0], unittest.equals('foo')); | 302 unittest.expect(o[0], unittest.equals('foo')); |
| 303 unittest.expect(o[1], unittest.equals('foo')); | 303 unittest.expect(o[1], unittest.equals('foo')); |
| 304 } | 304 } |
| 305 | 305 |
| 306 core.int buildCounterBillingInfo = 0; | 306 core.int buildCounterBillingInfo = 0; |
| 307 buildBillingInfo() { | 307 buildBillingInfo() { |
| 308 var o = new api.BillingInfo(); | 308 var o = new api.BillingInfo(); |
| 309 buildCounterBillingInfo++; | 309 buildCounterBillingInfo++; |
| 310 if (buildCounterBillingInfo < 3) { | 310 if (buildCounterBillingInfo < 3) { |
| 311 o.accountId = 42; | 311 o.accountId = 42; |
| 312 o.accountName = "foo"; | 312 o.accountName = "foo"; |
| 313 o.billingId = buildUnnamed1679(); | 313 o.billingId = buildUnnamed1783(); |
| 314 o.kind = "foo"; | 314 o.kind = "foo"; |
| 315 } | 315 } |
| 316 buildCounterBillingInfo--; | 316 buildCounterBillingInfo--; |
| 317 return o; | 317 return o; |
| 318 } | 318 } |
| 319 | 319 |
| 320 checkBillingInfo(api.BillingInfo o) { | 320 checkBillingInfo(api.BillingInfo o) { |
| 321 buildCounterBillingInfo++; | 321 buildCounterBillingInfo++; |
| 322 if (buildCounterBillingInfo < 3) { | 322 if (buildCounterBillingInfo < 3) { |
| 323 unittest.expect(o.accountId, unittest.equals(42)); | 323 unittest.expect(o.accountId, unittest.equals(42)); |
| 324 unittest.expect(o.accountName, unittest.equals('foo')); | 324 unittest.expect(o.accountName, unittest.equals('foo')); |
| 325 checkUnnamed1679(o.billingId); | 325 checkUnnamed1783(o.billingId); |
| 326 unittest.expect(o.kind, unittest.equals('foo')); | 326 unittest.expect(o.kind, unittest.equals('foo')); |
| 327 } | 327 } |
| 328 buildCounterBillingInfo--; | 328 buildCounterBillingInfo--; |
| 329 } | 329 } |
| 330 | 330 |
| 331 buildUnnamed1680() { | 331 buildUnnamed1784() { |
| 332 var o = new core.List<api.BillingInfo>(); | 332 var o = new core.List<api.BillingInfo>(); |
| 333 o.add(buildBillingInfo()); | 333 o.add(buildBillingInfo()); |
| 334 o.add(buildBillingInfo()); | 334 o.add(buildBillingInfo()); |
| 335 return o; | 335 return o; |
| 336 } | 336 } |
| 337 | 337 |
| 338 checkUnnamed1680(core.List<api.BillingInfo> o) { | 338 checkUnnamed1784(core.List<api.BillingInfo> o) { |
| 339 unittest.expect(o, unittest.hasLength(2)); | 339 unittest.expect(o, unittest.hasLength(2)); |
| 340 checkBillingInfo(o[0]); | 340 checkBillingInfo(o[0]); |
| 341 checkBillingInfo(o[1]); | 341 checkBillingInfo(o[1]); |
| 342 } | 342 } |
| 343 | 343 |
| 344 core.int buildCounterBillingInfoList = 0; | 344 core.int buildCounterBillingInfoList = 0; |
| 345 buildBillingInfoList() { | 345 buildBillingInfoList() { |
| 346 var o = new api.BillingInfoList(); | 346 var o = new api.BillingInfoList(); |
| 347 buildCounterBillingInfoList++; | 347 buildCounterBillingInfoList++; |
| 348 if (buildCounterBillingInfoList < 3) { | 348 if (buildCounterBillingInfoList < 3) { |
| 349 o.items = buildUnnamed1680(); | 349 o.items = buildUnnamed1784(); |
| 350 o.kind = "foo"; | 350 o.kind = "foo"; |
| 351 } | 351 } |
| 352 buildCounterBillingInfoList--; | 352 buildCounterBillingInfoList--; |
| 353 return o; | 353 return o; |
| 354 } | 354 } |
| 355 | 355 |
| 356 checkBillingInfoList(api.BillingInfoList o) { | 356 checkBillingInfoList(api.BillingInfoList o) { |
| 357 buildCounterBillingInfoList++; | 357 buildCounterBillingInfoList++; |
| 358 if (buildCounterBillingInfoList < 3) { | 358 if (buildCounterBillingInfoList < 3) { |
| 359 checkUnnamed1680(o.items); | 359 checkUnnamed1784(o.items); |
| 360 unittest.expect(o.kind, unittest.equals('foo')); | 360 unittest.expect(o.kind, unittest.equals('foo')); |
| 361 } | 361 } |
| 362 buildCounterBillingInfoList--; | 362 buildCounterBillingInfoList--; |
| 363 } | 363 } |
| 364 | 364 |
| 365 core.int buildCounterBudget = 0; | 365 core.int buildCounterBudget = 0; |
| 366 buildBudget() { | 366 buildBudget() { |
| 367 var o = new api.Budget(); | 367 var o = new api.Budget(); |
| 368 buildCounterBudget++; | 368 buildCounterBudget++; |
| 369 if (buildCounterBudget < 3) { | 369 if (buildCounterBudget < 3) { |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 424 | 424 |
| 425 checkContactInformation(api.ContactInformation o) { | 425 checkContactInformation(api.ContactInformation o) { |
| 426 buildCounterContactInformation++; | 426 buildCounterContactInformation++; |
| 427 if (buildCounterContactInformation < 3) { | 427 if (buildCounterContactInformation < 3) { |
| 428 unittest.expect(o.email, unittest.equals('foo')); | 428 unittest.expect(o.email, unittest.equals('foo')); |
| 429 unittest.expect(o.name, unittest.equals('foo')); | 429 unittest.expect(o.name, unittest.equals('foo')); |
| 430 } | 430 } |
| 431 buildCounterContactInformation--; | 431 buildCounterContactInformation--; |
| 432 } | 432 } |
| 433 | 433 |
| 434 buildUnnamed1681() { | 434 buildUnnamed1785() { |
| 435 var o = new core.List<api.Proposal>(); | 435 var o = new core.List<api.Proposal>(); |
| 436 o.add(buildProposal()); | 436 o.add(buildProposal()); |
| 437 o.add(buildProposal()); | 437 o.add(buildProposal()); |
| 438 return o; | 438 return o; |
| 439 } | 439 } |
| 440 | 440 |
| 441 checkUnnamed1681(core.List<api.Proposal> o) { | 441 checkUnnamed1785(core.List<api.Proposal> o) { |
| 442 unittest.expect(o, unittest.hasLength(2)); | 442 unittest.expect(o, unittest.hasLength(2)); |
| 443 checkProposal(o[0]); | 443 checkProposal(o[0]); |
| 444 checkProposal(o[1]); | 444 checkProposal(o[1]); |
| 445 } | 445 } |
| 446 | 446 |
| 447 core.int buildCounterCreateOrdersRequest = 0; | 447 core.int buildCounterCreateOrdersRequest = 0; |
| 448 buildCreateOrdersRequest() { | 448 buildCreateOrdersRequest() { |
| 449 var o = new api.CreateOrdersRequest(); | 449 var o = new api.CreateOrdersRequest(); |
| 450 buildCounterCreateOrdersRequest++; | 450 buildCounterCreateOrdersRequest++; |
| 451 if (buildCounterCreateOrdersRequest < 3) { | 451 if (buildCounterCreateOrdersRequest < 3) { |
| 452 o.proposals = buildUnnamed1681(); | 452 o.proposals = buildUnnamed1785(); |
| 453 o.webPropertyCode = "foo"; | 453 o.webPropertyCode = "foo"; |
| 454 } | 454 } |
| 455 buildCounterCreateOrdersRequest--; | 455 buildCounterCreateOrdersRequest--; |
| 456 return o; | 456 return o; |
| 457 } | 457 } |
| 458 | 458 |
| 459 checkCreateOrdersRequest(api.CreateOrdersRequest o) { | 459 checkCreateOrdersRequest(api.CreateOrdersRequest o) { |
| 460 buildCounterCreateOrdersRequest++; | 460 buildCounterCreateOrdersRequest++; |
| 461 if (buildCounterCreateOrdersRequest < 3) { | 461 if (buildCounterCreateOrdersRequest < 3) { |
| 462 checkUnnamed1681(o.proposals); | 462 checkUnnamed1785(o.proposals); |
| 463 unittest.expect(o.webPropertyCode, unittest.equals('foo')); | 463 unittest.expect(o.webPropertyCode, unittest.equals('foo')); |
| 464 } | 464 } |
| 465 buildCounterCreateOrdersRequest--; | 465 buildCounterCreateOrdersRequest--; |
| 466 } | 466 } |
| 467 | 467 |
| 468 buildUnnamed1682() { | 468 buildUnnamed1786() { |
| 469 var o = new core.List<api.Proposal>(); | 469 var o = new core.List<api.Proposal>(); |
| 470 o.add(buildProposal()); | 470 o.add(buildProposal()); |
| 471 o.add(buildProposal()); | 471 o.add(buildProposal()); |
| 472 return o; | 472 return o; |
| 473 } | 473 } |
| 474 | 474 |
| 475 checkUnnamed1682(core.List<api.Proposal> o) { | 475 checkUnnamed1786(core.List<api.Proposal> o) { |
| 476 unittest.expect(o, unittest.hasLength(2)); | 476 unittest.expect(o, unittest.hasLength(2)); |
| 477 checkProposal(o[0]); | 477 checkProposal(o[0]); |
| 478 checkProposal(o[1]); | 478 checkProposal(o[1]); |
| 479 } | 479 } |
| 480 | 480 |
| 481 core.int buildCounterCreateOrdersResponse = 0; | 481 core.int buildCounterCreateOrdersResponse = 0; |
| 482 buildCreateOrdersResponse() { | 482 buildCreateOrdersResponse() { |
| 483 var o = new api.CreateOrdersResponse(); | 483 var o = new api.CreateOrdersResponse(); |
| 484 buildCounterCreateOrdersResponse++; | 484 buildCounterCreateOrdersResponse++; |
| 485 if (buildCounterCreateOrdersResponse < 3) { | 485 if (buildCounterCreateOrdersResponse < 3) { |
| 486 o.proposals = buildUnnamed1682(); | 486 o.proposals = buildUnnamed1786(); |
| 487 } | 487 } |
| 488 buildCounterCreateOrdersResponse--; | 488 buildCounterCreateOrdersResponse--; |
| 489 return o; | 489 return o; |
| 490 } | 490 } |
| 491 | 491 |
| 492 checkCreateOrdersResponse(api.CreateOrdersResponse o) { | 492 checkCreateOrdersResponse(api.CreateOrdersResponse o) { |
| 493 buildCounterCreateOrdersResponse++; | 493 buildCounterCreateOrdersResponse++; |
| 494 if (buildCounterCreateOrdersResponse < 3) { | 494 if (buildCounterCreateOrdersResponse < 3) { |
| 495 checkUnnamed1682(o.proposals); | 495 checkUnnamed1786(o.proposals); |
| 496 } | 496 } |
| 497 buildCounterCreateOrdersResponse--; | 497 buildCounterCreateOrdersResponse--; |
| 498 } | 498 } |
| 499 | 499 |
| 500 buildUnnamed1683() { | 500 buildUnnamed1787() { |
| 501 var o = new core.List<core.String>(); | 501 var o = new core.List<core.String>(); |
| 502 o.add("foo"); | 502 o.add("foo"); |
| 503 o.add("foo"); | 503 o.add("foo"); |
| 504 return o; | 504 return o; |
| 505 } | 505 } |
| 506 | 506 |
| 507 checkUnnamed1683(core.List<core.String> o) { | 507 checkUnnamed1787(core.List<core.String> o) { |
| 508 unittest.expect(o, unittest.hasLength(2)); | 508 unittest.expect(o, unittest.hasLength(2)); |
| 509 unittest.expect(o[0], unittest.equals('foo')); | 509 unittest.expect(o[0], unittest.equals('foo')); |
| 510 unittest.expect(o[1], unittest.equals('foo')); | 510 unittest.expect(o[1], unittest.equals('foo')); |
| 511 } | 511 } |
| 512 | 512 |
| 513 buildUnnamed1684() { | 513 buildUnnamed1788() { |
| 514 var o = new core.List<core.int>(); | 514 var o = new core.List<core.int>(); |
| 515 o.add(42); | 515 o.add(42); |
| 516 o.add(42); | 516 o.add(42); |
| 517 return o; | 517 return o; |
| 518 } | 518 } |
| 519 | 519 |
| 520 checkUnnamed1684(core.List<core.int> o) { | 520 checkUnnamed1788(core.List<core.int> o) { |
| 521 unittest.expect(o, unittest.hasLength(2)); | 521 unittest.expect(o, unittest.hasLength(2)); |
| 522 unittest.expect(o[0], unittest.equals(42)); | 522 unittest.expect(o[0], unittest.equals(42)); |
| 523 unittest.expect(o[1], unittest.equals(42)); | 523 unittest.expect(o[1], unittest.equals(42)); |
| 524 } | 524 } |
| 525 | 525 |
| 526 buildUnnamed1685() { | 526 buildUnnamed1789() { |
| 527 var o = new core.List<core.String>(); | 527 var o = new core.List<core.String>(); |
| 528 o.add("foo"); | 528 o.add("foo"); |
| 529 o.add("foo"); | 529 o.add("foo"); |
| 530 return o; | 530 return o; |
| 531 } | 531 } |
| 532 | 532 |
| 533 checkUnnamed1685(core.List<core.String> o) { | 533 checkUnnamed1789(core.List<core.String> o) { |
| 534 unittest.expect(o, unittest.hasLength(2)); | 534 unittest.expect(o, unittest.hasLength(2)); |
| 535 unittest.expect(o[0], unittest.equals('foo')); | 535 unittest.expect(o[0], unittest.equals('foo')); |
| 536 unittest.expect(o[1], unittest.equals('foo')); | 536 unittest.expect(o[1], unittest.equals('foo')); |
| 537 } | 537 } |
| 538 | 538 |
| 539 buildUnnamed1686() { | 539 buildUnnamed1790() { |
| 540 var o = new core.List<core.String>(); | 540 var o = new core.List<core.String>(); |
| 541 o.add("foo"); | 541 o.add("foo"); |
| 542 o.add("foo"); | 542 o.add("foo"); |
| 543 return o; | 543 return o; |
| 544 } | 544 } |
| 545 | 545 |
| 546 checkUnnamed1686(core.List<core.String> o) { | 546 checkUnnamed1790(core.List<core.String> o) { |
| 547 unittest.expect(o, unittest.hasLength(2)); | 547 unittest.expect(o, unittest.hasLength(2)); |
| 548 unittest.expect(o[0], unittest.equals('foo')); | 548 unittest.expect(o[0], unittest.equals('foo')); |
| 549 unittest.expect(o[1], unittest.equals('foo')); | 549 unittest.expect(o[1], unittest.equals('foo')); |
| 550 } | 550 } |
| 551 | 551 |
| 552 buildUnnamed1687() { | 552 buildUnnamed1791() { |
| 553 var o = new core.List<core.int>(); | 553 var o = new core.List<core.int>(); |
| 554 o.add(42); | 554 o.add(42); |
| 555 o.add(42); | 555 o.add(42); |
| 556 return o; | 556 return o; |
| 557 } | 557 } |
| 558 | 558 |
| 559 checkUnnamed1687(core.List<core.int> o) { | 559 checkUnnamed1791(core.List<core.int> o) { |
| 560 unittest.expect(o, unittest.hasLength(2)); | 560 unittest.expect(o, unittest.hasLength(2)); |
| 561 unittest.expect(o[0], unittest.equals(42)); | 561 unittest.expect(o[0], unittest.equals(42)); |
| 562 unittest.expect(o[1], unittest.equals(42)); | 562 unittest.expect(o[1], unittest.equals(42)); |
| 563 } | 563 } |
| 564 | 564 |
| 565 buildUnnamed1688() { | 565 buildUnnamed1792() { |
| 566 var o = new core.List<core.String>(); | 566 var o = new core.List<core.String>(); |
| 567 o.add("foo"); | 567 o.add("foo"); |
| 568 o.add("foo"); | 568 o.add("foo"); |
| 569 return o; | 569 return o; |
| 570 } | 570 } |
| 571 | 571 |
| 572 checkUnnamed1688(core.List<core.String> o) { | 572 checkUnnamed1792(core.List<core.String> o) { |
| 573 unittest.expect(o, unittest.hasLength(2)); | 573 unittest.expect(o, unittest.hasLength(2)); |
| 574 unittest.expect(o[0], unittest.equals('foo')); | 574 unittest.expect(o[0], unittest.equals('foo')); |
| 575 unittest.expect(o[1], unittest.equals('foo')); | 575 unittest.expect(o[1], unittest.equals('foo')); |
| 576 } | 576 } |
| 577 | 577 |
| 578 core.int buildCounterCreativeCorrectionsContexts = 0; | 578 core.int buildCounterCreativeCorrectionsContexts = 0; |
| 579 buildCreativeCorrectionsContexts() { | 579 buildCreativeCorrectionsContexts() { |
| 580 var o = new api.CreativeCorrectionsContexts(); | 580 var o = new api.CreativeCorrectionsContexts(); |
| 581 buildCounterCreativeCorrectionsContexts++; | 581 buildCounterCreativeCorrectionsContexts++; |
| 582 if (buildCounterCreativeCorrectionsContexts < 3) { | 582 if (buildCounterCreativeCorrectionsContexts < 3) { |
| 583 o.auctionType = buildUnnamed1686(); | 583 o.auctionType = buildUnnamed1790(); |
| 584 o.contextType = "foo"; | 584 o.contextType = "foo"; |
| 585 o.geoCriteriaId = buildUnnamed1687(); | 585 o.geoCriteriaId = buildUnnamed1791(); |
| 586 o.platform = buildUnnamed1688(); | 586 o.platform = buildUnnamed1792(); |
| 587 } | 587 } |
| 588 buildCounterCreativeCorrectionsContexts--; | 588 buildCounterCreativeCorrectionsContexts--; |
| 589 return o; | 589 return o; |
| 590 } | 590 } |
| 591 | 591 |
| 592 checkCreativeCorrectionsContexts(api.CreativeCorrectionsContexts o) { | 592 checkCreativeCorrectionsContexts(api.CreativeCorrectionsContexts o) { |
| 593 buildCounterCreativeCorrectionsContexts++; | 593 buildCounterCreativeCorrectionsContexts++; |
| 594 if (buildCounterCreativeCorrectionsContexts < 3) { | 594 if (buildCounterCreativeCorrectionsContexts < 3) { |
| 595 checkUnnamed1686(o.auctionType); | 595 checkUnnamed1790(o.auctionType); |
| 596 unittest.expect(o.contextType, unittest.equals('foo')); | 596 unittest.expect(o.contextType, unittest.equals('foo')); |
| 597 checkUnnamed1687(o.geoCriteriaId); | 597 checkUnnamed1791(o.geoCriteriaId); |
| 598 checkUnnamed1688(o.platform); | 598 checkUnnamed1792(o.platform); |
| 599 } | 599 } |
| 600 buildCounterCreativeCorrectionsContexts--; | 600 buildCounterCreativeCorrectionsContexts--; |
| 601 } | 601 } |
| 602 | 602 |
| 603 buildUnnamed1689() { | 603 buildUnnamed1793() { |
| 604 var o = new core.List<api.CreativeCorrectionsContexts>(); | 604 var o = new core.List<api.CreativeCorrectionsContexts>(); |
| 605 o.add(buildCreativeCorrectionsContexts()); | 605 o.add(buildCreativeCorrectionsContexts()); |
| 606 o.add(buildCreativeCorrectionsContexts()); | 606 o.add(buildCreativeCorrectionsContexts()); |
| 607 return o; | 607 return o; |
| 608 } | 608 } |
| 609 | 609 |
| 610 checkUnnamed1689(core.List<api.CreativeCorrectionsContexts> o) { | 610 checkUnnamed1793(core.List<api.CreativeCorrectionsContexts> o) { |
| 611 unittest.expect(o, unittest.hasLength(2)); | 611 unittest.expect(o, unittest.hasLength(2)); |
| 612 checkCreativeCorrectionsContexts(o[0]); | 612 checkCreativeCorrectionsContexts(o[0]); |
| 613 checkCreativeCorrectionsContexts(o[1]); | 613 checkCreativeCorrectionsContexts(o[1]); |
| 614 } | 614 } |
| 615 | 615 |
| 616 buildUnnamed1690() { | 616 buildUnnamed1794() { |
| 617 var o = new core.List<core.String>(); | 617 var o = new core.List<core.String>(); |
| 618 o.add("foo"); | 618 o.add("foo"); |
| 619 o.add("foo"); | 619 o.add("foo"); |
| 620 return o; | 620 return o; |
| 621 } | 621 } |
| 622 | 622 |
| 623 checkUnnamed1690(core.List<core.String> o) { | 623 checkUnnamed1794(core.List<core.String> o) { |
| 624 unittest.expect(o, unittest.hasLength(2)); | 624 unittest.expect(o, unittest.hasLength(2)); |
| 625 unittest.expect(o[0], unittest.equals('foo')); | 625 unittest.expect(o[0], unittest.equals('foo')); |
| 626 unittest.expect(o[1], unittest.equals('foo')); | 626 unittest.expect(o[1], unittest.equals('foo')); |
| 627 } | 627 } |
| 628 | 628 |
| 629 core.int buildCounterCreativeCorrections = 0; | 629 core.int buildCounterCreativeCorrections = 0; |
| 630 buildCreativeCorrections() { | 630 buildCreativeCorrections() { |
| 631 var o = new api.CreativeCorrections(); | 631 var o = new api.CreativeCorrections(); |
| 632 buildCounterCreativeCorrections++; | 632 buildCounterCreativeCorrections++; |
| 633 if (buildCounterCreativeCorrections < 3) { | 633 if (buildCounterCreativeCorrections < 3) { |
| 634 o.contexts = buildUnnamed1689(); | 634 o.contexts = buildUnnamed1793(); |
| 635 o.details = buildUnnamed1690(); | 635 o.details = buildUnnamed1794(); |
| 636 o.reason = "foo"; | 636 o.reason = "foo"; |
| 637 } | 637 } |
| 638 buildCounterCreativeCorrections--; | 638 buildCounterCreativeCorrections--; |
| 639 return o; | 639 return o; |
| 640 } | 640 } |
| 641 | 641 |
| 642 checkCreativeCorrections(api.CreativeCorrections o) { | 642 checkCreativeCorrections(api.CreativeCorrections o) { |
| 643 buildCounterCreativeCorrections++; | 643 buildCounterCreativeCorrections++; |
| 644 if (buildCounterCreativeCorrections < 3) { | 644 if (buildCounterCreativeCorrections < 3) { |
| 645 checkUnnamed1689(o.contexts); | 645 checkUnnamed1793(o.contexts); |
| 646 checkUnnamed1690(o.details); | 646 checkUnnamed1794(o.details); |
| 647 unittest.expect(o.reason, unittest.equals('foo')); | 647 unittest.expect(o.reason, unittest.equals('foo')); |
| 648 } | 648 } |
| 649 buildCounterCreativeCorrections--; | 649 buildCounterCreativeCorrections--; |
| 650 } | 650 } |
| 651 | 651 |
| 652 buildUnnamed1691() { | 652 buildUnnamed1795() { |
| 653 var o = new core.List<api.CreativeCorrections>(); | 653 var o = new core.List<api.CreativeCorrections>(); |
| 654 o.add(buildCreativeCorrections()); | 654 o.add(buildCreativeCorrections()); |
| 655 o.add(buildCreativeCorrections()); | 655 o.add(buildCreativeCorrections()); |
| 656 return o; | 656 return o; |
| 657 } | 657 } |
| 658 | 658 |
| 659 checkUnnamed1691(core.List<api.CreativeCorrections> o) { | 659 checkUnnamed1795(core.List<api.CreativeCorrections> o) { |
| 660 unittest.expect(o, unittest.hasLength(2)); | 660 unittest.expect(o, unittest.hasLength(2)); |
| 661 checkCreativeCorrections(o[0]); | 661 checkCreativeCorrections(o[0]); |
| 662 checkCreativeCorrections(o[1]); | 662 checkCreativeCorrections(o[1]); |
| 663 } | 663 } |
| 664 | 664 |
| 665 buildUnnamed1692() { | 665 buildUnnamed1796() { |
| 666 var o = new core.List<core.String>(); | 666 var o = new core.List<core.String>(); |
| 667 o.add("foo"); | 667 o.add("foo"); |
| 668 o.add("foo"); | 668 o.add("foo"); |
| 669 return o; | 669 return o; |
| 670 } | 670 } |
| 671 | 671 |
| 672 checkUnnamed1692(core.List<core.String> o) { | 672 checkUnnamed1796(core.List<core.String> o) { |
| 673 unittest.expect(o, unittest.hasLength(2)); | 673 unittest.expect(o, unittest.hasLength(2)); |
| 674 unittest.expect(o[0], unittest.equals('foo')); | 674 unittest.expect(o[0], unittest.equals('foo')); |
| 675 unittest.expect(o[1], unittest.equals('foo')); | 675 unittest.expect(o[1], unittest.equals('foo')); |
| 676 } | 676 } |
| 677 | 677 |
| 678 core.int buildCounterCreativeFilteringReasonsReasons = 0; | 678 core.int buildCounterCreativeFilteringReasonsReasons = 0; |
| 679 buildCreativeFilteringReasonsReasons() { | 679 buildCreativeFilteringReasonsReasons() { |
| 680 var o = new api.CreativeFilteringReasonsReasons(); | 680 var o = new api.CreativeFilteringReasonsReasons(); |
| 681 buildCounterCreativeFilteringReasonsReasons++; | 681 buildCounterCreativeFilteringReasonsReasons++; |
| 682 if (buildCounterCreativeFilteringReasonsReasons < 3) { | 682 if (buildCounterCreativeFilteringReasonsReasons < 3) { |
| 683 o.filteringCount = "foo"; | 683 o.filteringCount = "foo"; |
| 684 o.filteringStatus = 42; | 684 o.filteringStatus = 42; |
| 685 } | 685 } |
| 686 buildCounterCreativeFilteringReasonsReasons--; | 686 buildCounterCreativeFilteringReasonsReasons--; |
| 687 return o; | 687 return o; |
| 688 } | 688 } |
| 689 | 689 |
| 690 checkCreativeFilteringReasonsReasons(api.CreativeFilteringReasonsReasons o) { | 690 checkCreativeFilteringReasonsReasons(api.CreativeFilteringReasonsReasons o) { |
| 691 buildCounterCreativeFilteringReasonsReasons++; | 691 buildCounterCreativeFilteringReasonsReasons++; |
| 692 if (buildCounterCreativeFilteringReasonsReasons < 3) { | 692 if (buildCounterCreativeFilteringReasonsReasons < 3) { |
| 693 unittest.expect(o.filteringCount, unittest.equals('foo')); | 693 unittest.expect(o.filteringCount, unittest.equals('foo')); |
| 694 unittest.expect(o.filteringStatus, unittest.equals(42)); | 694 unittest.expect(o.filteringStatus, unittest.equals(42)); |
| 695 } | 695 } |
| 696 buildCounterCreativeFilteringReasonsReasons--; | 696 buildCounterCreativeFilteringReasonsReasons--; |
| 697 } | 697 } |
| 698 | 698 |
| 699 buildUnnamed1693() { | 699 buildUnnamed1797() { |
| 700 var o = new core.List<api.CreativeFilteringReasonsReasons>(); | 700 var o = new core.List<api.CreativeFilteringReasonsReasons>(); |
| 701 o.add(buildCreativeFilteringReasonsReasons()); | 701 o.add(buildCreativeFilteringReasonsReasons()); |
| 702 o.add(buildCreativeFilteringReasonsReasons()); | 702 o.add(buildCreativeFilteringReasonsReasons()); |
| 703 return o; | 703 return o; |
| 704 } | 704 } |
| 705 | 705 |
| 706 checkUnnamed1693(core.List<api.CreativeFilteringReasonsReasons> o) { | 706 checkUnnamed1797(core.List<api.CreativeFilteringReasonsReasons> o) { |
| 707 unittest.expect(o, unittest.hasLength(2)); | 707 unittest.expect(o, unittest.hasLength(2)); |
| 708 checkCreativeFilteringReasonsReasons(o[0]); | 708 checkCreativeFilteringReasonsReasons(o[0]); |
| 709 checkCreativeFilteringReasonsReasons(o[1]); | 709 checkCreativeFilteringReasonsReasons(o[1]); |
| 710 } | 710 } |
| 711 | 711 |
| 712 core.int buildCounterCreativeFilteringReasons = 0; | 712 core.int buildCounterCreativeFilteringReasons = 0; |
| 713 buildCreativeFilteringReasons() { | 713 buildCreativeFilteringReasons() { |
| 714 var o = new api.CreativeFilteringReasons(); | 714 var o = new api.CreativeFilteringReasons(); |
| 715 buildCounterCreativeFilteringReasons++; | 715 buildCounterCreativeFilteringReasons++; |
| 716 if (buildCounterCreativeFilteringReasons < 3) { | 716 if (buildCounterCreativeFilteringReasons < 3) { |
| 717 o.date = "foo"; | 717 o.date = "foo"; |
| 718 o.reasons = buildUnnamed1693(); | 718 o.reasons = buildUnnamed1797(); |
| 719 } | 719 } |
| 720 buildCounterCreativeFilteringReasons--; | 720 buildCounterCreativeFilteringReasons--; |
| 721 return o; | 721 return o; |
| 722 } | 722 } |
| 723 | 723 |
| 724 checkCreativeFilteringReasons(api.CreativeFilteringReasons o) { | 724 checkCreativeFilteringReasons(api.CreativeFilteringReasons o) { |
| 725 buildCounterCreativeFilteringReasons++; | 725 buildCounterCreativeFilteringReasons++; |
| 726 if (buildCounterCreativeFilteringReasons < 3) { | 726 if (buildCounterCreativeFilteringReasons < 3) { |
| 727 unittest.expect(o.date, unittest.equals('foo')); | 727 unittest.expect(o.date, unittest.equals('foo')); |
| 728 checkUnnamed1693(o.reasons); | 728 checkUnnamed1797(o.reasons); |
| 729 } | 729 } |
| 730 buildCounterCreativeFilteringReasons--; | 730 buildCounterCreativeFilteringReasons--; |
| 731 } | 731 } |
| 732 | 732 |
| 733 buildUnnamed1694() { | 733 buildUnnamed1798() { |
| 734 var o = new core.List<core.String>(); | 734 var o = new core.List<core.String>(); |
| 735 o.add("foo"); | 735 o.add("foo"); |
| 736 o.add("foo"); | 736 o.add("foo"); |
| 737 return o; | 737 return o; |
| 738 } | 738 } |
| 739 | 739 |
| 740 checkUnnamed1694(core.List<core.String> o) { | 740 checkUnnamed1798(core.List<core.String> o) { |
| 741 unittest.expect(o, unittest.hasLength(2)); | 741 unittest.expect(o, unittest.hasLength(2)); |
| 742 unittest.expect(o[0], unittest.equals('foo')); | 742 unittest.expect(o[0], unittest.equals('foo')); |
| 743 unittest.expect(o[1], unittest.equals('foo')); | 743 unittest.expect(o[1], unittest.equals('foo')); |
| 744 } | 744 } |
| 745 | 745 |
| 746 buildUnnamed1695() { | 746 buildUnnamed1799() { |
| 747 var o = new core.List<core.String>(); | 747 var o = new core.List<core.String>(); |
| 748 o.add("foo"); | 748 o.add("foo"); |
| 749 o.add("foo"); | 749 o.add("foo"); |
| 750 return o; | 750 return o; |
| 751 } | 751 } |
| 752 | 752 |
| 753 checkUnnamed1695(core.List<core.String> o) { | 753 checkUnnamed1799(core.List<core.String> o) { |
| 754 unittest.expect(o, unittest.hasLength(2)); | 754 unittest.expect(o, unittest.hasLength(2)); |
| 755 unittest.expect(o[0], unittest.equals('foo')); | 755 unittest.expect(o[0], unittest.equals('foo')); |
| 756 unittest.expect(o[1], unittest.equals('foo')); | 756 unittest.expect(o[1], unittest.equals('foo')); |
| 757 } | 757 } |
| 758 | 758 |
| 759 core.int buildCounterCreativeNativeAdAppIcon = 0; | 759 core.int buildCounterCreativeNativeAdAppIcon = 0; |
| 760 buildCreativeNativeAdAppIcon() { | 760 buildCreativeNativeAdAppIcon() { |
| 761 var o = new api.CreativeNativeAdAppIcon(); | 761 var o = new api.CreativeNativeAdAppIcon(); |
| 762 buildCounterCreativeNativeAdAppIcon++; | 762 buildCounterCreativeNativeAdAppIcon++; |
| 763 if (buildCounterCreativeNativeAdAppIcon < 3) { | 763 if (buildCounterCreativeNativeAdAppIcon < 3) { |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 795 checkCreativeNativeAdImage(api.CreativeNativeAdImage o) { | 795 checkCreativeNativeAdImage(api.CreativeNativeAdImage o) { |
| 796 buildCounterCreativeNativeAdImage++; | 796 buildCounterCreativeNativeAdImage++; |
| 797 if (buildCounterCreativeNativeAdImage < 3) { | 797 if (buildCounterCreativeNativeAdImage < 3) { |
| 798 unittest.expect(o.height, unittest.equals(42)); | 798 unittest.expect(o.height, unittest.equals(42)); |
| 799 unittest.expect(o.url, unittest.equals('foo')); | 799 unittest.expect(o.url, unittest.equals('foo')); |
| 800 unittest.expect(o.width, unittest.equals(42)); | 800 unittest.expect(o.width, unittest.equals(42)); |
| 801 } | 801 } |
| 802 buildCounterCreativeNativeAdImage--; | 802 buildCounterCreativeNativeAdImage--; |
| 803 } | 803 } |
| 804 | 804 |
| 805 buildUnnamed1696() { | 805 buildUnnamed1800() { |
| 806 var o = new core.List<core.String>(); | 806 var o = new core.List<core.String>(); |
| 807 o.add("foo"); | 807 o.add("foo"); |
| 808 o.add("foo"); | 808 o.add("foo"); |
| 809 return o; | 809 return o; |
| 810 } | 810 } |
| 811 | 811 |
| 812 checkUnnamed1696(core.List<core.String> o) { | 812 checkUnnamed1800(core.List<core.String> o) { |
| 813 unittest.expect(o, unittest.hasLength(2)); | 813 unittest.expect(o, unittest.hasLength(2)); |
| 814 unittest.expect(o[0], unittest.equals('foo')); | 814 unittest.expect(o[0], unittest.equals('foo')); |
| 815 unittest.expect(o[1], unittest.equals('foo')); | 815 unittest.expect(o[1], unittest.equals('foo')); |
| 816 } | 816 } |
| 817 | 817 |
| 818 core.int buildCounterCreativeNativeAdLogo = 0; | 818 core.int buildCounterCreativeNativeAdLogo = 0; |
| 819 buildCreativeNativeAdLogo() { | 819 buildCreativeNativeAdLogo() { |
| 820 var o = new api.CreativeNativeAdLogo(); | 820 var o = new api.CreativeNativeAdLogo(); |
| 821 buildCounterCreativeNativeAdLogo++; | 821 buildCounterCreativeNativeAdLogo++; |
| 822 if (buildCounterCreativeNativeAdLogo < 3) { | 822 if (buildCounterCreativeNativeAdLogo < 3) { |
| (...skipping 21 matching lines...) Expand all Loading... |
| 844 buildCounterCreativeNativeAd++; | 844 buildCounterCreativeNativeAd++; |
| 845 if (buildCounterCreativeNativeAd < 3) { | 845 if (buildCounterCreativeNativeAd < 3) { |
| 846 o.advertiser = "foo"; | 846 o.advertiser = "foo"; |
| 847 o.appIcon = buildCreativeNativeAdAppIcon(); | 847 o.appIcon = buildCreativeNativeAdAppIcon(); |
| 848 o.body = "foo"; | 848 o.body = "foo"; |
| 849 o.callToAction = "foo"; | 849 o.callToAction = "foo"; |
| 850 o.clickLinkUrl = "foo"; | 850 o.clickLinkUrl = "foo"; |
| 851 o.clickTrackingUrl = "foo"; | 851 o.clickTrackingUrl = "foo"; |
| 852 o.headline = "foo"; | 852 o.headline = "foo"; |
| 853 o.image = buildCreativeNativeAdImage(); | 853 o.image = buildCreativeNativeAdImage(); |
| 854 o.impressionTrackingUrl = buildUnnamed1696(); | 854 o.impressionTrackingUrl = buildUnnamed1800(); |
| 855 o.logo = buildCreativeNativeAdLogo(); | 855 o.logo = buildCreativeNativeAdLogo(); |
| 856 o.price = "foo"; | 856 o.price = "foo"; |
| 857 o.starRating = 42.0; | 857 o.starRating = 42.0; |
| 858 o.store = "foo"; | 858 o.store = "foo"; |
| 859 o.videoURL = "foo"; | 859 o.videoURL = "foo"; |
| 860 } | 860 } |
| 861 buildCounterCreativeNativeAd--; | 861 buildCounterCreativeNativeAd--; |
| 862 return o; | 862 return o; |
| 863 } | 863 } |
| 864 | 864 |
| 865 checkCreativeNativeAd(api.CreativeNativeAd o) { | 865 checkCreativeNativeAd(api.CreativeNativeAd o) { |
| 866 buildCounterCreativeNativeAd++; | 866 buildCounterCreativeNativeAd++; |
| 867 if (buildCounterCreativeNativeAd < 3) { | 867 if (buildCounterCreativeNativeAd < 3) { |
| 868 unittest.expect(o.advertiser, unittest.equals('foo')); | 868 unittest.expect(o.advertiser, unittest.equals('foo')); |
| 869 checkCreativeNativeAdAppIcon(o.appIcon); | 869 checkCreativeNativeAdAppIcon(o.appIcon); |
| 870 unittest.expect(o.body, unittest.equals('foo')); | 870 unittest.expect(o.body, unittest.equals('foo')); |
| 871 unittest.expect(o.callToAction, unittest.equals('foo')); | 871 unittest.expect(o.callToAction, unittest.equals('foo')); |
| 872 unittest.expect(o.clickLinkUrl, unittest.equals('foo')); | 872 unittest.expect(o.clickLinkUrl, unittest.equals('foo')); |
| 873 unittest.expect(o.clickTrackingUrl, unittest.equals('foo')); | 873 unittest.expect(o.clickTrackingUrl, unittest.equals('foo')); |
| 874 unittest.expect(o.headline, unittest.equals('foo')); | 874 unittest.expect(o.headline, unittest.equals('foo')); |
| 875 checkCreativeNativeAdImage(o.image); | 875 checkCreativeNativeAdImage(o.image); |
| 876 checkUnnamed1696(o.impressionTrackingUrl); | 876 checkUnnamed1800(o.impressionTrackingUrl); |
| 877 checkCreativeNativeAdLogo(o.logo); | 877 checkCreativeNativeAdLogo(o.logo); |
| 878 unittest.expect(o.price, unittest.equals('foo')); | 878 unittest.expect(o.price, unittest.equals('foo')); |
| 879 unittest.expect(o.starRating, unittest.equals(42.0)); | 879 unittest.expect(o.starRating, unittest.equals(42.0)); |
| 880 unittest.expect(o.store, unittest.equals('foo')); | 880 unittest.expect(o.store, unittest.equals('foo')); |
| 881 unittest.expect(o.videoURL, unittest.equals('foo')); | 881 unittest.expect(o.videoURL, unittest.equals('foo')); |
| 882 } | 882 } |
| 883 buildCounterCreativeNativeAd--; | 883 buildCounterCreativeNativeAd--; |
| 884 } | 884 } |
| 885 | 885 |
| 886 buildUnnamed1697() { | 886 buildUnnamed1801() { |
| 887 var o = new core.List<core.int>(); | 887 var o = new core.List<core.int>(); |
| 888 o.add(42); | 888 o.add(42); |
| 889 o.add(42); | 889 o.add(42); |
| 890 return o; | 890 return o; |
| 891 } | 891 } |
| 892 | 892 |
| 893 checkUnnamed1697(core.List<core.int> o) { | 893 checkUnnamed1801(core.List<core.int> o) { |
| 894 unittest.expect(o, unittest.hasLength(2)); | 894 unittest.expect(o, unittest.hasLength(2)); |
| 895 unittest.expect(o[0], unittest.equals(42)); | 895 unittest.expect(o[0], unittest.equals(42)); |
| 896 unittest.expect(o[1], unittest.equals(42)); | 896 unittest.expect(o[1], unittest.equals(42)); |
| 897 } | 897 } |
| 898 | 898 |
| 899 buildUnnamed1698() { | 899 buildUnnamed1802() { |
| 900 var o = new core.List<core.int>(); | 900 var o = new core.List<core.int>(); |
| 901 o.add(42); | 901 o.add(42); |
| 902 o.add(42); | 902 o.add(42); |
| 903 return o; | 903 return o; |
| 904 } | 904 } |
| 905 | 905 |
| 906 checkUnnamed1698(core.List<core.int> o) { | 906 checkUnnamed1802(core.List<core.int> o) { |
| 907 unittest.expect(o, unittest.hasLength(2)); | 907 unittest.expect(o, unittest.hasLength(2)); |
| 908 unittest.expect(o[0], unittest.equals(42)); | 908 unittest.expect(o[0], unittest.equals(42)); |
| 909 unittest.expect(o[1], unittest.equals(42)); | 909 unittest.expect(o[1], unittest.equals(42)); |
| 910 } | 910 } |
| 911 | 911 |
| 912 buildUnnamed1699() { | 912 buildUnnamed1803() { |
| 913 var o = new core.List<core.int>(); | 913 var o = new core.List<core.int>(); |
| 914 o.add(42); | 914 o.add(42); |
| 915 o.add(42); | 915 o.add(42); |
| 916 return o; | 916 return o; |
| 917 } | 917 } |
| 918 | 918 |
| 919 checkUnnamed1699(core.List<core.int> o) { | 919 checkUnnamed1803(core.List<core.int> o) { |
| 920 unittest.expect(o, unittest.hasLength(2)); | 920 unittest.expect(o, unittest.hasLength(2)); |
| 921 unittest.expect(o[0], unittest.equals(42)); | 921 unittest.expect(o[0], unittest.equals(42)); |
| 922 unittest.expect(o[1], unittest.equals(42)); | 922 unittest.expect(o[1], unittest.equals(42)); |
| 923 } | 923 } |
| 924 | 924 |
| 925 buildUnnamed1700() { | 925 buildUnnamed1804() { |
| 926 var o = new core.List<core.String>(); | 926 var o = new core.List<core.String>(); |
| 927 o.add("foo"); | 927 o.add("foo"); |
| 928 o.add("foo"); | 928 o.add("foo"); |
| 929 return o; | 929 return o; |
| 930 } | 930 } |
| 931 | 931 |
| 932 checkUnnamed1700(core.List<core.String> o) { | 932 checkUnnamed1804(core.List<core.String> o) { |
| 933 unittest.expect(o, unittest.hasLength(2)); | 933 unittest.expect(o, unittest.hasLength(2)); |
| 934 unittest.expect(o[0], unittest.equals('foo')); | 934 unittest.expect(o[0], unittest.equals('foo')); |
| 935 unittest.expect(o[1], unittest.equals('foo')); | 935 unittest.expect(o[1], unittest.equals('foo')); |
| 936 } | 936 } |
| 937 | 937 |
| 938 buildUnnamed1701() { | 938 buildUnnamed1805() { |
| 939 var o = new core.List<core.int>(); | 939 var o = new core.List<core.int>(); |
| 940 o.add(42); | 940 o.add(42); |
| 941 o.add(42); | 941 o.add(42); |
| 942 return o; | 942 return o; |
| 943 } | 943 } |
| 944 | 944 |
| 945 checkUnnamed1701(core.List<core.int> o) { | 945 checkUnnamed1805(core.List<core.int> o) { |
| 946 unittest.expect(o, unittest.hasLength(2)); | 946 unittest.expect(o, unittest.hasLength(2)); |
| 947 unittest.expect(o[0], unittest.equals(42)); | 947 unittest.expect(o[0], unittest.equals(42)); |
| 948 unittest.expect(o[1], unittest.equals(42)); | 948 unittest.expect(o[1], unittest.equals(42)); |
| 949 } | 949 } |
| 950 | 950 |
| 951 buildUnnamed1702() { | 951 buildUnnamed1806() { |
| 952 var o = new core.List<core.String>(); | 952 var o = new core.List<core.String>(); |
| 953 o.add("foo"); | 953 o.add("foo"); |
| 954 o.add("foo"); | 954 o.add("foo"); |
| 955 return o; | 955 return o; |
| 956 } | 956 } |
| 957 | 957 |
| 958 checkUnnamed1702(core.List<core.String> o) { | 958 checkUnnamed1806(core.List<core.String> o) { |
| 959 unittest.expect(o, unittest.hasLength(2)); | 959 unittest.expect(o, unittest.hasLength(2)); |
| 960 unittest.expect(o[0], unittest.equals('foo')); | 960 unittest.expect(o[0], unittest.equals('foo')); |
| 961 unittest.expect(o[1], unittest.equals('foo')); | 961 unittest.expect(o[1], unittest.equals('foo')); |
| 962 } | 962 } |
| 963 | 963 |
| 964 core.int buildCounterCreativeServingRestrictionsContexts = 0; | 964 core.int buildCounterCreativeServingRestrictionsContexts = 0; |
| 965 buildCreativeServingRestrictionsContexts() { | 965 buildCreativeServingRestrictionsContexts() { |
| 966 var o = new api.CreativeServingRestrictionsContexts(); | 966 var o = new api.CreativeServingRestrictionsContexts(); |
| 967 buildCounterCreativeServingRestrictionsContexts++; | 967 buildCounterCreativeServingRestrictionsContexts++; |
| 968 if (buildCounterCreativeServingRestrictionsContexts < 3) { | 968 if (buildCounterCreativeServingRestrictionsContexts < 3) { |
| 969 o.auctionType = buildUnnamed1700(); | 969 o.auctionType = buildUnnamed1804(); |
| 970 o.contextType = "foo"; | 970 o.contextType = "foo"; |
| 971 o.geoCriteriaId = buildUnnamed1701(); | 971 o.geoCriteriaId = buildUnnamed1805(); |
| 972 o.platform = buildUnnamed1702(); | 972 o.platform = buildUnnamed1806(); |
| 973 } | 973 } |
| 974 buildCounterCreativeServingRestrictionsContexts--; | 974 buildCounterCreativeServingRestrictionsContexts--; |
| 975 return o; | 975 return o; |
| 976 } | 976 } |
| 977 | 977 |
| 978 checkCreativeServingRestrictionsContexts(api.CreativeServingRestrictionsContexts
o) { | 978 checkCreativeServingRestrictionsContexts(api.CreativeServingRestrictionsContexts
o) { |
| 979 buildCounterCreativeServingRestrictionsContexts++; | 979 buildCounterCreativeServingRestrictionsContexts++; |
| 980 if (buildCounterCreativeServingRestrictionsContexts < 3) { | 980 if (buildCounterCreativeServingRestrictionsContexts < 3) { |
| 981 checkUnnamed1700(o.auctionType); | 981 checkUnnamed1804(o.auctionType); |
| 982 unittest.expect(o.contextType, unittest.equals('foo')); | 982 unittest.expect(o.contextType, unittest.equals('foo')); |
| 983 checkUnnamed1701(o.geoCriteriaId); | 983 checkUnnamed1805(o.geoCriteriaId); |
| 984 checkUnnamed1702(o.platform); | 984 checkUnnamed1806(o.platform); |
| 985 } | 985 } |
| 986 buildCounterCreativeServingRestrictionsContexts--; | 986 buildCounterCreativeServingRestrictionsContexts--; |
| 987 } | 987 } |
| 988 | 988 |
| 989 buildUnnamed1703() { | 989 buildUnnamed1807() { |
| 990 var o = new core.List<api.CreativeServingRestrictionsContexts>(); | 990 var o = new core.List<api.CreativeServingRestrictionsContexts>(); |
| 991 o.add(buildCreativeServingRestrictionsContexts()); | 991 o.add(buildCreativeServingRestrictionsContexts()); |
| 992 o.add(buildCreativeServingRestrictionsContexts()); | 992 o.add(buildCreativeServingRestrictionsContexts()); |
| 993 return o; | 993 return o; |
| 994 } | 994 } |
| 995 | 995 |
| 996 checkUnnamed1703(core.List<api.CreativeServingRestrictionsContexts> o) { | 996 checkUnnamed1807(core.List<api.CreativeServingRestrictionsContexts> o) { |
| 997 unittest.expect(o, unittest.hasLength(2)); | 997 unittest.expect(o, unittest.hasLength(2)); |
| 998 checkCreativeServingRestrictionsContexts(o[0]); | 998 checkCreativeServingRestrictionsContexts(o[0]); |
| 999 checkCreativeServingRestrictionsContexts(o[1]); | 999 checkCreativeServingRestrictionsContexts(o[1]); |
| 1000 } | 1000 } |
| 1001 | 1001 |
| 1002 buildUnnamed1704() { | 1002 buildUnnamed1808() { |
| 1003 var o = new core.List<core.String>(); | 1003 var o = new core.List<core.String>(); |
| 1004 o.add("foo"); | 1004 o.add("foo"); |
| 1005 o.add("foo"); | 1005 o.add("foo"); |
| 1006 return o; | 1006 return o; |
| 1007 } | 1007 } |
| 1008 | 1008 |
| 1009 checkUnnamed1704(core.List<core.String> o) { | 1009 checkUnnamed1808(core.List<core.String> o) { |
| 1010 unittest.expect(o, unittest.hasLength(2)); | 1010 unittest.expect(o, unittest.hasLength(2)); |
| 1011 unittest.expect(o[0], unittest.equals('foo')); | 1011 unittest.expect(o[0], unittest.equals('foo')); |
| 1012 unittest.expect(o[1], unittest.equals('foo')); | 1012 unittest.expect(o[1], unittest.equals('foo')); |
| 1013 } | 1013 } |
| 1014 | 1014 |
| 1015 core.int buildCounterCreativeServingRestrictionsDisapprovalReasons = 0; | 1015 core.int buildCounterCreativeServingRestrictionsDisapprovalReasons = 0; |
| 1016 buildCreativeServingRestrictionsDisapprovalReasons() { | 1016 buildCreativeServingRestrictionsDisapprovalReasons() { |
| 1017 var o = new api.CreativeServingRestrictionsDisapprovalReasons(); | 1017 var o = new api.CreativeServingRestrictionsDisapprovalReasons(); |
| 1018 buildCounterCreativeServingRestrictionsDisapprovalReasons++; | 1018 buildCounterCreativeServingRestrictionsDisapprovalReasons++; |
| 1019 if (buildCounterCreativeServingRestrictionsDisapprovalReasons < 3) { | 1019 if (buildCounterCreativeServingRestrictionsDisapprovalReasons < 3) { |
| 1020 o.details = buildUnnamed1704(); | 1020 o.details = buildUnnamed1808(); |
| 1021 o.reason = "foo"; | 1021 o.reason = "foo"; |
| 1022 } | 1022 } |
| 1023 buildCounterCreativeServingRestrictionsDisapprovalReasons--; | 1023 buildCounterCreativeServingRestrictionsDisapprovalReasons--; |
| 1024 return o; | 1024 return o; |
| 1025 } | 1025 } |
| 1026 | 1026 |
| 1027 checkCreativeServingRestrictionsDisapprovalReasons(api.CreativeServingRestrictio
nsDisapprovalReasons o) { | 1027 checkCreativeServingRestrictionsDisapprovalReasons(api.CreativeServingRestrictio
nsDisapprovalReasons o) { |
| 1028 buildCounterCreativeServingRestrictionsDisapprovalReasons++; | 1028 buildCounterCreativeServingRestrictionsDisapprovalReasons++; |
| 1029 if (buildCounterCreativeServingRestrictionsDisapprovalReasons < 3) { | 1029 if (buildCounterCreativeServingRestrictionsDisapprovalReasons < 3) { |
| 1030 checkUnnamed1704(o.details); | 1030 checkUnnamed1808(o.details); |
| 1031 unittest.expect(o.reason, unittest.equals('foo')); | 1031 unittest.expect(o.reason, unittest.equals('foo')); |
| 1032 } | 1032 } |
| 1033 buildCounterCreativeServingRestrictionsDisapprovalReasons--; | 1033 buildCounterCreativeServingRestrictionsDisapprovalReasons--; |
| 1034 } | 1034 } |
| 1035 | 1035 |
| 1036 buildUnnamed1705() { | 1036 buildUnnamed1809() { |
| 1037 var o = new core.List<api.CreativeServingRestrictionsDisapprovalReasons>(); | 1037 var o = new core.List<api.CreativeServingRestrictionsDisapprovalReasons>(); |
| 1038 o.add(buildCreativeServingRestrictionsDisapprovalReasons()); | 1038 o.add(buildCreativeServingRestrictionsDisapprovalReasons()); |
| 1039 o.add(buildCreativeServingRestrictionsDisapprovalReasons()); | 1039 o.add(buildCreativeServingRestrictionsDisapprovalReasons()); |
| 1040 return o; | 1040 return o; |
| 1041 } | 1041 } |
| 1042 | 1042 |
| 1043 checkUnnamed1705(core.List<api.CreativeServingRestrictionsDisapprovalReasons> o)
{ | 1043 checkUnnamed1809(core.List<api.CreativeServingRestrictionsDisapprovalReasons> o)
{ |
| 1044 unittest.expect(o, unittest.hasLength(2)); | 1044 unittest.expect(o, unittest.hasLength(2)); |
| 1045 checkCreativeServingRestrictionsDisapprovalReasons(o[0]); | 1045 checkCreativeServingRestrictionsDisapprovalReasons(o[0]); |
| 1046 checkCreativeServingRestrictionsDisapprovalReasons(o[1]); | 1046 checkCreativeServingRestrictionsDisapprovalReasons(o[1]); |
| 1047 } | 1047 } |
| 1048 | 1048 |
| 1049 core.int buildCounterCreativeServingRestrictions = 0; | 1049 core.int buildCounterCreativeServingRestrictions = 0; |
| 1050 buildCreativeServingRestrictions() { | 1050 buildCreativeServingRestrictions() { |
| 1051 var o = new api.CreativeServingRestrictions(); | 1051 var o = new api.CreativeServingRestrictions(); |
| 1052 buildCounterCreativeServingRestrictions++; | 1052 buildCounterCreativeServingRestrictions++; |
| 1053 if (buildCounterCreativeServingRestrictions < 3) { | 1053 if (buildCounterCreativeServingRestrictions < 3) { |
| 1054 o.contexts = buildUnnamed1703(); | 1054 o.contexts = buildUnnamed1807(); |
| 1055 o.disapprovalReasons = buildUnnamed1705(); | 1055 o.disapprovalReasons = buildUnnamed1809(); |
| 1056 o.reason = "foo"; | 1056 o.reason = "foo"; |
| 1057 } | 1057 } |
| 1058 buildCounterCreativeServingRestrictions--; | 1058 buildCounterCreativeServingRestrictions--; |
| 1059 return o; | 1059 return o; |
| 1060 } | 1060 } |
| 1061 | 1061 |
| 1062 checkCreativeServingRestrictions(api.CreativeServingRestrictions o) { | 1062 checkCreativeServingRestrictions(api.CreativeServingRestrictions o) { |
| 1063 buildCounterCreativeServingRestrictions++; | 1063 buildCounterCreativeServingRestrictions++; |
| 1064 if (buildCounterCreativeServingRestrictions < 3) { | 1064 if (buildCounterCreativeServingRestrictions < 3) { |
| 1065 checkUnnamed1703(o.contexts); | 1065 checkUnnamed1807(o.contexts); |
| 1066 checkUnnamed1705(o.disapprovalReasons); | 1066 checkUnnamed1809(o.disapprovalReasons); |
| 1067 unittest.expect(o.reason, unittest.equals('foo')); | 1067 unittest.expect(o.reason, unittest.equals('foo')); |
| 1068 } | 1068 } |
| 1069 buildCounterCreativeServingRestrictions--; | 1069 buildCounterCreativeServingRestrictions--; |
| 1070 } | 1070 } |
| 1071 | 1071 |
| 1072 buildUnnamed1706() { | 1072 buildUnnamed1810() { |
| 1073 var o = new core.List<api.CreativeServingRestrictions>(); | 1073 var o = new core.List<api.CreativeServingRestrictions>(); |
| 1074 o.add(buildCreativeServingRestrictions()); | 1074 o.add(buildCreativeServingRestrictions()); |
| 1075 o.add(buildCreativeServingRestrictions()); | 1075 o.add(buildCreativeServingRestrictions()); |
| 1076 return o; | 1076 return o; |
| 1077 } | 1077 } |
| 1078 | 1078 |
| 1079 checkUnnamed1706(core.List<api.CreativeServingRestrictions> o) { | 1079 checkUnnamed1810(core.List<api.CreativeServingRestrictions> o) { |
| 1080 unittest.expect(o, unittest.hasLength(2)); | 1080 unittest.expect(o, unittest.hasLength(2)); |
| 1081 checkCreativeServingRestrictions(o[0]); | 1081 checkCreativeServingRestrictions(o[0]); |
| 1082 checkCreativeServingRestrictions(o[1]); | 1082 checkCreativeServingRestrictions(o[1]); |
| 1083 } | 1083 } |
| 1084 | 1084 |
| 1085 buildUnnamed1707() { | 1085 buildUnnamed1811() { |
| 1086 var o = new core.List<core.int>(); | 1086 var o = new core.List<core.int>(); |
| 1087 o.add(42); | 1087 o.add(42); |
| 1088 o.add(42); | 1088 o.add(42); |
| 1089 return o; | 1089 return o; |
| 1090 } | 1090 } |
| 1091 | 1091 |
| 1092 checkUnnamed1707(core.List<core.int> o) { | 1092 checkUnnamed1811(core.List<core.int> o) { |
| 1093 unittest.expect(o, unittest.hasLength(2)); | 1093 unittest.expect(o, unittest.hasLength(2)); |
| 1094 unittest.expect(o[0], unittest.equals(42)); | 1094 unittest.expect(o[0], unittest.equals(42)); |
| 1095 unittest.expect(o[1], unittest.equals(42)); | 1095 unittest.expect(o[1], unittest.equals(42)); |
| 1096 } | 1096 } |
| 1097 | 1097 |
| 1098 core.int buildCounterCreative = 0; | 1098 core.int buildCounterCreative = 0; |
| 1099 buildCreative() { | 1099 buildCreative() { |
| 1100 var o = new api.Creative(); | 1100 var o = new api.Creative(); |
| 1101 buildCounterCreative++; | 1101 buildCounterCreative++; |
| 1102 if (buildCounterCreative < 3) { | 1102 if (buildCounterCreative < 3) { |
| 1103 o.HTMLSnippet = "foo"; | 1103 o.HTMLSnippet = "foo"; |
| 1104 o.accountId = 42; | 1104 o.accountId = 42; |
| 1105 o.adChoicesDestinationUrl = "foo"; | 1105 o.adChoicesDestinationUrl = "foo"; |
| 1106 o.advertiserId = buildUnnamed1683(); | 1106 o.advertiserId = buildUnnamed1787(); |
| 1107 o.advertiserName = "foo"; | 1107 o.advertiserName = "foo"; |
| 1108 o.agencyId = "foo"; | 1108 o.agencyId = "foo"; |
| 1109 o.apiUploadTimestamp = core.DateTime.parse("2002-02-27T14:01:02"); | 1109 o.apiUploadTimestamp = core.DateTime.parse("2002-02-27T14:01:02"); |
| 1110 o.attribute = buildUnnamed1684(); | 1110 o.attribute = buildUnnamed1788(); |
| 1111 o.buyerCreativeId = "foo"; | 1111 o.buyerCreativeId = "foo"; |
| 1112 o.clickThroughUrl = buildUnnamed1685(); | 1112 o.clickThroughUrl = buildUnnamed1789(); |
| 1113 o.corrections = buildUnnamed1691(); | 1113 o.corrections = buildUnnamed1795(); |
| 1114 o.dealsStatus = "foo"; | 1114 o.dealsStatus = "foo"; |
| 1115 o.detectedDomains = buildUnnamed1692(); | 1115 o.detectedDomains = buildUnnamed1796(); |
| 1116 o.filteringReasons = buildCreativeFilteringReasons(); | 1116 o.filteringReasons = buildCreativeFilteringReasons(); |
| 1117 o.height = 42; | 1117 o.height = 42; |
| 1118 o.impressionTrackingUrl = buildUnnamed1694(); | 1118 o.impressionTrackingUrl = buildUnnamed1798(); |
| 1119 o.kind = "foo"; | 1119 o.kind = "foo"; |
| 1120 o.languages = buildUnnamed1695(); | 1120 o.languages = buildUnnamed1799(); |
| 1121 o.nativeAd = buildCreativeNativeAd(); | 1121 o.nativeAd = buildCreativeNativeAd(); |
| 1122 o.openAuctionStatus = "foo"; | 1122 o.openAuctionStatus = "foo"; |
| 1123 o.productCategories = buildUnnamed1697(); | 1123 o.productCategories = buildUnnamed1801(); |
| 1124 o.restrictedCategories = buildUnnamed1698(); | 1124 o.restrictedCategories = buildUnnamed1802(); |
| 1125 o.sensitiveCategories = buildUnnamed1699(); | 1125 o.sensitiveCategories = buildUnnamed1803(); |
| 1126 o.servingRestrictions = buildUnnamed1706(); | 1126 o.servingRestrictions = buildUnnamed1810(); |
| 1127 o.vendorType = buildUnnamed1707(); | 1127 o.vendorType = buildUnnamed1811(); |
| 1128 o.version = 42; | 1128 o.version = 42; |
| 1129 o.videoURL = "foo"; | 1129 o.videoURL = "foo"; |
| 1130 o.width = 42; | 1130 o.width = 42; |
| 1131 } | 1131 } |
| 1132 buildCounterCreative--; | 1132 buildCounterCreative--; |
| 1133 return o; | 1133 return o; |
| 1134 } | 1134 } |
| 1135 | 1135 |
| 1136 checkCreative(api.Creative o) { | 1136 checkCreative(api.Creative o) { |
| 1137 buildCounterCreative++; | 1137 buildCounterCreative++; |
| 1138 if (buildCounterCreative < 3) { | 1138 if (buildCounterCreative < 3) { |
| 1139 unittest.expect(o.HTMLSnippet, unittest.equals('foo')); | 1139 unittest.expect(o.HTMLSnippet, unittest.equals('foo')); |
| 1140 unittest.expect(o.accountId, unittest.equals(42)); | 1140 unittest.expect(o.accountId, unittest.equals(42)); |
| 1141 unittest.expect(o.adChoicesDestinationUrl, unittest.equals('foo')); | 1141 unittest.expect(o.adChoicesDestinationUrl, unittest.equals('foo')); |
| 1142 checkUnnamed1683(o.advertiserId); | 1142 checkUnnamed1787(o.advertiserId); |
| 1143 unittest.expect(o.advertiserName, unittest.equals('foo')); | 1143 unittest.expect(o.advertiserName, unittest.equals('foo')); |
| 1144 unittest.expect(o.agencyId, unittest.equals('foo')); | 1144 unittest.expect(o.agencyId, unittest.equals('foo')); |
| 1145 unittest.expect(o.apiUploadTimestamp, unittest.equals(core.DateTime.parse("2
002-02-27T14:01:02"))); | 1145 unittest.expect(o.apiUploadTimestamp, unittest.equals(core.DateTime.parse("2
002-02-27T14:01:02"))); |
| 1146 checkUnnamed1684(o.attribute); | 1146 checkUnnamed1788(o.attribute); |
| 1147 unittest.expect(o.buyerCreativeId, unittest.equals('foo')); | 1147 unittest.expect(o.buyerCreativeId, unittest.equals('foo')); |
| 1148 checkUnnamed1685(o.clickThroughUrl); | 1148 checkUnnamed1789(o.clickThroughUrl); |
| 1149 checkUnnamed1691(o.corrections); | 1149 checkUnnamed1795(o.corrections); |
| 1150 unittest.expect(o.dealsStatus, unittest.equals('foo')); | 1150 unittest.expect(o.dealsStatus, unittest.equals('foo')); |
| 1151 checkUnnamed1692(o.detectedDomains); | 1151 checkUnnamed1796(o.detectedDomains); |
| 1152 checkCreativeFilteringReasons(o.filteringReasons); | 1152 checkCreativeFilteringReasons(o.filteringReasons); |
| 1153 unittest.expect(o.height, unittest.equals(42)); | 1153 unittest.expect(o.height, unittest.equals(42)); |
| 1154 checkUnnamed1694(o.impressionTrackingUrl); | 1154 checkUnnamed1798(o.impressionTrackingUrl); |
| 1155 unittest.expect(o.kind, unittest.equals('foo')); | 1155 unittest.expect(o.kind, unittest.equals('foo')); |
| 1156 checkUnnamed1695(o.languages); | 1156 checkUnnamed1799(o.languages); |
| 1157 checkCreativeNativeAd(o.nativeAd); | 1157 checkCreativeNativeAd(o.nativeAd); |
| 1158 unittest.expect(o.openAuctionStatus, unittest.equals('foo')); | 1158 unittest.expect(o.openAuctionStatus, unittest.equals('foo')); |
| 1159 checkUnnamed1697(o.productCategories); | 1159 checkUnnamed1801(o.productCategories); |
| 1160 checkUnnamed1698(o.restrictedCategories); | 1160 checkUnnamed1802(o.restrictedCategories); |
| 1161 checkUnnamed1699(o.sensitiveCategories); | 1161 checkUnnamed1803(o.sensitiveCategories); |
| 1162 checkUnnamed1706(o.servingRestrictions); | 1162 checkUnnamed1810(o.servingRestrictions); |
| 1163 checkUnnamed1707(o.vendorType); | 1163 checkUnnamed1811(o.vendorType); |
| 1164 unittest.expect(o.version, unittest.equals(42)); | 1164 unittest.expect(o.version, unittest.equals(42)); |
| 1165 unittest.expect(o.videoURL, unittest.equals('foo')); | 1165 unittest.expect(o.videoURL, unittest.equals('foo')); |
| 1166 unittest.expect(o.width, unittest.equals(42)); | 1166 unittest.expect(o.width, unittest.equals(42)); |
| 1167 } | 1167 } |
| 1168 buildCounterCreative--; | 1168 buildCounterCreative--; |
| 1169 } | 1169 } |
| 1170 | 1170 |
| 1171 core.int buildCounterCreativeDealIdsDealStatuses = 0; | 1171 core.int buildCounterCreativeDealIdsDealStatuses = 0; |
| 1172 buildCreativeDealIdsDealStatuses() { | 1172 buildCreativeDealIdsDealStatuses() { |
| 1173 var o = new api.CreativeDealIdsDealStatuses(); | 1173 var o = new api.CreativeDealIdsDealStatuses(); |
| (...skipping 10 matching lines...) Expand all Loading... |
| 1184 checkCreativeDealIdsDealStatuses(api.CreativeDealIdsDealStatuses o) { | 1184 checkCreativeDealIdsDealStatuses(api.CreativeDealIdsDealStatuses o) { |
| 1185 buildCounterCreativeDealIdsDealStatuses++; | 1185 buildCounterCreativeDealIdsDealStatuses++; |
| 1186 if (buildCounterCreativeDealIdsDealStatuses < 3) { | 1186 if (buildCounterCreativeDealIdsDealStatuses < 3) { |
| 1187 unittest.expect(o.arcStatus, unittest.equals('foo')); | 1187 unittest.expect(o.arcStatus, unittest.equals('foo')); |
| 1188 unittest.expect(o.dealId, unittest.equals('foo')); | 1188 unittest.expect(o.dealId, unittest.equals('foo')); |
| 1189 unittest.expect(o.webPropertyId, unittest.equals(42)); | 1189 unittest.expect(o.webPropertyId, unittest.equals(42)); |
| 1190 } | 1190 } |
| 1191 buildCounterCreativeDealIdsDealStatuses--; | 1191 buildCounterCreativeDealIdsDealStatuses--; |
| 1192 } | 1192 } |
| 1193 | 1193 |
| 1194 buildUnnamed1708() { | 1194 buildUnnamed1812() { |
| 1195 var o = new core.List<api.CreativeDealIdsDealStatuses>(); | 1195 var o = new core.List<api.CreativeDealIdsDealStatuses>(); |
| 1196 o.add(buildCreativeDealIdsDealStatuses()); | 1196 o.add(buildCreativeDealIdsDealStatuses()); |
| 1197 o.add(buildCreativeDealIdsDealStatuses()); | 1197 o.add(buildCreativeDealIdsDealStatuses()); |
| 1198 return o; | 1198 return o; |
| 1199 } | 1199 } |
| 1200 | 1200 |
| 1201 checkUnnamed1708(core.List<api.CreativeDealIdsDealStatuses> o) { | 1201 checkUnnamed1812(core.List<api.CreativeDealIdsDealStatuses> o) { |
| 1202 unittest.expect(o, unittest.hasLength(2)); | 1202 unittest.expect(o, unittest.hasLength(2)); |
| 1203 checkCreativeDealIdsDealStatuses(o[0]); | 1203 checkCreativeDealIdsDealStatuses(o[0]); |
| 1204 checkCreativeDealIdsDealStatuses(o[1]); | 1204 checkCreativeDealIdsDealStatuses(o[1]); |
| 1205 } | 1205 } |
| 1206 | 1206 |
| 1207 core.int buildCounterCreativeDealIds = 0; | 1207 core.int buildCounterCreativeDealIds = 0; |
| 1208 buildCreativeDealIds() { | 1208 buildCreativeDealIds() { |
| 1209 var o = new api.CreativeDealIds(); | 1209 var o = new api.CreativeDealIds(); |
| 1210 buildCounterCreativeDealIds++; | 1210 buildCounterCreativeDealIds++; |
| 1211 if (buildCounterCreativeDealIds < 3) { | 1211 if (buildCounterCreativeDealIds < 3) { |
| 1212 o.dealStatuses = buildUnnamed1708(); | 1212 o.dealStatuses = buildUnnamed1812(); |
| 1213 o.kind = "foo"; | 1213 o.kind = "foo"; |
| 1214 } | 1214 } |
| 1215 buildCounterCreativeDealIds--; | 1215 buildCounterCreativeDealIds--; |
| 1216 return o; | 1216 return o; |
| 1217 } | 1217 } |
| 1218 | 1218 |
| 1219 checkCreativeDealIds(api.CreativeDealIds o) { | 1219 checkCreativeDealIds(api.CreativeDealIds o) { |
| 1220 buildCounterCreativeDealIds++; | 1220 buildCounterCreativeDealIds++; |
| 1221 if (buildCounterCreativeDealIds < 3) { | 1221 if (buildCounterCreativeDealIds < 3) { |
| 1222 checkUnnamed1708(o.dealStatuses); | 1222 checkUnnamed1812(o.dealStatuses); |
| 1223 unittest.expect(o.kind, unittest.equals('foo')); | 1223 unittest.expect(o.kind, unittest.equals('foo')); |
| 1224 } | 1224 } |
| 1225 buildCounterCreativeDealIds--; | 1225 buildCounterCreativeDealIds--; |
| 1226 } | 1226 } |
| 1227 | 1227 |
| 1228 buildUnnamed1709() { | 1228 buildUnnamed1813() { |
| 1229 var o = new core.List<api.Creative>(); | 1229 var o = new core.List<api.Creative>(); |
| 1230 o.add(buildCreative()); | 1230 o.add(buildCreative()); |
| 1231 o.add(buildCreative()); | 1231 o.add(buildCreative()); |
| 1232 return o; | 1232 return o; |
| 1233 } | 1233 } |
| 1234 | 1234 |
| 1235 checkUnnamed1709(core.List<api.Creative> o) { | 1235 checkUnnamed1813(core.List<api.Creative> o) { |
| 1236 unittest.expect(o, unittest.hasLength(2)); | 1236 unittest.expect(o, unittest.hasLength(2)); |
| 1237 checkCreative(o[0]); | 1237 checkCreative(o[0]); |
| 1238 checkCreative(o[1]); | 1238 checkCreative(o[1]); |
| 1239 } | 1239 } |
| 1240 | 1240 |
| 1241 core.int buildCounterCreativesList = 0; | 1241 core.int buildCounterCreativesList = 0; |
| 1242 buildCreativesList() { | 1242 buildCreativesList() { |
| 1243 var o = new api.CreativesList(); | 1243 var o = new api.CreativesList(); |
| 1244 buildCounterCreativesList++; | 1244 buildCounterCreativesList++; |
| 1245 if (buildCounterCreativesList < 3) { | 1245 if (buildCounterCreativesList < 3) { |
| 1246 o.items = buildUnnamed1709(); | 1246 o.items = buildUnnamed1813(); |
| 1247 o.kind = "foo"; | 1247 o.kind = "foo"; |
| 1248 o.nextPageToken = "foo"; | 1248 o.nextPageToken = "foo"; |
| 1249 } | 1249 } |
| 1250 buildCounterCreativesList--; | 1250 buildCounterCreativesList--; |
| 1251 return o; | 1251 return o; |
| 1252 } | 1252 } |
| 1253 | 1253 |
| 1254 checkCreativesList(api.CreativesList o) { | 1254 checkCreativesList(api.CreativesList o) { |
| 1255 buildCounterCreativesList++; | 1255 buildCounterCreativesList++; |
| 1256 if (buildCounterCreativesList < 3) { | 1256 if (buildCounterCreativesList < 3) { |
| 1257 checkUnnamed1709(o.items); | 1257 checkUnnamed1813(o.items); |
| 1258 unittest.expect(o.kind, unittest.equals('foo')); | 1258 unittest.expect(o.kind, unittest.equals('foo')); |
| 1259 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1259 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1260 } | 1260 } |
| 1261 buildCounterCreativesList--; | 1261 buildCounterCreativesList--; |
| 1262 } | 1262 } |
| 1263 | 1263 |
| 1264 core.int buildCounterDealServingMetadata = 0; | 1264 core.int buildCounterDealServingMetadata = 0; |
| 1265 buildDealServingMetadata() { | 1265 buildDealServingMetadata() { |
| 1266 var o = new api.DealServingMetadata(); | 1266 var o = new api.DealServingMetadata(); |
| 1267 buildCounterDealServingMetadata++; | 1267 buildCounterDealServingMetadata++; |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1339 unittest.expect(o.estimatedImpressionsPerDay, unittest.equals('foo')); | 1339 unittest.expect(o.estimatedImpressionsPerDay, unittest.equals('foo')); |
| 1340 checkDealTermsGuaranteedFixedPriceTerms(o.guaranteedFixedPriceTerms); | 1340 checkDealTermsGuaranteedFixedPriceTerms(o.guaranteedFixedPriceTerms); |
| 1341 checkDealTermsNonGuaranteedAuctionTerms(o.nonGuaranteedAuctionTerms); | 1341 checkDealTermsNonGuaranteedAuctionTerms(o.nonGuaranteedAuctionTerms); |
| 1342 checkDealTermsNonGuaranteedFixedPriceTerms(o.nonGuaranteedFixedPriceTerms); | 1342 checkDealTermsNonGuaranteedFixedPriceTerms(o.nonGuaranteedFixedPriceTerms); |
| 1343 checkDealTermsRubiconNonGuaranteedTerms(o.rubiconNonGuaranteedTerms); | 1343 checkDealTermsRubiconNonGuaranteedTerms(o.rubiconNonGuaranteedTerms); |
| 1344 unittest.expect(o.sellerTimeZone, unittest.equals('foo')); | 1344 unittest.expect(o.sellerTimeZone, unittest.equals('foo')); |
| 1345 } | 1345 } |
| 1346 buildCounterDealTerms--; | 1346 buildCounterDealTerms--; |
| 1347 } | 1347 } |
| 1348 | 1348 |
| 1349 buildUnnamed1710() { | 1349 buildUnnamed1814() { |
| 1350 var o = new core.List<api.PricePerBuyer>(); | 1350 var o = new core.List<api.PricePerBuyer>(); |
| 1351 o.add(buildPricePerBuyer()); | 1351 o.add(buildPricePerBuyer()); |
| 1352 o.add(buildPricePerBuyer()); | 1352 o.add(buildPricePerBuyer()); |
| 1353 return o; | 1353 return o; |
| 1354 } | 1354 } |
| 1355 | 1355 |
| 1356 checkUnnamed1710(core.List<api.PricePerBuyer> o) { | 1356 checkUnnamed1814(core.List<api.PricePerBuyer> o) { |
| 1357 unittest.expect(o, unittest.hasLength(2)); | 1357 unittest.expect(o, unittest.hasLength(2)); |
| 1358 checkPricePerBuyer(o[0]); | 1358 checkPricePerBuyer(o[0]); |
| 1359 checkPricePerBuyer(o[1]); | 1359 checkPricePerBuyer(o[1]); |
| 1360 } | 1360 } |
| 1361 | 1361 |
| 1362 core.int buildCounterDealTermsGuaranteedFixedPriceTerms = 0; | 1362 core.int buildCounterDealTermsGuaranteedFixedPriceTerms = 0; |
| 1363 buildDealTermsGuaranteedFixedPriceTerms() { | 1363 buildDealTermsGuaranteedFixedPriceTerms() { |
| 1364 var o = new api.DealTermsGuaranteedFixedPriceTerms(); | 1364 var o = new api.DealTermsGuaranteedFixedPriceTerms(); |
| 1365 buildCounterDealTermsGuaranteedFixedPriceTerms++; | 1365 buildCounterDealTermsGuaranteedFixedPriceTerms++; |
| 1366 if (buildCounterDealTermsGuaranteedFixedPriceTerms < 3) { | 1366 if (buildCounterDealTermsGuaranteedFixedPriceTerms < 3) { |
| 1367 o.billingInfo = buildDealTermsGuaranteedFixedPriceTermsBillingInfo(); | 1367 o.billingInfo = buildDealTermsGuaranteedFixedPriceTermsBillingInfo(); |
| 1368 o.fixedPrices = buildUnnamed1710(); | 1368 o.fixedPrices = buildUnnamed1814(); |
| 1369 o.guaranteedImpressions = "foo"; | 1369 o.guaranteedImpressions = "foo"; |
| 1370 o.guaranteedLooks = "foo"; | 1370 o.guaranteedLooks = "foo"; |
| 1371 o.minimumDailyLooks = "foo"; | 1371 o.minimumDailyLooks = "foo"; |
| 1372 } | 1372 } |
| 1373 buildCounterDealTermsGuaranteedFixedPriceTerms--; | 1373 buildCounterDealTermsGuaranteedFixedPriceTerms--; |
| 1374 return o; | 1374 return o; |
| 1375 } | 1375 } |
| 1376 | 1376 |
| 1377 checkDealTermsGuaranteedFixedPriceTerms(api.DealTermsGuaranteedFixedPriceTerms o
) { | 1377 checkDealTermsGuaranteedFixedPriceTerms(api.DealTermsGuaranteedFixedPriceTerms o
) { |
| 1378 buildCounterDealTermsGuaranteedFixedPriceTerms++; | 1378 buildCounterDealTermsGuaranteedFixedPriceTerms++; |
| 1379 if (buildCounterDealTermsGuaranteedFixedPriceTerms < 3) { | 1379 if (buildCounterDealTermsGuaranteedFixedPriceTerms < 3) { |
| 1380 checkDealTermsGuaranteedFixedPriceTermsBillingInfo(o.billingInfo); | 1380 checkDealTermsGuaranteedFixedPriceTermsBillingInfo(o.billingInfo); |
| 1381 checkUnnamed1710(o.fixedPrices); | 1381 checkUnnamed1814(o.fixedPrices); |
| 1382 unittest.expect(o.guaranteedImpressions, unittest.equals('foo')); | 1382 unittest.expect(o.guaranteedImpressions, unittest.equals('foo')); |
| 1383 unittest.expect(o.guaranteedLooks, unittest.equals('foo')); | 1383 unittest.expect(o.guaranteedLooks, unittest.equals('foo')); |
| 1384 unittest.expect(o.minimumDailyLooks, unittest.equals('foo')); | 1384 unittest.expect(o.minimumDailyLooks, unittest.equals('foo')); |
| 1385 } | 1385 } |
| 1386 buildCounterDealTermsGuaranteedFixedPriceTerms--; | 1386 buildCounterDealTermsGuaranteedFixedPriceTerms--; |
| 1387 } | 1387 } |
| 1388 | 1388 |
| 1389 core.int buildCounterDealTermsGuaranteedFixedPriceTermsBillingInfo = 0; | 1389 core.int buildCounterDealTermsGuaranteedFixedPriceTermsBillingInfo = 0; |
| 1390 buildDealTermsGuaranteedFixedPriceTermsBillingInfo() { | 1390 buildDealTermsGuaranteedFixedPriceTermsBillingInfo() { |
| 1391 var o = new api.DealTermsGuaranteedFixedPriceTermsBillingInfo(); | 1391 var o = new api.DealTermsGuaranteedFixedPriceTermsBillingInfo(); |
| (...skipping 12 matching lines...) Expand all Loading... |
| 1404 buildCounterDealTermsGuaranteedFixedPriceTermsBillingInfo++; | 1404 buildCounterDealTermsGuaranteedFixedPriceTermsBillingInfo++; |
| 1405 if (buildCounterDealTermsGuaranteedFixedPriceTermsBillingInfo < 3) { | 1405 if (buildCounterDealTermsGuaranteedFixedPriceTermsBillingInfo < 3) { |
| 1406 unittest.expect(o.currencyConversionTimeMs, unittest.equals('foo')); | 1406 unittest.expect(o.currencyConversionTimeMs, unittest.equals('foo')); |
| 1407 unittest.expect(o.dfpLineItemId, unittest.equals('foo')); | 1407 unittest.expect(o.dfpLineItemId, unittest.equals('foo')); |
| 1408 unittest.expect(o.originalContractedQuantity, unittest.equals('foo')); | 1408 unittest.expect(o.originalContractedQuantity, unittest.equals('foo')); |
| 1409 checkPrice(o.price); | 1409 checkPrice(o.price); |
| 1410 } | 1410 } |
| 1411 buildCounterDealTermsGuaranteedFixedPriceTermsBillingInfo--; | 1411 buildCounterDealTermsGuaranteedFixedPriceTermsBillingInfo--; |
| 1412 } | 1412 } |
| 1413 | 1413 |
| 1414 buildUnnamed1711() { | 1414 buildUnnamed1815() { |
| 1415 var o = new core.List<api.PricePerBuyer>(); | 1415 var o = new core.List<api.PricePerBuyer>(); |
| 1416 o.add(buildPricePerBuyer()); | 1416 o.add(buildPricePerBuyer()); |
| 1417 o.add(buildPricePerBuyer()); | 1417 o.add(buildPricePerBuyer()); |
| 1418 return o; | 1418 return o; |
| 1419 } | 1419 } |
| 1420 | 1420 |
| 1421 checkUnnamed1711(core.List<api.PricePerBuyer> o) { | 1421 checkUnnamed1815(core.List<api.PricePerBuyer> o) { |
| 1422 unittest.expect(o, unittest.hasLength(2)); | 1422 unittest.expect(o, unittest.hasLength(2)); |
| 1423 checkPricePerBuyer(o[0]); | 1423 checkPricePerBuyer(o[0]); |
| 1424 checkPricePerBuyer(o[1]); | 1424 checkPricePerBuyer(o[1]); |
| 1425 } | 1425 } |
| 1426 | 1426 |
| 1427 core.int buildCounterDealTermsNonGuaranteedAuctionTerms = 0; | 1427 core.int buildCounterDealTermsNonGuaranteedAuctionTerms = 0; |
| 1428 buildDealTermsNonGuaranteedAuctionTerms() { | 1428 buildDealTermsNonGuaranteedAuctionTerms() { |
| 1429 var o = new api.DealTermsNonGuaranteedAuctionTerms(); | 1429 var o = new api.DealTermsNonGuaranteedAuctionTerms(); |
| 1430 buildCounterDealTermsNonGuaranteedAuctionTerms++; | 1430 buildCounterDealTermsNonGuaranteedAuctionTerms++; |
| 1431 if (buildCounterDealTermsNonGuaranteedAuctionTerms < 3) { | 1431 if (buildCounterDealTermsNonGuaranteedAuctionTerms < 3) { |
| 1432 o.autoOptimizePrivateAuction = true; | 1432 o.autoOptimizePrivateAuction = true; |
| 1433 o.reservePricePerBuyers = buildUnnamed1711(); | 1433 o.reservePricePerBuyers = buildUnnamed1815(); |
| 1434 } | 1434 } |
| 1435 buildCounterDealTermsNonGuaranteedAuctionTerms--; | 1435 buildCounterDealTermsNonGuaranteedAuctionTerms--; |
| 1436 return o; | 1436 return o; |
| 1437 } | 1437 } |
| 1438 | 1438 |
| 1439 checkDealTermsNonGuaranteedAuctionTerms(api.DealTermsNonGuaranteedAuctionTerms o
) { | 1439 checkDealTermsNonGuaranteedAuctionTerms(api.DealTermsNonGuaranteedAuctionTerms o
) { |
| 1440 buildCounterDealTermsNonGuaranteedAuctionTerms++; | 1440 buildCounterDealTermsNonGuaranteedAuctionTerms++; |
| 1441 if (buildCounterDealTermsNonGuaranteedAuctionTerms < 3) { | 1441 if (buildCounterDealTermsNonGuaranteedAuctionTerms < 3) { |
| 1442 unittest.expect(o.autoOptimizePrivateAuction, unittest.isTrue); | 1442 unittest.expect(o.autoOptimizePrivateAuction, unittest.isTrue); |
| 1443 checkUnnamed1711(o.reservePricePerBuyers); | 1443 checkUnnamed1815(o.reservePricePerBuyers); |
| 1444 } | 1444 } |
| 1445 buildCounterDealTermsNonGuaranteedAuctionTerms--; | 1445 buildCounterDealTermsNonGuaranteedAuctionTerms--; |
| 1446 } | 1446 } |
| 1447 | 1447 |
| 1448 buildUnnamed1712() { | 1448 buildUnnamed1816() { |
| 1449 var o = new core.List<api.PricePerBuyer>(); | 1449 var o = new core.List<api.PricePerBuyer>(); |
| 1450 o.add(buildPricePerBuyer()); | 1450 o.add(buildPricePerBuyer()); |
| 1451 o.add(buildPricePerBuyer()); | 1451 o.add(buildPricePerBuyer()); |
| 1452 return o; | 1452 return o; |
| 1453 } | 1453 } |
| 1454 | 1454 |
| 1455 checkUnnamed1712(core.List<api.PricePerBuyer> o) { | 1455 checkUnnamed1816(core.List<api.PricePerBuyer> o) { |
| 1456 unittest.expect(o, unittest.hasLength(2)); | 1456 unittest.expect(o, unittest.hasLength(2)); |
| 1457 checkPricePerBuyer(o[0]); | 1457 checkPricePerBuyer(o[0]); |
| 1458 checkPricePerBuyer(o[1]); | 1458 checkPricePerBuyer(o[1]); |
| 1459 } | 1459 } |
| 1460 | 1460 |
| 1461 core.int buildCounterDealTermsNonGuaranteedFixedPriceTerms = 0; | 1461 core.int buildCounterDealTermsNonGuaranteedFixedPriceTerms = 0; |
| 1462 buildDealTermsNonGuaranteedFixedPriceTerms() { | 1462 buildDealTermsNonGuaranteedFixedPriceTerms() { |
| 1463 var o = new api.DealTermsNonGuaranteedFixedPriceTerms(); | 1463 var o = new api.DealTermsNonGuaranteedFixedPriceTerms(); |
| 1464 buildCounterDealTermsNonGuaranteedFixedPriceTerms++; | 1464 buildCounterDealTermsNonGuaranteedFixedPriceTerms++; |
| 1465 if (buildCounterDealTermsNonGuaranteedFixedPriceTerms < 3) { | 1465 if (buildCounterDealTermsNonGuaranteedFixedPriceTerms < 3) { |
| 1466 o.fixedPrices = buildUnnamed1712(); | 1466 o.fixedPrices = buildUnnamed1816(); |
| 1467 } | 1467 } |
| 1468 buildCounterDealTermsNonGuaranteedFixedPriceTerms--; | 1468 buildCounterDealTermsNonGuaranteedFixedPriceTerms--; |
| 1469 return o; | 1469 return o; |
| 1470 } | 1470 } |
| 1471 | 1471 |
| 1472 checkDealTermsNonGuaranteedFixedPriceTerms(api.DealTermsNonGuaranteedFixedPriceT
erms o) { | 1472 checkDealTermsNonGuaranteedFixedPriceTerms(api.DealTermsNonGuaranteedFixedPriceT
erms o) { |
| 1473 buildCounterDealTermsNonGuaranteedFixedPriceTerms++; | 1473 buildCounterDealTermsNonGuaranteedFixedPriceTerms++; |
| 1474 if (buildCounterDealTermsNonGuaranteedFixedPriceTerms < 3) { | 1474 if (buildCounterDealTermsNonGuaranteedFixedPriceTerms < 3) { |
| 1475 checkUnnamed1712(o.fixedPrices); | 1475 checkUnnamed1816(o.fixedPrices); |
| 1476 } | 1476 } |
| 1477 buildCounterDealTermsNonGuaranteedFixedPriceTerms--; | 1477 buildCounterDealTermsNonGuaranteedFixedPriceTerms--; |
| 1478 } | 1478 } |
| 1479 | 1479 |
| 1480 core.int buildCounterDealTermsRubiconNonGuaranteedTerms = 0; | 1480 core.int buildCounterDealTermsRubiconNonGuaranteedTerms = 0; |
| 1481 buildDealTermsRubiconNonGuaranteedTerms() { | 1481 buildDealTermsRubiconNonGuaranteedTerms() { |
| 1482 var o = new api.DealTermsRubiconNonGuaranteedTerms(); | 1482 var o = new api.DealTermsRubiconNonGuaranteedTerms(); |
| 1483 buildCounterDealTermsRubiconNonGuaranteedTerms++; | 1483 buildCounterDealTermsRubiconNonGuaranteedTerms++; |
| 1484 if (buildCounterDealTermsRubiconNonGuaranteedTerms < 3) { | 1484 if (buildCounterDealTermsRubiconNonGuaranteedTerms < 3) { |
| 1485 o.priorityPrice = buildPrice(); | 1485 o.priorityPrice = buildPrice(); |
| 1486 o.standardPrice = buildPrice(); | 1486 o.standardPrice = buildPrice(); |
| 1487 } | 1487 } |
| 1488 buildCounterDealTermsRubiconNonGuaranteedTerms--; | 1488 buildCounterDealTermsRubiconNonGuaranteedTerms--; |
| 1489 return o; | 1489 return o; |
| 1490 } | 1490 } |
| 1491 | 1491 |
| 1492 checkDealTermsRubiconNonGuaranteedTerms(api.DealTermsRubiconNonGuaranteedTerms o
) { | 1492 checkDealTermsRubiconNonGuaranteedTerms(api.DealTermsRubiconNonGuaranteedTerms o
) { |
| 1493 buildCounterDealTermsRubiconNonGuaranteedTerms++; | 1493 buildCounterDealTermsRubiconNonGuaranteedTerms++; |
| 1494 if (buildCounterDealTermsRubiconNonGuaranteedTerms < 3) { | 1494 if (buildCounterDealTermsRubiconNonGuaranteedTerms < 3) { |
| 1495 checkPrice(o.priorityPrice); | 1495 checkPrice(o.priorityPrice); |
| 1496 checkPrice(o.standardPrice); | 1496 checkPrice(o.standardPrice); |
| 1497 } | 1497 } |
| 1498 buildCounterDealTermsRubiconNonGuaranteedTerms--; | 1498 buildCounterDealTermsRubiconNonGuaranteedTerms--; |
| 1499 } | 1499 } |
| 1500 | 1500 |
| 1501 buildUnnamed1713() { | 1501 buildUnnamed1817() { |
| 1502 var o = new core.List<core.String>(); | 1502 var o = new core.List<core.String>(); |
| 1503 o.add("foo"); | 1503 o.add("foo"); |
| 1504 o.add("foo"); | 1504 o.add("foo"); |
| 1505 return o; | 1505 return o; |
| 1506 } | 1506 } |
| 1507 | 1507 |
| 1508 checkUnnamed1713(core.List<core.String> o) { | 1508 checkUnnamed1817(core.List<core.String> o) { |
| 1509 unittest.expect(o, unittest.hasLength(2)); | 1509 unittest.expect(o, unittest.hasLength(2)); |
| 1510 unittest.expect(o[0], unittest.equals('foo')); | 1510 unittest.expect(o[0], unittest.equals('foo')); |
| 1511 unittest.expect(o[1], unittest.equals('foo')); | 1511 unittest.expect(o[1], unittest.equals('foo')); |
| 1512 } | 1512 } |
| 1513 | 1513 |
| 1514 core.int buildCounterDeleteOrderDealsRequest = 0; | 1514 core.int buildCounterDeleteOrderDealsRequest = 0; |
| 1515 buildDeleteOrderDealsRequest() { | 1515 buildDeleteOrderDealsRequest() { |
| 1516 var o = new api.DeleteOrderDealsRequest(); | 1516 var o = new api.DeleteOrderDealsRequest(); |
| 1517 buildCounterDeleteOrderDealsRequest++; | 1517 buildCounterDeleteOrderDealsRequest++; |
| 1518 if (buildCounterDeleteOrderDealsRequest < 3) { | 1518 if (buildCounterDeleteOrderDealsRequest < 3) { |
| 1519 o.dealIds = buildUnnamed1713(); | 1519 o.dealIds = buildUnnamed1817(); |
| 1520 o.proposalRevisionNumber = "foo"; | 1520 o.proposalRevisionNumber = "foo"; |
| 1521 o.updateAction = "foo"; | 1521 o.updateAction = "foo"; |
| 1522 } | 1522 } |
| 1523 buildCounterDeleteOrderDealsRequest--; | 1523 buildCounterDeleteOrderDealsRequest--; |
| 1524 return o; | 1524 return o; |
| 1525 } | 1525 } |
| 1526 | 1526 |
| 1527 checkDeleteOrderDealsRequest(api.DeleteOrderDealsRequest o) { | 1527 checkDeleteOrderDealsRequest(api.DeleteOrderDealsRequest o) { |
| 1528 buildCounterDeleteOrderDealsRequest++; | 1528 buildCounterDeleteOrderDealsRequest++; |
| 1529 if (buildCounterDeleteOrderDealsRequest < 3) { | 1529 if (buildCounterDeleteOrderDealsRequest < 3) { |
| 1530 checkUnnamed1713(o.dealIds); | 1530 checkUnnamed1817(o.dealIds); |
| 1531 unittest.expect(o.proposalRevisionNumber, unittest.equals('foo')); | 1531 unittest.expect(o.proposalRevisionNumber, unittest.equals('foo')); |
| 1532 unittest.expect(o.updateAction, unittest.equals('foo')); | 1532 unittest.expect(o.updateAction, unittest.equals('foo')); |
| 1533 } | 1533 } |
| 1534 buildCounterDeleteOrderDealsRequest--; | 1534 buildCounterDeleteOrderDealsRequest--; |
| 1535 } | 1535 } |
| 1536 | 1536 |
| 1537 buildUnnamed1714() { | 1537 buildUnnamed1818() { |
| 1538 var o = new core.List<api.MarketplaceDeal>(); | 1538 var o = new core.List<api.MarketplaceDeal>(); |
| 1539 o.add(buildMarketplaceDeal()); | 1539 o.add(buildMarketplaceDeal()); |
| 1540 o.add(buildMarketplaceDeal()); | 1540 o.add(buildMarketplaceDeal()); |
| 1541 return o; | 1541 return o; |
| 1542 } | 1542 } |
| 1543 | 1543 |
| 1544 checkUnnamed1714(core.List<api.MarketplaceDeal> o) { | 1544 checkUnnamed1818(core.List<api.MarketplaceDeal> o) { |
| 1545 unittest.expect(o, unittest.hasLength(2)); | 1545 unittest.expect(o, unittest.hasLength(2)); |
| 1546 checkMarketplaceDeal(o[0]); | 1546 checkMarketplaceDeal(o[0]); |
| 1547 checkMarketplaceDeal(o[1]); | 1547 checkMarketplaceDeal(o[1]); |
| 1548 } | 1548 } |
| 1549 | 1549 |
| 1550 core.int buildCounterDeleteOrderDealsResponse = 0; | 1550 core.int buildCounterDeleteOrderDealsResponse = 0; |
| 1551 buildDeleteOrderDealsResponse() { | 1551 buildDeleteOrderDealsResponse() { |
| 1552 var o = new api.DeleteOrderDealsResponse(); | 1552 var o = new api.DeleteOrderDealsResponse(); |
| 1553 buildCounterDeleteOrderDealsResponse++; | 1553 buildCounterDeleteOrderDealsResponse++; |
| 1554 if (buildCounterDeleteOrderDealsResponse < 3) { | 1554 if (buildCounterDeleteOrderDealsResponse < 3) { |
| 1555 o.deals = buildUnnamed1714(); | 1555 o.deals = buildUnnamed1818(); |
| 1556 o.proposalRevisionNumber = "foo"; | 1556 o.proposalRevisionNumber = "foo"; |
| 1557 } | 1557 } |
| 1558 buildCounterDeleteOrderDealsResponse--; | 1558 buildCounterDeleteOrderDealsResponse--; |
| 1559 return o; | 1559 return o; |
| 1560 } | 1560 } |
| 1561 | 1561 |
| 1562 checkDeleteOrderDealsResponse(api.DeleteOrderDealsResponse o) { | 1562 checkDeleteOrderDealsResponse(api.DeleteOrderDealsResponse o) { |
| 1563 buildCounterDeleteOrderDealsResponse++; | 1563 buildCounterDeleteOrderDealsResponse++; |
| 1564 if (buildCounterDeleteOrderDealsResponse < 3) { | 1564 if (buildCounterDeleteOrderDealsResponse < 3) { |
| 1565 checkUnnamed1714(o.deals); | 1565 checkUnnamed1818(o.deals); |
| 1566 unittest.expect(o.proposalRevisionNumber, unittest.equals('foo')); | 1566 unittest.expect(o.proposalRevisionNumber, unittest.equals('foo')); |
| 1567 } | 1567 } |
| 1568 buildCounterDeleteOrderDealsResponse--; | 1568 buildCounterDeleteOrderDealsResponse--; |
| 1569 } | 1569 } |
| 1570 | 1570 |
| 1571 buildUnnamed1715() { | 1571 buildUnnamed1819() { |
| 1572 var o = new core.List<api.DeliveryControlFrequencyCap>(); | 1572 var o = new core.List<api.DeliveryControlFrequencyCap>(); |
| 1573 o.add(buildDeliveryControlFrequencyCap()); | 1573 o.add(buildDeliveryControlFrequencyCap()); |
| 1574 o.add(buildDeliveryControlFrequencyCap()); | 1574 o.add(buildDeliveryControlFrequencyCap()); |
| 1575 return o; | 1575 return o; |
| 1576 } | 1576 } |
| 1577 | 1577 |
| 1578 checkUnnamed1715(core.List<api.DeliveryControlFrequencyCap> o) { | 1578 checkUnnamed1819(core.List<api.DeliveryControlFrequencyCap> o) { |
| 1579 unittest.expect(o, unittest.hasLength(2)); | 1579 unittest.expect(o, unittest.hasLength(2)); |
| 1580 checkDeliveryControlFrequencyCap(o[0]); | 1580 checkDeliveryControlFrequencyCap(o[0]); |
| 1581 checkDeliveryControlFrequencyCap(o[1]); | 1581 checkDeliveryControlFrequencyCap(o[1]); |
| 1582 } | 1582 } |
| 1583 | 1583 |
| 1584 core.int buildCounterDeliveryControl = 0; | 1584 core.int buildCounterDeliveryControl = 0; |
| 1585 buildDeliveryControl() { | 1585 buildDeliveryControl() { |
| 1586 var o = new api.DeliveryControl(); | 1586 var o = new api.DeliveryControl(); |
| 1587 buildCounterDeliveryControl++; | 1587 buildCounterDeliveryControl++; |
| 1588 if (buildCounterDeliveryControl < 3) { | 1588 if (buildCounterDeliveryControl < 3) { |
| 1589 o.creativeBlockingLevel = "foo"; | 1589 o.creativeBlockingLevel = "foo"; |
| 1590 o.deliveryRateType = "foo"; | 1590 o.deliveryRateType = "foo"; |
| 1591 o.frequencyCaps = buildUnnamed1715(); | 1591 o.frequencyCaps = buildUnnamed1819(); |
| 1592 } | 1592 } |
| 1593 buildCounterDeliveryControl--; | 1593 buildCounterDeliveryControl--; |
| 1594 return o; | 1594 return o; |
| 1595 } | 1595 } |
| 1596 | 1596 |
| 1597 checkDeliveryControl(api.DeliveryControl o) { | 1597 checkDeliveryControl(api.DeliveryControl o) { |
| 1598 buildCounterDeliveryControl++; | 1598 buildCounterDeliveryControl++; |
| 1599 if (buildCounterDeliveryControl < 3) { | 1599 if (buildCounterDeliveryControl < 3) { |
| 1600 unittest.expect(o.creativeBlockingLevel, unittest.equals('foo')); | 1600 unittest.expect(o.creativeBlockingLevel, unittest.equals('foo')); |
| 1601 unittest.expect(o.deliveryRateType, unittest.equals('foo')); | 1601 unittest.expect(o.deliveryRateType, unittest.equals('foo')); |
| 1602 checkUnnamed1715(o.frequencyCaps); | 1602 checkUnnamed1819(o.frequencyCaps); |
| 1603 } | 1603 } |
| 1604 buildCounterDeliveryControl--; | 1604 buildCounterDeliveryControl--; |
| 1605 } | 1605 } |
| 1606 | 1606 |
| 1607 core.int buildCounterDeliveryControlFrequencyCap = 0; | 1607 core.int buildCounterDeliveryControlFrequencyCap = 0; |
| 1608 buildDeliveryControlFrequencyCap() { | 1608 buildDeliveryControlFrequencyCap() { |
| 1609 var o = new api.DeliveryControlFrequencyCap(); | 1609 var o = new api.DeliveryControlFrequencyCap(); |
| 1610 buildCounterDeliveryControlFrequencyCap++; | 1610 buildCounterDeliveryControlFrequencyCap++; |
| 1611 if (buildCounterDeliveryControlFrequencyCap < 3) { | 1611 if (buildCounterDeliveryControlFrequencyCap < 3) { |
| 1612 o.maxImpressions = 42; | 1612 o.maxImpressions = 42; |
| 1613 o.numTimeUnits = 42; | 1613 o.numTimeUnits = 42; |
| 1614 o.timeUnitType = "foo"; | 1614 o.timeUnitType = "foo"; |
| 1615 } | 1615 } |
| 1616 buildCounterDeliveryControlFrequencyCap--; | 1616 buildCounterDeliveryControlFrequencyCap--; |
| 1617 return o; | 1617 return o; |
| 1618 } | 1618 } |
| 1619 | 1619 |
| 1620 checkDeliveryControlFrequencyCap(api.DeliveryControlFrequencyCap o) { | 1620 checkDeliveryControlFrequencyCap(api.DeliveryControlFrequencyCap o) { |
| 1621 buildCounterDeliveryControlFrequencyCap++; | 1621 buildCounterDeliveryControlFrequencyCap++; |
| 1622 if (buildCounterDeliveryControlFrequencyCap < 3) { | 1622 if (buildCounterDeliveryControlFrequencyCap < 3) { |
| 1623 unittest.expect(o.maxImpressions, unittest.equals(42)); | 1623 unittest.expect(o.maxImpressions, unittest.equals(42)); |
| 1624 unittest.expect(o.numTimeUnits, unittest.equals(42)); | 1624 unittest.expect(o.numTimeUnits, unittest.equals(42)); |
| 1625 unittest.expect(o.timeUnitType, unittest.equals('foo')); | 1625 unittest.expect(o.timeUnitType, unittest.equals('foo')); |
| 1626 } | 1626 } |
| 1627 buildCounterDeliveryControlFrequencyCap--; | 1627 buildCounterDeliveryControlFrequencyCap--; |
| 1628 } | 1628 } |
| 1629 | 1629 |
| 1630 buildUnnamed1716() { | 1630 buildUnnamed1820() { |
| 1631 var o = new core.List<api.DimensionDimensionValue>(); | 1631 var o = new core.List<api.DimensionDimensionValue>(); |
| 1632 o.add(buildDimensionDimensionValue()); | 1632 o.add(buildDimensionDimensionValue()); |
| 1633 o.add(buildDimensionDimensionValue()); | 1633 o.add(buildDimensionDimensionValue()); |
| 1634 return o; | 1634 return o; |
| 1635 } | 1635 } |
| 1636 | 1636 |
| 1637 checkUnnamed1716(core.List<api.DimensionDimensionValue> o) { | 1637 checkUnnamed1820(core.List<api.DimensionDimensionValue> o) { |
| 1638 unittest.expect(o, unittest.hasLength(2)); | 1638 unittest.expect(o, unittest.hasLength(2)); |
| 1639 checkDimensionDimensionValue(o[0]); | 1639 checkDimensionDimensionValue(o[0]); |
| 1640 checkDimensionDimensionValue(o[1]); | 1640 checkDimensionDimensionValue(o[1]); |
| 1641 } | 1641 } |
| 1642 | 1642 |
| 1643 core.int buildCounterDimension = 0; | 1643 core.int buildCounterDimension = 0; |
| 1644 buildDimension() { | 1644 buildDimension() { |
| 1645 var o = new api.Dimension(); | 1645 var o = new api.Dimension(); |
| 1646 buildCounterDimension++; | 1646 buildCounterDimension++; |
| 1647 if (buildCounterDimension < 3) { | 1647 if (buildCounterDimension < 3) { |
| 1648 o.dimensionType = "foo"; | 1648 o.dimensionType = "foo"; |
| 1649 o.dimensionValues = buildUnnamed1716(); | 1649 o.dimensionValues = buildUnnamed1820(); |
| 1650 } | 1650 } |
| 1651 buildCounterDimension--; | 1651 buildCounterDimension--; |
| 1652 return o; | 1652 return o; |
| 1653 } | 1653 } |
| 1654 | 1654 |
| 1655 checkDimension(api.Dimension o) { | 1655 checkDimension(api.Dimension o) { |
| 1656 buildCounterDimension++; | 1656 buildCounterDimension++; |
| 1657 if (buildCounterDimension < 3) { | 1657 if (buildCounterDimension < 3) { |
| 1658 unittest.expect(o.dimensionType, unittest.equals('foo')); | 1658 unittest.expect(o.dimensionType, unittest.equals('foo')); |
| 1659 checkUnnamed1716(o.dimensionValues); | 1659 checkUnnamed1820(o.dimensionValues); |
| 1660 } | 1660 } |
| 1661 buildCounterDimension--; | 1661 buildCounterDimension--; |
| 1662 } | 1662 } |
| 1663 | 1663 |
| 1664 core.int buildCounterDimensionDimensionValue = 0; | 1664 core.int buildCounterDimensionDimensionValue = 0; |
| 1665 buildDimensionDimensionValue() { | 1665 buildDimensionDimensionValue() { |
| 1666 var o = new api.DimensionDimensionValue(); | 1666 var o = new api.DimensionDimensionValue(); |
| 1667 buildCounterDimensionDimensionValue++; | 1667 buildCounterDimensionDimensionValue++; |
| 1668 if (buildCounterDimensionDimensionValue < 3) { | 1668 if (buildCounterDimensionDimensionValue < 3) { |
| 1669 o.id = 42; | 1669 o.id = 42; |
| 1670 o.name = "foo"; | 1670 o.name = "foo"; |
| 1671 o.percentage = 42; | 1671 o.percentage = 42; |
| 1672 } | 1672 } |
| 1673 buildCounterDimensionDimensionValue--; | 1673 buildCounterDimensionDimensionValue--; |
| 1674 return o; | 1674 return o; |
| 1675 } | 1675 } |
| 1676 | 1676 |
| 1677 checkDimensionDimensionValue(api.DimensionDimensionValue o) { | 1677 checkDimensionDimensionValue(api.DimensionDimensionValue o) { |
| 1678 buildCounterDimensionDimensionValue++; | 1678 buildCounterDimensionDimensionValue++; |
| 1679 if (buildCounterDimensionDimensionValue < 3) { | 1679 if (buildCounterDimensionDimensionValue < 3) { |
| 1680 unittest.expect(o.id, unittest.equals(42)); | 1680 unittest.expect(o.id, unittest.equals(42)); |
| 1681 unittest.expect(o.name, unittest.equals('foo')); | 1681 unittest.expect(o.name, unittest.equals('foo')); |
| 1682 unittest.expect(o.percentage, unittest.equals(42)); | 1682 unittest.expect(o.percentage, unittest.equals(42)); |
| 1683 } | 1683 } |
| 1684 buildCounterDimensionDimensionValue--; | 1684 buildCounterDimensionDimensionValue--; |
| 1685 } | 1685 } |
| 1686 | 1686 |
| 1687 buildUnnamed1717() { | 1687 buildUnnamed1821() { |
| 1688 var o = new core.List<api.MarketplaceDeal>(); | 1688 var o = new core.List<api.MarketplaceDeal>(); |
| 1689 o.add(buildMarketplaceDeal()); | 1689 o.add(buildMarketplaceDeal()); |
| 1690 o.add(buildMarketplaceDeal()); | 1690 o.add(buildMarketplaceDeal()); |
| 1691 return o; | 1691 return o; |
| 1692 } | 1692 } |
| 1693 | 1693 |
| 1694 checkUnnamed1717(core.List<api.MarketplaceDeal> o) { | 1694 checkUnnamed1821(core.List<api.MarketplaceDeal> o) { |
| 1695 unittest.expect(o, unittest.hasLength(2)); | 1695 unittest.expect(o, unittest.hasLength(2)); |
| 1696 checkMarketplaceDeal(o[0]); | 1696 checkMarketplaceDeal(o[0]); |
| 1697 checkMarketplaceDeal(o[1]); | 1697 checkMarketplaceDeal(o[1]); |
| 1698 } | 1698 } |
| 1699 | 1699 |
| 1700 core.int buildCounterEditAllOrderDealsRequest = 0; | 1700 core.int buildCounterEditAllOrderDealsRequest = 0; |
| 1701 buildEditAllOrderDealsRequest() { | 1701 buildEditAllOrderDealsRequest() { |
| 1702 var o = new api.EditAllOrderDealsRequest(); | 1702 var o = new api.EditAllOrderDealsRequest(); |
| 1703 buildCounterEditAllOrderDealsRequest++; | 1703 buildCounterEditAllOrderDealsRequest++; |
| 1704 if (buildCounterEditAllOrderDealsRequest < 3) { | 1704 if (buildCounterEditAllOrderDealsRequest < 3) { |
| 1705 o.deals = buildUnnamed1717(); | 1705 o.deals = buildUnnamed1821(); |
| 1706 o.proposal = buildProposal(); | 1706 o.proposal = buildProposal(); |
| 1707 o.proposalRevisionNumber = "foo"; | 1707 o.proposalRevisionNumber = "foo"; |
| 1708 o.updateAction = "foo"; | 1708 o.updateAction = "foo"; |
| 1709 } | 1709 } |
| 1710 buildCounterEditAllOrderDealsRequest--; | 1710 buildCounterEditAllOrderDealsRequest--; |
| 1711 return o; | 1711 return o; |
| 1712 } | 1712 } |
| 1713 | 1713 |
| 1714 checkEditAllOrderDealsRequest(api.EditAllOrderDealsRequest o) { | 1714 checkEditAllOrderDealsRequest(api.EditAllOrderDealsRequest o) { |
| 1715 buildCounterEditAllOrderDealsRequest++; | 1715 buildCounterEditAllOrderDealsRequest++; |
| 1716 if (buildCounterEditAllOrderDealsRequest < 3) { | 1716 if (buildCounterEditAllOrderDealsRequest < 3) { |
| 1717 checkUnnamed1717(o.deals); | 1717 checkUnnamed1821(o.deals); |
| 1718 checkProposal(o.proposal); | 1718 checkProposal(o.proposal); |
| 1719 unittest.expect(o.proposalRevisionNumber, unittest.equals('foo')); | 1719 unittest.expect(o.proposalRevisionNumber, unittest.equals('foo')); |
| 1720 unittest.expect(o.updateAction, unittest.equals('foo')); | 1720 unittest.expect(o.updateAction, unittest.equals('foo')); |
| 1721 } | 1721 } |
| 1722 buildCounterEditAllOrderDealsRequest--; | 1722 buildCounterEditAllOrderDealsRequest--; |
| 1723 } | 1723 } |
| 1724 | 1724 |
| 1725 buildUnnamed1718() { | 1725 buildUnnamed1822() { |
| 1726 var o = new core.List<api.MarketplaceDeal>(); | 1726 var o = new core.List<api.MarketplaceDeal>(); |
| 1727 o.add(buildMarketplaceDeal()); | 1727 o.add(buildMarketplaceDeal()); |
| 1728 o.add(buildMarketplaceDeal()); | 1728 o.add(buildMarketplaceDeal()); |
| 1729 return o; | 1729 return o; |
| 1730 } | 1730 } |
| 1731 | 1731 |
| 1732 checkUnnamed1718(core.List<api.MarketplaceDeal> o) { | 1732 checkUnnamed1822(core.List<api.MarketplaceDeal> o) { |
| 1733 unittest.expect(o, unittest.hasLength(2)); | 1733 unittest.expect(o, unittest.hasLength(2)); |
| 1734 checkMarketplaceDeal(o[0]); | 1734 checkMarketplaceDeal(o[0]); |
| 1735 checkMarketplaceDeal(o[1]); | 1735 checkMarketplaceDeal(o[1]); |
| 1736 } | 1736 } |
| 1737 | 1737 |
| 1738 core.int buildCounterEditAllOrderDealsResponse = 0; | 1738 core.int buildCounterEditAllOrderDealsResponse = 0; |
| 1739 buildEditAllOrderDealsResponse() { | 1739 buildEditAllOrderDealsResponse() { |
| 1740 var o = new api.EditAllOrderDealsResponse(); | 1740 var o = new api.EditAllOrderDealsResponse(); |
| 1741 buildCounterEditAllOrderDealsResponse++; | 1741 buildCounterEditAllOrderDealsResponse++; |
| 1742 if (buildCounterEditAllOrderDealsResponse < 3) { | 1742 if (buildCounterEditAllOrderDealsResponse < 3) { |
| 1743 o.deals = buildUnnamed1718(); | 1743 o.deals = buildUnnamed1822(); |
| 1744 o.orderRevisionNumber = "foo"; | 1744 o.orderRevisionNumber = "foo"; |
| 1745 } | 1745 } |
| 1746 buildCounterEditAllOrderDealsResponse--; | 1746 buildCounterEditAllOrderDealsResponse--; |
| 1747 return o; | 1747 return o; |
| 1748 } | 1748 } |
| 1749 | 1749 |
| 1750 checkEditAllOrderDealsResponse(api.EditAllOrderDealsResponse o) { | 1750 checkEditAllOrderDealsResponse(api.EditAllOrderDealsResponse o) { |
| 1751 buildCounterEditAllOrderDealsResponse++; | 1751 buildCounterEditAllOrderDealsResponse++; |
| 1752 if (buildCounterEditAllOrderDealsResponse < 3) { | 1752 if (buildCounterEditAllOrderDealsResponse < 3) { |
| 1753 checkUnnamed1718(o.deals); | 1753 checkUnnamed1822(o.deals); |
| 1754 unittest.expect(o.orderRevisionNumber, unittest.equals('foo')); | 1754 unittest.expect(o.orderRevisionNumber, unittest.equals('foo')); |
| 1755 } | 1755 } |
| 1756 buildCounterEditAllOrderDealsResponse--; | 1756 buildCounterEditAllOrderDealsResponse--; |
| 1757 } | 1757 } |
| 1758 | 1758 |
| 1759 buildUnnamed1719() { | 1759 buildUnnamed1823() { |
| 1760 var o = new core.List<api.Product>(); | 1760 var o = new core.List<api.Product>(); |
| 1761 o.add(buildProduct()); | 1761 o.add(buildProduct()); |
| 1762 o.add(buildProduct()); | 1762 o.add(buildProduct()); |
| 1763 return o; | 1763 return o; |
| 1764 } | 1764 } |
| 1765 | 1765 |
| 1766 checkUnnamed1719(core.List<api.Product> o) { | 1766 checkUnnamed1823(core.List<api.Product> o) { |
| 1767 unittest.expect(o, unittest.hasLength(2)); | 1767 unittest.expect(o, unittest.hasLength(2)); |
| 1768 checkProduct(o[0]); | 1768 checkProduct(o[0]); |
| 1769 checkProduct(o[1]); | 1769 checkProduct(o[1]); |
| 1770 } | 1770 } |
| 1771 | 1771 |
| 1772 core.int buildCounterGetOffersResponse = 0; | 1772 core.int buildCounterGetOffersResponse = 0; |
| 1773 buildGetOffersResponse() { | 1773 buildGetOffersResponse() { |
| 1774 var o = new api.GetOffersResponse(); | 1774 var o = new api.GetOffersResponse(); |
| 1775 buildCounterGetOffersResponse++; | 1775 buildCounterGetOffersResponse++; |
| 1776 if (buildCounterGetOffersResponse < 3) { | 1776 if (buildCounterGetOffersResponse < 3) { |
| 1777 o.products = buildUnnamed1719(); | 1777 o.products = buildUnnamed1823(); |
| 1778 } | 1778 } |
| 1779 buildCounterGetOffersResponse--; | 1779 buildCounterGetOffersResponse--; |
| 1780 return o; | 1780 return o; |
| 1781 } | 1781 } |
| 1782 | 1782 |
| 1783 checkGetOffersResponse(api.GetOffersResponse o) { | 1783 checkGetOffersResponse(api.GetOffersResponse o) { |
| 1784 buildCounterGetOffersResponse++; | 1784 buildCounterGetOffersResponse++; |
| 1785 if (buildCounterGetOffersResponse < 3) { | 1785 if (buildCounterGetOffersResponse < 3) { |
| 1786 checkUnnamed1719(o.products); | 1786 checkUnnamed1823(o.products); |
| 1787 } | 1787 } |
| 1788 buildCounterGetOffersResponse--; | 1788 buildCounterGetOffersResponse--; |
| 1789 } | 1789 } |
| 1790 | 1790 |
| 1791 buildUnnamed1720() { | 1791 buildUnnamed1824() { |
| 1792 var o = new core.List<api.MarketplaceDeal>(); | 1792 var o = new core.List<api.MarketplaceDeal>(); |
| 1793 o.add(buildMarketplaceDeal()); | 1793 o.add(buildMarketplaceDeal()); |
| 1794 o.add(buildMarketplaceDeal()); | 1794 o.add(buildMarketplaceDeal()); |
| 1795 return o; | 1795 return o; |
| 1796 } | 1796 } |
| 1797 | 1797 |
| 1798 checkUnnamed1720(core.List<api.MarketplaceDeal> o) { | 1798 checkUnnamed1824(core.List<api.MarketplaceDeal> o) { |
| 1799 unittest.expect(o, unittest.hasLength(2)); | 1799 unittest.expect(o, unittest.hasLength(2)); |
| 1800 checkMarketplaceDeal(o[0]); | 1800 checkMarketplaceDeal(o[0]); |
| 1801 checkMarketplaceDeal(o[1]); | 1801 checkMarketplaceDeal(o[1]); |
| 1802 } | 1802 } |
| 1803 | 1803 |
| 1804 core.int buildCounterGetOrderDealsResponse = 0; | 1804 core.int buildCounterGetOrderDealsResponse = 0; |
| 1805 buildGetOrderDealsResponse() { | 1805 buildGetOrderDealsResponse() { |
| 1806 var o = new api.GetOrderDealsResponse(); | 1806 var o = new api.GetOrderDealsResponse(); |
| 1807 buildCounterGetOrderDealsResponse++; | 1807 buildCounterGetOrderDealsResponse++; |
| 1808 if (buildCounterGetOrderDealsResponse < 3) { | 1808 if (buildCounterGetOrderDealsResponse < 3) { |
| 1809 o.deals = buildUnnamed1720(); | 1809 o.deals = buildUnnamed1824(); |
| 1810 } | 1810 } |
| 1811 buildCounterGetOrderDealsResponse--; | 1811 buildCounterGetOrderDealsResponse--; |
| 1812 return o; | 1812 return o; |
| 1813 } | 1813 } |
| 1814 | 1814 |
| 1815 checkGetOrderDealsResponse(api.GetOrderDealsResponse o) { | 1815 checkGetOrderDealsResponse(api.GetOrderDealsResponse o) { |
| 1816 buildCounterGetOrderDealsResponse++; | 1816 buildCounterGetOrderDealsResponse++; |
| 1817 if (buildCounterGetOrderDealsResponse < 3) { | 1817 if (buildCounterGetOrderDealsResponse < 3) { |
| 1818 checkUnnamed1720(o.deals); | 1818 checkUnnamed1824(o.deals); |
| 1819 } | 1819 } |
| 1820 buildCounterGetOrderDealsResponse--; | 1820 buildCounterGetOrderDealsResponse--; |
| 1821 } | 1821 } |
| 1822 | 1822 |
| 1823 buildUnnamed1721() { | 1823 buildUnnamed1825() { |
| 1824 var o = new core.List<api.MarketplaceNote>(); | 1824 var o = new core.List<api.MarketplaceNote>(); |
| 1825 o.add(buildMarketplaceNote()); | 1825 o.add(buildMarketplaceNote()); |
| 1826 o.add(buildMarketplaceNote()); | 1826 o.add(buildMarketplaceNote()); |
| 1827 return o; | 1827 return o; |
| 1828 } | 1828 } |
| 1829 | 1829 |
| 1830 checkUnnamed1721(core.List<api.MarketplaceNote> o) { | 1830 checkUnnamed1825(core.List<api.MarketplaceNote> o) { |
| 1831 unittest.expect(o, unittest.hasLength(2)); | 1831 unittest.expect(o, unittest.hasLength(2)); |
| 1832 checkMarketplaceNote(o[0]); | 1832 checkMarketplaceNote(o[0]); |
| 1833 checkMarketplaceNote(o[1]); | 1833 checkMarketplaceNote(o[1]); |
| 1834 } | 1834 } |
| 1835 | 1835 |
| 1836 core.int buildCounterGetOrderNotesResponse = 0; | 1836 core.int buildCounterGetOrderNotesResponse = 0; |
| 1837 buildGetOrderNotesResponse() { | 1837 buildGetOrderNotesResponse() { |
| 1838 var o = new api.GetOrderNotesResponse(); | 1838 var o = new api.GetOrderNotesResponse(); |
| 1839 buildCounterGetOrderNotesResponse++; | 1839 buildCounterGetOrderNotesResponse++; |
| 1840 if (buildCounterGetOrderNotesResponse < 3) { | 1840 if (buildCounterGetOrderNotesResponse < 3) { |
| 1841 o.notes = buildUnnamed1721(); | 1841 o.notes = buildUnnamed1825(); |
| 1842 } | 1842 } |
| 1843 buildCounterGetOrderNotesResponse--; | 1843 buildCounterGetOrderNotesResponse--; |
| 1844 return o; | 1844 return o; |
| 1845 } | 1845 } |
| 1846 | 1846 |
| 1847 checkGetOrderNotesResponse(api.GetOrderNotesResponse o) { | 1847 checkGetOrderNotesResponse(api.GetOrderNotesResponse o) { |
| 1848 buildCounterGetOrderNotesResponse++; | 1848 buildCounterGetOrderNotesResponse++; |
| 1849 if (buildCounterGetOrderNotesResponse < 3) { | 1849 if (buildCounterGetOrderNotesResponse < 3) { |
| 1850 checkUnnamed1721(o.notes); | 1850 checkUnnamed1825(o.notes); |
| 1851 } | 1851 } |
| 1852 buildCounterGetOrderNotesResponse--; | 1852 buildCounterGetOrderNotesResponse--; |
| 1853 } | 1853 } |
| 1854 | 1854 |
| 1855 buildUnnamed1722() { | 1855 buildUnnamed1826() { |
| 1856 var o = new core.List<api.Proposal>(); | 1856 var o = new core.List<api.Proposal>(); |
| 1857 o.add(buildProposal()); | 1857 o.add(buildProposal()); |
| 1858 o.add(buildProposal()); | 1858 o.add(buildProposal()); |
| 1859 return o; | 1859 return o; |
| 1860 } | 1860 } |
| 1861 | 1861 |
| 1862 checkUnnamed1722(core.List<api.Proposal> o) { | 1862 checkUnnamed1826(core.List<api.Proposal> o) { |
| 1863 unittest.expect(o, unittest.hasLength(2)); | 1863 unittest.expect(o, unittest.hasLength(2)); |
| 1864 checkProposal(o[0]); | 1864 checkProposal(o[0]); |
| 1865 checkProposal(o[1]); | 1865 checkProposal(o[1]); |
| 1866 } | 1866 } |
| 1867 | 1867 |
| 1868 core.int buildCounterGetOrdersResponse = 0; | 1868 core.int buildCounterGetOrdersResponse = 0; |
| 1869 buildGetOrdersResponse() { | 1869 buildGetOrdersResponse() { |
| 1870 var o = new api.GetOrdersResponse(); | 1870 var o = new api.GetOrdersResponse(); |
| 1871 buildCounterGetOrdersResponse++; | 1871 buildCounterGetOrdersResponse++; |
| 1872 if (buildCounterGetOrdersResponse < 3) { | 1872 if (buildCounterGetOrdersResponse < 3) { |
| 1873 o.proposals = buildUnnamed1722(); | 1873 o.proposals = buildUnnamed1826(); |
| 1874 } | 1874 } |
| 1875 buildCounterGetOrdersResponse--; | 1875 buildCounterGetOrdersResponse--; |
| 1876 return o; | 1876 return o; |
| 1877 } | 1877 } |
| 1878 | 1878 |
| 1879 checkGetOrdersResponse(api.GetOrdersResponse o) { | 1879 checkGetOrdersResponse(api.GetOrdersResponse o) { |
| 1880 buildCounterGetOrdersResponse++; | 1880 buildCounterGetOrdersResponse++; |
| 1881 if (buildCounterGetOrdersResponse < 3) { | 1881 if (buildCounterGetOrdersResponse < 3) { |
| 1882 checkUnnamed1722(o.proposals); | 1882 checkUnnamed1826(o.proposals); |
| 1883 } | 1883 } |
| 1884 buildCounterGetOrdersResponse--; | 1884 buildCounterGetOrdersResponse--; |
| 1885 } | 1885 } |
| 1886 | 1886 |
| 1887 buildUnnamed1723() { | 1887 buildUnnamed1827() { |
| 1888 var o = new core.List<api.PublisherProfileApiProto>(); | 1888 var o = new core.List<api.PublisherProfileApiProto>(); |
| 1889 o.add(buildPublisherProfileApiProto()); | 1889 o.add(buildPublisherProfileApiProto()); |
| 1890 o.add(buildPublisherProfileApiProto()); | 1890 o.add(buildPublisherProfileApiProto()); |
| 1891 return o; | 1891 return o; |
| 1892 } | 1892 } |
| 1893 | 1893 |
| 1894 checkUnnamed1723(core.List<api.PublisherProfileApiProto> o) { | 1894 checkUnnamed1827(core.List<api.PublisherProfileApiProto> o) { |
| 1895 unittest.expect(o, unittest.hasLength(2)); | 1895 unittest.expect(o, unittest.hasLength(2)); |
| 1896 checkPublisherProfileApiProto(o[0]); | 1896 checkPublisherProfileApiProto(o[0]); |
| 1897 checkPublisherProfileApiProto(o[1]); | 1897 checkPublisherProfileApiProto(o[1]); |
| 1898 } | 1898 } |
| 1899 | 1899 |
| 1900 core.int buildCounterGetPublisherProfilesByAccountIdResponse = 0; | 1900 core.int buildCounterGetPublisherProfilesByAccountIdResponse = 0; |
| 1901 buildGetPublisherProfilesByAccountIdResponse() { | 1901 buildGetPublisherProfilesByAccountIdResponse() { |
| 1902 var o = new api.GetPublisherProfilesByAccountIdResponse(); | 1902 var o = new api.GetPublisherProfilesByAccountIdResponse(); |
| 1903 buildCounterGetPublisherProfilesByAccountIdResponse++; | 1903 buildCounterGetPublisherProfilesByAccountIdResponse++; |
| 1904 if (buildCounterGetPublisherProfilesByAccountIdResponse < 3) { | 1904 if (buildCounterGetPublisherProfilesByAccountIdResponse < 3) { |
| 1905 o.profiles = buildUnnamed1723(); | 1905 o.profiles = buildUnnamed1827(); |
| 1906 } | 1906 } |
| 1907 buildCounterGetPublisherProfilesByAccountIdResponse--; | 1907 buildCounterGetPublisherProfilesByAccountIdResponse--; |
| 1908 return o; | 1908 return o; |
| 1909 } | 1909 } |
| 1910 | 1910 |
| 1911 checkGetPublisherProfilesByAccountIdResponse(api.GetPublisherProfilesByAccountId
Response o) { | 1911 checkGetPublisherProfilesByAccountIdResponse(api.GetPublisherProfilesByAccountId
Response o) { |
| 1912 buildCounterGetPublisherProfilesByAccountIdResponse++; | 1912 buildCounterGetPublisherProfilesByAccountIdResponse++; |
| 1913 if (buildCounterGetPublisherProfilesByAccountIdResponse < 3) { | 1913 if (buildCounterGetPublisherProfilesByAccountIdResponse < 3) { |
| 1914 checkUnnamed1723(o.profiles); | 1914 checkUnnamed1827(o.profiles); |
| 1915 } | 1915 } |
| 1916 buildCounterGetPublisherProfilesByAccountIdResponse--; | 1916 buildCounterGetPublisherProfilesByAccountIdResponse--; |
| 1917 } | 1917 } |
| 1918 | 1918 |
| 1919 buildUnnamed1724() { | 1919 buildUnnamed1828() { |
| 1920 var o = new core.List<api.ContactInformation>(); | 1920 var o = new core.List<api.ContactInformation>(); |
| 1921 o.add(buildContactInformation()); | 1921 o.add(buildContactInformation()); |
| 1922 o.add(buildContactInformation()); | 1922 o.add(buildContactInformation()); |
| 1923 return o; | 1923 return o; |
| 1924 } | 1924 } |
| 1925 | 1925 |
| 1926 checkUnnamed1724(core.List<api.ContactInformation> o) { | 1926 checkUnnamed1828(core.List<api.ContactInformation> o) { |
| 1927 unittest.expect(o, unittest.hasLength(2)); | 1927 unittest.expect(o, unittest.hasLength(2)); |
| 1928 checkContactInformation(o[0]); | 1928 checkContactInformation(o[0]); |
| 1929 checkContactInformation(o[1]); | 1929 checkContactInformation(o[1]); |
| 1930 } | 1930 } |
| 1931 | 1931 |
| 1932 buildUnnamed1725() { | 1932 buildUnnamed1829() { |
| 1933 var o = new core.List<api.SharedTargeting>(); | 1933 var o = new core.List<api.SharedTargeting>(); |
| 1934 o.add(buildSharedTargeting()); | 1934 o.add(buildSharedTargeting()); |
| 1935 o.add(buildSharedTargeting()); | 1935 o.add(buildSharedTargeting()); |
| 1936 return o; | 1936 return o; |
| 1937 } | 1937 } |
| 1938 | 1938 |
| 1939 checkUnnamed1725(core.List<api.SharedTargeting> o) { | 1939 checkUnnamed1829(core.List<api.SharedTargeting> o) { |
| 1940 unittest.expect(o, unittest.hasLength(2)); | 1940 unittest.expect(o, unittest.hasLength(2)); |
| 1941 checkSharedTargeting(o[0]); | 1941 checkSharedTargeting(o[0]); |
| 1942 checkSharedTargeting(o[1]); | 1942 checkSharedTargeting(o[1]); |
| 1943 } | 1943 } |
| 1944 | 1944 |
| 1945 core.int buildCounterMarketplaceDeal = 0; | 1945 core.int buildCounterMarketplaceDeal = 0; |
| 1946 buildMarketplaceDeal() { | 1946 buildMarketplaceDeal() { |
| 1947 var o = new api.MarketplaceDeal(); | 1947 var o = new api.MarketplaceDeal(); |
| 1948 buildCounterMarketplaceDeal++; | 1948 buildCounterMarketplaceDeal++; |
| 1949 if (buildCounterMarketplaceDeal < 3) { | 1949 if (buildCounterMarketplaceDeal < 3) { |
| 1950 o.buyerPrivateData = buildPrivateData(); | 1950 o.buyerPrivateData = buildPrivateData(); |
| 1951 o.creationTimeMs = "foo"; | 1951 o.creationTimeMs = "foo"; |
| 1952 o.creativePreApprovalPolicy = "foo"; | 1952 o.creativePreApprovalPolicy = "foo"; |
| 1953 o.creativeSafeFrameCompatibility = "foo"; | 1953 o.creativeSafeFrameCompatibility = "foo"; |
| 1954 o.dealId = "foo"; | 1954 o.dealId = "foo"; |
| 1955 o.dealServingMetadata = buildDealServingMetadata(); | 1955 o.dealServingMetadata = buildDealServingMetadata(); |
| 1956 o.deliveryControl = buildDeliveryControl(); | 1956 o.deliveryControl = buildDeliveryControl(); |
| 1957 o.externalDealId = "foo"; | 1957 o.externalDealId = "foo"; |
| 1958 o.flightEndTimeMs = "foo"; | 1958 o.flightEndTimeMs = "foo"; |
| 1959 o.flightStartTimeMs = "foo"; | 1959 o.flightStartTimeMs = "foo"; |
| 1960 o.inventoryDescription = "foo"; | 1960 o.inventoryDescription = "foo"; |
| 1961 o.isRfpTemplate = true; | 1961 o.isRfpTemplate = true; |
| 1962 o.kind = "foo"; | 1962 o.kind = "foo"; |
| 1963 o.lastUpdateTimeMs = "foo"; | 1963 o.lastUpdateTimeMs = "foo"; |
| 1964 o.name = "foo"; | 1964 o.name = "foo"; |
| 1965 o.productId = "foo"; | 1965 o.productId = "foo"; |
| 1966 o.productRevisionNumber = "foo"; | 1966 o.productRevisionNumber = "foo"; |
| 1967 o.programmaticCreativeSource = "foo"; | 1967 o.programmaticCreativeSource = "foo"; |
| 1968 o.proposalId = "foo"; | 1968 o.proposalId = "foo"; |
| 1969 o.sellerContacts = buildUnnamed1724(); | 1969 o.sellerContacts = buildUnnamed1828(); |
| 1970 o.sharedTargetings = buildUnnamed1725(); | 1970 o.sharedTargetings = buildUnnamed1829(); |
| 1971 o.syndicationProduct = "foo"; | 1971 o.syndicationProduct = "foo"; |
| 1972 o.terms = buildDealTerms(); | 1972 o.terms = buildDealTerms(); |
| 1973 o.webPropertyCode = "foo"; | 1973 o.webPropertyCode = "foo"; |
| 1974 } | 1974 } |
| 1975 buildCounterMarketplaceDeal--; | 1975 buildCounterMarketplaceDeal--; |
| 1976 return o; | 1976 return o; |
| 1977 } | 1977 } |
| 1978 | 1978 |
| 1979 checkMarketplaceDeal(api.MarketplaceDeal o) { | 1979 checkMarketplaceDeal(api.MarketplaceDeal o) { |
| 1980 buildCounterMarketplaceDeal++; | 1980 buildCounterMarketplaceDeal++; |
| (...skipping 10 matching lines...) Expand all Loading... |
| 1991 unittest.expect(o.flightStartTimeMs, unittest.equals('foo')); | 1991 unittest.expect(o.flightStartTimeMs, unittest.equals('foo')); |
| 1992 unittest.expect(o.inventoryDescription, unittest.equals('foo')); | 1992 unittest.expect(o.inventoryDescription, unittest.equals('foo')); |
| 1993 unittest.expect(o.isRfpTemplate, unittest.isTrue); | 1993 unittest.expect(o.isRfpTemplate, unittest.isTrue); |
| 1994 unittest.expect(o.kind, unittest.equals('foo')); | 1994 unittest.expect(o.kind, unittest.equals('foo')); |
| 1995 unittest.expect(o.lastUpdateTimeMs, unittest.equals('foo')); | 1995 unittest.expect(o.lastUpdateTimeMs, unittest.equals('foo')); |
| 1996 unittest.expect(o.name, unittest.equals('foo')); | 1996 unittest.expect(o.name, unittest.equals('foo')); |
| 1997 unittest.expect(o.productId, unittest.equals('foo')); | 1997 unittest.expect(o.productId, unittest.equals('foo')); |
| 1998 unittest.expect(o.productRevisionNumber, unittest.equals('foo')); | 1998 unittest.expect(o.productRevisionNumber, unittest.equals('foo')); |
| 1999 unittest.expect(o.programmaticCreativeSource, unittest.equals('foo')); | 1999 unittest.expect(o.programmaticCreativeSource, unittest.equals('foo')); |
| 2000 unittest.expect(o.proposalId, unittest.equals('foo')); | 2000 unittest.expect(o.proposalId, unittest.equals('foo')); |
| 2001 checkUnnamed1724(o.sellerContacts); | 2001 checkUnnamed1828(o.sellerContacts); |
| 2002 checkUnnamed1725(o.sharedTargetings); | 2002 checkUnnamed1829(o.sharedTargetings); |
| 2003 unittest.expect(o.syndicationProduct, unittest.equals('foo')); | 2003 unittest.expect(o.syndicationProduct, unittest.equals('foo')); |
| 2004 checkDealTerms(o.terms); | 2004 checkDealTerms(o.terms); |
| 2005 unittest.expect(o.webPropertyCode, unittest.equals('foo')); | 2005 unittest.expect(o.webPropertyCode, unittest.equals('foo')); |
| 2006 } | 2006 } |
| 2007 buildCounterMarketplaceDeal--; | 2007 buildCounterMarketplaceDeal--; |
| 2008 } | 2008 } |
| 2009 | 2009 |
| 2010 core.int buildCounterMarketplaceDealParty = 0; | 2010 core.int buildCounterMarketplaceDealParty = 0; |
| 2011 buildMarketplaceDealParty() { | 2011 buildMarketplaceDealParty() { |
| 2012 var o = new api.MarketplaceDealParty(); | 2012 var o = new api.MarketplaceDealParty(); |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2079 unittest.expect(o.kind, unittest.equals('foo')); | 2079 unittest.expect(o.kind, unittest.equals('foo')); |
| 2080 unittest.expect(o.note, unittest.equals('foo')); | 2080 unittest.expect(o.note, unittest.equals('foo')); |
| 2081 unittest.expect(o.noteId, unittest.equals('foo')); | 2081 unittest.expect(o.noteId, unittest.equals('foo')); |
| 2082 unittest.expect(o.proposalId, unittest.equals('foo')); | 2082 unittest.expect(o.proposalId, unittest.equals('foo')); |
| 2083 unittest.expect(o.proposalRevisionNumber, unittest.equals('foo')); | 2083 unittest.expect(o.proposalRevisionNumber, unittest.equals('foo')); |
| 2084 unittest.expect(o.timestampMs, unittest.equals('foo')); | 2084 unittest.expect(o.timestampMs, unittest.equals('foo')); |
| 2085 } | 2085 } |
| 2086 buildCounterMarketplaceNote--; | 2086 buildCounterMarketplaceNote--; |
| 2087 } | 2087 } |
| 2088 | 2088 |
| 2089 buildUnnamed1726() { | 2089 buildUnnamed1830() { |
| 2090 var o = new core.List<core.Object>(); | 2090 var o = new core.List<core.Object>(); |
| 2091 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); | 2091 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); |
| 2092 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); | 2092 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); |
| 2093 return o; | 2093 return o; |
| 2094 } | 2094 } |
| 2095 | 2095 |
| 2096 checkUnnamed1726(core.List<core.Object> o) { | 2096 checkUnnamed1830(core.List<core.Object> o) { |
| 2097 unittest.expect(o, unittest.hasLength(2)); | 2097 unittest.expect(o, unittest.hasLength(2)); |
| 2098 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')); | 2098 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')); |
| 2099 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')); | 2099 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')); |
| 2100 } | 2100 } |
| 2101 | 2101 |
| 2102 buildUnnamed1727() { | 2102 buildUnnamed1831() { |
| 2103 var o = new core.List<core.Object>(); | 2103 var o = new core.List<core.Object>(); |
| 2104 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); | 2104 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); |
| 2105 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); | 2105 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); |
| 2106 return o; | 2106 return o; |
| 2107 } | 2107 } |
| 2108 | 2108 |
| 2109 checkUnnamed1727(core.List<core.Object> o) { | 2109 checkUnnamed1831(core.List<core.Object> o) { |
| 2110 unittest.expect(o, unittest.hasLength(2)); | 2110 unittest.expect(o, unittest.hasLength(2)); |
| 2111 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')); | 2111 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')); |
| 2112 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')); | 2112 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')); |
| 2113 } | 2113 } |
| 2114 | 2114 |
| 2115 buildUnnamed1728() { | 2115 buildUnnamed1832() { |
| 2116 var o = new core.List<core.Object>(); | 2116 var o = new core.List<core.Object>(); |
| 2117 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); | 2117 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); |
| 2118 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); | 2118 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); |
| 2119 return o; | 2119 return o; |
| 2120 } | 2120 } |
| 2121 | 2121 |
| 2122 checkUnnamed1728(core.List<core.Object> o) { | 2122 checkUnnamed1832(core.List<core.Object> o) { |
| 2123 unittest.expect(o, unittest.hasLength(2)); | 2123 unittest.expect(o, unittest.hasLength(2)); |
| 2124 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')); | 2124 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')); |
| 2125 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')); | 2125 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')); |
| 2126 } | 2126 } |
| 2127 | 2127 |
| 2128 buildUnnamed1729() { | 2128 buildUnnamed1833() { |
| 2129 var o = new core.List<core.Object>(); | 2129 var o = new core.List<core.Object>(); |
| 2130 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); | 2130 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); |
| 2131 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); | 2131 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); |
| 2132 return o; | 2132 return o; |
| 2133 } | 2133 } |
| 2134 | 2134 |
| 2135 checkUnnamed1729(core.List<core.Object> o) { | 2135 checkUnnamed1833(core.List<core.Object> o) { |
| 2136 unittest.expect(o, unittest.hasLength(2)); | 2136 unittest.expect(o, unittest.hasLength(2)); |
| 2137 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')); | 2137 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')); |
| 2138 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')); | 2138 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')); |
| 2139 } | 2139 } |
| 2140 | 2140 |
| 2141 core.int buildCounterPerformanceReport = 0; | 2141 core.int buildCounterPerformanceReport = 0; |
| 2142 buildPerformanceReport() { | 2142 buildPerformanceReport() { |
| 2143 var o = new api.PerformanceReport(); | 2143 var o = new api.PerformanceReport(); |
| 2144 buildCounterPerformanceReport++; | 2144 buildCounterPerformanceReport++; |
| 2145 if (buildCounterPerformanceReport < 3) { | 2145 if (buildCounterPerformanceReport < 3) { |
| 2146 o.bidRate = 42.0; | 2146 o.bidRate = 42.0; |
| 2147 o.bidRequestRate = 42.0; | 2147 o.bidRequestRate = 42.0; |
| 2148 o.calloutStatusRate = buildUnnamed1726(); | 2148 o.calloutStatusRate = buildUnnamed1830(); |
| 2149 o.cookieMatcherStatusRate = buildUnnamed1727(); | 2149 o.cookieMatcherStatusRate = buildUnnamed1831(); |
| 2150 o.creativeStatusRate = buildUnnamed1728(); | 2150 o.creativeStatusRate = buildUnnamed1832(); |
| 2151 o.filteredBidRate = 42.0; | 2151 o.filteredBidRate = 42.0; |
| 2152 o.hostedMatchStatusRate = buildUnnamed1729(); | 2152 o.hostedMatchStatusRate = buildUnnamed1833(); |
| 2153 o.inventoryMatchRate = 42.0; | 2153 o.inventoryMatchRate = 42.0; |
| 2154 o.kind = "foo"; | 2154 o.kind = "foo"; |
| 2155 o.latency50thPercentile = 42.0; | 2155 o.latency50thPercentile = 42.0; |
| 2156 o.latency85thPercentile = 42.0; | 2156 o.latency85thPercentile = 42.0; |
| 2157 o.latency95thPercentile = 42.0; | 2157 o.latency95thPercentile = 42.0; |
| 2158 o.noQuotaInRegion = 42.0; | 2158 o.noQuotaInRegion = 42.0; |
| 2159 o.outOfQuota = 42.0; | 2159 o.outOfQuota = 42.0; |
| 2160 o.pixelMatchRequests = 42.0; | 2160 o.pixelMatchRequests = 42.0; |
| 2161 o.pixelMatchResponses = 42.0; | 2161 o.pixelMatchResponses = 42.0; |
| 2162 o.quotaConfiguredLimit = 42.0; | 2162 o.quotaConfiguredLimit = 42.0; |
| 2163 o.quotaThrottledLimit = 42.0; | 2163 o.quotaThrottledLimit = 42.0; |
| 2164 o.region = "foo"; | 2164 o.region = "foo"; |
| 2165 o.successfulRequestRate = 42.0; | 2165 o.successfulRequestRate = 42.0; |
| 2166 o.timestamp = "foo"; | 2166 o.timestamp = "foo"; |
| 2167 o.unsuccessfulRequestRate = 42.0; | 2167 o.unsuccessfulRequestRate = 42.0; |
| 2168 } | 2168 } |
| 2169 buildCounterPerformanceReport--; | 2169 buildCounterPerformanceReport--; |
| 2170 return o; | 2170 return o; |
| 2171 } | 2171 } |
| 2172 | 2172 |
| 2173 checkPerformanceReport(api.PerformanceReport o) { | 2173 checkPerformanceReport(api.PerformanceReport o) { |
| 2174 buildCounterPerformanceReport++; | 2174 buildCounterPerformanceReport++; |
| 2175 if (buildCounterPerformanceReport < 3) { | 2175 if (buildCounterPerformanceReport < 3) { |
| 2176 unittest.expect(o.bidRate, unittest.equals(42.0)); | 2176 unittest.expect(o.bidRate, unittest.equals(42.0)); |
| 2177 unittest.expect(o.bidRequestRate, unittest.equals(42.0)); | 2177 unittest.expect(o.bidRequestRate, unittest.equals(42.0)); |
| 2178 checkUnnamed1726(o.calloutStatusRate); | 2178 checkUnnamed1830(o.calloutStatusRate); |
| 2179 checkUnnamed1727(o.cookieMatcherStatusRate); | 2179 checkUnnamed1831(o.cookieMatcherStatusRate); |
| 2180 checkUnnamed1728(o.creativeStatusRate); | 2180 checkUnnamed1832(o.creativeStatusRate); |
| 2181 unittest.expect(o.filteredBidRate, unittest.equals(42.0)); | 2181 unittest.expect(o.filteredBidRate, unittest.equals(42.0)); |
| 2182 checkUnnamed1729(o.hostedMatchStatusRate); | 2182 checkUnnamed1833(o.hostedMatchStatusRate); |
| 2183 unittest.expect(o.inventoryMatchRate, unittest.equals(42.0)); | 2183 unittest.expect(o.inventoryMatchRate, unittest.equals(42.0)); |
| 2184 unittest.expect(o.kind, unittest.equals('foo')); | 2184 unittest.expect(o.kind, unittest.equals('foo')); |
| 2185 unittest.expect(o.latency50thPercentile, unittest.equals(42.0)); | 2185 unittest.expect(o.latency50thPercentile, unittest.equals(42.0)); |
| 2186 unittest.expect(o.latency85thPercentile, unittest.equals(42.0)); | 2186 unittest.expect(o.latency85thPercentile, unittest.equals(42.0)); |
| 2187 unittest.expect(o.latency95thPercentile, unittest.equals(42.0)); | 2187 unittest.expect(o.latency95thPercentile, unittest.equals(42.0)); |
| 2188 unittest.expect(o.noQuotaInRegion, unittest.equals(42.0)); | 2188 unittest.expect(o.noQuotaInRegion, unittest.equals(42.0)); |
| 2189 unittest.expect(o.outOfQuota, unittest.equals(42.0)); | 2189 unittest.expect(o.outOfQuota, unittest.equals(42.0)); |
| 2190 unittest.expect(o.pixelMatchRequests, unittest.equals(42.0)); | 2190 unittest.expect(o.pixelMatchRequests, unittest.equals(42.0)); |
| 2191 unittest.expect(o.pixelMatchResponses, unittest.equals(42.0)); | 2191 unittest.expect(o.pixelMatchResponses, unittest.equals(42.0)); |
| 2192 unittest.expect(o.quotaConfiguredLimit, unittest.equals(42.0)); | 2192 unittest.expect(o.quotaConfiguredLimit, unittest.equals(42.0)); |
| 2193 unittest.expect(o.quotaThrottledLimit, unittest.equals(42.0)); | 2193 unittest.expect(o.quotaThrottledLimit, unittest.equals(42.0)); |
| 2194 unittest.expect(o.region, unittest.equals('foo')); | 2194 unittest.expect(o.region, unittest.equals('foo')); |
| 2195 unittest.expect(o.successfulRequestRate, unittest.equals(42.0)); | 2195 unittest.expect(o.successfulRequestRate, unittest.equals(42.0)); |
| 2196 unittest.expect(o.timestamp, unittest.equals('foo')); | 2196 unittest.expect(o.timestamp, unittest.equals('foo')); |
| 2197 unittest.expect(o.unsuccessfulRequestRate, unittest.equals(42.0)); | 2197 unittest.expect(o.unsuccessfulRequestRate, unittest.equals(42.0)); |
| 2198 } | 2198 } |
| 2199 buildCounterPerformanceReport--; | 2199 buildCounterPerformanceReport--; |
| 2200 } | 2200 } |
| 2201 | 2201 |
| 2202 buildUnnamed1730() { | 2202 buildUnnamed1834() { |
| 2203 var o = new core.List<api.PerformanceReport>(); | 2203 var o = new core.List<api.PerformanceReport>(); |
| 2204 o.add(buildPerformanceReport()); | 2204 o.add(buildPerformanceReport()); |
| 2205 o.add(buildPerformanceReport()); | 2205 o.add(buildPerformanceReport()); |
| 2206 return o; | 2206 return o; |
| 2207 } | 2207 } |
| 2208 | 2208 |
| 2209 checkUnnamed1730(core.List<api.PerformanceReport> o) { | 2209 checkUnnamed1834(core.List<api.PerformanceReport> o) { |
| 2210 unittest.expect(o, unittest.hasLength(2)); | 2210 unittest.expect(o, unittest.hasLength(2)); |
| 2211 checkPerformanceReport(o[0]); | 2211 checkPerformanceReport(o[0]); |
| 2212 checkPerformanceReport(o[1]); | 2212 checkPerformanceReport(o[1]); |
| 2213 } | 2213 } |
| 2214 | 2214 |
| 2215 core.int buildCounterPerformanceReportList = 0; | 2215 core.int buildCounterPerformanceReportList = 0; |
| 2216 buildPerformanceReportList() { | 2216 buildPerformanceReportList() { |
| 2217 var o = new api.PerformanceReportList(); | 2217 var o = new api.PerformanceReportList(); |
| 2218 buildCounterPerformanceReportList++; | 2218 buildCounterPerformanceReportList++; |
| 2219 if (buildCounterPerformanceReportList < 3) { | 2219 if (buildCounterPerformanceReportList < 3) { |
| 2220 o.kind = "foo"; | 2220 o.kind = "foo"; |
| 2221 o.performanceReport = buildUnnamed1730(); | 2221 o.performanceReport = buildUnnamed1834(); |
| 2222 } | 2222 } |
| 2223 buildCounterPerformanceReportList--; | 2223 buildCounterPerformanceReportList--; |
| 2224 return o; | 2224 return o; |
| 2225 } | 2225 } |
| 2226 | 2226 |
| 2227 checkPerformanceReportList(api.PerformanceReportList o) { | 2227 checkPerformanceReportList(api.PerformanceReportList o) { |
| 2228 buildCounterPerformanceReportList++; | 2228 buildCounterPerformanceReportList++; |
| 2229 if (buildCounterPerformanceReportList < 3) { | 2229 if (buildCounterPerformanceReportList < 3) { |
| 2230 unittest.expect(o.kind, unittest.equals('foo')); | 2230 unittest.expect(o.kind, unittest.equals('foo')); |
| 2231 checkUnnamed1730(o.performanceReport); | 2231 checkUnnamed1834(o.performanceReport); |
| 2232 } | 2232 } |
| 2233 buildCounterPerformanceReportList--; | 2233 buildCounterPerformanceReportList--; |
| 2234 } | 2234 } |
| 2235 | 2235 |
| 2236 buildUnnamed1731() { | 2236 buildUnnamed1835() { |
| 2237 var o = new core.List<core.String>(); | 2237 var o = new core.List<core.String>(); |
| 2238 o.add("foo"); | 2238 o.add("foo"); |
| 2239 o.add("foo"); | 2239 o.add("foo"); |
| 2240 return o; | 2240 return o; |
| 2241 } | 2241 } |
| 2242 | 2242 |
| 2243 checkUnnamed1731(core.List<core.String> o) { | 2243 checkUnnamed1835(core.List<core.String> o) { |
| 2244 unittest.expect(o, unittest.hasLength(2)); | 2244 unittest.expect(o, unittest.hasLength(2)); |
| 2245 unittest.expect(o[0], unittest.equals('foo')); | 2245 unittest.expect(o[0], unittest.equals('foo')); |
| 2246 unittest.expect(o[1], unittest.equals('foo')); | 2246 unittest.expect(o[1], unittest.equals('foo')); |
| 2247 } | 2247 } |
| 2248 | 2248 |
| 2249 core.int buildCounterPretargetingConfigDimensions = 0; | 2249 core.int buildCounterPretargetingConfigDimensions = 0; |
| 2250 buildPretargetingConfigDimensions() { | 2250 buildPretargetingConfigDimensions() { |
| 2251 var o = new api.PretargetingConfigDimensions(); | 2251 var o = new api.PretargetingConfigDimensions(); |
| 2252 buildCounterPretargetingConfigDimensions++; | 2252 buildCounterPretargetingConfigDimensions++; |
| 2253 if (buildCounterPretargetingConfigDimensions < 3) { | 2253 if (buildCounterPretargetingConfigDimensions < 3) { |
| 2254 o.height = "foo"; | 2254 o.height = "foo"; |
| 2255 o.width = "foo"; | 2255 o.width = "foo"; |
| 2256 } | 2256 } |
| 2257 buildCounterPretargetingConfigDimensions--; | 2257 buildCounterPretargetingConfigDimensions--; |
| 2258 return o; | 2258 return o; |
| 2259 } | 2259 } |
| 2260 | 2260 |
| 2261 checkPretargetingConfigDimensions(api.PretargetingConfigDimensions o) { | 2261 checkPretargetingConfigDimensions(api.PretargetingConfigDimensions o) { |
| 2262 buildCounterPretargetingConfigDimensions++; | 2262 buildCounterPretargetingConfigDimensions++; |
| 2263 if (buildCounterPretargetingConfigDimensions < 3) { | 2263 if (buildCounterPretargetingConfigDimensions < 3) { |
| 2264 unittest.expect(o.height, unittest.equals('foo')); | 2264 unittest.expect(o.height, unittest.equals('foo')); |
| 2265 unittest.expect(o.width, unittest.equals('foo')); | 2265 unittest.expect(o.width, unittest.equals('foo')); |
| 2266 } | 2266 } |
| 2267 buildCounterPretargetingConfigDimensions--; | 2267 buildCounterPretargetingConfigDimensions--; |
| 2268 } | 2268 } |
| 2269 | 2269 |
| 2270 buildUnnamed1732() { | 2270 buildUnnamed1836() { |
| 2271 var o = new core.List<api.PretargetingConfigDimensions>(); | 2271 var o = new core.List<api.PretargetingConfigDimensions>(); |
| 2272 o.add(buildPretargetingConfigDimensions()); | 2272 o.add(buildPretargetingConfigDimensions()); |
| 2273 o.add(buildPretargetingConfigDimensions()); | 2273 o.add(buildPretargetingConfigDimensions()); |
| 2274 return o; | 2274 return o; |
| 2275 } | 2275 } |
| 2276 | 2276 |
| 2277 checkUnnamed1732(core.List<api.PretargetingConfigDimensions> o) { | 2277 checkUnnamed1836(core.List<api.PretargetingConfigDimensions> o) { |
| 2278 unittest.expect(o, unittest.hasLength(2)); | 2278 unittest.expect(o, unittest.hasLength(2)); |
| 2279 checkPretargetingConfigDimensions(o[0]); | 2279 checkPretargetingConfigDimensions(o[0]); |
| 2280 checkPretargetingConfigDimensions(o[1]); | 2280 checkPretargetingConfigDimensions(o[1]); |
| 2281 } | 2281 } |
| 2282 | 2282 |
| 2283 buildUnnamed1733() { | 2283 buildUnnamed1837() { |
| 2284 var o = new core.List<core.String>(); | 2284 var o = new core.List<core.String>(); |
| 2285 o.add("foo"); | 2285 o.add("foo"); |
| 2286 o.add("foo"); | 2286 o.add("foo"); |
| 2287 return o; | 2287 return o; |
| 2288 } | 2288 } |
| 2289 | 2289 |
| 2290 checkUnnamed1733(core.List<core.String> o) { | 2290 checkUnnamed1837(core.List<core.String> o) { |
| 2291 unittest.expect(o, unittest.hasLength(2)); | 2291 unittest.expect(o, unittest.hasLength(2)); |
| 2292 unittest.expect(o[0], unittest.equals('foo')); | 2292 unittest.expect(o[0], unittest.equals('foo')); |
| 2293 unittest.expect(o[1], unittest.equals('foo')); | 2293 unittest.expect(o[1], unittest.equals('foo')); |
| 2294 } | 2294 } |
| 2295 | 2295 |
| 2296 buildUnnamed1734() { | 2296 buildUnnamed1838() { |
| 2297 var o = new core.List<core.String>(); | 2297 var o = new core.List<core.String>(); |
| 2298 o.add("foo"); | 2298 o.add("foo"); |
| 2299 o.add("foo"); | 2299 o.add("foo"); |
| 2300 return o; | 2300 return o; |
| 2301 } | 2301 } |
| 2302 | 2302 |
| 2303 checkUnnamed1734(core.List<core.String> o) { | 2303 checkUnnamed1838(core.List<core.String> o) { |
| 2304 unittest.expect(o, unittest.hasLength(2)); | 2304 unittest.expect(o, unittest.hasLength(2)); |
| 2305 unittest.expect(o[0], unittest.equals('foo')); | 2305 unittest.expect(o[0], unittest.equals('foo')); |
| 2306 unittest.expect(o[1], unittest.equals('foo')); | 2306 unittest.expect(o[1], unittest.equals('foo')); |
| 2307 } | 2307 } |
| 2308 | 2308 |
| 2309 core.int buildCounterPretargetingConfigExcludedPlacements = 0; | 2309 core.int buildCounterPretargetingConfigExcludedPlacements = 0; |
| 2310 buildPretargetingConfigExcludedPlacements() { | 2310 buildPretargetingConfigExcludedPlacements() { |
| 2311 var o = new api.PretargetingConfigExcludedPlacements(); | 2311 var o = new api.PretargetingConfigExcludedPlacements(); |
| 2312 buildCounterPretargetingConfigExcludedPlacements++; | 2312 buildCounterPretargetingConfigExcludedPlacements++; |
| 2313 if (buildCounterPretargetingConfigExcludedPlacements < 3) { | 2313 if (buildCounterPretargetingConfigExcludedPlacements < 3) { |
| 2314 o.token = "foo"; | 2314 o.token = "foo"; |
| 2315 o.type = "foo"; | 2315 o.type = "foo"; |
| 2316 } | 2316 } |
| 2317 buildCounterPretargetingConfigExcludedPlacements--; | 2317 buildCounterPretargetingConfigExcludedPlacements--; |
| 2318 return o; | 2318 return o; |
| 2319 } | 2319 } |
| 2320 | 2320 |
| 2321 checkPretargetingConfigExcludedPlacements(api.PretargetingConfigExcludedPlacemen
ts o) { | 2321 checkPretargetingConfigExcludedPlacements(api.PretargetingConfigExcludedPlacemen
ts o) { |
| 2322 buildCounterPretargetingConfigExcludedPlacements++; | 2322 buildCounterPretargetingConfigExcludedPlacements++; |
| 2323 if (buildCounterPretargetingConfigExcludedPlacements < 3) { | 2323 if (buildCounterPretargetingConfigExcludedPlacements < 3) { |
| 2324 unittest.expect(o.token, unittest.equals('foo')); | 2324 unittest.expect(o.token, unittest.equals('foo')); |
| 2325 unittest.expect(o.type, unittest.equals('foo')); | 2325 unittest.expect(o.type, unittest.equals('foo')); |
| 2326 } | 2326 } |
| 2327 buildCounterPretargetingConfigExcludedPlacements--; | 2327 buildCounterPretargetingConfigExcludedPlacements--; |
| 2328 } | 2328 } |
| 2329 | 2329 |
| 2330 buildUnnamed1735() { | 2330 buildUnnamed1839() { |
| 2331 var o = new core.List<api.PretargetingConfigExcludedPlacements>(); | 2331 var o = new core.List<api.PretargetingConfigExcludedPlacements>(); |
| 2332 o.add(buildPretargetingConfigExcludedPlacements()); | 2332 o.add(buildPretargetingConfigExcludedPlacements()); |
| 2333 o.add(buildPretargetingConfigExcludedPlacements()); | 2333 o.add(buildPretargetingConfigExcludedPlacements()); |
| 2334 return o; | 2334 return o; |
| 2335 } | 2335 } |
| 2336 | 2336 |
| 2337 checkUnnamed1735(core.List<api.PretargetingConfigExcludedPlacements> o) { | 2337 checkUnnamed1839(core.List<api.PretargetingConfigExcludedPlacements> o) { |
| 2338 unittest.expect(o, unittest.hasLength(2)); | 2338 unittest.expect(o, unittest.hasLength(2)); |
| 2339 checkPretargetingConfigExcludedPlacements(o[0]); | 2339 checkPretargetingConfigExcludedPlacements(o[0]); |
| 2340 checkPretargetingConfigExcludedPlacements(o[1]); | 2340 checkPretargetingConfigExcludedPlacements(o[1]); |
| 2341 } | 2341 } |
| 2342 | 2342 |
| 2343 buildUnnamed1736() { | 2343 buildUnnamed1840() { |
| 2344 var o = new core.List<core.String>(); | 2344 var o = new core.List<core.String>(); |
| 2345 o.add("foo"); | 2345 o.add("foo"); |
| 2346 o.add("foo"); | 2346 o.add("foo"); |
| 2347 return o; | 2347 return o; |
| 2348 } | 2348 } |
| 2349 | 2349 |
| 2350 checkUnnamed1736(core.List<core.String> o) { | 2350 checkUnnamed1840(core.List<core.String> o) { |
| 2351 unittest.expect(o, unittest.hasLength(2)); | 2351 unittest.expect(o, unittest.hasLength(2)); |
| 2352 unittest.expect(o[0], unittest.equals('foo')); | 2352 unittest.expect(o[0], unittest.equals('foo')); |
| 2353 unittest.expect(o[1], unittest.equals('foo')); | 2353 unittest.expect(o[1], unittest.equals('foo')); |
| 2354 } | 2354 } |
| 2355 | 2355 |
| 2356 buildUnnamed1737() { | 2356 buildUnnamed1841() { |
| 2357 var o = new core.List<core.String>(); | 2357 var o = new core.List<core.String>(); |
| 2358 o.add("foo"); | 2358 o.add("foo"); |
| 2359 o.add("foo"); | 2359 o.add("foo"); |
| 2360 return o; | 2360 return o; |
| 2361 } | 2361 } |
| 2362 | 2362 |
| 2363 checkUnnamed1737(core.List<core.String> o) { | 2363 checkUnnamed1841(core.List<core.String> o) { |
| 2364 unittest.expect(o, unittest.hasLength(2)); | 2364 unittest.expect(o, unittest.hasLength(2)); |
| 2365 unittest.expect(o[0], unittest.equals('foo')); | 2365 unittest.expect(o[0], unittest.equals('foo')); |
| 2366 unittest.expect(o[1], unittest.equals('foo')); | 2366 unittest.expect(o[1], unittest.equals('foo')); |
| 2367 } | 2367 } |
| 2368 | 2368 |
| 2369 buildUnnamed1738() { | 2369 buildUnnamed1842() { |
| 2370 var o = new core.List<core.String>(); | 2370 var o = new core.List<core.String>(); |
| 2371 o.add("foo"); | 2371 o.add("foo"); |
| 2372 o.add("foo"); | 2372 o.add("foo"); |
| 2373 return o; | 2373 return o; |
| 2374 } | 2374 } |
| 2375 | 2375 |
| 2376 checkUnnamed1738(core.List<core.String> o) { | 2376 checkUnnamed1842(core.List<core.String> o) { |
| 2377 unittest.expect(o, unittest.hasLength(2)); | 2377 unittest.expect(o, unittest.hasLength(2)); |
| 2378 unittest.expect(o[0], unittest.equals('foo')); | 2378 unittest.expect(o[0], unittest.equals('foo')); |
| 2379 unittest.expect(o[1], unittest.equals('foo')); | 2379 unittest.expect(o[1], unittest.equals('foo')); |
| 2380 } | 2380 } |
| 2381 | 2381 |
| 2382 buildUnnamed1739() { | 2382 buildUnnamed1843() { |
| 2383 var o = new core.List<core.String>(); | 2383 var o = new core.List<core.String>(); |
| 2384 o.add("foo"); | 2384 o.add("foo"); |
| 2385 o.add("foo"); | 2385 o.add("foo"); |
| 2386 return o; | 2386 return o; |
| 2387 } | 2387 } |
| 2388 | 2388 |
| 2389 checkUnnamed1739(core.List<core.String> o) { | 2389 checkUnnamed1843(core.List<core.String> o) { |
| 2390 unittest.expect(o, unittest.hasLength(2)); | 2390 unittest.expect(o, unittest.hasLength(2)); |
| 2391 unittest.expect(o[0], unittest.equals('foo')); | 2391 unittest.expect(o[0], unittest.equals('foo')); |
| 2392 unittest.expect(o[1], unittest.equals('foo')); | 2392 unittest.expect(o[1], unittest.equals('foo')); |
| 2393 } | 2393 } |
| 2394 | 2394 |
| 2395 buildUnnamed1740() { | 2395 buildUnnamed1844() { |
| 2396 var o = new core.List<core.String>(); | 2396 var o = new core.List<core.String>(); |
| 2397 o.add("foo"); | 2397 o.add("foo"); |
| 2398 o.add("foo"); | 2398 o.add("foo"); |
| 2399 return o; | 2399 return o; |
| 2400 } | 2400 } |
| 2401 | 2401 |
| 2402 checkUnnamed1740(core.List<core.String> o) { | 2402 checkUnnamed1844(core.List<core.String> o) { |
| 2403 unittest.expect(o, unittest.hasLength(2)); | 2403 unittest.expect(o, unittest.hasLength(2)); |
| 2404 unittest.expect(o[0], unittest.equals('foo')); | 2404 unittest.expect(o[0], unittest.equals('foo')); |
| 2405 unittest.expect(o[1], unittest.equals('foo')); | 2405 unittest.expect(o[1], unittest.equals('foo')); |
| 2406 } | 2406 } |
| 2407 | 2407 |
| 2408 buildUnnamed1741() { | 2408 buildUnnamed1845() { |
| 2409 var o = new core.List<core.String>(); | 2409 var o = new core.List<core.String>(); |
| 2410 o.add("foo"); | 2410 o.add("foo"); |
| 2411 o.add("foo"); | 2411 o.add("foo"); |
| 2412 return o; | 2412 return o; |
| 2413 } | 2413 } |
| 2414 | 2414 |
| 2415 checkUnnamed1741(core.List<core.String> o) { | 2415 checkUnnamed1845(core.List<core.String> o) { |
| 2416 unittest.expect(o, unittest.hasLength(2)); | 2416 unittest.expect(o, unittest.hasLength(2)); |
| 2417 unittest.expect(o[0], unittest.equals('foo')); | 2417 unittest.expect(o[0], unittest.equals('foo')); |
| 2418 unittest.expect(o[1], unittest.equals('foo')); | 2418 unittest.expect(o[1], unittest.equals('foo')); |
| 2419 } | 2419 } |
| 2420 | 2420 |
| 2421 buildUnnamed1742() { | 2421 buildUnnamed1846() { |
| 2422 var o = new core.List<core.String>(); | 2422 var o = new core.List<core.String>(); |
| 2423 o.add("foo"); | 2423 o.add("foo"); |
| 2424 o.add("foo"); | 2424 o.add("foo"); |
| 2425 return o; | 2425 return o; |
| 2426 } | 2426 } |
| 2427 | 2427 |
| 2428 checkUnnamed1742(core.List<core.String> o) { | 2428 checkUnnamed1846(core.List<core.String> o) { |
| 2429 unittest.expect(o, unittest.hasLength(2)); | 2429 unittest.expect(o, unittest.hasLength(2)); |
| 2430 unittest.expect(o[0], unittest.equals('foo')); | 2430 unittest.expect(o[0], unittest.equals('foo')); |
| 2431 unittest.expect(o[1], unittest.equals('foo')); | 2431 unittest.expect(o[1], unittest.equals('foo')); |
| 2432 } | 2432 } |
| 2433 | 2433 |
| 2434 core.int buildCounterPretargetingConfigPlacements = 0; | 2434 core.int buildCounterPretargetingConfigPlacements = 0; |
| 2435 buildPretargetingConfigPlacements() { | 2435 buildPretargetingConfigPlacements() { |
| 2436 var o = new api.PretargetingConfigPlacements(); | 2436 var o = new api.PretargetingConfigPlacements(); |
| 2437 buildCounterPretargetingConfigPlacements++; | 2437 buildCounterPretargetingConfigPlacements++; |
| 2438 if (buildCounterPretargetingConfigPlacements < 3) { | 2438 if (buildCounterPretargetingConfigPlacements < 3) { |
| 2439 o.token = "foo"; | 2439 o.token = "foo"; |
| 2440 o.type = "foo"; | 2440 o.type = "foo"; |
| 2441 } | 2441 } |
| 2442 buildCounterPretargetingConfigPlacements--; | 2442 buildCounterPretargetingConfigPlacements--; |
| 2443 return o; | 2443 return o; |
| 2444 } | 2444 } |
| 2445 | 2445 |
| 2446 checkPretargetingConfigPlacements(api.PretargetingConfigPlacements o) { | 2446 checkPretargetingConfigPlacements(api.PretargetingConfigPlacements o) { |
| 2447 buildCounterPretargetingConfigPlacements++; | 2447 buildCounterPretargetingConfigPlacements++; |
| 2448 if (buildCounterPretargetingConfigPlacements < 3) { | 2448 if (buildCounterPretargetingConfigPlacements < 3) { |
| 2449 unittest.expect(o.token, unittest.equals('foo')); | 2449 unittest.expect(o.token, unittest.equals('foo')); |
| 2450 unittest.expect(o.type, unittest.equals('foo')); | 2450 unittest.expect(o.type, unittest.equals('foo')); |
| 2451 } | 2451 } |
| 2452 buildCounterPretargetingConfigPlacements--; | 2452 buildCounterPretargetingConfigPlacements--; |
| 2453 } | 2453 } |
| 2454 | 2454 |
| 2455 buildUnnamed1743() { | 2455 buildUnnamed1847() { |
| 2456 var o = new core.List<api.PretargetingConfigPlacements>(); | 2456 var o = new core.List<api.PretargetingConfigPlacements>(); |
| 2457 o.add(buildPretargetingConfigPlacements()); | 2457 o.add(buildPretargetingConfigPlacements()); |
| 2458 o.add(buildPretargetingConfigPlacements()); | 2458 o.add(buildPretargetingConfigPlacements()); |
| 2459 return o; | 2459 return o; |
| 2460 } | 2460 } |
| 2461 | 2461 |
| 2462 checkUnnamed1743(core.List<api.PretargetingConfigPlacements> o) { | 2462 checkUnnamed1847(core.List<api.PretargetingConfigPlacements> o) { |
| 2463 unittest.expect(o, unittest.hasLength(2)); | 2463 unittest.expect(o, unittest.hasLength(2)); |
| 2464 checkPretargetingConfigPlacements(o[0]); | 2464 checkPretargetingConfigPlacements(o[0]); |
| 2465 checkPretargetingConfigPlacements(o[1]); | 2465 checkPretargetingConfigPlacements(o[1]); |
| 2466 } | 2466 } |
| 2467 | 2467 |
| 2468 buildUnnamed1744() { | 2468 buildUnnamed1848() { |
| 2469 var o = new core.List<core.String>(); | 2469 var o = new core.List<core.String>(); |
| 2470 o.add("foo"); | 2470 o.add("foo"); |
| 2471 o.add("foo"); | 2471 o.add("foo"); |
| 2472 return o; | 2472 return o; |
| 2473 } | 2473 } |
| 2474 | 2474 |
| 2475 checkUnnamed1744(core.List<core.String> o) { | 2475 checkUnnamed1848(core.List<core.String> o) { |
| 2476 unittest.expect(o, unittest.hasLength(2)); | 2476 unittest.expect(o, unittest.hasLength(2)); |
| 2477 unittest.expect(o[0], unittest.equals('foo')); | 2477 unittest.expect(o[0], unittest.equals('foo')); |
| 2478 unittest.expect(o[1], unittest.equals('foo')); | 2478 unittest.expect(o[1], unittest.equals('foo')); |
| 2479 } | 2479 } |
| 2480 | 2480 |
| 2481 buildUnnamed1745() { | 2481 buildUnnamed1849() { |
| 2482 var o = new core.List<core.String>(); | 2482 var o = new core.List<core.String>(); |
| 2483 o.add("foo"); | 2483 o.add("foo"); |
| 2484 o.add("foo"); | 2484 o.add("foo"); |
| 2485 return o; | 2485 return o; |
| 2486 } | 2486 } |
| 2487 | 2487 |
| 2488 checkUnnamed1745(core.List<core.String> o) { | 2488 checkUnnamed1849(core.List<core.String> o) { |
| 2489 unittest.expect(o, unittest.hasLength(2)); | 2489 unittest.expect(o, unittest.hasLength(2)); |
| 2490 unittest.expect(o[0], unittest.equals('foo')); | 2490 unittest.expect(o[0], unittest.equals('foo')); |
| 2491 unittest.expect(o[1], unittest.equals('foo')); | 2491 unittest.expect(o[1], unittest.equals('foo')); |
| 2492 } | 2492 } |
| 2493 | 2493 |
| 2494 buildUnnamed1746() { | 2494 buildUnnamed1850() { |
| 2495 var o = new core.List<core.String>(); | 2495 var o = new core.List<core.String>(); |
| 2496 o.add("foo"); | 2496 o.add("foo"); |
| 2497 o.add("foo"); | 2497 o.add("foo"); |
| 2498 return o; | 2498 return o; |
| 2499 } | 2499 } |
| 2500 | 2500 |
| 2501 checkUnnamed1746(core.List<core.String> o) { | 2501 checkUnnamed1850(core.List<core.String> o) { |
| 2502 unittest.expect(o, unittest.hasLength(2)); | 2502 unittest.expect(o, unittest.hasLength(2)); |
| 2503 unittest.expect(o[0], unittest.equals('foo')); | 2503 unittest.expect(o[0], unittest.equals('foo')); |
| 2504 unittest.expect(o[1], unittest.equals('foo')); | 2504 unittest.expect(o[1], unittest.equals('foo')); |
| 2505 } | 2505 } |
| 2506 | 2506 |
| 2507 buildUnnamed1747() { | 2507 buildUnnamed1851() { |
| 2508 var o = new core.List<core.String>(); | 2508 var o = new core.List<core.String>(); |
| 2509 o.add("foo"); | 2509 o.add("foo"); |
| 2510 o.add("foo"); | 2510 o.add("foo"); |
| 2511 return o; | 2511 return o; |
| 2512 } | 2512 } |
| 2513 | 2513 |
| 2514 checkUnnamed1747(core.List<core.String> o) { | 2514 checkUnnamed1851(core.List<core.String> o) { |
| 2515 unittest.expect(o, unittest.hasLength(2)); | 2515 unittest.expect(o, unittest.hasLength(2)); |
| 2516 unittest.expect(o[0], unittest.equals('foo')); | 2516 unittest.expect(o[0], unittest.equals('foo')); |
| 2517 unittest.expect(o[1], unittest.equals('foo')); | 2517 unittest.expect(o[1], unittest.equals('foo')); |
| 2518 } | 2518 } |
| 2519 | 2519 |
| 2520 buildUnnamed1748() { | 2520 buildUnnamed1852() { |
| 2521 var o = new core.List<core.String>(); | 2521 var o = new core.List<core.String>(); |
| 2522 o.add("foo"); | 2522 o.add("foo"); |
| 2523 o.add("foo"); | 2523 o.add("foo"); |
| 2524 return o; | 2524 return o; |
| 2525 } | 2525 } |
| 2526 | 2526 |
| 2527 checkUnnamed1748(core.List<core.String> o) { | 2527 checkUnnamed1852(core.List<core.String> o) { |
| 2528 unittest.expect(o, unittest.hasLength(2)); | 2528 unittest.expect(o, unittest.hasLength(2)); |
| 2529 unittest.expect(o[0], unittest.equals('foo')); | 2529 unittest.expect(o[0], unittest.equals('foo')); |
| 2530 unittest.expect(o[1], unittest.equals('foo')); | 2530 unittest.expect(o[1], unittest.equals('foo')); |
| 2531 } | 2531 } |
| 2532 | 2532 |
| 2533 buildUnnamed1749() { | 2533 buildUnnamed1853() { |
| 2534 var o = new core.List<core.String>(); | 2534 var o = new core.List<core.String>(); |
| 2535 o.add("foo"); | 2535 o.add("foo"); |
| 2536 o.add("foo"); | 2536 o.add("foo"); |
| 2537 return o; | 2537 return o; |
| 2538 } | 2538 } |
| 2539 | 2539 |
| 2540 checkUnnamed1749(core.List<core.String> o) { | 2540 checkUnnamed1853(core.List<core.String> o) { |
| 2541 unittest.expect(o, unittest.hasLength(2)); | 2541 unittest.expect(o, unittest.hasLength(2)); |
| 2542 unittest.expect(o[0], unittest.equals('foo')); | 2542 unittest.expect(o[0], unittest.equals('foo')); |
| 2543 unittest.expect(o[1], unittest.equals('foo')); | 2543 unittest.expect(o[1], unittest.equals('foo')); |
| 2544 } | 2544 } |
| 2545 | 2545 |
| 2546 core.int buildCounterPretargetingConfigVideoPlayerSizes = 0; | 2546 core.int buildCounterPretargetingConfigVideoPlayerSizes = 0; |
| 2547 buildPretargetingConfigVideoPlayerSizes() { | 2547 buildPretargetingConfigVideoPlayerSizes() { |
| 2548 var o = new api.PretargetingConfigVideoPlayerSizes(); | 2548 var o = new api.PretargetingConfigVideoPlayerSizes(); |
| 2549 buildCounterPretargetingConfigVideoPlayerSizes++; | 2549 buildCounterPretargetingConfigVideoPlayerSizes++; |
| 2550 if (buildCounterPretargetingConfigVideoPlayerSizes < 3) { | 2550 if (buildCounterPretargetingConfigVideoPlayerSizes < 3) { |
| 2551 o.aspectRatio = "foo"; | 2551 o.aspectRatio = "foo"; |
| 2552 o.minHeight = "foo"; | 2552 o.minHeight = "foo"; |
| 2553 o.minWidth = "foo"; | 2553 o.minWidth = "foo"; |
| 2554 } | 2554 } |
| 2555 buildCounterPretargetingConfigVideoPlayerSizes--; | 2555 buildCounterPretargetingConfigVideoPlayerSizes--; |
| 2556 return o; | 2556 return o; |
| 2557 } | 2557 } |
| 2558 | 2558 |
| 2559 checkPretargetingConfigVideoPlayerSizes(api.PretargetingConfigVideoPlayerSizes o
) { | 2559 checkPretargetingConfigVideoPlayerSizes(api.PretargetingConfigVideoPlayerSizes o
) { |
| 2560 buildCounterPretargetingConfigVideoPlayerSizes++; | 2560 buildCounterPretargetingConfigVideoPlayerSizes++; |
| 2561 if (buildCounterPretargetingConfigVideoPlayerSizes < 3) { | 2561 if (buildCounterPretargetingConfigVideoPlayerSizes < 3) { |
| 2562 unittest.expect(o.aspectRatio, unittest.equals('foo')); | 2562 unittest.expect(o.aspectRatio, unittest.equals('foo')); |
| 2563 unittest.expect(o.minHeight, unittest.equals('foo')); | 2563 unittest.expect(o.minHeight, unittest.equals('foo')); |
| 2564 unittest.expect(o.minWidth, unittest.equals('foo')); | 2564 unittest.expect(o.minWidth, unittest.equals('foo')); |
| 2565 } | 2565 } |
| 2566 buildCounterPretargetingConfigVideoPlayerSizes--; | 2566 buildCounterPretargetingConfigVideoPlayerSizes--; |
| 2567 } | 2567 } |
| 2568 | 2568 |
| 2569 buildUnnamed1750() { | 2569 buildUnnamed1854() { |
| 2570 var o = new core.List<api.PretargetingConfigVideoPlayerSizes>(); | 2570 var o = new core.List<api.PretargetingConfigVideoPlayerSizes>(); |
| 2571 o.add(buildPretargetingConfigVideoPlayerSizes()); | 2571 o.add(buildPretargetingConfigVideoPlayerSizes()); |
| 2572 o.add(buildPretargetingConfigVideoPlayerSizes()); | 2572 o.add(buildPretargetingConfigVideoPlayerSizes()); |
| 2573 return o; | 2573 return o; |
| 2574 } | 2574 } |
| 2575 | 2575 |
| 2576 checkUnnamed1750(core.List<api.PretargetingConfigVideoPlayerSizes> o) { | 2576 checkUnnamed1854(core.List<api.PretargetingConfigVideoPlayerSizes> o) { |
| 2577 unittest.expect(o, unittest.hasLength(2)); | 2577 unittest.expect(o, unittest.hasLength(2)); |
| 2578 checkPretargetingConfigVideoPlayerSizes(o[0]); | 2578 checkPretargetingConfigVideoPlayerSizes(o[0]); |
| 2579 checkPretargetingConfigVideoPlayerSizes(o[1]); | 2579 checkPretargetingConfigVideoPlayerSizes(o[1]); |
| 2580 } | 2580 } |
| 2581 | 2581 |
| 2582 core.int buildCounterPretargetingConfig = 0; | 2582 core.int buildCounterPretargetingConfig = 0; |
| 2583 buildPretargetingConfig() { | 2583 buildPretargetingConfig() { |
| 2584 var o = new api.PretargetingConfig(); | 2584 var o = new api.PretargetingConfig(); |
| 2585 buildCounterPretargetingConfig++; | 2585 buildCounterPretargetingConfig++; |
| 2586 if (buildCounterPretargetingConfig < 3) { | 2586 if (buildCounterPretargetingConfig < 3) { |
| 2587 o.billingId = "foo"; | 2587 o.billingId = "foo"; |
| 2588 o.configId = "foo"; | 2588 o.configId = "foo"; |
| 2589 o.configName = "foo"; | 2589 o.configName = "foo"; |
| 2590 o.creativeType = buildUnnamed1731(); | 2590 o.creativeType = buildUnnamed1835(); |
| 2591 o.dimensions = buildUnnamed1732(); | 2591 o.dimensions = buildUnnamed1836(); |
| 2592 o.excludedContentLabels = buildUnnamed1733(); | 2592 o.excludedContentLabels = buildUnnamed1837(); |
| 2593 o.excludedGeoCriteriaIds = buildUnnamed1734(); | 2593 o.excludedGeoCriteriaIds = buildUnnamed1838(); |
| 2594 o.excludedPlacements = buildUnnamed1735(); | 2594 o.excludedPlacements = buildUnnamed1839(); |
| 2595 o.excludedUserLists = buildUnnamed1736(); | 2595 o.excludedUserLists = buildUnnamed1840(); |
| 2596 o.excludedVerticals = buildUnnamed1737(); | 2596 o.excludedVerticals = buildUnnamed1841(); |
| 2597 o.geoCriteriaIds = buildUnnamed1738(); | 2597 o.geoCriteriaIds = buildUnnamed1842(); |
| 2598 o.isActive = true; | 2598 o.isActive = true; |
| 2599 o.kind = "foo"; | 2599 o.kind = "foo"; |
| 2600 o.languages = buildUnnamed1739(); | 2600 o.languages = buildUnnamed1843(); |
| 2601 o.minimumViewabilityDecile = 42; | 2601 o.minimumViewabilityDecile = 42; |
| 2602 o.mobileCarriers = buildUnnamed1740(); | 2602 o.mobileCarriers = buildUnnamed1844(); |
| 2603 o.mobileDevices = buildUnnamed1741(); | 2603 o.mobileDevices = buildUnnamed1845(); |
| 2604 o.mobileOperatingSystemVersions = buildUnnamed1742(); | 2604 o.mobileOperatingSystemVersions = buildUnnamed1846(); |
| 2605 o.placements = buildUnnamed1743(); | 2605 o.placements = buildUnnamed1847(); |
| 2606 o.platforms = buildUnnamed1744(); | 2606 o.platforms = buildUnnamed1848(); |
| 2607 o.supportedCreativeAttributes = buildUnnamed1745(); | 2607 o.supportedCreativeAttributes = buildUnnamed1849(); |
| 2608 o.userIdentifierDataRequired = buildUnnamed1746(); | 2608 o.userIdentifierDataRequired = buildUnnamed1850(); |
| 2609 o.userLists = buildUnnamed1747(); | 2609 o.userLists = buildUnnamed1851(); |
| 2610 o.vendorTypes = buildUnnamed1748(); | 2610 o.vendorTypes = buildUnnamed1852(); |
| 2611 o.verticals = buildUnnamed1749(); | 2611 o.verticals = buildUnnamed1853(); |
| 2612 o.videoPlayerSizes = buildUnnamed1750(); | 2612 o.videoPlayerSizes = buildUnnamed1854(); |
| 2613 } | 2613 } |
| 2614 buildCounterPretargetingConfig--; | 2614 buildCounterPretargetingConfig--; |
| 2615 return o; | 2615 return o; |
| 2616 } | 2616 } |
| 2617 | 2617 |
| 2618 checkPretargetingConfig(api.PretargetingConfig o) { | 2618 checkPretargetingConfig(api.PretargetingConfig o) { |
| 2619 buildCounterPretargetingConfig++; | 2619 buildCounterPretargetingConfig++; |
| 2620 if (buildCounterPretargetingConfig < 3) { | 2620 if (buildCounterPretargetingConfig < 3) { |
| 2621 unittest.expect(o.billingId, unittest.equals('foo')); | 2621 unittest.expect(o.billingId, unittest.equals('foo')); |
| 2622 unittest.expect(o.configId, unittest.equals('foo')); | 2622 unittest.expect(o.configId, unittest.equals('foo')); |
| 2623 unittest.expect(o.configName, unittest.equals('foo')); | 2623 unittest.expect(o.configName, unittest.equals('foo')); |
| 2624 checkUnnamed1731(o.creativeType); | 2624 checkUnnamed1835(o.creativeType); |
| 2625 checkUnnamed1732(o.dimensions); | 2625 checkUnnamed1836(o.dimensions); |
| 2626 checkUnnamed1733(o.excludedContentLabels); | 2626 checkUnnamed1837(o.excludedContentLabels); |
| 2627 checkUnnamed1734(o.excludedGeoCriteriaIds); | 2627 checkUnnamed1838(o.excludedGeoCriteriaIds); |
| 2628 checkUnnamed1735(o.excludedPlacements); | 2628 checkUnnamed1839(o.excludedPlacements); |
| 2629 checkUnnamed1736(o.excludedUserLists); | 2629 checkUnnamed1840(o.excludedUserLists); |
| 2630 checkUnnamed1737(o.excludedVerticals); | 2630 checkUnnamed1841(o.excludedVerticals); |
| 2631 checkUnnamed1738(o.geoCriteriaIds); | 2631 checkUnnamed1842(o.geoCriteriaIds); |
| 2632 unittest.expect(o.isActive, unittest.isTrue); | 2632 unittest.expect(o.isActive, unittest.isTrue); |
| 2633 unittest.expect(o.kind, unittest.equals('foo')); | 2633 unittest.expect(o.kind, unittest.equals('foo')); |
| 2634 checkUnnamed1739(o.languages); | 2634 checkUnnamed1843(o.languages); |
| 2635 unittest.expect(o.minimumViewabilityDecile, unittest.equals(42)); | 2635 unittest.expect(o.minimumViewabilityDecile, unittest.equals(42)); |
| 2636 checkUnnamed1740(o.mobileCarriers); | 2636 checkUnnamed1844(o.mobileCarriers); |
| 2637 checkUnnamed1741(o.mobileDevices); | 2637 checkUnnamed1845(o.mobileDevices); |
| 2638 checkUnnamed1742(o.mobileOperatingSystemVersions); | 2638 checkUnnamed1846(o.mobileOperatingSystemVersions); |
| 2639 checkUnnamed1743(o.placements); | 2639 checkUnnamed1847(o.placements); |
| 2640 checkUnnamed1744(o.platforms); | 2640 checkUnnamed1848(o.platforms); |
| 2641 checkUnnamed1745(o.supportedCreativeAttributes); | 2641 checkUnnamed1849(o.supportedCreativeAttributes); |
| 2642 checkUnnamed1746(o.userIdentifierDataRequired); | 2642 checkUnnamed1850(o.userIdentifierDataRequired); |
| 2643 checkUnnamed1747(o.userLists); | 2643 checkUnnamed1851(o.userLists); |
| 2644 checkUnnamed1748(o.vendorTypes); | 2644 checkUnnamed1852(o.vendorTypes); |
| 2645 checkUnnamed1749(o.verticals); | 2645 checkUnnamed1853(o.verticals); |
| 2646 checkUnnamed1750(o.videoPlayerSizes); | 2646 checkUnnamed1854(o.videoPlayerSizes); |
| 2647 } | 2647 } |
| 2648 buildCounterPretargetingConfig--; | 2648 buildCounterPretargetingConfig--; |
| 2649 } | 2649 } |
| 2650 | 2650 |
| 2651 buildUnnamed1751() { | 2651 buildUnnamed1855() { |
| 2652 var o = new core.List<api.PretargetingConfig>(); | 2652 var o = new core.List<api.PretargetingConfig>(); |
| 2653 o.add(buildPretargetingConfig()); | 2653 o.add(buildPretargetingConfig()); |
| 2654 o.add(buildPretargetingConfig()); | 2654 o.add(buildPretargetingConfig()); |
| 2655 return o; | 2655 return o; |
| 2656 } | 2656 } |
| 2657 | 2657 |
| 2658 checkUnnamed1751(core.List<api.PretargetingConfig> o) { | 2658 checkUnnamed1855(core.List<api.PretargetingConfig> o) { |
| 2659 unittest.expect(o, unittest.hasLength(2)); | 2659 unittest.expect(o, unittest.hasLength(2)); |
| 2660 checkPretargetingConfig(o[0]); | 2660 checkPretargetingConfig(o[0]); |
| 2661 checkPretargetingConfig(o[1]); | 2661 checkPretargetingConfig(o[1]); |
| 2662 } | 2662 } |
| 2663 | 2663 |
| 2664 core.int buildCounterPretargetingConfigList = 0; | 2664 core.int buildCounterPretargetingConfigList = 0; |
| 2665 buildPretargetingConfigList() { | 2665 buildPretargetingConfigList() { |
| 2666 var o = new api.PretargetingConfigList(); | 2666 var o = new api.PretargetingConfigList(); |
| 2667 buildCounterPretargetingConfigList++; | 2667 buildCounterPretargetingConfigList++; |
| 2668 if (buildCounterPretargetingConfigList < 3) { | 2668 if (buildCounterPretargetingConfigList < 3) { |
| 2669 o.items = buildUnnamed1751(); | 2669 o.items = buildUnnamed1855(); |
| 2670 o.kind = "foo"; | 2670 o.kind = "foo"; |
| 2671 } | 2671 } |
| 2672 buildCounterPretargetingConfigList--; | 2672 buildCounterPretargetingConfigList--; |
| 2673 return o; | 2673 return o; |
| 2674 } | 2674 } |
| 2675 | 2675 |
| 2676 checkPretargetingConfigList(api.PretargetingConfigList o) { | 2676 checkPretargetingConfigList(api.PretargetingConfigList o) { |
| 2677 buildCounterPretargetingConfigList++; | 2677 buildCounterPretargetingConfigList++; |
| 2678 if (buildCounterPretargetingConfigList < 3) { | 2678 if (buildCounterPretargetingConfigList < 3) { |
| 2679 checkUnnamed1751(o.items); | 2679 checkUnnamed1855(o.items); |
| 2680 unittest.expect(o.kind, unittest.equals('foo')); | 2680 unittest.expect(o.kind, unittest.equals('foo')); |
| 2681 } | 2681 } |
| 2682 buildCounterPretargetingConfigList--; | 2682 buildCounterPretargetingConfigList--; |
| 2683 } | 2683 } |
| 2684 | 2684 |
| 2685 core.int buildCounterPrice = 0; | 2685 core.int buildCounterPrice = 0; |
| 2686 buildPrice() { | 2686 buildPrice() { |
| 2687 var o = new api.Price(); | 2687 var o = new api.Price(); |
| 2688 buildCounterPrice++; | 2688 buildCounterPrice++; |
| 2689 if (buildCounterPrice < 3) { | 2689 if (buildCounterPrice < 3) { |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2744 | 2744 |
| 2745 checkPrivateData(api.PrivateData o) { | 2745 checkPrivateData(api.PrivateData o) { |
| 2746 buildCounterPrivateData++; | 2746 buildCounterPrivateData++; |
| 2747 if (buildCounterPrivateData < 3) { | 2747 if (buildCounterPrivateData < 3) { |
| 2748 unittest.expect(o.referenceId, unittest.equals('foo')); | 2748 unittest.expect(o.referenceId, unittest.equals('foo')); |
| 2749 unittest.expect(o.referencePayload, unittest.equals('foo')); | 2749 unittest.expect(o.referencePayload, unittest.equals('foo')); |
| 2750 } | 2750 } |
| 2751 buildCounterPrivateData--; | 2751 buildCounterPrivateData--; |
| 2752 } | 2752 } |
| 2753 | 2753 |
| 2754 buildUnnamed1752() { | 2754 buildUnnamed1856() { |
| 2755 var o = new core.List<api.ContactInformation>(); | 2755 var o = new core.List<api.ContactInformation>(); |
| 2756 o.add(buildContactInformation()); | 2756 o.add(buildContactInformation()); |
| 2757 o.add(buildContactInformation()); | 2757 o.add(buildContactInformation()); |
| 2758 return o; | 2758 return o; |
| 2759 } | 2759 } |
| 2760 | 2760 |
| 2761 checkUnnamed1752(core.List<api.ContactInformation> o) { | 2761 checkUnnamed1856(core.List<api.ContactInformation> o) { |
| 2762 unittest.expect(o, unittest.hasLength(2)); | 2762 unittest.expect(o, unittest.hasLength(2)); |
| 2763 checkContactInformation(o[0]); | 2763 checkContactInformation(o[0]); |
| 2764 checkContactInformation(o[1]); | 2764 checkContactInformation(o[1]); |
| 2765 } | 2765 } |
| 2766 | 2766 |
| 2767 buildUnnamed1753() { | 2767 buildUnnamed1857() { |
| 2768 var o = new core.List<api.MarketplaceLabel>(); | 2768 var o = new core.List<api.MarketplaceLabel>(); |
| 2769 o.add(buildMarketplaceLabel()); | 2769 o.add(buildMarketplaceLabel()); |
| 2770 o.add(buildMarketplaceLabel()); | 2770 o.add(buildMarketplaceLabel()); |
| 2771 return o; | 2771 return o; |
| 2772 } | 2772 } |
| 2773 | 2773 |
| 2774 checkUnnamed1753(core.List<api.MarketplaceLabel> o) { | 2774 checkUnnamed1857(core.List<api.MarketplaceLabel> o) { |
| 2775 unittest.expect(o, unittest.hasLength(2)); | 2775 unittest.expect(o, unittest.hasLength(2)); |
| 2776 checkMarketplaceLabel(o[0]); | 2776 checkMarketplaceLabel(o[0]); |
| 2777 checkMarketplaceLabel(o[1]); | 2777 checkMarketplaceLabel(o[1]); |
| 2778 } | 2778 } |
| 2779 | 2779 |
| 2780 buildUnnamed1754() { | 2780 buildUnnamed1858() { |
| 2781 var o = new core.List<api.SharedTargeting>(); | 2781 var o = new core.List<api.SharedTargeting>(); |
| 2782 o.add(buildSharedTargeting()); | 2782 o.add(buildSharedTargeting()); |
| 2783 o.add(buildSharedTargeting()); | 2783 o.add(buildSharedTargeting()); |
| 2784 return o; | 2784 return o; |
| 2785 } | 2785 } |
| 2786 | 2786 |
| 2787 checkUnnamed1754(core.List<api.SharedTargeting> o) { | 2787 checkUnnamed1858(core.List<api.SharedTargeting> o) { |
| 2788 unittest.expect(o, unittest.hasLength(2)); | 2788 unittest.expect(o, unittest.hasLength(2)); |
| 2789 checkSharedTargeting(o[0]); | 2789 checkSharedTargeting(o[0]); |
| 2790 checkSharedTargeting(o[1]); | 2790 checkSharedTargeting(o[1]); |
| 2791 } | 2791 } |
| 2792 | 2792 |
| 2793 core.int buildCounterProduct = 0; | 2793 core.int buildCounterProduct = 0; |
| 2794 buildProduct() { | 2794 buildProduct() { |
| 2795 var o = new api.Product(); | 2795 var o = new api.Product(); |
| 2796 buildCounterProduct++; | 2796 buildCounterProduct++; |
| 2797 if (buildCounterProduct < 3) { | 2797 if (buildCounterProduct < 3) { |
| 2798 o.creationTimeMs = "foo"; | 2798 o.creationTimeMs = "foo"; |
| 2799 o.creatorContacts = buildUnnamed1752(); | 2799 o.creatorContacts = buildUnnamed1856(); |
| 2800 o.deliveryControl = buildDeliveryControl(); | 2800 o.deliveryControl = buildDeliveryControl(); |
| 2801 o.flightEndTimeMs = "foo"; | 2801 o.flightEndTimeMs = "foo"; |
| 2802 o.flightStartTimeMs = "foo"; | 2802 o.flightStartTimeMs = "foo"; |
| 2803 o.hasCreatorSignedOff = true; | 2803 o.hasCreatorSignedOff = true; |
| 2804 o.inventorySource = "foo"; | 2804 o.inventorySource = "foo"; |
| 2805 o.kind = "foo"; | 2805 o.kind = "foo"; |
| 2806 o.labels = buildUnnamed1753(); | 2806 o.labels = buildUnnamed1857(); |
| 2807 o.lastUpdateTimeMs = "foo"; | 2807 o.lastUpdateTimeMs = "foo"; |
| 2808 o.legacyOfferId = "foo"; | 2808 o.legacyOfferId = "foo"; |
| 2809 o.marketplacePublisherProfileId = "foo"; | 2809 o.marketplacePublisherProfileId = "foo"; |
| 2810 o.name = "foo"; | 2810 o.name = "foo"; |
| 2811 o.privateAuctionId = "foo"; | 2811 o.privateAuctionId = "foo"; |
| 2812 o.productId = "foo"; | 2812 o.productId = "foo"; |
| 2813 o.publisherProfileId = "foo"; | 2813 o.publisherProfileId = "foo"; |
| 2814 o.publisherProvidedForecast = buildPublisherProvidedForecast(); | 2814 o.publisherProvidedForecast = buildPublisherProvidedForecast(); |
| 2815 o.revisionNumber = "foo"; | 2815 o.revisionNumber = "foo"; |
| 2816 o.seller = buildSeller(); | 2816 o.seller = buildSeller(); |
| 2817 o.sharedTargetings = buildUnnamed1754(); | 2817 o.sharedTargetings = buildUnnamed1858(); |
| 2818 o.state = "foo"; | 2818 o.state = "foo"; |
| 2819 o.syndicationProduct = "foo"; | 2819 o.syndicationProduct = "foo"; |
| 2820 o.terms = buildDealTerms(); | 2820 o.terms = buildDealTerms(); |
| 2821 o.webPropertyCode = "foo"; | 2821 o.webPropertyCode = "foo"; |
| 2822 } | 2822 } |
| 2823 buildCounterProduct--; | 2823 buildCounterProduct--; |
| 2824 return o; | 2824 return o; |
| 2825 } | 2825 } |
| 2826 | 2826 |
| 2827 checkProduct(api.Product o) { | 2827 checkProduct(api.Product o) { |
| 2828 buildCounterProduct++; | 2828 buildCounterProduct++; |
| 2829 if (buildCounterProduct < 3) { | 2829 if (buildCounterProduct < 3) { |
| 2830 unittest.expect(o.creationTimeMs, unittest.equals('foo')); | 2830 unittest.expect(o.creationTimeMs, unittest.equals('foo')); |
| 2831 checkUnnamed1752(o.creatorContacts); | 2831 checkUnnamed1856(o.creatorContacts); |
| 2832 checkDeliveryControl(o.deliveryControl); | 2832 checkDeliveryControl(o.deliveryControl); |
| 2833 unittest.expect(o.flightEndTimeMs, unittest.equals('foo')); | 2833 unittest.expect(o.flightEndTimeMs, unittest.equals('foo')); |
| 2834 unittest.expect(o.flightStartTimeMs, unittest.equals('foo')); | 2834 unittest.expect(o.flightStartTimeMs, unittest.equals('foo')); |
| 2835 unittest.expect(o.hasCreatorSignedOff, unittest.isTrue); | 2835 unittest.expect(o.hasCreatorSignedOff, unittest.isTrue); |
| 2836 unittest.expect(o.inventorySource, unittest.equals('foo')); | 2836 unittest.expect(o.inventorySource, unittest.equals('foo')); |
| 2837 unittest.expect(o.kind, unittest.equals('foo')); | 2837 unittest.expect(o.kind, unittest.equals('foo')); |
| 2838 checkUnnamed1753(o.labels); | 2838 checkUnnamed1857(o.labels); |
| 2839 unittest.expect(o.lastUpdateTimeMs, unittest.equals('foo')); | 2839 unittest.expect(o.lastUpdateTimeMs, unittest.equals('foo')); |
| 2840 unittest.expect(o.legacyOfferId, unittest.equals('foo')); | 2840 unittest.expect(o.legacyOfferId, unittest.equals('foo')); |
| 2841 unittest.expect(o.marketplacePublisherProfileId, unittest.equals('foo')); | 2841 unittest.expect(o.marketplacePublisherProfileId, unittest.equals('foo')); |
| 2842 unittest.expect(o.name, unittest.equals('foo')); | 2842 unittest.expect(o.name, unittest.equals('foo')); |
| 2843 unittest.expect(o.privateAuctionId, unittest.equals('foo')); | 2843 unittest.expect(o.privateAuctionId, unittest.equals('foo')); |
| 2844 unittest.expect(o.productId, unittest.equals('foo')); | 2844 unittest.expect(o.productId, unittest.equals('foo')); |
| 2845 unittest.expect(o.publisherProfileId, unittest.equals('foo')); | 2845 unittest.expect(o.publisherProfileId, unittest.equals('foo')); |
| 2846 checkPublisherProvidedForecast(o.publisherProvidedForecast); | 2846 checkPublisherProvidedForecast(o.publisherProvidedForecast); |
| 2847 unittest.expect(o.revisionNumber, unittest.equals('foo')); | 2847 unittest.expect(o.revisionNumber, unittest.equals('foo')); |
| 2848 checkSeller(o.seller); | 2848 checkSeller(o.seller); |
| 2849 checkUnnamed1754(o.sharedTargetings); | 2849 checkUnnamed1858(o.sharedTargetings); |
| 2850 unittest.expect(o.state, unittest.equals('foo')); | 2850 unittest.expect(o.state, unittest.equals('foo')); |
| 2851 unittest.expect(o.syndicationProduct, unittest.equals('foo')); | 2851 unittest.expect(o.syndicationProduct, unittest.equals('foo')); |
| 2852 checkDealTerms(o.terms); | 2852 checkDealTerms(o.terms); |
| 2853 unittest.expect(o.webPropertyCode, unittest.equals('foo')); | 2853 unittest.expect(o.webPropertyCode, unittest.equals('foo')); |
| 2854 } | 2854 } |
| 2855 buildCounterProduct--; | 2855 buildCounterProduct--; |
| 2856 } | 2856 } |
| 2857 | 2857 |
| 2858 buildUnnamed1755() { | 2858 buildUnnamed1859() { |
| 2859 var o = new core.List<api.ContactInformation>(); | 2859 var o = new core.List<api.ContactInformation>(); |
| 2860 o.add(buildContactInformation()); | 2860 o.add(buildContactInformation()); |
| 2861 o.add(buildContactInformation()); | 2861 o.add(buildContactInformation()); |
| 2862 return o; | 2862 return o; |
| 2863 } | 2863 } |
| 2864 | 2864 |
| 2865 checkUnnamed1755(core.List<api.ContactInformation> o) { | 2865 checkUnnamed1859(core.List<api.ContactInformation> o) { |
| 2866 unittest.expect(o, unittest.hasLength(2)); | 2866 unittest.expect(o, unittest.hasLength(2)); |
| 2867 checkContactInformation(o[0]); | 2867 checkContactInformation(o[0]); |
| 2868 checkContactInformation(o[1]); | 2868 checkContactInformation(o[1]); |
| 2869 } | 2869 } |
| 2870 | 2870 |
| 2871 buildUnnamed1756() { | 2871 buildUnnamed1860() { |
| 2872 var o = new core.List<core.String>(); | 2872 var o = new core.List<core.String>(); |
| 2873 o.add("foo"); | 2873 o.add("foo"); |
| 2874 o.add("foo"); | 2874 o.add("foo"); |
| 2875 return o; | 2875 return o; |
| 2876 } | 2876 } |
| 2877 | 2877 |
| 2878 checkUnnamed1756(core.List<core.String> o) { | 2878 checkUnnamed1860(core.List<core.String> o) { |
| 2879 unittest.expect(o, unittest.hasLength(2)); | 2879 unittest.expect(o, unittest.hasLength(2)); |
| 2880 unittest.expect(o[0], unittest.equals('foo')); | 2880 unittest.expect(o[0], unittest.equals('foo')); |
| 2881 unittest.expect(o[1], unittest.equals('foo')); | 2881 unittest.expect(o[1], unittest.equals('foo')); |
| 2882 } | 2882 } |
| 2883 | 2883 |
| 2884 buildUnnamed1757() { | 2884 buildUnnamed1861() { |
| 2885 var o = new core.List<api.MarketplaceLabel>(); | 2885 var o = new core.List<api.MarketplaceLabel>(); |
| 2886 o.add(buildMarketplaceLabel()); | 2886 o.add(buildMarketplaceLabel()); |
| 2887 o.add(buildMarketplaceLabel()); | 2887 o.add(buildMarketplaceLabel()); |
| 2888 return o; | 2888 return o; |
| 2889 } | 2889 } |
| 2890 | 2890 |
| 2891 checkUnnamed1757(core.List<api.MarketplaceLabel> o) { | 2891 checkUnnamed1861(core.List<api.MarketplaceLabel> o) { |
| 2892 unittest.expect(o, unittest.hasLength(2)); | 2892 unittest.expect(o, unittest.hasLength(2)); |
| 2893 checkMarketplaceLabel(o[0]); | 2893 checkMarketplaceLabel(o[0]); |
| 2894 checkMarketplaceLabel(o[1]); | 2894 checkMarketplaceLabel(o[1]); |
| 2895 } | 2895 } |
| 2896 | 2896 |
| 2897 buildUnnamed1758() { | 2897 buildUnnamed1862() { |
| 2898 var o = new core.List<api.ContactInformation>(); | 2898 var o = new core.List<api.ContactInformation>(); |
| 2899 o.add(buildContactInformation()); | 2899 o.add(buildContactInformation()); |
| 2900 o.add(buildContactInformation()); | 2900 o.add(buildContactInformation()); |
| 2901 return o; | 2901 return o; |
| 2902 } | 2902 } |
| 2903 | 2903 |
| 2904 checkUnnamed1758(core.List<api.ContactInformation> o) { | 2904 checkUnnamed1862(core.List<api.ContactInformation> o) { |
| 2905 unittest.expect(o, unittest.hasLength(2)); | 2905 unittest.expect(o, unittest.hasLength(2)); |
| 2906 checkContactInformation(o[0]); | 2906 checkContactInformation(o[0]); |
| 2907 checkContactInformation(o[1]); | 2907 checkContactInformation(o[1]); |
| 2908 } | 2908 } |
| 2909 | 2909 |
| 2910 core.int buildCounterProposal = 0; | 2910 core.int buildCounterProposal = 0; |
| 2911 buildProposal() { | 2911 buildProposal() { |
| 2912 var o = new api.Proposal(); | 2912 var o = new api.Proposal(); |
| 2913 buildCounterProposal++; | 2913 buildCounterProposal++; |
| 2914 if (buildCounterProposal < 3) { | 2914 if (buildCounterProposal < 3) { |
| 2915 o.billedBuyer = buildBuyer(); | 2915 o.billedBuyer = buildBuyer(); |
| 2916 o.buyer = buildBuyer(); | 2916 o.buyer = buildBuyer(); |
| 2917 o.buyerContacts = buildUnnamed1755(); | 2917 o.buyerContacts = buildUnnamed1859(); |
| 2918 o.buyerPrivateData = buildPrivateData(); | 2918 o.buyerPrivateData = buildPrivateData(); |
| 2919 o.dbmAdvertiserIds = buildUnnamed1756(); | 2919 o.dbmAdvertiserIds = buildUnnamed1860(); |
| 2920 o.hasBuyerSignedOff = true; | 2920 o.hasBuyerSignedOff = true; |
| 2921 o.hasSellerSignedOff = true; | 2921 o.hasSellerSignedOff = true; |
| 2922 o.inventorySource = "foo"; | 2922 o.inventorySource = "foo"; |
| 2923 o.isRenegotiating = true; | 2923 o.isRenegotiating = true; |
| 2924 o.isSetupComplete = true; | 2924 o.isSetupComplete = true; |
| 2925 o.kind = "foo"; | 2925 o.kind = "foo"; |
| 2926 o.labels = buildUnnamed1757(); | 2926 o.labels = buildUnnamed1861(); |
| 2927 o.lastUpdaterOrCommentorRole = "foo"; | 2927 o.lastUpdaterOrCommentorRole = "foo"; |
| 2928 o.name = "foo"; | 2928 o.name = "foo"; |
| 2929 o.negotiationId = "foo"; | 2929 o.negotiationId = "foo"; |
| 2930 o.originatorRole = "foo"; | 2930 o.originatorRole = "foo"; |
| 2931 o.privateAuctionId = "foo"; | 2931 o.privateAuctionId = "foo"; |
| 2932 o.proposalId = "foo"; | 2932 o.proposalId = "foo"; |
| 2933 o.proposalState = "foo"; | 2933 o.proposalState = "foo"; |
| 2934 o.revisionNumber = "foo"; | 2934 o.revisionNumber = "foo"; |
| 2935 o.revisionTimeMs = "foo"; | 2935 o.revisionTimeMs = "foo"; |
| 2936 o.seller = buildSeller(); | 2936 o.seller = buildSeller(); |
| 2937 o.sellerContacts = buildUnnamed1758(); | 2937 o.sellerContacts = buildUnnamed1862(); |
| 2938 } | 2938 } |
| 2939 buildCounterProposal--; | 2939 buildCounterProposal--; |
| 2940 return o; | 2940 return o; |
| 2941 } | 2941 } |
| 2942 | 2942 |
| 2943 checkProposal(api.Proposal o) { | 2943 checkProposal(api.Proposal o) { |
| 2944 buildCounterProposal++; | 2944 buildCounterProposal++; |
| 2945 if (buildCounterProposal < 3) { | 2945 if (buildCounterProposal < 3) { |
| 2946 checkBuyer(o.billedBuyer); | 2946 checkBuyer(o.billedBuyer); |
| 2947 checkBuyer(o.buyer); | 2947 checkBuyer(o.buyer); |
| 2948 checkUnnamed1755(o.buyerContacts); | 2948 checkUnnamed1859(o.buyerContacts); |
| 2949 checkPrivateData(o.buyerPrivateData); | 2949 checkPrivateData(o.buyerPrivateData); |
| 2950 checkUnnamed1756(o.dbmAdvertiserIds); | 2950 checkUnnamed1860(o.dbmAdvertiserIds); |
| 2951 unittest.expect(o.hasBuyerSignedOff, unittest.isTrue); | 2951 unittest.expect(o.hasBuyerSignedOff, unittest.isTrue); |
| 2952 unittest.expect(o.hasSellerSignedOff, unittest.isTrue); | 2952 unittest.expect(o.hasSellerSignedOff, unittest.isTrue); |
| 2953 unittest.expect(o.inventorySource, unittest.equals('foo')); | 2953 unittest.expect(o.inventorySource, unittest.equals('foo')); |
| 2954 unittest.expect(o.isRenegotiating, unittest.isTrue); | 2954 unittest.expect(o.isRenegotiating, unittest.isTrue); |
| 2955 unittest.expect(o.isSetupComplete, unittest.isTrue); | 2955 unittest.expect(o.isSetupComplete, unittest.isTrue); |
| 2956 unittest.expect(o.kind, unittest.equals('foo')); | 2956 unittest.expect(o.kind, unittest.equals('foo')); |
| 2957 checkUnnamed1757(o.labels); | 2957 checkUnnamed1861(o.labels); |
| 2958 unittest.expect(o.lastUpdaterOrCommentorRole, unittest.equals('foo')); | 2958 unittest.expect(o.lastUpdaterOrCommentorRole, unittest.equals('foo')); |
| 2959 unittest.expect(o.name, unittest.equals('foo')); | 2959 unittest.expect(o.name, unittest.equals('foo')); |
| 2960 unittest.expect(o.negotiationId, unittest.equals('foo')); | 2960 unittest.expect(o.negotiationId, unittest.equals('foo')); |
| 2961 unittest.expect(o.originatorRole, unittest.equals('foo')); | 2961 unittest.expect(o.originatorRole, unittest.equals('foo')); |
| 2962 unittest.expect(o.privateAuctionId, unittest.equals('foo')); | 2962 unittest.expect(o.privateAuctionId, unittest.equals('foo')); |
| 2963 unittest.expect(o.proposalId, unittest.equals('foo')); | 2963 unittest.expect(o.proposalId, unittest.equals('foo')); |
| 2964 unittest.expect(o.proposalState, unittest.equals('foo')); | 2964 unittest.expect(o.proposalState, unittest.equals('foo')); |
| 2965 unittest.expect(o.revisionNumber, unittest.equals('foo')); | 2965 unittest.expect(o.revisionNumber, unittest.equals('foo')); |
| 2966 unittest.expect(o.revisionTimeMs, unittest.equals('foo')); | 2966 unittest.expect(o.revisionTimeMs, unittest.equals('foo')); |
| 2967 checkSeller(o.seller); | 2967 checkSeller(o.seller); |
| 2968 checkUnnamed1758(o.sellerContacts); | 2968 checkUnnamed1862(o.sellerContacts); |
| 2969 } | 2969 } |
| 2970 buildCounterProposal--; | 2970 buildCounterProposal--; |
| 2971 } | 2971 } |
| 2972 | 2972 |
| 2973 buildUnnamed1759() { | 2973 buildUnnamed1863() { |
| 2974 var o = new core.List<core.String>(); | 2974 var o = new core.List<core.String>(); |
| 2975 o.add("foo"); | 2975 o.add("foo"); |
| 2976 o.add("foo"); | 2976 o.add("foo"); |
| 2977 return o; | 2977 return o; |
| 2978 } | 2978 } |
| 2979 | 2979 |
| 2980 checkUnnamed1759(core.List<core.String> o) { | 2980 checkUnnamed1863(core.List<core.String> o) { |
| 2981 unittest.expect(o, unittest.hasLength(2)); | 2981 unittest.expect(o, unittest.hasLength(2)); |
| 2982 unittest.expect(o[0], unittest.equals('foo')); | 2982 unittest.expect(o[0], unittest.equals('foo')); |
| 2983 unittest.expect(o[1], unittest.equals('foo')); | 2983 unittest.expect(o[1], unittest.equals('foo')); |
| 2984 } | 2984 } |
| 2985 | 2985 |
| 2986 buildUnnamed1760() { | 2986 buildUnnamed1864() { |
| 2987 var o = new core.List<core.String>(); | 2987 var o = new core.List<core.String>(); |
| 2988 o.add("foo"); | 2988 o.add("foo"); |
| 2989 o.add("foo"); | 2989 o.add("foo"); |
| 2990 return o; | 2990 return o; |
| 2991 } | 2991 } |
| 2992 | 2992 |
| 2993 checkUnnamed1760(core.List<core.String> o) { | 2993 checkUnnamed1864(core.List<core.String> o) { |
| 2994 unittest.expect(o, unittest.hasLength(2)); | 2994 unittest.expect(o, unittest.hasLength(2)); |
| 2995 unittest.expect(o[0], unittest.equals('foo')); | 2995 unittest.expect(o[0], unittest.equals('foo')); |
| 2996 unittest.expect(o[1], unittest.equals('foo')); | 2996 unittest.expect(o[1], unittest.equals('foo')); |
| 2997 } | 2997 } |
| 2998 | 2998 |
| 2999 core.int buildCounterPublisherProfileApiProto = 0; | 2999 core.int buildCounterPublisherProfileApiProto = 0; |
| 3000 buildPublisherProfileApiProto() { | 3000 buildPublisherProfileApiProto() { |
| 3001 var o = new api.PublisherProfileApiProto(); | 3001 var o = new api.PublisherProfileApiProto(); |
| 3002 buildCounterPublisherProfileApiProto++; | 3002 buildCounterPublisherProfileApiProto++; |
| 3003 if (buildCounterPublisherProfileApiProto < 3) { | 3003 if (buildCounterPublisherProfileApiProto < 3) { |
| 3004 o.accountId = "foo"; | 3004 o.accountId = "foo"; |
| 3005 o.audience = "foo"; | 3005 o.audience = "foo"; |
| 3006 o.buyerPitchStatement = "foo"; | 3006 o.buyerPitchStatement = "foo"; |
| 3007 o.directContact = "foo"; | 3007 o.directContact = "foo"; |
| 3008 o.exchange = "foo"; | 3008 o.exchange = "foo"; |
| 3009 o.googlePlusLink = "foo"; | 3009 o.googlePlusLink = "foo"; |
| 3010 o.isParent = true; | 3010 o.isParent = true; |
| 3011 o.isPublished = true; | 3011 o.isPublished = true; |
| 3012 o.kind = "foo"; | 3012 o.kind = "foo"; |
| 3013 o.logoUrl = "foo"; | 3013 o.logoUrl = "foo"; |
| 3014 o.mediaKitLink = "foo"; | 3014 o.mediaKitLink = "foo"; |
| 3015 o.name = "foo"; | 3015 o.name = "foo"; |
| 3016 o.overview = "foo"; | 3016 o.overview = "foo"; |
| 3017 o.profileId = 42; | 3017 o.profileId = 42; |
| 3018 o.programmaticContact = "foo"; | 3018 o.programmaticContact = "foo"; |
| 3019 o.publisherDomains = buildUnnamed1759(); | 3019 o.publisherDomains = buildUnnamed1863(); |
| 3020 o.publisherProfileId = "foo"; | 3020 o.publisherProfileId = "foo"; |
| 3021 o.publisherProvidedForecast = buildPublisherProvidedForecast(); | 3021 o.publisherProvidedForecast = buildPublisherProvidedForecast(); |
| 3022 o.rateCardInfoLink = "foo"; | 3022 o.rateCardInfoLink = "foo"; |
| 3023 o.samplePageLink = "foo"; | 3023 o.samplePageLink = "foo"; |
| 3024 o.seller = buildSeller(); | 3024 o.seller = buildSeller(); |
| 3025 o.state = "foo"; | 3025 o.state = "foo"; |
| 3026 o.topHeadlines = buildUnnamed1760(); | 3026 o.topHeadlines = buildUnnamed1864(); |
| 3027 } | 3027 } |
| 3028 buildCounterPublisherProfileApiProto--; | 3028 buildCounterPublisherProfileApiProto--; |
| 3029 return o; | 3029 return o; |
| 3030 } | 3030 } |
| 3031 | 3031 |
| 3032 checkPublisherProfileApiProto(api.PublisherProfileApiProto o) { | 3032 checkPublisherProfileApiProto(api.PublisherProfileApiProto o) { |
| 3033 buildCounterPublisherProfileApiProto++; | 3033 buildCounterPublisherProfileApiProto++; |
| 3034 if (buildCounterPublisherProfileApiProto < 3) { | 3034 if (buildCounterPublisherProfileApiProto < 3) { |
| 3035 unittest.expect(o.accountId, unittest.equals('foo')); | 3035 unittest.expect(o.accountId, unittest.equals('foo')); |
| 3036 unittest.expect(o.audience, unittest.equals('foo')); | 3036 unittest.expect(o.audience, unittest.equals('foo')); |
| 3037 unittest.expect(o.buyerPitchStatement, unittest.equals('foo')); | 3037 unittest.expect(o.buyerPitchStatement, unittest.equals('foo')); |
| 3038 unittest.expect(o.directContact, unittest.equals('foo')); | 3038 unittest.expect(o.directContact, unittest.equals('foo')); |
| 3039 unittest.expect(o.exchange, unittest.equals('foo')); | 3039 unittest.expect(o.exchange, unittest.equals('foo')); |
| 3040 unittest.expect(o.googlePlusLink, unittest.equals('foo')); | 3040 unittest.expect(o.googlePlusLink, unittest.equals('foo')); |
| 3041 unittest.expect(o.isParent, unittest.isTrue); | 3041 unittest.expect(o.isParent, unittest.isTrue); |
| 3042 unittest.expect(o.isPublished, unittest.isTrue); | 3042 unittest.expect(o.isPublished, unittest.isTrue); |
| 3043 unittest.expect(o.kind, unittest.equals('foo')); | 3043 unittest.expect(o.kind, unittest.equals('foo')); |
| 3044 unittest.expect(o.logoUrl, unittest.equals('foo')); | 3044 unittest.expect(o.logoUrl, unittest.equals('foo')); |
| 3045 unittest.expect(o.mediaKitLink, unittest.equals('foo')); | 3045 unittest.expect(o.mediaKitLink, unittest.equals('foo')); |
| 3046 unittest.expect(o.name, unittest.equals('foo')); | 3046 unittest.expect(o.name, unittest.equals('foo')); |
| 3047 unittest.expect(o.overview, unittest.equals('foo')); | 3047 unittest.expect(o.overview, unittest.equals('foo')); |
| 3048 unittest.expect(o.profileId, unittest.equals(42)); | 3048 unittest.expect(o.profileId, unittest.equals(42)); |
| 3049 unittest.expect(o.programmaticContact, unittest.equals('foo')); | 3049 unittest.expect(o.programmaticContact, unittest.equals('foo')); |
| 3050 checkUnnamed1759(o.publisherDomains); | 3050 checkUnnamed1863(o.publisherDomains); |
| 3051 unittest.expect(o.publisherProfileId, unittest.equals('foo')); | 3051 unittest.expect(o.publisherProfileId, unittest.equals('foo')); |
| 3052 checkPublisherProvidedForecast(o.publisherProvidedForecast); | 3052 checkPublisherProvidedForecast(o.publisherProvidedForecast); |
| 3053 unittest.expect(o.rateCardInfoLink, unittest.equals('foo')); | 3053 unittest.expect(o.rateCardInfoLink, unittest.equals('foo')); |
| 3054 unittest.expect(o.samplePageLink, unittest.equals('foo')); | 3054 unittest.expect(o.samplePageLink, unittest.equals('foo')); |
| 3055 checkSeller(o.seller); | 3055 checkSeller(o.seller); |
| 3056 unittest.expect(o.state, unittest.equals('foo')); | 3056 unittest.expect(o.state, unittest.equals('foo')); |
| 3057 checkUnnamed1760(o.topHeadlines); | 3057 checkUnnamed1864(o.topHeadlines); |
| 3058 } | 3058 } |
| 3059 buildCounterPublisherProfileApiProto--; | 3059 buildCounterPublisherProfileApiProto--; |
| 3060 } | 3060 } |
| 3061 | 3061 |
| 3062 buildUnnamed1761() { | 3062 buildUnnamed1865() { |
| 3063 var o = new core.List<api.Dimension>(); | 3063 var o = new core.List<api.Dimension>(); |
| 3064 o.add(buildDimension()); | 3064 o.add(buildDimension()); |
| 3065 o.add(buildDimension()); | 3065 o.add(buildDimension()); |
| 3066 return o; | 3066 return o; |
| 3067 } | 3067 } |
| 3068 | 3068 |
| 3069 checkUnnamed1761(core.List<api.Dimension> o) { | 3069 checkUnnamed1865(core.List<api.Dimension> o) { |
| 3070 unittest.expect(o, unittest.hasLength(2)); | 3070 unittest.expect(o, unittest.hasLength(2)); |
| 3071 checkDimension(o[0]); | 3071 checkDimension(o[0]); |
| 3072 checkDimension(o[1]); | 3072 checkDimension(o[1]); |
| 3073 } | 3073 } |
| 3074 | 3074 |
| 3075 core.int buildCounterPublisherProvidedForecast = 0; | 3075 core.int buildCounterPublisherProvidedForecast = 0; |
| 3076 buildPublisherProvidedForecast() { | 3076 buildPublisherProvidedForecast() { |
| 3077 var o = new api.PublisherProvidedForecast(); | 3077 var o = new api.PublisherProvidedForecast(); |
| 3078 buildCounterPublisherProvidedForecast++; | 3078 buildCounterPublisherProvidedForecast++; |
| 3079 if (buildCounterPublisherProvidedForecast < 3) { | 3079 if (buildCounterPublisherProvidedForecast < 3) { |
| 3080 o.dimensions = buildUnnamed1761(); | 3080 o.dimensions = buildUnnamed1865(); |
| 3081 o.weeklyImpressions = "foo"; | 3081 o.weeklyImpressions = "foo"; |
| 3082 o.weeklyUniques = "foo"; | 3082 o.weeklyUniques = "foo"; |
| 3083 } | 3083 } |
| 3084 buildCounterPublisherProvidedForecast--; | 3084 buildCounterPublisherProvidedForecast--; |
| 3085 return o; | 3085 return o; |
| 3086 } | 3086 } |
| 3087 | 3087 |
| 3088 checkPublisherProvidedForecast(api.PublisherProvidedForecast o) { | 3088 checkPublisherProvidedForecast(api.PublisherProvidedForecast o) { |
| 3089 buildCounterPublisherProvidedForecast++; | 3089 buildCounterPublisherProvidedForecast++; |
| 3090 if (buildCounterPublisherProvidedForecast < 3) { | 3090 if (buildCounterPublisherProvidedForecast < 3) { |
| 3091 checkUnnamed1761(o.dimensions); | 3091 checkUnnamed1865(o.dimensions); |
| 3092 unittest.expect(o.weeklyImpressions, unittest.equals('foo')); | 3092 unittest.expect(o.weeklyImpressions, unittest.equals('foo')); |
| 3093 unittest.expect(o.weeklyUniques, unittest.equals('foo')); | 3093 unittest.expect(o.weeklyUniques, unittest.equals('foo')); |
| 3094 } | 3094 } |
| 3095 buildCounterPublisherProvidedForecast--; | 3095 buildCounterPublisherProvidedForecast--; |
| 3096 } | 3096 } |
| 3097 | 3097 |
| 3098 core.int buildCounterSeller = 0; | 3098 core.int buildCounterSeller = 0; |
| 3099 buildSeller() { | 3099 buildSeller() { |
| 3100 var o = new api.Seller(); | 3100 var o = new api.Seller(); |
| 3101 buildCounterSeller++; | 3101 buildCounterSeller++; |
| 3102 if (buildCounterSeller < 3) { | 3102 if (buildCounterSeller < 3) { |
| 3103 o.accountId = "foo"; | 3103 o.accountId = "foo"; |
| 3104 o.subAccountId = "foo"; | 3104 o.subAccountId = "foo"; |
| 3105 } | 3105 } |
| 3106 buildCounterSeller--; | 3106 buildCounterSeller--; |
| 3107 return o; | 3107 return o; |
| 3108 } | 3108 } |
| 3109 | 3109 |
| 3110 checkSeller(api.Seller o) { | 3110 checkSeller(api.Seller o) { |
| 3111 buildCounterSeller++; | 3111 buildCounterSeller++; |
| 3112 if (buildCounterSeller < 3) { | 3112 if (buildCounterSeller < 3) { |
| 3113 unittest.expect(o.accountId, unittest.equals('foo')); | 3113 unittest.expect(o.accountId, unittest.equals('foo')); |
| 3114 unittest.expect(o.subAccountId, unittest.equals('foo')); | 3114 unittest.expect(o.subAccountId, unittest.equals('foo')); |
| 3115 } | 3115 } |
| 3116 buildCounterSeller--; | 3116 buildCounterSeller--; |
| 3117 } | 3117 } |
| 3118 | 3118 |
| 3119 buildUnnamed1762() { | 3119 buildUnnamed1866() { |
| 3120 var o = new core.List<api.TargetingValue>(); | 3120 var o = new core.List<api.TargetingValue>(); |
| 3121 o.add(buildTargetingValue()); | 3121 o.add(buildTargetingValue()); |
| 3122 o.add(buildTargetingValue()); | 3122 o.add(buildTargetingValue()); |
| 3123 return o; | 3123 return o; |
| 3124 } | 3124 } |
| 3125 | 3125 |
| 3126 checkUnnamed1762(core.List<api.TargetingValue> o) { | 3126 checkUnnamed1866(core.List<api.TargetingValue> o) { |
| 3127 unittest.expect(o, unittest.hasLength(2)); | 3127 unittest.expect(o, unittest.hasLength(2)); |
| 3128 checkTargetingValue(o[0]); | 3128 checkTargetingValue(o[0]); |
| 3129 checkTargetingValue(o[1]); | 3129 checkTargetingValue(o[1]); |
| 3130 } | 3130 } |
| 3131 | 3131 |
| 3132 buildUnnamed1763() { | 3132 buildUnnamed1867() { |
| 3133 var o = new core.List<api.TargetingValue>(); | 3133 var o = new core.List<api.TargetingValue>(); |
| 3134 o.add(buildTargetingValue()); | 3134 o.add(buildTargetingValue()); |
| 3135 o.add(buildTargetingValue()); | 3135 o.add(buildTargetingValue()); |
| 3136 return o; | 3136 return o; |
| 3137 } | 3137 } |
| 3138 | 3138 |
| 3139 checkUnnamed1763(core.List<api.TargetingValue> o) { | 3139 checkUnnamed1867(core.List<api.TargetingValue> o) { |
| 3140 unittest.expect(o, unittest.hasLength(2)); | 3140 unittest.expect(o, unittest.hasLength(2)); |
| 3141 checkTargetingValue(o[0]); | 3141 checkTargetingValue(o[0]); |
| 3142 checkTargetingValue(o[1]); | 3142 checkTargetingValue(o[1]); |
| 3143 } | 3143 } |
| 3144 | 3144 |
| 3145 core.int buildCounterSharedTargeting = 0; | 3145 core.int buildCounterSharedTargeting = 0; |
| 3146 buildSharedTargeting() { | 3146 buildSharedTargeting() { |
| 3147 var o = new api.SharedTargeting(); | 3147 var o = new api.SharedTargeting(); |
| 3148 buildCounterSharedTargeting++; | 3148 buildCounterSharedTargeting++; |
| 3149 if (buildCounterSharedTargeting < 3) { | 3149 if (buildCounterSharedTargeting < 3) { |
| 3150 o.exclusions = buildUnnamed1762(); | 3150 o.exclusions = buildUnnamed1866(); |
| 3151 o.inclusions = buildUnnamed1763(); | 3151 o.inclusions = buildUnnamed1867(); |
| 3152 o.key = "foo"; | 3152 o.key = "foo"; |
| 3153 } | 3153 } |
| 3154 buildCounterSharedTargeting--; | 3154 buildCounterSharedTargeting--; |
| 3155 return o; | 3155 return o; |
| 3156 } | 3156 } |
| 3157 | 3157 |
| 3158 checkSharedTargeting(api.SharedTargeting o) { | 3158 checkSharedTargeting(api.SharedTargeting o) { |
| 3159 buildCounterSharedTargeting++; | 3159 buildCounterSharedTargeting++; |
| 3160 if (buildCounterSharedTargeting < 3) { | 3160 if (buildCounterSharedTargeting < 3) { |
| 3161 checkUnnamed1762(o.exclusions); | 3161 checkUnnamed1866(o.exclusions); |
| 3162 checkUnnamed1763(o.inclusions); | 3162 checkUnnamed1867(o.inclusions); |
| 3163 unittest.expect(o.key, unittest.equals('foo')); | 3163 unittest.expect(o.key, unittest.equals('foo')); |
| 3164 } | 3164 } |
| 3165 buildCounterSharedTargeting--; | 3165 buildCounterSharedTargeting--; |
| 3166 } | 3166 } |
| 3167 | 3167 |
| 3168 core.int buildCounterTargetingValue = 0; | 3168 core.int buildCounterTargetingValue = 0; |
| 3169 buildTargetingValue() { | 3169 buildTargetingValue() { |
| 3170 var o = new api.TargetingValue(); | 3170 var o = new api.TargetingValue(); |
| 3171 buildCounterTargetingValue++; | 3171 buildCounterTargetingValue++; |
| 3172 if (buildCounterTargetingValue < 3) { | 3172 if (buildCounterTargetingValue < 3) { |
| (...skipping 10 matching lines...) Expand all Loading... |
| 3183 buildCounterTargetingValue++; | 3183 buildCounterTargetingValue++; |
| 3184 if (buildCounterTargetingValue < 3) { | 3184 if (buildCounterTargetingValue < 3) { |
| 3185 checkTargetingValueCreativeSize(o.creativeSizeValue); | 3185 checkTargetingValueCreativeSize(o.creativeSizeValue); |
| 3186 checkTargetingValueDayPartTargeting(o.dayPartTargetingValue); | 3186 checkTargetingValueDayPartTargeting(o.dayPartTargetingValue); |
| 3187 unittest.expect(o.longValue, unittest.equals('foo')); | 3187 unittest.expect(o.longValue, unittest.equals('foo')); |
| 3188 unittest.expect(o.stringValue, unittest.equals('foo')); | 3188 unittest.expect(o.stringValue, unittest.equals('foo')); |
| 3189 } | 3189 } |
| 3190 buildCounterTargetingValue--; | 3190 buildCounterTargetingValue--; |
| 3191 } | 3191 } |
| 3192 | 3192 |
| 3193 buildUnnamed1764() { | 3193 buildUnnamed1868() { |
| 3194 var o = new core.List<api.TargetingValueSize>(); | 3194 var o = new core.List<api.TargetingValueSize>(); |
| 3195 o.add(buildTargetingValueSize()); | 3195 o.add(buildTargetingValueSize()); |
| 3196 o.add(buildTargetingValueSize()); | 3196 o.add(buildTargetingValueSize()); |
| 3197 return o; | 3197 return o; |
| 3198 } | 3198 } |
| 3199 | 3199 |
| 3200 checkUnnamed1764(core.List<api.TargetingValueSize> o) { | 3200 checkUnnamed1868(core.List<api.TargetingValueSize> o) { |
| 3201 unittest.expect(o, unittest.hasLength(2)); | 3201 unittest.expect(o, unittest.hasLength(2)); |
| 3202 checkTargetingValueSize(o[0]); | 3202 checkTargetingValueSize(o[0]); |
| 3203 checkTargetingValueSize(o[1]); | 3203 checkTargetingValueSize(o[1]); |
| 3204 } | 3204 } |
| 3205 | 3205 |
| 3206 core.int buildCounterTargetingValueCreativeSize = 0; | 3206 core.int buildCounterTargetingValueCreativeSize = 0; |
| 3207 buildTargetingValueCreativeSize() { | 3207 buildTargetingValueCreativeSize() { |
| 3208 var o = new api.TargetingValueCreativeSize(); | 3208 var o = new api.TargetingValueCreativeSize(); |
| 3209 buildCounterTargetingValueCreativeSize++; | 3209 buildCounterTargetingValueCreativeSize++; |
| 3210 if (buildCounterTargetingValueCreativeSize < 3) { | 3210 if (buildCounterTargetingValueCreativeSize < 3) { |
| 3211 o.companionSizes = buildUnnamed1764(); | 3211 o.companionSizes = buildUnnamed1868(); |
| 3212 o.creativeSizeType = "foo"; | 3212 o.creativeSizeType = "foo"; |
| 3213 o.size = buildTargetingValueSize(); | 3213 o.size = buildTargetingValueSize(); |
| 3214 o.skippableAdType = "foo"; | 3214 o.skippableAdType = "foo"; |
| 3215 } | 3215 } |
| 3216 buildCounterTargetingValueCreativeSize--; | 3216 buildCounterTargetingValueCreativeSize--; |
| 3217 return o; | 3217 return o; |
| 3218 } | 3218 } |
| 3219 | 3219 |
| 3220 checkTargetingValueCreativeSize(api.TargetingValueCreativeSize o) { | 3220 checkTargetingValueCreativeSize(api.TargetingValueCreativeSize o) { |
| 3221 buildCounterTargetingValueCreativeSize++; | 3221 buildCounterTargetingValueCreativeSize++; |
| 3222 if (buildCounterTargetingValueCreativeSize < 3) { | 3222 if (buildCounterTargetingValueCreativeSize < 3) { |
| 3223 checkUnnamed1764(o.companionSizes); | 3223 checkUnnamed1868(o.companionSizes); |
| 3224 unittest.expect(o.creativeSizeType, unittest.equals('foo')); | 3224 unittest.expect(o.creativeSizeType, unittest.equals('foo')); |
| 3225 checkTargetingValueSize(o.size); | 3225 checkTargetingValueSize(o.size); |
| 3226 unittest.expect(o.skippableAdType, unittest.equals('foo')); | 3226 unittest.expect(o.skippableAdType, unittest.equals('foo')); |
| 3227 } | 3227 } |
| 3228 buildCounterTargetingValueCreativeSize--; | 3228 buildCounterTargetingValueCreativeSize--; |
| 3229 } | 3229 } |
| 3230 | 3230 |
| 3231 buildUnnamed1765() { | 3231 buildUnnamed1869() { |
| 3232 var o = new core.List<api.TargetingValueDayPartTargetingDayPart>(); | 3232 var o = new core.List<api.TargetingValueDayPartTargetingDayPart>(); |
| 3233 o.add(buildTargetingValueDayPartTargetingDayPart()); | 3233 o.add(buildTargetingValueDayPartTargetingDayPart()); |
| 3234 o.add(buildTargetingValueDayPartTargetingDayPart()); | 3234 o.add(buildTargetingValueDayPartTargetingDayPart()); |
| 3235 return o; | 3235 return o; |
| 3236 } | 3236 } |
| 3237 | 3237 |
| 3238 checkUnnamed1765(core.List<api.TargetingValueDayPartTargetingDayPart> o) { | 3238 checkUnnamed1869(core.List<api.TargetingValueDayPartTargetingDayPart> o) { |
| 3239 unittest.expect(o, unittest.hasLength(2)); | 3239 unittest.expect(o, unittest.hasLength(2)); |
| 3240 checkTargetingValueDayPartTargetingDayPart(o[0]); | 3240 checkTargetingValueDayPartTargetingDayPart(o[0]); |
| 3241 checkTargetingValueDayPartTargetingDayPart(o[1]); | 3241 checkTargetingValueDayPartTargetingDayPart(o[1]); |
| 3242 } | 3242 } |
| 3243 | 3243 |
| 3244 core.int buildCounterTargetingValueDayPartTargeting = 0; | 3244 core.int buildCounterTargetingValueDayPartTargeting = 0; |
| 3245 buildTargetingValueDayPartTargeting() { | 3245 buildTargetingValueDayPartTargeting() { |
| 3246 var o = new api.TargetingValueDayPartTargeting(); | 3246 var o = new api.TargetingValueDayPartTargeting(); |
| 3247 buildCounterTargetingValueDayPartTargeting++; | 3247 buildCounterTargetingValueDayPartTargeting++; |
| 3248 if (buildCounterTargetingValueDayPartTargeting < 3) { | 3248 if (buildCounterTargetingValueDayPartTargeting < 3) { |
| 3249 o.dayParts = buildUnnamed1765(); | 3249 o.dayParts = buildUnnamed1869(); |
| 3250 o.timeZoneType = "foo"; | 3250 o.timeZoneType = "foo"; |
| 3251 } | 3251 } |
| 3252 buildCounterTargetingValueDayPartTargeting--; | 3252 buildCounterTargetingValueDayPartTargeting--; |
| 3253 return o; | 3253 return o; |
| 3254 } | 3254 } |
| 3255 | 3255 |
| 3256 checkTargetingValueDayPartTargeting(api.TargetingValueDayPartTargeting o) { | 3256 checkTargetingValueDayPartTargeting(api.TargetingValueDayPartTargeting o) { |
| 3257 buildCounterTargetingValueDayPartTargeting++; | 3257 buildCounterTargetingValueDayPartTargeting++; |
| 3258 if (buildCounterTargetingValueDayPartTargeting < 3) { | 3258 if (buildCounterTargetingValueDayPartTargeting < 3) { |
| 3259 checkUnnamed1765(o.dayParts); | 3259 checkUnnamed1869(o.dayParts); |
| 3260 unittest.expect(o.timeZoneType, unittest.equals('foo')); | 3260 unittest.expect(o.timeZoneType, unittest.equals('foo')); |
| 3261 } | 3261 } |
| 3262 buildCounterTargetingValueDayPartTargeting--; | 3262 buildCounterTargetingValueDayPartTargeting--; |
| 3263 } | 3263 } |
| 3264 | 3264 |
| 3265 core.int buildCounterTargetingValueDayPartTargetingDayPart = 0; | 3265 core.int buildCounterTargetingValueDayPartTargetingDayPart = 0; |
| 3266 buildTargetingValueDayPartTargetingDayPart() { | 3266 buildTargetingValueDayPartTargetingDayPart() { |
| 3267 var o = new api.TargetingValueDayPartTargetingDayPart(); | 3267 var o = new api.TargetingValueDayPartTargetingDayPart(); |
| 3268 buildCounterTargetingValueDayPartTargetingDayPart++; | 3268 buildCounterTargetingValueDayPartTargetingDayPart++; |
| 3269 if (buildCounterTargetingValueDayPartTargetingDayPart < 3) { | 3269 if (buildCounterTargetingValueDayPartTargetingDayPart < 3) { |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3328 buildCounterUpdatePrivateAuctionProposalRequest++; | 3328 buildCounterUpdatePrivateAuctionProposalRequest++; |
| 3329 if (buildCounterUpdatePrivateAuctionProposalRequest < 3) { | 3329 if (buildCounterUpdatePrivateAuctionProposalRequest < 3) { |
| 3330 unittest.expect(o.externalDealId, unittest.equals('foo')); | 3330 unittest.expect(o.externalDealId, unittest.equals('foo')); |
| 3331 checkMarketplaceNote(o.note); | 3331 checkMarketplaceNote(o.note); |
| 3332 unittest.expect(o.proposalRevisionNumber, unittest.equals('foo')); | 3332 unittest.expect(o.proposalRevisionNumber, unittest.equals('foo')); |
| 3333 unittest.expect(o.updateAction, unittest.equals('foo')); | 3333 unittest.expect(o.updateAction, unittest.equals('foo')); |
| 3334 } | 3334 } |
| 3335 buildCounterUpdatePrivateAuctionProposalRequest--; | 3335 buildCounterUpdatePrivateAuctionProposalRequest--; |
| 3336 } | 3336 } |
| 3337 | 3337 |
| 3338 buildUnnamed1766() { | 3338 buildUnnamed1870() { |
| 3339 var o = new core.List<core.int>(); | 3339 var o = new core.List<core.int>(); |
| 3340 o.add(42); | 3340 o.add(42); |
| 3341 o.add(42); | 3341 o.add(42); |
| 3342 return o; | 3342 return o; |
| 3343 } | 3343 } |
| 3344 | 3344 |
| 3345 checkUnnamed1766(core.List<core.int> o) { | 3345 checkUnnamed1870(core.List<core.int> o) { |
| 3346 unittest.expect(o, unittest.hasLength(2)); | 3346 unittest.expect(o, unittest.hasLength(2)); |
| 3347 unittest.expect(o[0], unittest.equals(42)); | 3347 unittest.expect(o[0], unittest.equals(42)); |
| 3348 unittest.expect(o[1], unittest.equals(42)); | 3348 unittest.expect(o[1], unittest.equals(42)); |
| 3349 } | 3349 } |
| 3350 | 3350 |
| 3351 buildUnnamed1767() { | 3351 buildUnnamed1871() { |
| 3352 var o = new core.List<core.String>(); | 3352 var o = new core.List<core.String>(); |
| 3353 o.add("foo"); | 3353 o.add("foo"); |
| 3354 o.add("foo"); | 3354 o.add("foo"); |
| 3355 return o; | 3355 return o; |
| 3356 } | 3356 } |
| 3357 | 3357 |
| 3358 checkUnnamed1767(core.List<core.String> o) { | 3358 checkUnnamed1871(core.List<core.String> o) { |
| 3359 unittest.expect(o, unittest.hasLength(2)); | 3359 unittest.expect(o, unittest.hasLength(2)); |
| 3360 unittest.expect(o[0], unittest.equals('foo')); | 3360 unittest.expect(o[0], unittest.equals('foo')); |
| 3361 unittest.expect(o[1], unittest.equals('foo')); | 3361 unittest.expect(o[1], unittest.equals('foo')); |
| 3362 } | 3362 } |
| 3363 | 3363 |
| 3364 | 3364 |
| 3365 main() { | 3365 main() { |
| 3366 unittest.group("obj-schema-AccountBidderLocation", () { | 3366 unittest.group("obj-schema-AccountBidderLocation", () { |
| 3367 unittest.test("to-json--from-json", () { | 3367 unittest.test("to-json--from-json", () { |
| 3368 var o = buildAccountBidderLocation(); | 3368 var o = buildAccountBidderLocation(); |
| (...skipping 1343 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4712 }), true); | 4712 }), true); |
| 4713 res.insert(arg_request).then(unittest.expectAsync(((api.Creative response)
{ | 4713 res.insert(arg_request).then(unittest.expectAsync(((api.Creative response)
{ |
| 4714 checkCreative(response); | 4714 checkCreative(response); |
| 4715 }))); | 4715 }))); |
| 4716 }); | 4716 }); |
| 4717 | 4717 |
| 4718 unittest.test("method--list", () { | 4718 unittest.test("method--list", () { |
| 4719 | 4719 |
| 4720 var mock = new HttpServerMock(); | 4720 var mock = new HttpServerMock(); |
| 4721 api.CreativesResourceApi res = new api.AdexchangebuyerApi(mock).creatives; | 4721 api.CreativesResourceApi res = new api.AdexchangebuyerApi(mock).creatives; |
| 4722 var arg_accountId = buildUnnamed1766(); | 4722 var arg_accountId = buildUnnamed1870(); |
| 4723 var arg_buyerCreativeId = buildUnnamed1767(); | 4723 var arg_buyerCreativeId = buildUnnamed1871(); |
| 4724 var arg_dealsStatusFilter = "foo"; | 4724 var arg_dealsStatusFilter = "foo"; |
| 4725 var arg_maxResults = 42; | 4725 var arg_maxResults = 42; |
| 4726 var arg_openAuctionStatusFilter = "foo"; | 4726 var arg_openAuctionStatusFilter = "foo"; |
| 4727 var arg_pageToken = "foo"; | 4727 var arg_pageToken = "foo"; |
| 4728 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 4728 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 4729 var path = (req.url).path; | 4729 var path = (req.url).path; |
| 4730 var pathOffset = 0; | 4730 var pathOffset = 0; |
| 4731 var index; | 4731 var index; |
| 4732 var subPart; | 4732 var subPart; |
| 4733 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 4733 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| (...skipping 1459 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6193 res.list(arg_accountId).then(unittest.expectAsync(((api.GetPublisherProfil
esByAccountIdResponse response) { | 6193 res.list(arg_accountId).then(unittest.expectAsync(((api.GetPublisherProfil
esByAccountIdResponse response) { |
| 6194 checkGetPublisherProfilesByAccountIdResponse(response); | 6194 checkGetPublisherProfilesByAccountIdResponse(response); |
| 6195 }))); | 6195 }))); |
| 6196 }); | 6196 }); |
| 6197 | 6197 |
| 6198 }); | 6198 }); |
| 6199 | 6199 |
| 6200 | 6200 |
| 6201 } | 6201 } |
| 6202 | 6202 |
| OLD | NEW |