| 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 buildUnnamed2279() { |
| 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 checkUnnamed2279(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 = buildUnnamed2279(); |
| 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 checkUnnamed2279(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 buildUnnamed2280() { |
| 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 checkUnnamed2280(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 = buildUnnamed2280(); |
| 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 checkUnnamed2280(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 buildUnnamed2281() { |
| 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 checkUnnamed2281(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 = buildUnnamed2281(); |
| 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 checkUnnamed2281(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 buildUnnamed2282() { |
| 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 checkUnnamed2282(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 = buildUnnamed2282(); |
| 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 checkUnnamed2282(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 buildUnnamed2283() { |
| 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 checkUnnamed2283(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 = buildUnnamed2283(); |
| 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 checkUnnamed2283(o.notes); |
| 257 } | 257 } |
| 258 buildCounterAddOrderNotesRequest--; | 258 buildCounterAddOrderNotesRequest--; |
| 259 } | 259 } |
| 260 | 260 |
| 261 buildUnnamed54() { | 261 buildUnnamed2284() { |
| 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 checkUnnamed2284(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 = buildUnnamed2284(); |
| 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 checkUnnamed2284(o.notes); |
| 289 } | 289 } |
| 290 buildCounterAddOrderNotesResponse--; | 290 buildCounterAddOrderNotesResponse--; |
| 291 } | 291 } |
| 292 | 292 |
| 293 buildUnnamed55() { | 293 buildUnnamed2285() { |
| 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 checkUnnamed2285(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 = buildUnnamed2285(); |
| 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 checkUnnamed2285(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 buildUnnamed2286() { |
| 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 checkUnnamed2286(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 = buildUnnamed2286(); |
| 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 checkUnnamed2286(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 buildUnnamed2287() { |
| 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 checkUnnamed2287(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 = buildUnnamed2287(); |
| 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 checkUnnamed2287(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 buildUnnamed2288() { |
| 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 checkUnnamed2288(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 = buildUnnamed2288(); |
| 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 checkUnnamed2288(o.proposals); |
| 496 } | 496 } |
| 497 buildCounterCreateOrdersResponse--; | 497 buildCounterCreateOrdersResponse--; |
| 498 } | 498 } |
| 499 | 499 |
| 500 buildUnnamed59() { | 500 buildUnnamed2289() { |
| 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 checkUnnamed2289(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 buildUnnamed2290() { |
| 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 checkUnnamed2290(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 buildUnnamed2291() { |
| 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 checkUnnamed2291(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 buildUnnamed2292() { |
| 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 checkUnnamed2292(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 buildUnnamed2293() { |
| 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 checkUnnamed2293(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 buildUnnamed2294() { |
| 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 checkUnnamed2294(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 = buildUnnamed2292(); |
| 584 o.contextType = "foo"; | 584 o.contextType = "foo"; |
| 585 o.geoCriteriaId = buildUnnamed63(); | 585 o.geoCriteriaId = buildUnnamed2293(); |
| 586 o.platform = buildUnnamed64(); | 586 o.platform = buildUnnamed2294(); |
| 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 checkUnnamed2292(o.auctionType); |
| 596 unittest.expect(o.contextType, unittest.equals('foo')); | 596 unittest.expect(o.contextType, unittest.equals('foo')); |
| 597 checkUnnamed63(o.geoCriteriaId); | 597 checkUnnamed2293(o.geoCriteriaId); |
| 598 checkUnnamed64(o.platform); | 598 checkUnnamed2294(o.platform); |
| 599 } | 599 } |
| 600 buildCounterCreativeCorrectionsContexts--; | 600 buildCounterCreativeCorrectionsContexts--; |
| 601 } | 601 } |
| 602 | 602 |
| 603 buildUnnamed65() { | 603 buildUnnamed2295() { |
| 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 checkUnnamed2295(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 buildUnnamed2296() { |
| 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 checkUnnamed2296(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 = buildUnnamed2295(); |
| 635 o.details = buildUnnamed66(); | 635 o.details = buildUnnamed2296(); |
| 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 checkUnnamed2295(o.contexts); |
| 646 checkUnnamed66(o.details); | 646 checkUnnamed2296(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 buildUnnamed2297() { |
| 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 checkUnnamed2297(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 buildUnnamed68() { | 665 buildUnnamed2298() { |
| 666 var o = new core.List<core.String>(); | 666 var o = new core.List<core.String>(); |
| 667 o.add("foo"); | 667 o.add("foo"); |
| 668 o.add("foo"); | 668 o.add("foo"); |
| 669 return o; | 669 return o; |
| 670 } | 670 } |
| 671 | 671 |
| 672 checkUnnamed68(core.List<core.String> o) { | 672 checkUnnamed2298(core.List<core.String> o) { |
| 673 unittest.expect(o, unittest.hasLength(2)); | 673 unittest.expect(o, unittest.hasLength(2)); |
| 674 unittest.expect(o[0], unittest.equals('foo')); | 674 unittest.expect(o[0], unittest.equals('foo')); |
| 675 unittest.expect(o[1], unittest.equals('foo')); | 675 unittest.expect(o[1], unittest.equals('foo')); |
| 676 } | 676 } |
| 677 | 677 |
| 678 core.int buildCounterCreativeFilteringReasonsReasons = 0; | 678 core.int buildCounterCreativeFilteringReasonsReasons = 0; |
| 679 buildCreativeFilteringReasonsReasons() { | 679 buildCreativeFilteringReasonsReasons() { |
| 680 var o = new api.CreativeFilteringReasonsReasons(); | 680 var o = new api.CreativeFilteringReasonsReasons(); |
| 681 buildCounterCreativeFilteringReasonsReasons++; | 681 buildCounterCreativeFilteringReasonsReasons++; |
| 682 if (buildCounterCreativeFilteringReasonsReasons < 3) { | 682 if (buildCounterCreativeFilteringReasonsReasons < 3) { |
| 683 o.filteringCount = "foo"; | 683 o.filteringCount = "foo"; |
| 684 o.filteringStatus = 42; | 684 o.filteringStatus = 42; |
| 685 } | 685 } |
| 686 buildCounterCreativeFilteringReasonsReasons--; | 686 buildCounterCreativeFilteringReasonsReasons--; |
| 687 return o; | 687 return o; |
| 688 } | 688 } |
| 689 | 689 |
| 690 checkCreativeFilteringReasonsReasons(api.CreativeFilteringReasonsReasons o) { | 690 checkCreativeFilteringReasonsReasons(api.CreativeFilteringReasonsReasons o) { |
| 691 buildCounterCreativeFilteringReasonsReasons++; | 691 buildCounterCreativeFilteringReasonsReasons++; |
| 692 if (buildCounterCreativeFilteringReasonsReasons < 3) { | 692 if (buildCounterCreativeFilteringReasonsReasons < 3) { |
| 693 unittest.expect(o.filteringCount, unittest.equals('foo')); | 693 unittest.expect(o.filteringCount, unittest.equals('foo')); |
| 694 unittest.expect(o.filteringStatus, unittest.equals(42)); | 694 unittest.expect(o.filteringStatus, unittest.equals(42)); |
| 695 } | 695 } |
| 696 buildCounterCreativeFilteringReasonsReasons--; | 696 buildCounterCreativeFilteringReasonsReasons--; |
| 697 } | 697 } |
| 698 | 698 |
| 699 buildUnnamed69() { | 699 buildUnnamed2299() { |
| 700 var o = new core.List<api.CreativeFilteringReasonsReasons>(); | 700 var o = new core.List<api.CreativeFilteringReasonsReasons>(); |
| 701 o.add(buildCreativeFilteringReasonsReasons()); | 701 o.add(buildCreativeFilteringReasonsReasons()); |
| 702 o.add(buildCreativeFilteringReasonsReasons()); | 702 o.add(buildCreativeFilteringReasonsReasons()); |
| 703 return o; | 703 return o; |
| 704 } | 704 } |
| 705 | 705 |
| 706 checkUnnamed69(core.List<api.CreativeFilteringReasonsReasons> o) { | 706 checkUnnamed2299(core.List<api.CreativeFilteringReasonsReasons> o) { |
| 707 unittest.expect(o, unittest.hasLength(2)); | 707 unittest.expect(o, unittest.hasLength(2)); |
| 708 checkCreativeFilteringReasonsReasons(o[0]); | 708 checkCreativeFilteringReasonsReasons(o[0]); |
| 709 checkCreativeFilteringReasonsReasons(o[1]); | 709 checkCreativeFilteringReasonsReasons(o[1]); |
| 710 } | 710 } |
| 711 | 711 |
| 712 core.int buildCounterCreativeFilteringReasons = 0; | 712 core.int buildCounterCreativeFilteringReasons = 0; |
| 713 buildCreativeFilteringReasons() { | 713 buildCreativeFilteringReasons() { |
| 714 var o = new api.CreativeFilteringReasons(); | 714 var o = new api.CreativeFilteringReasons(); |
| 715 buildCounterCreativeFilteringReasons++; | 715 buildCounterCreativeFilteringReasons++; |
| 716 if (buildCounterCreativeFilteringReasons < 3) { | 716 if (buildCounterCreativeFilteringReasons < 3) { |
| 717 o.date = "foo"; | 717 o.date = "foo"; |
| 718 o.reasons = buildUnnamed69(); | 718 o.reasons = buildUnnamed2299(); |
| 719 } | 719 } |
| 720 buildCounterCreativeFilteringReasons--; | 720 buildCounterCreativeFilteringReasons--; |
| 721 return o; | 721 return o; |
| 722 } | 722 } |
| 723 | 723 |
| 724 checkCreativeFilteringReasons(api.CreativeFilteringReasons o) { | 724 checkCreativeFilteringReasons(api.CreativeFilteringReasons o) { |
| 725 buildCounterCreativeFilteringReasons++; | 725 buildCounterCreativeFilteringReasons++; |
| 726 if (buildCounterCreativeFilteringReasons < 3) { | 726 if (buildCounterCreativeFilteringReasons < 3) { |
| 727 unittest.expect(o.date, unittest.equals('foo')); | 727 unittest.expect(o.date, unittest.equals('foo')); |
| 728 checkUnnamed69(o.reasons); | 728 checkUnnamed2299(o.reasons); |
| 729 } | 729 } |
| 730 buildCounterCreativeFilteringReasons--; | 730 buildCounterCreativeFilteringReasons--; |
| 731 } | 731 } |
| 732 | 732 |
| 733 buildUnnamed70() { | 733 buildUnnamed2300() { |
| 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 checkUnnamed2300(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 buildUnnamed71() { | 746 buildUnnamed2301() { |
| 747 var o = new core.List<core.String>(); | 747 var o = new core.List<core.String>(); |
| 748 o.add("foo"); | 748 o.add("foo"); |
| 749 o.add("foo"); | 749 o.add("foo"); |
| 750 return o; | 750 return o; |
| 751 } | 751 } |
| 752 | 752 |
| 753 checkUnnamed71(core.List<core.String> o) { | 753 checkUnnamed2301(core.List<core.String> o) { |
| 754 unittest.expect(o, unittest.hasLength(2)); | 754 unittest.expect(o, unittest.hasLength(2)); |
| 755 unittest.expect(o[0], unittest.equals('foo')); | 755 unittest.expect(o[0], unittest.equals('foo')); |
| 756 unittest.expect(o[1], unittest.equals('foo')); | 756 unittest.expect(o[1], unittest.equals('foo')); |
| 757 } | 757 } |
| 758 | 758 |
| 759 core.int buildCounterCreativeNativeAdAppIcon = 0; | 759 core.int buildCounterCreativeNativeAdAppIcon = 0; |
| 760 buildCreativeNativeAdAppIcon() { | 760 buildCreativeNativeAdAppIcon() { |
| 761 var o = new api.CreativeNativeAdAppIcon(); | 761 var o = new api.CreativeNativeAdAppIcon(); |
| 762 buildCounterCreativeNativeAdAppIcon++; | 762 buildCounterCreativeNativeAdAppIcon++; |
| 763 if (buildCounterCreativeNativeAdAppIcon < 3) { | 763 if (buildCounterCreativeNativeAdAppIcon < 3) { |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 795 checkCreativeNativeAdImage(api.CreativeNativeAdImage o) { | 795 checkCreativeNativeAdImage(api.CreativeNativeAdImage o) { |
| 796 buildCounterCreativeNativeAdImage++; | 796 buildCounterCreativeNativeAdImage++; |
| 797 if (buildCounterCreativeNativeAdImage < 3) { | 797 if (buildCounterCreativeNativeAdImage < 3) { |
| 798 unittest.expect(o.height, unittest.equals(42)); | 798 unittest.expect(o.height, unittest.equals(42)); |
| 799 unittest.expect(o.url, unittest.equals('foo')); | 799 unittest.expect(o.url, unittest.equals('foo')); |
| 800 unittest.expect(o.width, unittest.equals(42)); | 800 unittest.expect(o.width, unittest.equals(42)); |
| 801 } | 801 } |
| 802 buildCounterCreativeNativeAdImage--; | 802 buildCounterCreativeNativeAdImage--; |
| 803 } | 803 } |
| 804 | 804 |
| 805 buildUnnamed72() { | 805 buildUnnamed2302() { |
| 806 var o = new core.List<core.String>(); | 806 var o = new core.List<core.String>(); |
| 807 o.add("foo"); | 807 o.add("foo"); |
| 808 o.add("foo"); | 808 o.add("foo"); |
| 809 return o; | 809 return o; |
| 810 } | 810 } |
| 811 | 811 |
| 812 checkUnnamed72(core.List<core.String> o) { | 812 checkUnnamed2302(core.List<core.String> o) { |
| 813 unittest.expect(o, unittest.hasLength(2)); | 813 unittest.expect(o, unittest.hasLength(2)); |
| 814 unittest.expect(o[0], unittest.equals('foo')); | 814 unittest.expect(o[0], unittest.equals('foo')); |
| 815 unittest.expect(o[1], unittest.equals('foo')); | 815 unittest.expect(o[1], unittest.equals('foo')); |
| 816 } | 816 } |
| 817 | 817 |
| 818 core.int buildCounterCreativeNativeAdLogo = 0; | 818 core.int buildCounterCreativeNativeAdLogo = 0; |
| 819 buildCreativeNativeAdLogo() { | 819 buildCreativeNativeAdLogo() { |
| 820 var o = new api.CreativeNativeAdLogo(); | 820 var o = new api.CreativeNativeAdLogo(); |
| 821 buildCounterCreativeNativeAdLogo++; | 821 buildCounterCreativeNativeAdLogo++; |
| 822 if (buildCounterCreativeNativeAdLogo < 3) { | 822 if (buildCounterCreativeNativeAdLogo < 3) { |
| (...skipping 20 matching lines...) Expand all Loading... |
| 843 var o = new api.CreativeNativeAd(); | 843 var o = new api.CreativeNativeAd(); |
| 844 buildCounterCreativeNativeAd++; | 844 buildCounterCreativeNativeAd++; |
| 845 if (buildCounterCreativeNativeAd < 3) { | 845 if (buildCounterCreativeNativeAd < 3) { |
| 846 o.advertiser = "foo"; | 846 o.advertiser = "foo"; |
| 847 o.appIcon = buildCreativeNativeAdAppIcon(); | 847 o.appIcon = buildCreativeNativeAdAppIcon(); |
| 848 o.body = "foo"; | 848 o.body = "foo"; |
| 849 o.callToAction = "foo"; | 849 o.callToAction = "foo"; |
| 850 o.clickTrackingUrl = "foo"; | 850 o.clickTrackingUrl = "foo"; |
| 851 o.headline = "foo"; | 851 o.headline = "foo"; |
| 852 o.image = buildCreativeNativeAdImage(); | 852 o.image = buildCreativeNativeAdImage(); |
| 853 o.impressionTrackingUrl = buildUnnamed72(); | 853 o.impressionTrackingUrl = buildUnnamed2302(); |
| 854 o.logo = buildCreativeNativeAdLogo(); | 854 o.logo = buildCreativeNativeAdLogo(); |
| 855 o.price = "foo"; | 855 o.price = "foo"; |
| 856 o.starRating = 42.0; | 856 o.starRating = 42.0; |
| 857 o.store = "foo"; | 857 o.store = "foo"; |
| 858 } | 858 } |
| 859 buildCounterCreativeNativeAd--; | 859 buildCounterCreativeNativeAd--; |
| 860 return o; | 860 return o; |
| 861 } | 861 } |
| 862 | 862 |
| 863 checkCreativeNativeAd(api.CreativeNativeAd o) { | 863 checkCreativeNativeAd(api.CreativeNativeAd o) { |
| 864 buildCounterCreativeNativeAd++; | 864 buildCounterCreativeNativeAd++; |
| 865 if (buildCounterCreativeNativeAd < 3) { | 865 if (buildCounterCreativeNativeAd < 3) { |
| 866 unittest.expect(o.advertiser, unittest.equals('foo')); | 866 unittest.expect(o.advertiser, unittest.equals('foo')); |
| 867 checkCreativeNativeAdAppIcon(o.appIcon); | 867 checkCreativeNativeAdAppIcon(o.appIcon); |
| 868 unittest.expect(o.body, unittest.equals('foo')); | 868 unittest.expect(o.body, unittest.equals('foo')); |
| 869 unittest.expect(o.callToAction, unittest.equals('foo')); | 869 unittest.expect(o.callToAction, unittest.equals('foo')); |
| 870 unittest.expect(o.clickTrackingUrl, unittest.equals('foo')); | 870 unittest.expect(o.clickTrackingUrl, unittest.equals('foo')); |
| 871 unittest.expect(o.headline, unittest.equals('foo')); | 871 unittest.expect(o.headline, unittest.equals('foo')); |
| 872 checkCreativeNativeAdImage(o.image); | 872 checkCreativeNativeAdImage(o.image); |
| 873 checkUnnamed72(o.impressionTrackingUrl); | 873 checkUnnamed2302(o.impressionTrackingUrl); |
| 874 checkCreativeNativeAdLogo(o.logo); | 874 checkCreativeNativeAdLogo(o.logo); |
| 875 unittest.expect(o.price, unittest.equals('foo')); | 875 unittest.expect(o.price, unittest.equals('foo')); |
| 876 unittest.expect(o.starRating, unittest.equals(42.0)); | 876 unittest.expect(o.starRating, unittest.equals(42.0)); |
| 877 unittest.expect(o.store, unittest.equals('foo')); | 877 unittest.expect(o.store, unittest.equals('foo')); |
| 878 } | 878 } |
| 879 buildCounterCreativeNativeAd--; | 879 buildCounterCreativeNativeAd--; |
| 880 } | 880 } |
| 881 | 881 |
| 882 buildUnnamed73() { | 882 buildUnnamed2303() { |
| 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 checkUnnamed2303(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 buildUnnamed2304() { |
| 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 checkUnnamed2304(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 buildUnnamed2305() { |
| 909 var o = new core.List<core.int>(); | 909 var o = new core.List<core.int>(); |
| 910 o.add(42); | 910 o.add(42); |
| 911 o.add(42); | 911 o.add(42); |
| 912 return o; | 912 return o; |
| 913 } | 913 } |
| 914 | 914 |
| 915 checkUnnamed75(core.List<core.int> o) { | 915 checkUnnamed2305(core.List<core.int> o) { |
| 916 unittest.expect(o, unittest.hasLength(2)); | 916 unittest.expect(o, unittest.hasLength(2)); |
| 917 unittest.expect(o[0], unittest.equals(42)); | 917 unittest.expect(o[0], unittest.equals(42)); |
| 918 unittest.expect(o[1], unittest.equals(42)); | 918 unittest.expect(o[1], unittest.equals(42)); |
| 919 } | 919 } |
| 920 | 920 |
| 921 buildUnnamed76() { | 921 buildUnnamed2306() { |
| 922 var o = new core.List<core.String>(); | 922 var o = new core.List<core.String>(); |
| 923 o.add("foo"); | 923 o.add("foo"); |
| 924 o.add("foo"); | 924 o.add("foo"); |
| 925 return o; | 925 return o; |
| 926 } | 926 } |
| 927 | 927 |
| 928 checkUnnamed76(core.List<core.String> o) { | 928 checkUnnamed2306(core.List<core.String> o) { |
| 929 unittest.expect(o, unittest.hasLength(2)); | 929 unittest.expect(o, unittest.hasLength(2)); |
| 930 unittest.expect(o[0], unittest.equals('foo')); | 930 unittest.expect(o[0], unittest.equals('foo')); |
| 931 unittest.expect(o[1], unittest.equals('foo')); | 931 unittest.expect(o[1], unittest.equals('foo')); |
| 932 } | 932 } |
| 933 | 933 |
| 934 buildUnnamed77() { | 934 buildUnnamed2307() { |
| 935 var o = new core.List<core.int>(); | 935 var o = new core.List<core.int>(); |
| 936 o.add(42); | 936 o.add(42); |
| 937 o.add(42); | 937 o.add(42); |
| 938 return o; | 938 return o; |
| 939 } | 939 } |
| 940 | 940 |
| 941 checkUnnamed77(core.List<core.int> o) { | 941 checkUnnamed2307(core.List<core.int> o) { |
| 942 unittest.expect(o, unittest.hasLength(2)); | 942 unittest.expect(o, unittest.hasLength(2)); |
| 943 unittest.expect(o[0], unittest.equals(42)); | 943 unittest.expect(o[0], unittest.equals(42)); |
| 944 unittest.expect(o[1], unittest.equals(42)); | 944 unittest.expect(o[1], unittest.equals(42)); |
| 945 } | 945 } |
| 946 | 946 |
| 947 buildUnnamed78() { | 947 buildUnnamed2308() { |
| 948 var o = new core.List<core.String>(); | 948 var o = new core.List<core.String>(); |
| 949 o.add("foo"); | 949 o.add("foo"); |
| 950 o.add("foo"); | 950 o.add("foo"); |
| 951 return o; | 951 return o; |
| 952 } | 952 } |
| 953 | 953 |
| 954 checkUnnamed78(core.List<core.String> o) { | 954 checkUnnamed2308(core.List<core.String> o) { |
| 955 unittest.expect(o, unittest.hasLength(2)); | 955 unittest.expect(o, unittest.hasLength(2)); |
| 956 unittest.expect(o[0], unittest.equals('foo')); | 956 unittest.expect(o[0], unittest.equals('foo')); |
| 957 unittest.expect(o[1], unittest.equals('foo')); | 957 unittest.expect(o[1], unittest.equals('foo')); |
| 958 } | 958 } |
| 959 | 959 |
| 960 core.int buildCounterCreativeServingRestrictionsContexts = 0; | 960 core.int buildCounterCreativeServingRestrictionsContexts = 0; |
| 961 buildCreativeServingRestrictionsContexts() { | 961 buildCreativeServingRestrictionsContexts() { |
| 962 var o = new api.CreativeServingRestrictionsContexts(); | 962 var o = new api.CreativeServingRestrictionsContexts(); |
| 963 buildCounterCreativeServingRestrictionsContexts++; | 963 buildCounterCreativeServingRestrictionsContexts++; |
| 964 if (buildCounterCreativeServingRestrictionsContexts < 3) { | 964 if (buildCounterCreativeServingRestrictionsContexts < 3) { |
| 965 o.auctionType = buildUnnamed76(); | 965 o.auctionType = buildUnnamed2306(); |
| 966 o.contextType = "foo"; | 966 o.contextType = "foo"; |
| 967 o.geoCriteriaId = buildUnnamed77(); | 967 o.geoCriteriaId = buildUnnamed2307(); |
| 968 o.platform = buildUnnamed78(); | 968 o.platform = buildUnnamed2308(); |
| 969 } | 969 } |
| 970 buildCounterCreativeServingRestrictionsContexts--; | 970 buildCounterCreativeServingRestrictionsContexts--; |
| 971 return o; | 971 return o; |
| 972 } | 972 } |
| 973 | 973 |
| 974 checkCreativeServingRestrictionsContexts(api.CreativeServingRestrictionsContexts
o) { | 974 checkCreativeServingRestrictionsContexts(api.CreativeServingRestrictionsContexts
o) { |
| 975 buildCounterCreativeServingRestrictionsContexts++; | 975 buildCounterCreativeServingRestrictionsContexts++; |
| 976 if (buildCounterCreativeServingRestrictionsContexts < 3) { | 976 if (buildCounterCreativeServingRestrictionsContexts < 3) { |
| 977 checkUnnamed76(o.auctionType); | 977 checkUnnamed2306(o.auctionType); |
| 978 unittest.expect(o.contextType, unittest.equals('foo')); | 978 unittest.expect(o.contextType, unittest.equals('foo')); |
| 979 checkUnnamed77(o.geoCriteriaId); | 979 checkUnnamed2307(o.geoCriteriaId); |
| 980 checkUnnamed78(o.platform); | 980 checkUnnamed2308(o.platform); |
| 981 } | 981 } |
| 982 buildCounterCreativeServingRestrictionsContexts--; | 982 buildCounterCreativeServingRestrictionsContexts--; |
| 983 } | 983 } |
| 984 | 984 |
| 985 buildUnnamed79() { | 985 buildUnnamed2309() { |
| 986 var o = new core.List<api.CreativeServingRestrictionsContexts>(); | 986 var o = new core.List<api.CreativeServingRestrictionsContexts>(); |
| 987 o.add(buildCreativeServingRestrictionsContexts()); | 987 o.add(buildCreativeServingRestrictionsContexts()); |
| 988 o.add(buildCreativeServingRestrictionsContexts()); | 988 o.add(buildCreativeServingRestrictionsContexts()); |
| 989 return o; | 989 return o; |
| 990 } | 990 } |
| 991 | 991 |
| 992 checkUnnamed79(core.List<api.CreativeServingRestrictionsContexts> o) { | 992 checkUnnamed2309(core.List<api.CreativeServingRestrictionsContexts> o) { |
| 993 unittest.expect(o, unittest.hasLength(2)); | 993 unittest.expect(o, unittest.hasLength(2)); |
| 994 checkCreativeServingRestrictionsContexts(o[0]); | 994 checkCreativeServingRestrictionsContexts(o[0]); |
| 995 checkCreativeServingRestrictionsContexts(o[1]); | 995 checkCreativeServingRestrictionsContexts(o[1]); |
| 996 } | 996 } |
| 997 | 997 |
| 998 buildUnnamed80() { | 998 buildUnnamed2310() { |
| 999 var o = new core.List<core.String>(); | 999 var o = new core.List<core.String>(); |
| 1000 o.add("foo"); | 1000 o.add("foo"); |
| 1001 o.add("foo"); | 1001 o.add("foo"); |
| 1002 return o; | 1002 return o; |
| 1003 } | 1003 } |
| 1004 | 1004 |
| 1005 checkUnnamed80(core.List<core.String> o) { | 1005 checkUnnamed2310(core.List<core.String> o) { |
| 1006 unittest.expect(o, unittest.hasLength(2)); | 1006 unittest.expect(o, unittest.hasLength(2)); |
| 1007 unittest.expect(o[0], unittest.equals('foo')); | 1007 unittest.expect(o[0], unittest.equals('foo')); |
| 1008 unittest.expect(o[1], unittest.equals('foo')); | 1008 unittest.expect(o[1], unittest.equals('foo')); |
| 1009 } | 1009 } |
| 1010 | 1010 |
| 1011 core.int buildCounterCreativeServingRestrictionsDisapprovalReasons = 0; | 1011 core.int buildCounterCreativeServingRestrictionsDisapprovalReasons = 0; |
| 1012 buildCreativeServingRestrictionsDisapprovalReasons() { | 1012 buildCreativeServingRestrictionsDisapprovalReasons() { |
| 1013 var o = new api.CreativeServingRestrictionsDisapprovalReasons(); | 1013 var o = new api.CreativeServingRestrictionsDisapprovalReasons(); |
| 1014 buildCounterCreativeServingRestrictionsDisapprovalReasons++; | 1014 buildCounterCreativeServingRestrictionsDisapprovalReasons++; |
| 1015 if (buildCounterCreativeServingRestrictionsDisapprovalReasons < 3) { | 1015 if (buildCounterCreativeServingRestrictionsDisapprovalReasons < 3) { |
| 1016 o.details = buildUnnamed80(); | 1016 o.details = buildUnnamed2310(); |
| 1017 o.reason = "foo"; | 1017 o.reason = "foo"; |
| 1018 } | 1018 } |
| 1019 buildCounterCreativeServingRestrictionsDisapprovalReasons--; | 1019 buildCounterCreativeServingRestrictionsDisapprovalReasons--; |
| 1020 return o; | 1020 return o; |
| 1021 } | 1021 } |
| 1022 | 1022 |
| 1023 checkCreativeServingRestrictionsDisapprovalReasons(api.CreativeServingRestrictio
nsDisapprovalReasons o) { | 1023 checkCreativeServingRestrictionsDisapprovalReasons(api.CreativeServingRestrictio
nsDisapprovalReasons o) { |
| 1024 buildCounterCreativeServingRestrictionsDisapprovalReasons++; | 1024 buildCounterCreativeServingRestrictionsDisapprovalReasons++; |
| 1025 if (buildCounterCreativeServingRestrictionsDisapprovalReasons < 3) { | 1025 if (buildCounterCreativeServingRestrictionsDisapprovalReasons < 3) { |
| 1026 checkUnnamed80(o.details); | 1026 checkUnnamed2310(o.details); |
| 1027 unittest.expect(o.reason, unittest.equals('foo')); | 1027 unittest.expect(o.reason, unittest.equals('foo')); |
| 1028 } | 1028 } |
| 1029 buildCounterCreativeServingRestrictionsDisapprovalReasons--; | 1029 buildCounterCreativeServingRestrictionsDisapprovalReasons--; |
| 1030 } | 1030 } |
| 1031 | 1031 |
| 1032 buildUnnamed81() { | 1032 buildUnnamed2311() { |
| 1033 var o = new core.List<api.CreativeServingRestrictionsDisapprovalReasons>(); | 1033 var o = new core.List<api.CreativeServingRestrictionsDisapprovalReasons>(); |
| 1034 o.add(buildCreativeServingRestrictionsDisapprovalReasons()); | 1034 o.add(buildCreativeServingRestrictionsDisapprovalReasons()); |
| 1035 o.add(buildCreativeServingRestrictionsDisapprovalReasons()); | 1035 o.add(buildCreativeServingRestrictionsDisapprovalReasons()); |
| 1036 return o; | 1036 return o; |
| 1037 } | 1037 } |
| 1038 | 1038 |
| 1039 checkUnnamed81(core.List<api.CreativeServingRestrictionsDisapprovalReasons> o) { | 1039 checkUnnamed2311(core.List<api.CreativeServingRestrictionsDisapprovalReasons> o)
{ |
| 1040 unittest.expect(o, unittest.hasLength(2)); | 1040 unittest.expect(o, unittest.hasLength(2)); |
| 1041 checkCreativeServingRestrictionsDisapprovalReasons(o[0]); | 1041 checkCreativeServingRestrictionsDisapprovalReasons(o[0]); |
| 1042 checkCreativeServingRestrictionsDisapprovalReasons(o[1]); | 1042 checkCreativeServingRestrictionsDisapprovalReasons(o[1]); |
| 1043 } | 1043 } |
| 1044 | 1044 |
| 1045 core.int buildCounterCreativeServingRestrictions = 0; | 1045 core.int buildCounterCreativeServingRestrictions = 0; |
| 1046 buildCreativeServingRestrictions() { | 1046 buildCreativeServingRestrictions() { |
| 1047 var o = new api.CreativeServingRestrictions(); | 1047 var o = new api.CreativeServingRestrictions(); |
| 1048 buildCounterCreativeServingRestrictions++; | 1048 buildCounterCreativeServingRestrictions++; |
| 1049 if (buildCounterCreativeServingRestrictions < 3) { | 1049 if (buildCounterCreativeServingRestrictions < 3) { |
| 1050 o.contexts = buildUnnamed79(); | 1050 o.contexts = buildUnnamed2309(); |
| 1051 o.disapprovalReasons = buildUnnamed81(); | 1051 o.disapprovalReasons = buildUnnamed2311(); |
| 1052 o.reason = "foo"; | 1052 o.reason = "foo"; |
| 1053 } | 1053 } |
| 1054 buildCounterCreativeServingRestrictions--; | 1054 buildCounterCreativeServingRestrictions--; |
| 1055 return o; | 1055 return o; |
| 1056 } | 1056 } |
| 1057 | 1057 |
| 1058 checkCreativeServingRestrictions(api.CreativeServingRestrictions o) { | 1058 checkCreativeServingRestrictions(api.CreativeServingRestrictions o) { |
| 1059 buildCounterCreativeServingRestrictions++; | 1059 buildCounterCreativeServingRestrictions++; |
| 1060 if (buildCounterCreativeServingRestrictions < 3) { | 1060 if (buildCounterCreativeServingRestrictions < 3) { |
| 1061 checkUnnamed79(o.contexts); | 1061 checkUnnamed2309(o.contexts); |
| 1062 checkUnnamed81(o.disapprovalReasons); | 1062 checkUnnamed2311(o.disapprovalReasons); |
| 1063 unittest.expect(o.reason, unittest.equals('foo')); | 1063 unittest.expect(o.reason, unittest.equals('foo')); |
| 1064 } | 1064 } |
| 1065 buildCounterCreativeServingRestrictions--; | 1065 buildCounterCreativeServingRestrictions--; |
| 1066 } | 1066 } |
| 1067 | 1067 |
| 1068 buildUnnamed82() { | 1068 buildUnnamed2312() { |
| 1069 var o = new core.List<api.CreativeServingRestrictions>(); | 1069 var o = new core.List<api.CreativeServingRestrictions>(); |
| 1070 o.add(buildCreativeServingRestrictions()); | 1070 o.add(buildCreativeServingRestrictions()); |
| 1071 o.add(buildCreativeServingRestrictions()); | 1071 o.add(buildCreativeServingRestrictions()); |
| 1072 return o; | 1072 return o; |
| 1073 } | 1073 } |
| 1074 | 1074 |
| 1075 checkUnnamed82(core.List<api.CreativeServingRestrictions> o) { | 1075 checkUnnamed2312(core.List<api.CreativeServingRestrictions> o) { |
| 1076 unittest.expect(o, unittest.hasLength(2)); | 1076 unittest.expect(o, unittest.hasLength(2)); |
| 1077 checkCreativeServingRestrictions(o[0]); | 1077 checkCreativeServingRestrictions(o[0]); |
| 1078 checkCreativeServingRestrictions(o[1]); | 1078 checkCreativeServingRestrictions(o[1]); |
| 1079 } | 1079 } |
| 1080 | 1080 |
| 1081 buildUnnamed83() { | 1081 buildUnnamed2313() { |
| 1082 var o = new core.List<core.int>(); | 1082 var o = new core.List<core.int>(); |
| 1083 o.add(42); | 1083 o.add(42); |
| 1084 o.add(42); | 1084 o.add(42); |
| 1085 return o; | 1085 return o; |
| 1086 } | 1086 } |
| 1087 | 1087 |
| 1088 checkUnnamed83(core.List<core.int> o) { | 1088 checkUnnamed2313(core.List<core.int> o) { |
| 1089 unittest.expect(o, unittest.hasLength(2)); | 1089 unittest.expect(o, unittest.hasLength(2)); |
| 1090 unittest.expect(o[0], unittest.equals(42)); | 1090 unittest.expect(o[0], unittest.equals(42)); |
| 1091 unittest.expect(o[1], unittest.equals(42)); | 1091 unittest.expect(o[1], unittest.equals(42)); |
| 1092 } | 1092 } |
| 1093 | 1093 |
| 1094 core.int buildCounterCreative = 0; | 1094 core.int buildCounterCreative = 0; |
| 1095 buildCreative() { | 1095 buildCreative() { |
| 1096 var o = new api.Creative(); | 1096 var o = new api.Creative(); |
| 1097 buildCounterCreative++; | 1097 buildCounterCreative++; |
| 1098 if (buildCounterCreative < 3) { | 1098 if (buildCounterCreative < 3) { |
| 1099 o.HTMLSnippet = "foo"; | 1099 o.HTMLSnippet = "foo"; |
| 1100 o.accountId = 42; | 1100 o.accountId = 42; |
| 1101 o.adChoicesDestinationUrl = "foo"; | 1101 o.adChoicesDestinationUrl = "foo"; |
| 1102 o.advertiserId = buildUnnamed59(); | 1102 o.advertiserId = buildUnnamed2289(); |
| 1103 o.advertiserName = "foo"; | 1103 o.advertiserName = "foo"; |
| 1104 o.agencyId = "foo"; | 1104 o.agencyId = "foo"; |
| 1105 o.apiUploadTimestamp = core.DateTime.parse("2002-02-27T14:01:02"); | 1105 o.apiUploadTimestamp = core.DateTime.parse("2002-02-27T14:01:02"); |
| 1106 o.attribute = buildUnnamed60(); | 1106 o.attribute = buildUnnamed2290(); |
| 1107 o.buyerCreativeId = "foo"; | 1107 o.buyerCreativeId = "foo"; |
| 1108 o.clickThroughUrl = buildUnnamed61(); | 1108 o.clickThroughUrl = buildUnnamed2291(); |
| 1109 o.corrections = buildUnnamed67(); | 1109 o.corrections = buildUnnamed2297(); |
| 1110 o.dealsStatus = "foo"; | 1110 o.dealsStatus = "foo"; |
| 1111 o.detectedDomains = buildUnnamed68(); | 1111 o.detectedDomains = buildUnnamed2298(); |
| 1112 o.filteringReasons = buildCreativeFilteringReasons(); | 1112 o.filteringReasons = buildCreativeFilteringReasons(); |
| 1113 o.height = 42; | 1113 o.height = 42; |
| 1114 o.impressionTrackingUrl = buildUnnamed70(); | 1114 o.impressionTrackingUrl = buildUnnamed2300(); |
| 1115 o.kind = "foo"; | 1115 o.kind = "foo"; |
| 1116 o.languages = buildUnnamed71(); | 1116 o.languages = buildUnnamed2301(); |
| 1117 o.nativeAd = buildCreativeNativeAd(); | 1117 o.nativeAd = buildCreativeNativeAd(); |
| 1118 o.openAuctionStatus = "foo"; | 1118 o.openAuctionStatus = "foo"; |
| 1119 o.productCategories = buildUnnamed73(); | 1119 o.productCategories = buildUnnamed2303(); |
| 1120 o.restrictedCategories = buildUnnamed74(); | 1120 o.restrictedCategories = buildUnnamed2304(); |
| 1121 o.sensitiveCategories = buildUnnamed75(); | 1121 o.sensitiveCategories = buildUnnamed2305(); |
| 1122 o.servingRestrictions = buildUnnamed82(); | 1122 o.servingRestrictions = buildUnnamed2312(); |
| 1123 o.vendorType = buildUnnamed83(); | 1123 o.vendorType = buildUnnamed2313(); |
| 1124 o.version = 42; | 1124 o.version = 42; |
| 1125 o.videoURL = "foo"; | 1125 o.videoURL = "foo"; |
| 1126 o.width = 42; | 1126 o.width = 42; |
| 1127 } | 1127 } |
| 1128 buildCounterCreative--; | 1128 buildCounterCreative--; |
| 1129 return o; | 1129 return o; |
| 1130 } | 1130 } |
| 1131 | 1131 |
| 1132 checkCreative(api.Creative o) { | 1132 checkCreative(api.Creative o) { |
| 1133 buildCounterCreative++; | 1133 buildCounterCreative++; |
| 1134 if (buildCounterCreative < 3) { | 1134 if (buildCounterCreative < 3) { |
| 1135 unittest.expect(o.HTMLSnippet, unittest.equals('foo')); | 1135 unittest.expect(o.HTMLSnippet, unittest.equals('foo')); |
| 1136 unittest.expect(o.accountId, unittest.equals(42)); | 1136 unittest.expect(o.accountId, unittest.equals(42)); |
| 1137 unittest.expect(o.adChoicesDestinationUrl, unittest.equals('foo')); | 1137 unittest.expect(o.adChoicesDestinationUrl, unittest.equals('foo')); |
| 1138 checkUnnamed59(o.advertiserId); | 1138 checkUnnamed2289(o.advertiserId); |
| 1139 unittest.expect(o.advertiserName, unittest.equals('foo')); | 1139 unittest.expect(o.advertiserName, unittest.equals('foo')); |
| 1140 unittest.expect(o.agencyId, unittest.equals('foo')); | 1140 unittest.expect(o.agencyId, unittest.equals('foo')); |
| 1141 unittest.expect(o.apiUploadTimestamp, unittest.equals(core.DateTime.parse("2
002-02-27T14:01:02"))); | 1141 unittest.expect(o.apiUploadTimestamp, unittest.equals(core.DateTime.parse("2
002-02-27T14:01:02"))); |
| 1142 checkUnnamed60(o.attribute); | 1142 checkUnnamed2290(o.attribute); |
| 1143 unittest.expect(o.buyerCreativeId, unittest.equals('foo')); | 1143 unittest.expect(o.buyerCreativeId, unittest.equals('foo')); |
| 1144 checkUnnamed61(o.clickThroughUrl); | 1144 checkUnnamed2291(o.clickThroughUrl); |
| 1145 checkUnnamed67(o.corrections); | 1145 checkUnnamed2297(o.corrections); |
| 1146 unittest.expect(o.dealsStatus, unittest.equals('foo')); | 1146 unittest.expect(o.dealsStatus, unittest.equals('foo')); |
| 1147 checkUnnamed68(o.detectedDomains); | 1147 checkUnnamed2298(o.detectedDomains); |
| 1148 checkCreativeFilteringReasons(o.filteringReasons); | 1148 checkCreativeFilteringReasons(o.filteringReasons); |
| 1149 unittest.expect(o.height, unittest.equals(42)); | 1149 unittest.expect(o.height, unittest.equals(42)); |
| 1150 checkUnnamed70(o.impressionTrackingUrl); | 1150 checkUnnamed2300(o.impressionTrackingUrl); |
| 1151 unittest.expect(o.kind, unittest.equals('foo')); | 1151 unittest.expect(o.kind, unittest.equals('foo')); |
| 1152 checkUnnamed71(o.languages); | 1152 checkUnnamed2301(o.languages); |
| 1153 checkCreativeNativeAd(o.nativeAd); | 1153 checkCreativeNativeAd(o.nativeAd); |
| 1154 unittest.expect(o.openAuctionStatus, unittest.equals('foo')); | 1154 unittest.expect(o.openAuctionStatus, unittest.equals('foo')); |
| 1155 checkUnnamed73(o.productCategories); | 1155 checkUnnamed2303(o.productCategories); |
| 1156 checkUnnamed74(o.restrictedCategories); | 1156 checkUnnamed2304(o.restrictedCategories); |
| 1157 checkUnnamed75(o.sensitiveCategories); | 1157 checkUnnamed2305(o.sensitiveCategories); |
| 1158 checkUnnamed82(o.servingRestrictions); | 1158 checkUnnamed2312(o.servingRestrictions); |
| 1159 checkUnnamed83(o.vendorType); | 1159 checkUnnamed2313(o.vendorType); |
| 1160 unittest.expect(o.version, unittest.equals(42)); | 1160 unittest.expect(o.version, unittest.equals(42)); |
| 1161 unittest.expect(o.videoURL, unittest.equals('foo')); | 1161 unittest.expect(o.videoURL, unittest.equals('foo')); |
| 1162 unittest.expect(o.width, unittest.equals(42)); | 1162 unittest.expect(o.width, unittest.equals(42)); |
| 1163 } | 1163 } |
| 1164 buildCounterCreative--; | 1164 buildCounterCreative--; |
| 1165 } | 1165 } |
| 1166 | 1166 |
| 1167 buildUnnamed84() { | 1167 buildUnnamed2314() { |
| 1168 var o = new core.List<api.Creative>(); | 1168 var o = new core.List<api.Creative>(); |
| 1169 o.add(buildCreative()); | 1169 o.add(buildCreative()); |
| 1170 o.add(buildCreative()); | 1170 o.add(buildCreative()); |
| 1171 return o; | 1171 return o; |
| 1172 } | 1172 } |
| 1173 | 1173 |
| 1174 checkUnnamed84(core.List<api.Creative> o) { | 1174 checkUnnamed2314(core.List<api.Creative> o) { |
| 1175 unittest.expect(o, unittest.hasLength(2)); | 1175 unittest.expect(o, unittest.hasLength(2)); |
| 1176 checkCreative(o[0]); | 1176 checkCreative(o[0]); |
| 1177 checkCreative(o[1]); | 1177 checkCreative(o[1]); |
| 1178 } | 1178 } |
| 1179 | 1179 |
| 1180 core.int buildCounterCreativesList = 0; | 1180 core.int buildCounterCreativesList = 0; |
| 1181 buildCreativesList() { | 1181 buildCreativesList() { |
| 1182 var o = new api.CreativesList(); | 1182 var o = new api.CreativesList(); |
| 1183 buildCounterCreativesList++; | 1183 buildCounterCreativesList++; |
| 1184 if (buildCounterCreativesList < 3) { | 1184 if (buildCounterCreativesList < 3) { |
| 1185 o.items = buildUnnamed84(); | 1185 o.items = buildUnnamed2314(); |
| 1186 o.kind = "foo"; | 1186 o.kind = "foo"; |
| 1187 o.nextPageToken = "foo"; | 1187 o.nextPageToken = "foo"; |
| 1188 } | 1188 } |
| 1189 buildCounterCreativesList--; | 1189 buildCounterCreativesList--; |
| 1190 return o; | 1190 return o; |
| 1191 } | 1191 } |
| 1192 | 1192 |
| 1193 checkCreativesList(api.CreativesList o) { | 1193 checkCreativesList(api.CreativesList o) { |
| 1194 buildCounterCreativesList++; | 1194 buildCounterCreativesList++; |
| 1195 if (buildCounterCreativesList < 3) { | 1195 if (buildCounterCreativesList < 3) { |
| 1196 checkUnnamed84(o.items); | 1196 checkUnnamed2314(o.items); |
| 1197 unittest.expect(o.kind, unittest.equals('foo')); | 1197 unittest.expect(o.kind, unittest.equals('foo')); |
| 1198 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1198 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1199 } | 1199 } |
| 1200 buildCounterCreativesList--; | 1200 buildCounterCreativesList--; |
| 1201 } | 1201 } |
| 1202 | 1202 |
| 1203 core.int buildCounterDealServingMetadata = 0; | 1203 core.int buildCounterDealServingMetadata = 0; |
| 1204 buildDealServingMetadata() { | 1204 buildDealServingMetadata() { |
| 1205 var o = new api.DealServingMetadata(); | 1205 var o = new api.DealServingMetadata(); |
| 1206 buildCounterDealServingMetadata++; | 1206 buildCounterDealServingMetadata++; |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1274 unittest.expect(o.estimatedImpressionsPerDay, unittest.equals('foo')); | 1274 unittest.expect(o.estimatedImpressionsPerDay, unittest.equals('foo')); |
| 1275 checkDealTermsGuaranteedFixedPriceTerms(o.guaranteedFixedPriceTerms); | 1275 checkDealTermsGuaranteedFixedPriceTerms(o.guaranteedFixedPriceTerms); |
| 1276 checkDealTermsNonGuaranteedAuctionTerms(o.nonGuaranteedAuctionTerms); | 1276 checkDealTermsNonGuaranteedAuctionTerms(o.nonGuaranteedAuctionTerms); |
| 1277 checkDealTermsNonGuaranteedFixedPriceTerms(o.nonGuaranteedFixedPriceTerms); | 1277 checkDealTermsNonGuaranteedFixedPriceTerms(o.nonGuaranteedFixedPriceTerms); |
| 1278 checkDealTermsRubiconNonGuaranteedTerms(o.rubiconNonGuaranteedTerms); | 1278 checkDealTermsRubiconNonGuaranteedTerms(o.rubiconNonGuaranteedTerms); |
| 1279 unittest.expect(o.sellerTimeZone, unittest.equals('foo')); | 1279 unittest.expect(o.sellerTimeZone, unittest.equals('foo')); |
| 1280 } | 1280 } |
| 1281 buildCounterDealTerms--; | 1281 buildCounterDealTerms--; |
| 1282 } | 1282 } |
| 1283 | 1283 |
| 1284 buildUnnamed85() { | 1284 buildUnnamed2315() { |
| 1285 var o = new core.List<api.PricePerBuyer>(); | 1285 var o = new core.List<api.PricePerBuyer>(); |
| 1286 o.add(buildPricePerBuyer()); | 1286 o.add(buildPricePerBuyer()); |
| 1287 o.add(buildPricePerBuyer()); | 1287 o.add(buildPricePerBuyer()); |
| 1288 return o; | 1288 return o; |
| 1289 } | 1289 } |
| 1290 | 1290 |
| 1291 checkUnnamed85(core.List<api.PricePerBuyer> o) { | 1291 checkUnnamed2315(core.List<api.PricePerBuyer> o) { |
| 1292 unittest.expect(o, unittest.hasLength(2)); | 1292 unittest.expect(o, unittest.hasLength(2)); |
| 1293 checkPricePerBuyer(o[0]); | 1293 checkPricePerBuyer(o[0]); |
| 1294 checkPricePerBuyer(o[1]); | 1294 checkPricePerBuyer(o[1]); |
| 1295 } | 1295 } |
| 1296 | 1296 |
| 1297 core.int buildCounterDealTermsGuaranteedFixedPriceTerms = 0; | 1297 core.int buildCounterDealTermsGuaranteedFixedPriceTerms = 0; |
| 1298 buildDealTermsGuaranteedFixedPriceTerms() { | 1298 buildDealTermsGuaranteedFixedPriceTerms() { |
| 1299 var o = new api.DealTermsGuaranteedFixedPriceTerms(); | 1299 var o = new api.DealTermsGuaranteedFixedPriceTerms(); |
| 1300 buildCounterDealTermsGuaranteedFixedPriceTerms++; | 1300 buildCounterDealTermsGuaranteedFixedPriceTerms++; |
| 1301 if (buildCounterDealTermsGuaranteedFixedPriceTerms < 3) { | 1301 if (buildCounterDealTermsGuaranteedFixedPriceTerms < 3) { |
| 1302 o.billingInfo = buildDealTermsGuaranteedFixedPriceTermsBillingInfo(); | 1302 o.billingInfo = buildDealTermsGuaranteedFixedPriceTermsBillingInfo(); |
| 1303 o.fixedPrices = buildUnnamed85(); | 1303 o.fixedPrices = buildUnnamed2315(); |
| 1304 o.guaranteedImpressions = "foo"; | 1304 o.guaranteedImpressions = "foo"; |
| 1305 o.guaranteedLooks = "foo"; | 1305 o.guaranteedLooks = "foo"; |
| 1306 o.minimumDailyLooks = "foo"; | 1306 o.minimumDailyLooks = "foo"; |
| 1307 } | 1307 } |
| 1308 buildCounterDealTermsGuaranteedFixedPriceTerms--; | 1308 buildCounterDealTermsGuaranteedFixedPriceTerms--; |
| 1309 return o; | 1309 return o; |
| 1310 } | 1310 } |
| 1311 | 1311 |
| 1312 checkDealTermsGuaranteedFixedPriceTerms(api.DealTermsGuaranteedFixedPriceTerms o
) { | 1312 checkDealTermsGuaranteedFixedPriceTerms(api.DealTermsGuaranteedFixedPriceTerms o
) { |
| 1313 buildCounterDealTermsGuaranteedFixedPriceTerms++; | 1313 buildCounterDealTermsGuaranteedFixedPriceTerms++; |
| 1314 if (buildCounterDealTermsGuaranteedFixedPriceTerms < 3) { | 1314 if (buildCounterDealTermsGuaranteedFixedPriceTerms < 3) { |
| 1315 checkDealTermsGuaranteedFixedPriceTermsBillingInfo(o.billingInfo); | 1315 checkDealTermsGuaranteedFixedPriceTermsBillingInfo(o.billingInfo); |
| 1316 checkUnnamed85(o.fixedPrices); | 1316 checkUnnamed2315(o.fixedPrices); |
| 1317 unittest.expect(o.guaranteedImpressions, unittest.equals('foo')); | 1317 unittest.expect(o.guaranteedImpressions, unittest.equals('foo')); |
| 1318 unittest.expect(o.guaranteedLooks, unittest.equals('foo')); | 1318 unittest.expect(o.guaranteedLooks, unittest.equals('foo')); |
| 1319 unittest.expect(o.minimumDailyLooks, unittest.equals('foo')); | 1319 unittest.expect(o.minimumDailyLooks, unittest.equals('foo')); |
| 1320 } | 1320 } |
| 1321 buildCounterDealTermsGuaranteedFixedPriceTerms--; | 1321 buildCounterDealTermsGuaranteedFixedPriceTerms--; |
| 1322 } | 1322 } |
| 1323 | 1323 |
| 1324 core.int buildCounterDealTermsGuaranteedFixedPriceTermsBillingInfo = 0; | 1324 core.int buildCounterDealTermsGuaranteedFixedPriceTermsBillingInfo = 0; |
| 1325 buildDealTermsGuaranteedFixedPriceTermsBillingInfo() { | 1325 buildDealTermsGuaranteedFixedPriceTermsBillingInfo() { |
| 1326 var o = new api.DealTermsGuaranteedFixedPriceTermsBillingInfo(); | 1326 var o = new api.DealTermsGuaranteedFixedPriceTermsBillingInfo(); |
| (...skipping 12 matching lines...) Expand all Loading... |
| 1339 buildCounterDealTermsGuaranteedFixedPriceTermsBillingInfo++; | 1339 buildCounterDealTermsGuaranteedFixedPriceTermsBillingInfo++; |
| 1340 if (buildCounterDealTermsGuaranteedFixedPriceTermsBillingInfo < 3) { | 1340 if (buildCounterDealTermsGuaranteedFixedPriceTermsBillingInfo < 3) { |
| 1341 unittest.expect(o.currencyConversionTimeMs, unittest.equals('foo')); | 1341 unittest.expect(o.currencyConversionTimeMs, unittest.equals('foo')); |
| 1342 unittest.expect(o.dfpLineItemId, unittest.equals('foo')); | 1342 unittest.expect(o.dfpLineItemId, unittest.equals('foo')); |
| 1343 unittest.expect(o.originalContractedQuantity, unittest.equals('foo')); | 1343 unittest.expect(o.originalContractedQuantity, unittest.equals('foo')); |
| 1344 checkPrice(o.price); | 1344 checkPrice(o.price); |
| 1345 } | 1345 } |
| 1346 buildCounterDealTermsGuaranteedFixedPriceTermsBillingInfo--; | 1346 buildCounterDealTermsGuaranteedFixedPriceTermsBillingInfo--; |
| 1347 } | 1347 } |
| 1348 | 1348 |
| 1349 buildUnnamed86() { | 1349 buildUnnamed2316() { |
| 1350 var o = new core.List<api.PricePerBuyer>(); | 1350 var o = new core.List<api.PricePerBuyer>(); |
| 1351 o.add(buildPricePerBuyer()); | 1351 o.add(buildPricePerBuyer()); |
| 1352 o.add(buildPricePerBuyer()); | 1352 o.add(buildPricePerBuyer()); |
| 1353 return o; | 1353 return o; |
| 1354 } | 1354 } |
| 1355 | 1355 |
| 1356 checkUnnamed86(core.List<api.PricePerBuyer> o) { | 1356 checkUnnamed2316(core.List<api.PricePerBuyer> o) { |
| 1357 unittest.expect(o, unittest.hasLength(2)); | 1357 unittest.expect(o, unittest.hasLength(2)); |
| 1358 checkPricePerBuyer(o[0]); | 1358 checkPricePerBuyer(o[0]); |
| 1359 checkPricePerBuyer(o[1]); | 1359 checkPricePerBuyer(o[1]); |
| 1360 } | 1360 } |
| 1361 | 1361 |
| 1362 core.int buildCounterDealTermsNonGuaranteedAuctionTerms = 0; | 1362 core.int buildCounterDealTermsNonGuaranteedAuctionTerms = 0; |
| 1363 buildDealTermsNonGuaranteedAuctionTerms() { | 1363 buildDealTermsNonGuaranteedAuctionTerms() { |
| 1364 var o = new api.DealTermsNonGuaranteedAuctionTerms(); | 1364 var o = new api.DealTermsNonGuaranteedAuctionTerms(); |
| 1365 buildCounterDealTermsNonGuaranteedAuctionTerms++; | 1365 buildCounterDealTermsNonGuaranteedAuctionTerms++; |
| 1366 if (buildCounterDealTermsNonGuaranteedAuctionTerms < 3) { | 1366 if (buildCounterDealTermsNonGuaranteedAuctionTerms < 3) { |
| 1367 o.autoOptimizePrivateAuction = true; | 1367 o.autoOptimizePrivateAuction = true; |
| 1368 o.reservePricePerBuyers = buildUnnamed86(); | 1368 o.reservePricePerBuyers = buildUnnamed2316(); |
| 1369 } | 1369 } |
| 1370 buildCounterDealTermsNonGuaranteedAuctionTerms--; | 1370 buildCounterDealTermsNonGuaranteedAuctionTerms--; |
| 1371 return o; | 1371 return o; |
| 1372 } | 1372 } |
| 1373 | 1373 |
| 1374 checkDealTermsNonGuaranteedAuctionTerms(api.DealTermsNonGuaranteedAuctionTerms o
) { | 1374 checkDealTermsNonGuaranteedAuctionTerms(api.DealTermsNonGuaranteedAuctionTerms o
) { |
| 1375 buildCounterDealTermsNonGuaranteedAuctionTerms++; | 1375 buildCounterDealTermsNonGuaranteedAuctionTerms++; |
| 1376 if (buildCounterDealTermsNonGuaranteedAuctionTerms < 3) { | 1376 if (buildCounterDealTermsNonGuaranteedAuctionTerms < 3) { |
| 1377 unittest.expect(o.autoOptimizePrivateAuction, unittest.isTrue); | 1377 unittest.expect(o.autoOptimizePrivateAuction, unittest.isTrue); |
| 1378 checkUnnamed86(o.reservePricePerBuyers); | 1378 checkUnnamed2316(o.reservePricePerBuyers); |
| 1379 } | 1379 } |
| 1380 buildCounterDealTermsNonGuaranteedAuctionTerms--; | 1380 buildCounterDealTermsNonGuaranteedAuctionTerms--; |
| 1381 } | 1381 } |
| 1382 | 1382 |
| 1383 buildUnnamed87() { | 1383 buildUnnamed2317() { |
| 1384 var o = new core.List<api.PricePerBuyer>(); | 1384 var o = new core.List<api.PricePerBuyer>(); |
| 1385 o.add(buildPricePerBuyer()); | 1385 o.add(buildPricePerBuyer()); |
| 1386 o.add(buildPricePerBuyer()); | 1386 o.add(buildPricePerBuyer()); |
| 1387 return o; | 1387 return o; |
| 1388 } | 1388 } |
| 1389 | 1389 |
| 1390 checkUnnamed87(core.List<api.PricePerBuyer> o) { | 1390 checkUnnamed2317(core.List<api.PricePerBuyer> o) { |
| 1391 unittest.expect(o, unittest.hasLength(2)); | 1391 unittest.expect(o, unittest.hasLength(2)); |
| 1392 checkPricePerBuyer(o[0]); | 1392 checkPricePerBuyer(o[0]); |
| 1393 checkPricePerBuyer(o[1]); | 1393 checkPricePerBuyer(o[1]); |
| 1394 } | 1394 } |
| 1395 | 1395 |
| 1396 core.int buildCounterDealTermsNonGuaranteedFixedPriceTerms = 0; | 1396 core.int buildCounterDealTermsNonGuaranteedFixedPriceTerms = 0; |
| 1397 buildDealTermsNonGuaranteedFixedPriceTerms() { | 1397 buildDealTermsNonGuaranteedFixedPriceTerms() { |
| 1398 var o = new api.DealTermsNonGuaranteedFixedPriceTerms(); | 1398 var o = new api.DealTermsNonGuaranteedFixedPriceTerms(); |
| 1399 buildCounterDealTermsNonGuaranteedFixedPriceTerms++; | 1399 buildCounterDealTermsNonGuaranteedFixedPriceTerms++; |
| 1400 if (buildCounterDealTermsNonGuaranteedFixedPriceTerms < 3) { | 1400 if (buildCounterDealTermsNonGuaranteedFixedPriceTerms < 3) { |
| 1401 o.fixedPrices = buildUnnamed87(); | 1401 o.fixedPrices = buildUnnamed2317(); |
| 1402 } | 1402 } |
| 1403 buildCounterDealTermsNonGuaranteedFixedPriceTerms--; | 1403 buildCounterDealTermsNonGuaranteedFixedPriceTerms--; |
| 1404 return o; | 1404 return o; |
| 1405 } | 1405 } |
| 1406 | 1406 |
| 1407 checkDealTermsNonGuaranteedFixedPriceTerms(api.DealTermsNonGuaranteedFixedPriceT
erms o) { | 1407 checkDealTermsNonGuaranteedFixedPriceTerms(api.DealTermsNonGuaranteedFixedPriceT
erms o) { |
| 1408 buildCounterDealTermsNonGuaranteedFixedPriceTerms++; | 1408 buildCounterDealTermsNonGuaranteedFixedPriceTerms++; |
| 1409 if (buildCounterDealTermsNonGuaranteedFixedPriceTerms < 3) { | 1409 if (buildCounterDealTermsNonGuaranteedFixedPriceTerms < 3) { |
| 1410 checkUnnamed87(o.fixedPrices); | 1410 checkUnnamed2317(o.fixedPrices); |
| 1411 } | 1411 } |
| 1412 buildCounterDealTermsNonGuaranteedFixedPriceTerms--; | 1412 buildCounterDealTermsNonGuaranteedFixedPriceTerms--; |
| 1413 } | 1413 } |
| 1414 | 1414 |
| 1415 core.int buildCounterDealTermsRubiconNonGuaranteedTerms = 0; | 1415 core.int buildCounterDealTermsRubiconNonGuaranteedTerms = 0; |
| 1416 buildDealTermsRubiconNonGuaranteedTerms() { | 1416 buildDealTermsRubiconNonGuaranteedTerms() { |
| 1417 var o = new api.DealTermsRubiconNonGuaranteedTerms(); | 1417 var o = new api.DealTermsRubiconNonGuaranteedTerms(); |
| 1418 buildCounterDealTermsRubiconNonGuaranteedTerms++; | 1418 buildCounterDealTermsRubiconNonGuaranteedTerms++; |
| 1419 if (buildCounterDealTermsRubiconNonGuaranteedTerms < 3) { | 1419 if (buildCounterDealTermsRubiconNonGuaranteedTerms < 3) { |
| 1420 o.priorityPrice = buildPrice(); | 1420 o.priorityPrice = buildPrice(); |
| 1421 o.standardPrice = buildPrice(); | 1421 o.standardPrice = buildPrice(); |
| 1422 } | 1422 } |
| 1423 buildCounterDealTermsRubiconNonGuaranteedTerms--; | 1423 buildCounterDealTermsRubiconNonGuaranteedTerms--; |
| 1424 return o; | 1424 return o; |
| 1425 } | 1425 } |
| 1426 | 1426 |
| 1427 checkDealTermsRubiconNonGuaranteedTerms(api.DealTermsRubiconNonGuaranteedTerms o
) { | 1427 checkDealTermsRubiconNonGuaranteedTerms(api.DealTermsRubiconNonGuaranteedTerms o
) { |
| 1428 buildCounterDealTermsRubiconNonGuaranteedTerms++; | 1428 buildCounterDealTermsRubiconNonGuaranteedTerms++; |
| 1429 if (buildCounterDealTermsRubiconNonGuaranteedTerms < 3) { | 1429 if (buildCounterDealTermsRubiconNonGuaranteedTerms < 3) { |
| 1430 checkPrice(o.priorityPrice); | 1430 checkPrice(o.priorityPrice); |
| 1431 checkPrice(o.standardPrice); | 1431 checkPrice(o.standardPrice); |
| 1432 } | 1432 } |
| 1433 buildCounterDealTermsRubiconNonGuaranteedTerms--; | 1433 buildCounterDealTermsRubiconNonGuaranteedTerms--; |
| 1434 } | 1434 } |
| 1435 | 1435 |
| 1436 buildUnnamed88() { | 1436 buildUnnamed2318() { |
| 1437 var o = new core.List<core.String>(); | 1437 var o = new core.List<core.String>(); |
| 1438 o.add("foo"); | 1438 o.add("foo"); |
| 1439 o.add("foo"); | 1439 o.add("foo"); |
| 1440 return o; | 1440 return o; |
| 1441 } | 1441 } |
| 1442 | 1442 |
| 1443 checkUnnamed88(core.List<core.String> o) { | 1443 checkUnnamed2318(core.List<core.String> o) { |
| 1444 unittest.expect(o, unittest.hasLength(2)); | 1444 unittest.expect(o, unittest.hasLength(2)); |
| 1445 unittest.expect(o[0], unittest.equals('foo')); | 1445 unittest.expect(o[0], unittest.equals('foo')); |
| 1446 unittest.expect(o[1], unittest.equals('foo')); | 1446 unittest.expect(o[1], unittest.equals('foo')); |
| 1447 } | 1447 } |
| 1448 | 1448 |
| 1449 core.int buildCounterDeleteOrderDealsRequest = 0; | 1449 core.int buildCounterDeleteOrderDealsRequest = 0; |
| 1450 buildDeleteOrderDealsRequest() { | 1450 buildDeleteOrderDealsRequest() { |
| 1451 var o = new api.DeleteOrderDealsRequest(); | 1451 var o = new api.DeleteOrderDealsRequest(); |
| 1452 buildCounterDeleteOrderDealsRequest++; | 1452 buildCounterDeleteOrderDealsRequest++; |
| 1453 if (buildCounterDeleteOrderDealsRequest < 3) { | 1453 if (buildCounterDeleteOrderDealsRequest < 3) { |
| 1454 o.dealIds = buildUnnamed88(); | 1454 o.dealIds = buildUnnamed2318(); |
| 1455 o.proposalRevisionNumber = "foo"; | 1455 o.proposalRevisionNumber = "foo"; |
| 1456 o.updateAction = "foo"; | 1456 o.updateAction = "foo"; |
| 1457 } | 1457 } |
| 1458 buildCounterDeleteOrderDealsRequest--; | 1458 buildCounterDeleteOrderDealsRequest--; |
| 1459 return o; | 1459 return o; |
| 1460 } | 1460 } |
| 1461 | 1461 |
| 1462 checkDeleteOrderDealsRequest(api.DeleteOrderDealsRequest o) { | 1462 checkDeleteOrderDealsRequest(api.DeleteOrderDealsRequest o) { |
| 1463 buildCounterDeleteOrderDealsRequest++; | 1463 buildCounterDeleteOrderDealsRequest++; |
| 1464 if (buildCounterDeleteOrderDealsRequest < 3) { | 1464 if (buildCounterDeleteOrderDealsRequest < 3) { |
| 1465 checkUnnamed88(o.dealIds); | 1465 checkUnnamed2318(o.dealIds); |
| 1466 unittest.expect(o.proposalRevisionNumber, unittest.equals('foo')); | 1466 unittest.expect(o.proposalRevisionNumber, unittest.equals('foo')); |
| 1467 unittest.expect(o.updateAction, unittest.equals('foo')); | 1467 unittest.expect(o.updateAction, unittest.equals('foo')); |
| 1468 } | 1468 } |
| 1469 buildCounterDeleteOrderDealsRequest--; | 1469 buildCounterDeleteOrderDealsRequest--; |
| 1470 } | 1470 } |
| 1471 | 1471 |
| 1472 buildUnnamed89() { | 1472 buildUnnamed2319() { |
| 1473 var o = new core.List<api.MarketplaceDeal>(); | 1473 var o = new core.List<api.MarketplaceDeal>(); |
| 1474 o.add(buildMarketplaceDeal()); | 1474 o.add(buildMarketplaceDeal()); |
| 1475 o.add(buildMarketplaceDeal()); | 1475 o.add(buildMarketplaceDeal()); |
| 1476 return o; | 1476 return o; |
| 1477 } | 1477 } |
| 1478 | 1478 |
| 1479 checkUnnamed89(core.List<api.MarketplaceDeal> o) { | 1479 checkUnnamed2319(core.List<api.MarketplaceDeal> o) { |
| 1480 unittest.expect(o, unittest.hasLength(2)); | 1480 unittest.expect(o, unittest.hasLength(2)); |
| 1481 checkMarketplaceDeal(o[0]); | 1481 checkMarketplaceDeal(o[0]); |
| 1482 checkMarketplaceDeal(o[1]); | 1482 checkMarketplaceDeal(o[1]); |
| 1483 } | 1483 } |
| 1484 | 1484 |
| 1485 core.int buildCounterDeleteOrderDealsResponse = 0; | 1485 core.int buildCounterDeleteOrderDealsResponse = 0; |
| 1486 buildDeleteOrderDealsResponse() { | 1486 buildDeleteOrderDealsResponse() { |
| 1487 var o = new api.DeleteOrderDealsResponse(); | 1487 var o = new api.DeleteOrderDealsResponse(); |
| 1488 buildCounterDeleteOrderDealsResponse++; | 1488 buildCounterDeleteOrderDealsResponse++; |
| 1489 if (buildCounterDeleteOrderDealsResponse < 3) { | 1489 if (buildCounterDeleteOrderDealsResponse < 3) { |
| 1490 o.deals = buildUnnamed89(); | 1490 o.deals = buildUnnamed2319(); |
| 1491 o.proposalRevisionNumber = "foo"; | 1491 o.proposalRevisionNumber = "foo"; |
| 1492 } | 1492 } |
| 1493 buildCounterDeleteOrderDealsResponse--; | 1493 buildCounterDeleteOrderDealsResponse--; |
| 1494 return o; | 1494 return o; |
| 1495 } | 1495 } |
| 1496 | 1496 |
| 1497 checkDeleteOrderDealsResponse(api.DeleteOrderDealsResponse o) { | 1497 checkDeleteOrderDealsResponse(api.DeleteOrderDealsResponse o) { |
| 1498 buildCounterDeleteOrderDealsResponse++; | 1498 buildCounterDeleteOrderDealsResponse++; |
| 1499 if (buildCounterDeleteOrderDealsResponse < 3) { | 1499 if (buildCounterDeleteOrderDealsResponse < 3) { |
| 1500 checkUnnamed89(o.deals); | 1500 checkUnnamed2319(o.deals); |
| 1501 unittest.expect(o.proposalRevisionNumber, unittest.equals('foo')); | 1501 unittest.expect(o.proposalRevisionNumber, unittest.equals('foo')); |
| 1502 } | 1502 } |
| 1503 buildCounterDeleteOrderDealsResponse--; | 1503 buildCounterDeleteOrderDealsResponse--; |
| 1504 } | 1504 } |
| 1505 | 1505 |
| 1506 buildUnnamed90() { | 1506 buildUnnamed2320() { |
| 1507 var o = new core.List<api.DeliveryControlFrequencyCap>(); | 1507 var o = new core.List<api.DeliveryControlFrequencyCap>(); |
| 1508 o.add(buildDeliveryControlFrequencyCap()); | 1508 o.add(buildDeliveryControlFrequencyCap()); |
| 1509 o.add(buildDeliveryControlFrequencyCap()); | 1509 o.add(buildDeliveryControlFrequencyCap()); |
| 1510 return o; | 1510 return o; |
| 1511 } | 1511 } |
| 1512 | 1512 |
| 1513 checkUnnamed90(core.List<api.DeliveryControlFrequencyCap> o) { | 1513 checkUnnamed2320(core.List<api.DeliveryControlFrequencyCap> o) { |
| 1514 unittest.expect(o, unittest.hasLength(2)); | 1514 unittest.expect(o, unittest.hasLength(2)); |
| 1515 checkDeliveryControlFrequencyCap(o[0]); | 1515 checkDeliveryControlFrequencyCap(o[0]); |
| 1516 checkDeliveryControlFrequencyCap(o[1]); | 1516 checkDeliveryControlFrequencyCap(o[1]); |
| 1517 } | 1517 } |
| 1518 | 1518 |
| 1519 core.int buildCounterDeliveryControl = 0; | 1519 core.int buildCounterDeliveryControl = 0; |
| 1520 buildDeliveryControl() { | 1520 buildDeliveryControl() { |
| 1521 var o = new api.DeliveryControl(); | 1521 var o = new api.DeliveryControl(); |
| 1522 buildCounterDeliveryControl++; | 1522 buildCounterDeliveryControl++; |
| 1523 if (buildCounterDeliveryControl < 3) { | 1523 if (buildCounterDeliveryControl < 3) { |
| 1524 o.creativeBlockingLevel = "foo"; | 1524 o.creativeBlockingLevel = "foo"; |
| 1525 o.deliveryRateType = "foo"; | 1525 o.deliveryRateType = "foo"; |
| 1526 o.frequencyCaps = buildUnnamed90(); | 1526 o.frequencyCaps = buildUnnamed2320(); |
| 1527 } | 1527 } |
| 1528 buildCounterDeliveryControl--; | 1528 buildCounterDeliveryControl--; |
| 1529 return o; | 1529 return o; |
| 1530 } | 1530 } |
| 1531 | 1531 |
| 1532 checkDeliveryControl(api.DeliveryControl o) { | 1532 checkDeliveryControl(api.DeliveryControl o) { |
| 1533 buildCounterDeliveryControl++; | 1533 buildCounterDeliveryControl++; |
| 1534 if (buildCounterDeliveryControl < 3) { | 1534 if (buildCounterDeliveryControl < 3) { |
| 1535 unittest.expect(o.creativeBlockingLevel, unittest.equals('foo')); | 1535 unittest.expect(o.creativeBlockingLevel, unittest.equals('foo')); |
| 1536 unittest.expect(o.deliveryRateType, unittest.equals('foo')); | 1536 unittest.expect(o.deliveryRateType, unittest.equals('foo')); |
| 1537 checkUnnamed90(o.frequencyCaps); | 1537 checkUnnamed2320(o.frequencyCaps); |
| 1538 } | 1538 } |
| 1539 buildCounterDeliveryControl--; | 1539 buildCounterDeliveryControl--; |
| 1540 } | 1540 } |
| 1541 | 1541 |
| 1542 core.int buildCounterDeliveryControlFrequencyCap = 0; | 1542 core.int buildCounterDeliveryControlFrequencyCap = 0; |
| 1543 buildDeliveryControlFrequencyCap() { | 1543 buildDeliveryControlFrequencyCap() { |
| 1544 var o = new api.DeliveryControlFrequencyCap(); | 1544 var o = new api.DeliveryControlFrequencyCap(); |
| 1545 buildCounterDeliveryControlFrequencyCap++; | 1545 buildCounterDeliveryControlFrequencyCap++; |
| 1546 if (buildCounterDeliveryControlFrequencyCap < 3) { | 1546 if (buildCounterDeliveryControlFrequencyCap < 3) { |
| 1547 o.maxImpressions = 42; | 1547 o.maxImpressions = 42; |
| 1548 o.numTimeUnits = 42; | 1548 o.numTimeUnits = 42; |
| 1549 o.timeUnitType = "foo"; | 1549 o.timeUnitType = "foo"; |
| 1550 } | 1550 } |
| 1551 buildCounterDeliveryControlFrequencyCap--; | 1551 buildCounterDeliveryControlFrequencyCap--; |
| 1552 return o; | 1552 return o; |
| 1553 } | 1553 } |
| 1554 | 1554 |
| 1555 checkDeliveryControlFrequencyCap(api.DeliveryControlFrequencyCap o) { | 1555 checkDeliveryControlFrequencyCap(api.DeliveryControlFrequencyCap o) { |
| 1556 buildCounterDeliveryControlFrequencyCap++; | 1556 buildCounterDeliveryControlFrequencyCap++; |
| 1557 if (buildCounterDeliveryControlFrequencyCap < 3) { | 1557 if (buildCounterDeliveryControlFrequencyCap < 3) { |
| 1558 unittest.expect(o.maxImpressions, unittest.equals(42)); | 1558 unittest.expect(o.maxImpressions, unittest.equals(42)); |
| 1559 unittest.expect(o.numTimeUnits, unittest.equals(42)); | 1559 unittest.expect(o.numTimeUnits, unittest.equals(42)); |
| 1560 unittest.expect(o.timeUnitType, unittest.equals('foo')); | 1560 unittest.expect(o.timeUnitType, unittest.equals('foo')); |
| 1561 } | 1561 } |
| 1562 buildCounterDeliveryControlFrequencyCap--; | 1562 buildCounterDeliveryControlFrequencyCap--; |
| 1563 } | 1563 } |
| 1564 | 1564 |
| 1565 buildUnnamed91() { | 1565 buildUnnamed2321() { |
| 1566 var o = new core.List<api.DimensionDimensionValue>(); | 1566 var o = new core.List<api.DimensionDimensionValue>(); |
| 1567 o.add(buildDimensionDimensionValue()); | 1567 o.add(buildDimensionDimensionValue()); |
| 1568 o.add(buildDimensionDimensionValue()); | 1568 o.add(buildDimensionDimensionValue()); |
| 1569 return o; | 1569 return o; |
| 1570 } | 1570 } |
| 1571 | 1571 |
| 1572 checkUnnamed91(core.List<api.DimensionDimensionValue> o) { | 1572 checkUnnamed2321(core.List<api.DimensionDimensionValue> o) { |
| 1573 unittest.expect(o, unittest.hasLength(2)); | 1573 unittest.expect(o, unittest.hasLength(2)); |
| 1574 checkDimensionDimensionValue(o[0]); | 1574 checkDimensionDimensionValue(o[0]); |
| 1575 checkDimensionDimensionValue(o[1]); | 1575 checkDimensionDimensionValue(o[1]); |
| 1576 } | 1576 } |
| 1577 | 1577 |
| 1578 core.int buildCounterDimension = 0; | 1578 core.int buildCounterDimension = 0; |
| 1579 buildDimension() { | 1579 buildDimension() { |
| 1580 var o = new api.Dimension(); | 1580 var o = new api.Dimension(); |
| 1581 buildCounterDimension++; | 1581 buildCounterDimension++; |
| 1582 if (buildCounterDimension < 3) { | 1582 if (buildCounterDimension < 3) { |
| 1583 o.dimensionType = "foo"; | 1583 o.dimensionType = "foo"; |
| 1584 o.dimensionValues = buildUnnamed91(); | 1584 o.dimensionValues = buildUnnamed2321(); |
| 1585 } | 1585 } |
| 1586 buildCounterDimension--; | 1586 buildCounterDimension--; |
| 1587 return o; | 1587 return o; |
| 1588 } | 1588 } |
| 1589 | 1589 |
| 1590 checkDimension(api.Dimension o) { | 1590 checkDimension(api.Dimension o) { |
| 1591 buildCounterDimension++; | 1591 buildCounterDimension++; |
| 1592 if (buildCounterDimension < 3) { | 1592 if (buildCounterDimension < 3) { |
| 1593 unittest.expect(o.dimensionType, unittest.equals('foo')); | 1593 unittest.expect(o.dimensionType, unittest.equals('foo')); |
| 1594 checkUnnamed91(o.dimensionValues); | 1594 checkUnnamed2321(o.dimensionValues); |
| 1595 } | 1595 } |
| 1596 buildCounterDimension--; | 1596 buildCounterDimension--; |
| 1597 } | 1597 } |
| 1598 | 1598 |
| 1599 core.int buildCounterDimensionDimensionValue = 0; | 1599 core.int buildCounterDimensionDimensionValue = 0; |
| 1600 buildDimensionDimensionValue() { | 1600 buildDimensionDimensionValue() { |
| 1601 var o = new api.DimensionDimensionValue(); | 1601 var o = new api.DimensionDimensionValue(); |
| 1602 buildCounterDimensionDimensionValue++; | 1602 buildCounterDimensionDimensionValue++; |
| 1603 if (buildCounterDimensionDimensionValue < 3) { | 1603 if (buildCounterDimensionDimensionValue < 3) { |
| 1604 o.id = 42; | 1604 o.id = 42; |
| 1605 o.name = "foo"; | 1605 o.name = "foo"; |
| 1606 o.percentage = 42; | 1606 o.percentage = 42; |
| 1607 } | 1607 } |
| 1608 buildCounterDimensionDimensionValue--; | 1608 buildCounterDimensionDimensionValue--; |
| 1609 return o; | 1609 return o; |
| 1610 } | 1610 } |
| 1611 | 1611 |
| 1612 checkDimensionDimensionValue(api.DimensionDimensionValue o) { | 1612 checkDimensionDimensionValue(api.DimensionDimensionValue o) { |
| 1613 buildCounterDimensionDimensionValue++; | 1613 buildCounterDimensionDimensionValue++; |
| 1614 if (buildCounterDimensionDimensionValue < 3) { | 1614 if (buildCounterDimensionDimensionValue < 3) { |
| 1615 unittest.expect(o.id, unittest.equals(42)); | 1615 unittest.expect(o.id, unittest.equals(42)); |
| 1616 unittest.expect(o.name, unittest.equals('foo')); | 1616 unittest.expect(o.name, unittest.equals('foo')); |
| 1617 unittest.expect(o.percentage, unittest.equals(42)); | 1617 unittest.expect(o.percentage, unittest.equals(42)); |
| 1618 } | 1618 } |
| 1619 buildCounterDimensionDimensionValue--; | 1619 buildCounterDimensionDimensionValue--; |
| 1620 } | 1620 } |
| 1621 | 1621 |
| 1622 buildUnnamed92() { | 1622 buildUnnamed2322() { |
| 1623 var o = new core.List<api.MarketplaceDeal>(); | 1623 var o = new core.List<api.MarketplaceDeal>(); |
| 1624 o.add(buildMarketplaceDeal()); | 1624 o.add(buildMarketplaceDeal()); |
| 1625 o.add(buildMarketplaceDeal()); | 1625 o.add(buildMarketplaceDeal()); |
| 1626 return o; | 1626 return o; |
| 1627 } | 1627 } |
| 1628 | 1628 |
| 1629 checkUnnamed92(core.List<api.MarketplaceDeal> o) { | 1629 checkUnnamed2322(core.List<api.MarketplaceDeal> o) { |
| 1630 unittest.expect(o, unittest.hasLength(2)); | 1630 unittest.expect(o, unittest.hasLength(2)); |
| 1631 checkMarketplaceDeal(o[0]); | 1631 checkMarketplaceDeal(o[0]); |
| 1632 checkMarketplaceDeal(o[1]); | 1632 checkMarketplaceDeal(o[1]); |
| 1633 } | 1633 } |
| 1634 | 1634 |
| 1635 core.int buildCounterEditAllOrderDealsRequest = 0; | 1635 core.int buildCounterEditAllOrderDealsRequest = 0; |
| 1636 buildEditAllOrderDealsRequest() { | 1636 buildEditAllOrderDealsRequest() { |
| 1637 var o = new api.EditAllOrderDealsRequest(); | 1637 var o = new api.EditAllOrderDealsRequest(); |
| 1638 buildCounterEditAllOrderDealsRequest++; | 1638 buildCounterEditAllOrderDealsRequest++; |
| 1639 if (buildCounterEditAllOrderDealsRequest < 3) { | 1639 if (buildCounterEditAllOrderDealsRequest < 3) { |
| 1640 o.deals = buildUnnamed92(); | 1640 o.deals = buildUnnamed2322(); |
| 1641 o.proposal = buildProposal(); | 1641 o.proposal = buildProposal(); |
| 1642 o.proposalRevisionNumber = "foo"; | 1642 o.proposalRevisionNumber = "foo"; |
| 1643 o.updateAction = "foo"; | 1643 o.updateAction = "foo"; |
| 1644 } | 1644 } |
| 1645 buildCounterEditAllOrderDealsRequest--; | 1645 buildCounterEditAllOrderDealsRequest--; |
| 1646 return o; | 1646 return o; |
| 1647 } | 1647 } |
| 1648 | 1648 |
| 1649 checkEditAllOrderDealsRequest(api.EditAllOrderDealsRequest o) { | 1649 checkEditAllOrderDealsRequest(api.EditAllOrderDealsRequest o) { |
| 1650 buildCounterEditAllOrderDealsRequest++; | 1650 buildCounterEditAllOrderDealsRequest++; |
| 1651 if (buildCounterEditAllOrderDealsRequest < 3) { | 1651 if (buildCounterEditAllOrderDealsRequest < 3) { |
| 1652 checkUnnamed92(o.deals); | 1652 checkUnnamed2322(o.deals); |
| 1653 checkProposal(o.proposal); | 1653 checkProposal(o.proposal); |
| 1654 unittest.expect(o.proposalRevisionNumber, unittest.equals('foo')); | 1654 unittest.expect(o.proposalRevisionNumber, unittest.equals('foo')); |
| 1655 unittest.expect(o.updateAction, unittest.equals('foo')); | 1655 unittest.expect(o.updateAction, unittest.equals('foo')); |
| 1656 } | 1656 } |
| 1657 buildCounterEditAllOrderDealsRequest--; | 1657 buildCounterEditAllOrderDealsRequest--; |
| 1658 } | 1658 } |
| 1659 | 1659 |
| 1660 buildUnnamed93() { | 1660 buildUnnamed2323() { |
| 1661 var o = new core.List<api.MarketplaceDeal>(); | 1661 var o = new core.List<api.MarketplaceDeal>(); |
| 1662 o.add(buildMarketplaceDeal()); | 1662 o.add(buildMarketplaceDeal()); |
| 1663 o.add(buildMarketplaceDeal()); | 1663 o.add(buildMarketplaceDeal()); |
| 1664 return o; | 1664 return o; |
| 1665 } | 1665 } |
| 1666 | 1666 |
| 1667 checkUnnamed93(core.List<api.MarketplaceDeal> o) { | 1667 checkUnnamed2323(core.List<api.MarketplaceDeal> o) { |
| 1668 unittest.expect(o, unittest.hasLength(2)); | 1668 unittest.expect(o, unittest.hasLength(2)); |
| 1669 checkMarketplaceDeal(o[0]); | 1669 checkMarketplaceDeal(o[0]); |
| 1670 checkMarketplaceDeal(o[1]); | 1670 checkMarketplaceDeal(o[1]); |
| 1671 } | 1671 } |
| 1672 | 1672 |
| 1673 core.int buildCounterEditAllOrderDealsResponse = 0; | 1673 core.int buildCounterEditAllOrderDealsResponse = 0; |
| 1674 buildEditAllOrderDealsResponse() { | 1674 buildEditAllOrderDealsResponse() { |
| 1675 var o = new api.EditAllOrderDealsResponse(); | 1675 var o = new api.EditAllOrderDealsResponse(); |
| 1676 buildCounterEditAllOrderDealsResponse++; | 1676 buildCounterEditAllOrderDealsResponse++; |
| 1677 if (buildCounterEditAllOrderDealsResponse < 3) { | 1677 if (buildCounterEditAllOrderDealsResponse < 3) { |
| 1678 o.deals = buildUnnamed93(); | 1678 o.deals = buildUnnamed2323(); |
| 1679 o.orderRevisionNumber = "foo"; | 1679 o.orderRevisionNumber = "foo"; |
| 1680 } | 1680 } |
| 1681 buildCounterEditAllOrderDealsResponse--; | 1681 buildCounterEditAllOrderDealsResponse--; |
| 1682 return o; | 1682 return o; |
| 1683 } | 1683 } |
| 1684 | 1684 |
| 1685 checkEditAllOrderDealsResponse(api.EditAllOrderDealsResponse o) { | 1685 checkEditAllOrderDealsResponse(api.EditAllOrderDealsResponse o) { |
| 1686 buildCounterEditAllOrderDealsResponse++; | 1686 buildCounterEditAllOrderDealsResponse++; |
| 1687 if (buildCounterEditAllOrderDealsResponse < 3) { | 1687 if (buildCounterEditAllOrderDealsResponse < 3) { |
| 1688 checkUnnamed93(o.deals); | 1688 checkUnnamed2323(o.deals); |
| 1689 unittest.expect(o.orderRevisionNumber, unittest.equals('foo')); | 1689 unittest.expect(o.orderRevisionNumber, unittest.equals('foo')); |
| 1690 } | 1690 } |
| 1691 buildCounterEditAllOrderDealsResponse--; | 1691 buildCounterEditAllOrderDealsResponse--; |
| 1692 } | 1692 } |
| 1693 | 1693 |
| 1694 buildUnnamed94() { | 1694 buildUnnamed2324() { |
| 1695 var o = new core.List<api.Product>(); | 1695 var o = new core.List<api.Product>(); |
| 1696 o.add(buildProduct()); | 1696 o.add(buildProduct()); |
| 1697 o.add(buildProduct()); | 1697 o.add(buildProduct()); |
| 1698 return o; | 1698 return o; |
| 1699 } | 1699 } |
| 1700 | 1700 |
| 1701 checkUnnamed94(core.List<api.Product> o) { | 1701 checkUnnamed2324(core.List<api.Product> o) { |
| 1702 unittest.expect(o, unittest.hasLength(2)); | 1702 unittest.expect(o, unittest.hasLength(2)); |
| 1703 checkProduct(o[0]); | 1703 checkProduct(o[0]); |
| 1704 checkProduct(o[1]); | 1704 checkProduct(o[1]); |
| 1705 } | 1705 } |
| 1706 | 1706 |
| 1707 core.int buildCounterGetOffersResponse = 0; | 1707 core.int buildCounterGetOffersResponse = 0; |
| 1708 buildGetOffersResponse() { | 1708 buildGetOffersResponse() { |
| 1709 var o = new api.GetOffersResponse(); | 1709 var o = new api.GetOffersResponse(); |
| 1710 buildCounterGetOffersResponse++; | 1710 buildCounterGetOffersResponse++; |
| 1711 if (buildCounterGetOffersResponse < 3) { | 1711 if (buildCounterGetOffersResponse < 3) { |
| 1712 o.products = buildUnnamed94(); | 1712 o.products = buildUnnamed2324(); |
| 1713 } | 1713 } |
| 1714 buildCounterGetOffersResponse--; | 1714 buildCounterGetOffersResponse--; |
| 1715 return o; | 1715 return o; |
| 1716 } | 1716 } |
| 1717 | 1717 |
| 1718 checkGetOffersResponse(api.GetOffersResponse o) { | 1718 checkGetOffersResponse(api.GetOffersResponse o) { |
| 1719 buildCounterGetOffersResponse++; | 1719 buildCounterGetOffersResponse++; |
| 1720 if (buildCounterGetOffersResponse < 3) { | 1720 if (buildCounterGetOffersResponse < 3) { |
| 1721 checkUnnamed94(o.products); | 1721 checkUnnamed2324(o.products); |
| 1722 } | 1722 } |
| 1723 buildCounterGetOffersResponse--; | 1723 buildCounterGetOffersResponse--; |
| 1724 } | 1724 } |
| 1725 | 1725 |
| 1726 buildUnnamed95() { | 1726 buildUnnamed2325() { |
| 1727 var o = new core.List<api.MarketplaceDeal>(); | 1727 var o = new core.List<api.MarketplaceDeal>(); |
| 1728 o.add(buildMarketplaceDeal()); | 1728 o.add(buildMarketplaceDeal()); |
| 1729 o.add(buildMarketplaceDeal()); | 1729 o.add(buildMarketplaceDeal()); |
| 1730 return o; | 1730 return o; |
| 1731 } | 1731 } |
| 1732 | 1732 |
| 1733 checkUnnamed95(core.List<api.MarketplaceDeal> o) { | 1733 checkUnnamed2325(core.List<api.MarketplaceDeal> o) { |
| 1734 unittest.expect(o, unittest.hasLength(2)); | 1734 unittest.expect(o, unittest.hasLength(2)); |
| 1735 checkMarketplaceDeal(o[0]); | 1735 checkMarketplaceDeal(o[0]); |
| 1736 checkMarketplaceDeal(o[1]); | 1736 checkMarketplaceDeal(o[1]); |
| 1737 } | 1737 } |
| 1738 | 1738 |
| 1739 core.int buildCounterGetOrderDealsResponse = 0; | 1739 core.int buildCounterGetOrderDealsResponse = 0; |
| 1740 buildGetOrderDealsResponse() { | 1740 buildGetOrderDealsResponse() { |
| 1741 var o = new api.GetOrderDealsResponse(); | 1741 var o = new api.GetOrderDealsResponse(); |
| 1742 buildCounterGetOrderDealsResponse++; | 1742 buildCounterGetOrderDealsResponse++; |
| 1743 if (buildCounterGetOrderDealsResponse < 3) { | 1743 if (buildCounterGetOrderDealsResponse < 3) { |
| 1744 o.deals = buildUnnamed95(); | 1744 o.deals = buildUnnamed2325(); |
| 1745 } | 1745 } |
| 1746 buildCounterGetOrderDealsResponse--; | 1746 buildCounterGetOrderDealsResponse--; |
| 1747 return o; | 1747 return o; |
| 1748 } | 1748 } |
| 1749 | 1749 |
| 1750 checkGetOrderDealsResponse(api.GetOrderDealsResponse o) { | 1750 checkGetOrderDealsResponse(api.GetOrderDealsResponse o) { |
| 1751 buildCounterGetOrderDealsResponse++; | 1751 buildCounterGetOrderDealsResponse++; |
| 1752 if (buildCounterGetOrderDealsResponse < 3) { | 1752 if (buildCounterGetOrderDealsResponse < 3) { |
| 1753 checkUnnamed95(o.deals); | 1753 checkUnnamed2325(o.deals); |
| 1754 } | 1754 } |
| 1755 buildCounterGetOrderDealsResponse--; | 1755 buildCounterGetOrderDealsResponse--; |
| 1756 } | 1756 } |
| 1757 | 1757 |
| 1758 buildUnnamed96() { | 1758 buildUnnamed2326() { |
| 1759 var o = new core.List<api.MarketplaceNote>(); | 1759 var o = new core.List<api.MarketplaceNote>(); |
| 1760 o.add(buildMarketplaceNote()); | 1760 o.add(buildMarketplaceNote()); |
| 1761 o.add(buildMarketplaceNote()); | 1761 o.add(buildMarketplaceNote()); |
| 1762 return o; | 1762 return o; |
| 1763 } | 1763 } |
| 1764 | 1764 |
| 1765 checkUnnamed96(core.List<api.MarketplaceNote> o) { | 1765 checkUnnamed2326(core.List<api.MarketplaceNote> o) { |
| 1766 unittest.expect(o, unittest.hasLength(2)); | 1766 unittest.expect(o, unittest.hasLength(2)); |
| 1767 checkMarketplaceNote(o[0]); | 1767 checkMarketplaceNote(o[0]); |
| 1768 checkMarketplaceNote(o[1]); | 1768 checkMarketplaceNote(o[1]); |
| 1769 } | 1769 } |
| 1770 | 1770 |
| 1771 core.int buildCounterGetOrderNotesResponse = 0; | 1771 core.int buildCounterGetOrderNotesResponse = 0; |
| 1772 buildGetOrderNotesResponse() { | 1772 buildGetOrderNotesResponse() { |
| 1773 var o = new api.GetOrderNotesResponse(); | 1773 var o = new api.GetOrderNotesResponse(); |
| 1774 buildCounterGetOrderNotesResponse++; | 1774 buildCounterGetOrderNotesResponse++; |
| 1775 if (buildCounterGetOrderNotesResponse < 3) { | 1775 if (buildCounterGetOrderNotesResponse < 3) { |
| 1776 o.notes = buildUnnamed96(); | 1776 o.notes = buildUnnamed2326(); |
| 1777 } | 1777 } |
| 1778 buildCounterGetOrderNotesResponse--; | 1778 buildCounterGetOrderNotesResponse--; |
| 1779 return o; | 1779 return o; |
| 1780 } | 1780 } |
| 1781 | 1781 |
| 1782 checkGetOrderNotesResponse(api.GetOrderNotesResponse o) { | 1782 checkGetOrderNotesResponse(api.GetOrderNotesResponse o) { |
| 1783 buildCounterGetOrderNotesResponse++; | 1783 buildCounterGetOrderNotesResponse++; |
| 1784 if (buildCounterGetOrderNotesResponse < 3) { | 1784 if (buildCounterGetOrderNotesResponse < 3) { |
| 1785 checkUnnamed96(o.notes); | 1785 checkUnnamed2326(o.notes); |
| 1786 } | 1786 } |
| 1787 buildCounterGetOrderNotesResponse--; | 1787 buildCounterGetOrderNotesResponse--; |
| 1788 } | 1788 } |
| 1789 | 1789 |
| 1790 buildUnnamed97() { | 1790 buildUnnamed2327() { |
| 1791 var o = new core.List<api.Proposal>(); | 1791 var o = new core.List<api.Proposal>(); |
| 1792 o.add(buildProposal()); | 1792 o.add(buildProposal()); |
| 1793 o.add(buildProposal()); | 1793 o.add(buildProposal()); |
| 1794 return o; | 1794 return o; |
| 1795 } | 1795 } |
| 1796 | 1796 |
| 1797 checkUnnamed97(core.List<api.Proposal> o) { | 1797 checkUnnamed2327(core.List<api.Proposal> o) { |
| 1798 unittest.expect(o, unittest.hasLength(2)); | 1798 unittest.expect(o, unittest.hasLength(2)); |
| 1799 checkProposal(o[0]); | 1799 checkProposal(o[0]); |
| 1800 checkProposal(o[1]); | 1800 checkProposal(o[1]); |
| 1801 } | 1801 } |
| 1802 | 1802 |
| 1803 core.int buildCounterGetOrdersResponse = 0; | 1803 core.int buildCounterGetOrdersResponse = 0; |
| 1804 buildGetOrdersResponse() { | 1804 buildGetOrdersResponse() { |
| 1805 var o = new api.GetOrdersResponse(); | 1805 var o = new api.GetOrdersResponse(); |
| 1806 buildCounterGetOrdersResponse++; | 1806 buildCounterGetOrdersResponse++; |
| 1807 if (buildCounterGetOrdersResponse < 3) { | 1807 if (buildCounterGetOrdersResponse < 3) { |
| 1808 o.proposals = buildUnnamed97(); | 1808 o.proposals = buildUnnamed2327(); |
| 1809 } | 1809 } |
| 1810 buildCounterGetOrdersResponse--; | 1810 buildCounterGetOrdersResponse--; |
| 1811 return o; | 1811 return o; |
| 1812 } | 1812 } |
| 1813 | 1813 |
| 1814 checkGetOrdersResponse(api.GetOrdersResponse o) { | 1814 checkGetOrdersResponse(api.GetOrdersResponse o) { |
| 1815 buildCounterGetOrdersResponse++; | 1815 buildCounterGetOrdersResponse++; |
| 1816 if (buildCounterGetOrdersResponse < 3) { | 1816 if (buildCounterGetOrdersResponse < 3) { |
| 1817 checkUnnamed97(o.proposals); | 1817 checkUnnamed2327(o.proposals); |
| 1818 } | 1818 } |
| 1819 buildCounterGetOrdersResponse--; | 1819 buildCounterGetOrdersResponse--; |
| 1820 } | 1820 } |
| 1821 | 1821 |
| 1822 buildUnnamed98() { | 1822 buildUnnamed2328() { |
| 1823 var o = new core.List<api.PublisherProfileApiProto>(); | 1823 var o = new core.List<api.PublisherProfileApiProto>(); |
| 1824 o.add(buildPublisherProfileApiProto()); | 1824 o.add(buildPublisherProfileApiProto()); |
| 1825 o.add(buildPublisherProfileApiProto()); | 1825 o.add(buildPublisherProfileApiProto()); |
| 1826 return o; | 1826 return o; |
| 1827 } | 1827 } |
| 1828 | 1828 |
| 1829 checkUnnamed98(core.List<api.PublisherProfileApiProto> o) { | 1829 checkUnnamed2328(core.List<api.PublisherProfileApiProto> o) { |
| 1830 unittest.expect(o, unittest.hasLength(2)); | 1830 unittest.expect(o, unittest.hasLength(2)); |
| 1831 checkPublisherProfileApiProto(o[0]); | 1831 checkPublisherProfileApiProto(o[0]); |
| 1832 checkPublisherProfileApiProto(o[1]); | 1832 checkPublisherProfileApiProto(o[1]); |
| 1833 } | 1833 } |
| 1834 | 1834 |
| 1835 core.int buildCounterGetPublisherProfilesByAccountIdResponse = 0; | 1835 core.int buildCounterGetPublisherProfilesByAccountIdResponse = 0; |
| 1836 buildGetPublisherProfilesByAccountIdResponse() { | 1836 buildGetPublisherProfilesByAccountIdResponse() { |
| 1837 var o = new api.GetPublisherProfilesByAccountIdResponse(); | 1837 var o = new api.GetPublisherProfilesByAccountIdResponse(); |
| 1838 buildCounterGetPublisherProfilesByAccountIdResponse++; | 1838 buildCounterGetPublisherProfilesByAccountIdResponse++; |
| 1839 if (buildCounterGetPublisherProfilesByAccountIdResponse < 3) { | 1839 if (buildCounterGetPublisherProfilesByAccountIdResponse < 3) { |
| 1840 o.profiles = buildUnnamed98(); | 1840 o.profiles = buildUnnamed2328(); |
| 1841 } | 1841 } |
| 1842 buildCounterGetPublisherProfilesByAccountIdResponse--; | 1842 buildCounterGetPublisherProfilesByAccountIdResponse--; |
| 1843 return o; | 1843 return o; |
| 1844 } | 1844 } |
| 1845 | 1845 |
| 1846 checkGetPublisherProfilesByAccountIdResponse(api.GetPublisherProfilesByAccountId
Response o) { | 1846 checkGetPublisherProfilesByAccountIdResponse(api.GetPublisherProfilesByAccountId
Response o) { |
| 1847 buildCounterGetPublisherProfilesByAccountIdResponse++; | 1847 buildCounterGetPublisherProfilesByAccountIdResponse++; |
| 1848 if (buildCounterGetPublisherProfilesByAccountIdResponse < 3) { | 1848 if (buildCounterGetPublisherProfilesByAccountIdResponse < 3) { |
| 1849 checkUnnamed98(o.profiles); | 1849 checkUnnamed2328(o.profiles); |
| 1850 } | 1850 } |
| 1851 buildCounterGetPublisherProfilesByAccountIdResponse--; | 1851 buildCounterGetPublisherProfilesByAccountIdResponse--; |
| 1852 } | 1852 } |
| 1853 | 1853 |
| 1854 buildUnnamed99() { | 1854 buildUnnamed2329() { |
| 1855 var o = new core.List<api.ContactInformation>(); | 1855 var o = new core.List<api.ContactInformation>(); |
| 1856 o.add(buildContactInformation()); | 1856 o.add(buildContactInformation()); |
| 1857 o.add(buildContactInformation()); | 1857 o.add(buildContactInformation()); |
| 1858 return o; | 1858 return o; |
| 1859 } | 1859 } |
| 1860 | 1860 |
| 1861 checkUnnamed99(core.List<api.ContactInformation> o) { | 1861 checkUnnamed2329(core.List<api.ContactInformation> o) { |
| 1862 unittest.expect(o, unittest.hasLength(2)); | 1862 unittest.expect(o, unittest.hasLength(2)); |
| 1863 checkContactInformation(o[0]); | 1863 checkContactInformation(o[0]); |
| 1864 checkContactInformation(o[1]); | 1864 checkContactInformation(o[1]); |
| 1865 } | 1865 } |
| 1866 | 1866 |
| 1867 buildUnnamed100() { | 1867 buildUnnamed2330() { |
| 1868 var o = new core.List<api.SharedTargeting>(); | 1868 var o = new core.List<api.SharedTargeting>(); |
| 1869 o.add(buildSharedTargeting()); | 1869 o.add(buildSharedTargeting()); |
| 1870 o.add(buildSharedTargeting()); | 1870 o.add(buildSharedTargeting()); |
| 1871 return o; | 1871 return o; |
| 1872 } | 1872 } |
| 1873 | 1873 |
| 1874 checkUnnamed100(core.List<api.SharedTargeting> o) { | 1874 checkUnnamed2330(core.List<api.SharedTargeting> o) { |
| 1875 unittest.expect(o, unittest.hasLength(2)); | 1875 unittest.expect(o, unittest.hasLength(2)); |
| 1876 checkSharedTargeting(o[0]); | 1876 checkSharedTargeting(o[0]); |
| 1877 checkSharedTargeting(o[1]); | 1877 checkSharedTargeting(o[1]); |
| 1878 } | 1878 } |
| 1879 | 1879 |
| 1880 core.int buildCounterMarketplaceDeal = 0; | 1880 core.int buildCounterMarketplaceDeal = 0; |
| 1881 buildMarketplaceDeal() { | 1881 buildMarketplaceDeal() { |
| 1882 var o = new api.MarketplaceDeal(); | 1882 var o = new api.MarketplaceDeal(); |
| 1883 buildCounterMarketplaceDeal++; | 1883 buildCounterMarketplaceDeal++; |
| 1884 if (buildCounterMarketplaceDeal < 3) { | 1884 if (buildCounterMarketplaceDeal < 3) { |
| 1885 o.buyerPrivateData = buildPrivateData(); | 1885 o.buyerPrivateData = buildPrivateData(); |
| 1886 o.creationTimeMs = "foo"; | 1886 o.creationTimeMs = "foo"; |
| 1887 o.creativePreApprovalPolicy = "foo"; | 1887 o.creativePreApprovalPolicy = "foo"; |
| 1888 o.creativeSafeFrameCompatibility = "foo"; | 1888 o.creativeSafeFrameCompatibility = "foo"; |
| 1889 o.dealId = "foo"; | 1889 o.dealId = "foo"; |
| 1890 o.dealServingMetadata = buildDealServingMetadata(); | 1890 o.dealServingMetadata = buildDealServingMetadata(); |
| 1891 o.deliveryControl = buildDeliveryControl(); | 1891 o.deliveryControl = buildDeliveryControl(); |
| 1892 o.externalDealId = "foo"; | 1892 o.externalDealId = "foo"; |
| 1893 o.flightEndTimeMs = "foo"; | 1893 o.flightEndTimeMs = "foo"; |
| 1894 o.flightStartTimeMs = "foo"; | 1894 o.flightStartTimeMs = "foo"; |
| 1895 o.inventoryDescription = "foo"; | 1895 o.inventoryDescription = "foo"; |
| 1896 o.kind = "foo"; | 1896 o.kind = "foo"; |
| 1897 o.lastUpdateTimeMs = "foo"; | 1897 o.lastUpdateTimeMs = "foo"; |
| 1898 o.name = "foo"; | 1898 o.name = "foo"; |
| 1899 o.productId = "foo"; | 1899 o.productId = "foo"; |
| 1900 o.productRevisionNumber = "foo"; | 1900 o.productRevisionNumber = "foo"; |
| 1901 o.programmaticCreativeSource = "foo"; | 1901 o.programmaticCreativeSource = "foo"; |
| 1902 o.proposalId = "foo"; | 1902 o.proposalId = "foo"; |
| 1903 o.sellerContacts = buildUnnamed99(); | 1903 o.sellerContacts = buildUnnamed2329(); |
| 1904 o.sharedTargetings = buildUnnamed100(); | 1904 o.sharedTargetings = buildUnnamed2330(); |
| 1905 o.syndicationProduct = "foo"; | 1905 o.syndicationProduct = "foo"; |
| 1906 o.terms = buildDealTerms(); | 1906 o.terms = buildDealTerms(); |
| 1907 o.webPropertyCode = "foo"; | 1907 o.webPropertyCode = "foo"; |
| 1908 } | 1908 } |
| 1909 buildCounterMarketplaceDeal--; | 1909 buildCounterMarketplaceDeal--; |
| 1910 return o; | 1910 return o; |
| 1911 } | 1911 } |
| 1912 | 1912 |
| 1913 checkMarketplaceDeal(api.MarketplaceDeal o) { | 1913 checkMarketplaceDeal(api.MarketplaceDeal o) { |
| 1914 buildCounterMarketplaceDeal++; | 1914 buildCounterMarketplaceDeal++; |
| 1915 if (buildCounterMarketplaceDeal < 3) { | 1915 if (buildCounterMarketplaceDeal < 3) { |
| 1916 checkPrivateData(o.buyerPrivateData); | 1916 checkPrivateData(o.buyerPrivateData); |
| 1917 unittest.expect(o.creationTimeMs, unittest.equals('foo')); | 1917 unittest.expect(o.creationTimeMs, unittest.equals('foo')); |
| 1918 unittest.expect(o.creativePreApprovalPolicy, unittest.equals('foo')); | 1918 unittest.expect(o.creativePreApprovalPolicy, unittest.equals('foo')); |
| 1919 unittest.expect(o.creativeSafeFrameCompatibility, unittest.equals('foo')); | 1919 unittest.expect(o.creativeSafeFrameCompatibility, unittest.equals('foo')); |
| 1920 unittest.expect(o.dealId, unittest.equals('foo')); | 1920 unittest.expect(o.dealId, unittest.equals('foo')); |
| 1921 checkDealServingMetadata(o.dealServingMetadata); | 1921 checkDealServingMetadata(o.dealServingMetadata); |
| 1922 checkDeliveryControl(o.deliveryControl); | 1922 checkDeliveryControl(o.deliveryControl); |
| 1923 unittest.expect(o.externalDealId, unittest.equals('foo')); | 1923 unittest.expect(o.externalDealId, unittest.equals('foo')); |
| 1924 unittest.expect(o.flightEndTimeMs, unittest.equals('foo')); | 1924 unittest.expect(o.flightEndTimeMs, unittest.equals('foo')); |
| 1925 unittest.expect(o.flightStartTimeMs, unittest.equals('foo')); | 1925 unittest.expect(o.flightStartTimeMs, unittest.equals('foo')); |
| 1926 unittest.expect(o.inventoryDescription, unittest.equals('foo')); | 1926 unittest.expect(o.inventoryDescription, unittest.equals('foo')); |
| 1927 unittest.expect(o.kind, unittest.equals('foo')); | 1927 unittest.expect(o.kind, unittest.equals('foo')); |
| 1928 unittest.expect(o.lastUpdateTimeMs, unittest.equals('foo')); | 1928 unittest.expect(o.lastUpdateTimeMs, unittest.equals('foo')); |
| 1929 unittest.expect(o.name, unittest.equals('foo')); | 1929 unittest.expect(o.name, unittest.equals('foo')); |
| 1930 unittest.expect(o.productId, unittest.equals('foo')); | 1930 unittest.expect(o.productId, unittest.equals('foo')); |
| 1931 unittest.expect(o.productRevisionNumber, unittest.equals('foo')); | 1931 unittest.expect(o.productRevisionNumber, unittest.equals('foo')); |
| 1932 unittest.expect(o.programmaticCreativeSource, unittest.equals('foo')); | 1932 unittest.expect(o.programmaticCreativeSource, unittest.equals('foo')); |
| 1933 unittest.expect(o.proposalId, unittest.equals('foo')); | 1933 unittest.expect(o.proposalId, unittest.equals('foo')); |
| 1934 checkUnnamed99(o.sellerContacts); | 1934 checkUnnamed2329(o.sellerContacts); |
| 1935 checkUnnamed100(o.sharedTargetings); | 1935 checkUnnamed2330(o.sharedTargetings); |
| 1936 unittest.expect(o.syndicationProduct, unittest.equals('foo')); | 1936 unittest.expect(o.syndicationProduct, unittest.equals('foo')); |
| 1937 checkDealTerms(o.terms); | 1937 checkDealTerms(o.terms); |
| 1938 unittest.expect(o.webPropertyCode, unittest.equals('foo')); | 1938 unittest.expect(o.webPropertyCode, unittest.equals('foo')); |
| 1939 } | 1939 } |
| 1940 buildCounterMarketplaceDeal--; | 1940 buildCounterMarketplaceDeal--; |
| 1941 } | 1941 } |
| 1942 | 1942 |
| 1943 core.int buildCounterMarketplaceDealParty = 0; | 1943 core.int buildCounterMarketplaceDealParty = 0; |
| 1944 buildMarketplaceDealParty() { | 1944 buildMarketplaceDealParty() { |
| 1945 var o = new api.MarketplaceDealParty(); | 1945 var o = new api.MarketplaceDealParty(); |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2012 unittest.expect(o.kind, unittest.equals('foo')); | 2012 unittest.expect(o.kind, unittest.equals('foo')); |
| 2013 unittest.expect(o.note, unittest.equals('foo')); | 2013 unittest.expect(o.note, unittest.equals('foo')); |
| 2014 unittest.expect(o.noteId, unittest.equals('foo')); | 2014 unittest.expect(o.noteId, unittest.equals('foo')); |
| 2015 unittest.expect(o.proposalId, unittest.equals('foo')); | 2015 unittest.expect(o.proposalId, unittest.equals('foo')); |
| 2016 unittest.expect(o.proposalRevisionNumber, unittest.equals('foo')); | 2016 unittest.expect(o.proposalRevisionNumber, unittest.equals('foo')); |
| 2017 unittest.expect(o.timestampMs, unittest.equals('foo')); | 2017 unittest.expect(o.timestampMs, unittest.equals('foo')); |
| 2018 } | 2018 } |
| 2019 buildCounterMarketplaceNote--; | 2019 buildCounterMarketplaceNote--; |
| 2020 } | 2020 } |
| 2021 | 2021 |
| 2022 buildUnnamed101() { | 2022 buildUnnamed2331() { |
| 2023 var o = new core.List<core.Object>(); | 2023 var o = new core.List<core.Object>(); |
| 2024 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); | 2024 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); |
| 2025 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); | 2025 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); |
| 2026 return o; | 2026 return o; |
| 2027 } | 2027 } |
| 2028 | 2028 |
| 2029 checkUnnamed101(core.List<core.Object> o) { | 2029 checkUnnamed2331(core.List<core.Object> o) { |
| 2030 unittest.expect(o, unittest.hasLength(2)); | 2030 unittest.expect(o, unittest.hasLength(2)); |
| 2031 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')); | 2031 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')); |
| 2032 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')); | 2032 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')); |
| 2033 } | 2033 } |
| 2034 | 2034 |
| 2035 buildUnnamed102() { | 2035 buildUnnamed2332() { |
| 2036 var o = new core.List<core.Object>(); | 2036 var o = new core.List<core.Object>(); |
| 2037 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); | 2037 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); |
| 2038 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); | 2038 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); |
| 2039 return o; | 2039 return o; |
| 2040 } | 2040 } |
| 2041 | 2041 |
| 2042 checkUnnamed102(core.List<core.Object> o) { | 2042 checkUnnamed2332(core.List<core.Object> o) { |
| 2043 unittest.expect(o, unittest.hasLength(2)); | 2043 unittest.expect(o, unittest.hasLength(2)); |
| 2044 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')); | 2044 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')); |
| 2045 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')); | 2045 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')); |
| 2046 } | 2046 } |
| 2047 | 2047 |
| 2048 buildUnnamed103() { | 2048 buildUnnamed2333() { |
| 2049 var o = new core.List<core.Object>(); | 2049 var o = new core.List<core.Object>(); |
| 2050 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); | 2050 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); |
| 2051 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); | 2051 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); |
| 2052 return o; | 2052 return o; |
| 2053 } | 2053 } |
| 2054 | 2054 |
| 2055 checkUnnamed103(core.List<core.Object> o) { | 2055 checkUnnamed2333(core.List<core.Object> o) { |
| 2056 unittest.expect(o, unittest.hasLength(2)); | 2056 unittest.expect(o, unittest.hasLength(2)); |
| 2057 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')); | 2057 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')); |
| 2058 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')); | 2058 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')); |
| 2059 } | 2059 } |
| 2060 | 2060 |
| 2061 buildUnnamed104() { | 2061 buildUnnamed2334() { |
| 2062 var o = new core.List<core.Object>(); | 2062 var o = new core.List<core.Object>(); |
| 2063 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); | 2063 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); |
| 2064 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); | 2064 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); |
| 2065 return o; | 2065 return o; |
| 2066 } | 2066 } |
| 2067 | 2067 |
| 2068 checkUnnamed104(core.List<core.Object> o) { | 2068 checkUnnamed2334(core.List<core.Object> o) { |
| 2069 unittest.expect(o, unittest.hasLength(2)); | 2069 unittest.expect(o, unittest.hasLength(2)); |
| 2070 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')); | 2070 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')); |
| 2071 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')); | 2071 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')); |
| 2072 } | 2072 } |
| 2073 | 2073 |
| 2074 core.int buildCounterPerformanceReport = 0; | 2074 core.int buildCounterPerformanceReport = 0; |
| 2075 buildPerformanceReport() { | 2075 buildPerformanceReport() { |
| 2076 var o = new api.PerformanceReport(); | 2076 var o = new api.PerformanceReport(); |
| 2077 buildCounterPerformanceReport++; | 2077 buildCounterPerformanceReport++; |
| 2078 if (buildCounterPerformanceReport < 3) { | 2078 if (buildCounterPerformanceReport < 3) { |
| 2079 o.bidRate = 42.0; | 2079 o.bidRate = 42.0; |
| 2080 o.bidRequestRate = 42.0; | 2080 o.bidRequestRate = 42.0; |
| 2081 o.calloutStatusRate = buildUnnamed101(); | 2081 o.calloutStatusRate = buildUnnamed2331(); |
| 2082 o.cookieMatcherStatusRate = buildUnnamed102(); | 2082 o.cookieMatcherStatusRate = buildUnnamed2332(); |
| 2083 o.creativeStatusRate = buildUnnamed103(); | 2083 o.creativeStatusRate = buildUnnamed2333(); |
| 2084 o.filteredBidRate = 42.0; | 2084 o.filteredBidRate = 42.0; |
| 2085 o.hostedMatchStatusRate = buildUnnamed104(); | 2085 o.hostedMatchStatusRate = buildUnnamed2334(); |
| 2086 o.inventoryMatchRate = 42.0; | 2086 o.inventoryMatchRate = 42.0; |
| 2087 o.kind = "foo"; | 2087 o.kind = "foo"; |
| 2088 o.latency50thPercentile = 42.0; | 2088 o.latency50thPercentile = 42.0; |
| 2089 o.latency85thPercentile = 42.0; | 2089 o.latency85thPercentile = 42.0; |
| 2090 o.latency95thPercentile = 42.0; | 2090 o.latency95thPercentile = 42.0; |
| 2091 o.noQuotaInRegion = 42.0; | 2091 o.noQuotaInRegion = 42.0; |
| 2092 o.outOfQuota = 42.0; | 2092 o.outOfQuota = 42.0; |
| 2093 o.pixelMatchRequests = 42.0; | 2093 o.pixelMatchRequests = 42.0; |
| 2094 o.pixelMatchResponses = 42.0; | 2094 o.pixelMatchResponses = 42.0; |
| 2095 o.quotaConfiguredLimit = 42.0; | 2095 o.quotaConfiguredLimit = 42.0; |
| 2096 o.quotaThrottledLimit = 42.0; | 2096 o.quotaThrottledLimit = 42.0; |
| 2097 o.region = "foo"; | 2097 o.region = "foo"; |
| 2098 o.successfulRequestRate = 42.0; | 2098 o.successfulRequestRate = 42.0; |
| 2099 o.timestamp = "foo"; | 2099 o.timestamp = "foo"; |
| 2100 o.unsuccessfulRequestRate = 42.0; | 2100 o.unsuccessfulRequestRate = 42.0; |
| 2101 } | 2101 } |
| 2102 buildCounterPerformanceReport--; | 2102 buildCounterPerformanceReport--; |
| 2103 return o; | 2103 return o; |
| 2104 } | 2104 } |
| 2105 | 2105 |
| 2106 checkPerformanceReport(api.PerformanceReport o) { | 2106 checkPerformanceReport(api.PerformanceReport o) { |
| 2107 buildCounterPerformanceReport++; | 2107 buildCounterPerformanceReport++; |
| 2108 if (buildCounterPerformanceReport < 3) { | 2108 if (buildCounterPerformanceReport < 3) { |
| 2109 unittest.expect(o.bidRate, unittest.equals(42.0)); | 2109 unittest.expect(o.bidRate, unittest.equals(42.0)); |
| 2110 unittest.expect(o.bidRequestRate, unittest.equals(42.0)); | 2110 unittest.expect(o.bidRequestRate, unittest.equals(42.0)); |
| 2111 checkUnnamed101(o.calloutStatusRate); | 2111 checkUnnamed2331(o.calloutStatusRate); |
| 2112 checkUnnamed102(o.cookieMatcherStatusRate); | 2112 checkUnnamed2332(o.cookieMatcherStatusRate); |
| 2113 checkUnnamed103(o.creativeStatusRate); | 2113 checkUnnamed2333(o.creativeStatusRate); |
| 2114 unittest.expect(o.filteredBidRate, unittest.equals(42.0)); | 2114 unittest.expect(o.filteredBidRate, unittest.equals(42.0)); |
| 2115 checkUnnamed104(o.hostedMatchStatusRate); | 2115 checkUnnamed2334(o.hostedMatchStatusRate); |
| 2116 unittest.expect(o.inventoryMatchRate, unittest.equals(42.0)); | 2116 unittest.expect(o.inventoryMatchRate, unittest.equals(42.0)); |
| 2117 unittest.expect(o.kind, unittest.equals('foo')); | 2117 unittest.expect(o.kind, unittest.equals('foo')); |
| 2118 unittest.expect(o.latency50thPercentile, unittest.equals(42.0)); | 2118 unittest.expect(o.latency50thPercentile, unittest.equals(42.0)); |
| 2119 unittest.expect(o.latency85thPercentile, unittest.equals(42.0)); | 2119 unittest.expect(o.latency85thPercentile, unittest.equals(42.0)); |
| 2120 unittest.expect(o.latency95thPercentile, unittest.equals(42.0)); | 2120 unittest.expect(o.latency95thPercentile, unittest.equals(42.0)); |
| 2121 unittest.expect(o.noQuotaInRegion, unittest.equals(42.0)); | 2121 unittest.expect(o.noQuotaInRegion, unittest.equals(42.0)); |
| 2122 unittest.expect(o.outOfQuota, unittest.equals(42.0)); | 2122 unittest.expect(o.outOfQuota, unittest.equals(42.0)); |
| 2123 unittest.expect(o.pixelMatchRequests, unittest.equals(42.0)); | 2123 unittest.expect(o.pixelMatchRequests, unittest.equals(42.0)); |
| 2124 unittest.expect(o.pixelMatchResponses, unittest.equals(42.0)); | 2124 unittest.expect(o.pixelMatchResponses, unittest.equals(42.0)); |
| 2125 unittest.expect(o.quotaConfiguredLimit, unittest.equals(42.0)); | 2125 unittest.expect(o.quotaConfiguredLimit, unittest.equals(42.0)); |
| 2126 unittest.expect(o.quotaThrottledLimit, unittest.equals(42.0)); | 2126 unittest.expect(o.quotaThrottledLimit, unittest.equals(42.0)); |
| 2127 unittest.expect(o.region, unittest.equals('foo')); | 2127 unittest.expect(o.region, unittest.equals('foo')); |
| 2128 unittest.expect(o.successfulRequestRate, unittest.equals(42.0)); | 2128 unittest.expect(o.successfulRequestRate, unittest.equals(42.0)); |
| 2129 unittest.expect(o.timestamp, unittest.equals('foo')); | 2129 unittest.expect(o.timestamp, unittest.equals('foo')); |
| 2130 unittest.expect(o.unsuccessfulRequestRate, unittest.equals(42.0)); | 2130 unittest.expect(o.unsuccessfulRequestRate, unittest.equals(42.0)); |
| 2131 } | 2131 } |
| 2132 buildCounterPerformanceReport--; | 2132 buildCounterPerformanceReport--; |
| 2133 } | 2133 } |
| 2134 | 2134 |
| 2135 buildUnnamed105() { | 2135 buildUnnamed2335() { |
| 2136 var o = new core.List<api.PerformanceReport>(); | 2136 var o = new core.List<api.PerformanceReport>(); |
| 2137 o.add(buildPerformanceReport()); | 2137 o.add(buildPerformanceReport()); |
| 2138 o.add(buildPerformanceReport()); | 2138 o.add(buildPerformanceReport()); |
| 2139 return o; | 2139 return o; |
| 2140 } | 2140 } |
| 2141 | 2141 |
| 2142 checkUnnamed105(core.List<api.PerformanceReport> o) { | 2142 checkUnnamed2335(core.List<api.PerformanceReport> o) { |
| 2143 unittest.expect(o, unittest.hasLength(2)); | 2143 unittest.expect(o, unittest.hasLength(2)); |
| 2144 checkPerformanceReport(o[0]); | 2144 checkPerformanceReport(o[0]); |
| 2145 checkPerformanceReport(o[1]); | 2145 checkPerformanceReport(o[1]); |
| 2146 } | 2146 } |
| 2147 | 2147 |
| 2148 core.int buildCounterPerformanceReportList = 0; | 2148 core.int buildCounterPerformanceReportList = 0; |
| 2149 buildPerformanceReportList() { | 2149 buildPerformanceReportList() { |
| 2150 var o = new api.PerformanceReportList(); | 2150 var o = new api.PerformanceReportList(); |
| 2151 buildCounterPerformanceReportList++; | 2151 buildCounterPerformanceReportList++; |
| 2152 if (buildCounterPerformanceReportList < 3) { | 2152 if (buildCounterPerformanceReportList < 3) { |
| 2153 o.kind = "foo"; | 2153 o.kind = "foo"; |
| 2154 o.performanceReport = buildUnnamed105(); | 2154 o.performanceReport = buildUnnamed2335(); |
| 2155 } | 2155 } |
| 2156 buildCounterPerformanceReportList--; | 2156 buildCounterPerformanceReportList--; |
| 2157 return o; | 2157 return o; |
| 2158 } | 2158 } |
| 2159 | 2159 |
| 2160 checkPerformanceReportList(api.PerformanceReportList o) { | 2160 checkPerformanceReportList(api.PerformanceReportList o) { |
| 2161 buildCounterPerformanceReportList++; | 2161 buildCounterPerformanceReportList++; |
| 2162 if (buildCounterPerformanceReportList < 3) { | 2162 if (buildCounterPerformanceReportList < 3) { |
| 2163 unittest.expect(o.kind, unittest.equals('foo')); | 2163 unittest.expect(o.kind, unittest.equals('foo')); |
| 2164 checkUnnamed105(o.performanceReport); | 2164 checkUnnamed2335(o.performanceReport); |
| 2165 } | 2165 } |
| 2166 buildCounterPerformanceReportList--; | 2166 buildCounterPerformanceReportList--; |
| 2167 } | 2167 } |
| 2168 | 2168 |
| 2169 buildUnnamed106() { | 2169 buildUnnamed2336() { |
| 2170 var o = new core.List<core.String>(); | 2170 var o = new core.List<core.String>(); |
| 2171 o.add("foo"); | 2171 o.add("foo"); |
| 2172 o.add("foo"); | 2172 o.add("foo"); |
| 2173 return o; | 2173 return o; |
| 2174 } | 2174 } |
| 2175 | 2175 |
| 2176 checkUnnamed106(core.List<core.String> o) { | 2176 checkUnnamed2336(core.List<core.String> o) { |
| 2177 unittest.expect(o, unittest.hasLength(2)); | 2177 unittest.expect(o, unittest.hasLength(2)); |
| 2178 unittest.expect(o[0], unittest.equals('foo')); | 2178 unittest.expect(o[0], unittest.equals('foo')); |
| 2179 unittest.expect(o[1], unittest.equals('foo')); | 2179 unittest.expect(o[1], unittest.equals('foo')); |
| 2180 } | 2180 } |
| 2181 | 2181 |
| 2182 core.int buildCounterPretargetingConfigDimensions = 0; | 2182 core.int buildCounterPretargetingConfigDimensions = 0; |
| 2183 buildPretargetingConfigDimensions() { | 2183 buildPretargetingConfigDimensions() { |
| 2184 var o = new api.PretargetingConfigDimensions(); | 2184 var o = new api.PretargetingConfigDimensions(); |
| 2185 buildCounterPretargetingConfigDimensions++; | 2185 buildCounterPretargetingConfigDimensions++; |
| 2186 if (buildCounterPretargetingConfigDimensions < 3) { | 2186 if (buildCounterPretargetingConfigDimensions < 3) { |
| 2187 o.height = "foo"; | 2187 o.height = "foo"; |
| 2188 o.width = "foo"; | 2188 o.width = "foo"; |
| 2189 } | 2189 } |
| 2190 buildCounterPretargetingConfigDimensions--; | 2190 buildCounterPretargetingConfigDimensions--; |
| 2191 return o; | 2191 return o; |
| 2192 } | 2192 } |
| 2193 | 2193 |
| 2194 checkPretargetingConfigDimensions(api.PretargetingConfigDimensions o) { | 2194 checkPretargetingConfigDimensions(api.PretargetingConfigDimensions o) { |
| 2195 buildCounterPretargetingConfigDimensions++; | 2195 buildCounterPretargetingConfigDimensions++; |
| 2196 if (buildCounterPretargetingConfigDimensions < 3) { | 2196 if (buildCounterPretargetingConfigDimensions < 3) { |
| 2197 unittest.expect(o.height, unittest.equals('foo')); | 2197 unittest.expect(o.height, unittest.equals('foo')); |
| 2198 unittest.expect(o.width, unittest.equals('foo')); | 2198 unittest.expect(o.width, unittest.equals('foo')); |
| 2199 } | 2199 } |
| 2200 buildCounterPretargetingConfigDimensions--; | 2200 buildCounterPretargetingConfigDimensions--; |
| 2201 } | 2201 } |
| 2202 | 2202 |
| 2203 buildUnnamed107() { | 2203 buildUnnamed2337() { |
| 2204 var o = new core.List<api.PretargetingConfigDimensions>(); | 2204 var o = new core.List<api.PretargetingConfigDimensions>(); |
| 2205 o.add(buildPretargetingConfigDimensions()); | 2205 o.add(buildPretargetingConfigDimensions()); |
| 2206 o.add(buildPretargetingConfigDimensions()); | 2206 o.add(buildPretargetingConfigDimensions()); |
| 2207 return o; | 2207 return o; |
| 2208 } | 2208 } |
| 2209 | 2209 |
| 2210 checkUnnamed107(core.List<api.PretargetingConfigDimensions> o) { | 2210 checkUnnamed2337(core.List<api.PretargetingConfigDimensions> o) { |
| 2211 unittest.expect(o, unittest.hasLength(2)); | 2211 unittest.expect(o, unittest.hasLength(2)); |
| 2212 checkPretargetingConfigDimensions(o[0]); | 2212 checkPretargetingConfigDimensions(o[0]); |
| 2213 checkPretargetingConfigDimensions(o[1]); | 2213 checkPretargetingConfigDimensions(o[1]); |
| 2214 } | 2214 } |
| 2215 | 2215 |
| 2216 buildUnnamed108() { | 2216 buildUnnamed2338() { |
| 2217 var o = new core.List<core.String>(); | 2217 var o = new core.List<core.String>(); |
| 2218 o.add("foo"); | 2218 o.add("foo"); |
| 2219 o.add("foo"); | 2219 o.add("foo"); |
| 2220 return o; | 2220 return o; |
| 2221 } | 2221 } |
| 2222 | 2222 |
| 2223 checkUnnamed108(core.List<core.String> o) { | 2223 checkUnnamed2338(core.List<core.String> o) { |
| 2224 unittest.expect(o, unittest.hasLength(2)); | 2224 unittest.expect(o, unittest.hasLength(2)); |
| 2225 unittest.expect(o[0], unittest.equals('foo')); | 2225 unittest.expect(o[0], unittest.equals('foo')); |
| 2226 unittest.expect(o[1], unittest.equals('foo')); | 2226 unittest.expect(o[1], unittest.equals('foo')); |
| 2227 } | 2227 } |
| 2228 | 2228 |
| 2229 buildUnnamed109() { | 2229 buildUnnamed2339() { |
| 2230 var o = new core.List<core.String>(); | 2230 var o = new core.List<core.String>(); |
| 2231 o.add("foo"); | 2231 o.add("foo"); |
| 2232 o.add("foo"); | 2232 o.add("foo"); |
| 2233 return o; | 2233 return o; |
| 2234 } | 2234 } |
| 2235 | 2235 |
| 2236 checkUnnamed109(core.List<core.String> o) { | 2236 checkUnnamed2339(core.List<core.String> o) { |
| 2237 unittest.expect(o, unittest.hasLength(2)); | 2237 unittest.expect(o, unittest.hasLength(2)); |
| 2238 unittest.expect(o[0], unittest.equals('foo')); | 2238 unittest.expect(o[0], unittest.equals('foo')); |
| 2239 unittest.expect(o[1], unittest.equals('foo')); | 2239 unittest.expect(o[1], unittest.equals('foo')); |
| 2240 } | 2240 } |
| 2241 | 2241 |
| 2242 core.int buildCounterPretargetingConfigExcludedPlacements = 0; | 2242 core.int buildCounterPretargetingConfigExcludedPlacements = 0; |
| 2243 buildPretargetingConfigExcludedPlacements() { | 2243 buildPretargetingConfigExcludedPlacements() { |
| 2244 var o = new api.PretargetingConfigExcludedPlacements(); | 2244 var o = new api.PretargetingConfigExcludedPlacements(); |
| 2245 buildCounterPretargetingConfigExcludedPlacements++; | 2245 buildCounterPretargetingConfigExcludedPlacements++; |
| 2246 if (buildCounterPretargetingConfigExcludedPlacements < 3) { | 2246 if (buildCounterPretargetingConfigExcludedPlacements < 3) { |
| 2247 o.token = "foo"; | 2247 o.token = "foo"; |
| 2248 o.type = "foo"; | 2248 o.type = "foo"; |
| 2249 } | 2249 } |
| 2250 buildCounterPretargetingConfigExcludedPlacements--; | 2250 buildCounterPretargetingConfigExcludedPlacements--; |
| 2251 return o; | 2251 return o; |
| 2252 } | 2252 } |
| 2253 | 2253 |
| 2254 checkPretargetingConfigExcludedPlacements(api.PretargetingConfigExcludedPlacemen
ts o) { | 2254 checkPretargetingConfigExcludedPlacements(api.PretargetingConfigExcludedPlacemen
ts o) { |
| 2255 buildCounterPretargetingConfigExcludedPlacements++; | 2255 buildCounterPretargetingConfigExcludedPlacements++; |
| 2256 if (buildCounterPretargetingConfigExcludedPlacements < 3) { | 2256 if (buildCounterPretargetingConfigExcludedPlacements < 3) { |
| 2257 unittest.expect(o.token, unittest.equals('foo')); | 2257 unittest.expect(o.token, unittest.equals('foo')); |
| 2258 unittest.expect(o.type, unittest.equals('foo')); | 2258 unittest.expect(o.type, unittest.equals('foo')); |
| 2259 } | 2259 } |
| 2260 buildCounterPretargetingConfigExcludedPlacements--; | 2260 buildCounterPretargetingConfigExcludedPlacements--; |
| 2261 } | 2261 } |
| 2262 | 2262 |
| 2263 buildUnnamed110() { | 2263 buildUnnamed2340() { |
| 2264 var o = new core.List<api.PretargetingConfigExcludedPlacements>(); | 2264 var o = new core.List<api.PretargetingConfigExcludedPlacements>(); |
| 2265 o.add(buildPretargetingConfigExcludedPlacements()); | 2265 o.add(buildPretargetingConfigExcludedPlacements()); |
| 2266 o.add(buildPretargetingConfigExcludedPlacements()); | 2266 o.add(buildPretargetingConfigExcludedPlacements()); |
| 2267 return o; | 2267 return o; |
| 2268 } | 2268 } |
| 2269 | 2269 |
| 2270 checkUnnamed110(core.List<api.PretargetingConfigExcludedPlacements> o) { | 2270 checkUnnamed2340(core.List<api.PretargetingConfigExcludedPlacements> o) { |
| 2271 unittest.expect(o, unittest.hasLength(2)); | 2271 unittest.expect(o, unittest.hasLength(2)); |
| 2272 checkPretargetingConfigExcludedPlacements(o[0]); | 2272 checkPretargetingConfigExcludedPlacements(o[0]); |
| 2273 checkPretargetingConfigExcludedPlacements(o[1]); | 2273 checkPretargetingConfigExcludedPlacements(o[1]); |
| 2274 } | 2274 } |
| 2275 | 2275 |
| 2276 buildUnnamed111() { | 2276 buildUnnamed2341() { |
| 2277 var o = new core.List<core.String>(); | 2277 var o = new core.List<core.String>(); |
| 2278 o.add("foo"); | 2278 o.add("foo"); |
| 2279 o.add("foo"); | 2279 o.add("foo"); |
| 2280 return o; | 2280 return o; |
| 2281 } | 2281 } |
| 2282 | 2282 |
| 2283 checkUnnamed111(core.List<core.String> o) { | 2283 checkUnnamed2341(core.List<core.String> o) { |
| 2284 unittest.expect(o, unittest.hasLength(2)); | 2284 unittest.expect(o, unittest.hasLength(2)); |
| 2285 unittest.expect(o[0], unittest.equals('foo')); | 2285 unittest.expect(o[0], unittest.equals('foo')); |
| 2286 unittest.expect(o[1], unittest.equals('foo')); | 2286 unittest.expect(o[1], unittest.equals('foo')); |
| 2287 } | 2287 } |
| 2288 | 2288 |
| 2289 buildUnnamed112() { | 2289 buildUnnamed2342() { |
| 2290 var o = new core.List<core.String>(); | 2290 var o = new core.List<core.String>(); |
| 2291 o.add("foo"); | 2291 o.add("foo"); |
| 2292 o.add("foo"); | 2292 o.add("foo"); |
| 2293 return o; | 2293 return o; |
| 2294 } | 2294 } |
| 2295 | 2295 |
| 2296 checkUnnamed112(core.List<core.String> o) { | 2296 checkUnnamed2342(core.List<core.String> o) { |
| 2297 unittest.expect(o, unittest.hasLength(2)); | 2297 unittest.expect(o, unittest.hasLength(2)); |
| 2298 unittest.expect(o[0], unittest.equals('foo')); | 2298 unittest.expect(o[0], unittest.equals('foo')); |
| 2299 unittest.expect(o[1], unittest.equals('foo')); | 2299 unittest.expect(o[1], unittest.equals('foo')); |
| 2300 } | 2300 } |
| 2301 | 2301 |
| 2302 buildUnnamed113() { | 2302 buildUnnamed2343() { |
| 2303 var o = new core.List<core.String>(); | 2303 var o = new core.List<core.String>(); |
| 2304 o.add("foo"); | 2304 o.add("foo"); |
| 2305 o.add("foo"); | 2305 o.add("foo"); |
| 2306 return o; | 2306 return o; |
| 2307 } | 2307 } |
| 2308 | 2308 |
| 2309 checkUnnamed113(core.List<core.String> o) { | 2309 checkUnnamed2343(core.List<core.String> o) { |
| 2310 unittest.expect(o, unittest.hasLength(2)); | 2310 unittest.expect(o, unittest.hasLength(2)); |
| 2311 unittest.expect(o[0], unittest.equals('foo')); | 2311 unittest.expect(o[0], unittest.equals('foo')); |
| 2312 unittest.expect(o[1], unittest.equals('foo')); | 2312 unittest.expect(o[1], unittest.equals('foo')); |
| 2313 } | 2313 } |
| 2314 | 2314 |
| 2315 buildUnnamed114() { | 2315 buildUnnamed2344() { |
| 2316 var o = new core.List<core.String>(); | 2316 var o = new core.List<core.String>(); |
| 2317 o.add("foo"); | 2317 o.add("foo"); |
| 2318 o.add("foo"); | 2318 o.add("foo"); |
| 2319 return o; | 2319 return o; |
| 2320 } | 2320 } |
| 2321 | 2321 |
| 2322 checkUnnamed114(core.List<core.String> o) { | 2322 checkUnnamed2344(core.List<core.String> o) { |
| 2323 unittest.expect(o, unittest.hasLength(2)); | 2323 unittest.expect(o, unittest.hasLength(2)); |
| 2324 unittest.expect(o[0], unittest.equals('foo')); | 2324 unittest.expect(o[0], unittest.equals('foo')); |
| 2325 unittest.expect(o[1], unittest.equals('foo')); | 2325 unittest.expect(o[1], unittest.equals('foo')); |
| 2326 } | 2326 } |
| 2327 | 2327 |
| 2328 buildUnnamed115() { | 2328 buildUnnamed2345() { |
| 2329 var o = new core.List<core.String>(); | 2329 var o = new core.List<core.String>(); |
| 2330 o.add("foo"); | 2330 o.add("foo"); |
| 2331 o.add("foo"); | 2331 o.add("foo"); |
| 2332 return o; | 2332 return o; |
| 2333 } | 2333 } |
| 2334 | 2334 |
| 2335 checkUnnamed115(core.List<core.String> o) { | 2335 checkUnnamed2345(core.List<core.String> o) { |
| 2336 unittest.expect(o, unittest.hasLength(2)); | 2336 unittest.expect(o, unittest.hasLength(2)); |
| 2337 unittest.expect(o[0], unittest.equals('foo')); | 2337 unittest.expect(o[0], unittest.equals('foo')); |
| 2338 unittest.expect(o[1], unittest.equals('foo')); | 2338 unittest.expect(o[1], unittest.equals('foo')); |
| 2339 } | 2339 } |
| 2340 | 2340 |
| 2341 buildUnnamed116() { | 2341 buildUnnamed2346() { |
| 2342 var o = new core.List<core.String>(); | 2342 var o = new core.List<core.String>(); |
| 2343 o.add("foo"); | 2343 o.add("foo"); |
| 2344 o.add("foo"); | 2344 o.add("foo"); |
| 2345 return o; | 2345 return o; |
| 2346 } | 2346 } |
| 2347 | 2347 |
| 2348 checkUnnamed116(core.List<core.String> o) { | 2348 checkUnnamed2346(core.List<core.String> o) { |
| 2349 unittest.expect(o, unittest.hasLength(2)); | 2349 unittest.expect(o, unittest.hasLength(2)); |
| 2350 unittest.expect(o[0], unittest.equals('foo')); | 2350 unittest.expect(o[0], unittest.equals('foo')); |
| 2351 unittest.expect(o[1], unittest.equals('foo')); | 2351 unittest.expect(o[1], unittest.equals('foo')); |
| 2352 } | 2352 } |
| 2353 | 2353 |
| 2354 buildUnnamed117() { | 2354 buildUnnamed2347() { |
| 2355 var o = new core.List<core.String>(); | 2355 var o = new core.List<core.String>(); |
| 2356 o.add("foo"); | 2356 o.add("foo"); |
| 2357 o.add("foo"); | 2357 o.add("foo"); |
| 2358 return o; | 2358 return o; |
| 2359 } | 2359 } |
| 2360 | 2360 |
| 2361 checkUnnamed117(core.List<core.String> o) { | 2361 checkUnnamed2347(core.List<core.String> o) { |
| 2362 unittest.expect(o, unittest.hasLength(2)); | 2362 unittest.expect(o, unittest.hasLength(2)); |
| 2363 unittest.expect(o[0], unittest.equals('foo')); | 2363 unittest.expect(o[0], unittest.equals('foo')); |
| 2364 unittest.expect(o[1], unittest.equals('foo')); | 2364 unittest.expect(o[1], unittest.equals('foo')); |
| 2365 } | 2365 } |
| 2366 | 2366 |
| 2367 core.int buildCounterPretargetingConfigPlacements = 0; | 2367 core.int buildCounterPretargetingConfigPlacements = 0; |
| 2368 buildPretargetingConfigPlacements() { | 2368 buildPretargetingConfigPlacements() { |
| 2369 var o = new api.PretargetingConfigPlacements(); | 2369 var o = new api.PretargetingConfigPlacements(); |
| 2370 buildCounterPretargetingConfigPlacements++; | 2370 buildCounterPretargetingConfigPlacements++; |
| 2371 if (buildCounterPretargetingConfigPlacements < 3) { | 2371 if (buildCounterPretargetingConfigPlacements < 3) { |
| 2372 o.token = "foo"; | 2372 o.token = "foo"; |
| 2373 o.type = "foo"; | 2373 o.type = "foo"; |
| 2374 } | 2374 } |
| 2375 buildCounterPretargetingConfigPlacements--; | 2375 buildCounterPretargetingConfigPlacements--; |
| 2376 return o; | 2376 return o; |
| 2377 } | 2377 } |
| 2378 | 2378 |
| 2379 checkPretargetingConfigPlacements(api.PretargetingConfigPlacements o) { | 2379 checkPretargetingConfigPlacements(api.PretargetingConfigPlacements o) { |
| 2380 buildCounterPretargetingConfigPlacements++; | 2380 buildCounterPretargetingConfigPlacements++; |
| 2381 if (buildCounterPretargetingConfigPlacements < 3) { | 2381 if (buildCounterPretargetingConfigPlacements < 3) { |
| 2382 unittest.expect(o.token, unittest.equals('foo')); | 2382 unittest.expect(o.token, unittest.equals('foo')); |
| 2383 unittest.expect(o.type, unittest.equals('foo')); | 2383 unittest.expect(o.type, unittest.equals('foo')); |
| 2384 } | 2384 } |
| 2385 buildCounterPretargetingConfigPlacements--; | 2385 buildCounterPretargetingConfigPlacements--; |
| 2386 } | 2386 } |
| 2387 | 2387 |
| 2388 buildUnnamed118() { | 2388 buildUnnamed2348() { |
| 2389 var o = new core.List<api.PretargetingConfigPlacements>(); | 2389 var o = new core.List<api.PretargetingConfigPlacements>(); |
| 2390 o.add(buildPretargetingConfigPlacements()); | 2390 o.add(buildPretargetingConfigPlacements()); |
| 2391 o.add(buildPretargetingConfigPlacements()); | 2391 o.add(buildPretargetingConfigPlacements()); |
| 2392 return o; | 2392 return o; |
| 2393 } | 2393 } |
| 2394 | 2394 |
| 2395 checkUnnamed118(core.List<api.PretargetingConfigPlacements> o) { | 2395 checkUnnamed2348(core.List<api.PretargetingConfigPlacements> o) { |
| 2396 unittest.expect(o, unittest.hasLength(2)); | 2396 unittest.expect(o, unittest.hasLength(2)); |
| 2397 checkPretargetingConfigPlacements(o[0]); | 2397 checkPretargetingConfigPlacements(o[0]); |
| 2398 checkPretargetingConfigPlacements(o[1]); | 2398 checkPretargetingConfigPlacements(o[1]); |
| 2399 } | 2399 } |
| 2400 | 2400 |
| 2401 buildUnnamed119() { | 2401 buildUnnamed2349() { |
| 2402 var o = new core.List<core.String>(); | 2402 var o = new core.List<core.String>(); |
| 2403 o.add("foo"); | 2403 o.add("foo"); |
| 2404 o.add("foo"); | 2404 o.add("foo"); |
| 2405 return o; | 2405 return o; |
| 2406 } | 2406 } |
| 2407 | 2407 |
| 2408 checkUnnamed119(core.List<core.String> o) { | 2408 checkUnnamed2349(core.List<core.String> o) { |
| 2409 unittest.expect(o, unittest.hasLength(2)); | 2409 unittest.expect(o, unittest.hasLength(2)); |
| 2410 unittest.expect(o[0], unittest.equals('foo')); | 2410 unittest.expect(o[0], unittest.equals('foo')); |
| 2411 unittest.expect(o[1], unittest.equals('foo')); | 2411 unittest.expect(o[1], unittest.equals('foo')); |
| 2412 } | 2412 } |
| 2413 | 2413 |
| 2414 buildUnnamed120() { | 2414 buildUnnamed2350() { |
| 2415 var o = new core.List<core.String>(); | 2415 var o = new core.List<core.String>(); |
| 2416 o.add("foo"); | 2416 o.add("foo"); |
| 2417 o.add("foo"); | 2417 o.add("foo"); |
| 2418 return o; | 2418 return o; |
| 2419 } | 2419 } |
| 2420 | 2420 |
| 2421 checkUnnamed120(core.List<core.String> o) { | 2421 checkUnnamed2350(core.List<core.String> o) { |
| 2422 unittest.expect(o, unittest.hasLength(2)); | 2422 unittest.expect(o, unittest.hasLength(2)); |
| 2423 unittest.expect(o[0], unittest.equals('foo')); | 2423 unittest.expect(o[0], unittest.equals('foo')); |
| 2424 unittest.expect(o[1], unittest.equals('foo')); | 2424 unittest.expect(o[1], unittest.equals('foo')); |
| 2425 } | 2425 } |
| 2426 | 2426 |
| 2427 buildUnnamed121() { | 2427 buildUnnamed2351() { |
| 2428 var o = new core.List<core.String>(); | 2428 var o = new core.List<core.String>(); |
| 2429 o.add("foo"); | 2429 o.add("foo"); |
| 2430 o.add("foo"); | 2430 o.add("foo"); |
| 2431 return o; | 2431 return o; |
| 2432 } | 2432 } |
| 2433 | 2433 |
| 2434 checkUnnamed121(core.List<core.String> o) { | 2434 checkUnnamed2351(core.List<core.String> o) { |
| 2435 unittest.expect(o, unittest.hasLength(2)); | 2435 unittest.expect(o, unittest.hasLength(2)); |
| 2436 unittest.expect(o[0], unittest.equals('foo')); | 2436 unittest.expect(o[0], unittest.equals('foo')); |
| 2437 unittest.expect(o[1], unittest.equals('foo')); | 2437 unittest.expect(o[1], unittest.equals('foo')); |
| 2438 } | 2438 } |
| 2439 | 2439 |
| 2440 buildUnnamed122() { | 2440 buildUnnamed2352() { |
| 2441 var o = new core.List<core.String>(); | 2441 var o = new core.List<core.String>(); |
| 2442 o.add("foo"); | 2442 o.add("foo"); |
| 2443 o.add("foo"); | 2443 o.add("foo"); |
| 2444 return o; | 2444 return o; |
| 2445 } | 2445 } |
| 2446 | 2446 |
| 2447 checkUnnamed122(core.List<core.String> o) { | 2447 checkUnnamed2352(core.List<core.String> o) { |
| 2448 unittest.expect(o, unittest.hasLength(2)); | 2448 unittest.expect(o, unittest.hasLength(2)); |
| 2449 unittest.expect(o[0], unittest.equals('foo')); | 2449 unittest.expect(o[0], unittest.equals('foo')); |
| 2450 unittest.expect(o[1], unittest.equals('foo')); | 2450 unittest.expect(o[1], unittest.equals('foo')); |
| 2451 } | 2451 } |
| 2452 | 2452 |
| 2453 buildUnnamed123() { | 2453 buildUnnamed2353() { |
| 2454 var o = new core.List<core.String>(); | 2454 var o = new core.List<core.String>(); |
| 2455 o.add("foo"); | 2455 o.add("foo"); |
| 2456 o.add("foo"); | 2456 o.add("foo"); |
| 2457 return o; | 2457 return o; |
| 2458 } | 2458 } |
| 2459 | 2459 |
| 2460 checkUnnamed123(core.List<core.String> o) { | 2460 checkUnnamed2353(core.List<core.String> o) { |
| 2461 unittest.expect(o, unittest.hasLength(2)); | 2461 unittest.expect(o, unittest.hasLength(2)); |
| 2462 unittest.expect(o[0], unittest.equals('foo')); | 2462 unittest.expect(o[0], unittest.equals('foo')); |
| 2463 unittest.expect(o[1], unittest.equals('foo')); | 2463 unittest.expect(o[1], unittest.equals('foo')); |
| 2464 } | 2464 } |
| 2465 | 2465 |
| 2466 core.int buildCounterPretargetingConfigVideoPlayerSizes = 0; | 2466 core.int buildCounterPretargetingConfigVideoPlayerSizes = 0; |
| 2467 buildPretargetingConfigVideoPlayerSizes() { | 2467 buildPretargetingConfigVideoPlayerSizes() { |
| 2468 var o = new api.PretargetingConfigVideoPlayerSizes(); | 2468 var o = new api.PretargetingConfigVideoPlayerSizes(); |
| 2469 buildCounterPretargetingConfigVideoPlayerSizes++; | 2469 buildCounterPretargetingConfigVideoPlayerSizes++; |
| 2470 if (buildCounterPretargetingConfigVideoPlayerSizes < 3) { | 2470 if (buildCounterPretargetingConfigVideoPlayerSizes < 3) { |
| 2471 o.aspectRatio = "foo"; | 2471 o.aspectRatio = "foo"; |
| 2472 o.minHeight = "foo"; | 2472 o.minHeight = "foo"; |
| 2473 o.minWidth = "foo"; | 2473 o.minWidth = "foo"; |
| 2474 } | 2474 } |
| 2475 buildCounterPretargetingConfigVideoPlayerSizes--; | 2475 buildCounterPretargetingConfigVideoPlayerSizes--; |
| 2476 return o; | 2476 return o; |
| 2477 } | 2477 } |
| 2478 | 2478 |
| 2479 checkPretargetingConfigVideoPlayerSizes(api.PretargetingConfigVideoPlayerSizes o
) { | 2479 checkPretargetingConfigVideoPlayerSizes(api.PretargetingConfigVideoPlayerSizes o
) { |
| 2480 buildCounterPretargetingConfigVideoPlayerSizes++; | 2480 buildCounterPretargetingConfigVideoPlayerSizes++; |
| 2481 if (buildCounterPretargetingConfigVideoPlayerSizes < 3) { | 2481 if (buildCounterPretargetingConfigVideoPlayerSizes < 3) { |
| 2482 unittest.expect(o.aspectRatio, unittest.equals('foo')); | 2482 unittest.expect(o.aspectRatio, unittest.equals('foo')); |
| 2483 unittest.expect(o.minHeight, unittest.equals('foo')); | 2483 unittest.expect(o.minHeight, unittest.equals('foo')); |
| 2484 unittest.expect(o.minWidth, unittest.equals('foo')); | 2484 unittest.expect(o.minWidth, unittest.equals('foo')); |
| 2485 } | 2485 } |
| 2486 buildCounterPretargetingConfigVideoPlayerSizes--; | 2486 buildCounterPretargetingConfigVideoPlayerSizes--; |
| 2487 } | 2487 } |
| 2488 | 2488 |
| 2489 buildUnnamed124() { | 2489 buildUnnamed2354() { |
| 2490 var o = new core.List<api.PretargetingConfigVideoPlayerSizes>(); | 2490 var o = new core.List<api.PretargetingConfigVideoPlayerSizes>(); |
| 2491 o.add(buildPretargetingConfigVideoPlayerSizes()); | 2491 o.add(buildPretargetingConfigVideoPlayerSizes()); |
| 2492 o.add(buildPretargetingConfigVideoPlayerSizes()); | 2492 o.add(buildPretargetingConfigVideoPlayerSizes()); |
| 2493 return o; | 2493 return o; |
| 2494 } | 2494 } |
| 2495 | 2495 |
| 2496 checkUnnamed124(core.List<api.PretargetingConfigVideoPlayerSizes> o) { | 2496 checkUnnamed2354(core.List<api.PretargetingConfigVideoPlayerSizes> o) { |
| 2497 unittest.expect(o, unittest.hasLength(2)); | 2497 unittest.expect(o, unittest.hasLength(2)); |
| 2498 checkPretargetingConfigVideoPlayerSizes(o[0]); | 2498 checkPretargetingConfigVideoPlayerSizes(o[0]); |
| 2499 checkPretargetingConfigVideoPlayerSizes(o[1]); | 2499 checkPretargetingConfigVideoPlayerSizes(o[1]); |
| 2500 } | 2500 } |
| 2501 | 2501 |
| 2502 core.int buildCounterPretargetingConfig = 0; | 2502 core.int buildCounterPretargetingConfig = 0; |
| 2503 buildPretargetingConfig() { | 2503 buildPretargetingConfig() { |
| 2504 var o = new api.PretargetingConfig(); | 2504 var o = new api.PretargetingConfig(); |
| 2505 buildCounterPretargetingConfig++; | 2505 buildCounterPretargetingConfig++; |
| 2506 if (buildCounterPretargetingConfig < 3) { | 2506 if (buildCounterPretargetingConfig < 3) { |
| 2507 o.billingId = "foo"; | 2507 o.billingId = "foo"; |
| 2508 o.configId = "foo"; | 2508 o.configId = "foo"; |
| 2509 o.configName = "foo"; | 2509 o.configName = "foo"; |
| 2510 o.creativeType = buildUnnamed106(); | 2510 o.creativeType = buildUnnamed2336(); |
| 2511 o.dimensions = buildUnnamed107(); | 2511 o.dimensions = buildUnnamed2337(); |
| 2512 o.excludedContentLabels = buildUnnamed108(); | 2512 o.excludedContentLabels = buildUnnamed2338(); |
| 2513 o.excludedGeoCriteriaIds = buildUnnamed109(); | 2513 o.excludedGeoCriteriaIds = buildUnnamed2339(); |
| 2514 o.excludedPlacements = buildUnnamed110(); | 2514 o.excludedPlacements = buildUnnamed2340(); |
| 2515 o.excludedUserLists = buildUnnamed111(); | 2515 o.excludedUserLists = buildUnnamed2341(); |
| 2516 o.excludedVerticals = buildUnnamed112(); | 2516 o.excludedVerticals = buildUnnamed2342(); |
| 2517 o.geoCriteriaIds = buildUnnamed113(); | 2517 o.geoCriteriaIds = buildUnnamed2343(); |
| 2518 o.isActive = true; | 2518 o.isActive = true; |
| 2519 o.kind = "foo"; | 2519 o.kind = "foo"; |
| 2520 o.languages = buildUnnamed114(); | 2520 o.languages = buildUnnamed2344(); |
| 2521 o.mobileCarriers = buildUnnamed115(); | 2521 o.mobileCarriers = buildUnnamed2345(); |
| 2522 o.mobileDevices = buildUnnamed116(); | 2522 o.mobileDevices = buildUnnamed2346(); |
| 2523 o.mobileOperatingSystemVersions = buildUnnamed117(); | 2523 o.mobileOperatingSystemVersions = buildUnnamed2347(); |
| 2524 o.placements = buildUnnamed118(); | 2524 o.placements = buildUnnamed2348(); |
| 2525 o.platforms = buildUnnamed119(); | 2525 o.platforms = buildUnnamed2349(); |
| 2526 o.supportedCreativeAttributes = buildUnnamed120(); | 2526 o.supportedCreativeAttributes = buildUnnamed2350(); |
| 2527 o.userLists = buildUnnamed121(); | 2527 o.userLists = buildUnnamed2351(); |
| 2528 o.vendorTypes = buildUnnamed122(); | 2528 o.vendorTypes = buildUnnamed2352(); |
| 2529 o.verticals = buildUnnamed123(); | 2529 o.verticals = buildUnnamed2353(); |
| 2530 o.videoPlayerSizes = buildUnnamed124(); | 2530 o.videoPlayerSizes = buildUnnamed2354(); |
| 2531 } | 2531 } |
| 2532 buildCounterPretargetingConfig--; | 2532 buildCounterPretargetingConfig--; |
| 2533 return o; | 2533 return o; |
| 2534 } | 2534 } |
| 2535 | 2535 |
| 2536 checkPretargetingConfig(api.PretargetingConfig o) { | 2536 checkPretargetingConfig(api.PretargetingConfig o) { |
| 2537 buildCounterPretargetingConfig++; | 2537 buildCounterPretargetingConfig++; |
| 2538 if (buildCounterPretargetingConfig < 3) { | 2538 if (buildCounterPretargetingConfig < 3) { |
| 2539 unittest.expect(o.billingId, unittest.equals('foo')); | 2539 unittest.expect(o.billingId, unittest.equals('foo')); |
| 2540 unittest.expect(o.configId, unittest.equals('foo')); | 2540 unittest.expect(o.configId, unittest.equals('foo')); |
| 2541 unittest.expect(o.configName, unittest.equals('foo')); | 2541 unittest.expect(o.configName, unittest.equals('foo')); |
| 2542 checkUnnamed106(o.creativeType); | 2542 checkUnnamed2336(o.creativeType); |
| 2543 checkUnnamed107(o.dimensions); | 2543 checkUnnamed2337(o.dimensions); |
| 2544 checkUnnamed108(o.excludedContentLabels); | 2544 checkUnnamed2338(o.excludedContentLabels); |
| 2545 checkUnnamed109(o.excludedGeoCriteriaIds); | 2545 checkUnnamed2339(o.excludedGeoCriteriaIds); |
| 2546 checkUnnamed110(o.excludedPlacements); | 2546 checkUnnamed2340(o.excludedPlacements); |
| 2547 checkUnnamed111(o.excludedUserLists); | 2547 checkUnnamed2341(o.excludedUserLists); |
| 2548 checkUnnamed112(o.excludedVerticals); | 2548 checkUnnamed2342(o.excludedVerticals); |
| 2549 checkUnnamed113(o.geoCriteriaIds); | 2549 checkUnnamed2343(o.geoCriteriaIds); |
| 2550 unittest.expect(o.isActive, unittest.isTrue); | 2550 unittest.expect(o.isActive, unittest.isTrue); |
| 2551 unittest.expect(o.kind, unittest.equals('foo')); | 2551 unittest.expect(o.kind, unittest.equals('foo')); |
| 2552 checkUnnamed114(o.languages); | 2552 checkUnnamed2344(o.languages); |
| 2553 checkUnnamed115(o.mobileCarriers); | 2553 checkUnnamed2345(o.mobileCarriers); |
| 2554 checkUnnamed116(o.mobileDevices); | 2554 checkUnnamed2346(o.mobileDevices); |
| 2555 checkUnnamed117(o.mobileOperatingSystemVersions); | 2555 checkUnnamed2347(o.mobileOperatingSystemVersions); |
| 2556 checkUnnamed118(o.placements); | 2556 checkUnnamed2348(o.placements); |
| 2557 checkUnnamed119(o.platforms); | 2557 checkUnnamed2349(o.platforms); |
| 2558 checkUnnamed120(o.supportedCreativeAttributes); | 2558 checkUnnamed2350(o.supportedCreativeAttributes); |
| 2559 checkUnnamed121(o.userLists); | 2559 checkUnnamed2351(o.userLists); |
| 2560 checkUnnamed122(o.vendorTypes); | 2560 checkUnnamed2352(o.vendorTypes); |
| 2561 checkUnnamed123(o.verticals); | 2561 checkUnnamed2353(o.verticals); |
| 2562 checkUnnamed124(o.videoPlayerSizes); | 2562 checkUnnamed2354(o.videoPlayerSizes); |
| 2563 } | 2563 } |
| 2564 buildCounterPretargetingConfig--; | 2564 buildCounterPretargetingConfig--; |
| 2565 } | 2565 } |
| 2566 | 2566 |
| 2567 buildUnnamed125() { | 2567 buildUnnamed2355() { |
| 2568 var o = new core.List<api.PretargetingConfig>(); | 2568 var o = new core.List<api.PretargetingConfig>(); |
| 2569 o.add(buildPretargetingConfig()); | 2569 o.add(buildPretargetingConfig()); |
| 2570 o.add(buildPretargetingConfig()); | 2570 o.add(buildPretargetingConfig()); |
| 2571 return o; | 2571 return o; |
| 2572 } | 2572 } |
| 2573 | 2573 |
| 2574 checkUnnamed125(core.List<api.PretargetingConfig> o) { | 2574 checkUnnamed2355(core.List<api.PretargetingConfig> o) { |
| 2575 unittest.expect(o, unittest.hasLength(2)); | 2575 unittest.expect(o, unittest.hasLength(2)); |
| 2576 checkPretargetingConfig(o[0]); | 2576 checkPretargetingConfig(o[0]); |
| 2577 checkPretargetingConfig(o[1]); | 2577 checkPretargetingConfig(o[1]); |
| 2578 } | 2578 } |
| 2579 | 2579 |
| 2580 core.int buildCounterPretargetingConfigList = 0; | 2580 core.int buildCounterPretargetingConfigList = 0; |
| 2581 buildPretargetingConfigList() { | 2581 buildPretargetingConfigList() { |
| 2582 var o = new api.PretargetingConfigList(); | 2582 var o = new api.PretargetingConfigList(); |
| 2583 buildCounterPretargetingConfigList++; | 2583 buildCounterPretargetingConfigList++; |
| 2584 if (buildCounterPretargetingConfigList < 3) { | 2584 if (buildCounterPretargetingConfigList < 3) { |
| 2585 o.items = buildUnnamed125(); | 2585 o.items = buildUnnamed2355(); |
| 2586 o.kind = "foo"; | 2586 o.kind = "foo"; |
| 2587 } | 2587 } |
| 2588 buildCounterPretargetingConfigList--; | 2588 buildCounterPretargetingConfigList--; |
| 2589 return o; | 2589 return o; |
| 2590 } | 2590 } |
| 2591 | 2591 |
| 2592 checkPretargetingConfigList(api.PretargetingConfigList o) { | 2592 checkPretargetingConfigList(api.PretargetingConfigList o) { |
| 2593 buildCounterPretargetingConfigList++; | 2593 buildCounterPretargetingConfigList++; |
| 2594 if (buildCounterPretargetingConfigList < 3) { | 2594 if (buildCounterPretargetingConfigList < 3) { |
| 2595 checkUnnamed125(o.items); | 2595 checkUnnamed2355(o.items); |
| 2596 unittest.expect(o.kind, unittest.equals('foo')); | 2596 unittest.expect(o.kind, unittest.equals('foo')); |
| 2597 } | 2597 } |
| 2598 buildCounterPretargetingConfigList--; | 2598 buildCounterPretargetingConfigList--; |
| 2599 } | 2599 } |
| 2600 | 2600 |
| 2601 core.int buildCounterPrice = 0; | 2601 core.int buildCounterPrice = 0; |
| 2602 buildPrice() { | 2602 buildPrice() { |
| 2603 var o = new api.Price(); | 2603 var o = new api.Price(); |
| 2604 buildCounterPrice++; | 2604 buildCounterPrice++; |
| 2605 if (buildCounterPrice < 3) { | 2605 if (buildCounterPrice < 3) { |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2660 | 2660 |
| 2661 checkPrivateData(api.PrivateData o) { | 2661 checkPrivateData(api.PrivateData o) { |
| 2662 buildCounterPrivateData++; | 2662 buildCounterPrivateData++; |
| 2663 if (buildCounterPrivateData < 3) { | 2663 if (buildCounterPrivateData < 3) { |
| 2664 unittest.expect(o.referenceId, unittest.equals('foo')); | 2664 unittest.expect(o.referenceId, unittest.equals('foo')); |
| 2665 unittest.expect(o.referencePayload, unittest.equals('foo')); | 2665 unittest.expect(o.referencePayload, unittest.equals('foo')); |
| 2666 } | 2666 } |
| 2667 buildCounterPrivateData--; | 2667 buildCounterPrivateData--; |
| 2668 } | 2668 } |
| 2669 | 2669 |
| 2670 buildUnnamed126() { | 2670 buildUnnamed2356() { |
| 2671 var o = new core.List<api.ContactInformation>(); | 2671 var o = new core.List<api.ContactInformation>(); |
| 2672 o.add(buildContactInformation()); | 2672 o.add(buildContactInformation()); |
| 2673 o.add(buildContactInformation()); | 2673 o.add(buildContactInformation()); |
| 2674 return o; | 2674 return o; |
| 2675 } | 2675 } |
| 2676 | 2676 |
| 2677 checkUnnamed126(core.List<api.ContactInformation> o) { | 2677 checkUnnamed2356(core.List<api.ContactInformation> o) { |
| 2678 unittest.expect(o, unittest.hasLength(2)); | 2678 unittest.expect(o, unittest.hasLength(2)); |
| 2679 checkContactInformation(o[0]); | 2679 checkContactInformation(o[0]); |
| 2680 checkContactInformation(o[1]); | 2680 checkContactInformation(o[1]); |
| 2681 } | 2681 } |
| 2682 | 2682 |
| 2683 buildUnnamed127() { | 2683 buildUnnamed2357() { |
| 2684 var o = new core.List<api.MarketplaceLabel>(); | 2684 var o = new core.List<api.MarketplaceLabel>(); |
| 2685 o.add(buildMarketplaceLabel()); | 2685 o.add(buildMarketplaceLabel()); |
| 2686 o.add(buildMarketplaceLabel()); | 2686 o.add(buildMarketplaceLabel()); |
| 2687 return o; | 2687 return o; |
| 2688 } | 2688 } |
| 2689 | 2689 |
| 2690 checkUnnamed127(core.List<api.MarketplaceLabel> o) { | 2690 checkUnnamed2357(core.List<api.MarketplaceLabel> o) { |
| 2691 unittest.expect(o, unittest.hasLength(2)); | 2691 unittest.expect(o, unittest.hasLength(2)); |
| 2692 checkMarketplaceLabel(o[0]); | 2692 checkMarketplaceLabel(o[0]); |
| 2693 checkMarketplaceLabel(o[1]); | 2693 checkMarketplaceLabel(o[1]); |
| 2694 } | 2694 } |
| 2695 | 2695 |
| 2696 buildUnnamed128() { | 2696 buildUnnamed2358() { |
| 2697 var o = new core.List<api.SharedTargeting>(); | 2697 var o = new core.List<api.SharedTargeting>(); |
| 2698 o.add(buildSharedTargeting()); | 2698 o.add(buildSharedTargeting()); |
| 2699 o.add(buildSharedTargeting()); | 2699 o.add(buildSharedTargeting()); |
| 2700 return o; | 2700 return o; |
| 2701 } | 2701 } |
| 2702 | 2702 |
| 2703 checkUnnamed128(core.List<api.SharedTargeting> o) { | 2703 checkUnnamed2358(core.List<api.SharedTargeting> o) { |
| 2704 unittest.expect(o, unittest.hasLength(2)); | 2704 unittest.expect(o, unittest.hasLength(2)); |
| 2705 checkSharedTargeting(o[0]); | 2705 checkSharedTargeting(o[0]); |
| 2706 checkSharedTargeting(o[1]); | 2706 checkSharedTargeting(o[1]); |
| 2707 } | 2707 } |
| 2708 | 2708 |
| 2709 core.int buildCounterProduct = 0; | 2709 core.int buildCounterProduct = 0; |
| 2710 buildProduct() { | 2710 buildProduct() { |
| 2711 var o = new api.Product(); | 2711 var o = new api.Product(); |
| 2712 buildCounterProduct++; | 2712 buildCounterProduct++; |
| 2713 if (buildCounterProduct < 3) { | 2713 if (buildCounterProduct < 3) { |
| 2714 o.creationTimeMs = "foo"; | 2714 o.creationTimeMs = "foo"; |
| 2715 o.creatorContacts = buildUnnamed126(); | 2715 o.creatorContacts = buildUnnamed2356(); |
| 2716 o.deliveryControl = buildDeliveryControl(); | 2716 o.deliveryControl = buildDeliveryControl(); |
| 2717 o.flightEndTimeMs = "foo"; | 2717 o.flightEndTimeMs = "foo"; |
| 2718 o.flightStartTimeMs = "foo"; | 2718 o.flightStartTimeMs = "foo"; |
| 2719 o.hasCreatorSignedOff = true; | 2719 o.hasCreatorSignedOff = true; |
| 2720 o.inventorySource = "foo"; | 2720 o.inventorySource = "foo"; |
| 2721 o.kind = "foo"; | 2721 o.kind = "foo"; |
| 2722 o.labels = buildUnnamed127(); | 2722 o.labels = buildUnnamed2357(); |
| 2723 o.lastUpdateTimeMs = "foo"; | 2723 o.lastUpdateTimeMs = "foo"; |
| 2724 o.legacyOfferId = "foo"; | 2724 o.legacyOfferId = "foo"; |
| 2725 o.name = "foo"; | 2725 o.name = "foo"; |
| 2726 o.privateAuctionId = "foo"; | 2726 o.privateAuctionId = "foo"; |
| 2727 o.productId = "foo"; | 2727 o.productId = "foo"; |
| 2728 o.publisherProfileId = "foo"; | 2728 o.publisherProfileId = "foo"; |
| 2729 o.publisherProvidedForecast = buildPublisherProvidedForecast(); | 2729 o.publisherProvidedForecast = buildPublisherProvidedForecast(); |
| 2730 o.revisionNumber = "foo"; | 2730 o.revisionNumber = "foo"; |
| 2731 o.seller = buildSeller(); | 2731 o.seller = buildSeller(); |
| 2732 o.sharedTargetings = buildUnnamed128(); | 2732 o.sharedTargetings = buildUnnamed2358(); |
| 2733 o.state = "foo"; | 2733 o.state = "foo"; |
| 2734 o.syndicationProduct = "foo"; | 2734 o.syndicationProduct = "foo"; |
| 2735 o.terms = buildDealTerms(); | 2735 o.terms = buildDealTerms(); |
| 2736 o.webPropertyCode = "foo"; | 2736 o.webPropertyCode = "foo"; |
| 2737 } | 2737 } |
| 2738 buildCounterProduct--; | 2738 buildCounterProduct--; |
| 2739 return o; | 2739 return o; |
| 2740 } | 2740 } |
| 2741 | 2741 |
| 2742 checkProduct(api.Product o) { | 2742 checkProduct(api.Product o) { |
| 2743 buildCounterProduct++; | 2743 buildCounterProduct++; |
| 2744 if (buildCounterProduct < 3) { | 2744 if (buildCounterProduct < 3) { |
| 2745 unittest.expect(o.creationTimeMs, unittest.equals('foo')); | 2745 unittest.expect(o.creationTimeMs, unittest.equals('foo')); |
| 2746 checkUnnamed126(o.creatorContacts); | 2746 checkUnnamed2356(o.creatorContacts); |
| 2747 checkDeliveryControl(o.deliveryControl); | 2747 checkDeliveryControl(o.deliveryControl); |
| 2748 unittest.expect(o.flightEndTimeMs, unittest.equals('foo')); | 2748 unittest.expect(o.flightEndTimeMs, unittest.equals('foo')); |
| 2749 unittest.expect(o.flightStartTimeMs, unittest.equals('foo')); | 2749 unittest.expect(o.flightStartTimeMs, unittest.equals('foo')); |
| 2750 unittest.expect(o.hasCreatorSignedOff, unittest.isTrue); | 2750 unittest.expect(o.hasCreatorSignedOff, unittest.isTrue); |
| 2751 unittest.expect(o.inventorySource, unittest.equals('foo')); | 2751 unittest.expect(o.inventorySource, unittest.equals('foo')); |
| 2752 unittest.expect(o.kind, unittest.equals('foo')); | 2752 unittest.expect(o.kind, unittest.equals('foo')); |
| 2753 checkUnnamed127(o.labels); | 2753 checkUnnamed2357(o.labels); |
| 2754 unittest.expect(o.lastUpdateTimeMs, unittest.equals('foo')); | 2754 unittest.expect(o.lastUpdateTimeMs, unittest.equals('foo')); |
| 2755 unittest.expect(o.legacyOfferId, unittest.equals('foo')); | 2755 unittest.expect(o.legacyOfferId, unittest.equals('foo')); |
| 2756 unittest.expect(o.name, unittest.equals('foo')); | 2756 unittest.expect(o.name, unittest.equals('foo')); |
| 2757 unittest.expect(o.privateAuctionId, unittest.equals('foo')); | 2757 unittest.expect(o.privateAuctionId, unittest.equals('foo')); |
| 2758 unittest.expect(o.productId, unittest.equals('foo')); | 2758 unittest.expect(o.productId, unittest.equals('foo')); |
| 2759 unittest.expect(o.publisherProfileId, unittest.equals('foo')); | 2759 unittest.expect(o.publisherProfileId, unittest.equals('foo')); |
| 2760 checkPublisherProvidedForecast(o.publisherProvidedForecast); | 2760 checkPublisherProvidedForecast(o.publisherProvidedForecast); |
| 2761 unittest.expect(o.revisionNumber, unittest.equals('foo')); | 2761 unittest.expect(o.revisionNumber, unittest.equals('foo')); |
| 2762 checkSeller(o.seller); | 2762 checkSeller(o.seller); |
| 2763 checkUnnamed128(o.sharedTargetings); | 2763 checkUnnamed2358(o.sharedTargetings); |
| 2764 unittest.expect(o.state, unittest.equals('foo')); | 2764 unittest.expect(o.state, unittest.equals('foo')); |
| 2765 unittest.expect(o.syndicationProduct, unittest.equals('foo')); | 2765 unittest.expect(o.syndicationProduct, unittest.equals('foo')); |
| 2766 checkDealTerms(o.terms); | 2766 checkDealTerms(o.terms); |
| 2767 unittest.expect(o.webPropertyCode, unittest.equals('foo')); | 2767 unittest.expect(o.webPropertyCode, unittest.equals('foo')); |
| 2768 } | 2768 } |
| 2769 buildCounterProduct--; | 2769 buildCounterProduct--; |
| 2770 } | 2770 } |
| 2771 | 2771 |
| 2772 buildUnnamed129() { | 2772 buildUnnamed2359() { |
| 2773 var o = new core.List<api.ContactInformation>(); | 2773 var o = new core.List<api.ContactInformation>(); |
| 2774 o.add(buildContactInformation()); | 2774 o.add(buildContactInformation()); |
| 2775 o.add(buildContactInformation()); | 2775 o.add(buildContactInformation()); |
| 2776 return o; | 2776 return o; |
| 2777 } | 2777 } |
| 2778 | 2778 |
| 2779 checkUnnamed129(core.List<api.ContactInformation> o) { | 2779 checkUnnamed2359(core.List<api.ContactInformation> o) { |
| 2780 unittest.expect(o, unittest.hasLength(2)); | 2780 unittest.expect(o, unittest.hasLength(2)); |
| 2781 checkContactInformation(o[0]); | 2781 checkContactInformation(o[0]); |
| 2782 checkContactInformation(o[1]); | 2782 checkContactInformation(o[1]); |
| 2783 } | 2783 } |
| 2784 | 2784 |
| 2785 buildUnnamed130() { | 2785 buildUnnamed2360() { |
| 2786 var o = new core.List<api.MarketplaceLabel>(); | 2786 var o = new core.List<api.MarketplaceLabel>(); |
| 2787 o.add(buildMarketplaceLabel()); | 2787 o.add(buildMarketplaceLabel()); |
| 2788 o.add(buildMarketplaceLabel()); | 2788 o.add(buildMarketplaceLabel()); |
| 2789 return o; | 2789 return o; |
| 2790 } | 2790 } |
| 2791 | 2791 |
| 2792 checkUnnamed130(core.List<api.MarketplaceLabel> o) { | 2792 checkUnnamed2360(core.List<api.MarketplaceLabel> o) { |
| 2793 unittest.expect(o, unittest.hasLength(2)); | 2793 unittest.expect(o, unittest.hasLength(2)); |
| 2794 checkMarketplaceLabel(o[0]); | 2794 checkMarketplaceLabel(o[0]); |
| 2795 checkMarketplaceLabel(o[1]); | 2795 checkMarketplaceLabel(o[1]); |
| 2796 } | 2796 } |
| 2797 | 2797 |
| 2798 buildUnnamed131() { | 2798 buildUnnamed2361() { |
| 2799 var o = new core.List<api.ContactInformation>(); | 2799 var o = new core.List<api.ContactInformation>(); |
| 2800 o.add(buildContactInformation()); | 2800 o.add(buildContactInformation()); |
| 2801 o.add(buildContactInformation()); | 2801 o.add(buildContactInformation()); |
| 2802 return o; | 2802 return o; |
| 2803 } | 2803 } |
| 2804 | 2804 |
| 2805 checkUnnamed131(core.List<api.ContactInformation> o) { | 2805 checkUnnamed2361(core.List<api.ContactInformation> o) { |
| 2806 unittest.expect(o, unittest.hasLength(2)); | 2806 unittest.expect(o, unittest.hasLength(2)); |
| 2807 checkContactInformation(o[0]); | 2807 checkContactInformation(o[0]); |
| 2808 checkContactInformation(o[1]); | 2808 checkContactInformation(o[1]); |
| 2809 } | 2809 } |
| 2810 | 2810 |
| 2811 core.int buildCounterProposal = 0; | 2811 core.int buildCounterProposal = 0; |
| 2812 buildProposal() { | 2812 buildProposal() { |
| 2813 var o = new api.Proposal(); | 2813 var o = new api.Proposal(); |
| 2814 buildCounterProposal++; | 2814 buildCounterProposal++; |
| 2815 if (buildCounterProposal < 3) { | 2815 if (buildCounterProposal < 3) { |
| 2816 o.billedBuyer = buildBuyer(); | 2816 o.billedBuyer = buildBuyer(); |
| 2817 o.buyer = buildBuyer(); | 2817 o.buyer = buildBuyer(); |
| 2818 o.buyerContacts = buildUnnamed129(); | 2818 o.buyerContacts = buildUnnamed2359(); |
| 2819 o.buyerPrivateData = buildPrivateData(); | 2819 o.buyerPrivateData = buildPrivateData(); |
| 2820 o.hasBuyerSignedOff = true; | 2820 o.hasBuyerSignedOff = true; |
| 2821 o.hasSellerSignedOff = true; | 2821 o.hasSellerSignedOff = true; |
| 2822 o.inventorySource = "foo"; | 2822 o.inventorySource = "foo"; |
| 2823 o.isRenegotiating = true; | 2823 o.isRenegotiating = true; |
| 2824 o.isSetupComplete = true; | 2824 o.isSetupComplete = true; |
| 2825 o.kind = "foo"; | 2825 o.kind = "foo"; |
| 2826 o.labels = buildUnnamed130(); | 2826 o.labels = buildUnnamed2360(); |
| 2827 o.lastUpdaterOrCommentorRole = "foo"; | 2827 o.lastUpdaterOrCommentorRole = "foo"; |
| 2828 o.name = "foo"; | 2828 o.name = "foo"; |
| 2829 o.negotiationId = "foo"; | 2829 o.negotiationId = "foo"; |
| 2830 o.originatorRole = "foo"; | 2830 o.originatorRole = "foo"; |
| 2831 o.privateAuctionId = "foo"; | 2831 o.privateAuctionId = "foo"; |
| 2832 o.proposalId = "foo"; | 2832 o.proposalId = "foo"; |
| 2833 o.proposalState = "foo"; | 2833 o.proposalState = "foo"; |
| 2834 o.revisionNumber = "foo"; | 2834 o.revisionNumber = "foo"; |
| 2835 o.revisionTimeMs = "foo"; | 2835 o.revisionTimeMs = "foo"; |
| 2836 o.seller = buildSeller(); | 2836 o.seller = buildSeller(); |
| 2837 o.sellerContacts = buildUnnamed131(); | 2837 o.sellerContacts = buildUnnamed2361(); |
| 2838 } | 2838 } |
| 2839 buildCounterProposal--; | 2839 buildCounterProposal--; |
| 2840 return o; | 2840 return o; |
| 2841 } | 2841 } |
| 2842 | 2842 |
| 2843 checkProposal(api.Proposal o) { | 2843 checkProposal(api.Proposal o) { |
| 2844 buildCounterProposal++; | 2844 buildCounterProposal++; |
| 2845 if (buildCounterProposal < 3) { | 2845 if (buildCounterProposal < 3) { |
| 2846 checkBuyer(o.billedBuyer); | 2846 checkBuyer(o.billedBuyer); |
| 2847 checkBuyer(o.buyer); | 2847 checkBuyer(o.buyer); |
| 2848 checkUnnamed129(o.buyerContacts); | 2848 checkUnnamed2359(o.buyerContacts); |
| 2849 checkPrivateData(o.buyerPrivateData); | 2849 checkPrivateData(o.buyerPrivateData); |
| 2850 unittest.expect(o.hasBuyerSignedOff, unittest.isTrue); | 2850 unittest.expect(o.hasBuyerSignedOff, unittest.isTrue); |
| 2851 unittest.expect(o.hasSellerSignedOff, unittest.isTrue); | 2851 unittest.expect(o.hasSellerSignedOff, unittest.isTrue); |
| 2852 unittest.expect(o.inventorySource, unittest.equals('foo')); | 2852 unittest.expect(o.inventorySource, unittest.equals('foo')); |
| 2853 unittest.expect(o.isRenegotiating, unittest.isTrue); | 2853 unittest.expect(o.isRenegotiating, unittest.isTrue); |
| 2854 unittest.expect(o.isSetupComplete, unittest.isTrue); | 2854 unittest.expect(o.isSetupComplete, unittest.isTrue); |
| 2855 unittest.expect(o.kind, unittest.equals('foo')); | 2855 unittest.expect(o.kind, unittest.equals('foo')); |
| 2856 checkUnnamed130(o.labels); | 2856 checkUnnamed2360(o.labels); |
| 2857 unittest.expect(o.lastUpdaterOrCommentorRole, unittest.equals('foo')); | 2857 unittest.expect(o.lastUpdaterOrCommentorRole, unittest.equals('foo')); |
| 2858 unittest.expect(o.name, unittest.equals('foo')); | 2858 unittest.expect(o.name, unittest.equals('foo')); |
| 2859 unittest.expect(o.negotiationId, unittest.equals('foo')); | 2859 unittest.expect(o.negotiationId, unittest.equals('foo')); |
| 2860 unittest.expect(o.originatorRole, unittest.equals('foo')); | 2860 unittest.expect(o.originatorRole, unittest.equals('foo')); |
| 2861 unittest.expect(o.privateAuctionId, unittest.equals('foo')); | 2861 unittest.expect(o.privateAuctionId, unittest.equals('foo')); |
| 2862 unittest.expect(o.proposalId, unittest.equals('foo')); | 2862 unittest.expect(o.proposalId, unittest.equals('foo')); |
| 2863 unittest.expect(o.proposalState, unittest.equals('foo')); | 2863 unittest.expect(o.proposalState, unittest.equals('foo')); |
| 2864 unittest.expect(o.revisionNumber, unittest.equals('foo')); | 2864 unittest.expect(o.revisionNumber, unittest.equals('foo')); |
| 2865 unittest.expect(o.revisionTimeMs, unittest.equals('foo')); | 2865 unittest.expect(o.revisionTimeMs, unittest.equals('foo')); |
| 2866 checkSeller(o.seller); | 2866 checkSeller(o.seller); |
| 2867 checkUnnamed131(o.sellerContacts); | 2867 checkUnnamed2361(o.sellerContacts); |
| 2868 } | 2868 } |
| 2869 buildCounterProposal--; | 2869 buildCounterProposal--; |
| 2870 } | 2870 } |
| 2871 | 2871 |
| 2872 buildUnnamed132() { | 2872 buildUnnamed2362() { |
| 2873 var o = new core.List<core.String>(); | 2873 var o = new core.List<core.String>(); |
| 2874 o.add("foo"); | 2874 o.add("foo"); |
| 2875 o.add("foo"); | 2875 o.add("foo"); |
| 2876 return o; | 2876 return o; |
| 2877 } | 2877 } |
| 2878 | 2878 |
| 2879 checkUnnamed132(core.List<core.String> o) { | 2879 checkUnnamed2362(core.List<core.String> o) { |
| 2880 unittest.expect(o, unittest.hasLength(2)); | 2880 unittest.expect(o, unittest.hasLength(2)); |
| 2881 unittest.expect(o[0], unittest.equals('foo')); | 2881 unittest.expect(o[0], unittest.equals('foo')); |
| 2882 unittest.expect(o[1], unittest.equals('foo')); | 2882 unittest.expect(o[1], unittest.equals('foo')); |
| 2883 } | 2883 } |
| 2884 | 2884 |
| 2885 buildUnnamed133() { | 2885 buildUnnamed2363() { |
| 2886 var o = new core.List<core.String>(); | 2886 var o = new core.List<core.String>(); |
| 2887 o.add("foo"); | 2887 o.add("foo"); |
| 2888 o.add("foo"); | 2888 o.add("foo"); |
| 2889 return o; | 2889 return o; |
| 2890 } | 2890 } |
| 2891 | 2891 |
| 2892 checkUnnamed133(core.List<core.String> o) { | 2892 checkUnnamed2363(core.List<core.String> o) { |
| 2893 unittest.expect(o, unittest.hasLength(2)); | 2893 unittest.expect(o, unittest.hasLength(2)); |
| 2894 unittest.expect(o[0], unittest.equals('foo')); | 2894 unittest.expect(o[0], unittest.equals('foo')); |
| 2895 unittest.expect(o[1], unittest.equals('foo')); | 2895 unittest.expect(o[1], unittest.equals('foo')); |
| 2896 } | 2896 } |
| 2897 | 2897 |
| 2898 core.int buildCounterPublisherProfileApiProto = 0; | 2898 core.int buildCounterPublisherProfileApiProto = 0; |
| 2899 buildPublisherProfileApiProto() { | 2899 buildPublisherProfileApiProto() { |
| 2900 var o = new api.PublisherProfileApiProto(); | 2900 var o = new api.PublisherProfileApiProto(); |
| 2901 buildCounterPublisherProfileApiProto++; | 2901 buildCounterPublisherProfileApiProto++; |
| 2902 if (buildCounterPublisherProfileApiProto < 3) { | 2902 if (buildCounterPublisherProfileApiProto < 3) { |
| 2903 o.accountId = "foo"; | 2903 o.accountId = "foo"; |
| 2904 o.audience = "foo"; | 2904 o.audience = "foo"; |
| 2905 o.buyerPitchStatement = "foo"; | 2905 o.buyerPitchStatement = "foo"; |
| 2906 o.directContact = "foo"; | 2906 o.directContact = "foo"; |
| 2907 o.exchange = "foo"; | 2907 o.exchange = "foo"; |
| 2908 o.googlePlusLink = "foo"; | 2908 o.googlePlusLink = "foo"; |
| 2909 o.isParent = true; | 2909 o.isParent = true; |
| 2910 o.isPublished = true; | 2910 o.isPublished = true; |
| 2911 o.kind = "foo"; | 2911 o.kind = "foo"; |
| 2912 o.logoUrl = "foo"; | 2912 o.logoUrl = "foo"; |
| 2913 o.mediaKitLink = "foo"; | 2913 o.mediaKitLink = "foo"; |
| 2914 o.name = "foo"; | 2914 o.name = "foo"; |
| 2915 o.overview = "foo"; | 2915 o.overview = "foo"; |
| 2916 o.profileId = 42; | 2916 o.profileId = 42; |
| 2917 o.programmaticContact = "foo"; | 2917 o.programmaticContact = "foo"; |
| 2918 o.publisherDomains = buildUnnamed132(); | 2918 o.publisherDomains = buildUnnamed2362(); |
| 2919 o.publisherProfileId = "foo"; | 2919 o.publisherProfileId = "foo"; |
| 2920 o.publisherProvidedForecast = buildPublisherProvidedForecast(); | 2920 o.publisherProvidedForecast = buildPublisherProvidedForecast(); |
| 2921 o.rateCardInfoLink = "foo"; | 2921 o.rateCardInfoLink = "foo"; |
| 2922 o.samplePageLink = "foo"; | 2922 o.samplePageLink = "foo"; |
| 2923 o.seller = buildSeller(); | 2923 o.seller = buildSeller(); |
| 2924 o.state = "foo"; | 2924 o.state = "foo"; |
| 2925 o.topHeadlines = buildUnnamed133(); | 2925 o.topHeadlines = buildUnnamed2363(); |
| 2926 } | 2926 } |
| 2927 buildCounterPublisherProfileApiProto--; | 2927 buildCounterPublisherProfileApiProto--; |
| 2928 return o; | 2928 return o; |
| 2929 } | 2929 } |
| 2930 | 2930 |
| 2931 checkPublisherProfileApiProto(api.PublisherProfileApiProto o) { | 2931 checkPublisherProfileApiProto(api.PublisherProfileApiProto o) { |
| 2932 buildCounterPublisherProfileApiProto++; | 2932 buildCounterPublisherProfileApiProto++; |
| 2933 if (buildCounterPublisherProfileApiProto < 3) { | 2933 if (buildCounterPublisherProfileApiProto < 3) { |
| 2934 unittest.expect(o.accountId, unittest.equals('foo')); | 2934 unittest.expect(o.accountId, unittest.equals('foo')); |
| 2935 unittest.expect(o.audience, unittest.equals('foo')); | 2935 unittest.expect(o.audience, unittest.equals('foo')); |
| 2936 unittest.expect(o.buyerPitchStatement, unittest.equals('foo')); | 2936 unittest.expect(o.buyerPitchStatement, unittest.equals('foo')); |
| 2937 unittest.expect(o.directContact, unittest.equals('foo')); | 2937 unittest.expect(o.directContact, unittest.equals('foo')); |
| 2938 unittest.expect(o.exchange, unittest.equals('foo')); | 2938 unittest.expect(o.exchange, unittest.equals('foo')); |
| 2939 unittest.expect(o.googlePlusLink, unittest.equals('foo')); | 2939 unittest.expect(o.googlePlusLink, unittest.equals('foo')); |
| 2940 unittest.expect(o.isParent, unittest.isTrue); | 2940 unittest.expect(o.isParent, unittest.isTrue); |
| 2941 unittest.expect(o.isPublished, unittest.isTrue); | 2941 unittest.expect(o.isPublished, unittest.isTrue); |
| 2942 unittest.expect(o.kind, unittest.equals('foo')); | 2942 unittest.expect(o.kind, unittest.equals('foo')); |
| 2943 unittest.expect(o.logoUrl, unittest.equals('foo')); | 2943 unittest.expect(o.logoUrl, unittest.equals('foo')); |
| 2944 unittest.expect(o.mediaKitLink, unittest.equals('foo')); | 2944 unittest.expect(o.mediaKitLink, unittest.equals('foo')); |
| 2945 unittest.expect(o.name, unittest.equals('foo')); | 2945 unittest.expect(o.name, unittest.equals('foo')); |
| 2946 unittest.expect(o.overview, unittest.equals('foo')); | 2946 unittest.expect(o.overview, unittest.equals('foo')); |
| 2947 unittest.expect(o.profileId, unittest.equals(42)); | 2947 unittest.expect(o.profileId, unittest.equals(42)); |
| 2948 unittest.expect(o.programmaticContact, unittest.equals('foo')); | 2948 unittest.expect(o.programmaticContact, unittest.equals('foo')); |
| 2949 checkUnnamed132(o.publisherDomains); | 2949 checkUnnamed2362(o.publisherDomains); |
| 2950 unittest.expect(o.publisherProfileId, unittest.equals('foo')); | 2950 unittest.expect(o.publisherProfileId, unittest.equals('foo')); |
| 2951 checkPublisherProvidedForecast(o.publisherProvidedForecast); | 2951 checkPublisherProvidedForecast(o.publisherProvidedForecast); |
| 2952 unittest.expect(o.rateCardInfoLink, unittest.equals('foo')); | 2952 unittest.expect(o.rateCardInfoLink, unittest.equals('foo')); |
| 2953 unittest.expect(o.samplePageLink, unittest.equals('foo')); | 2953 unittest.expect(o.samplePageLink, unittest.equals('foo')); |
| 2954 checkSeller(o.seller); | 2954 checkSeller(o.seller); |
| 2955 unittest.expect(o.state, unittest.equals('foo')); | 2955 unittest.expect(o.state, unittest.equals('foo')); |
| 2956 checkUnnamed133(o.topHeadlines); | 2956 checkUnnamed2363(o.topHeadlines); |
| 2957 } | 2957 } |
| 2958 buildCounterPublisherProfileApiProto--; | 2958 buildCounterPublisherProfileApiProto--; |
| 2959 } | 2959 } |
| 2960 | 2960 |
| 2961 buildUnnamed134() { | 2961 buildUnnamed2364() { |
| 2962 var o = new core.List<api.Dimension>(); | 2962 var o = new core.List<api.Dimension>(); |
| 2963 o.add(buildDimension()); | 2963 o.add(buildDimension()); |
| 2964 o.add(buildDimension()); | 2964 o.add(buildDimension()); |
| 2965 return o; | 2965 return o; |
| 2966 } | 2966 } |
| 2967 | 2967 |
| 2968 checkUnnamed134(core.List<api.Dimension> o) { | 2968 checkUnnamed2364(core.List<api.Dimension> o) { |
| 2969 unittest.expect(o, unittest.hasLength(2)); | 2969 unittest.expect(o, unittest.hasLength(2)); |
| 2970 checkDimension(o[0]); | 2970 checkDimension(o[0]); |
| 2971 checkDimension(o[1]); | 2971 checkDimension(o[1]); |
| 2972 } | 2972 } |
| 2973 | 2973 |
| 2974 core.int buildCounterPublisherProvidedForecast = 0; | 2974 core.int buildCounterPublisherProvidedForecast = 0; |
| 2975 buildPublisherProvidedForecast() { | 2975 buildPublisherProvidedForecast() { |
| 2976 var o = new api.PublisherProvidedForecast(); | 2976 var o = new api.PublisherProvidedForecast(); |
| 2977 buildCounterPublisherProvidedForecast++; | 2977 buildCounterPublisherProvidedForecast++; |
| 2978 if (buildCounterPublisherProvidedForecast < 3) { | 2978 if (buildCounterPublisherProvidedForecast < 3) { |
| 2979 o.dimensions = buildUnnamed134(); | 2979 o.dimensions = buildUnnamed2364(); |
| 2980 o.weeklyImpressions = "foo"; | 2980 o.weeklyImpressions = "foo"; |
| 2981 o.weeklyUniques = "foo"; | 2981 o.weeklyUniques = "foo"; |
| 2982 } | 2982 } |
| 2983 buildCounterPublisherProvidedForecast--; | 2983 buildCounterPublisherProvidedForecast--; |
| 2984 return o; | 2984 return o; |
| 2985 } | 2985 } |
| 2986 | 2986 |
| 2987 checkPublisherProvidedForecast(api.PublisherProvidedForecast o) { | 2987 checkPublisherProvidedForecast(api.PublisherProvidedForecast o) { |
| 2988 buildCounterPublisherProvidedForecast++; | 2988 buildCounterPublisherProvidedForecast++; |
| 2989 if (buildCounterPublisherProvidedForecast < 3) { | 2989 if (buildCounterPublisherProvidedForecast < 3) { |
| 2990 checkUnnamed134(o.dimensions); | 2990 checkUnnamed2364(o.dimensions); |
| 2991 unittest.expect(o.weeklyImpressions, unittest.equals('foo')); | 2991 unittest.expect(o.weeklyImpressions, unittest.equals('foo')); |
| 2992 unittest.expect(o.weeklyUniques, unittest.equals('foo')); | 2992 unittest.expect(o.weeklyUniques, unittest.equals('foo')); |
| 2993 } | 2993 } |
| 2994 buildCounterPublisherProvidedForecast--; | 2994 buildCounterPublisherProvidedForecast--; |
| 2995 } | 2995 } |
| 2996 | 2996 |
| 2997 core.int buildCounterSeller = 0; | 2997 core.int buildCounterSeller = 0; |
| 2998 buildSeller() { | 2998 buildSeller() { |
| 2999 var o = new api.Seller(); | 2999 var o = new api.Seller(); |
| 3000 buildCounterSeller++; | 3000 buildCounterSeller++; |
| 3001 if (buildCounterSeller < 3) { | 3001 if (buildCounterSeller < 3) { |
| 3002 o.accountId = "foo"; | 3002 o.accountId = "foo"; |
| 3003 o.subAccountId = "foo"; | 3003 o.subAccountId = "foo"; |
| 3004 } | 3004 } |
| 3005 buildCounterSeller--; | 3005 buildCounterSeller--; |
| 3006 return o; | 3006 return o; |
| 3007 } | 3007 } |
| 3008 | 3008 |
| 3009 checkSeller(api.Seller o) { | 3009 checkSeller(api.Seller o) { |
| 3010 buildCounterSeller++; | 3010 buildCounterSeller++; |
| 3011 if (buildCounterSeller < 3) { | 3011 if (buildCounterSeller < 3) { |
| 3012 unittest.expect(o.accountId, unittest.equals('foo')); | 3012 unittest.expect(o.accountId, unittest.equals('foo')); |
| 3013 unittest.expect(o.subAccountId, unittest.equals('foo')); | 3013 unittest.expect(o.subAccountId, unittest.equals('foo')); |
| 3014 } | 3014 } |
| 3015 buildCounterSeller--; | 3015 buildCounterSeller--; |
| 3016 } | 3016 } |
| 3017 | 3017 |
| 3018 buildUnnamed135() { | 3018 buildUnnamed2365() { |
| 3019 var o = new core.List<api.TargetingValue>(); | 3019 var o = new core.List<api.TargetingValue>(); |
| 3020 o.add(buildTargetingValue()); | 3020 o.add(buildTargetingValue()); |
| 3021 o.add(buildTargetingValue()); | 3021 o.add(buildTargetingValue()); |
| 3022 return o; | 3022 return o; |
| 3023 } | 3023 } |
| 3024 | 3024 |
| 3025 checkUnnamed135(core.List<api.TargetingValue> o) { | 3025 checkUnnamed2365(core.List<api.TargetingValue> o) { |
| 3026 unittest.expect(o, unittest.hasLength(2)); | 3026 unittest.expect(o, unittest.hasLength(2)); |
| 3027 checkTargetingValue(o[0]); | 3027 checkTargetingValue(o[0]); |
| 3028 checkTargetingValue(o[1]); | 3028 checkTargetingValue(o[1]); |
| 3029 } | 3029 } |
| 3030 | 3030 |
| 3031 buildUnnamed136() { | 3031 buildUnnamed2366() { |
| 3032 var o = new core.List<api.TargetingValue>(); | 3032 var o = new core.List<api.TargetingValue>(); |
| 3033 o.add(buildTargetingValue()); | 3033 o.add(buildTargetingValue()); |
| 3034 o.add(buildTargetingValue()); | 3034 o.add(buildTargetingValue()); |
| 3035 return o; | 3035 return o; |
| 3036 } | 3036 } |
| 3037 | 3037 |
| 3038 checkUnnamed136(core.List<api.TargetingValue> o) { | 3038 checkUnnamed2366(core.List<api.TargetingValue> o) { |
| 3039 unittest.expect(o, unittest.hasLength(2)); | 3039 unittest.expect(o, unittest.hasLength(2)); |
| 3040 checkTargetingValue(o[0]); | 3040 checkTargetingValue(o[0]); |
| 3041 checkTargetingValue(o[1]); | 3041 checkTargetingValue(o[1]); |
| 3042 } | 3042 } |
| 3043 | 3043 |
| 3044 core.int buildCounterSharedTargeting = 0; | 3044 core.int buildCounterSharedTargeting = 0; |
| 3045 buildSharedTargeting() { | 3045 buildSharedTargeting() { |
| 3046 var o = new api.SharedTargeting(); | 3046 var o = new api.SharedTargeting(); |
| 3047 buildCounterSharedTargeting++; | 3047 buildCounterSharedTargeting++; |
| 3048 if (buildCounterSharedTargeting < 3) { | 3048 if (buildCounterSharedTargeting < 3) { |
| 3049 o.exclusions = buildUnnamed135(); | 3049 o.exclusions = buildUnnamed2365(); |
| 3050 o.inclusions = buildUnnamed136(); | 3050 o.inclusions = buildUnnamed2366(); |
| 3051 o.key = "foo"; | 3051 o.key = "foo"; |
| 3052 } | 3052 } |
| 3053 buildCounterSharedTargeting--; | 3053 buildCounterSharedTargeting--; |
| 3054 return o; | 3054 return o; |
| 3055 } | 3055 } |
| 3056 | 3056 |
| 3057 checkSharedTargeting(api.SharedTargeting o) { | 3057 checkSharedTargeting(api.SharedTargeting o) { |
| 3058 buildCounterSharedTargeting++; | 3058 buildCounterSharedTargeting++; |
| 3059 if (buildCounterSharedTargeting < 3) { | 3059 if (buildCounterSharedTargeting < 3) { |
| 3060 checkUnnamed135(o.exclusions); | 3060 checkUnnamed2365(o.exclusions); |
| 3061 checkUnnamed136(o.inclusions); | 3061 checkUnnamed2366(o.inclusions); |
| 3062 unittest.expect(o.key, unittest.equals('foo')); | 3062 unittest.expect(o.key, unittest.equals('foo')); |
| 3063 } | 3063 } |
| 3064 buildCounterSharedTargeting--; | 3064 buildCounterSharedTargeting--; |
| 3065 } | 3065 } |
| 3066 | 3066 |
| 3067 core.int buildCounterTargetingValue = 0; | 3067 core.int buildCounterTargetingValue = 0; |
| 3068 buildTargetingValue() { | 3068 buildTargetingValue() { |
| 3069 var o = new api.TargetingValue(); | 3069 var o = new api.TargetingValue(); |
| 3070 buildCounterTargetingValue++; | 3070 buildCounterTargetingValue++; |
| 3071 if (buildCounterTargetingValue < 3) { | 3071 if (buildCounterTargetingValue < 3) { |
| (...skipping 10 matching lines...) Expand all Loading... |
| 3082 buildCounterTargetingValue++; | 3082 buildCounterTargetingValue++; |
| 3083 if (buildCounterTargetingValue < 3) { | 3083 if (buildCounterTargetingValue < 3) { |
| 3084 checkTargetingValueCreativeSize(o.creativeSizeValue); | 3084 checkTargetingValueCreativeSize(o.creativeSizeValue); |
| 3085 checkTargetingValueDayPartTargeting(o.dayPartTargetingValue); | 3085 checkTargetingValueDayPartTargeting(o.dayPartTargetingValue); |
| 3086 unittest.expect(o.longValue, unittest.equals('foo')); | 3086 unittest.expect(o.longValue, unittest.equals('foo')); |
| 3087 unittest.expect(o.stringValue, unittest.equals('foo')); | 3087 unittest.expect(o.stringValue, unittest.equals('foo')); |
| 3088 } | 3088 } |
| 3089 buildCounterTargetingValue--; | 3089 buildCounterTargetingValue--; |
| 3090 } | 3090 } |
| 3091 | 3091 |
| 3092 buildUnnamed137() { | 3092 buildUnnamed2367() { |
| 3093 var o = new core.List<api.TargetingValueSize>(); | 3093 var o = new core.List<api.TargetingValueSize>(); |
| 3094 o.add(buildTargetingValueSize()); | 3094 o.add(buildTargetingValueSize()); |
| 3095 o.add(buildTargetingValueSize()); | 3095 o.add(buildTargetingValueSize()); |
| 3096 return o; | 3096 return o; |
| 3097 } | 3097 } |
| 3098 | 3098 |
| 3099 checkUnnamed137(core.List<api.TargetingValueSize> o) { | 3099 checkUnnamed2367(core.List<api.TargetingValueSize> o) { |
| 3100 unittest.expect(o, unittest.hasLength(2)); | 3100 unittest.expect(o, unittest.hasLength(2)); |
| 3101 checkTargetingValueSize(o[0]); | 3101 checkTargetingValueSize(o[0]); |
| 3102 checkTargetingValueSize(o[1]); | 3102 checkTargetingValueSize(o[1]); |
| 3103 } | 3103 } |
| 3104 | 3104 |
| 3105 core.int buildCounterTargetingValueCreativeSize = 0; | 3105 core.int buildCounterTargetingValueCreativeSize = 0; |
| 3106 buildTargetingValueCreativeSize() { | 3106 buildTargetingValueCreativeSize() { |
| 3107 var o = new api.TargetingValueCreativeSize(); | 3107 var o = new api.TargetingValueCreativeSize(); |
| 3108 buildCounterTargetingValueCreativeSize++; | 3108 buildCounterTargetingValueCreativeSize++; |
| 3109 if (buildCounterTargetingValueCreativeSize < 3) { | 3109 if (buildCounterTargetingValueCreativeSize < 3) { |
| 3110 o.companionSizes = buildUnnamed137(); | 3110 o.companionSizes = buildUnnamed2367(); |
| 3111 o.creativeSizeType = "foo"; | 3111 o.creativeSizeType = "foo"; |
| 3112 o.size = buildTargetingValueSize(); | 3112 o.size = buildTargetingValueSize(); |
| 3113 o.skippableAdType = "foo"; | 3113 o.skippableAdType = "foo"; |
| 3114 } | 3114 } |
| 3115 buildCounterTargetingValueCreativeSize--; | 3115 buildCounterTargetingValueCreativeSize--; |
| 3116 return o; | 3116 return o; |
| 3117 } | 3117 } |
| 3118 | 3118 |
| 3119 checkTargetingValueCreativeSize(api.TargetingValueCreativeSize o) { | 3119 checkTargetingValueCreativeSize(api.TargetingValueCreativeSize o) { |
| 3120 buildCounterTargetingValueCreativeSize++; | 3120 buildCounterTargetingValueCreativeSize++; |
| 3121 if (buildCounterTargetingValueCreativeSize < 3) { | 3121 if (buildCounterTargetingValueCreativeSize < 3) { |
| 3122 checkUnnamed137(o.companionSizes); | 3122 checkUnnamed2367(o.companionSizes); |
| 3123 unittest.expect(o.creativeSizeType, unittest.equals('foo')); | 3123 unittest.expect(o.creativeSizeType, unittest.equals('foo')); |
| 3124 checkTargetingValueSize(o.size); | 3124 checkTargetingValueSize(o.size); |
| 3125 unittest.expect(o.skippableAdType, unittest.equals('foo')); | 3125 unittest.expect(o.skippableAdType, unittest.equals('foo')); |
| 3126 } | 3126 } |
| 3127 buildCounterTargetingValueCreativeSize--; | 3127 buildCounterTargetingValueCreativeSize--; |
| 3128 } | 3128 } |
| 3129 | 3129 |
| 3130 buildUnnamed138() { | 3130 buildUnnamed2368() { |
| 3131 var o = new core.List<api.TargetingValueDayPartTargetingDayPart>(); | 3131 var o = new core.List<api.TargetingValueDayPartTargetingDayPart>(); |
| 3132 o.add(buildTargetingValueDayPartTargetingDayPart()); | 3132 o.add(buildTargetingValueDayPartTargetingDayPart()); |
| 3133 o.add(buildTargetingValueDayPartTargetingDayPart()); | 3133 o.add(buildTargetingValueDayPartTargetingDayPart()); |
| 3134 return o; | 3134 return o; |
| 3135 } | 3135 } |
| 3136 | 3136 |
| 3137 checkUnnamed138(core.List<api.TargetingValueDayPartTargetingDayPart> o) { | 3137 checkUnnamed2368(core.List<api.TargetingValueDayPartTargetingDayPart> o) { |
| 3138 unittest.expect(o, unittest.hasLength(2)); | 3138 unittest.expect(o, unittest.hasLength(2)); |
| 3139 checkTargetingValueDayPartTargetingDayPart(o[0]); | 3139 checkTargetingValueDayPartTargetingDayPart(o[0]); |
| 3140 checkTargetingValueDayPartTargetingDayPart(o[1]); | 3140 checkTargetingValueDayPartTargetingDayPart(o[1]); |
| 3141 } | 3141 } |
| 3142 | 3142 |
| 3143 core.int buildCounterTargetingValueDayPartTargeting = 0; | 3143 core.int buildCounterTargetingValueDayPartTargeting = 0; |
| 3144 buildTargetingValueDayPartTargeting() { | 3144 buildTargetingValueDayPartTargeting() { |
| 3145 var o = new api.TargetingValueDayPartTargeting(); | 3145 var o = new api.TargetingValueDayPartTargeting(); |
| 3146 buildCounterTargetingValueDayPartTargeting++; | 3146 buildCounterTargetingValueDayPartTargeting++; |
| 3147 if (buildCounterTargetingValueDayPartTargeting < 3) { | 3147 if (buildCounterTargetingValueDayPartTargeting < 3) { |
| 3148 o.dayParts = buildUnnamed138(); | 3148 o.dayParts = buildUnnamed2368(); |
| 3149 o.timeZoneType = "foo"; | 3149 o.timeZoneType = "foo"; |
| 3150 } | 3150 } |
| 3151 buildCounterTargetingValueDayPartTargeting--; | 3151 buildCounterTargetingValueDayPartTargeting--; |
| 3152 return o; | 3152 return o; |
| 3153 } | 3153 } |
| 3154 | 3154 |
| 3155 checkTargetingValueDayPartTargeting(api.TargetingValueDayPartTargeting o) { | 3155 checkTargetingValueDayPartTargeting(api.TargetingValueDayPartTargeting o) { |
| 3156 buildCounterTargetingValueDayPartTargeting++; | 3156 buildCounterTargetingValueDayPartTargeting++; |
| 3157 if (buildCounterTargetingValueDayPartTargeting < 3) { | 3157 if (buildCounterTargetingValueDayPartTargeting < 3) { |
| 3158 checkUnnamed138(o.dayParts); | 3158 checkUnnamed2368(o.dayParts); |
| 3159 unittest.expect(o.timeZoneType, unittest.equals('foo')); | 3159 unittest.expect(o.timeZoneType, unittest.equals('foo')); |
| 3160 } | 3160 } |
| 3161 buildCounterTargetingValueDayPartTargeting--; | 3161 buildCounterTargetingValueDayPartTargeting--; |
| 3162 } | 3162 } |
| 3163 | 3163 |
| 3164 core.int buildCounterTargetingValueDayPartTargetingDayPart = 0; | 3164 core.int buildCounterTargetingValueDayPartTargetingDayPart = 0; |
| 3165 buildTargetingValueDayPartTargetingDayPart() { | 3165 buildTargetingValueDayPartTargetingDayPart() { |
| 3166 var o = new api.TargetingValueDayPartTargetingDayPart(); | 3166 var o = new api.TargetingValueDayPartTargetingDayPart(); |
| 3167 buildCounterTargetingValueDayPartTargetingDayPart++; | 3167 buildCounterTargetingValueDayPartTargetingDayPart++; |
| 3168 if (buildCounterTargetingValueDayPartTargetingDayPart < 3) { | 3168 if (buildCounterTargetingValueDayPartTargetingDayPart < 3) { |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3227 buildCounterUpdatePrivateAuctionProposalRequest++; | 3227 buildCounterUpdatePrivateAuctionProposalRequest++; |
| 3228 if (buildCounterUpdatePrivateAuctionProposalRequest < 3) { | 3228 if (buildCounterUpdatePrivateAuctionProposalRequest < 3) { |
| 3229 unittest.expect(o.externalDealId, unittest.equals('foo')); | 3229 unittest.expect(o.externalDealId, unittest.equals('foo')); |
| 3230 checkMarketplaceNote(o.note); | 3230 checkMarketplaceNote(o.note); |
| 3231 unittest.expect(o.proposalRevisionNumber, unittest.equals('foo')); | 3231 unittest.expect(o.proposalRevisionNumber, unittest.equals('foo')); |
| 3232 unittest.expect(o.updateAction, unittest.equals('foo')); | 3232 unittest.expect(o.updateAction, unittest.equals('foo')); |
| 3233 } | 3233 } |
| 3234 buildCounterUpdatePrivateAuctionProposalRequest--; | 3234 buildCounterUpdatePrivateAuctionProposalRequest--; |
| 3235 } | 3235 } |
| 3236 | 3236 |
| 3237 buildUnnamed139() { | 3237 buildUnnamed2369() { |
| 3238 var o = new core.List<core.int>(); | 3238 var o = new core.List<core.int>(); |
| 3239 o.add(42); | 3239 o.add(42); |
| 3240 o.add(42); | 3240 o.add(42); |
| 3241 return o; | 3241 return o; |
| 3242 } | 3242 } |
| 3243 | 3243 |
| 3244 checkUnnamed139(core.List<core.int> o) { | 3244 checkUnnamed2369(core.List<core.int> o) { |
| 3245 unittest.expect(o, unittest.hasLength(2)); | 3245 unittest.expect(o, unittest.hasLength(2)); |
| 3246 unittest.expect(o[0], unittest.equals(42)); | 3246 unittest.expect(o[0], unittest.equals(42)); |
| 3247 unittest.expect(o[1], unittest.equals(42)); | 3247 unittest.expect(o[1], unittest.equals(42)); |
| 3248 } | 3248 } |
| 3249 | 3249 |
| 3250 buildUnnamed140() { | 3250 buildUnnamed2370() { |
| 3251 var o = new core.List<core.String>(); | 3251 var o = new core.List<core.String>(); |
| 3252 o.add("foo"); | 3252 o.add("foo"); |
| 3253 o.add("foo"); | 3253 o.add("foo"); |
| 3254 return o; | 3254 return o; |
| 3255 } | 3255 } |
| 3256 | 3256 |
| 3257 checkUnnamed140(core.List<core.String> o) { | 3257 checkUnnamed2370(core.List<core.String> o) { |
| 3258 unittest.expect(o, unittest.hasLength(2)); | 3258 unittest.expect(o, unittest.hasLength(2)); |
| 3259 unittest.expect(o[0], unittest.equals('foo')); | 3259 unittest.expect(o[0], unittest.equals('foo')); |
| 3260 unittest.expect(o[1], unittest.equals('foo')); | 3260 unittest.expect(o[1], unittest.equals('foo')); |
| 3261 } | 3261 } |
| 3262 | 3262 |
| 3263 | 3263 |
| 3264 main() { | 3264 main() { |
| 3265 unittest.group("obj-schema-AccountBidderLocation", () { | 3265 unittest.group("obj-schema-AccountBidderLocation", () { |
| 3266 unittest.test("to-json--from-json", () { | 3266 unittest.test("to-json--from-json", () { |
| 3267 var o = buildAccountBidderLocation(); | 3267 var o = buildAccountBidderLocation(); |
| (...skipping 1321 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4589 }), true); | 4589 }), true); |
| 4590 res.insert(arg_request).then(unittest.expectAsync(((api.Creative response)
{ | 4590 res.insert(arg_request).then(unittest.expectAsync(((api.Creative response)
{ |
| 4591 checkCreative(response); | 4591 checkCreative(response); |
| 4592 }))); | 4592 }))); |
| 4593 }); | 4593 }); |
| 4594 | 4594 |
| 4595 unittest.test("method--list", () { | 4595 unittest.test("method--list", () { |
| 4596 | 4596 |
| 4597 var mock = new HttpServerMock(); | 4597 var mock = new HttpServerMock(); |
| 4598 api.CreativesResourceApi res = new api.AdexchangebuyerApi(mock).creatives; | 4598 api.CreativesResourceApi res = new api.AdexchangebuyerApi(mock).creatives; |
| 4599 var arg_accountId = buildUnnamed139(); | 4599 var arg_accountId = buildUnnamed2369(); |
| 4600 var arg_buyerCreativeId = buildUnnamed140(); | 4600 var arg_buyerCreativeId = buildUnnamed2370(); |
| 4601 var arg_dealsStatusFilter = "foo"; | 4601 var arg_dealsStatusFilter = "foo"; |
| 4602 var arg_maxResults = 42; | 4602 var arg_maxResults = 42; |
| 4603 var arg_openAuctionStatusFilter = "foo"; | 4603 var arg_openAuctionStatusFilter = "foo"; |
| 4604 var arg_pageToken = "foo"; | 4604 var arg_pageToken = "foo"; |
| 4605 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 4605 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 4606 var path = (req.url).path; | 4606 var path = (req.url).path; |
| 4607 var pathOffset = 0; | 4607 var pathOffset = 0; |
| 4608 var index; | 4608 var index; |
| 4609 var subPart; | 4609 var subPart; |
| 4610 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 4610 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| (...skipping 1398 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6009 res.list(arg_accountId).then(unittest.expectAsync(((api.GetPublisherProfil
esByAccountIdResponse response) { | 6009 res.list(arg_accountId).then(unittest.expectAsync(((api.GetPublisherProfil
esByAccountIdResponse response) { |
| 6010 checkGetPublisherProfilesByAccountIdResponse(response); | 6010 checkGetPublisherProfilesByAccountIdResponse(response); |
| 6011 }))); | 6011 }))); |
| 6012 }); | 6012 }); |
| 6013 | 6013 |
| 6014 }); | 6014 }); |
| 6015 | 6015 |
| 6016 | 6016 |
| 6017 } | 6017 } |
| 6018 | 6018 |
| OLD | NEW |