| 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 buildUnnamed49() { | 79 buildUnnamed2134() { |
| 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 checkUnnamed49(core.List<api.AccountBidderLocation> o) { | 86 checkUnnamed2134(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 = buildUnnamed49(); | 97 o.bidderLocation = buildUnnamed2134(); |
| 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 checkUnnamed49(o.bidderLocation); | 113 checkUnnamed2134(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 buildUnnamed50() { | 125 buildUnnamed2135() { |
| 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 checkUnnamed50(core.List<api.Account> o) { | 132 checkUnnamed2135(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 = buildUnnamed50(); | 143 o.items = buildUnnamed2135(); |
| 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 checkUnnamed50(o.items); | 153 checkUnnamed2135(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 buildUnnamed51() { | 159 buildUnnamed2136() { |
| 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 checkUnnamed51(core.List<api.MarketplaceDeal> o) { | 166 checkUnnamed2136(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 = buildUnnamed51(); | 177 o.deals = buildUnnamed2136(); |
| 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 checkUnnamed51(o.deals); | 188 checkUnnamed2136(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 buildUnnamed52() { | 195 buildUnnamed2137() { |
| 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 checkUnnamed52(core.List<api.MarketplaceDeal> o) { | 202 checkUnnamed2137(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 = buildUnnamed52(); | 213 o.deals = buildUnnamed2137(); |
| 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 checkUnnamed52(o.deals); | 223 checkUnnamed2137(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 buildUnnamed53() { | 229 buildUnnamed2138() { |
| 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 checkUnnamed53(core.List<api.MarketplaceNote> o) { | 236 checkUnnamed2138(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 = buildUnnamed53(); | 247 o.notes = buildUnnamed2138(); |
| 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 checkUnnamed53(o.notes); | 256 checkUnnamed2138(o.notes); |
| 257 } | 257 } |
| 258 buildCounterAddOrderNotesRequest--; | 258 buildCounterAddOrderNotesRequest--; |
| 259 } | 259 } |
| 260 | 260 |
| 261 buildUnnamed54() { | 261 buildUnnamed2139() { |
| 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 checkUnnamed54(core.List<api.MarketplaceNote> o) { | 268 checkUnnamed2139(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 = buildUnnamed54(); | 279 o.notes = buildUnnamed2139(); |
| 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 checkUnnamed54(o.notes); | 288 checkUnnamed2139(o.notes); |
| 289 } | 289 } |
| 290 buildCounterAddOrderNotesResponse--; | 290 buildCounterAddOrderNotesResponse--; |
| 291 } | 291 } |
| 292 | 292 |
| 293 buildUnnamed55() { | 293 buildUnnamed2140() { |
| 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 checkUnnamed55(core.List<core.String> o) { | 300 checkUnnamed2140(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 = buildUnnamed55(); | 313 o.billingId = buildUnnamed2140(); |
| 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 checkUnnamed55(o.billingId); | 325 checkUnnamed2140(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 buildUnnamed56() { | 331 buildUnnamed2141() { |
| 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 checkUnnamed56(core.List<api.BillingInfo> o) { | 338 checkUnnamed2141(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 = buildUnnamed56(); | 349 o.items = buildUnnamed2141(); |
| 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 checkUnnamed56(o.items); | 359 checkUnnamed2141(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 buildUnnamed57() { | 434 buildUnnamed2142() { |
| 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 checkUnnamed57(core.List<api.Proposal> o) { | 441 checkUnnamed2142(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 = buildUnnamed57(); | 452 o.proposals = buildUnnamed2142(); |
| 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 checkUnnamed57(o.proposals); | 462 checkUnnamed2142(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 buildUnnamed58() { | 468 buildUnnamed2143() { |
| 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 checkUnnamed58(core.List<api.Proposal> o) { | 475 checkUnnamed2143(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 = buildUnnamed58(); | 486 o.proposals = buildUnnamed2143(); |
| 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 checkUnnamed58(o.proposals); | 495 checkUnnamed2143(o.proposals); |
| 496 } | 496 } |
| 497 buildCounterCreateOrdersResponse--; | 497 buildCounterCreateOrdersResponse--; |
| 498 } | 498 } |
| 499 | 499 |
| 500 buildUnnamed59() { | 500 buildUnnamed2144() { |
| 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 checkUnnamed59(core.List<core.String> o) { | 507 checkUnnamed2144(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 buildUnnamed60() { | 513 buildUnnamed2145() { |
| 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 checkUnnamed60(core.List<core.int> o) { | 520 checkUnnamed2145(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 buildUnnamed61() { | 526 buildUnnamed2146() { |
| 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 checkUnnamed61(core.List<core.String> o) { | 533 checkUnnamed2146(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 buildUnnamed62() { | 539 buildUnnamed2147() { |
| 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 checkUnnamed62(core.List<core.String> o) { | 546 checkUnnamed2147(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 buildUnnamed63() { | 552 buildUnnamed2148() { |
| 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 checkUnnamed63(core.List<core.int> o) { | 559 checkUnnamed2148(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 buildUnnamed64() { | 565 buildUnnamed2149() { |
| 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 checkUnnamed64(core.List<core.String> o) { | 572 checkUnnamed2149(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 = buildUnnamed62(); | 583 o.auctionType = buildUnnamed2147(); |
| 584 o.contextType = "foo"; | 584 o.contextType = "foo"; |
| 585 o.geoCriteriaId = buildUnnamed63(); | 585 o.geoCriteriaId = buildUnnamed2148(); |
| 586 o.platform = buildUnnamed64(); | 586 o.platform = buildUnnamed2149(); |
| 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 checkUnnamed62(o.auctionType); | 595 checkUnnamed2147(o.auctionType); |
| 596 unittest.expect(o.contextType, unittest.equals('foo')); | 596 unittest.expect(o.contextType, unittest.equals('foo')); |
| 597 checkUnnamed63(o.geoCriteriaId); | 597 checkUnnamed2148(o.geoCriteriaId); |
| 598 checkUnnamed64(o.platform); | 598 checkUnnamed2149(o.platform); |
| 599 } | 599 } |
| 600 buildCounterCreativeCorrectionsContexts--; | 600 buildCounterCreativeCorrectionsContexts--; |
| 601 } | 601 } |
| 602 | 602 |
| 603 buildUnnamed65() { | 603 buildUnnamed2150() { |
| 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 checkUnnamed65(core.List<api.CreativeCorrectionsContexts> o) { | 610 checkUnnamed2150(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 buildUnnamed66() { | 616 buildUnnamed2151() { |
| 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 checkUnnamed66(core.List<core.String> o) { | 623 checkUnnamed2151(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 = buildUnnamed65(); | 634 o.contexts = buildUnnamed2150(); |
| 635 o.details = buildUnnamed66(); | 635 o.details = buildUnnamed2151(); |
| 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 checkUnnamed65(o.contexts); | 645 checkUnnamed2150(o.contexts); |
| 646 checkUnnamed66(o.details); | 646 checkUnnamed2151(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 buildUnnamed67() { | 652 buildUnnamed2152() { |
| 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 checkUnnamed67(core.List<api.CreativeCorrections> o) { | 659 checkUnnamed2152(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 core.int buildCounterCreativeFilteringReasonsReasons = 0; | 665 core.int buildCounterCreativeFilteringReasonsReasons = 0; |
| 666 buildCreativeFilteringReasonsReasons() { | 666 buildCreativeFilteringReasonsReasons() { |
| 667 var o = new api.CreativeFilteringReasonsReasons(); | 667 var o = new api.CreativeFilteringReasonsReasons(); |
| 668 buildCounterCreativeFilteringReasonsReasons++; | 668 buildCounterCreativeFilteringReasonsReasons++; |
| 669 if (buildCounterCreativeFilteringReasonsReasons < 3) { | 669 if (buildCounterCreativeFilteringReasonsReasons < 3) { |
| 670 o.filteringCount = "foo"; | 670 o.filteringCount = "foo"; |
| 671 o.filteringStatus = 42; | 671 o.filteringStatus = 42; |
| 672 } | 672 } |
| 673 buildCounterCreativeFilteringReasonsReasons--; | 673 buildCounterCreativeFilteringReasonsReasons--; |
| 674 return o; | 674 return o; |
| 675 } | 675 } |
| 676 | 676 |
| 677 checkCreativeFilteringReasonsReasons(api.CreativeFilteringReasonsReasons o) { | 677 checkCreativeFilteringReasonsReasons(api.CreativeFilteringReasonsReasons o) { |
| 678 buildCounterCreativeFilteringReasonsReasons++; | 678 buildCounterCreativeFilteringReasonsReasons++; |
| 679 if (buildCounterCreativeFilteringReasonsReasons < 3) { | 679 if (buildCounterCreativeFilteringReasonsReasons < 3) { |
| 680 unittest.expect(o.filteringCount, unittest.equals('foo')); | 680 unittest.expect(o.filteringCount, unittest.equals('foo')); |
| 681 unittest.expect(o.filteringStatus, unittest.equals(42)); | 681 unittest.expect(o.filteringStatus, unittest.equals(42)); |
| 682 } | 682 } |
| 683 buildCounterCreativeFilteringReasonsReasons--; | 683 buildCounterCreativeFilteringReasonsReasons--; |
| 684 } | 684 } |
| 685 | 685 |
| 686 buildUnnamed68() { | 686 buildUnnamed2153() { |
| 687 var o = new core.List<api.CreativeFilteringReasonsReasons>(); | 687 var o = new core.List<api.CreativeFilteringReasonsReasons>(); |
| 688 o.add(buildCreativeFilteringReasonsReasons()); | 688 o.add(buildCreativeFilteringReasonsReasons()); |
| 689 o.add(buildCreativeFilteringReasonsReasons()); | 689 o.add(buildCreativeFilteringReasonsReasons()); |
| 690 return o; | 690 return o; |
| 691 } | 691 } |
| 692 | 692 |
| 693 checkUnnamed68(core.List<api.CreativeFilteringReasonsReasons> o) { | 693 checkUnnamed2153(core.List<api.CreativeFilteringReasonsReasons> o) { |
| 694 unittest.expect(o, unittest.hasLength(2)); | 694 unittest.expect(o, unittest.hasLength(2)); |
| 695 checkCreativeFilteringReasonsReasons(o[0]); | 695 checkCreativeFilteringReasonsReasons(o[0]); |
| 696 checkCreativeFilteringReasonsReasons(o[1]); | 696 checkCreativeFilteringReasonsReasons(o[1]); |
| 697 } | 697 } |
| 698 | 698 |
| 699 core.int buildCounterCreativeFilteringReasons = 0; | 699 core.int buildCounterCreativeFilteringReasons = 0; |
| 700 buildCreativeFilteringReasons() { | 700 buildCreativeFilteringReasons() { |
| 701 var o = new api.CreativeFilteringReasons(); | 701 var o = new api.CreativeFilteringReasons(); |
| 702 buildCounterCreativeFilteringReasons++; | 702 buildCounterCreativeFilteringReasons++; |
| 703 if (buildCounterCreativeFilteringReasons < 3) { | 703 if (buildCounterCreativeFilteringReasons < 3) { |
| 704 o.date = "foo"; | 704 o.date = "foo"; |
| 705 o.reasons = buildUnnamed68(); | 705 o.reasons = buildUnnamed2153(); |
| 706 } | 706 } |
| 707 buildCounterCreativeFilteringReasons--; | 707 buildCounterCreativeFilteringReasons--; |
| 708 return o; | 708 return o; |
| 709 } | 709 } |
| 710 | 710 |
| 711 checkCreativeFilteringReasons(api.CreativeFilteringReasons o) { | 711 checkCreativeFilteringReasons(api.CreativeFilteringReasons o) { |
| 712 buildCounterCreativeFilteringReasons++; | 712 buildCounterCreativeFilteringReasons++; |
| 713 if (buildCounterCreativeFilteringReasons < 3) { | 713 if (buildCounterCreativeFilteringReasons < 3) { |
| 714 unittest.expect(o.date, unittest.equals('foo')); | 714 unittest.expect(o.date, unittest.equals('foo')); |
| 715 checkUnnamed68(o.reasons); | 715 checkUnnamed2153(o.reasons); |
| 716 } | 716 } |
| 717 buildCounterCreativeFilteringReasons--; | 717 buildCounterCreativeFilteringReasons--; |
| 718 } | 718 } |
| 719 | 719 |
| 720 buildUnnamed69() { | 720 buildUnnamed2154() { |
| 721 var o = new core.List<core.String>(); | 721 var o = new core.List<core.String>(); |
| 722 o.add("foo"); | 722 o.add("foo"); |
| 723 o.add("foo"); | 723 o.add("foo"); |
| 724 return o; | 724 return o; |
| 725 } | 725 } |
| 726 | 726 |
| 727 checkUnnamed69(core.List<core.String> o) { | 727 checkUnnamed2154(core.List<core.String> o) { |
| 728 unittest.expect(o, unittest.hasLength(2)); | 728 unittest.expect(o, unittest.hasLength(2)); |
| 729 unittest.expect(o[0], unittest.equals('foo')); | 729 unittest.expect(o[0], unittest.equals('foo')); |
| 730 unittest.expect(o[1], unittest.equals('foo')); | 730 unittest.expect(o[1], unittest.equals('foo')); |
| 731 } | 731 } |
| 732 | 732 |
| 733 buildUnnamed70() { | 733 buildUnnamed2155() { |
| 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 checkUnnamed70(core.List<core.String> o) { | 740 checkUnnamed2155(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 core.int buildCounterCreativeNativeAdAppIcon = 0; | 746 core.int buildCounterCreativeNativeAdAppIcon = 0; |
| 747 buildCreativeNativeAdAppIcon() { | 747 buildCreativeNativeAdAppIcon() { |
| 748 var o = new api.CreativeNativeAdAppIcon(); | 748 var o = new api.CreativeNativeAdAppIcon(); |
| 749 buildCounterCreativeNativeAdAppIcon++; | 749 buildCounterCreativeNativeAdAppIcon++; |
| 750 if (buildCounterCreativeNativeAdAppIcon < 3) { | 750 if (buildCounterCreativeNativeAdAppIcon < 3) { |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 782 checkCreativeNativeAdImage(api.CreativeNativeAdImage o) { | 782 checkCreativeNativeAdImage(api.CreativeNativeAdImage o) { |
| 783 buildCounterCreativeNativeAdImage++; | 783 buildCounterCreativeNativeAdImage++; |
| 784 if (buildCounterCreativeNativeAdImage < 3) { | 784 if (buildCounterCreativeNativeAdImage < 3) { |
| 785 unittest.expect(o.height, unittest.equals(42)); | 785 unittest.expect(o.height, unittest.equals(42)); |
| 786 unittest.expect(o.url, unittest.equals('foo')); | 786 unittest.expect(o.url, unittest.equals('foo')); |
| 787 unittest.expect(o.width, unittest.equals(42)); | 787 unittest.expect(o.width, unittest.equals(42)); |
| 788 } | 788 } |
| 789 buildCounterCreativeNativeAdImage--; | 789 buildCounterCreativeNativeAdImage--; |
| 790 } | 790 } |
| 791 | 791 |
| 792 buildUnnamed71() { | 792 buildUnnamed2156() { |
| 793 var o = new core.List<core.String>(); | 793 var o = new core.List<core.String>(); |
| 794 o.add("foo"); | 794 o.add("foo"); |
| 795 o.add("foo"); | 795 o.add("foo"); |
| 796 return o; | 796 return o; |
| 797 } | 797 } |
| 798 | 798 |
| 799 checkUnnamed71(core.List<core.String> o) { | 799 checkUnnamed2156(core.List<core.String> o) { |
| 800 unittest.expect(o, unittest.hasLength(2)); | 800 unittest.expect(o, unittest.hasLength(2)); |
| 801 unittest.expect(o[0], unittest.equals('foo')); | 801 unittest.expect(o[0], unittest.equals('foo')); |
| 802 unittest.expect(o[1], unittest.equals('foo')); | 802 unittest.expect(o[1], unittest.equals('foo')); |
| 803 } | 803 } |
| 804 | 804 |
| 805 core.int buildCounterCreativeNativeAdLogo = 0; | 805 core.int buildCounterCreativeNativeAdLogo = 0; |
| 806 buildCreativeNativeAdLogo() { | 806 buildCreativeNativeAdLogo() { |
| 807 var o = new api.CreativeNativeAdLogo(); | 807 var o = new api.CreativeNativeAdLogo(); |
| 808 buildCounterCreativeNativeAdLogo++; | 808 buildCounterCreativeNativeAdLogo++; |
| 809 if (buildCounterCreativeNativeAdLogo < 3) { | 809 if (buildCounterCreativeNativeAdLogo < 3) { |
| (...skipping 20 matching lines...) Expand all Loading... |
| 830 var o = new api.CreativeNativeAd(); | 830 var o = new api.CreativeNativeAd(); |
| 831 buildCounterCreativeNativeAd++; | 831 buildCounterCreativeNativeAd++; |
| 832 if (buildCounterCreativeNativeAd < 3) { | 832 if (buildCounterCreativeNativeAd < 3) { |
| 833 o.advertiser = "foo"; | 833 o.advertiser = "foo"; |
| 834 o.appIcon = buildCreativeNativeAdAppIcon(); | 834 o.appIcon = buildCreativeNativeAdAppIcon(); |
| 835 o.body = "foo"; | 835 o.body = "foo"; |
| 836 o.callToAction = "foo"; | 836 o.callToAction = "foo"; |
| 837 o.clickTrackingUrl = "foo"; | 837 o.clickTrackingUrl = "foo"; |
| 838 o.headline = "foo"; | 838 o.headline = "foo"; |
| 839 o.image = buildCreativeNativeAdImage(); | 839 o.image = buildCreativeNativeAdImage(); |
| 840 o.impressionTrackingUrl = buildUnnamed71(); | 840 o.impressionTrackingUrl = buildUnnamed2156(); |
| 841 o.logo = buildCreativeNativeAdLogo(); | 841 o.logo = buildCreativeNativeAdLogo(); |
| 842 o.price = "foo"; | 842 o.price = "foo"; |
| 843 o.starRating = 42.0; | 843 o.starRating = 42.0; |
| 844 o.store = "foo"; | 844 o.store = "foo"; |
| 845 } | 845 } |
| 846 buildCounterCreativeNativeAd--; | 846 buildCounterCreativeNativeAd--; |
| 847 return o; | 847 return o; |
| 848 } | 848 } |
| 849 | 849 |
| 850 checkCreativeNativeAd(api.CreativeNativeAd o) { | 850 checkCreativeNativeAd(api.CreativeNativeAd o) { |
| 851 buildCounterCreativeNativeAd++; | 851 buildCounterCreativeNativeAd++; |
| 852 if (buildCounterCreativeNativeAd < 3) { | 852 if (buildCounterCreativeNativeAd < 3) { |
| 853 unittest.expect(o.advertiser, unittest.equals('foo')); | 853 unittest.expect(o.advertiser, unittest.equals('foo')); |
| 854 checkCreativeNativeAdAppIcon(o.appIcon); | 854 checkCreativeNativeAdAppIcon(o.appIcon); |
| 855 unittest.expect(o.body, unittest.equals('foo')); | 855 unittest.expect(o.body, unittest.equals('foo')); |
| 856 unittest.expect(o.callToAction, unittest.equals('foo')); | 856 unittest.expect(o.callToAction, unittest.equals('foo')); |
| 857 unittest.expect(o.clickTrackingUrl, unittest.equals('foo')); | 857 unittest.expect(o.clickTrackingUrl, unittest.equals('foo')); |
| 858 unittest.expect(o.headline, unittest.equals('foo')); | 858 unittest.expect(o.headline, unittest.equals('foo')); |
| 859 checkCreativeNativeAdImage(o.image); | 859 checkCreativeNativeAdImage(o.image); |
| 860 checkUnnamed71(o.impressionTrackingUrl); | 860 checkUnnamed2156(o.impressionTrackingUrl); |
| 861 checkCreativeNativeAdLogo(o.logo); | 861 checkCreativeNativeAdLogo(o.logo); |
| 862 unittest.expect(o.price, unittest.equals('foo')); | 862 unittest.expect(o.price, unittest.equals('foo')); |
| 863 unittest.expect(o.starRating, unittest.equals(42.0)); | 863 unittest.expect(o.starRating, unittest.equals(42.0)); |
| 864 unittest.expect(o.store, unittest.equals('foo')); | 864 unittest.expect(o.store, unittest.equals('foo')); |
| 865 } | 865 } |
| 866 buildCounterCreativeNativeAd--; | 866 buildCounterCreativeNativeAd--; |
| 867 } | 867 } |
| 868 | 868 |
| 869 buildUnnamed72() { | 869 buildUnnamed2157() { |
| 870 var o = new core.List<core.int>(); | 870 var o = new core.List<core.int>(); |
| 871 o.add(42); | 871 o.add(42); |
| 872 o.add(42); | 872 o.add(42); |
| 873 return o; | 873 return o; |
| 874 } | 874 } |
| 875 | 875 |
| 876 checkUnnamed72(core.List<core.int> o) { | 876 checkUnnamed2157(core.List<core.int> o) { |
| 877 unittest.expect(o, unittest.hasLength(2)); | 877 unittest.expect(o, unittest.hasLength(2)); |
| 878 unittest.expect(o[0], unittest.equals(42)); | 878 unittest.expect(o[0], unittest.equals(42)); |
| 879 unittest.expect(o[1], unittest.equals(42)); | 879 unittest.expect(o[1], unittest.equals(42)); |
| 880 } | 880 } |
| 881 | 881 |
| 882 buildUnnamed73() { | 882 buildUnnamed2158() { |
| 883 var o = new core.List<core.int>(); | 883 var o = new core.List<core.int>(); |
| 884 o.add(42); | 884 o.add(42); |
| 885 o.add(42); | 885 o.add(42); |
| 886 return o; | 886 return o; |
| 887 } | 887 } |
| 888 | 888 |
| 889 checkUnnamed73(core.List<core.int> o) { | 889 checkUnnamed2158(core.List<core.int> o) { |
| 890 unittest.expect(o, unittest.hasLength(2)); | 890 unittest.expect(o, unittest.hasLength(2)); |
| 891 unittest.expect(o[0], unittest.equals(42)); | 891 unittest.expect(o[0], unittest.equals(42)); |
| 892 unittest.expect(o[1], unittest.equals(42)); | 892 unittest.expect(o[1], unittest.equals(42)); |
| 893 } | 893 } |
| 894 | 894 |
| 895 buildUnnamed74() { | 895 buildUnnamed2159() { |
| 896 var o = new core.List<core.int>(); | 896 var o = new core.List<core.int>(); |
| 897 o.add(42); | 897 o.add(42); |
| 898 o.add(42); | 898 o.add(42); |
| 899 return o; | 899 return o; |
| 900 } | 900 } |
| 901 | 901 |
| 902 checkUnnamed74(core.List<core.int> o) { | 902 checkUnnamed2159(core.List<core.int> o) { |
| 903 unittest.expect(o, unittest.hasLength(2)); | 903 unittest.expect(o, unittest.hasLength(2)); |
| 904 unittest.expect(o[0], unittest.equals(42)); | 904 unittest.expect(o[0], unittest.equals(42)); |
| 905 unittest.expect(o[1], unittest.equals(42)); | 905 unittest.expect(o[1], unittest.equals(42)); |
| 906 } | 906 } |
| 907 | 907 |
| 908 buildUnnamed75() { | 908 buildUnnamed2160() { |
| 909 var o = new core.List<core.String>(); | 909 var o = new core.List<core.String>(); |
| 910 o.add("foo"); | 910 o.add("foo"); |
| 911 o.add("foo"); | 911 o.add("foo"); |
| 912 return o; | 912 return o; |
| 913 } | 913 } |
| 914 | 914 |
| 915 checkUnnamed75(core.List<core.String> o) { | 915 checkUnnamed2160(core.List<core.String> o) { |
| 916 unittest.expect(o, unittest.hasLength(2)); | 916 unittest.expect(o, unittest.hasLength(2)); |
| 917 unittest.expect(o[0], unittest.equals('foo')); | 917 unittest.expect(o[0], unittest.equals('foo')); |
| 918 unittest.expect(o[1], unittest.equals('foo')); | 918 unittest.expect(o[1], unittest.equals('foo')); |
| 919 } | 919 } |
| 920 | 920 |
| 921 buildUnnamed76() { | 921 buildUnnamed2161() { |
| 922 var o = new core.List<core.int>(); | 922 var o = new core.List<core.int>(); |
| 923 o.add(42); | 923 o.add(42); |
| 924 o.add(42); | 924 o.add(42); |
| 925 return o; | 925 return o; |
| 926 } | 926 } |
| 927 | 927 |
| 928 checkUnnamed76(core.List<core.int> o) { | 928 checkUnnamed2161(core.List<core.int> o) { |
| 929 unittest.expect(o, unittest.hasLength(2)); | 929 unittest.expect(o, unittest.hasLength(2)); |
| 930 unittest.expect(o[0], unittest.equals(42)); | 930 unittest.expect(o[0], unittest.equals(42)); |
| 931 unittest.expect(o[1], unittest.equals(42)); | 931 unittest.expect(o[1], unittest.equals(42)); |
| 932 } | 932 } |
| 933 | 933 |
| 934 buildUnnamed77() { | 934 buildUnnamed2162() { |
| 935 var o = new core.List<core.String>(); | 935 var o = new core.List<core.String>(); |
| 936 o.add("foo"); | 936 o.add("foo"); |
| 937 o.add("foo"); | 937 o.add("foo"); |
| 938 return o; | 938 return o; |
| 939 } | 939 } |
| 940 | 940 |
| 941 checkUnnamed77(core.List<core.String> o) { | 941 checkUnnamed2162(core.List<core.String> o) { |
| 942 unittest.expect(o, unittest.hasLength(2)); | 942 unittest.expect(o, unittest.hasLength(2)); |
| 943 unittest.expect(o[0], unittest.equals('foo')); | 943 unittest.expect(o[0], unittest.equals('foo')); |
| 944 unittest.expect(o[1], unittest.equals('foo')); | 944 unittest.expect(o[1], unittest.equals('foo')); |
| 945 } | 945 } |
| 946 | 946 |
| 947 core.int buildCounterCreativeServingRestrictionsContexts = 0; | 947 core.int buildCounterCreativeServingRestrictionsContexts = 0; |
| 948 buildCreativeServingRestrictionsContexts() { | 948 buildCreativeServingRestrictionsContexts() { |
| 949 var o = new api.CreativeServingRestrictionsContexts(); | 949 var o = new api.CreativeServingRestrictionsContexts(); |
| 950 buildCounterCreativeServingRestrictionsContexts++; | 950 buildCounterCreativeServingRestrictionsContexts++; |
| 951 if (buildCounterCreativeServingRestrictionsContexts < 3) { | 951 if (buildCounterCreativeServingRestrictionsContexts < 3) { |
| 952 o.auctionType = buildUnnamed75(); | 952 o.auctionType = buildUnnamed2160(); |
| 953 o.contextType = "foo"; | 953 o.contextType = "foo"; |
| 954 o.geoCriteriaId = buildUnnamed76(); | 954 o.geoCriteriaId = buildUnnamed2161(); |
| 955 o.platform = buildUnnamed77(); | 955 o.platform = buildUnnamed2162(); |
| 956 } | 956 } |
| 957 buildCounterCreativeServingRestrictionsContexts--; | 957 buildCounterCreativeServingRestrictionsContexts--; |
| 958 return o; | 958 return o; |
| 959 } | 959 } |
| 960 | 960 |
| 961 checkCreativeServingRestrictionsContexts(api.CreativeServingRestrictionsContexts
o) { | 961 checkCreativeServingRestrictionsContexts(api.CreativeServingRestrictionsContexts
o) { |
| 962 buildCounterCreativeServingRestrictionsContexts++; | 962 buildCounterCreativeServingRestrictionsContexts++; |
| 963 if (buildCounterCreativeServingRestrictionsContexts < 3) { | 963 if (buildCounterCreativeServingRestrictionsContexts < 3) { |
| 964 checkUnnamed75(o.auctionType); | 964 checkUnnamed2160(o.auctionType); |
| 965 unittest.expect(o.contextType, unittest.equals('foo')); | 965 unittest.expect(o.contextType, unittest.equals('foo')); |
| 966 checkUnnamed76(o.geoCriteriaId); | 966 checkUnnamed2161(o.geoCriteriaId); |
| 967 checkUnnamed77(o.platform); | 967 checkUnnamed2162(o.platform); |
| 968 } | 968 } |
| 969 buildCounterCreativeServingRestrictionsContexts--; | 969 buildCounterCreativeServingRestrictionsContexts--; |
| 970 } | 970 } |
| 971 | 971 |
| 972 buildUnnamed78() { | 972 buildUnnamed2163() { |
| 973 var o = new core.List<api.CreativeServingRestrictionsContexts>(); | 973 var o = new core.List<api.CreativeServingRestrictionsContexts>(); |
| 974 o.add(buildCreativeServingRestrictionsContexts()); | 974 o.add(buildCreativeServingRestrictionsContexts()); |
| 975 o.add(buildCreativeServingRestrictionsContexts()); | 975 o.add(buildCreativeServingRestrictionsContexts()); |
| 976 return o; | 976 return o; |
| 977 } | 977 } |
| 978 | 978 |
| 979 checkUnnamed78(core.List<api.CreativeServingRestrictionsContexts> o) { | 979 checkUnnamed2163(core.List<api.CreativeServingRestrictionsContexts> o) { |
| 980 unittest.expect(o, unittest.hasLength(2)); | 980 unittest.expect(o, unittest.hasLength(2)); |
| 981 checkCreativeServingRestrictionsContexts(o[0]); | 981 checkCreativeServingRestrictionsContexts(o[0]); |
| 982 checkCreativeServingRestrictionsContexts(o[1]); | 982 checkCreativeServingRestrictionsContexts(o[1]); |
| 983 } | 983 } |
| 984 | 984 |
| 985 buildUnnamed79() { | 985 buildUnnamed2164() { |
| 986 var o = new core.List<core.String>(); | 986 var o = new core.List<core.String>(); |
| 987 o.add("foo"); | 987 o.add("foo"); |
| 988 o.add("foo"); | 988 o.add("foo"); |
| 989 return o; | 989 return o; |
| 990 } | 990 } |
| 991 | 991 |
| 992 checkUnnamed79(core.List<core.String> o) { | 992 checkUnnamed2164(core.List<core.String> o) { |
| 993 unittest.expect(o, unittest.hasLength(2)); | 993 unittest.expect(o, unittest.hasLength(2)); |
| 994 unittest.expect(o[0], unittest.equals('foo')); | 994 unittest.expect(o[0], unittest.equals('foo')); |
| 995 unittest.expect(o[1], unittest.equals('foo')); | 995 unittest.expect(o[1], unittest.equals('foo')); |
| 996 } | 996 } |
| 997 | 997 |
| 998 core.int buildCounterCreativeServingRestrictionsDisapprovalReasons = 0; | 998 core.int buildCounterCreativeServingRestrictionsDisapprovalReasons = 0; |
| 999 buildCreativeServingRestrictionsDisapprovalReasons() { | 999 buildCreativeServingRestrictionsDisapprovalReasons() { |
| 1000 var o = new api.CreativeServingRestrictionsDisapprovalReasons(); | 1000 var o = new api.CreativeServingRestrictionsDisapprovalReasons(); |
| 1001 buildCounterCreativeServingRestrictionsDisapprovalReasons++; | 1001 buildCounterCreativeServingRestrictionsDisapprovalReasons++; |
| 1002 if (buildCounterCreativeServingRestrictionsDisapprovalReasons < 3) { | 1002 if (buildCounterCreativeServingRestrictionsDisapprovalReasons < 3) { |
| 1003 o.details = buildUnnamed79(); | 1003 o.details = buildUnnamed2164(); |
| 1004 o.reason = "foo"; | 1004 o.reason = "foo"; |
| 1005 } | 1005 } |
| 1006 buildCounterCreativeServingRestrictionsDisapprovalReasons--; | 1006 buildCounterCreativeServingRestrictionsDisapprovalReasons--; |
| 1007 return o; | 1007 return o; |
| 1008 } | 1008 } |
| 1009 | 1009 |
| 1010 checkCreativeServingRestrictionsDisapprovalReasons(api.CreativeServingRestrictio
nsDisapprovalReasons o) { | 1010 checkCreativeServingRestrictionsDisapprovalReasons(api.CreativeServingRestrictio
nsDisapprovalReasons o) { |
| 1011 buildCounterCreativeServingRestrictionsDisapprovalReasons++; | 1011 buildCounterCreativeServingRestrictionsDisapprovalReasons++; |
| 1012 if (buildCounterCreativeServingRestrictionsDisapprovalReasons < 3) { | 1012 if (buildCounterCreativeServingRestrictionsDisapprovalReasons < 3) { |
| 1013 checkUnnamed79(o.details); | 1013 checkUnnamed2164(o.details); |
| 1014 unittest.expect(o.reason, unittest.equals('foo')); | 1014 unittest.expect(o.reason, unittest.equals('foo')); |
| 1015 } | 1015 } |
| 1016 buildCounterCreativeServingRestrictionsDisapprovalReasons--; | 1016 buildCounterCreativeServingRestrictionsDisapprovalReasons--; |
| 1017 } | 1017 } |
| 1018 | 1018 |
| 1019 buildUnnamed80() { | 1019 buildUnnamed2165() { |
| 1020 var o = new core.List<api.CreativeServingRestrictionsDisapprovalReasons>(); | 1020 var o = new core.List<api.CreativeServingRestrictionsDisapprovalReasons>(); |
| 1021 o.add(buildCreativeServingRestrictionsDisapprovalReasons()); | 1021 o.add(buildCreativeServingRestrictionsDisapprovalReasons()); |
| 1022 o.add(buildCreativeServingRestrictionsDisapprovalReasons()); | 1022 o.add(buildCreativeServingRestrictionsDisapprovalReasons()); |
| 1023 return o; | 1023 return o; |
| 1024 } | 1024 } |
| 1025 | 1025 |
| 1026 checkUnnamed80(core.List<api.CreativeServingRestrictionsDisapprovalReasons> o) { | 1026 checkUnnamed2165(core.List<api.CreativeServingRestrictionsDisapprovalReasons> o)
{ |
| 1027 unittest.expect(o, unittest.hasLength(2)); | 1027 unittest.expect(o, unittest.hasLength(2)); |
| 1028 checkCreativeServingRestrictionsDisapprovalReasons(o[0]); | 1028 checkCreativeServingRestrictionsDisapprovalReasons(o[0]); |
| 1029 checkCreativeServingRestrictionsDisapprovalReasons(o[1]); | 1029 checkCreativeServingRestrictionsDisapprovalReasons(o[1]); |
| 1030 } | 1030 } |
| 1031 | 1031 |
| 1032 core.int buildCounterCreativeServingRestrictions = 0; | 1032 core.int buildCounterCreativeServingRestrictions = 0; |
| 1033 buildCreativeServingRestrictions() { | 1033 buildCreativeServingRestrictions() { |
| 1034 var o = new api.CreativeServingRestrictions(); | 1034 var o = new api.CreativeServingRestrictions(); |
| 1035 buildCounterCreativeServingRestrictions++; | 1035 buildCounterCreativeServingRestrictions++; |
| 1036 if (buildCounterCreativeServingRestrictions < 3) { | 1036 if (buildCounterCreativeServingRestrictions < 3) { |
| 1037 o.contexts = buildUnnamed78(); | 1037 o.contexts = buildUnnamed2163(); |
| 1038 o.disapprovalReasons = buildUnnamed80(); | 1038 o.disapprovalReasons = buildUnnamed2165(); |
| 1039 o.reason = "foo"; | 1039 o.reason = "foo"; |
| 1040 } | 1040 } |
| 1041 buildCounterCreativeServingRestrictions--; | 1041 buildCounterCreativeServingRestrictions--; |
| 1042 return o; | 1042 return o; |
| 1043 } | 1043 } |
| 1044 | 1044 |
| 1045 checkCreativeServingRestrictions(api.CreativeServingRestrictions o) { | 1045 checkCreativeServingRestrictions(api.CreativeServingRestrictions o) { |
| 1046 buildCounterCreativeServingRestrictions++; | 1046 buildCounterCreativeServingRestrictions++; |
| 1047 if (buildCounterCreativeServingRestrictions < 3) { | 1047 if (buildCounterCreativeServingRestrictions < 3) { |
| 1048 checkUnnamed78(o.contexts); | 1048 checkUnnamed2163(o.contexts); |
| 1049 checkUnnamed80(o.disapprovalReasons); | 1049 checkUnnamed2165(o.disapprovalReasons); |
| 1050 unittest.expect(o.reason, unittest.equals('foo')); | 1050 unittest.expect(o.reason, unittest.equals('foo')); |
| 1051 } | 1051 } |
| 1052 buildCounterCreativeServingRestrictions--; | 1052 buildCounterCreativeServingRestrictions--; |
| 1053 } | 1053 } |
| 1054 | 1054 |
| 1055 buildUnnamed81() { | 1055 buildUnnamed2166() { |
| 1056 var o = new core.List<api.CreativeServingRestrictions>(); | 1056 var o = new core.List<api.CreativeServingRestrictions>(); |
| 1057 o.add(buildCreativeServingRestrictions()); | 1057 o.add(buildCreativeServingRestrictions()); |
| 1058 o.add(buildCreativeServingRestrictions()); | 1058 o.add(buildCreativeServingRestrictions()); |
| 1059 return o; | 1059 return o; |
| 1060 } | 1060 } |
| 1061 | 1061 |
| 1062 checkUnnamed81(core.List<api.CreativeServingRestrictions> o) { | 1062 checkUnnamed2166(core.List<api.CreativeServingRestrictions> o) { |
| 1063 unittest.expect(o, unittest.hasLength(2)); | 1063 unittest.expect(o, unittest.hasLength(2)); |
| 1064 checkCreativeServingRestrictions(o[0]); | 1064 checkCreativeServingRestrictions(o[0]); |
| 1065 checkCreativeServingRestrictions(o[1]); | 1065 checkCreativeServingRestrictions(o[1]); |
| 1066 } | 1066 } |
| 1067 | 1067 |
| 1068 buildUnnamed82() { | 1068 buildUnnamed2167() { |
| 1069 var o = new core.List<core.int>(); | 1069 var o = new core.List<core.int>(); |
| 1070 o.add(42); | 1070 o.add(42); |
| 1071 o.add(42); | 1071 o.add(42); |
| 1072 return o; | 1072 return o; |
| 1073 } | 1073 } |
| 1074 | 1074 |
| 1075 checkUnnamed82(core.List<core.int> o) { | 1075 checkUnnamed2167(core.List<core.int> o) { |
| 1076 unittest.expect(o, unittest.hasLength(2)); | 1076 unittest.expect(o, unittest.hasLength(2)); |
| 1077 unittest.expect(o[0], unittest.equals(42)); | 1077 unittest.expect(o[0], unittest.equals(42)); |
| 1078 unittest.expect(o[1], unittest.equals(42)); | 1078 unittest.expect(o[1], unittest.equals(42)); |
| 1079 } | 1079 } |
| 1080 | 1080 |
| 1081 core.int buildCounterCreative = 0; | 1081 core.int buildCounterCreative = 0; |
| 1082 buildCreative() { | 1082 buildCreative() { |
| 1083 var o = new api.Creative(); | 1083 var o = new api.Creative(); |
| 1084 buildCounterCreative++; | 1084 buildCounterCreative++; |
| 1085 if (buildCounterCreative < 3) { | 1085 if (buildCounterCreative < 3) { |
| 1086 o.HTMLSnippet = "foo"; | 1086 o.HTMLSnippet = "foo"; |
| 1087 o.accountId = 42; | 1087 o.accountId = 42; |
| 1088 o.adChoicesDestinationUrl = "foo"; | 1088 o.adChoicesDestinationUrl = "foo"; |
| 1089 o.advertiserId = buildUnnamed59(); | 1089 o.advertiserId = buildUnnamed2144(); |
| 1090 o.advertiserName = "foo"; | 1090 o.advertiserName = "foo"; |
| 1091 o.agencyId = "foo"; | 1091 o.agencyId = "foo"; |
| 1092 o.apiUploadTimestamp = core.DateTime.parse("2002-02-27T14:01:02"); | 1092 o.apiUploadTimestamp = core.DateTime.parse("2002-02-27T14:01:02"); |
| 1093 o.attribute = buildUnnamed60(); | 1093 o.attribute = buildUnnamed2145(); |
| 1094 o.buyerCreativeId = "foo"; | 1094 o.buyerCreativeId = "foo"; |
| 1095 o.clickThroughUrl = buildUnnamed61(); | 1095 o.clickThroughUrl = buildUnnamed2146(); |
| 1096 o.corrections = buildUnnamed67(); | 1096 o.corrections = buildUnnamed2152(); |
| 1097 o.dealsStatus = "foo"; | 1097 o.dealsStatus = "foo"; |
| 1098 o.filteringReasons = buildCreativeFilteringReasons(); | 1098 o.filteringReasons = buildCreativeFilteringReasons(); |
| 1099 o.height = 42; | 1099 o.height = 42; |
| 1100 o.impressionTrackingUrl = buildUnnamed69(); | 1100 o.impressionTrackingUrl = buildUnnamed2154(); |
| 1101 o.kind = "foo"; | 1101 o.kind = "foo"; |
| 1102 o.languages = buildUnnamed70(); | 1102 o.languages = buildUnnamed2155(); |
| 1103 o.nativeAd = buildCreativeNativeAd(); | 1103 o.nativeAd = buildCreativeNativeAd(); |
| 1104 o.openAuctionStatus = "foo"; | 1104 o.openAuctionStatus = "foo"; |
| 1105 o.productCategories = buildUnnamed72(); | 1105 o.productCategories = buildUnnamed2157(); |
| 1106 o.restrictedCategories = buildUnnamed73(); | 1106 o.restrictedCategories = buildUnnamed2158(); |
| 1107 o.sensitiveCategories = buildUnnamed74(); | 1107 o.sensitiveCategories = buildUnnamed2159(); |
| 1108 o.servingRestrictions = buildUnnamed81(); | 1108 o.servingRestrictions = buildUnnamed2166(); |
| 1109 o.vendorType = buildUnnamed82(); | 1109 o.vendorType = buildUnnamed2167(); |
| 1110 o.version = 42; | 1110 o.version = 42; |
| 1111 o.videoURL = "foo"; | 1111 o.videoURL = "foo"; |
| 1112 o.width = 42; | 1112 o.width = 42; |
| 1113 } | 1113 } |
| 1114 buildCounterCreative--; | 1114 buildCounterCreative--; |
| 1115 return o; | 1115 return o; |
| 1116 } | 1116 } |
| 1117 | 1117 |
| 1118 checkCreative(api.Creative o) { | 1118 checkCreative(api.Creative o) { |
| 1119 buildCounterCreative++; | 1119 buildCounterCreative++; |
| 1120 if (buildCounterCreative < 3) { | 1120 if (buildCounterCreative < 3) { |
| 1121 unittest.expect(o.HTMLSnippet, unittest.equals('foo')); | 1121 unittest.expect(o.HTMLSnippet, unittest.equals('foo')); |
| 1122 unittest.expect(o.accountId, unittest.equals(42)); | 1122 unittest.expect(o.accountId, unittest.equals(42)); |
| 1123 unittest.expect(o.adChoicesDestinationUrl, unittest.equals('foo')); | 1123 unittest.expect(o.adChoicesDestinationUrl, unittest.equals('foo')); |
| 1124 checkUnnamed59(o.advertiserId); | 1124 checkUnnamed2144(o.advertiserId); |
| 1125 unittest.expect(o.advertiserName, unittest.equals('foo')); | 1125 unittest.expect(o.advertiserName, unittest.equals('foo')); |
| 1126 unittest.expect(o.agencyId, unittest.equals('foo')); | 1126 unittest.expect(o.agencyId, unittest.equals('foo')); |
| 1127 unittest.expect(o.apiUploadTimestamp, unittest.equals(core.DateTime.parse("2
002-02-27T14:01:02"))); | 1127 unittest.expect(o.apiUploadTimestamp, unittest.equals(core.DateTime.parse("2
002-02-27T14:01:02"))); |
| 1128 checkUnnamed60(o.attribute); | 1128 checkUnnamed2145(o.attribute); |
| 1129 unittest.expect(o.buyerCreativeId, unittest.equals('foo')); | 1129 unittest.expect(o.buyerCreativeId, unittest.equals('foo')); |
| 1130 checkUnnamed61(o.clickThroughUrl); | 1130 checkUnnamed2146(o.clickThroughUrl); |
| 1131 checkUnnamed67(o.corrections); | 1131 checkUnnamed2152(o.corrections); |
| 1132 unittest.expect(o.dealsStatus, unittest.equals('foo')); | 1132 unittest.expect(o.dealsStatus, unittest.equals('foo')); |
| 1133 checkCreativeFilteringReasons(o.filteringReasons); | 1133 checkCreativeFilteringReasons(o.filteringReasons); |
| 1134 unittest.expect(o.height, unittest.equals(42)); | 1134 unittest.expect(o.height, unittest.equals(42)); |
| 1135 checkUnnamed69(o.impressionTrackingUrl); | 1135 checkUnnamed2154(o.impressionTrackingUrl); |
| 1136 unittest.expect(o.kind, unittest.equals('foo')); | 1136 unittest.expect(o.kind, unittest.equals('foo')); |
| 1137 checkUnnamed70(o.languages); | 1137 checkUnnamed2155(o.languages); |
| 1138 checkCreativeNativeAd(o.nativeAd); | 1138 checkCreativeNativeAd(o.nativeAd); |
| 1139 unittest.expect(o.openAuctionStatus, unittest.equals('foo')); | 1139 unittest.expect(o.openAuctionStatus, unittest.equals('foo')); |
| 1140 checkUnnamed72(o.productCategories); | 1140 checkUnnamed2157(o.productCategories); |
| 1141 checkUnnamed73(o.restrictedCategories); | 1141 checkUnnamed2158(o.restrictedCategories); |
| 1142 checkUnnamed74(o.sensitiveCategories); | 1142 checkUnnamed2159(o.sensitiveCategories); |
| 1143 checkUnnamed81(o.servingRestrictions); | 1143 checkUnnamed2166(o.servingRestrictions); |
| 1144 checkUnnamed82(o.vendorType); | 1144 checkUnnamed2167(o.vendorType); |
| 1145 unittest.expect(o.version, unittest.equals(42)); | 1145 unittest.expect(o.version, unittest.equals(42)); |
| 1146 unittest.expect(o.videoURL, unittest.equals('foo')); | 1146 unittest.expect(o.videoURL, unittest.equals('foo')); |
| 1147 unittest.expect(o.width, unittest.equals(42)); | 1147 unittest.expect(o.width, unittest.equals(42)); |
| 1148 } | 1148 } |
| 1149 buildCounterCreative--; | 1149 buildCounterCreative--; |
| 1150 } | 1150 } |
| 1151 | 1151 |
| 1152 buildUnnamed83() { | 1152 buildUnnamed2168() { |
| 1153 var o = new core.List<api.Creative>(); | 1153 var o = new core.List<api.Creative>(); |
| 1154 o.add(buildCreative()); | 1154 o.add(buildCreative()); |
| 1155 o.add(buildCreative()); | 1155 o.add(buildCreative()); |
| 1156 return o; | 1156 return o; |
| 1157 } | 1157 } |
| 1158 | 1158 |
| 1159 checkUnnamed83(core.List<api.Creative> o) { | 1159 checkUnnamed2168(core.List<api.Creative> o) { |
| 1160 unittest.expect(o, unittest.hasLength(2)); | 1160 unittest.expect(o, unittest.hasLength(2)); |
| 1161 checkCreative(o[0]); | 1161 checkCreative(o[0]); |
| 1162 checkCreative(o[1]); | 1162 checkCreative(o[1]); |
| 1163 } | 1163 } |
| 1164 | 1164 |
| 1165 core.int buildCounterCreativesList = 0; | 1165 core.int buildCounterCreativesList = 0; |
| 1166 buildCreativesList() { | 1166 buildCreativesList() { |
| 1167 var o = new api.CreativesList(); | 1167 var o = new api.CreativesList(); |
| 1168 buildCounterCreativesList++; | 1168 buildCounterCreativesList++; |
| 1169 if (buildCounterCreativesList < 3) { | 1169 if (buildCounterCreativesList < 3) { |
| 1170 o.items = buildUnnamed83(); | 1170 o.items = buildUnnamed2168(); |
| 1171 o.kind = "foo"; | 1171 o.kind = "foo"; |
| 1172 o.nextPageToken = "foo"; | 1172 o.nextPageToken = "foo"; |
| 1173 } | 1173 } |
| 1174 buildCounterCreativesList--; | 1174 buildCounterCreativesList--; |
| 1175 return o; | 1175 return o; |
| 1176 } | 1176 } |
| 1177 | 1177 |
| 1178 checkCreativesList(api.CreativesList o) { | 1178 checkCreativesList(api.CreativesList o) { |
| 1179 buildCounterCreativesList++; | 1179 buildCounterCreativesList++; |
| 1180 if (buildCounterCreativesList < 3) { | 1180 if (buildCounterCreativesList < 3) { |
| 1181 checkUnnamed83(o.items); | 1181 checkUnnamed2168(o.items); |
| 1182 unittest.expect(o.kind, unittest.equals('foo')); | 1182 unittest.expect(o.kind, unittest.equals('foo')); |
| 1183 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1183 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1184 } | 1184 } |
| 1185 buildCounterCreativesList--; | 1185 buildCounterCreativesList--; |
| 1186 } | 1186 } |
| 1187 | 1187 |
| 1188 core.int buildCounterDealServingMetadata = 0; | 1188 core.int buildCounterDealServingMetadata = 0; |
| 1189 buildDealServingMetadata() { | 1189 buildDealServingMetadata() { |
| 1190 var o = new api.DealServingMetadata(); | 1190 var o = new api.DealServingMetadata(); |
| 1191 buildCounterDealServingMetadata++; | 1191 buildCounterDealServingMetadata++; |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1253 checkPrice(o.estimatedGrossSpend); | 1253 checkPrice(o.estimatedGrossSpend); |
| 1254 unittest.expect(o.estimatedImpressionsPerDay, unittest.equals('foo')); | 1254 unittest.expect(o.estimatedImpressionsPerDay, unittest.equals('foo')); |
| 1255 checkDealTermsGuaranteedFixedPriceTerms(o.guaranteedFixedPriceTerms); | 1255 checkDealTermsGuaranteedFixedPriceTerms(o.guaranteedFixedPriceTerms); |
| 1256 checkDealTermsNonGuaranteedAuctionTerms(o.nonGuaranteedAuctionTerms); | 1256 checkDealTermsNonGuaranteedAuctionTerms(o.nonGuaranteedAuctionTerms); |
| 1257 checkDealTermsNonGuaranteedFixedPriceTerms(o.nonGuaranteedFixedPriceTerms); | 1257 checkDealTermsNonGuaranteedFixedPriceTerms(o.nonGuaranteedFixedPriceTerms); |
| 1258 unittest.expect(o.sellerTimeZone, unittest.equals('foo')); | 1258 unittest.expect(o.sellerTimeZone, unittest.equals('foo')); |
| 1259 } | 1259 } |
| 1260 buildCounterDealTerms--; | 1260 buildCounterDealTerms--; |
| 1261 } | 1261 } |
| 1262 | 1262 |
| 1263 buildUnnamed84() { | 1263 buildUnnamed2169() { |
| 1264 var o = new core.List<api.PricePerBuyer>(); | 1264 var o = new core.List<api.PricePerBuyer>(); |
| 1265 o.add(buildPricePerBuyer()); | 1265 o.add(buildPricePerBuyer()); |
| 1266 o.add(buildPricePerBuyer()); | 1266 o.add(buildPricePerBuyer()); |
| 1267 return o; | 1267 return o; |
| 1268 } | 1268 } |
| 1269 | 1269 |
| 1270 checkUnnamed84(core.List<api.PricePerBuyer> o) { | 1270 checkUnnamed2169(core.List<api.PricePerBuyer> o) { |
| 1271 unittest.expect(o, unittest.hasLength(2)); | 1271 unittest.expect(o, unittest.hasLength(2)); |
| 1272 checkPricePerBuyer(o[0]); | 1272 checkPricePerBuyer(o[0]); |
| 1273 checkPricePerBuyer(o[1]); | 1273 checkPricePerBuyer(o[1]); |
| 1274 } | 1274 } |
| 1275 | 1275 |
| 1276 core.int buildCounterDealTermsGuaranteedFixedPriceTerms = 0; | 1276 core.int buildCounterDealTermsGuaranteedFixedPriceTerms = 0; |
| 1277 buildDealTermsGuaranteedFixedPriceTerms() { | 1277 buildDealTermsGuaranteedFixedPriceTerms() { |
| 1278 var o = new api.DealTermsGuaranteedFixedPriceTerms(); | 1278 var o = new api.DealTermsGuaranteedFixedPriceTerms(); |
| 1279 buildCounterDealTermsGuaranteedFixedPriceTerms++; | 1279 buildCounterDealTermsGuaranteedFixedPriceTerms++; |
| 1280 if (buildCounterDealTermsGuaranteedFixedPriceTerms < 3) { | 1280 if (buildCounterDealTermsGuaranteedFixedPriceTerms < 3) { |
| 1281 o.billingInfo = buildDealTermsGuaranteedFixedPriceTermsBillingInfo(); | 1281 o.billingInfo = buildDealTermsGuaranteedFixedPriceTermsBillingInfo(); |
| 1282 o.fixedPrices = buildUnnamed84(); | 1282 o.fixedPrices = buildUnnamed2169(); |
| 1283 o.guaranteedImpressions = "foo"; | 1283 o.guaranteedImpressions = "foo"; |
| 1284 o.guaranteedLooks = "foo"; | 1284 o.guaranteedLooks = "foo"; |
| 1285 } | 1285 } |
| 1286 buildCounterDealTermsGuaranteedFixedPriceTerms--; | 1286 buildCounterDealTermsGuaranteedFixedPriceTerms--; |
| 1287 return o; | 1287 return o; |
| 1288 } | 1288 } |
| 1289 | 1289 |
| 1290 checkDealTermsGuaranteedFixedPriceTerms(api.DealTermsGuaranteedFixedPriceTerms o
) { | 1290 checkDealTermsGuaranteedFixedPriceTerms(api.DealTermsGuaranteedFixedPriceTerms o
) { |
| 1291 buildCounterDealTermsGuaranteedFixedPriceTerms++; | 1291 buildCounterDealTermsGuaranteedFixedPriceTerms++; |
| 1292 if (buildCounterDealTermsGuaranteedFixedPriceTerms < 3) { | 1292 if (buildCounterDealTermsGuaranteedFixedPriceTerms < 3) { |
| 1293 checkDealTermsGuaranteedFixedPriceTermsBillingInfo(o.billingInfo); | 1293 checkDealTermsGuaranteedFixedPriceTermsBillingInfo(o.billingInfo); |
| 1294 checkUnnamed84(o.fixedPrices); | 1294 checkUnnamed2169(o.fixedPrices); |
| 1295 unittest.expect(o.guaranteedImpressions, unittest.equals('foo')); | 1295 unittest.expect(o.guaranteedImpressions, unittest.equals('foo')); |
| 1296 unittest.expect(o.guaranteedLooks, unittest.equals('foo')); | 1296 unittest.expect(o.guaranteedLooks, unittest.equals('foo')); |
| 1297 } | 1297 } |
| 1298 buildCounterDealTermsGuaranteedFixedPriceTerms--; | 1298 buildCounterDealTermsGuaranteedFixedPriceTerms--; |
| 1299 } | 1299 } |
| 1300 | 1300 |
| 1301 core.int buildCounterDealTermsGuaranteedFixedPriceTermsBillingInfo = 0; | 1301 core.int buildCounterDealTermsGuaranteedFixedPriceTermsBillingInfo = 0; |
| 1302 buildDealTermsGuaranteedFixedPriceTermsBillingInfo() { | 1302 buildDealTermsGuaranteedFixedPriceTermsBillingInfo() { |
| 1303 var o = new api.DealTermsGuaranteedFixedPriceTermsBillingInfo(); | 1303 var o = new api.DealTermsGuaranteedFixedPriceTermsBillingInfo(); |
| 1304 buildCounterDealTermsGuaranteedFixedPriceTermsBillingInfo++; | 1304 buildCounterDealTermsGuaranteedFixedPriceTermsBillingInfo++; |
| (...skipping 11 matching lines...) Expand all Loading... |
| 1316 buildCounterDealTermsGuaranteedFixedPriceTermsBillingInfo++; | 1316 buildCounterDealTermsGuaranteedFixedPriceTermsBillingInfo++; |
| 1317 if (buildCounterDealTermsGuaranteedFixedPriceTermsBillingInfo < 3) { | 1317 if (buildCounterDealTermsGuaranteedFixedPriceTermsBillingInfo < 3) { |
| 1318 unittest.expect(o.currencyConversionTimeMs, unittest.equals('foo')); | 1318 unittest.expect(o.currencyConversionTimeMs, unittest.equals('foo')); |
| 1319 unittest.expect(o.dfpLineItemId, unittest.equals('foo')); | 1319 unittest.expect(o.dfpLineItemId, unittest.equals('foo')); |
| 1320 unittest.expect(o.originalContractedQuantity, unittest.equals('foo')); | 1320 unittest.expect(o.originalContractedQuantity, unittest.equals('foo')); |
| 1321 checkPrice(o.price); | 1321 checkPrice(o.price); |
| 1322 } | 1322 } |
| 1323 buildCounterDealTermsGuaranteedFixedPriceTermsBillingInfo--; | 1323 buildCounterDealTermsGuaranteedFixedPriceTermsBillingInfo--; |
| 1324 } | 1324 } |
| 1325 | 1325 |
| 1326 buildUnnamed85() { | 1326 buildUnnamed2170() { |
| 1327 var o = new core.List<api.PricePerBuyer>(); | 1327 var o = new core.List<api.PricePerBuyer>(); |
| 1328 o.add(buildPricePerBuyer()); | 1328 o.add(buildPricePerBuyer()); |
| 1329 o.add(buildPricePerBuyer()); | 1329 o.add(buildPricePerBuyer()); |
| 1330 return o; | 1330 return o; |
| 1331 } | 1331 } |
| 1332 | 1332 |
| 1333 checkUnnamed85(core.List<api.PricePerBuyer> o) { | 1333 checkUnnamed2170(core.List<api.PricePerBuyer> o) { |
| 1334 unittest.expect(o, unittest.hasLength(2)); | 1334 unittest.expect(o, unittest.hasLength(2)); |
| 1335 checkPricePerBuyer(o[0]); | 1335 checkPricePerBuyer(o[0]); |
| 1336 checkPricePerBuyer(o[1]); | 1336 checkPricePerBuyer(o[1]); |
| 1337 } | 1337 } |
| 1338 | 1338 |
| 1339 core.int buildCounterDealTermsNonGuaranteedAuctionTerms = 0; | 1339 core.int buildCounterDealTermsNonGuaranteedAuctionTerms = 0; |
| 1340 buildDealTermsNonGuaranteedAuctionTerms() { | 1340 buildDealTermsNonGuaranteedAuctionTerms() { |
| 1341 var o = new api.DealTermsNonGuaranteedAuctionTerms(); | 1341 var o = new api.DealTermsNonGuaranteedAuctionTerms(); |
| 1342 buildCounterDealTermsNonGuaranteedAuctionTerms++; | 1342 buildCounterDealTermsNonGuaranteedAuctionTerms++; |
| 1343 if (buildCounterDealTermsNonGuaranteedAuctionTerms < 3) { | 1343 if (buildCounterDealTermsNonGuaranteedAuctionTerms < 3) { |
| 1344 o.autoOptimizePrivateAuction = true; | 1344 o.autoOptimizePrivateAuction = true; |
| 1345 o.reservePricePerBuyers = buildUnnamed85(); | 1345 o.reservePricePerBuyers = buildUnnamed2170(); |
| 1346 } | 1346 } |
| 1347 buildCounterDealTermsNonGuaranteedAuctionTerms--; | 1347 buildCounterDealTermsNonGuaranteedAuctionTerms--; |
| 1348 return o; | 1348 return o; |
| 1349 } | 1349 } |
| 1350 | 1350 |
| 1351 checkDealTermsNonGuaranteedAuctionTerms(api.DealTermsNonGuaranteedAuctionTerms o
) { | 1351 checkDealTermsNonGuaranteedAuctionTerms(api.DealTermsNonGuaranteedAuctionTerms o
) { |
| 1352 buildCounterDealTermsNonGuaranteedAuctionTerms++; | 1352 buildCounterDealTermsNonGuaranteedAuctionTerms++; |
| 1353 if (buildCounterDealTermsNonGuaranteedAuctionTerms < 3) { | 1353 if (buildCounterDealTermsNonGuaranteedAuctionTerms < 3) { |
| 1354 unittest.expect(o.autoOptimizePrivateAuction, unittest.isTrue); | 1354 unittest.expect(o.autoOptimizePrivateAuction, unittest.isTrue); |
| 1355 checkUnnamed85(o.reservePricePerBuyers); | 1355 checkUnnamed2170(o.reservePricePerBuyers); |
| 1356 } | 1356 } |
| 1357 buildCounterDealTermsNonGuaranteedAuctionTerms--; | 1357 buildCounterDealTermsNonGuaranteedAuctionTerms--; |
| 1358 } | 1358 } |
| 1359 | 1359 |
| 1360 buildUnnamed86() { | 1360 buildUnnamed2171() { |
| 1361 var o = new core.List<api.PricePerBuyer>(); | 1361 var o = new core.List<api.PricePerBuyer>(); |
| 1362 o.add(buildPricePerBuyer()); | 1362 o.add(buildPricePerBuyer()); |
| 1363 o.add(buildPricePerBuyer()); | 1363 o.add(buildPricePerBuyer()); |
| 1364 return o; | 1364 return o; |
| 1365 } | 1365 } |
| 1366 | 1366 |
| 1367 checkUnnamed86(core.List<api.PricePerBuyer> o) { | 1367 checkUnnamed2171(core.List<api.PricePerBuyer> o) { |
| 1368 unittest.expect(o, unittest.hasLength(2)); | 1368 unittest.expect(o, unittest.hasLength(2)); |
| 1369 checkPricePerBuyer(o[0]); | 1369 checkPricePerBuyer(o[0]); |
| 1370 checkPricePerBuyer(o[1]); | 1370 checkPricePerBuyer(o[1]); |
| 1371 } | 1371 } |
| 1372 | 1372 |
| 1373 core.int buildCounterDealTermsNonGuaranteedFixedPriceTerms = 0; | 1373 core.int buildCounterDealTermsNonGuaranteedFixedPriceTerms = 0; |
| 1374 buildDealTermsNonGuaranteedFixedPriceTerms() { | 1374 buildDealTermsNonGuaranteedFixedPriceTerms() { |
| 1375 var o = new api.DealTermsNonGuaranteedFixedPriceTerms(); | 1375 var o = new api.DealTermsNonGuaranteedFixedPriceTerms(); |
| 1376 buildCounterDealTermsNonGuaranteedFixedPriceTerms++; | 1376 buildCounterDealTermsNonGuaranteedFixedPriceTerms++; |
| 1377 if (buildCounterDealTermsNonGuaranteedFixedPriceTerms < 3) { | 1377 if (buildCounterDealTermsNonGuaranteedFixedPriceTerms < 3) { |
| 1378 o.fixedPrices = buildUnnamed86(); | 1378 o.fixedPrices = buildUnnamed2171(); |
| 1379 } | 1379 } |
| 1380 buildCounterDealTermsNonGuaranteedFixedPriceTerms--; | 1380 buildCounterDealTermsNonGuaranteedFixedPriceTerms--; |
| 1381 return o; | 1381 return o; |
| 1382 } | 1382 } |
| 1383 | 1383 |
| 1384 checkDealTermsNonGuaranteedFixedPriceTerms(api.DealTermsNonGuaranteedFixedPriceT
erms o) { | 1384 checkDealTermsNonGuaranteedFixedPriceTerms(api.DealTermsNonGuaranteedFixedPriceT
erms o) { |
| 1385 buildCounterDealTermsNonGuaranteedFixedPriceTerms++; | 1385 buildCounterDealTermsNonGuaranteedFixedPriceTerms++; |
| 1386 if (buildCounterDealTermsNonGuaranteedFixedPriceTerms < 3) { | 1386 if (buildCounterDealTermsNonGuaranteedFixedPriceTerms < 3) { |
| 1387 checkUnnamed86(o.fixedPrices); | 1387 checkUnnamed2171(o.fixedPrices); |
| 1388 } | 1388 } |
| 1389 buildCounterDealTermsNonGuaranteedFixedPriceTerms--; | 1389 buildCounterDealTermsNonGuaranteedFixedPriceTerms--; |
| 1390 } | 1390 } |
| 1391 | 1391 |
| 1392 buildUnnamed87() { | 1392 buildUnnamed2172() { |
| 1393 var o = new core.List<core.String>(); | 1393 var o = new core.List<core.String>(); |
| 1394 o.add("foo"); | 1394 o.add("foo"); |
| 1395 o.add("foo"); | 1395 o.add("foo"); |
| 1396 return o; | 1396 return o; |
| 1397 } | 1397 } |
| 1398 | 1398 |
| 1399 checkUnnamed87(core.List<core.String> o) { | 1399 checkUnnamed2172(core.List<core.String> o) { |
| 1400 unittest.expect(o, unittest.hasLength(2)); | 1400 unittest.expect(o, unittest.hasLength(2)); |
| 1401 unittest.expect(o[0], unittest.equals('foo')); | 1401 unittest.expect(o[0], unittest.equals('foo')); |
| 1402 unittest.expect(o[1], unittest.equals('foo')); | 1402 unittest.expect(o[1], unittest.equals('foo')); |
| 1403 } | 1403 } |
| 1404 | 1404 |
| 1405 core.int buildCounterDeleteOrderDealsRequest = 0; | 1405 core.int buildCounterDeleteOrderDealsRequest = 0; |
| 1406 buildDeleteOrderDealsRequest() { | 1406 buildDeleteOrderDealsRequest() { |
| 1407 var o = new api.DeleteOrderDealsRequest(); | 1407 var o = new api.DeleteOrderDealsRequest(); |
| 1408 buildCounterDeleteOrderDealsRequest++; | 1408 buildCounterDeleteOrderDealsRequest++; |
| 1409 if (buildCounterDeleteOrderDealsRequest < 3) { | 1409 if (buildCounterDeleteOrderDealsRequest < 3) { |
| 1410 o.dealIds = buildUnnamed87(); | 1410 o.dealIds = buildUnnamed2172(); |
| 1411 o.proposalRevisionNumber = "foo"; | 1411 o.proposalRevisionNumber = "foo"; |
| 1412 o.updateAction = "foo"; | 1412 o.updateAction = "foo"; |
| 1413 } | 1413 } |
| 1414 buildCounterDeleteOrderDealsRequest--; | 1414 buildCounterDeleteOrderDealsRequest--; |
| 1415 return o; | 1415 return o; |
| 1416 } | 1416 } |
| 1417 | 1417 |
| 1418 checkDeleteOrderDealsRequest(api.DeleteOrderDealsRequest o) { | 1418 checkDeleteOrderDealsRequest(api.DeleteOrderDealsRequest o) { |
| 1419 buildCounterDeleteOrderDealsRequest++; | 1419 buildCounterDeleteOrderDealsRequest++; |
| 1420 if (buildCounterDeleteOrderDealsRequest < 3) { | 1420 if (buildCounterDeleteOrderDealsRequest < 3) { |
| 1421 checkUnnamed87(o.dealIds); | 1421 checkUnnamed2172(o.dealIds); |
| 1422 unittest.expect(o.proposalRevisionNumber, unittest.equals('foo')); | 1422 unittest.expect(o.proposalRevisionNumber, unittest.equals('foo')); |
| 1423 unittest.expect(o.updateAction, unittest.equals('foo')); | 1423 unittest.expect(o.updateAction, unittest.equals('foo')); |
| 1424 } | 1424 } |
| 1425 buildCounterDeleteOrderDealsRequest--; | 1425 buildCounterDeleteOrderDealsRequest--; |
| 1426 } | 1426 } |
| 1427 | 1427 |
| 1428 buildUnnamed88() { | 1428 buildUnnamed2173() { |
| 1429 var o = new core.List<api.MarketplaceDeal>(); | 1429 var o = new core.List<api.MarketplaceDeal>(); |
| 1430 o.add(buildMarketplaceDeal()); | 1430 o.add(buildMarketplaceDeal()); |
| 1431 o.add(buildMarketplaceDeal()); | 1431 o.add(buildMarketplaceDeal()); |
| 1432 return o; | 1432 return o; |
| 1433 } | 1433 } |
| 1434 | 1434 |
| 1435 checkUnnamed88(core.List<api.MarketplaceDeal> o) { | 1435 checkUnnamed2173(core.List<api.MarketplaceDeal> o) { |
| 1436 unittest.expect(o, unittest.hasLength(2)); | 1436 unittest.expect(o, unittest.hasLength(2)); |
| 1437 checkMarketplaceDeal(o[0]); | 1437 checkMarketplaceDeal(o[0]); |
| 1438 checkMarketplaceDeal(o[1]); | 1438 checkMarketplaceDeal(o[1]); |
| 1439 } | 1439 } |
| 1440 | 1440 |
| 1441 core.int buildCounterDeleteOrderDealsResponse = 0; | 1441 core.int buildCounterDeleteOrderDealsResponse = 0; |
| 1442 buildDeleteOrderDealsResponse() { | 1442 buildDeleteOrderDealsResponse() { |
| 1443 var o = new api.DeleteOrderDealsResponse(); | 1443 var o = new api.DeleteOrderDealsResponse(); |
| 1444 buildCounterDeleteOrderDealsResponse++; | 1444 buildCounterDeleteOrderDealsResponse++; |
| 1445 if (buildCounterDeleteOrderDealsResponse < 3) { | 1445 if (buildCounterDeleteOrderDealsResponse < 3) { |
| 1446 o.deals = buildUnnamed88(); | 1446 o.deals = buildUnnamed2173(); |
| 1447 o.proposalRevisionNumber = "foo"; | 1447 o.proposalRevisionNumber = "foo"; |
| 1448 } | 1448 } |
| 1449 buildCounterDeleteOrderDealsResponse--; | 1449 buildCounterDeleteOrderDealsResponse--; |
| 1450 return o; | 1450 return o; |
| 1451 } | 1451 } |
| 1452 | 1452 |
| 1453 checkDeleteOrderDealsResponse(api.DeleteOrderDealsResponse o) { | 1453 checkDeleteOrderDealsResponse(api.DeleteOrderDealsResponse o) { |
| 1454 buildCounterDeleteOrderDealsResponse++; | 1454 buildCounterDeleteOrderDealsResponse++; |
| 1455 if (buildCounterDeleteOrderDealsResponse < 3) { | 1455 if (buildCounterDeleteOrderDealsResponse < 3) { |
| 1456 checkUnnamed88(o.deals); | 1456 checkUnnamed2173(o.deals); |
| 1457 unittest.expect(o.proposalRevisionNumber, unittest.equals('foo')); | 1457 unittest.expect(o.proposalRevisionNumber, unittest.equals('foo')); |
| 1458 } | 1458 } |
| 1459 buildCounterDeleteOrderDealsResponse--; | 1459 buildCounterDeleteOrderDealsResponse--; |
| 1460 } | 1460 } |
| 1461 | 1461 |
| 1462 buildUnnamed89() { | 1462 buildUnnamed2174() { |
| 1463 var o = new core.List<api.DeliveryControlFrequencyCap>(); | 1463 var o = new core.List<api.DeliveryControlFrequencyCap>(); |
| 1464 o.add(buildDeliveryControlFrequencyCap()); | 1464 o.add(buildDeliveryControlFrequencyCap()); |
| 1465 o.add(buildDeliveryControlFrequencyCap()); | 1465 o.add(buildDeliveryControlFrequencyCap()); |
| 1466 return o; | 1466 return o; |
| 1467 } | 1467 } |
| 1468 | 1468 |
| 1469 checkUnnamed89(core.List<api.DeliveryControlFrequencyCap> o) { | 1469 checkUnnamed2174(core.List<api.DeliveryControlFrequencyCap> o) { |
| 1470 unittest.expect(o, unittest.hasLength(2)); | 1470 unittest.expect(o, unittest.hasLength(2)); |
| 1471 checkDeliveryControlFrequencyCap(o[0]); | 1471 checkDeliveryControlFrequencyCap(o[0]); |
| 1472 checkDeliveryControlFrequencyCap(o[1]); | 1472 checkDeliveryControlFrequencyCap(o[1]); |
| 1473 } | 1473 } |
| 1474 | 1474 |
| 1475 core.int buildCounterDeliveryControl = 0; | 1475 core.int buildCounterDeliveryControl = 0; |
| 1476 buildDeliveryControl() { | 1476 buildDeliveryControl() { |
| 1477 var o = new api.DeliveryControl(); | 1477 var o = new api.DeliveryControl(); |
| 1478 buildCounterDeliveryControl++; | 1478 buildCounterDeliveryControl++; |
| 1479 if (buildCounterDeliveryControl < 3) { | 1479 if (buildCounterDeliveryControl < 3) { |
| 1480 o.creativeBlockingLevel = "foo"; | 1480 o.creativeBlockingLevel = "foo"; |
| 1481 o.deliveryRateType = "foo"; | 1481 o.deliveryRateType = "foo"; |
| 1482 o.frequencyCaps = buildUnnamed89(); | 1482 o.frequencyCaps = buildUnnamed2174(); |
| 1483 } | 1483 } |
| 1484 buildCounterDeliveryControl--; | 1484 buildCounterDeliveryControl--; |
| 1485 return o; | 1485 return o; |
| 1486 } | 1486 } |
| 1487 | 1487 |
| 1488 checkDeliveryControl(api.DeliveryControl o) { | 1488 checkDeliveryControl(api.DeliveryControl o) { |
| 1489 buildCounterDeliveryControl++; | 1489 buildCounterDeliveryControl++; |
| 1490 if (buildCounterDeliveryControl < 3) { | 1490 if (buildCounterDeliveryControl < 3) { |
| 1491 unittest.expect(o.creativeBlockingLevel, unittest.equals('foo')); | 1491 unittest.expect(o.creativeBlockingLevel, unittest.equals('foo')); |
| 1492 unittest.expect(o.deliveryRateType, unittest.equals('foo')); | 1492 unittest.expect(o.deliveryRateType, unittest.equals('foo')); |
| 1493 checkUnnamed89(o.frequencyCaps); | 1493 checkUnnamed2174(o.frequencyCaps); |
| 1494 } | 1494 } |
| 1495 buildCounterDeliveryControl--; | 1495 buildCounterDeliveryControl--; |
| 1496 } | 1496 } |
| 1497 | 1497 |
| 1498 core.int buildCounterDeliveryControlFrequencyCap = 0; | 1498 core.int buildCounterDeliveryControlFrequencyCap = 0; |
| 1499 buildDeliveryControlFrequencyCap() { | 1499 buildDeliveryControlFrequencyCap() { |
| 1500 var o = new api.DeliveryControlFrequencyCap(); | 1500 var o = new api.DeliveryControlFrequencyCap(); |
| 1501 buildCounterDeliveryControlFrequencyCap++; | 1501 buildCounterDeliveryControlFrequencyCap++; |
| 1502 if (buildCounterDeliveryControlFrequencyCap < 3) { | 1502 if (buildCounterDeliveryControlFrequencyCap < 3) { |
| 1503 o.maxImpressions = 42; | 1503 o.maxImpressions = 42; |
| 1504 o.numTimeUnits = 42; | 1504 o.numTimeUnits = 42; |
| 1505 o.timeUnitType = "foo"; | 1505 o.timeUnitType = "foo"; |
| 1506 } | 1506 } |
| 1507 buildCounterDeliveryControlFrequencyCap--; | 1507 buildCounterDeliveryControlFrequencyCap--; |
| 1508 return o; | 1508 return o; |
| 1509 } | 1509 } |
| 1510 | 1510 |
| 1511 checkDeliveryControlFrequencyCap(api.DeliveryControlFrequencyCap o) { | 1511 checkDeliveryControlFrequencyCap(api.DeliveryControlFrequencyCap o) { |
| 1512 buildCounterDeliveryControlFrequencyCap++; | 1512 buildCounterDeliveryControlFrequencyCap++; |
| 1513 if (buildCounterDeliveryControlFrequencyCap < 3) { | 1513 if (buildCounterDeliveryControlFrequencyCap < 3) { |
| 1514 unittest.expect(o.maxImpressions, unittest.equals(42)); | 1514 unittest.expect(o.maxImpressions, unittest.equals(42)); |
| 1515 unittest.expect(o.numTimeUnits, unittest.equals(42)); | 1515 unittest.expect(o.numTimeUnits, unittest.equals(42)); |
| 1516 unittest.expect(o.timeUnitType, unittest.equals('foo')); | 1516 unittest.expect(o.timeUnitType, unittest.equals('foo')); |
| 1517 } | 1517 } |
| 1518 buildCounterDeliveryControlFrequencyCap--; | 1518 buildCounterDeliveryControlFrequencyCap--; |
| 1519 } | 1519 } |
| 1520 | 1520 |
| 1521 buildUnnamed90() { | 1521 buildUnnamed2175() { |
| 1522 var o = new core.List<api.DimensionDimensionValue>(); | 1522 var o = new core.List<api.DimensionDimensionValue>(); |
| 1523 o.add(buildDimensionDimensionValue()); | 1523 o.add(buildDimensionDimensionValue()); |
| 1524 o.add(buildDimensionDimensionValue()); | 1524 o.add(buildDimensionDimensionValue()); |
| 1525 return o; | 1525 return o; |
| 1526 } | 1526 } |
| 1527 | 1527 |
| 1528 checkUnnamed90(core.List<api.DimensionDimensionValue> o) { | 1528 checkUnnamed2175(core.List<api.DimensionDimensionValue> o) { |
| 1529 unittest.expect(o, unittest.hasLength(2)); | 1529 unittest.expect(o, unittest.hasLength(2)); |
| 1530 checkDimensionDimensionValue(o[0]); | 1530 checkDimensionDimensionValue(o[0]); |
| 1531 checkDimensionDimensionValue(o[1]); | 1531 checkDimensionDimensionValue(o[1]); |
| 1532 } | 1532 } |
| 1533 | 1533 |
| 1534 core.int buildCounterDimension = 0; | 1534 core.int buildCounterDimension = 0; |
| 1535 buildDimension() { | 1535 buildDimension() { |
| 1536 var o = new api.Dimension(); | 1536 var o = new api.Dimension(); |
| 1537 buildCounterDimension++; | 1537 buildCounterDimension++; |
| 1538 if (buildCounterDimension < 3) { | 1538 if (buildCounterDimension < 3) { |
| 1539 o.dimensionType = "foo"; | 1539 o.dimensionType = "foo"; |
| 1540 o.dimensionValues = buildUnnamed90(); | 1540 o.dimensionValues = buildUnnamed2175(); |
| 1541 } | 1541 } |
| 1542 buildCounterDimension--; | 1542 buildCounterDimension--; |
| 1543 return o; | 1543 return o; |
| 1544 } | 1544 } |
| 1545 | 1545 |
| 1546 checkDimension(api.Dimension o) { | 1546 checkDimension(api.Dimension o) { |
| 1547 buildCounterDimension++; | 1547 buildCounterDimension++; |
| 1548 if (buildCounterDimension < 3) { | 1548 if (buildCounterDimension < 3) { |
| 1549 unittest.expect(o.dimensionType, unittest.equals('foo')); | 1549 unittest.expect(o.dimensionType, unittest.equals('foo')); |
| 1550 checkUnnamed90(o.dimensionValues); | 1550 checkUnnamed2175(o.dimensionValues); |
| 1551 } | 1551 } |
| 1552 buildCounterDimension--; | 1552 buildCounterDimension--; |
| 1553 } | 1553 } |
| 1554 | 1554 |
| 1555 core.int buildCounterDimensionDimensionValue = 0; | 1555 core.int buildCounterDimensionDimensionValue = 0; |
| 1556 buildDimensionDimensionValue() { | 1556 buildDimensionDimensionValue() { |
| 1557 var o = new api.DimensionDimensionValue(); | 1557 var o = new api.DimensionDimensionValue(); |
| 1558 buildCounterDimensionDimensionValue++; | 1558 buildCounterDimensionDimensionValue++; |
| 1559 if (buildCounterDimensionDimensionValue < 3) { | 1559 if (buildCounterDimensionDimensionValue < 3) { |
| 1560 o.id = 42; | 1560 o.id = 42; |
| 1561 o.name = "foo"; | 1561 o.name = "foo"; |
| 1562 o.percentage = 42; | 1562 o.percentage = 42; |
| 1563 } | 1563 } |
| 1564 buildCounterDimensionDimensionValue--; | 1564 buildCounterDimensionDimensionValue--; |
| 1565 return o; | 1565 return o; |
| 1566 } | 1566 } |
| 1567 | 1567 |
| 1568 checkDimensionDimensionValue(api.DimensionDimensionValue o) { | 1568 checkDimensionDimensionValue(api.DimensionDimensionValue o) { |
| 1569 buildCounterDimensionDimensionValue++; | 1569 buildCounterDimensionDimensionValue++; |
| 1570 if (buildCounterDimensionDimensionValue < 3) { | 1570 if (buildCounterDimensionDimensionValue < 3) { |
| 1571 unittest.expect(o.id, unittest.equals(42)); | 1571 unittest.expect(o.id, unittest.equals(42)); |
| 1572 unittest.expect(o.name, unittest.equals('foo')); | 1572 unittest.expect(o.name, unittest.equals('foo')); |
| 1573 unittest.expect(o.percentage, unittest.equals(42)); | 1573 unittest.expect(o.percentage, unittest.equals(42)); |
| 1574 } | 1574 } |
| 1575 buildCounterDimensionDimensionValue--; | 1575 buildCounterDimensionDimensionValue--; |
| 1576 } | 1576 } |
| 1577 | 1577 |
| 1578 buildUnnamed91() { | 1578 buildUnnamed2176() { |
| 1579 var o = new core.List<api.MarketplaceDeal>(); | 1579 var o = new core.List<api.MarketplaceDeal>(); |
| 1580 o.add(buildMarketplaceDeal()); | 1580 o.add(buildMarketplaceDeal()); |
| 1581 o.add(buildMarketplaceDeal()); | 1581 o.add(buildMarketplaceDeal()); |
| 1582 return o; | 1582 return o; |
| 1583 } | 1583 } |
| 1584 | 1584 |
| 1585 checkUnnamed91(core.List<api.MarketplaceDeal> o) { | 1585 checkUnnamed2176(core.List<api.MarketplaceDeal> o) { |
| 1586 unittest.expect(o, unittest.hasLength(2)); | 1586 unittest.expect(o, unittest.hasLength(2)); |
| 1587 checkMarketplaceDeal(o[0]); | 1587 checkMarketplaceDeal(o[0]); |
| 1588 checkMarketplaceDeal(o[1]); | 1588 checkMarketplaceDeal(o[1]); |
| 1589 } | 1589 } |
| 1590 | 1590 |
| 1591 core.int buildCounterEditAllOrderDealsRequest = 0; | 1591 core.int buildCounterEditAllOrderDealsRequest = 0; |
| 1592 buildEditAllOrderDealsRequest() { | 1592 buildEditAllOrderDealsRequest() { |
| 1593 var o = new api.EditAllOrderDealsRequest(); | 1593 var o = new api.EditAllOrderDealsRequest(); |
| 1594 buildCounterEditAllOrderDealsRequest++; | 1594 buildCounterEditAllOrderDealsRequest++; |
| 1595 if (buildCounterEditAllOrderDealsRequest < 3) { | 1595 if (buildCounterEditAllOrderDealsRequest < 3) { |
| 1596 o.deals = buildUnnamed91(); | 1596 o.deals = buildUnnamed2176(); |
| 1597 o.proposal = buildProposal(); | 1597 o.proposal = buildProposal(); |
| 1598 o.proposalRevisionNumber = "foo"; | 1598 o.proposalRevisionNumber = "foo"; |
| 1599 o.updateAction = "foo"; | 1599 o.updateAction = "foo"; |
| 1600 } | 1600 } |
| 1601 buildCounterEditAllOrderDealsRequest--; | 1601 buildCounterEditAllOrderDealsRequest--; |
| 1602 return o; | 1602 return o; |
| 1603 } | 1603 } |
| 1604 | 1604 |
| 1605 checkEditAllOrderDealsRequest(api.EditAllOrderDealsRequest o) { | 1605 checkEditAllOrderDealsRequest(api.EditAllOrderDealsRequest o) { |
| 1606 buildCounterEditAllOrderDealsRequest++; | 1606 buildCounterEditAllOrderDealsRequest++; |
| 1607 if (buildCounterEditAllOrderDealsRequest < 3) { | 1607 if (buildCounterEditAllOrderDealsRequest < 3) { |
| 1608 checkUnnamed91(o.deals); | 1608 checkUnnamed2176(o.deals); |
| 1609 checkProposal(o.proposal); | 1609 checkProposal(o.proposal); |
| 1610 unittest.expect(o.proposalRevisionNumber, unittest.equals('foo')); | 1610 unittest.expect(o.proposalRevisionNumber, unittest.equals('foo')); |
| 1611 unittest.expect(o.updateAction, unittest.equals('foo')); | 1611 unittest.expect(o.updateAction, unittest.equals('foo')); |
| 1612 } | 1612 } |
| 1613 buildCounterEditAllOrderDealsRequest--; | 1613 buildCounterEditAllOrderDealsRequest--; |
| 1614 } | 1614 } |
| 1615 | 1615 |
| 1616 buildUnnamed92() { | 1616 buildUnnamed2177() { |
| 1617 var o = new core.List<api.MarketplaceDeal>(); | 1617 var o = new core.List<api.MarketplaceDeal>(); |
| 1618 o.add(buildMarketplaceDeal()); | 1618 o.add(buildMarketplaceDeal()); |
| 1619 o.add(buildMarketplaceDeal()); | 1619 o.add(buildMarketplaceDeal()); |
| 1620 return o; | 1620 return o; |
| 1621 } | 1621 } |
| 1622 | 1622 |
| 1623 checkUnnamed92(core.List<api.MarketplaceDeal> o) { | 1623 checkUnnamed2177(core.List<api.MarketplaceDeal> o) { |
| 1624 unittest.expect(o, unittest.hasLength(2)); | 1624 unittest.expect(o, unittest.hasLength(2)); |
| 1625 checkMarketplaceDeal(o[0]); | 1625 checkMarketplaceDeal(o[0]); |
| 1626 checkMarketplaceDeal(o[1]); | 1626 checkMarketplaceDeal(o[1]); |
| 1627 } | 1627 } |
| 1628 | 1628 |
| 1629 core.int buildCounterEditAllOrderDealsResponse = 0; | 1629 core.int buildCounterEditAllOrderDealsResponse = 0; |
| 1630 buildEditAllOrderDealsResponse() { | 1630 buildEditAllOrderDealsResponse() { |
| 1631 var o = new api.EditAllOrderDealsResponse(); | 1631 var o = new api.EditAllOrderDealsResponse(); |
| 1632 buildCounterEditAllOrderDealsResponse++; | 1632 buildCounterEditAllOrderDealsResponse++; |
| 1633 if (buildCounterEditAllOrderDealsResponse < 3) { | 1633 if (buildCounterEditAllOrderDealsResponse < 3) { |
| 1634 o.deals = buildUnnamed92(); | 1634 o.deals = buildUnnamed2177(); |
| 1635 o.orderRevisionNumber = "foo"; | 1635 o.orderRevisionNumber = "foo"; |
| 1636 } | 1636 } |
| 1637 buildCounterEditAllOrderDealsResponse--; | 1637 buildCounterEditAllOrderDealsResponse--; |
| 1638 return o; | 1638 return o; |
| 1639 } | 1639 } |
| 1640 | 1640 |
| 1641 checkEditAllOrderDealsResponse(api.EditAllOrderDealsResponse o) { | 1641 checkEditAllOrderDealsResponse(api.EditAllOrderDealsResponse o) { |
| 1642 buildCounterEditAllOrderDealsResponse++; | 1642 buildCounterEditAllOrderDealsResponse++; |
| 1643 if (buildCounterEditAllOrderDealsResponse < 3) { | 1643 if (buildCounterEditAllOrderDealsResponse < 3) { |
| 1644 checkUnnamed92(o.deals); | 1644 checkUnnamed2177(o.deals); |
| 1645 unittest.expect(o.orderRevisionNumber, unittest.equals('foo')); | 1645 unittest.expect(o.orderRevisionNumber, unittest.equals('foo')); |
| 1646 } | 1646 } |
| 1647 buildCounterEditAllOrderDealsResponse--; | 1647 buildCounterEditAllOrderDealsResponse--; |
| 1648 } | 1648 } |
| 1649 | 1649 |
| 1650 buildUnnamed93() { | 1650 buildUnnamed2178() { |
| 1651 var o = new core.List<api.Product>(); | 1651 var o = new core.List<api.Product>(); |
| 1652 o.add(buildProduct()); | 1652 o.add(buildProduct()); |
| 1653 o.add(buildProduct()); | 1653 o.add(buildProduct()); |
| 1654 return o; | 1654 return o; |
| 1655 } | 1655 } |
| 1656 | 1656 |
| 1657 checkUnnamed93(core.List<api.Product> o) { | 1657 checkUnnamed2178(core.List<api.Product> o) { |
| 1658 unittest.expect(o, unittest.hasLength(2)); | 1658 unittest.expect(o, unittest.hasLength(2)); |
| 1659 checkProduct(o[0]); | 1659 checkProduct(o[0]); |
| 1660 checkProduct(o[1]); | 1660 checkProduct(o[1]); |
| 1661 } | 1661 } |
| 1662 | 1662 |
| 1663 core.int buildCounterGetOffersResponse = 0; | 1663 core.int buildCounterGetOffersResponse = 0; |
| 1664 buildGetOffersResponse() { | 1664 buildGetOffersResponse() { |
| 1665 var o = new api.GetOffersResponse(); | 1665 var o = new api.GetOffersResponse(); |
| 1666 buildCounterGetOffersResponse++; | 1666 buildCounterGetOffersResponse++; |
| 1667 if (buildCounterGetOffersResponse < 3) { | 1667 if (buildCounterGetOffersResponse < 3) { |
| 1668 o.products = buildUnnamed93(); | 1668 o.products = buildUnnamed2178(); |
| 1669 } | 1669 } |
| 1670 buildCounterGetOffersResponse--; | 1670 buildCounterGetOffersResponse--; |
| 1671 return o; | 1671 return o; |
| 1672 } | 1672 } |
| 1673 | 1673 |
| 1674 checkGetOffersResponse(api.GetOffersResponse o) { | 1674 checkGetOffersResponse(api.GetOffersResponse o) { |
| 1675 buildCounterGetOffersResponse++; | 1675 buildCounterGetOffersResponse++; |
| 1676 if (buildCounterGetOffersResponse < 3) { | 1676 if (buildCounterGetOffersResponse < 3) { |
| 1677 checkUnnamed93(o.products); | 1677 checkUnnamed2178(o.products); |
| 1678 } | 1678 } |
| 1679 buildCounterGetOffersResponse--; | 1679 buildCounterGetOffersResponse--; |
| 1680 } | 1680 } |
| 1681 | 1681 |
| 1682 buildUnnamed94() { | 1682 buildUnnamed2179() { |
| 1683 var o = new core.List<api.MarketplaceDeal>(); | 1683 var o = new core.List<api.MarketplaceDeal>(); |
| 1684 o.add(buildMarketplaceDeal()); | 1684 o.add(buildMarketplaceDeal()); |
| 1685 o.add(buildMarketplaceDeal()); | 1685 o.add(buildMarketplaceDeal()); |
| 1686 return o; | 1686 return o; |
| 1687 } | 1687 } |
| 1688 | 1688 |
| 1689 checkUnnamed94(core.List<api.MarketplaceDeal> o) { | 1689 checkUnnamed2179(core.List<api.MarketplaceDeal> o) { |
| 1690 unittest.expect(o, unittest.hasLength(2)); | 1690 unittest.expect(o, unittest.hasLength(2)); |
| 1691 checkMarketplaceDeal(o[0]); | 1691 checkMarketplaceDeal(o[0]); |
| 1692 checkMarketplaceDeal(o[1]); | 1692 checkMarketplaceDeal(o[1]); |
| 1693 } | 1693 } |
| 1694 | 1694 |
| 1695 core.int buildCounterGetOrderDealsResponse = 0; | 1695 core.int buildCounterGetOrderDealsResponse = 0; |
| 1696 buildGetOrderDealsResponse() { | 1696 buildGetOrderDealsResponse() { |
| 1697 var o = new api.GetOrderDealsResponse(); | 1697 var o = new api.GetOrderDealsResponse(); |
| 1698 buildCounterGetOrderDealsResponse++; | 1698 buildCounterGetOrderDealsResponse++; |
| 1699 if (buildCounterGetOrderDealsResponse < 3) { | 1699 if (buildCounterGetOrderDealsResponse < 3) { |
| 1700 o.deals = buildUnnamed94(); | 1700 o.deals = buildUnnamed2179(); |
| 1701 } | 1701 } |
| 1702 buildCounterGetOrderDealsResponse--; | 1702 buildCounterGetOrderDealsResponse--; |
| 1703 return o; | 1703 return o; |
| 1704 } | 1704 } |
| 1705 | 1705 |
| 1706 checkGetOrderDealsResponse(api.GetOrderDealsResponse o) { | 1706 checkGetOrderDealsResponse(api.GetOrderDealsResponse o) { |
| 1707 buildCounterGetOrderDealsResponse++; | 1707 buildCounterGetOrderDealsResponse++; |
| 1708 if (buildCounterGetOrderDealsResponse < 3) { | 1708 if (buildCounterGetOrderDealsResponse < 3) { |
| 1709 checkUnnamed94(o.deals); | 1709 checkUnnamed2179(o.deals); |
| 1710 } | 1710 } |
| 1711 buildCounterGetOrderDealsResponse--; | 1711 buildCounterGetOrderDealsResponse--; |
| 1712 } | 1712 } |
| 1713 | 1713 |
| 1714 buildUnnamed95() { | 1714 buildUnnamed2180() { |
| 1715 var o = new core.List<api.MarketplaceNote>(); | 1715 var o = new core.List<api.MarketplaceNote>(); |
| 1716 o.add(buildMarketplaceNote()); | 1716 o.add(buildMarketplaceNote()); |
| 1717 o.add(buildMarketplaceNote()); | 1717 o.add(buildMarketplaceNote()); |
| 1718 return o; | 1718 return o; |
| 1719 } | 1719 } |
| 1720 | 1720 |
| 1721 checkUnnamed95(core.List<api.MarketplaceNote> o) { | 1721 checkUnnamed2180(core.List<api.MarketplaceNote> o) { |
| 1722 unittest.expect(o, unittest.hasLength(2)); | 1722 unittest.expect(o, unittest.hasLength(2)); |
| 1723 checkMarketplaceNote(o[0]); | 1723 checkMarketplaceNote(o[0]); |
| 1724 checkMarketplaceNote(o[1]); | 1724 checkMarketplaceNote(o[1]); |
| 1725 } | 1725 } |
| 1726 | 1726 |
| 1727 core.int buildCounterGetOrderNotesResponse = 0; | 1727 core.int buildCounterGetOrderNotesResponse = 0; |
| 1728 buildGetOrderNotesResponse() { | 1728 buildGetOrderNotesResponse() { |
| 1729 var o = new api.GetOrderNotesResponse(); | 1729 var o = new api.GetOrderNotesResponse(); |
| 1730 buildCounterGetOrderNotesResponse++; | 1730 buildCounterGetOrderNotesResponse++; |
| 1731 if (buildCounterGetOrderNotesResponse < 3) { | 1731 if (buildCounterGetOrderNotesResponse < 3) { |
| 1732 o.notes = buildUnnamed95(); | 1732 o.notes = buildUnnamed2180(); |
| 1733 } | 1733 } |
| 1734 buildCounterGetOrderNotesResponse--; | 1734 buildCounterGetOrderNotesResponse--; |
| 1735 return o; | 1735 return o; |
| 1736 } | 1736 } |
| 1737 | 1737 |
| 1738 checkGetOrderNotesResponse(api.GetOrderNotesResponse o) { | 1738 checkGetOrderNotesResponse(api.GetOrderNotesResponse o) { |
| 1739 buildCounterGetOrderNotesResponse++; | 1739 buildCounterGetOrderNotesResponse++; |
| 1740 if (buildCounterGetOrderNotesResponse < 3) { | 1740 if (buildCounterGetOrderNotesResponse < 3) { |
| 1741 checkUnnamed95(o.notes); | 1741 checkUnnamed2180(o.notes); |
| 1742 } | 1742 } |
| 1743 buildCounterGetOrderNotesResponse--; | 1743 buildCounterGetOrderNotesResponse--; |
| 1744 } | 1744 } |
| 1745 | 1745 |
| 1746 buildUnnamed96() { | 1746 buildUnnamed2181() { |
| 1747 var o = new core.List<api.Proposal>(); | 1747 var o = new core.List<api.Proposal>(); |
| 1748 o.add(buildProposal()); | 1748 o.add(buildProposal()); |
| 1749 o.add(buildProposal()); | 1749 o.add(buildProposal()); |
| 1750 return o; | 1750 return o; |
| 1751 } | 1751 } |
| 1752 | 1752 |
| 1753 checkUnnamed96(core.List<api.Proposal> o) { | 1753 checkUnnamed2181(core.List<api.Proposal> o) { |
| 1754 unittest.expect(o, unittest.hasLength(2)); | 1754 unittest.expect(o, unittest.hasLength(2)); |
| 1755 checkProposal(o[0]); | 1755 checkProposal(o[0]); |
| 1756 checkProposal(o[1]); | 1756 checkProposal(o[1]); |
| 1757 } | 1757 } |
| 1758 | 1758 |
| 1759 core.int buildCounterGetOrdersResponse = 0; | 1759 core.int buildCounterGetOrdersResponse = 0; |
| 1760 buildGetOrdersResponse() { | 1760 buildGetOrdersResponse() { |
| 1761 var o = new api.GetOrdersResponse(); | 1761 var o = new api.GetOrdersResponse(); |
| 1762 buildCounterGetOrdersResponse++; | 1762 buildCounterGetOrdersResponse++; |
| 1763 if (buildCounterGetOrdersResponse < 3) { | 1763 if (buildCounterGetOrdersResponse < 3) { |
| 1764 o.proposals = buildUnnamed96(); | 1764 o.proposals = buildUnnamed2181(); |
| 1765 } | 1765 } |
| 1766 buildCounterGetOrdersResponse--; | 1766 buildCounterGetOrdersResponse--; |
| 1767 return o; | 1767 return o; |
| 1768 } | 1768 } |
| 1769 | 1769 |
| 1770 checkGetOrdersResponse(api.GetOrdersResponse o) { | 1770 checkGetOrdersResponse(api.GetOrdersResponse o) { |
| 1771 buildCounterGetOrdersResponse++; | 1771 buildCounterGetOrdersResponse++; |
| 1772 if (buildCounterGetOrdersResponse < 3) { | 1772 if (buildCounterGetOrdersResponse < 3) { |
| 1773 checkUnnamed96(o.proposals); | 1773 checkUnnamed2181(o.proposals); |
| 1774 } | 1774 } |
| 1775 buildCounterGetOrdersResponse--; | 1775 buildCounterGetOrdersResponse--; |
| 1776 } | 1776 } |
| 1777 | 1777 |
| 1778 buildUnnamed97() { | 1778 buildUnnamed2182() { |
| 1779 var o = new core.List<api.PublisherProfileApiProto>(); | 1779 var o = new core.List<api.PublisherProfileApiProto>(); |
| 1780 o.add(buildPublisherProfileApiProto()); | 1780 o.add(buildPublisherProfileApiProto()); |
| 1781 o.add(buildPublisherProfileApiProto()); | 1781 o.add(buildPublisherProfileApiProto()); |
| 1782 return o; | 1782 return o; |
| 1783 } | 1783 } |
| 1784 | 1784 |
| 1785 checkUnnamed97(core.List<api.PublisherProfileApiProto> o) { | 1785 checkUnnamed2182(core.List<api.PublisherProfileApiProto> o) { |
| 1786 unittest.expect(o, unittest.hasLength(2)); | 1786 unittest.expect(o, unittest.hasLength(2)); |
| 1787 checkPublisherProfileApiProto(o[0]); | 1787 checkPublisherProfileApiProto(o[0]); |
| 1788 checkPublisherProfileApiProto(o[1]); | 1788 checkPublisherProfileApiProto(o[1]); |
| 1789 } | 1789 } |
| 1790 | 1790 |
| 1791 core.int buildCounterGetPublisherProfilesByAccountIdResponse = 0; | 1791 core.int buildCounterGetPublisherProfilesByAccountIdResponse = 0; |
| 1792 buildGetPublisherProfilesByAccountIdResponse() { | 1792 buildGetPublisherProfilesByAccountIdResponse() { |
| 1793 var o = new api.GetPublisherProfilesByAccountIdResponse(); | 1793 var o = new api.GetPublisherProfilesByAccountIdResponse(); |
| 1794 buildCounterGetPublisherProfilesByAccountIdResponse++; | 1794 buildCounterGetPublisherProfilesByAccountIdResponse++; |
| 1795 if (buildCounterGetPublisherProfilesByAccountIdResponse < 3) { | 1795 if (buildCounterGetPublisherProfilesByAccountIdResponse < 3) { |
| 1796 o.profiles = buildUnnamed97(); | 1796 o.profiles = buildUnnamed2182(); |
| 1797 } | 1797 } |
| 1798 buildCounterGetPublisherProfilesByAccountIdResponse--; | 1798 buildCounterGetPublisherProfilesByAccountIdResponse--; |
| 1799 return o; | 1799 return o; |
| 1800 } | 1800 } |
| 1801 | 1801 |
| 1802 checkGetPublisherProfilesByAccountIdResponse(api.GetPublisherProfilesByAccountId
Response o) { | 1802 checkGetPublisherProfilesByAccountIdResponse(api.GetPublisherProfilesByAccountId
Response o) { |
| 1803 buildCounterGetPublisherProfilesByAccountIdResponse++; | 1803 buildCounterGetPublisherProfilesByAccountIdResponse++; |
| 1804 if (buildCounterGetPublisherProfilesByAccountIdResponse < 3) { | 1804 if (buildCounterGetPublisherProfilesByAccountIdResponse < 3) { |
| 1805 checkUnnamed97(o.profiles); | 1805 checkUnnamed2182(o.profiles); |
| 1806 } | 1806 } |
| 1807 buildCounterGetPublisherProfilesByAccountIdResponse--; | 1807 buildCounterGetPublisherProfilesByAccountIdResponse--; |
| 1808 } | 1808 } |
| 1809 | 1809 |
| 1810 buildUnnamed98() { | 1810 buildUnnamed2183() { |
| 1811 var o = new core.List<api.ContactInformation>(); | 1811 var o = new core.List<api.ContactInformation>(); |
| 1812 o.add(buildContactInformation()); | 1812 o.add(buildContactInformation()); |
| 1813 o.add(buildContactInformation()); | 1813 o.add(buildContactInformation()); |
| 1814 return o; | 1814 return o; |
| 1815 } | 1815 } |
| 1816 | 1816 |
| 1817 checkUnnamed98(core.List<api.ContactInformation> o) { | 1817 checkUnnamed2183(core.List<api.ContactInformation> o) { |
| 1818 unittest.expect(o, unittest.hasLength(2)); | 1818 unittest.expect(o, unittest.hasLength(2)); |
| 1819 checkContactInformation(o[0]); | 1819 checkContactInformation(o[0]); |
| 1820 checkContactInformation(o[1]); | 1820 checkContactInformation(o[1]); |
| 1821 } | 1821 } |
| 1822 | 1822 |
| 1823 buildUnnamed99() { | 1823 buildUnnamed2184() { |
| 1824 var o = new core.List<api.SharedTargeting>(); | 1824 var o = new core.List<api.SharedTargeting>(); |
| 1825 o.add(buildSharedTargeting()); | 1825 o.add(buildSharedTargeting()); |
| 1826 o.add(buildSharedTargeting()); | 1826 o.add(buildSharedTargeting()); |
| 1827 return o; | 1827 return o; |
| 1828 } | 1828 } |
| 1829 | 1829 |
| 1830 checkUnnamed99(core.List<api.SharedTargeting> o) { | 1830 checkUnnamed2184(core.List<api.SharedTargeting> o) { |
| 1831 unittest.expect(o, unittest.hasLength(2)); | 1831 unittest.expect(o, unittest.hasLength(2)); |
| 1832 checkSharedTargeting(o[0]); | 1832 checkSharedTargeting(o[0]); |
| 1833 checkSharedTargeting(o[1]); | 1833 checkSharedTargeting(o[1]); |
| 1834 } | 1834 } |
| 1835 | 1835 |
| 1836 core.int buildCounterMarketplaceDeal = 0; | 1836 core.int buildCounterMarketplaceDeal = 0; |
| 1837 buildMarketplaceDeal() { | 1837 buildMarketplaceDeal() { |
| 1838 var o = new api.MarketplaceDeal(); | 1838 var o = new api.MarketplaceDeal(); |
| 1839 buildCounterMarketplaceDeal++; | 1839 buildCounterMarketplaceDeal++; |
| 1840 if (buildCounterMarketplaceDeal < 3) { | 1840 if (buildCounterMarketplaceDeal < 3) { |
| 1841 o.buyerPrivateData = buildPrivateData(); | 1841 o.buyerPrivateData = buildPrivateData(); |
| 1842 o.creationTimeMs = "foo"; | 1842 o.creationTimeMs = "foo"; |
| 1843 o.creativePreApprovalPolicy = "foo"; | 1843 o.creativePreApprovalPolicy = "foo"; |
| 1844 o.creativeSafeFrameCompatibility = "foo"; | 1844 o.creativeSafeFrameCompatibility = "foo"; |
| 1845 o.dealId = "foo"; | 1845 o.dealId = "foo"; |
| 1846 o.dealServingMetadata = buildDealServingMetadata(); | 1846 o.dealServingMetadata = buildDealServingMetadata(); |
| 1847 o.deliveryControl = buildDeliveryControl(); | 1847 o.deliveryControl = buildDeliveryControl(); |
| 1848 o.externalDealId = "foo"; | 1848 o.externalDealId = "foo"; |
| 1849 o.flightEndTimeMs = "foo"; | 1849 o.flightEndTimeMs = "foo"; |
| 1850 o.flightStartTimeMs = "foo"; | 1850 o.flightStartTimeMs = "foo"; |
| 1851 o.inventoryDescription = "foo"; | 1851 o.inventoryDescription = "foo"; |
| 1852 o.kind = "foo"; | 1852 o.kind = "foo"; |
| 1853 o.lastUpdateTimeMs = "foo"; | 1853 o.lastUpdateTimeMs = "foo"; |
| 1854 o.name = "foo"; | 1854 o.name = "foo"; |
| 1855 o.productId = "foo"; | 1855 o.productId = "foo"; |
| 1856 o.productRevisionNumber = "foo"; | 1856 o.productRevisionNumber = "foo"; |
| 1857 o.programmaticCreativeSource = "foo"; | 1857 o.programmaticCreativeSource = "foo"; |
| 1858 o.proposalId = "foo"; | 1858 o.proposalId = "foo"; |
| 1859 o.sellerContacts = buildUnnamed98(); | 1859 o.sellerContacts = buildUnnamed2183(); |
| 1860 o.sharedTargetings = buildUnnamed99(); | 1860 o.sharedTargetings = buildUnnamed2184(); |
| 1861 o.syndicationProduct = "foo"; | 1861 o.syndicationProduct = "foo"; |
| 1862 o.terms = buildDealTerms(); | 1862 o.terms = buildDealTerms(); |
| 1863 o.webPropertyCode = "foo"; | 1863 o.webPropertyCode = "foo"; |
| 1864 } | 1864 } |
| 1865 buildCounterMarketplaceDeal--; | 1865 buildCounterMarketplaceDeal--; |
| 1866 return o; | 1866 return o; |
| 1867 } | 1867 } |
| 1868 | 1868 |
| 1869 checkMarketplaceDeal(api.MarketplaceDeal o) { | 1869 checkMarketplaceDeal(api.MarketplaceDeal o) { |
| 1870 buildCounterMarketplaceDeal++; | 1870 buildCounterMarketplaceDeal++; |
| 1871 if (buildCounterMarketplaceDeal < 3) { | 1871 if (buildCounterMarketplaceDeal < 3) { |
| 1872 checkPrivateData(o.buyerPrivateData); | 1872 checkPrivateData(o.buyerPrivateData); |
| 1873 unittest.expect(o.creationTimeMs, unittest.equals('foo')); | 1873 unittest.expect(o.creationTimeMs, unittest.equals('foo')); |
| 1874 unittest.expect(o.creativePreApprovalPolicy, unittest.equals('foo')); | 1874 unittest.expect(o.creativePreApprovalPolicy, unittest.equals('foo')); |
| 1875 unittest.expect(o.creativeSafeFrameCompatibility, unittest.equals('foo')); | 1875 unittest.expect(o.creativeSafeFrameCompatibility, unittest.equals('foo')); |
| 1876 unittest.expect(o.dealId, unittest.equals('foo')); | 1876 unittest.expect(o.dealId, unittest.equals('foo')); |
| 1877 checkDealServingMetadata(o.dealServingMetadata); | 1877 checkDealServingMetadata(o.dealServingMetadata); |
| 1878 checkDeliveryControl(o.deliveryControl); | 1878 checkDeliveryControl(o.deliveryControl); |
| 1879 unittest.expect(o.externalDealId, unittest.equals('foo')); | 1879 unittest.expect(o.externalDealId, unittest.equals('foo')); |
| 1880 unittest.expect(o.flightEndTimeMs, unittest.equals('foo')); | 1880 unittest.expect(o.flightEndTimeMs, unittest.equals('foo')); |
| 1881 unittest.expect(o.flightStartTimeMs, unittest.equals('foo')); | 1881 unittest.expect(o.flightStartTimeMs, unittest.equals('foo')); |
| 1882 unittest.expect(o.inventoryDescription, unittest.equals('foo')); | 1882 unittest.expect(o.inventoryDescription, unittest.equals('foo')); |
| 1883 unittest.expect(o.kind, unittest.equals('foo')); | 1883 unittest.expect(o.kind, unittest.equals('foo')); |
| 1884 unittest.expect(o.lastUpdateTimeMs, unittest.equals('foo')); | 1884 unittest.expect(o.lastUpdateTimeMs, unittest.equals('foo')); |
| 1885 unittest.expect(o.name, unittest.equals('foo')); | 1885 unittest.expect(o.name, unittest.equals('foo')); |
| 1886 unittest.expect(o.productId, unittest.equals('foo')); | 1886 unittest.expect(o.productId, unittest.equals('foo')); |
| 1887 unittest.expect(o.productRevisionNumber, unittest.equals('foo')); | 1887 unittest.expect(o.productRevisionNumber, unittest.equals('foo')); |
| 1888 unittest.expect(o.programmaticCreativeSource, unittest.equals('foo')); | 1888 unittest.expect(o.programmaticCreativeSource, unittest.equals('foo')); |
| 1889 unittest.expect(o.proposalId, unittest.equals('foo')); | 1889 unittest.expect(o.proposalId, unittest.equals('foo')); |
| 1890 checkUnnamed98(o.sellerContacts); | 1890 checkUnnamed2183(o.sellerContacts); |
| 1891 checkUnnamed99(o.sharedTargetings); | 1891 checkUnnamed2184(o.sharedTargetings); |
| 1892 unittest.expect(o.syndicationProduct, unittest.equals('foo')); | 1892 unittest.expect(o.syndicationProduct, unittest.equals('foo')); |
| 1893 checkDealTerms(o.terms); | 1893 checkDealTerms(o.terms); |
| 1894 unittest.expect(o.webPropertyCode, unittest.equals('foo')); | 1894 unittest.expect(o.webPropertyCode, unittest.equals('foo')); |
| 1895 } | 1895 } |
| 1896 buildCounterMarketplaceDeal--; | 1896 buildCounterMarketplaceDeal--; |
| 1897 } | 1897 } |
| 1898 | 1898 |
| 1899 core.int buildCounterMarketplaceDealParty = 0; | 1899 core.int buildCounterMarketplaceDealParty = 0; |
| 1900 buildMarketplaceDealParty() { | 1900 buildMarketplaceDealParty() { |
| 1901 var o = new api.MarketplaceDealParty(); | 1901 var o = new api.MarketplaceDealParty(); |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1968 unittest.expect(o.kind, unittest.equals('foo')); | 1968 unittest.expect(o.kind, unittest.equals('foo')); |
| 1969 unittest.expect(o.note, unittest.equals('foo')); | 1969 unittest.expect(o.note, unittest.equals('foo')); |
| 1970 unittest.expect(o.noteId, unittest.equals('foo')); | 1970 unittest.expect(o.noteId, unittest.equals('foo')); |
| 1971 unittest.expect(o.proposalId, unittest.equals('foo')); | 1971 unittest.expect(o.proposalId, unittest.equals('foo')); |
| 1972 unittest.expect(o.proposalRevisionNumber, unittest.equals('foo')); | 1972 unittest.expect(o.proposalRevisionNumber, unittest.equals('foo')); |
| 1973 unittest.expect(o.timestampMs, unittest.equals('foo')); | 1973 unittest.expect(o.timestampMs, unittest.equals('foo')); |
| 1974 } | 1974 } |
| 1975 buildCounterMarketplaceNote--; | 1975 buildCounterMarketplaceNote--; |
| 1976 } | 1976 } |
| 1977 | 1977 |
| 1978 buildUnnamed100() { | 1978 buildUnnamed2185() { |
| 1979 var o = new core.List<core.Object>(); | 1979 var o = new core.List<core.Object>(); |
| 1980 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); | 1980 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); |
| 1981 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); | 1981 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); |
| 1982 return o; | 1982 return o; |
| 1983 } | 1983 } |
| 1984 | 1984 |
| 1985 checkUnnamed100(core.List<core.Object> o) { | 1985 checkUnnamed2185(core.List<core.Object> o) { |
| 1986 unittest.expect(o, unittest.hasLength(2)); | 1986 unittest.expect(o, unittest.hasLength(2)); |
| 1987 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')); | 1987 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')); |
| 1988 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')); | 1988 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')); |
| 1989 } | 1989 } |
| 1990 | 1990 |
| 1991 buildUnnamed101() { | 1991 buildUnnamed2186() { |
| 1992 var o = new core.List<core.Object>(); | 1992 var o = new core.List<core.Object>(); |
| 1993 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); | 1993 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); |
| 1994 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); | 1994 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); |
| 1995 return o; | 1995 return o; |
| 1996 } | 1996 } |
| 1997 | 1997 |
| 1998 checkUnnamed101(core.List<core.Object> o) { | 1998 checkUnnamed2186(core.List<core.Object> o) { |
| 1999 unittest.expect(o, unittest.hasLength(2)); | 1999 unittest.expect(o, unittest.hasLength(2)); |
| 2000 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')); | 2000 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')); |
| 2001 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')); | 2001 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')); |
| 2002 } | 2002 } |
| 2003 | 2003 |
| 2004 buildUnnamed102() { | 2004 buildUnnamed2187() { |
| 2005 var o = new core.List<core.Object>(); | 2005 var o = new core.List<core.Object>(); |
| 2006 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); | 2006 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); |
| 2007 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); | 2007 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); |
| 2008 return o; | 2008 return o; |
| 2009 } | 2009 } |
| 2010 | 2010 |
| 2011 checkUnnamed102(core.List<core.Object> o) { | 2011 checkUnnamed2187(core.List<core.Object> o) { |
| 2012 unittest.expect(o, unittest.hasLength(2)); | 2012 unittest.expect(o, unittest.hasLength(2)); |
| 2013 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')); | 2013 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')); |
| 2014 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')); | 2014 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')); |
| 2015 } | 2015 } |
| 2016 | 2016 |
| 2017 buildUnnamed103() { | 2017 buildUnnamed2188() { |
| 2018 var o = new core.List<core.Object>(); | 2018 var o = new core.List<core.Object>(); |
| 2019 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); | 2019 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); |
| 2020 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); | 2020 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); |
| 2021 return o; | 2021 return o; |
| 2022 } | 2022 } |
| 2023 | 2023 |
| 2024 checkUnnamed103(core.List<core.Object> o) { | 2024 checkUnnamed2188(core.List<core.Object> o) { |
| 2025 unittest.expect(o, unittest.hasLength(2)); | 2025 unittest.expect(o, unittest.hasLength(2)); |
| 2026 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')); | 2026 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')); |
| 2027 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')); | 2027 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')); |
| 2028 } | 2028 } |
| 2029 | 2029 |
| 2030 core.int buildCounterPerformanceReport = 0; | 2030 core.int buildCounterPerformanceReport = 0; |
| 2031 buildPerformanceReport() { | 2031 buildPerformanceReport() { |
| 2032 var o = new api.PerformanceReport(); | 2032 var o = new api.PerformanceReport(); |
| 2033 buildCounterPerformanceReport++; | 2033 buildCounterPerformanceReport++; |
| 2034 if (buildCounterPerformanceReport < 3) { | 2034 if (buildCounterPerformanceReport < 3) { |
| 2035 o.bidRate = 42.0; | 2035 o.bidRate = 42.0; |
| 2036 o.bidRequestRate = 42.0; | 2036 o.bidRequestRate = 42.0; |
| 2037 o.calloutStatusRate = buildUnnamed100(); | 2037 o.calloutStatusRate = buildUnnamed2185(); |
| 2038 o.cookieMatcherStatusRate = buildUnnamed101(); | 2038 o.cookieMatcherStatusRate = buildUnnamed2186(); |
| 2039 o.creativeStatusRate = buildUnnamed102(); | 2039 o.creativeStatusRate = buildUnnamed2187(); |
| 2040 o.filteredBidRate = 42.0; | 2040 o.filteredBidRate = 42.0; |
| 2041 o.hostedMatchStatusRate = buildUnnamed103(); | 2041 o.hostedMatchStatusRate = buildUnnamed2188(); |
| 2042 o.inventoryMatchRate = 42.0; | 2042 o.inventoryMatchRate = 42.0; |
| 2043 o.kind = "foo"; | 2043 o.kind = "foo"; |
| 2044 o.latency50thPercentile = 42.0; | 2044 o.latency50thPercentile = 42.0; |
| 2045 o.latency85thPercentile = 42.0; | 2045 o.latency85thPercentile = 42.0; |
| 2046 o.latency95thPercentile = 42.0; | 2046 o.latency95thPercentile = 42.0; |
| 2047 o.noQuotaInRegion = 42.0; | 2047 o.noQuotaInRegion = 42.0; |
| 2048 o.outOfQuota = 42.0; | 2048 o.outOfQuota = 42.0; |
| 2049 o.pixelMatchRequests = 42.0; | 2049 o.pixelMatchRequests = 42.0; |
| 2050 o.pixelMatchResponses = 42.0; | 2050 o.pixelMatchResponses = 42.0; |
| 2051 o.quotaConfiguredLimit = 42.0; | 2051 o.quotaConfiguredLimit = 42.0; |
| 2052 o.quotaThrottledLimit = 42.0; | 2052 o.quotaThrottledLimit = 42.0; |
| 2053 o.region = "foo"; | 2053 o.region = "foo"; |
| 2054 o.successfulRequestRate = 42.0; | 2054 o.successfulRequestRate = 42.0; |
| 2055 o.timestamp = "foo"; | 2055 o.timestamp = "foo"; |
| 2056 o.unsuccessfulRequestRate = 42.0; | 2056 o.unsuccessfulRequestRate = 42.0; |
| 2057 } | 2057 } |
| 2058 buildCounterPerformanceReport--; | 2058 buildCounterPerformanceReport--; |
| 2059 return o; | 2059 return o; |
| 2060 } | 2060 } |
| 2061 | 2061 |
| 2062 checkPerformanceReport(api.PerformanceReport o) { | 2062 checkPerformanceReport(api.PerformanceReport o) { |
| 2063 buildCounterPerformanceReport++; | 2063 buildCounterPerformanceReport++; |
| 2064 if (buildCounterPerformanceReport < 3) { | 2064 if (buildCounterPerformanceReport < 3) { |
| 2065 unittest.expect(o.bidRate, unittest.equals(42.0)); | 2065 unittest.expect(o.bidRate, unittest.equals(42.0)); |
| 2066 unittest.expect(o.bidRequestRate, unittest.equals(42.0)); | 2066 unittest.expect(o.bidRequestRate, unittest.equals(42.0)); |
| 2067 checkUnnamed100(o.calloutStatusRate); | 2067 checkUnnamed2185(o.calloutStatusRate); |
| 2068 checkUnnamed101(o.cookieMatcherStatusRate); | 2068 checkUnnamed2186(o.cookieMatcherStatusRate); |
| 2069 checkUnnamed102(o.creativeStatusRate); | 2069 checkUnnamed2187(o.creativeStatusRate); |
| 2070 unittest.expect(o.filteredBidRate, unittest.equals(42.0)); | 2070 unittest.expect(o.filteredBidRate, unittest.equals(42.0)); |
| 2071 checkUnnamed103(o.hostedMatchStatusRate); | 2071 checkUnnamed2188(o.hostedMatchStatusRate); |
| 2072 unittest.expect(o.inventoryMatchRate, unittest.equals(42.0)); | 2072 unittest.expect(o.inventoryMatchRate, unittest.equals(42.0)); |
| 2073 unittest.expect(o.kind, unittest.equals('foo')); | 2073 unittest.expect(o.kind, unittest.equals('foo')); |
| 2074 unittest.expect(o.latency50thPercentile, unittest.equals(42.0)); | 2074 unittest.expect(o.latency50thPercentile, unittest.equals(42.0)); |
| 2075 unittest.expect(o.latency85thPercentile, unittest.equals(42.0)); | 2075 unittest.expect(o.latency85thPercentile, unittest.equals(42.0)); |
| 2076 unittest.expect(o.latency95thPercentile, unittest.equals(42.0)); | 2076 unittest.expect(o.latency95thPercentile, unittest.equals(42.0)); |
| 2077 unittest.expect(o.noQuotaInRegion, unittest.equals(42.0)); | 2077 unittest.expect(o.noQuotaInRegion, unittest.equals(42.0)); |
| 2078 unittest.expect(o.outOfQuota, unittest.equals(42.0)); | 2078 unittest.expect(o.outOfQuota, unittest.equals(42.0)); |
| 2079 unittest.expect(o.pixelMatchRequests, unittest.equals(42.0)); | 2079 unittest.expect(o.pixelMatchRequests, unittest.equals(42.0)); |
| 2080 unittest.expect(o.pixelMatchResponses, unittest.equals(42.0)); | 2080 unittest.expect(o.pixelMatchResponses, unittest.equals(42.0)); |
| 2081 unittest.expect(o.quotaConfiguredLimit, unittest.equals(42.0)); | 2081 unittest.expect(o.quotaConfiguredLimit, unittest.equals(42.0)); |
| 2082 unittest.expect(o.quotaThrottledLimit, unittest.equals(42.0)); | 2082 unittest.expect(o.quotaThrottledLimit, unittest.equals(42.0)); |
| 2083 unittest.expect(o.region, unittest.equals('foo')); | 2083 unittest.expect(o.region, unittest.equals('foo')); |
| 2084 unittest.expect(o.successfulRequestRate, unittest.equals(42.0)); | 2084 unittest.expect(o.successfulRequestRate, unittest.equals(42.0)); |
| 2085 unittest.expect(o.timestamp, unittest.equals('foo')); | 2085 unittest.expect(o.timestamp, unittest.equals('foo')); |
| 2086 unittest.expect(o.unsuccessfulRequestRate, unittest.equals(42.0)); | 2086 unittest.expect(o.unsuccessfulRequestRate, unittest.equals(42.0)); |
| 2087 } | 2087 } |
| 2088 buildCounterPerformanceReport--; | 2088 buildCounterPerformanceReport--; |
| 2089 } | 2089 } |
| 2090 | 2090 |
| 2091 buildUnnamed104() { | 2091 buildUnnamed2189() { |
| 2092 var o = new core.List<api.PerformanceReport>(); | 2092 var o = new core.List<api.PerformanceReport>(); |
| 2093 o.add(buildPerformanceReport()); | 2093 o.add(buildPerformanceReport()); |
| 2094 o.add(buildPerformanceReport()); | 2094 o.add(buildPerformanceReport()); |
| 2095 return o; | 2095 return o; |
| 2096 } | 2096 } |
| 2097 | 2097 |
| 2098 checkUnnamed104(core.List<api.PerformanceReport> o) { | 2098 checkUnnamed2189(core.List<api.PerformanceReport> o) { |
| 2099 unittest.expect(o, unittest.hasLength(2)); | 2099 unittest.expect(o, unittest.hasLength(2)); |
| 2100 checkPerformanceReport(o[0]); | 2100 checkPerformanceReport(o[0]); |
| 2101 checkPerformanceReport(o[1]); | 2101 checkPerformanceReport(o[1]); |
| 2102 } | 2102 } |
| 2103 | 2103 |
| 2104 core.int buildCounterPerformanceReportList = 0; | 2104 core.int buildCounterPerformanceReportList = 0; |
| 2105 buildPerformanceReportList() { | 2105 buildPerformanceReportList() { |
| 2106 var o = new api.PerformanceReportList(); | 2106 var o = new api.PerformanceReportList(); |
| 2107 buildCounterPerformanceReportList++; | 2107 buildCounterPerformanceReportList++; |
| 2108 if (buildCounterPerformanceReportList < 3) { | 2108 if (buildCounterPerformanceReportList < 3) { |
| 2109 o.kind = "foo"; | 2109 o.kind = "foo"; |
| 2110 o.performanceReport = buildUnnamed104(); | 2110 o.performanceReport = buildUnnamed2189(); |
| 2111 } | 2111 } |
| 2112 buildCounterPerformanceReportList--; | 2112 buildCounterPerformanceReportList--; |
| 2113 return o; | 2113 return o; |
| 2114 } | 2114 } |
| 2115 | 2115 |
| 2116 checkPerformanceReportList(api.PerformanceReportList o) { | 2116 checkPerformanceReportList(api.PerformanceReportList o) { |
| 2117 buildCounterPerformanceReportList++; | 2117 buildCounterPerformanceReportList++; |
| 2118 if (buildCounterPerformanceReportList < 3) { | 2118 if (buildCounterPerformanceReportList < 3) { |
| 2119 unittest.expect(o.kind, unittest.equals('foo')); | 2119 unittest.expect(o.kind, unittest.equals('foo')); |
| 2120 checkUnnamed104(o.performanceReport); | 2120 checkUnnamed2189(o.performanceReport); |
| 2121 } | 2121 } |
| 2122 buildCounterPerformanceReportList--; | 2122 buildCounterPerformanceReportList--; |
| 2123 } | 2123 } |
| 2124 | 2124 |
| 2125 buildUnnamed105() { | 2125 buildUnnamed2190() { |
| 2126 var o = new core.List<core.String>(); | 2126 var o = new core.List<core.String>(); |
| 2127 o.add("foo"); | 2127 o.add("foo"); |
| 2128 o.add("foo"); | 2128 o.add("foo"); |
| 2129 return o; | 2129 return o; |
| 2130 } | 2130 } |
| 2131 | 2131 |
| 2132 checkUnnamed105(core.List<core.String> o) { | 2132 checkUnnamed2190(core.List<core.String> o) { |
| 2133 unittest.expect(o, unittest.hasLength(2)); | 2133 unittest.expect(o, unittest.hasLength(2)); |
| 2134 unittest.expect(o[0], unittest.equals('foo')); | 2134 unittest.expect(o[0], unittest.equals('foo')); |
| 2135 unittest.expect(o[1], unittest.equals('foo')); | 2135 unittest.expect(o[1], unittest.equals('foo')); |
| 2136 } | 2136 } |
| 2137 | 2137 |
| 2138 core.int buildCounterPretargetingConfigDimensions = 0; | 2138 core.int buildCounterPretargetingConfigDimensions = 0; |
| 2139 buildPretargetingConfigDimensions() { | 2139 buildPretargetingConfigDimensions() { |
| 2140 var o = new api.PretargetingConfigDimensions(); | 2140 var o = new api.PretargetingConfigDimensions(); |
| 2141 buildCounterPretargetingConfigDimensions++; | 2141 buildCounterPretargetingConfigDimensions++; |
| 2142 if (buildCounterPretargetingConfigDimensions < 3) { | 2142 if (buildCounterPretargetingConfigDimensions < 3) { |
| 2143 o.height = "foo"; | 2143 o.height = "foo"; |
| 2144 o.width = "foo"; | 2144 o.width = "foo"; |
| 2145 } | 2145 } |
| 2146 buildCounterPretargetingConfigDimensions--; | 2146 buildCounterPretargetingConfigDimensions--; |
| 2147 return o; | 2147 return o; |
| 2148 } | 2148 } |
| 2149 | 2149 |
| 2150 checkPretargetingConfigDimensions(api.PretargetingConfigDimensions o) { | 2150 checkPretargetingConfigDimensions(api.PretargetingConfigDimensions o) { |
| 2151 buildCounterPretargetingConfigDimensions++; | 2151 buildCounterPretargetingConfigDimensions++; |
| 2152 if (buildCounterPretargetingConfigDimensions < 3) { | 2152 if (buildCounterPretargetingConfigDimensions < 3) { |
| 2153 unittest.expect(o.height, unittest.equals('foo')); | 2153 unittest.expect(o.height, unittest.equals('foo')); |
| 2154 unittest.expect(o.width, unittest.equals('foo')); | 2154 unittest.expect(o.width, unittest.equals('foo')); |
| 2155 } | 2155 } |
| 2156 buildCounterPretargetingConfigDimensions--; | 2156 buildCounterPretargetingConfigDimensions--; |
| 2157 } | 2157 } |
| 2158 | 2158 |
| 2159 buildUnnamed106() { | 2159 buildUnnamed2191() { |
| 2160 var o = new core.List<api.PretargetingConfigDimensions>(); | 2160 var o = new core.List<api.PretargetingConfigDimensions>(); |
| 2161 o.add(buildPretargetingConfigDimensions()); | 2161 o.add(buildPretargetingConfigDimensions()); |
| 2162 o.add(buildPretargetingConfigDimensions()); | 2162 o.add(buildPretargetingConfigDimensions()); |
| 2163 return o; | 2163 return o; |
| 2164 } | 2164 } |
| 2165 | 2165 |
| 2166 checkUnnamed106(core.List<api.PretargetingConfigDimensions> o) { | 2166 checkUnnamed2191(core.List<api.PretargetingConfigDimensions> o) { |
| 2167 unittest.expect(o, unittest.hasLength(2)); | 2167 unittest.expect(o, unittest.hasLength(2)); |
| 2168 checkPretargetingConfigDimensions(o[0]); | 2168 checkPretargetingConfigDimensions(o[0]); |
| 2169 checkPretargetingConfigDimensions(o[1]); | 2169 checkPretargetingConfigDimensions(o[1]); |
| 2170 } | 2170 } |
| 2171 | 2171 |
| 2172 buildUnnamed107() { | 2172 buildUnnamed2192() { |
| 2173 var o = new core.List<core.String>(); | 2173 var o = new core.List<core.String>(); |
| 2174 o.add("foo"); | 2174 o.add("foo"); |
| 2175 o.add("foo"); | 2175 o.add("foo"); |
| 2176 return o; | 2176 return o; |
| 2177 } | 2177 } |
| 2178 | 2178 |
| 2179 checkUnnamed107(core.List<core.String> o) { | 2179 checkUnnamed2192(core.List<core.String> o) { |
| 2180 unittest.expect(o, unittest.hasLength(2)); | 2180 unittest.expect(o, unittest.hasLength(2)); |
| 2181 unittest.expect(o[0], unittest.equals('foo')); | 2181 unittest.expect(o[0], unittest.equals('foo')); |
| 2182 unittest.expect(o[1], unittest.equals('foo')); | 2182 unittest.expect(o[1], unittest.equals('foo')); |
| 2183 } | 2183 } |
| 2184 | 2184 |
| 2185 buildUnnamed108() { | 2185 buildUnnamed2193() { |
| 2186 var o = new core.List<core.String>(); | 2186 var o = new core.List<core.String>(); |
| 2187 o.add("foo"); | 2187 o.add("foo"); |
| 2188 o.add("foo"); | 2188 o.add("foo"); |
| 2189 return o; | 2189 return o; |
| 2190 } | 2190 } |
| 2191 | 2191 |
| 2192 checkUnnamed108(core.List<core.String> o) { | 2192 checkUnnamed2193(core.List<core.String> o) { |
| 2193 unittest.expect(o, unittest.hasLength(2)); | 2193 unittest.expect(o, unittest.hasLength(2)); |
| 2194 unittest.expect(o[0], unittest.equals('foo')); | 2194 unittest.expect(o[0], unittest.equals('foo')); |
| 2195 unittest.expect(o[1], unittest.equals('foo')); | 2195 unittest.expect(o[1], unittest.equals('foo')); |
| 2196 } | 2196 } |
| 2197 | 2197 |
| 2198 core.int buildCounterPretargetingConfigExcludedPlacements = 0; | 2198 core.int buildCounterPretargetingConfigExcludedPlacements = 0; |
| 2199 buildPretargetingConfigExcludedPlacements() { | 2199 buildPretargetingConfigExcludedPlacements() { |
| 2200 var o = new api.PretargetingConfigExcludedPlacements(); | 2200 var o = new api.PretargetingConfigExcludedPlacements(); |
| 2201 buildCounterPretargetingConfigExcludedPlacements++; | 2201 buildCounterPretargetingConfigExcludedPlacements++; |
| 2202 if (buildCounterPretargetingConfigExcludedPlacements < 3) { | 2202 if (buildCounterPretargetingConfigExcludedPlacements < 3) { |
| 2203 o.token = "foo"; | 2203 o.token = "foo"; |
| 2204 o.type = "foo"; | 2204 o.type = "foo"; |
| 2205 } | 2205 } |
| 2206 buildCounterPretargetingConfigExcludedPlacements--; | 2206 buildCounterPretargetingConfigExcludedPlacements--; |
| 2207 return o; | 2207 return o; |
| 2208 } | 2208 } |
| 2209 | 2209 |
| 2210 checkPretargetingConfigExcludedPlacements(api.PretargetingConfigExcludedPlacemen
ts o) { | 2210 checkPretargetingConfigExcludedPlacements(api.PretargetingConfigExcludedPlacemen
ts o) { |
| 2211 buildCounterPretargetingConfigExcludedPlacements++; | 2211 buildCounterPretargetingConfigExcludedPlacements++; |
| 2212 if (buildCounterPretargetingConfigExcludedPlacements < 3) { | 2212 if (buildCounterPretargetingConfigExcludedPlacements < 3) { |
| 2213 unittest.expect(o.token, unittest.equals('foo')); | 2213 unittest.expect(o.token, unittest.equals('foo')); |
| 2214 unittest.expect(o.type, unittest.equals('foo')); | 2214 unittest.expect(o.type, unittest.equals('foo')); |
| 2215 } | 2215 } |
| 2216 buildCounterPretargetingConfigExcludedPlacements--; | 2216 buildCounterPretargetingConfigExcludedPlacements--; |
| 2217 } | 2217 } |
| 2218 | 2218 |
| 2219 buildUnnamed109() { | 2219 buildUnnamed2194() { |
| 2220 var o = new core.List<api.PretargetingConfigExcludedPlacements>(); | 2220 var o = new core.List<api.PretargetingConfigExcludedPlacements>(); |
| 2221 o.add(buildPretargetingConfigExcludedPlacements()); | 2221 o.add(buildPretargetingConfigExcludedPlacements()); |
| 2222 o.add(buildPretargetingConfigExcludedPlacements()); | 2222 o.add(buildPretargetingConfigExcludedPlacements()); |
| 2223 return o; | 2223 return o; |
| 2224 } | 2224 } |
| 2225 | 2225 |
| 2226 checkUnnamed109(core.List<api.PretargetingConfigExcludedPlacements> o) { | 2226 checkUnnamed2194(core.List<api.PretargetingConfigExcludedPlacements> o) { |
| 2227 unittest.expect(o, unittest.hasLength(2)); | 2227 unittest.expect(o, unittest.hasLength(2)); |
| 2228 checkPretargetingConfigExcludedPlacements(o[0]); | 2228 checkPretargetingConfigExcludedPlacements(o[0]); |
| 2229 checkPretargetingConfigExcludedPlacements(o[1]); | 2229 checkPretargetingConfigExcludedPlacements(o[1]); |
| 2230 } | 2230 } |
| 2231 | 2231 |
| 2232 buildUnnamed110() { | 2232 buildUnnamed2195() { |
| 2233 var o = new core.List<core.String>(); | 2233 var o = new core.List<core.String>(); |
| 2234 o.add("foo"); | 2234 o.add("foo"); |
| 2235 o.add("foo"); | 2235 o.add("foo"); |
| 2236 return o; | 2236 return o; |
| 2237 } | 2237 } |
| 2238 | 2238 |
| 2239 checkUnnamed110(core.List<core.String> o) { | 2239 checkUnnamed2195(core.List<core.String> o) { |
| 2240 unittest.expect(o, unittest.hasLength(2)); | 2240 unittest.expect(o, unittest.hasLength(2)); |
| 2241 unittest.expect(o[0], unittest.equals('foo')); | 2241 unittest.expect(o[0], unittest.equals('foo')); |
| 2242 unittest.expect(o[1], unittest.equals('foo')); | 2242 unittest.expect(o[1], unittest.equals('foo')); |
| 2243 } | 2243 } |
| 2244 | 2244 |
| 2245 buildUnnamed111() { | 2245 buildUnnamed2196() { |
| 2246 var o = new core.List<core.String>(); | 2246 var o = new core.List<core.String>(); |
| 2247 o.add("foo"); | 2247 o.add("foo"); |
| 2248 o.add("foo"); | 2248 o.add("foo"); |
| 2249 return o; | 2249 return o; |
| 2250 } | 2250 } |
| 2251 | 2251 |
| 2252 checkUnnamed111(core.List<core.String> o) { | 2252 checkUnnamed2196(core.List<core.String> o) { |
| 2253 unittest.expect(o, unittest.hasLength(2)); | 2253 unittest.expect(o, unittest.hasLength(2)); |
| 2254 unittest.expect(o[0], unittest.equals('foo')); | 2254 unittest.expect(o[0], unittest.equals('foo')); |
| 2255 unittest.expect(o[1], unittest.equals('foo')); | 2255 unittest.expect(o[1], unittest.equals('foo')); |
| 2256 } | 2256 } |
| 2257 | 2257 |
| 2258 buildUnnamed112() { | 2258 buildUnnamed2197() { |
| 2259 var o = new core.List<core.String>(); | 2259 var o = new core.List<core.String>(); |
| 2260 o.add("foo"); | 2260 o.add("foo"); |
| 2261 o.add("foo"); | 2261 o.add("foo"); |
| 2262 return o; | 2262 return o; |
| 2263 } | 2263 } |
| 2264 | 2264 |
| 2265 checkUnnamed112(core.List<core.String> o) { | 2265 checkUnnamed2197(core.List<core.String> o) { |
| 2266 unittest.expect(o, unittest.hasLength(2)); | 2266 unittest.expect(o, unittest.hasLength(2)); |
| 2267 unittest.expect(o[0], unittest.equals('foo')); | 2267 unittest.expect(o[0], unittest.equals('foo')); |
| 2268 unittest.expect(o[1], unittest.equals('foo')); | 2268 unittest.expect(o[1], unittest.equals('foo')); |
| 2269 } | 2269 } |
| 2270 | 2270 |
| 2271 buildUnnamed113() { | 2271 buildUnnamed2198() { |
| 2272 var o = new core.List<core.String>(); | 2272 var o = new core.List<core.String>(); |
| 2273 o.add("foo"); | 2273 o.add("foo"); |
| 2274 o.add("foo"); | 2274 o.add("foo"); |
| 2275 return o; | 2275 return o; |
| 2276 } | 2276 } |
| 2277 | 2277 |
| 2278 checkUnnamed113(core.List<core.String> o) { | 2278 checkUnnamed2198(core.List<core.String> o) { |
| 2279 unittest.expect(o, unittest.hasLength(2)); | 2279 unittest.expect(o, unittest.hasLength(2)); |
| 2280 unittest.expect(o[0], unittest.equals('foo')); | 2280 unittest.expect(o[0], unittest.equals('foo')); |
| 2281 unittest.expect(o[1], unittest.equals('foo')); | 2281 unittest.expect(o[1], unittest.equals('foo')); |
| 2282 } | 2282 } |
| 2283 | 2283 |
| 2284 buildUnnamed114() { | 2284 buildUnnamed2199() { |
| 2285 var o = new core.List<core.String>(); | 2285 var o = new core.List<core.String>(); |
| 2286 o.add("foo"); | 2286 o.add("foo"); |
| 2287 o.add("foo"); | 2287 o.add("foo"); |
| 2288 return o; | 2288 return o; |
| 2289 } | 2289 } |
| 2290 | 2290 |
| 2291 checkUnnamed114(core.List<core.String> o) { | 2291 checkUnnamed2199(core.List<core.String> o) { |
| 2292 unittest.expect(o, unittest.hasLength(2)); | 2292 unittest.expect(o, unittest.hasLength(2)); |
| 2293 unittest.expect(o[0], unittest.equals('foo')); | 2293 unittest.expect(o[0], unittest.equals('foo')); |
| 2294 unittest.expect(o[1], unittest.equals('foo')); | 2294 unittest.expect(o[1], unittest.equals('foo')); |
| 2295 } | 2295 } |
| 2296 | 2296 |
| 2297 buildUnnamed115() { | 2297 buildUnnamed2200() { |
| 2298 var o = new core.List<core.String>(); | 2298 var o = new core.List<core.String>(); |
| 2299 o.add("foo"); | 2299 o.add("foo"); |
| 2300 o.add("foo"); | 2300 o.add("foo"); |
| 2301 return o; | 2301 return o; |
| 2302 } | 2302 } |
| 2303 | 2303 |
| 2304 checkUnnamed115(core.List<core.String> o) { | 2304 checkUnnamed2200(core.List<core.String> o) { |
| 2305 unittest.expect(o, unittest.hasLength(2)); | 2305 unittest.expect(o, unittest.hasLength(2)); |
| 2306 unittest.expect(o[0], unittest.equals('foo')); | 2306 unittest.expect(o[0], unittest.equals('foo')); |
| 2307 unittest.expect(o[1], unittest.equals('foo')); | 2307 unittest.expect(o[1], unittest.equals('foo')); |
| 2308 } | 2308 } |
| 2309 | 2309 |
| 2310 buildUnnamed116() { | 2310 buildUnnamed2201() { |
| 2311 var o = new core.List<core.String>(); | 2311 var o = new core.List<core.String>(); |
| 2312 o.add("foo"); | 2312 o.add("foo"); |
| 2313 o.add("foo"); | 2313 o.add("foo"); |
| 2314 return o; | 2314 return o; |
| 2315 } | 2315 } |
| 2316 | 2316 |
| 2317 checkUnnamed116(core.List<core.String> o) { | 2317 checkUnnamed2201(core.List<core.String> o) { |
| 2318 unittest.expect(o, unittest.hasLength(2)); | 2318 unittest.expect(o, unittest.hasLength(2)); |
| 2319 unittest.expect(o[0], unittest.equals('foo')); | 2319 unittest.expect(o[0], unittest.equals('foo')); |
| 2320 unittest.expect(o[1], unittest.equals('foo')); | 2320 unittest.expect(o[1], unittest.equals('foo')); |
| 2321 } | 2321 } |
| 2322 | 2322 |
| 2323 core.int buildCounterPretargetingConfigPlacements = 0; | 2323 core.int buildCounterPretargetingConfigPlacements = 0; |
| 2324 buildPretargetingConfigPlacements() { | 2324 buildPretargetingConfigPlacements() { |
| 2325 var o = new api.PretargetingConfigPlacements(); | 2325 var o = new api.PretargetingConfigPlacements(); |
| 2326 buildCounterPretargetingConfigPlacements++; | 2326 buildCounterPretargetingConfigPlacements++; |
| 2327 if (buildCounterPretargetingConfigPlacements < 3) { | 2327 if (buildCounterPretargetingConfigPlacements < 3) { |
| 2328 o.token = "foo"; | 2328 o.token = "foo"; |
| 2329 o.type = "foo"; | 2329 o.type = "foo"; |
| 2330 } | 2330 } |
| 2331 buildCounterPretargetingConfigPlacements--; | 2331 buildCounterPretargetingConfigPlacements--; |
| 2332 return o; | 2332 return o; |
| 2333 } | 2333 } |
| 2334 | 2334 |
| 2335 checkPretargetingConfigPlacements(api.PretargetingConfigPlacements o) { | 2335 checkPretargetingConfigPlacements(api.PretargetingConfigPlacements o) { |
| 2336 buildCounterPretargetingConfigPlacements++; | 2336 buildCounterPretargetingConfigPlacements++; |
| 2337 if (buildCounterPretargetingConfigPlacements < 3) { | 2337 if (buildCounterPretargetingConfigPlacements < 3) { |
| 2338 unittest.expect(o.token, unittest.equals('foo')); | 2338 unittest.expect(o.token, unittest.equals('foo')); |
| 2339 unittest.expect(o.type, unittest.equals('foo')); | 2339 unittest.expect(o.type, unittest.equals('foo')); |
| 2340 } | 2340 } |
| 2341 buildCounterPretargetingConfigPlacements--; | 2341 buildCounterPretargetingConfigPlacements--; |
| 2342 } | 2342 } |
| 2343 | 2343 |
| 2344 buildUnnamed117() { | 2344 buildUnnamed2202() { |
| 2345 var o = new core.List<api.PretargetingConfigPlacements>(); | 2345 var o = new core.List<api.PretargetingConfigPlacements>(); |
| 2346 o.add(buildPretargetingConfigPlacements()); | 2346 o.add(buildPretargetingConfigPlacements()); |
| 2347 o.add(buildPretargetingConfigPlacements()); | 2347 o.add(buildPretargetingConfigPlacements()); |
| 2348 return o; | 2348 return o; |
| 2349 } | 2349 } |
| 2350 | 2350 |
| 2351 checkUnnamed117(core.List<api.PretargetingConfigPlacements> o) { | 2351 checkUnnamed2202(core.List<api.PretargetingConfigPlacements> o) { |
| 2352 unittest.expect(o, unittest.hasLength(2)); | 2352 unittest.expect(o, unittest.hasLength(2)); |
| 2353 checkPretargetingConfigPlacements(o[0]); | 2353 checkPretargetingConfigPlacements(o[0]); |
| 2354 checkPretargetingConfigPlacements(o[1]); | 2354 checkPretargetingConfigPlacements(o[1]); |
| 2355 } | 2355 } |
| 2356 | 2356 |
| 2357 buildUnnamed118() { | 2357 buildUnnamed2203() { |
| 2358 var o = new core.List<core.String>(); | 2358 var o = new core.List<core.String>(); |
| 2359 o.add("foo"); | 2359 o.add("foo"); |
| 2360 o.add("foo"); | 2360 o.add("foo"); |
| 2361 return o; | 2361 return o; |
| 2362 } | 2362 } |
| 2363 | 2363 |
| 2364 checkUnnamed118(core.List<core.String> o) { | 2364 checkUnnamed2203(core.List<core.String> o) { |
| 2365 unittest.expect(o, unittest.hasLength(2)); | 2365 unittest.expect(o, unittest.hasLength(2)); |
| 2366 unittest.expect(o[0], unittest.equals('foo')); | 2366 unittest.expect(o[0], unittest.equals('foo')); |
| 2367 unittest.expect(o[1], unittest.equals('foo')); | 2367 unittest.expect(o[1], unittest.equals('foo')); |
| 2368 } | 2368 } |
| 2369 | 2369 |
| 2370 buildUnnamed119() { | 2370 buildUnnamed2204() { |
| 2371 var o = new core.List<core.String>(); | 2371 var o = new core.List<core.String>(); |
| 2372 o.add("foo"); | 2372 o.add("foo"); |
| 2373 o.add("foo"); | 2373 o.add("foo"); |
| 2374 return o; | 2374 return o; |
| 2375 } | 2375 } |
| 2376 | 2376 |
| 2377 checkUnnamed119(core.List<core.String> o) { | 2377 checkUnnamed2204(core.List<core.String> o) { |
| 2378 unittest.expect(o, unittest.hasLength(2)); | 2378 unittest.expect(o, unittest.hasLength(2)); |
| 2379 unittest.expect(o[0], unittest.equals('foo')); | 2379 unittest.expect(o[0], unittest.equals('foo')); |
| 2380 unittest.expect(o[1], unittest.equals('foo')); | 2380 unittest.expect(o[1], unittest.equals('foo')); |
| 2381 } | 2381 } |
| 2382 | 2382 |
| 2383 buildUnnamed120() { | 2383 buildUnnamed2205() { |
| 2384 var o = new core.List<core.String>(); | 2384 var o = new core.List<core.String>(); |
| 2385 o.add("foo"); | 2385 o.add("foo"); |
| 2386 o.add("foo"); | 2386 o.add("foo"); |
| 2387 return o; | 2387 return o; |
| 2388 } | 2388 } |
| 2389 | 2389 |
| 2390 checkUnnamed120(core.List<core.String> o) { | 2390 checkUnnamed2205(core.List<core.String> o) { |
| 2391 unittest.expect(o, unittest.hasLength(2)); | 2391 unittest.expect(o, unittest.hasLength(2)); |
| 2392 unittest.expect(o[0], unittest.equals('foo')); | 2392 unittest.expect(o[0], unittest.equals('foo')); |
| 2393 unittest.expect(o[1], unittest.equals('foo')); | 2393 unittest.expect(o[1], unittest.equals('foo')); |
| 2394 } | 2394 } |
| 2395 | 2395 |
| 2396 buildUnnamed121() { | 2396 buildUnnamed2206() { |
| 2397 var o = new core.List<core.String>(); | 2397 var o = new core.List<core.String>(); |
| 2398 o.add("foo"); | 2398 o.add("foo"); |
| 2399 o.add("foo"); | 2399 o.add("foo"); |
| 2400 return o; | 2400 return o; |
| 2401 } | 2401 } |
| 2402 | 2402 |
| 2403 checkUnnamed121(core.List<core.String> o) { | 2403 checkUnnamed2206(core.List<core.String> o) { |
| 2404 unittest.expect(o, unittest.hasLength(2)); | 2404 unittest.expect(o, unittest.hasLength(2)); |
| 2405 unittest.expect(o[0], unittest.equals('foo')); | 2405 unittest.expect(o[0], unittest.equals('foo')); |
| 2406 unittest.expect(o[1], unittest.equals('foo')); | 2406 unittest.expect(o[1], unittest.equals('foo')); |
| 2407 } | 2407 } |
| 2408 | 2408 |
| 2409 buildUnnamed122() { | 2409 buildUnnamed2207() { |
| 2410 var o = new core.List<core.String>(); | 2410 var o = new core.List<core.String>(); |
| 2411 o.add("foo"); | 2411 o.add("foo"); |
| 2412 o.add("foo"); | 2412 o.add("foo"); |
| 2413 return o; | 2413 return o; |
| 2414 } | 2414 } |
| 2415 | 2415 |
| 2416 checkUnnamed122(core.List<core.String> o) { | 2416 checkUnnamed2207(core.List<core.String> o) { |
| 2417 unittest.expect(o, unittest.hasLength(2)); | 2417 unittest.expect(o, unittest.hasLength(2)); |
| 2418 unittest.expect(o[0], unittest.equals('foo')); | 2418 unittest.expect(o[0], unittest.equals('foo')); |
| 2419 unittest.expect(o[1], unittest.equals('foo')); | 2419 unittest.expect(o[1], unittest.equals('foo')); |
| 2420 } | 2420 } |
| 2421 | 2421 |
| 2422 core.int buildCounterPretargetingConfigVideoPlayerSizes = 0; | 2422 core.int buildCounterPretargetingConfigVideoPlayerSizes = 0; |
| 2423 buildPretargetingConfigVideoPlayerSizes() { | 2423 buildPretargetingConfigVideoPlayerSizes() { |
| 2424 var o = new api.PretargetingConfigVideoPlayerSizes(); | 2424 var o = new api.PretargetingConfigVideoPlayerSizes(); |
| 2425 buildCounterPretargetingConfigVideoPlayerSizes++; | 2425 buildCounterPretargetingConfigVideoPlayerSizes++; |
| 2426 if (buildCounterPretargetingConfigVideoPlayerSizes < 3) { | 2426 if (buildCounterPretargetingConfigVideoPlayerSizes < 3) { |
| 2427 o.aspectRatio = "foo"; | 2427 o.aspectRatio = "foo"; |
| 2428 o.minHeight = "foo"; | 2428 o.minHeight = "foo"; |
| 2429 o.minWidth = "foo"; | 2429 o.minWidth = "foo"; |
| 2430 } | 2430 } |
| 2431 buildCounterPretargetingConfigVideoPlayerSizes--; | 2431 buildCounterPretargetingConfigVideoPlayerSizes--; |
| 2432 return o; | 2432 return o; |
| 2433 } | 2433 } |
| 2434 | 2434 |
| 2435 checkPretargetingConfigVideoPlayerSizes(api.PretargetingConfigVideoPlayerSizes o
) { | 2435 checkPretargetingConfigVideoPlayerSizes(api.PretargetingConfigVideoPlayerSizes o
) { |
| 2436 buildCounterPretargetingConfigVideoPlayerSizes++; | 2436 buildCounterPretargetingConfigVideoPlayerSizes++; |
| 2437 if (buildCounterPretargetingConfigVideoPlayerSizes < 3) { | 2437 if (buildCounterPretargetingConfigVideoPlayerSizes < 3) { |
| 2438 unittest.expect(o.aspectRatio, unittest.equals('foo')); | 2438 unittest.expect(o.aspectRatio, unittest.equals('foo')); |
| 2439 unittest.expect(o.minHeight, unittest.equals('foo')); | 2439 unittest.expect(o.minHeight, unittest.equals('foo')); |
| 2440 unittest.expect(o.minWidth, unittest.equals('foo')); | 2440 unittest.expect(o.minWidth, unittest.equals('foo')); |
| 2441 } | 2441 } |
| 2442 buildCounterPretargetingConfigVideoPlayerSizes--; | 2442 buildCounterPretargetingConfigVideoPlayerSizes--; |
| 2443 } | 2443 } |
| 2444 | 2444 |
| 2445 buildUnnamed123() { | 2445 buildUnnamed2208() { |
| 2446 var o = new core.List<api.PretargetingConfigVideoPlayerSizes>(); | 2446 var o = new core.List<api.PretargetingConfigVideoPlayerSizes>(); |
| 2447 o.add(buildPretargetingConfigVideoPlayerSizes()); | 2447 o.add(buildPretargetingConfigVideoPlayerSizes()); |
| 2448 o.add(buildPretargetingConfigVideoPlayerSizes()); | 2448 o.add(buildPretargetingConfigVideoPlayerSizes()); |
| 2449 return o; | 2449 return o; |
| 2450 } | 2450 } |
| 2451 | 2451 |
| 2452 checkUnnamed123(core.List<api.PretargetingConfigVideoPlayerSizes> o) { | 2452 checkUnnamed2208(core.List<api.PretargetingConfigVideoPlayerSizes> o) { |
| 2453 unittest.expect(o, unittest.hasLength(2)); | 2453 unittest.expect(o, unittest.hasLength(2)); |
| 2454 checkPretargetingConfigVideoPlayerSizes(o[0]); | 2454 checkPretargetingConfigVideoPlayerSizes(o[0]); |
| 2455 checkPretargetingConfigVideoPlayerSizes(o[1]); | 2455 checkPretargetingConfigVideoPlayerSizes(o[1]); |
| 2456 } | 2456 } |
| 2457 | 2457 |
| 2458 core.int buildCounterPretargetingConfig = 0; | 2458 core.int buildCounterPretargetingConfig = 0; |
| 2459 buildPretargetingConfig() { | 2459 buildPretargetingConfig() { |
| 2460 var o = new api.PretargetingConfig(); | 2460 var o = new api.PretargetingConfig(); |
| 2461 buildCounterPretargetingConfig++; | 2461 buildCounterPretargetingConfig++; |
| 2462 if (buildCounterPretargetingConfig < 3) { | 2462 if (buildCounterPretargetingConfig < 3) { |
| 2463 o.billingId = "foo"; | 2463 o.billingId = "foo"; |
| 2464 o.configId = "foo"; | 2464 o.configId = "foo"; |
| 2465 o.configName = "foo"; | 2465 o.configName = "foo"; |
| 2466 o.creativeType = buildUnnamed105(); | 2466 o.creativeType = buildUnnamed2190(); |
| 2467 o.dimensions = buildUnnamed106(); | 2467 o.dimensions = buildUnnamed2191(); |
| 2468 o.excludedContentLabels = buildUnnamed107(); | 2468 o.excludedContentLabels = buildUnnamed2192(); |
| 2469 o.excludedGeoCriteriaIds = buildUnnamed108(); | 2469 o.excludedGeoCriteriaIds = buildUnnamed2193(); |
| 2470 o.excludedPlacements = buildUnnamed109(); | 2470 o.excludedPlacements = buildUnnamed2194(); |
| 2471 o.excludedUserLists = buildUnnamed110(); | 2471 o.excludedUserLists = buildUnnamed2195(); |
| 2472 o.excludedVerticals = buildUnnamed111(); | 2472 o.excludedVerticals = buildUnnamed2196(); |
| 2473 o.geoCriteriaIds = buildUnnamed112(); | 2473 o.geoCriteriaIds = buildUnnamed2197(); |
| 2474 o.isActive = true; | 2474 o.isActive = true; |
| 2475 o.kind = "foo"; | 2475 o.kind = "foo"; |
| 2476 o.languages = buildUnnamed113(); | 2476 o.languages = buildUnnamed2198(); |
| 2477 o.mobileCarriers = buildUnnamed114(); | 2477 o.mobileCarriers = buildUnnamed2199(); |
| 2478 o.mobileDevices = buildUnnamed115(); | 2478 o.mobileDevices = buildUnnamed2200(); |
| 2479 o.mobileOperatingSystemVersions = buildUnnamed116(); | 2479 o.mobileOperatingSystemVersions = buildUnnamed2201(); |
| 2480 o.placements = buildUnnamed117(); | 2480 o.placements = buildUnnamed2202(); |
| 2481 o.platforms = buildUnnamed118(); | 2481 o.platforms = buildUnnamed2203(); |
| 2482 o.supportedCreativeAttributes = buildUnnamed119(); | 2482 o.supportedCreativeAttributes = buildUnnamed2204(); |
| 2483 o.userLists = buildUnnamed120(); | 2483 o.userLists = buildUnnamed2205(); |
| 2484 o.vendorTypes = buildUnnamed121(); | 2484 o.vendorTypes = buildUnnamed2206(); |
| 2485 o.verticals = buildUnnamed122(); | 2485 o.verticals = buildUnnamed2207(); |
| 2486 o.videoPlayerSizes = buildUnnamed123(); | 2486 o.videoPlayerSizes = buildUnnamed2208(); |
| 2487 } | 2487 } |
| 2488 buildCounterPretargetingConfig--; | 2488 buildCounterPretargetingConfig--; |
| 2489 return o; | 2489 return o; |
| 2490 } | 2490 } |
| 2491 | 2491 |
| 2492 checkPretargetingConfig(api.PretargetingConfig o) { | 2492 checkPretargetingConfig(api.PretargetingConfig o) { |
| 2493 buildCounterPretargetingConfig++; | 2493 buildCounterPretargetingConfig++; |
| 2494 if (buildCounterPretargetingConfig < 3) { | 2494 if (buildCounterPretargetingConfig < 3) { |
| 2495 unittest.expect(o.billingId, unittest.equals('foo')); | 2495 unittest.expect(o.billingId, unittest.equals('foo')); |
| 2496 unittest.expect(o.configId, unittest.equals('foo')); | 2496 unittest.expect(o.configId, unittest.equals('foo')); |
| 2497 unittest.expect(o.configName, unittest.equals('foo')); | 2497 unittest.expect(o.configName, unittest.equals('foo')); |
| 2498 checkUnnamed105(o.creativeType); | 2498 checkUnnamed2190(o.creativeType); |
| 2499 checkUnnamed106(o.dimensions); | 2499 checkUnnamed2191(o.dimensions); |
| 2500 checkUnnamed107(o.excludedContentLabels); | 2500 checkUnnamed2192(o.excludedContentLabels); |
| 2501 checkUnnamed108(o.excludedGeoCriteriaIds); | 2501 checkUnnamed2193(o.excludedGeoCriteriaIds); |
| 2502 checkUnnamed109(o.excludedPlacements); | 2502 checkUnnamed2194(o.excludedPlacements); |
| 2503 checkUnnamed110(o.excludedUserLists); | 2503 checkUnnamed2195(o.excludedUserLists); |
| 2504 checkUnnamed111(o.excludedVerticals); | 2504 checkUnnamed2196(o.excludedVerticals); |
| 2505 checkUnnamed112(o.geoCriteriaIds); | 2505 checkUnnamed2197(o.geoCriteriaIds); |
| 2506 unittest.expect(o.isActive, unittest.isTrue); | 2506 unittest.expect(o.isActive, unittest.isTrue); |
| 2507 unittest.expect(o.kind, unittest.equals('foo')); | 2507 unittest.expect(o.kind, unittest.equals('foo')); |
| 2508 checkUnnamed113(o.languages); | 2508 checkUnnamed2198(o.languages); |
| 2509 checkUnnamed114(o.mobileCarriers); | 2509 checkUnnamed2199(o.mobileCarriers); |
| 2510 checkUnnamed115(o.mobileDevices); | 2510 checkUnnamed2200(o.mobileDevices); |
| 2511 checkUnnamed116(o.mobileOperatingSystemVersions); | 2511 checkUnnamed2201(o.mobileOperatingSystemVersions); |
| 2512 checkUnnamed117(o.placements); | 2512 checkUnnamed2202(o.placements); |
| 2513 checkUnnamed118(o.platforms); | 2513 checkUnnamed2203(o.platforms); |
| 2514 checkUnnamed119(o.supportedCreativeAttributes); | 2514 checkUnnamed2204(o.supportedCreativeAttributes); |
| 2515 checkUnnamed120(o.userLists); | 2515 checkUnnamed2205(o.userLists); |
| 2516 checkUnnamed121(o.vendorTypes); | 2516 checkUnnamed2206(o.vendorTypes); |
| 2517 checkUnnamed122(o.verticals); | 2517 checkUnnamed2207(o.verticals); |
| 2518 checkUnnamed123(o.videoPlayerSizes); | 2518 checkUnnamed2208(o.videoPlayerSizes); |
| 2519 } | 2519 } |
| 2520 buildCounterPretargetingConfig--; | 2520 buildCounterPretargetingConfig--; |
| 2521 } | 2521 } |
| 2522 | 2522 |
| 2523 buildUnnamed124() { | 2523 buildUnnamed2209() { |
| 2524 var o = new core.List<api.PretargetingConfig>(); | 2524 var o = new core.List<api.PretargetingConfig>(); |
| 2525 o.add(buildPretargetingConfig()); | 2525 o.add(buildPretargetingConfig()); |
| 2526 o.add(buildPretargetingConfig()); | 2526 o.add(buildPretargetingConfig()); |
| 2527 return o; | 2527 return o; |
| 2528 } | 2528 } |
| 2529 | 2529 |
| 2530 checkUnnamed124(core.List<api.PretargetingConfig> o) { | 2530 checkUnnamed2209(core.List<api.PretargetingConfig> o) { |
| 2531 unittest.expect(o, unittest.hasLength(2)); | 2531 unittest.expect(o, unittest.hasLength(2)); |
| 2532 checkPretargetingConfig(o[0]); | 2532 checkPretargetingConfig(o[0]); |
| 2533 checkPretargetingConfig(o[1]); | 2533 checkPretargetingConfig(o[1]); |
| 2534 } | 2534 } |
| 2535 | 2535 |
| 2536 core.int buildCounterPretargetingConfigList = 0; | 2536 core.int buildCounterPretargetingConfigList = 0; |
| 2537 buildPretargetingConfigList() { | 2537 buildPretargetingConfigList() { |
| 2538 var o = new api.PretargetingConfigList(); | 2538 var o = new api.PretargetingConfigList(); |
| 2539 buildCounterPretargetingConfigList++; | 2539 buildCounterPretargetingConfigList++; |
| 2540 if (buildCounterPretargetingConfigList < 3) { | 2540 if (buildCounterPretargetingConfigList < 3) { |
| 2541 o.items = buildUnnamed124(); | 2541 o.items = buildUnnamed2209(); |
| 2542 o.kind = "foo"; | 2542 o.kind = "foo"; |
| 2543 } | 2543 } |
| 2544 buildCounterPretargetingConfigList--; | 2544 buildCounterPretargetingConfigList--; |
| 2545 return o; | 2545 return o; |
| 2546 } | 2546 } |
| 2547 | 2547 |
| 2548 checkPretargetingConfigList(api.PretargetingConfigList o) { | 2548 checkPretargetingConfigList(api.PretargetingConfigList o) { |
| 2549 buildCounterPretargetingConfigList++; | 2549 buildCounterPretargetingConfigList++; |
| 2550 if (buildCounterPretargetingConfigList < 3) { | 2550 if (buildCounterPretargetingConfigList < 3) { |
| 2551 checkUnnamed124(o.items); | 2551 checkUnnamed2209(o.items); |
| 2552 unittest.expect(o.kind, unittest.equals('foo')); | 2552 unittest.expect(o.kind, unittest.equals('foo')); |
| 2553 } | 2553 } |
| 2554 buildCounterPretargetingConfigList--; | 2554 buildCounterPretargetingConfigList--; |
| 2555 } | 2555 } |
| 2556 | 2556 |
| 2557 core.int buildCounterPrice = 0; | 2557 core.int buildCounterPrice = 0; |
| 2558 buildPrice() { | 2558 buildPrice() { |
| 2559 var o = new api.Price(); | 2559 var o = new api.Price(); |
| 2560 buildCounterPrice++; | 2560 buildCounterPrice++; |
| 2561 if (buildCounterPrice < 3) { | 2561 if (buildCounterPrice < 3) { |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2614 | 2614 |
| 2615 checkPrivateData(api.PrivateData o) { | 2615 checkPrivateData(api.PrivateData o) { |
| 2616 buildCounterPrivateData++; | 2616 buildCounterPrivateData++; |
| 2617 if (buildCounterPrivateData < 3) { | 2617 if (buildCounterPrivateData < 3) { |
| 2618 unittest.expect(o.referenceId, unittest.equals('foo')); | 2618 unittest.expect(o.referenceId, unittest.equals('foo')); |
| 2619 unittest.expect(o.referencePayload, unittest.equals('foo')); | 2619 unittest.expect(o.referencePayload, unittest.equals('foo')); |
| 2620 } | 2620 } |
| 2621 buildCounterPrivateData--; | 2621 buildCounterPrivateData--; |
| 2622 } | 2622 } |
| 2623 | 2623 |
| 2624 buildUnnamed125() { | 2624 buildUnnamed2210() { |
| 2625 var o = new core.List<api.ContactInformation>(); | 2625 var o = new core.List<api.ContactInformation>(); |
| 2626 o.add(buildContactInformation()); | 2626 o.add(buildContactInformation()); |
| 2627 o.add(buildContactInformation()); | 2627 o.add(buildContactInformation()); |
| 2628 return o; | 2628 return o; |
| 2629 } | 2629 } |
| 2630 | 2630 |
| 2631 checkUnnamed125(core.List<api.ContactInformation> o) { | 2631 checkUnnamed2210(core.List<api.ContactInformation> o) { |
| 2632 unittest.expect(o, unittest.hasLength(2)); | 2632 unittest.expect(o, unittest.hasLength(2)); |
| 2633 checkContactInformation(o[0]); | 2633 checkContactInformation(o[0]); |
| 2634 checkContactInformation(o[1]); | 2634 checkContactInformation(o[1]); |
| 2635 } | 2635 } |
| 2636 | 2636 |
| 2637 buildUnnamed126() { | 2637 buildUnnamed2211() { |
| 2638 var o = new core.List<api.MarketplaceLabel>(); | 2638 var o = new core.List<api.MarketplaceLabel>(); |
| 2639 o.add(buildMarketplaceLabel()); | 2639 o.add(buildMarketplaceLabel()); |
| 2640 o.add(buildMarketplaceLabel()); | 2640 o.add(buildMarketplaceLabel()); |
| 2641 return o; | 2641 return o; |
| 2642 } | 2642 } |
| 2643 | 2643 |
| 2644 checkUnnamed126(core.List<api.MarketplaceLabel> o) { | 2644 checkUnnamed2211(core.List<api.MarketplaceLabel> o) { |
| 2645 unittest.expect(o, unittest.hasLength(2)); | 2645 unittest.expect(o, unittest.hasLength(2)); |
| 2646 checkMarketplaceLabel(o[0]); | 2646 checkMarketplaceLabel(o[0]); |
| 2647 checkMarketplaceLabel(o[1]); | 2647 checkMarketplaceLabel(o[1]); |
| 2648 } | 2648 } |
| 2649 | 2649 |
| 2650 buildUnnamed127() { | 2650 buildUnnamed2212() { |
| 2651 var o = new core.List<api.SharedTargeting>(); | 2651 var o = new core.List<api.SharedTargeting>(); |
| 2652 o.add(buildSharedTargeting()); | 2652 o.add(buildSharedTargeting()); |
| 2653 o.add(buildSharedTargeting()); | 2653 o.add(buildSharedTargeting()); |
| 2654 return o; | 2654 return o; |
| 2655 } | 2655 } |
| 2656 | 2656 |
| 2657 checkUnnamed127(core.List<api.SharedTargeting> o) { | 2657 checkUnnamed2212(core.List<api.SharedTargeting> o) { |
| 2658 unittest.expect(o, unittest.hasLength(2)); | 2658 unittest.expect(o, unittest.hasLength(2)); |
| 2659 checkSharedTargeting(o[0]); | 2659 checkSharedTargeting(o[0]); |
| 2660 checkSharedTargeting(o[1]); | 2660 checkSharedTargeting(o[1]); |
| 2661 } | 2661 } |
| 2662 | 2662 |
| 2663 core.int buildCounterProduct = 0; | 2663 core.int buildCounterProduct = 0; |
| 2664 buildProduct() { | 2664 buildProduct() { |
| 2665 var o = new api.Product(); | 2665 var o = new api.Product(); |
| 2666 buildCounterProduct++; | 2666 buildCounterProduct++; |
| 2667 if (buildCounterProduct < 3) { | 2667 if (buildCounterProduct < 3) { |
| 2668 o.creationTimeMs = "foo"; | 2668 o.creationTimeMs = "foo"; |
| 2669 o.creatorContacts = buildUnnamed125(); | 2669 o.creatorContacts = buildUnnamed2210(); |
| 2670 o.deliveryControl = buildDeliveryControl(); | 2670 o.deliveryControl = buildDeliveryControl(); |
| 2671 o.flightEndTimeMs = "foo"; | 2671 o.flightEndTimeMs = "foo"; |
| 2672 o.flightStartTimeMs = "foo"; | 2672 o.flightStartTimeMs = "foo"; |
| 2673 o.hasCreatorSignedOff = true; | 2673 o.hasCreatorSignedOff = true; |
| 2674 o.inventorySource = "foo"; | 2674 o.inventorySource = "foo"; |
| 2675 o.kind = "foo"; | 2675 o.kind = "foo"; |
| 2676 o.labels = buildUnnamed126(); | 2676 o.labels = buildUnnamed2211(); |
| 2677 o.lastUpdateTimeMs = "foo"; | 2677 o.lastUpdateTimeMs = "foo"; |
| 2678 o.legacyOfferId = "foo"; | 2678 o.legacyOfferId = "foo"; |
| 2679 o.name = "foo"; | 2679 o.name = "foo"; |
| 2680 o.privateAuctionId = "foo"; | 2680 o.privateAuctionId = "foo"; |
| 2681 o.productId = "foo"; | 2681 o.productId = "foo"; |
| 2682 o.publisherProfileId = "foo"; | 2682 o.publisherProfileId = "foo"; |
| 2683 o.publisherProvidedForecast = buildPublisherProvidedForecast(); | 2683 o.publisherProvidedForecast = buildPublisherProvidedForecast(); |
| 2684 o.revisionNumber = "foo"; | 2684 o.revisionNumber = "foo"; |
| 2685 o.seller = buildSeller(); | 2685 o.seller = buildSeller(); |
| 2686 o.sharedTargetings = buildUnnamed127(); | 2686 o.sharedTargetings = buildUnnamed2212(); |
| 2687 o.state = "foo"; | 2687 o.state = "foo"; |
| 2688 o.syndicationProduct = "foo"; | 2688 o.syndicationProduct = "foo"; |
| 2689 o.terms = buildDealTerms(); | 2689 o.terms = buildDealTerms(); |
| 2690 o.webPropertyCode = "foo"; | 2690 o.webPropertyCode = "foo"; |
| 2691 } | 2691 } |
| 2692 buildCounterProduct--; | 2692 buildCounterProduct--; |
| 2693 return o; | 2693 return o; |
| 2694 } | 2694 } |
| 2695 | 2695 |
| 2696 checkProduct(api.Product o) { | 2696 checkProduct(api.Product o) { |
| 2697 buildCounterProduct++; | 2697 buildCounterProduct++; |
| 2698 if (buildCounterProduct < 3) { | 2698 if (buildCounterProduct < 3) { |
| 2699 unittest.expect(o.creationTimeMs, unittest.equals('foo')); | 2699 unittest.expect(o.creationTimeMs, unittest.equals('foo')); |
| 2700 checkUnnamed125(o.creatorContacts); | 2700 checkUnnamed2210(o.creatorContacts); |
| 2701 checkDeliveryControl(o.deliveryControl); | 2701 checkDeliveryControl(o.deliveryControl); |
| 2702 unittest.expect(o.flightEndTimeMs, unittest.equals('foo')); | 2702 unittest.expect(o.flightEndTimeMs, unittest.equals('foo')); |
| 2703 unittest.expect(o.flightStartTimeMs, unittest.equals('foo')); | 2703 unittest.expect(o.flightStartTimeMs, unittest.equals('foo')); |
| 2704 unittest.expect(o.hasCreatorSignedOff, unittest.isTrue); | 2704 unittest.expect(o.hasCreatorSignedOff, unittest.isTrue); |
| 2705 unittest.expect(o.inventorySource, unittest.equals('foo')); | 2705 unittest.expect(o.inventorySource, unittest.equals('foo')); |
| 2706 unittest.expect(o.kind, unittest.equals('foo')); | 2706 unittest.expect(o.kind, unittest.equals('foo')); |
| 2707 checkUnnamed126(o.labels); | 2707 checkUnnamed2211(o.labels); |
| 2708 unittest.expect(o.lastUpdateTimeMs, unittest.equals('foo')); | 2708 unittest.expect(o.lastUpdateTimeMs, unittest.equals('foo')); |
| 2709 unittest.expect(o.legacyOfferId, unittest.equals('foo')); | 2709 unittest.expect(o.legacyOfferId, unittest.equals('foo')); |
| 2710 unittest.expect(o.name, unittest.equals('foo')); | 2710 unittest.expect(o.name, unittest.equals('foo')); |
| 2711 unittest.expect(o.privateAuctionId, unittest.equals('foo')); | 2711 unittest.expect(o.privateAuctionId, unittest.equals('foo')); |
| 2712 unittest.expect(o.productId, unittest.equals('foo')); | 2712 unittest.expect(o.productId, unittest.equals('foo')); |
| 2713 unittest.expect(o.publisherProfileId, unittest.equals('foo')); | 2713 unittest.expect(o.publisherProfileId, unittest.equals('foo')); |
| 2714 checkPublisherProvidedForecast(o.publisherProvidedForecast); | 2714 checkPublisherProvidedForecast(o.publisherProvidedForecast); |
| 2715 unittest.expect(o.revisionNumber, unittest.equals('foo')); | 2715 unittest.expect(o.revisionNumber, unittest.equals('foo')); |
| 2716 checkSeller(o.seller); | 2716 checkSeller(o.seller); |
| 2717 checkUnnamed127(o.sharedTargetings); | 2717 checkUnnamed2212(o.sharedTargetings); |
| 2718 unittest.expect(o.state, unittest.equals('foo')); | 2718 unittest.expect(o.state, unittest.equals('foo')); |
| 2719 unittest.expect(o.syndicationProduct, unittest.equals('foo')); | 2719 unittest.expect(o.syndicationProduct, unittest.equals('foo')); |
| 2720 checkDealTerms(o.terms); | 2720 checkDealTerms(o.terms); |
| 2721 unittest.expect(o.webPropertyCode, unittest.equals('foo')); | 2721 unittest.expect(o.webPropertyCode, unittest.equals('foo')); |
| 2722 } | 2722 } |
| 2723 buildCounterProduct--; | 2723 buildCounterProduct--; |
| 2724 } | 2724 } |
| 2725 | 2725 |
| 2726 buildUnnamed128() { | 2726 buildUnnamed2213() { |
| 2727 var o = new core.List<api.ContactInformation>(); | 2727 var o = new core.List<api.ContactInformation>(); |
| 2728 o.add(buildContactInformation()); | 2728 o.add(buildContactInformation()); |
| 2729 o.add(buildContactInformation()); | 2729 o.add(buildContactInformation()); |
| 2730 return o; | 2730 return o; |
| 2731 } | 2731 } |
| 2732 | 2732 |
| 2733 checkUnnamed128(core.List<api.ContactInformation> o) { | 2733 checkUnnamed2213(core.List<api.ContactInformation> o) { |
| 2734 unittest.expect(o, unittest.hasLength(2)); | 2734 unittest.expect(o, unittest.hasLength(2)); |
| 2735 checkContactInformation(o[0]); | 2735 checkContactInformation(o[0]); |
| 2736 checkContactInformation(o[1]); | 2736 checkContactInformation(o[1]); |
| 2737 } | 2737 } |
| 2738 | 2738 |
| 2739 buildUnnamed129() { | 2739 buildUnnamed2214() { |
| 2740 var o = new core.List<api.MarketplaceLabel>(); | 2740 var o = new core.List<api.MarketplaceLabel>(); |
| 2741 o.add(buildMarketplaceLabel()); | 2741 o.add(buildMarketplaceLabel()); |
| 2742 o.add(buildMarketplaceLabel()); | 2742 o.add(buildMarketplaceLabel()); |
| 2743 return o; | 2743 return o; |
| 2744 } | 2744 } |
| 2745 | 2745 |
| 2746 checkUnnamed129(core.List<api.MarketplaceLabel> o) { | 2746 checkUnnamed2214(core.List<api.MarketplaceLabel> o) { |
| 2747 unittest.expect(o, unittest.hasLength(2)); | 2747 unittest.expect(o, unittest.hasLength(2)); |
| 2748 checkMarketplaceLabel(o[0]); | 2748 checkMarketplaceLabel(o[0]); |
| 2749 checkMarketplaceLabel(o[1]); | 2749 checkMarketplaceLabel(o[1]); |
| 2750 } | 2750 } |
| 2751 | 2751 |
| 2752 buildUnnamed130() { | 2752 buildUnnamed2215() { |
| 2753 var o = new core.List<api.ContactInformation>(); | 2753 var o = new core.List<api.ContactInformation>(); |
| 2754 o.add(buildContactInformation()); | 2754 o.add(buildContactInformation()); |
| 2755 o.add(buildContactInformation()); | 2755 o.add(buildContactInformation()); |
| 2756 return o; | 2756 return o; |
| 2757 } | 2757 } |
| 2758 | 2758 |
| 2759 checkUnnamed130(core.List<api.ContactInformation> o) { | 2759 checkUnnamed2215(core.List<api.ContactInformation> o) { |
| 2760 unittest.expect(o, unittest.hasLength(2)); | 2760 unittest.expect(o, unittest.hasLength(2)); |
| 2761 checkContactInformation(o[0]); | 2761 checkContactInformation(o[0]); |
| 2762 checkContactInformation(o[1]); | 2762 checkContactInformation(o[1]); |
| 2763 } | 2763 } |
| 2764 | 2764 |
| 2765 core.int buildCounterProposal = 0; | 2765 core.int buildCounterProposal = 0; |
| 2766 buildProposal() { | 2766 buildProposal() { |
| 2767 var o = new api.Proposal(); | 2767 var o = new api.Proposal(); |
| 2768 buildCounterProposal++; | 2768 buildCounterProposal++; |
| 2769 if (buildCounterProposal < 3) { | 2769 if (buildCounterProposal < 3) { |
| 2770 o.billedBuyer = buildBuyer(); | 2770 o.billedBuyer = buildBuyer(); |
| 2771 o.buyer = buildBuyer(); | 2771 o.buyer = buildBuyer(); |
| 2772 o.buyerContacts = buildUnnamed128(); | 2772 o.buyerContacts = buildUnnamed2213(); |
| 2773 o.buyerPrivateData = buildPrivateData(); | 2773 o.buyerPrivateData = buildPrivateData(); |
| 2774 o.hasBuyerSignedOff = true; | 2774 o.hasBuyerSignedOff = true; |
| 2775 o.hasSellerSignedOff = true; | 2775 o.hasSellerSignedOff = true; |
| 2776 o.inventorySource = "foo"; | 2776 o.inventorySource = "foo"; |
| 2777 o.isRenegotiating = true; | 2777 o.isRenegotiating = true; |
| 2778 o.isSetupComplete = true; | 2778 o.isSetupComplete = true; |
| 2779 o.kind = "foo"; | 2779 o.kind = "foo"; |
| 2780 o.labels = buildUnnamed129(); | 2780 o.labels = buildUnnamed2214(); |
| 2781 o.lastUpdaterOrCommentorRole = "foo"; | 2781 o.lastUpdaterOrCommentorRole = "foo"; |
| 2782 o.name = "foo"; | 2782 o.name = "foo"; |
| 2783 o.negotiationId = "foo"; | 2783 o.negotiationId = "foo"; |
| 2784 o.originatorRole = "foo"; | 2784 o.originatorRole = "foo"; |
| 2785 o.privateAuctionId = "foo"; | 2785 o.privateAuctionId = "foo"; |
| 2786 o.proposalId = "foo"; | 2786 o.proposalId = "foo"; |
| 2787 o.proposalState = "foo"; | 2787 o.proposalState = "foo"; |
| 2788 o.revisionNumber = "foo"; | 2788 o.revisionNumber = "foo"; |
| 2789 o.revisionTimeMs = "foo"; | 2789 o.revisionTimeMs = "foo"; |
| 2790 o.seller = buildSeller(); | 2790 o.seller = buildSeller(); |
| 2791 o.sellerContacts = buildUnnamed130(); | 2791 o.sellerContacts = buildUnnamed2215(); |
| 2792 } | 2792 } |
| 2793 buildCounterProposal--; | 2793 buildCounterProposal--; |
| 2794 return o; | 2794 return o; |
| 2795 } | 2795 } |
| 2796 | 2796 |
| 2797 checkProposal(api.Proposal o) { | 2797 checkProposal(api.Proposal o) { |
| 2798 buildCounterProposal++; | 2798 buildCounterProposal++; |
| 2799 if (buildCounterProposal < 3) { | 2799 if (buildCounterProposal < 3) { |
| 2800 checkBuyer(o.billedBuyer); | 2800 checkBuyer(o.billedBuyer); |
| 2801 checkBuyer(o.buyer); | 2801 checkBuyer(o.buyer); |
| 2802 checkUnnamed128(o.buyerContacts); | 2802 checkUnnamed2213(o.buyerContacts); |
| 2803 checkPrivateData(o.buyerPrivateData); | 2803 checkPrivateData(o.buyerPrivateData); |
| 2804 unittest.expect(o.hasBuyerSignedOff, unittest.isTrue); | 2804 unittest.expect(o.hasBuyerSignedOff, unittest.isTrue); |
| 2805 unittest.expect(o.hasSellerSignedOff, unittest.isTrue); | 2805 unittest.expect(o.hasSellerSignedOff, unittest.isTrue); |
| 2806 unittest.expect(o.inventorySource, unittest.equals('foo')); | 2806 unittest.expect(o.inventorySource, unittest.equals('foo')); |
| 2807 unittest.expect(o.isRenegotiating, unittest.isTrue); | 2807 unittest.expect(o.isRenegotiating, unittest.isTrue); |
| 2808 unittest.expect(o.isSetupComplete, unittest.isTrue); | 2808 unittest.expect(o.isSetupComplete, unittest.isTrue); |
| 2809 unittest.expect(o.kind, unittest.equals('foo')); | 2809 unittest.expect(o.kind, unittest.equals('foo')); |
| 2810 checkUnnamed129(o.labels); | 2810 checkUnnamed2214(o.labels); |
| 2811 unittest.expect(o.lastUpdaterOrCommentorRole, unittest.equals('foo')); | 2811 unittest.expect(o.lastUpdaterOrCommentorRole, unittest.equals('foo')); |
| 2812 unittest.expect(o.name, unittest.equals('foo')); | 2812 unittest.expect(o.name, unittest.equals('foo')); |
| 2813 unittest.expect(o.negotiationId, unittest.equals('foo')); | 2813 unittest.expect(o.negotiationId, unittest.equals('foo')); |
| 2814 unittest.expect(o.originatorRole, unittest.equals('foo')); | 2814 unittest.expect(o.originatorRole, unittest.equals('foo')); |
| 2815 unittest.expect(o.privateAuctionId, unittest.equals('foo')); | 2815 unittest.expect(o.privateAuctionId, unittest.equals('foo')); |
| 2816 unittest.expect(o.proposalId, unittest.equals('foo')); | 2816 unittest.expect(o.proposalId, unittest.equals('foo')); |
| 2817 unittest.expect(o.proposalState, unittest.equals('foo')); | 2817 unittest.expect(o.proposalState, unittest.equals('foo')); |
| 2818 unittest.expect(o.revisionNumber, unittest.equals('foo')); | 2818 unittest.expect(o.revisionNumber, unittest.equals('foo')); |
| 2819 unittest.expect(o.revisionTimeMs, unittest.equals('foo')); | 2819 unittest.expect(o.revisionTimeMs, unittest.equals('foo')); |
| 2820 checkSeller(o.seller); | 2820 checkSeller(o.seller); |
| 2821 checkUnnamed130(o.sellerContacts); | 2821 checkUnnamed2215(o.sellerContacts); |
| 2822 } | 2822 } |
| 2823 buildCounterProposal--; | 2823 buildCounterProposal--; |
| 2824 } | 2824 } |
| 2825 | 2825 |
| 2826 buildUnnamed131() { | 2826 buildUnnamed2216() { |
| 2827 var o = new core.List<core.String>(); | 2827 var o = new core.List<core.String>(); |
| 2828 o.add("foo"); | 2828 o.add("foo"); |
| 2829 o.add("foo"); | 2829 o.add("foo"); |
| 2830 return o; | 2830 return o; |
| 2831 } | 2831 } |
| 2832 | 2832 |
| 2833 checkUnnamed131(core.List<core.String> o) { | 2833 checkUnnamed2216(core.List<core.String> o) { |
| 2834 unittest.expect(o, unittest.hasLength(2)); | 2834 unittest.expect(o, unittest.hasLength(2)); |
| 2835 unittest.expect(o[0], unittest.equals('foo')); | 2835 unittest.expect(o[0], unittest.equals('foo')); |
| 2836 unittest.expect(o[1], unittest.equals('foo')); | 2836 unittest.expect(o[1], unittest.equals('foo')); |
| 2837 } | 2837 } |
| 2838 | 2838 |
| 2839 buildUnnamed132() { | 2839 buildUnnamed2217() { |
| 2840 var o = new core.List<core.String>(); | 2840 var o = new core.List<core.String>(); |
| 2841 o.add("foo"); | 2841 o.add("foo"); |
| 2842 o.add("foo"); | 2842 o.add("foo"); |
| 2843 return o; | 2843 return o; |
| 2844 } | 2844 } |
| 2845 | 2845 |
| 2846 checkUnnamed132(core.List<core.String> o) { | 2846 checkUnnamed2217(core.List<core.String> o) { |
| 2847 unittest.expect(o, unittest.hasLength(2)); | 2847 unittest.expect(o, unittest.hasLength(2)); |
| 2848 unittest.expect(o[0], unittest.equals('foo')); | 2848 unittest.expect(o[0], unittest.equals('foo')); |
| 2849 unittest.expect(o[1], unittest.equals('foo')); | 2849 unittest.expect(o[1], unittest.equals('foo')); |
| 2850 } | 2850 } |
| 2851 | 2851 |
| 2852 core.int buildCounterPublisherProfileApiProto = 0; | 2852 core.int buildCounterPublisherProfileApiProto = 0; |
| 2853 buildPublisherProfileApiProto() { | 2853 buildPublisherProfileApiProto() { |
| 2854 var o = new api.PublisherProfileApiProto(); | 2854 var o = new api.PublisherProfileApiProto(); |
| 2855 buildCounterPublisherProfileApiProto++; | 2855 buildCounterPublisherProfileApiProto++; |
| 2856 if (buildCounterPublisherProfileApiProto < 3) { | 2856 if (buildCounterPublisherProfileApiProto < 3) { |
| 2857 o.accountId = "foo"; | 2857 o.accountId = "foo"; |
| 2858 o.audience = "foo"; | 2858 o.audience = "foo"; |
| 2859 o.buyerPitchStatement = "foo"; | 2859 o.buyerPitchStatement = "foo"; |
| 2860 o.directContact = "foo"; | 2860 o.directContact = "foo"; |
| 2861 o.exchange = "foo"; | 2861 o.exchange = "foo"; |
| 2862 o.googlePlusLink = "foo"; | 2862 o.googlePlusLink = "foo"; |
| 2863 o.isParent = true; | 2863 o.isParent = true; |
| 2864 o.isPublished = true; | 2864 o.isPublished = true; |
| 2865 o.kind = "foo"; | 2865 o.kind = "foo"; |
| 2866 o.logoUrl = "foo"; | 2866 o.logoUrl = "foo"; |
| 2867 o.mediaKitLink = "foo"; | 2867 o.mediaKitLink = "foo"; |
| 2868 o.name = "foo"; | 2868 o.name = "foo"; |
| 2869 o.overview = "foo"; | 2869 o.overview = "foo"; |
| 2870 o.profileId = 42; | 2870 o.profileId = 42; |
| 2871 o.programmaticContact = "foo"; | 2871 o.programmaticContact = "foo"; |
| 2872 o.publisherDomains = buildUnnamed131(); | 2872 o.publisherDomains = buildUnnamed2216(); |
| 2873 o.publisherProfileId = "foo"; | 2873 o.publisherProfileId = "foo"; |
| 2874 o.publisherProvidedForecast = buildPublisherProvidedForecast(); | 2874 o.publisherProvidedForecast = buildPublisherProvidedForecast(); |
| 2875 o.rateCardInfoLink = "foo"; | 2875 o.rateCardInfoLink = "foo"; |
| 2876 o.samplePageLink = "foo"; | 2876 o.samplePageLink = "foo"; |
| 2877 o.seller = buildSeller(); | 2877 o.seller = buildSeller(); |
| 2878 o.state = "foo"; | 2878 o.state = "foo"; |
| 2879 o.topHeadlines = buildUnnamed132(); | 2879 o.topHeadlines = buildUnnamed2217(); |
| 2880 } | 2880 } |
| 2881 buildCounterPublisherProfileApiProto--; | 2881 buildCounterPublisherProfileApiProto--; |
| 2882 return o; | 2882 return o; |
| 2883 } | 2883 } |
| 2884 | 2884 |
| 2885 checkPublisherProfileApiProto(api.PublisherProfileApiProto o) { | 2885 checkPublisherProfileApiProto(api.PublisherProfileApiProto o) { |
| 2886 buildCounterPublisherProfileApiProto++; | 2886 buildCounterPublisherProfileApiProto++; |
| 2887 if (buildCounterPublisherProfileApiProto < 3) { | 2887 if (buildCounterPublisherProfileApiProto < 3) { |
| 2888 unittest.expect(o.accountId, unittest.equals('foo')); | 2888 unittest.expect(o.accountId, unittest.equals('foo')); |
| 2889 unittest.expect(o.audience, unittest.equals('foo')); | 2889 unittest.expect(o.audience, unittest.equals('foo')); |
| 2890 unittest.expect(o.buyerPitchStatement, unittest.equals('foo')); | 2890 unittest.expect(o.buyerPitchStatement, unittest.equals('foo')); |
| 2891 unittest.expect(o.directContact, unittest.equals('foo')); | 2891 unittest.expect(o.directContact, unittest.equals('foo')); |
| 2892 unittest.expect(o.exchange, unittest.equals('foo')); | 2892 unittest.expect(o.exchange, unittest.equals('foo')); |
| 2893 unittest.expect(o.googlePlusLink, unittest.equals('foo')); | 2893 unittest.expect(o.googlePlusLink, unittest.equals('foo')); |
| 2894 unittest.expect(o.isParent, unittest.isTrue); | 2894 unittest.expect(o.isParent, unittest.isTrue); |
| 2895 unittest.expect(o.isPublished, unittest.isTrue); | 2895 unittest.expect(o.isPublished, unittest.isTrue); |
| 2896 unittest.expect(o.kind, unittest.equals('foo')); | 2896 unittest.expect(o.kind, unittest.equals('foo')); |
| 2897 unittest.expect(o.logoUrl, unittest.equals('foo')); | 2897 unittest.expect(o.logoUrl, unittest.equals('foo')); |
| 2898 unittest.expect(o.mediaKitLink, unittest.equals('foo')); | 2898 unittest.expect(o.mediaKitLink, unittest.equals('foo')); |
| 2899 unittest.expect(o.name, unittest.equals('foo')); | 2899 unittest.expect(o.name, unittest.equals('foo')); |
| 2900 unittest.expect(o.overview, unittest.equals('foo')); | 2900 unittest.expect(o.overview, unittest.equals('foo')); |
| 2901 unittest.expect(o.profileId, unittest.equals(42)); | 2901 unittest.expect(o.profileId, unittest.equals(42)); |
| 2902 unittest.expect(o.programmaticContact, unittest.equals('foo')); | 2902 unittest.expect(o.programmaticContact, unittest.equals('foo')); |
| 2903 checkUnnamed131(o.publisherDomains); | 2903 checkUnnamed2216(o.publisherDomains); |
| 2904 unittest.expect(o.publisherProfileId, unittest.equals('foo')); | 2904 unittest.expect(o.publisherProfileId, unittest.equals('foo')); |
| 2905 checkPublisherProvidedForecast(o.publisherProvidedForecast); | 2905 checkPublisherProvidedForecast(o.publisherProvidedForecast); |
| 2906 unittest.expect(o.rateCardInfoLink, unittest.equals('foo')); | 2906 unittest.expect(o.rateCardInfoLink, unittest.equals('foo')); |
| 2907 unittest.expect(o.samplePageLink, unittest.equals('foo')); | 2907 unittest.expect(o.samplePageLink, unittest.equals('foo')); |
| 2908 checkSeller(o.seller); | 2908 checkSeller(o.seller); |
| 2909 unittest.expect(o.state, unittest.equals('foo')); | 2909 unittest.expect(o.state, unittest.equals('foo')); |
| 2910 checkUnnamed132(o.topHeadlines); | 2910 checkUnnamed2217(o.topHeadlines); |
| 2911 } | 2911 } |
| 2912 buildCounterPublisherProfileApiProto--; | 2912 buildCounterPublisherProfileApiProto--; |
| 2913 } | 2913 } |
| 2914 | 2914 |
| 2915 buildUnnamed133() { | 2915 buildUnnamed2218() { |
| 2916 var o = new core.List<api.Dimension>(); | 2916 var o = new core.List<api.Dimension>(); |
| 2917 o.add(buildDimension()); | 2917 o.add(buildDimension()); |
| 2918 o.add(buildDimension()); | 2918 o.add(buildDimension()); |
| 2919 return o; | 2919 return o; |
| 2920 } | 2920 } |
| 2921 | 2921 |
| 2922 checkUnnamed133(core.List<api.Dimension> o) { | 2922 checkUnnamed2218(core.List<api.Dimension> o) { |
| 2923 unittest.expect(o, unittest.hasLength(2)); | 2923 unittest.expect(o, unittest.hasLength(2)); |
| 2924 checkDimension(o[0]); | 2924 checkDimension(o[0]); |
| 2925 checkDimension(o[1]); | 2925 checkDimension(o[1]); |
| 2926 } | 2926 } |
| 2927 | 2927 |
| 2928 core.int buildCounterPublisherProvidedForecast = 0; | 2928 core.int buildCounterPublisherProvidedForecast = 0; |
| 2929 buildPublisherProvidedForecast() { | 2929 buildPublisherProvidedForecast() { |
| 2930 var o = new api.PublisherProvidedForecast(); | 2930 var o = new api.PublisherProvidedForecast(); |
| 2931 buildCounterPublisherProvidedForecast++; | 2931 buildCounterPublisherProvidedForecast++; |
| 2932 if (buildCounterPublisherProvidedForecast < 3) { | 2932 if (buildCounterPublisherProvidedForecast < 3) { |
| 2933 o.dimensions = buildUnnamed133(); | 2933 o.dimensions = buildUnnamed2218(); |
| 2934 o.weeklyImpressions = "foo"; | 2934 o.weeklyImpressions = "foo"; |
| 2935 o.weeklyUniques = "foo"; | 2935 o.weeklyUniques = "foo"; |
| 2936 } | 2936 } |
| 2937 buildCounterPublisherProvidedForecast--; | 2937 buildCounterPublisherProvidedForecast--; |
| 2938 return o; | 2938 return o; |
| 2939 } | 2939 } |
| 2940 | 2940 |
| 2941 checkPublisherProvidedForecast(api.PublisherProvidedForecast o) { | 2941 checkPublisherProvidedForecast(api.PublisherProvidedForecast o) { |
| 2942 buildCounterPublisherProvidedForecast++; | 2942 buildCounterPublisherProvidedForecast++; |
| 2943 if (buildCounterPublisherProvidedForecast < 3) { | 2943 if (buildCounterPublisherProvidedForecast < 3) { |
| 2944 checkUnnamed133(o.dimensions); | 2944 checkUnnamed2218(o.dimensions); |
| 2945 unittest.expect(o.weeklyImpressions, unittest.equals('foo')); | 2945 unittest.expect(o.weeklyImpressions, unittest.equals('foo')); |
| 2946 unittest.expect(o.weeklyUniques, unittest.equals('foo')); | 2946 unittest.expect(o.weeklyUniques, unittest.equals('foo')); |
| 2947 } | 2947 } |
| 2948 buildCounterPublisherProvidedForecast--; | 2948 buildCounterPublisherProvidedForecast--; |
| 2949 } | 2949 } |
| 2950 | 2950 |
| 2951 core.int buildCounterSeller = 0; | 2951 core.int buildCounterSeller = 0; |
| 2952 buildSeller() { | 2952 buildSeller() { |
| 2953 var o = new api.Seller(); | 2953 var o = new api.Seller(); |
| 2954 buildCounterSeller++; | 2954 buildCounterSeller++; |
| 2955 if (buildCounterSeller < 3) { | 2955 if (buildCounterSeller < 3) { |
| 2956 o.accountId = "foo"; | 2956 o.accountId = "foo"; |
| 2957 o.subAccountId = "foo"; | 2957 o.subAccountId = "foo"; |
| 2958 } | 2958 } |
| 2959 buildCounterSeller--; | 2959 buildCounterSeller--; |
| 2960 return o; | 2960 return o; |
| 2961 } | 2961 } |
| 2962 | 2962 |
| 2963 checkSeller(api.Seller o) { | 2963 checkSeller(api.Seller o) { |
| 2964 buildCounterSeller++; | 2964 buildCounterSeller++; |
| 2965 if (buildCounterSeller < 3) { | 2965 if (buildCounterSeller < 3) { |
| 2966 unittest.expect(o.accountId, unittest.equals('foo')); | 2966 unittest.expect(o.accountId, unittest.equals('foo')); |
| 2967 unittest.expect(o.subAccountId, unittest.equals('foo')); | 2967 unittest.expect(o.subAccountId, unittest.equals('foo')); |
| 2968 } | 2968 } |
| 2969 buildCounterSeller--; | 2969 buildCounterSeller--; |
| 2970 } | 2970 } |
| 2971 | 2971 |
| 2972 buildUnnamed134() { | 2972 buildUnnamed2219() { |
| 2973 var o = new core.List<api.TargetingValue>(); | 2973 var o = new core.List<api.TargetingValue>(); |
| 2974 o.add(buildTargetingValue()); | 2974 o.add(buildTargetingValue()); |
| 2975 o.add(buildTargetingValue()); | 2975 o.add(buildTargetingValue()); |
| 2976 return o; | 2976 return o; |
| 2977 } | 2977 } |
| 2978 | 2978 |
| 2979 checkUnnamed134(core.List<api.TargetingValue> o) { | 2979 checkUnnamed2219(core.List<api.TargetingValue> o) { |
| 2980 unittest.expect(o, unittest.hasLength(2)); | 2980 unittest.expect(o, unittest.hasLength(2)); |
| 2981 checkTargetingValue(o[0]); | 2981 checkTargetingValue(o[0]); |
| 2982 checkTargetingValue(o[1]); | 2982 checkTargetingValue(o[1]); |
| 2983 } | 2983 } |
| 2984 | 2984 |
| 2985 buildUnnamed135() { | 2985 buildUnnamed2220() { |
| 2986 var o = new core.List<api.TargetingValue>(); | 2986 var o = new core.List<api.TargetingValue>(); |
| 2987 o.add(buildTargetingValue()); | 2987 o.add(buildTargetingValue()); |
| 2988 o.add(buildTargetingValue()); | 2988 o.add(buildTargetingValue()); |
| 2989 return o; | 2989 return o; |
| 2990 } | 2990 } |
| 2991 | 2991 |
| 2992 checkUnnamed135(core.List<api.TargetingValue> o) { | 2992 checkUnnamed2220(core.List<api.TargetingValue> o) { |
| 2993 unittest.expect(o, unittest.hasLength(2)); | 2993 unittest.expect(o, unittest.hasLength(2)); |
| 2994 checkTargetingValue(o[0]); | 2994 checkTargetingValue(o[0]); |
| 2995 checkTargetingValue(o[1]); | 2995 checkTargetingValue(o[1]); |
| 2996 } | 2996 } |
| 2997 | 2997 |
| 2998 core.int buildCounterSharedTargeting = 0; | 2998 core.int buildCounterSharedTargeting = 0; |
| 2999 buildSharedTargeting() { | 2999 buildSharedTargeting() { |
| 3000 var o = new api.SharedTargeting(); | 3000 var o = new api.SharedTargeting(); |
| 3001 buildCounterSharedTargeting++; | 3001 buildCounterSharedTargeting++; |
| 3002 if (buildCounterSharedTargeting < 3) { | 3002 if (buildCounterSharedTargeting < 3) { |
| 3003 o.exclusions = buildUnnamed134(); | 3003 o.exclusions = buildUnnamed2219(); |
| 3004 o.inclusions = buildUnnamed135(); | 3004 o.inclusions = buildUnnamed2220(); |
| 3005 o.key = "foo"; | 3005 o.key = "foo"; |
| 3006 } | 3006 } |
| 3007 buildCounterSharedTargeting--; | 3007 buildCounterSharedTargeting--; |
| 3008 return o; | 3008 return o; |
| 3009 } | 3009 } |
| 3010 | 3010 |
| 3011 checkSharedTargeting(api.SharedTargeting o) { | 3011 checkSharedTargeting(api.SharedTargeting o) { |
| 3012 buildCounterSharedTargeting++; | 3012 buildCounterSharedTargeting++; |
| 3013 if (buildCounterSharedTargeting < 3) { | 3013 if (buildCounterSharedTargeting < 3) { |
| 3014 checkUnnamed134(o.exclusions); | 3014 checkUnnamed2219(o.exclusions); |
| 3015 checkUnnamed135(o.inclusions); | 3015 checkUnnamed2220(o.inclusions); |
| 3016 unittest.expect(o.key, unittest.equals('foo')); | 3016 unittest.expect(o.key, unittest.equals('foo')); |
| 3017 } | 3017 } |
| 3018 buildCounterSharedTargeting--; | 3018 buildCounterSharedTargeting--; |
| 3019 } | 3019 } |
| 3020 | 3020 |
| 3021 core.int buildCounterTargetingValue = 0; | 3021 core.int buildCounterTargetingValue = 0; |
| 3022 buildTargetingValue() { | 3022 buildTargetingValue() { |
| 3023 var o = new api.TargetingValue(); | 3023 var o = new api.TargetingValue(); |
| 3024 buildCounterTargetingValue++; | 3024 buildCounterTargetingValue++; |
| 3025 if (buildCounterTargetingValue < 3) { | 3025 if (buildCounterTargetingValue < 3) { |
| (...skipping 10 matching lines...) Expand all Loading... |
| 3036 buildCounterTargetingValue++; | 3036 buildCounterTargetingValue++; |
| 3037 if (buildCounterTargetingValue < 3) { | 3037 if (buildCounterTargetingValue < 3) { |
| 3038 checkTargetingValueCreativeSize(o.creativeSizeValue); | 3038 checkTargetingValueCreativeSize(o.creativeSizeValue); |
| 3039 checkTargetingValueDayPartTargeting(o.dayPartTargetingValue); | 3039 checkTargetingValueDayPartTargeting(o.dayPartTargetingValue); |
| 3040 unittest.expect(o.longValue, unittest.equals('foo')); | 3040 unittest.expect(o.longValue, unittest.equals('foo')); |
| 3041 unittest.expect(o.stringValue, unittest.equals('foo')); | 3041 unittest.expect(o.stringValue, unittest.equals('foo')); |
| 3042 } | 3042 } |
| 3043 buildCounterTargetingValue--; | 3043 buildCounterTargetingValue--; |
| 3044 } | 3044 } |
| 3045 | 3045 |
| 3046 buildUnnamed136() { | 3046 buildUnnamed2221() { |
| 3047 var o = new core.List<api.TargetingValueSize>(); | 3047 var o = new core.List<api.TargetingValueSize>(); |
| 3048 o.add(buildTargetingValueSize()); | 3048 o.add(buildTargetingValueSize()); |
| 3049 o.add(buildTargetingValueSize()); | 3049 o.add(buildTargetingValueSize()); |
| 3050 return o; | 3050 return o; |
| 3051 } | 3051 } |
| 3052 | 3052 |
| 3053 checkUnnamed136(core.List<api.TargetingValueSize> o) { | 3053 checkUnnamed2221(core.List<api.TargetingValueSize> o) { |
| 3054 unittest.expect(o, unittest.hasLength(2)); | 3054 unittest.expect(o, unittest.hasLength(2)); |
| 3055 checkTargetingValueSize(o[0]); | 3055 checkTargetingValueSize(o[0]); |
| 3056 checkTargetingValueSize(o[1]); | 3056 checkTargetingValueSize(o[1]); |
| 3057 } | 3057 } |
| 3058 | 3058 |
| 3059 core.int buildCounterTargetingValueCreativeSize = 0; | 3059 core.int buildCounterTargetingValueCreativeSize = 0; |
| 3060 buildTargetingValueCreativeSize() { | 3060 buildTargetingValueCreativeSize() { |
| 3061 var o = new api.TargetingValueCreativeSize(); | 3061 var o = new api.TargetingValueCreativeSize(); |
| 3062 buildCounterTargetingValueCreativeSize++; | 3062 buildCounterTargetingValueCreativeSize++; |
| 3063 if (buildCounterTargetingValueCreativeSize < 3) { | 3063 if (buildCounterTargetingValueCreativeSize < 3) { |
| 3064 o.companionSizes = buildUnnamed136(); | 3064 o.companionSizes = buildUnnamed2221(); |
| 3065 o.creativeSizeType = "foo"; | 3065 o.creativeSizeType = "foo"; |
| 3066 o.size = buildTargetingValueSize(); | 3066 o.size = buildTargetingValueSize(); |
| 3067 o.skippableAdType = "foo"; | 3067 o.skippableAdType = "foo"; |
| 3068 } | 3068 } |
| 3069 buildCounterTargetingValueCreativeSize--; | 3069 buildCounterTargetingValueCreativeSize--; |
| 3070 return o; | 3070 return o; |
| 3071 } | 3071 } |
| 3072 | 3072 |
| 3073 checkTargetingValueCreativeSize(api.TargetingValueCreativeSize o) { | 3073 checkTargetingValueCreativeSize(api.TargetingValueCreativeSize o) { |
| 3074 buildCounterTargetingValueCreativeSize++; | 3074 buildCounterTargetingValueCreativeSize++; |
| 3075 if (buildCounterTargetingValueCreativeSize < 3) { | 3075 if (buildCounterTargetingValueCreativeSize < 3) { |
| 3076 checkUnnamed136(o.companionSizes); | 3076 checkUnnamed2221(o.companionSizes); |
| 3077 unittest.expect(o.creativeSizeType, unittest.equals('foo')); | 3077 unittest.expect(o.creativeSizeType, unittest.equals('foo')); |
| 3078 checkTargetingValueSize(o.size); | 3078 checkTargetingValueSize(o.size); |
| 3079 unittest.expect(o.skippableAdType, unittest.equals('foo')); | 3079 unittest.expect(o.skippableAdType, unittest.equals('foo')); |
| 3080 } | 3080 } |
| 3081 buildCounterTargetingValueCreativeSize--; | 3081 buildCounterTargetingValueCreativeSize--; |
| 3082 } | 3082 } |
| 3083 | 3083 |
| 3084 buildUnnamed137() { | 3084 buildUnnamed2222() { |
| 3085 var o = new core.List<api.TargetingValueDayPartTargetingDayPart>(); | 3085 var o = new core.List<api.TargetingValueDayPartTargetingDayPart>(); |
| 3086 o.add(buildTargetingValueDayPartTargetingDayPart()); | 3086 o.add(buildTargetingValueDayPartTargetingDayPart()); |
| 3087 o.add(buildTargetingValueDayPartTargetingDayPart()); | 3087 o.add(buildTargetingValueDayPartTargetingDayPart()); |
| 3088 return o; | 3088 return o; |
| 3089 } | 3089 } |
| 3090 | 3090 |
| 3091 checkUnnamed137(core.List<api.TargetingValueDayPartTargetingDayPart> o) { | 3091 checkUnnamed2222(core.List<api.TargetingValueDayPartTargetingDayPart> o) { |
| 3092 unittest.expect(o, unittest.hasLength(2)); | 3092 unittest.expect(o, unittest.hasLength(2)); |
| 3093 checkTargetingValueDayPartTargetingDayPart(o[0]); | 3093 checkTargetingValueDayPartTargetingDayPart(o[0]); |
| 3094 checkTargetingValueDayPartTargetingDayPart(o[1]); | 3094 checkTargetingValueDayPartTargetingDayPart(o[1]); |
| 3095 } | 3095 } |
| 3096 | 3096 |
| 3097 core.int buildCounterTargetingValueDayPartTargeting = 0; | 3097 core.int buildCounterTargetingValueDayPartTargeting = 0; |
| 3098 buildTargetingValueDayPartTargeting() { | 3098 buildTargetingValueDayPartTargeting() { |
| 3099 var o = new api.TargetingValueDayPartTargeting(); | 3099 var o = new api.TargetingValueDayPartTargeting(); |
| 3100 buildCounterTargetingValueDayPartTargeting++; | 3100 buildCounterTargetingValueDayPartTargeting++; |
| 3101 if (buildCounterTargetingValueDayPartTargeting < 3) { | 3101 if (buildCounterTargetingValueDayPartTargeting < 3) { |
| 3102 o.dayParts = buildUnnamed137(); | 3102 o.dayParts = buildUnnamed2222(); |
| 3103 o.timeZoneType = "foo"; | 3103 o.timeZoneType = "foo"; |
| 3104 } | 3104 } |
| 3105 buildCounterTargetingValueDayPartTargeting--; | 3105 buildCounterTargetingValueDayPartTargeting--; |
| 3106 return o; | 3106 return o; |
| 3107 } | 3107 } |
| 3108 | 3108 |
| 3109 checkTargetingValueDayPartTargeting(api.TargetingValueDayPartTargeting o) { | 3109 checkTargetingValueDayPartTargeting(api.TargetingValueDayPartTargeting o) { |
| 3110 buildCounterTargetingValueDayPartTargeting++; | 3110 buildCounterTargetingValueDayPartTargeting++; |
| 3111 if (buildCounterTargetingValueDayPartTargeting < 3) { | 3111 if (buildCounterTargetingValueDayPartTargeting < 3) { |
| 3112 checkUnnamed137(o.dayParts); | 3112 checkUnnamed2222(o.dayParts); |
| 3113 unittest.expect(o.timeZoneType, unittest.equals('foo')); | 3113 unittest.expect(o.timeZoneType, unittest.equals('foo')); |
| 3114 } | 3114 } |
| 3115 buildCounterTargetingValueDayPartTargeting--; | 3115 buildCounterTargetingValueDayPartTargeting--; |
| 3116 } | 3116 } |
| 3117 | 3117 |
| 3118 core.int buildCounterTargetingValueDayPartTargetingDayPart = 0; | 3118 core.int buildCounterTargetingValueDayPartTargetingDayPart = 0; |
| 3119 buildTargetingValueDayPartTargetingDayPart() { | 3119 buildTargetingValueDayPartTargetingDayPart() { |
| 3120 var o = new api.TargetingValueDayPartTargetingDayPart(); | 3120 var o = new api.TargetingValueDayPartTargetingDayPart(); |
| 3121 buildCounterTargetingValueDayPartTargetingDayPart++; | 3121 buildCounterTargetingValueDayPartTargetingDayPart++; |
| 3122 if (buildCounterTargetingValueDayPartTargetingDayPart < 3) { | 3122 if (buildCounterTargetingValueDayPartTargetingDayPart < 3) { |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3181 buildCounterUpdatePrivateAuctionProposalRequest++; | 3181 buildCounterUpdatePrivateAuctionProposalRequest++; |
| 3182 if (buildCounterUpdatePrivateAuctionProposalRequest < 3) { | 3182 if (buildCounterUpdatePrivateAuctionProposalRequest < 3) { |
| 3183 unittest.expect(o.externalDealId, unittest.equals('foo')); | 3183 unittest.expect(o.externalDealId, unittest.equals('foo')); |
| 3184 checkMarketplaceNote(o.note); | 3184 checkMarketplaceNote(o.note); |
| 3185 unittest.expect(o.proposalRevisionNumber, unittest.equals('foo')); | 3185 unittest.expect(o.proposalRevisionNumber, unittest.equals('foo')); |
| 3186 unittest.expect(o.updateAction, unittest.equals('foo')); | 3186 unittest.expect(o.updateAction, unittest.equals('foo')); |
| 3187 } | 3187 } |
| 3188 buildCounterUpdatePrivateAuctionProposalRequest--; | 3188 buildCounterUpdatePrivateAuctionProposalRequest--; |
| 3189 } | 3189 } |
| 3190 | 3190 |
| 3191 buildUnnamed138() { | 3191 buildUnnamed2223() { |
| 3192 var o = new core.List<core.int>(); | 3192 var o = new core.List<core.int>(); |
| 3193 o.add(42); | 3193 o.add(42); |
| 3194 o.add(42); | 3194 o.add(42); |
| 3195 return o; | 3195 return o; |
| 3196 } | 3196 } |
| 3197 | 3197 |
| 3198 checkUnnamed138(core.List<core.int> o) { | 3198 checkUnnamed2223(core.List<core.int> o) { |
| 3199 unittest.expect(o, unittest.hasLength(2)); | 3199 unittest.expect(o, unittest.hasLength(2)); |
| 3200 unittest.expect(o[0], unittest.equals(42)); | 3200 unittest.expect(o[0], unittest.equals(42)); |
| 3201 unittest.expect(o[1], unittest.equals(42)); | 3201 unittest.expect(o[1], unittest.equals(42)); |
| 3202 } | 3202 } |
| 3203 | 3203 |
| 3204 buildUnnamed139() { | 3204 buildUnnamed2224() { |
| 3205 var o = new core.List<core.String>(); | 3205 var o = new core.List<core.String>(); |
| 3206 o.add("foo"); | 3206 o.add("foo"); |
| 3207 o.add("foo"); | 3207 o.add("foo"); |
| 3208 return o; | 3208 return o; |
| 3209 } | 3209 } |
| 3210 | 3210 |
| 3211 checkUnnamed139(core.List<core.String> o) { | 3211 checkUnnamed2224(core.List<core.String> o) { |
| 3212 unittest.expect(o, unittest.hasLength(2)); | 3212 unittest.expect(o, unittest.hasLength(2)); |
| 3213 unittest.expect(o[0], unittest.equals('foo')); | 3213 unittest.expect(o[0], unittest.equals('foo')); |
| 3214 unittest.expect(o[1], unittest.equals('foo')); | 3214 unittest.expect(o[1], unittest.equals('foo')); |
| 3215 } | 3215 } |
| 3216 | 3216 |
| 3217 | 3217 |
| 3218 main() { | 3218 main() { |
| 3219 unittest.group("obj-schema-AccountBidderLocation", () { | 3219 unittest.group("obj-schema-AccountBidderLocation", () { |
| 3220 unittest.test("to-json--from-json", () { | 3220 unittest.test("to-json--from-json", () { |
| 3221 var o = buildAccountBidderLocation(); | 3221 var o = buildAccountBidderLocation(); |
| (...skipping 1312 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4534 }), true); | 4534 }), true); |
| 4535 res.insert(arg_request).then(unittest.expectAsync(((api.Creative response)
{ | 4535 res.insert(arg_request).then(unittest.expectAsync(((api.Creative response)
{ |
| 4536 checkCreative(response); | 4536 checkCreative(response); |
| 4537 }))); | 4537 }))); |
| 4538 }); | 4538 }); |
| 4539 | 4539 |
| 4540 unittest.test("method--list", () { | 4540 unittest.test("method--list", () { |
| 4541 | 4541 |
| 4542 var mock = new HttpServerMock(); | 4542 var mock = new HttpServerMock(); |
| 4543 api.CreativesResourceApi res = new api.AdexchangebuyerApi(mock).creatives; | 4543 api.CreativesResourceApi res = new api.AdexchangebuyerApi(mock).creatives; |
| 4544 var arg_accountId = buildUnnamed138(); | 4544 var arg_accountId = buildUnnamed2223(); |
| 4545 var arg_buyerCreativeId = buildUnnamed139(); | 4545 var arg_buyerCreativeId = buildUnnamed2224(); |
| 4546 var arg_dealsStatusFilter = "foo"; | 4546 var arg_dealsStatusFilter = "foo"; |
| 4547 var arg_maxResults = 42; | 4547 var arg_maxResults = 42; |
| 4548 var arg_openAuctionStatusFilter = "foo"; | 4548 var arg_openAuctionStatusFilter = "foo"; |
| 4549 var arg_pageToken = "foo"; | 4549 var arg_pageToken = "foo"; |
| 4550 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 4550 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 4551 var path = (req.url).path; | 4551 var path = (req.url).path; |
| 4552 var pathOffset = 0; | 4552 var pathOffset = 0; |
| 4553 var index; | 4553 var index; |
| 4554 var subPart; | 4554 var subPart; |
| 4555 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 4555 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| (...skipping 1396 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5952 res.list(arg_accountId).then(unittest.expectAsync(((api.GetPublisherProfil
esByAccountIdResponse response) { | 5952 res.list(arg_accountId).then(unittest.expectAsync(((api.GetPublisherProfil
esByAccountIdResponse response) { |
| 5953 checkGetPublisherProfilesByAccountIdResponse(response); | 5953 checkGetPublisherProfilesByAccountIdResponse(response); |
| 5954 }))); | 5954 }))); |
| 5955 }); | 5955 }); |
| 5956 | 5956 |
| 5957 }); | 5957 }); |
| 5958 | 5958 |
| 5959 | 5959 |
| 5960 } | 5960 } |
| 5961 | 5961 |
| OLD | NEW |