| 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 buildUnnamed1903() { | 79 buildUnnamed1673() { |
| 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 checkUnnamed1903(core.List<api.AccountBidderLocation> o) { | 86 checkUnnamed1673(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 = buildUnnamed1903(); | 97 o.bidderLocation = buildUnnamed1673(); |
| 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 checkUnnamed1903(o.bidderLocation); | 113 checkUnnamed1673(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 buildUnnamed1904() { | 125 buildUnnamed1674() { |
| 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 checkUnnamed1904(core.List<api.Account> o) { | 132 checkUnnamed1674(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 = buildUnnamed1904(); | 143 o.items = buildUnnamed1674(); |
| 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 checkUnnamed1904(o.items); | 153 checkUnnamed1674(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 buildUnnamed1905() { | 159 buildUnnamed1675() { |
| 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 checkUnnamed1905(core.List<api.MarketplaceDeal> o) { | 166 checkUnnamed1675(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 = buildUnnamed1905(); | 177 o.deals = buildUnnamed1675(); |
| 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 checkUnnamed1905(o.deals); | 188 checkUnnamed1675(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 buildUnnamed1906() { | 195 buildUnnamed1676() { |
| 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 checkUnnamed1906(core.List<api.MarketplaceDeal> o) { | 202 checkUnnamed1676(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 = buildUnnamed1906(); | 213 o.deals = buildUnnamed1676(); |
| 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 checkUnnamed1906(o.deals); | 223 checkUnnamed1676(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 buildUnnamed1907() { | 229 buildUnnamed1677() { |
| 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 checkUnnamed1907(core.List<api.MarketplaceNote> o) { | 236 checkUnnamed1677(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 = buildUnnamed1907(); | 247 o.notes = buildUnnamed1677(); |
| 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 checkUnnamed1907(o.notes); | 256 checkUnnamed1677(o.notes); |
| 257 } | 257 } |
| 258 buildCounterAddOrderNotesRequest--; | 258 buildCounterAddOrderNotesRequest--; |
| 259 } | 259 } |
| 260 | 260 |
| 261 buildUnnamed1908() { | 261 buildUnnamed1678() { |
| 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 checkUnnamed1908(core.List<api.MarketplaceNote> o) { | 268 checkUnnamed1678(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 = buildUnnamed1908(); | 279 o.notes = buildUnnamed1678(); |
| 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 checkUnnamed1908(o.notes); | 288 checkUnnamed1678(o.notes); |
| 289 } | 289 } |
| 290 buildCounterAddOrderNotesResponse--; | 290 buildCounterAddOrderNotesResponse--; |
| 291 } | 291 } |
| 292 | 292 |
| 293 buildUnnamed1909() { | 293 buildUnnamed1679() { |
| 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 checkUnnamed1909(core.List<core.String> o) { | 300 checkUnnamed1679(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 = buildUnnamed1909(); | 313 o.billingId = buildUnnamed1679(); |
| 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 checkUnnamed1909(o.billingId); | 325 checkUnnamed1679(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 buildUnnamed1910() { | 331 buildUnnamed1680() { |
| 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 checkUnnamed1910(core.List<api.BillingInfo> o) { | 338 checkUnnamed1680(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 = buildUnnamed1910(); | 349 o.items = buildUnnamed1680(); |
| 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 checkUnnamed1910(o.items); | 359 checkUnnamed1680(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 buildUnnamed1911() { | 434 buildUnnamed1681() { |
| 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 checkUnnamed1911(core.List<api.Proposal> o) { | 441 checkUnnamed1681(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 = buildUnnamed1911(); | 452 o.proposals = buildUnnamed1681(); |
| 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 checkUnnamed1911(o.proposals); | 462 checkUnnamed1681(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 buildUnnamed1912() { | 468 buildUnnamed1682() { |
| 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 checkUnnamed1912(core.List<api.Proposal> o) { | 475 checkUnnamed1682(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 = buildUnnamed1912(); | 486 o.proposals = buildUnnamed1682(); |
| 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 checkUnnamed1912(o.proposals); | 495 checkUnnamed1682(o.proposals); |
| 496 } | 496 } |
| 497 buildCounterCreateOrdersResponse--; | 497 buildCounterCreateOrdersResponse--; |
| 498 } | 498 } |
| 499 | 499 |
| 500 buildUnnamed1913() { | 500 buildUnnamed1683() { |
| 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 checkUnnamed1913(core.List<core.String> o) { | 507 checkUnnamed1683(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 buildUnnamed1914() { | 513 buildUnnamed1684() { |
| 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 checkUnnamed1914(core.List<core.int> o) { | 520 checkUnnamed1684(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 buildUnnamed1915() { | 526 buildUnnamed1685() { |
| 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 checkUnnamed1915(core.List<core.String> o) { | 533 checkUnnamed1685(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 buildUnnamed1916() { | 539 buildUnnamed1686() { |
| 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 checkUnnamed1916(core.List<core.String> o) { | 546 checkUnnamed1686(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 buildUnnamed1917() { | 552 buildUnnamed1687() { |
| 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 checkUnnamed1917(core.List<core.int> o) { | 559 checkUnnamed1687(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 buildUnnamed1918() { | 565 buildUnnamed1688() { |
| 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 checkUnnamed1918(core.List<core.String> o) { | 572 checkUnnamed1688(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 = buildUnnamed1916(); | 583 o.auctionType = buildUnnamed1686(); |
| 584 o.contextType = "foo"; | 584 o.contextType = "foo"; |
| 585 o.geoCriteriaId = buildUnnamed1917(); | 585 o.geoCriteriaId = buildUnnamed1687(); |
| 586 o.platform = buildUnnamed1918(); | 586 o.platform = buildUnnamed1688(); |
| 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 checkUnnamed1916(o.auctionType); | 595 checkUnnamed1686(o.auctionType); |
| 596 unittest.expect(o.contextType, unittest.equals('foo')); | 596 unittest.expect(o.contextType, unittest.equals('foo')); |
| 597 checkUnnamed1917(o.geoCriteriaId); | 597 checkUnnamed1687(o.geoCriteriaId); |
| 598 checkUnnamed1918(o.platform); | 598 checkUnnamed1688(o.platform); |
| 599 } | 599 } |
| 600 buildCounterCreativeCorrectionsContexts--; | 600 buildCounterCreativeCorrectionsContexts--; |
| 601 } | 601 } |
| 602 | 602 |
| 603 buildUnnamed1919() { | 603 buildUnnamed1689() { |
| 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 checkUnnamed1919(core.List<api.CreativeCorrectionsContexts> o) { | 610 checkUnnamed1689(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 buildUnnamed1920() { | 616 buildUnnamed1690() { |
| 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 checkUnnamed1920(core.List<core.String> o) { | 623 checkUnnamed1690(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 = buildUnnamed1919(); | 634 o.contexts = buildUnnamed1689(); |
| 635 o.details = buildUnnamed1920(); | 635 o.details = buildUnnamed1690(); |
| 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 checkUnnamed1919(o.contexts); | 645 checkUnnamed1689(o.contexts); |
| 646 checkUnnamed1920(o.details); | 646 checkUnnamed1690(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 buildUnnamed1921() { | 652 buildUnnamed1691() { |
| 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 checkUnnamed1921(core.List<api.CreativeCorrections> o) { | 659 checkUnnamed1691(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 buildUnnamed1922() { | 665 buildUnnamed1692() { |
| 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 checkUnnamed1922(core.List<core.String> o) { | 672 checkUnnamed1692(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 buildUnnamed1923() { | 699 buildUnnamed1693() { |
| 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 checkUnnamed1923(core.List<api.CreativeFilteringReasonsReasons> o) { | 706 checkUnnamed1693(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 = buildUnnamed1923(); | 718 o.reasons = buildUnnamed1693(); |
| 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 checkUnnamed1923(o.reasons); | 728 checkUnnamed1693(o.reasons); |
| 729 } | 729 } |
| 730 buildCounterCreativeFilteringReasons--; | 730 buildCounterCreativeFilteringReasons--; |
| 731 } | 731 } |
| 732 | 732 |
| 733 buildUnnamed1924() { | 733 buildUnnamed1694() { |
| 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 checkUnnamed1924(core.List<core.String> o) { | 740 checkUnnamed1694(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 buildUnnamed1925() { | 746 buildUnnamed1695() { |
| 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 checkUnnamed1925(core.List<core.String> o) { | 753 checkUnnamed1695(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 buildUnnamed1926() { | 805 buildUnnamed1696() { |
| 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 checkUnnamed1926(core.List<core.String> o) { | 812 checkUnnamed1696(core.List<core.String> o) { |
| 813 unittest.expect(o, unittest.hasLength(2)); | 813 unittest.expect(o, unittest.hasLength(2)); |
| 814 unittest.expect(o[0], unittest.equals('foo')); | 814 unittest.expect(o[0], unittest.equals('foo')); |
| 815 unittest.expect(o[1], unittest.equals('foo')); | 815 unittest.expect(o[1], unittest.equals('foo')); |
| 816 } | 816 } |
| 817 | 817 |
| 818 core.int buildCounterCreativeNativeAdLogo = 0; | 818 core.int buildCounterCreativeNativeAdLogo = 0; |
| 819 buildCreativeNativeAdLogo() { | 819 buildCreativeNativeAdLogo() { |
| 820 var o = new api.CreativeNativeAdLogo(); | 820 var o = new api.CreativeNativeAdLogo(); |
| 821 buildCounterCreativeNativeAdLogo++; | 821 buildCounterCreativeNativeAdLogo++; |
| 822 if (buildCounterCreativeNativeAdLogo < 3) { | 822 if (buildCounterCreativeNativeAdLogo < 3) { |
| (...skipping 21 matching lines...) Expand all Loading... |
| 844 buildCounterCreativeNativeAd++; | 844 buildCounterCreativeNativeAd++; |
| 845 if (buildCounterCreativeNativeAd < 3) { | 845 if (buildCounterCreativeNativeAd < 3) { |
| 846 o.advertiser = "foo"; | 846 o.advertiser = "foo"; |
| 847 o.appIcon = buildCreativeNativeAdAppIcon(); | 847 o.appIcon = buildCreativeNativeAdAppIcon(); |
| 848 o.body = "foo"; | 848 o.body = "foo"; |
| 849 o.callToAction = "foo"; | 849 o.callToAction = "foo"; |
| 850 o.clickLinkUrl = "foo"; | 850 o.clickLinkUrl = "foo"; |
| 851 o.clickTrackingUrl = "foo"; | 851 o.clickTrackingUrl = "foo"; |
| 852 o.headline = "foo"; | 852 o.headline = "foo"; |
| 853 o.image = buildCreativeNativeAdImage(); | 853 o.image = buildCreativeNativeAdImage(); |
| 854 o.impressionTrackingUrl = buildUnnamed1926(); | 854 o.impressionTrackingUrl = buildUnnamed1696(); |
| 855 o.logo = buildCreativeNativeAdLogo(); | 855 o.logo = buildCreativeNativeAdLogo(); |
| 856 o.price = "foo"; | 856 o.price = "foo"; |
| 857 o.starRating = 42.0; | 857 o.starRating = 42.0; |
| 858 o.store = "foo"; | 858 o.store = "foo"; |
| 859 o.videoURL = "foo"; | 859 o.videoURL = "foo"; |
| 860 } | 860 } |
| 861 buildCounterCreativeNativeAd--; | 861 buildCounterCreativeNativeAd--; |
| 862 return o; | 862 return o; |
| 863 } | 863 } |
| 864 | 864 |
| 865 checkCreativeNativeAd(api.CreativeNativeAd o) { | 865 checkCreativeNativeAd(api.CreativeNativeAd o) { |
| 866 buildCounterCreativeNativeAd++; | 866 buildCounterCreativeNativeAd++; |
| 867 if (buildCounterCreativeNativeAd < 3) { | 867 if (buildCounterCreativeNativeAd < 3) { |
| 868 unittest.expect(o.advertiser, unittest.equals('foo')); | 868 unittest.expect(o.advertiser, unittest.equals('foo')); |
| 869 checkCreativeNativeAdAppIcon(o.appIcon); | 869 checkCreativeNativeAdAppIcon(o.appIcon); |
| 870 unittest.expect(o.body, unittest.equals('foo')); | 870 unittest.expect(o.body, unittest.equals('foo')); |
| 871 unittest.expect(o.callToAction, unittest.equals('foo')); | 871 unittest.expect(o.callToAction, unittest.equals('foo')); |
| 872 unittest.expect(o.clickLinkUrl, unittest.equals('foo')); | 872 unittest.expect(o.clickLinkUrl, unittest.equals('foo')); |
| 873 unittest.expect(o.clickTrackingUrl, unittest.equals('foo')); | 873 unittest.expect(o.clickTrackingUrl, unittest.equals('foo')); |
| 874 unittest.expect(o.headline, unittest.equals('foo')); | 874 unittest.expect(o.headline, unittest.equals('foo')); |
| 875 checkCreativeNativeAdImage(o.image); | 875 checkCreativeNativeAdImage(o.image); |
| 876 checkUnnamed1926(o.impressionTrackingUrl); | 876 checkUnnamed1696(o.impressionTrackingUrl); |
| 877 checkCreativeNativeAdLogo(o.logo); | 877 checkCreativeNativeAdLogo(o.logo); |
| 878 unittest.expect(o.price, unittest.equals('foo')); | 878 unittest.expect(o.price, unittest.equals('foo')); |
| 879 unittest.expect(o.starRating, unittest.equals(42.0)); | 879 unittest.expect(o.starRating, unittest.equals(42.0)); |
| 880 unittest.expect(o.store, unittest.equals('foo')); | 880 unittest.expect(o.store, unittest.equals('foo')); |
| 881 unittest.expect(o.videoURL, unittest.equals('foo')); | 881 unittest.expect(o.videoURL, unittest.equals('foo')); |
| 882 } | 882 } |
| 883 buildCounterCreativeNativeAd--; | 883 buildCounterCreativeNativeAd--; |
| 884 } | 884 } |
| 885 | 885 |
| 886 buildUnnamed1927() { | 886 buildUnnamed1697() { |
| 887 var o = new core.List<core.int>(); | 887 var o = new core.List<core.int>(); |
| 888 o.add(42); | 888 o.add(42); |
| 889 o.add(42); | 889 o.add(42); |
| 890 return o; | 890 return o; |
| 891 } | 891 } |
| 892 | 892 |
| 893 checkUnnamed1927(core.List<core.int> o) { | 893 checkUnnamed1697(core.List<core.int> o) { |
| 894 unittest.expect(o, unittest.hasLength(2)); | 894 unittest.expect(o, unittest.hasLength(2)); |
| 895 unittest.expect(o[0], unittest.equals(42)); | 895 unittest.expect(o[0], unittest.equals(42)); |
| 896 unittest.expect(o[1], unittest.equals(42)); | 896 unittest.expect(o[1], unittest.equals(42)); |
| 897 } | 897 } |
| 898 | 898 |
| 899 buildUnnamed1928() { | 899 buildUnnamed1698() { |
| 900 var o = new core.List<core.int>(); | 900 var o = new core.List<core.int>(); |
| 901 o.add(42); | 901 o.add(42); |
| 902 o.add(42); | 902 o.add(42); |
| 903 return o; | 903 return o; |
| 904 } | 904 } |
| 905 | 905 |
| 906 checkUnnamed1928(core.List<core.int> o) { | 906 checkUnnamed1698(core.List<core.int> o) { |
| 907 unittest.expect(o, unittest.hasLength(2)); | 907 unittest.expect(o, unittest.hasLength(2)); |
| 908 unittest.expect(o[0], unittest.equals(42)); | 908 unittest.expect(o[0], unittest.equals(42)); |
| 909 unittest.expect(o[1], unittest.equals(42)); | 909 unittest.expect(o[1], unittest.equals(42)); |
| 910 } | 910 } |
| 911 | 911 |
| 912 buildUnnamed1929() { | 912 buildUnnamed1699() { |
| 913 var o = new core.List<core.int>(); | 913 var o = new core.List<core.int>(); |
| 914 o.add(42); | 914 o.add(42); |
| 915 o.add(42); | 915 o.add(42); |
| 916 return o; | 916 return o; |
| 917 } | 917 } |
| 918 | 918 |
| 919 checkUnnamed1929(core.List<core.int> o) { | 919 checkUnnamed1699(core.List<core.int> o) { |
| 920 unittest.expect(o, unittest.hasLength(2)); | 920 unittest.expect(o, unittest.hasLength(2)); |
| 921 unittest.expect(o[0], unittest.equals(42)); | 921 unittest.expect(o[0], unittest.equals(42)); |
| 922 unittest.expect(o[1], unittest.equals(42)); | 922 unittest.expect(o[1], unittest.equals(42)); |
| 923 } | 923 } |
| 924 | 924 |
| 925 buildUnnamed1930() { | 925 buildUnnamed1700() { |
| 926 var o = new core.List<core.String>(); | 926 var o = new core.List<core.String>(); |
| 927 o.add("foo"); | 927 o.add("foo"); |
| 928 o.add("foo"); | 928 o.add("foo"); |
| 929 return o; | 929 return o; |
| 930 } | 930 } |
| 931 | 931 |
| 932 checkUnnamed1930(core.List<core.String> o) { | 932 checkUnnamed1700(core.List<core.String> o) { |
| 933 unittest.expect(o, unittest.hasLength(2)); | 933 unittest.expect(o, unittest.hasLength(2)); |
| 934 unittest.expect(o[0], unittest.equals('foo')); | 934 unittest.expect(o[0], unittest.equals('foo')); |
| 935 unittest.expect(o[1], unittest.equals('foo')); | 935 unittest.expect(o[1], unittest.equals('foo')); |
| 936 } | 936 } |
| 937 | 937 |
| 938 buildUnnamed1931() { | 938 buildUnnamed1701() { |
| 939 var o = new core.List<core.int>(); | 939 var o = new core.List<core.int>(); |
| 940 o.add(42); | 940 o.add(42); |
| 941 o.add(42); | 941 o.add(42); |
| 942 return o; | 942 return o; |
| 943 } | 943 } |
| 944 | 944 |
| 945 checkUnnamed1931(core.List<core.int> o) { | 945 checkUnnamed1701(core.List<core.int> o) { |
| 946 unittest.expect(o, unittest.hasLength(2)); | 946 unittest.expect(o, unittest.hasLength(2)); |
| 947 unittest.expect(o[0], unittest.equals(42)); | 947 unittest.expect(o[0], unittest.equals(42)); |
| 948 unittest.expect(o[1], unittest.equals(42)); | 948 unittest.expect(o[1], unittest.equals(42)); |
| 949 } | 949 } |
| 950 | 950 |
| 951 buildUnnamed1932() { | 951 buildUnnamed1702() { |
| 952 var o = new core.List<core.String>(); | 952 var o = new core.List<core.String>(); |
| 953 o.add("foo"); | 953 o.add("foo"); |
| 954 o.add("foo"); | 954 o.add("foo"); |
| 955 return o; | 955 return o; |
| 956 } | 956 } |
| 957 | 957 |
| 958 checkUnnamed1932(core.List<core.String> o) { | 958 checkUnnamed1702(core.List<core.String> o) { |
| 959 unittest.expect(o, unittest.hasLength(2)); | 959 unittest.expect(o, unittest.hasLength(2)); |
| 960 unittest.expect(o[0], unittest.equals('foo')); | 960 unittest.expect(o[0], unittest.equals('foo')); |
| 961 unittest.expect(o[1], unittest.equals('foo')); | 961 unittest.expect(o[1], unittest.equals('foo')); |
| 962 } | 962 } |
| 963 | 963 |
| 964 core.int buildCounterCreativeServingRestrictionsContexts = 0; | 964 core.int buildCounterCreativeServingRestrictionsContexts = 0; |
| 965 buildCreativeServingRestrictionsContexts() { | 965 buildCreativeServingRestrictionsContexts() { |
| 966 var o = new api.CreativeServingRestrictionsContexts(); | 966 var o = new api.CreativeServingRestrictionsContexts(); |
| 967 buildCounterCreativeServingRestrictionsContexts++; | 967 buildCounterCreativeServingRestrictionsContexts++; |
| 968 if (buildCounterCreativeServingRestrictionsContexts < 3) { | 968 if (buildCounterCreativeServingRestrictionsContexts < 3) { |
| 969 o.auctionType = buildUnnamed1930(); | 969 o.auctionType = buildUnnamed1700(); |
| 970 o.contextType = "foo"; | 970 o.contextType = "foo"; |
| 971 o.geoCriteriaId = buildUnnamed1931(); | 971 o.geoCriteriaId = buildUnnamed1701(); |
| 972 o.platform = buildUnnamed1932(); | 972 o.platform = buildUnnamed1702(); |
| 973 } | 973 } |
| 974 buildCounterCreativeServingRestrictionsContexts--; | 974 buildCounterCreativeServingRestrictionsContexts--; |
| 975 return o; | 975 return o; |
| 976 } | 976 } |
| 977 | 977 |
| 978 checkCreativeServingRestrictionsContexts(api.CreativeServingRestrictionsContexts
o) { | 978 checkCreativeServingRestrictionsContexts(api.CreativeServingRestrictionsContexts
o) { |
| 979 buildCounterCreativeServingRestrictionsContexts++; | 979 buildCounterCreativeServingRestrictionsContexts++; |
| 980 if (buildCounterCreativeServingRestrictionsContexts < 3) { | 980 if (buildCounterCreativeServingRestrictionsContexts < 3) { |
| 981 checkUnnamed1930(o.auctionType); | 981 checkUnnamed1700(o.auctionType); |
| 982 unittest.expect(o.contextType, unittest.equals('foo')); | 982 unittest.expect(o.contextType, unittest.equals('foo')); |
| 983 checkUnnamed1931(o.geoCriteriaId); | 983 checkUnnamed1701(o.geoCriteriaId); |
| 984 checkUnnamed1932(o.platform); | 984 checkUnnamed1702(o.platform); |
| 985 } | 985 } |
| 986 buildCounterCreativeServingRestrictionsContexts--; | 986 buildCounterCreativeServingRestrictionsContexts--; |
| 987 } | 987 } |
| 988 | 988 |
| 989 buildUnnamed1933() { | 989 buildUnnamed1703() { |
| 990 var o = new core.List<api.CreativeServingRestrictionsContexts>(); | 990 var o = new core.List<api.CreativeServingRestrictionsContexts>(); |
| 991 o.add(buildCreativeServingRestrictionsContexts()); | 991 o.add(buildCreativeServingRestrictionsContexts()); |
| 992 o.add(buildCreativeServingRestrictionsContexts()); | 992 o.add(buildCreativeServingRestrictionsContexts()); |
| 993 return o; | 993 return o; |
| 994 } | 994 } |
| 995 | 995 |
| 996 checkUnnamed1933(core.List<api.CreativeServingRestrictionsContexts> o) { | 996 checkUnnamed1703(core.List<api.CreativeServingRestrictionsContexts> o) { |
| 997 unittest.expect(o, unittest.hasLength(2)); | 997 unittest.expect(o, unittest.hasLength(2)); |
| 998 checkCreativeServingRestrictionsContexts(o[0]); | 998 checkCreativeServingRestrictionsContexts(o[0]); |
| 999 checkCreativeServingRestrictionsContexts(o[1]); | 999 checkCreativeServingRestrictionsContexts(o[1]); |
| 1000 } | 1000 } |
| 1001 | 1001 |
| 1002 buildUnnamed1934() { | 1002 buildUnnamed1704() { |
| 1003 var o = new core.List<core.String>(); | 1003 var o = new core.List<core.String>(); |
| 1004 o.add("foo"); | 1004 o.add("foo"); |
| 1005 o.add("foo"); | 1005 o.add("foo"); |
| 1006 return o; | 1006 return o; |
| 1007 } | 1007 } |
| 1008 | 1008 |
| 1009 checkUnnamed1934(core.List<core.String> o) { | 1009 checkUnnamed1704(core.List<core.String> o) { |
| 1010 unittest.expect(o, unittest.hasLength(2)); | 1010 unittest.expect(o, unittest.hasLength(2)); |
| 1011 unittest.expect(o[0], unittest.equals('foo')); | 1011 unittest.expect(o[0], unittest.equals('foo')); |
| 1012 unittest.expect(o[1], unittest.equals('foo')); | 1012 unittest.expect(o[1], unittest.equals('foo')); |
| 1013 } | 1013 } |
| 1014 | 1014 |
| 1015 core.int buildCounterCreativeServingRestrictionsDisapprovalReasons = 0; | 1015 core.int buildCounterCreativeServingRestrictionsDisapprovalReasons = 0; |
| 1016 buildCreativeServingRestrictionsDisapprovalReasons() { | 1016 buildCreativeServingRestrictionsDisapprovalReasons() { |
| 1017 var o = new api.CreativeServingRestrictionsDisapprovalReasons(); | 1017 var o = new api.CreativeServingRestrictionsDisapprovalReasons(); |
| 1018 buildCounterCreativeServingRestrictionsDisapprovalReasons++; | 1018 buildCounterCreativeServingRestrictionsDisapprovalReasons++; |
| 1019 if (buildCounterCreativeServingRestrictionsDisapprovalReasons < 3) { | 1019 if (buildCounterCreativeServingRestrictionsDisapprovalReasons < 3) { |
| 1020 o.details = buildUnnamed1934(); | 1020 o.details = buildUnnamed1704(); |
| 1021 o.reason = "foo"; | 1021 o.reason = "foo"; |
| 1022 } | 1022 } |
| 1023 buildCounterCreativeServingRestrictionsDisapprovalReasons--; | 1023 buildCounterCreativeServingRestrictionsDisapprovalReasons--; |
| 1024 return o; | 1024 return o; |
| 1025 } | 1025 } |
| 1026 | 1026 |
| 1027 checkCreativeServingRestrictionsDisapprovalReasons(api.CreativeServingRestrictio
nsDisapprovalReasons o) { | 1027 checkCreativeServingRestrictionsDisapprovalReasons(api.CreativeServingRestrictio
nsDisapprovalReasons o) { |
| 1028 buildCounterCreativeServingRestrictionsDisapprovalReasons++; | 1028 buildCounterCreativeServingRestrictionsDisapprovalReasons++; |
| 1029 if (buildCounterCreativeServingRestrictionsDisapprovalReasons < 3) { | 1029 if (buildCounterCreativeServingRestrictionsDisapprovalReasons < 3) { |
| 1030 checkUnnamed1934(o.details); | 1030 checkUnnamed1704(o.details); |
| 1031 unittest.expect(o.reason, unittest.equals('foo')); | 1031 unittest.expect(o.reason, unittest.equals('foo')); |
| 1032 } | 1032 } |
| 1033 buildCounterCreativeServingRestrictionsDisapprovalReasons--; | 1033 buildCounterCreativeServingRestrictionsDisapprovalReasons--; |
| 1034 } | 1034 } |
| 1035 | 1035 |
| 1036 buildUnnamed1935() { | 1036 buildUnnamed1705() { |
| 1037 var o = new core.List<api.CreativeServingRestrictionsDisapprovalReasons>(); | 1037 var o = new core.List<api.CreativeServingRestrictionsDisapprovalReasons>(); |
| 1038 o.add(buildCreativeServingRestrictionsDisapprovalReasons()); | 1038 o.add(buildCreativeServingRestrictionsDisapprovalReasons()); |
| 1039 o.add(buildCreativeServingRestrictionsDisapprovalReasons()); | 1039 o.add(buildCreativeServingRestrictionsDisapprovalReasons()); |
| 1040 return o; | 1040 return o; |
| 1041 } | 1041 } |
| 1042 | 1042 |
| 1043 checkUnnamed1935(core.List<api.CreativeServingRestrictionsDisapprovalReasons> o)
{ | 1043 checkUnnamed1705(core.List<api.CreativeServingRestrictionsDisapprovalReasons> o)
{ |
| 1044 unittest.expect(o, unittest.hasLength(2)); | 1044 unittest.expect(o, unittest.hasLength(2)); |
| 1045 checkCreativeServingRestrictionsDisapprovalReasons(o[0]); | 1045 checkCreativeServingRestrictionsDisapprovalReasons(o[0]); |
| 1046 checkCreativeServingRestrictionsDisapprovalReasons(o[1]); | 1046 checkCreativeServingRestrictionsDisapprovalReasons(o[1]); |
| 1047 } | 1047 } |
| 1048 | 1048 |
| 1049 core.int buildCounterCreativeServingRestrictions = 0; | 1049 core.int buildCounterCreativeServingRestrictions = 0; |
| 1050 buildCreativeServingRestrictions() { | 1050 buildCreativeServingRestrictions() { |
| 1051 var o = new api.CreativeServingRestrictions(); | 1051 var o = new api.CreativeServingRestrictions(); |
| 1052 buildCounterCreativeServingRestrictions++; | 1052 buildCounterCreativeServingRestrictions++; |
| 1053 if (buildCounterCreativeServingRestrictions < 3) { | 1053 if (buildCounterCreativeServingRestrictions < 3) { |
| 1054 o.contexts = buildUnnamed1933(); | 1054 o.contexts = buildUnnamed1703(); |
| 1055 o.disapprovalReasons = buildUnnamed1935(); | 1055 o.disapprovalReasons = buildUnnamed1705(); |
| 1056 o.reason = "foo"; | 1056 o.reason = "foo"; |
| 1057 } | 1057 } |
| 1058 buildCounterCreativeServingRestrictions--; | 1058 buildCounterCreativeServingRestrictions--; |
| 1059 return o; | 1059 return o; |
| 1060 } | 1060 } |
| 1061 | 1061 |
| 1062 checkCreativeServingRestrictions(api.CreativeServingRestrictions o) { | 1062 checkCreativeServingRestrictions(api.CreativeServingRestrictions o) { |
| 1063 buildCounterCreativeServingRestrictions++; | 1063 buildCounterCreativeServingRestrictions++; |
| 1064 if (buildCounterCreativeServingRestrictions < 3) { | 1064 if (buildCounterCreativeServingRestrictions < 3) { |
| 1065 checkUnnamed1933(o.contexts); | 1065 checkUnnamed1703(o.contexts); |
| 1066 checkUnnamed1935(o.disapprovalReasons); | 1066 checkUnnamed1705(o.disapprovalReasons); |
| 1067 unittest.expect(o.reason, unittest.equals('foo')); | 1067 unittest.expect(o.reason, unittest.equals('foo')); |
| 1068 } | 1068 } |
| 1069 buildCounterCreativeServingRestrictions--; | 1069 buildCounterCreativeServingRestrictions--; |
| 1070 } | 1070 } |
| 1071 | 1071 |
| 1072 buildUnnamed1936() { | 1072 buildUnnamed1706() { |
| 1073 var o = new core.List<api.CreativeServingRestrictions>(); | 1073 var o = new core.List<api.CreativeServingRestrictions>(); |
| 1074 o.add(buildCreativeServingRestrictions()); | 1074 o.add(buildCreativeServingRestrictions()); |
| 1075 o.add(buildCreativeServingRestrictions()); | 1075 o.add(buildCreativeServingRestrictions()); |
| 1076 return o; | 1076 return o; |
| 1077 } | 1077 } |
| 1078 | 1078 |
| 1079 checkUnnamed1936(core.List<api.CreativeServingRestrictions> o) { | 1079 checkUnnamed1706(core.List<api.CreativeServingRestrictions> o) { |
| 1080 unittest.expect(o, unittest.hasLength(2)); | 1080 unittest.expect(o, unittest.hasLength(2)); |
| 1081 checkCreativeServingRestrictions(o[0]); | 1081 checkCreativeServingRestrictions(o[0]); |
| 1082 checkCreativeServingRestrictions(o[1]); | 1082 checkCreativeServingRestrictions(o[1]); |
| 1083 } | 1083 } |
| 1084 | 1084 |
| 1085 buildUnnamed1937() { | 1085 buildUnnamed1707() { |
| 1086 var o = new core.List<core.int>(); | 1086 var o = new core.List<core.int>(); |
| 1087 o.add(42); | 1087 o.add(42); |
| 1088 o.add(42); | 1088 o.add(42); |
| 1089 return o; | 1089 return o; |
| 1090 } | 1090 } |
| 1091 | 1091 |
| 1092 checkUnnamed1937(core.List<core.int> o) { | 1092 checkUnnamed1707(core.List<core.int> o) { |
| 1093 unittest.expect(o, unittest.hasLength(2)); | 1093 unittest.expect(o, unittest.hasLength(2)); |
| 1094 unittest.expect(o[0], unittest.equals(42)); | 1094 unittest.expect(o[0], unittest.equals(42)); |
| 1095 unittest.expect(o[1], unittest.equals(42)); | 1095 unittest.expect(o[1], unittest.equals(42)); |
| 1096 } | 1096 } |
| 1097 | 1097 |
| 1098 core.int buildCounterCreative = 0; | 1098 core.int buildCounterCreative = 0; |
| 1099 buildCreative() { | 1099 buildCreative() { |
| 1100 var o = new api.Creative(); | 1100 var o = new api.Creative(); |
| 1101 buildCounterCreative++; | 1101 buildCounterCreative++; |
| 1102 if (buildCounterCreative < 3) { | 1102 if (buildCounterCreative < 3) { |
| 1103 o.HTMLSnippet = "foo"; | 1103 o.HTMLSnippet = "foo"; |
| 1104 o.accountId = 42; | 1104 o.accountId = 42; |
| 1105 o.adChoicesDestinationUrl = "foo"; | 1105 o.adChoicesDestinationUrl = "foo"; |
| 1106 o.advertiserId = buildUnnamed1913(); | 1106 o.advertiserId = buildUnnamed1683(); |
| 1107 o.advertiserName = "foo"; | 1107 o.advertiserName = "foo"; |
| 1108 o.agencyId = "foo"; | 1108 o.agencyId = "foo"; |
| 1109 o.apiUploadTimestamp = core.DateTime.parse("2002-02-27T14:01:02"); | 1109 o.apiUploadTimestamp = core.DateTime.parse("2002-02-27T14:01:02"); |
| 1110 o.attribute = buildUnnamed1914(); | 1110 o.attribute = buildUnnamed1684(); |
| 1111 o.buyerCreativeId = "foo"; | 1111 o.buyerCreativeId = "foo"; |
| 1112 o.clickThroughUrl = buildUnnamed1915(); | 1112 o.clickThroughUrl = buildUnnamed1685(); |
| 1113 o.corrections = buildUnnamed1921(); | 1113 o.corrections = buildUnnamed1691(); |
| 1114 o.dealsStatus = "foo"; | 1114 o.dealsStatus = "foo"; |
| 1115 o.detectedDomains = buildUnnamed1922(); | 1115 o.detectedDomains = buildUnnamed1692(); |
| 1116 o.filteringReasons = buildCreativeFilteringReasons(); | 1116 o.filteringReasons = buildCreativeFilteringReasons(); |
| 1117 o.height = 42; | 1117 o.height = 42; |
| 1118 o.impressionTrackingUrl = buildUnnamed1924(); | 1118 o.impressionTrackingUrl = buildUnnamed1694(); |
| 1119 o.kind = "foo"; | 1119 o.kind = "foo"; |
| 1120 o.languages = buildUnnamed1925(); | 1120 o.languages = buildUnnamed1695(); |
| 1121 o.nativeAd = buildCreativeNativeAd(); | 1121 o.nativeAd = buildCreativeNativeAd(); |
| 1122 o.openAuctionStatus = "foo"; | 1122 o.openAuctionStatus = "foo"; |
| 1123 o.productCategories = buildUnnamed1927(); | 1123 o.productCategories = buildUnnamed1697(); |
| 1124 o.restrictedCategories = buildUnnamed1928(); | 1124 o.restrictedCategories = buildUnnamed1698(); |
| 1125 o.sensitiveCategories = buildUnnamed1929(); | 1125 o.sensitiveCategories = buildUnnamed1699(); |
| 1126 o.servingRestrictions = buildUnnamed1936(); | 1126 o.servingRestrictions = buildUnnamed1706(); |
| 1127 o.vendorType = buildUnnamed1937(); | 1127 o.vendorType = buildUnnamed1707(); |
| 1128 o.version = 42; | 1128 o.version = 42; |
| 1129 o.videoURL = "foo"; | 1129 o.videoURL = "foo"; |
| 1130 o.width = 42; | 1130 o.width = 42; |
| 1131 } | 1131 } |
| 1132 buildCounterCreative--; | 1132 buildCounterCreative--; |
| 1133 return o; | 1133 return o; |
| 1134 } | 1134 } |
| 1135 | 1135 |
| 1136 checkCreative(api.Creative o) { | 1136 checkCreative(api.Creative o) { |
| 1137 buildCounterCreative++; | 1137 buildCounterCreative++; |
| 1138 if (buildCounterCreative < 3) { | 1138 if (buildCounterCreative < 3) { |
| 1139 unittest.expect(o.HTMLSnippet, unittest.equals('foo')); | 1139 unittest.expect(o.HTMLSnippet, unittest.equals('foo')); |
| 1140 unittest.expect(o.accountId, unittest.equals(42)); | 1140 unittest.expect(o.accountId, unittest.equals(42)); |
| 1141 unittest.expect(o.adChoicesDestinationUrl, unittest.equals('foo')); | 1141 unittest.expect(o.adChoicesDestinationUrl, unittest.equals('foo')); |
| 1142 checkUnnamed1913(o.advertiserId); | 1142 checkUnnamed1683(o.advertiserId); |
| 1143 unittest.expect(o.advertiserName, unittest.equals('foo')); | 1143 unittest.expect(o.advertiserName, unittest.equals('foo')); |
| 1144 unittest.expect(o.agencyId, unittest.equals('foo')); | 1144 unittest.expect(o.agencyId, unittest.equals('foo')); |
| 1145 unittest.expect(o.apiUploadTimestamp, unittest.equals(core.DateTime.parse("2
002-02-27T14:01:02"))); | 1145 unittest.expect(o.apiUploadTimestamp, unittest.equals(core.DateTime.parse("2
002-02-27T14:01:02"))); |
| 1146 checkUnnamed1914(o.attribute); | 1146 checkUnnamed1684(o.attribute); |
| 1147 unittest.expect(o.buyerCreativeId, unittest.equals('foo')); | 1147 unittest.expect(o.buyerCreativeId, unittest.equals('foo')); |
| 1148 checkUnnamed1915(o.clickThroughUrl); | 1148 checkUnnamed1685(o.clickThroughUrl); |
| 1149 checkUnnamed1921(o.corrections); | 1149 checkUnnamed1691(o.corrections); |
| 1150 unittest.expect(o.dealsStatus, unittest.equals('foo')); | 1150 unittest.expect(o.dealsStatus, unittest.equals('foo')); |
| 1151 checkUnnamed1922(o.detectedDomains); | 1151 checkUnnamed1692(o.detectedDomains); |
| 1152 checkCreativeFilteringReasons(o.filteringReasons); | 1152 checkCreativeFilteringReasons(o.filteringReasons); |
| 1153 unittest.expect(o.height, unittest.equals(42)); | 1153 unittest.expect(o.height, unittest.equals(42)); |
| 1154 checkUnnamed1924(o.impressionTrackingUrl); | 1154 checkUnnamed1694(o.impressionTrackingUrl); |
| 1155 unittest.expect(o.kind, unittest.equals('foo')); | 1155 unittest.expect(o.kind, unittest.equals('foo')); |
| 1156 checkUnnamed1925(o.languages); | 1156 checkUnnamed1695(o.languages); |
| 1157 checkCreativeNativeAd(o.nativeAd); | 1157 checkCreativeNativeAd(o.nativeAd); |
| 1158 unittest.expect(o.openAuctionStatus, unittest.equals('foo')); | 1158 unittest.expect(o.openAuctionStatus, unittest.equals('foo')); |
| 1159 checkUnnamed1927(o.productCategories); | 1159 checkUnnamed1697(o.productCategories); |
| 1160 checkUnnamed1928(o.restrictedCategories); | 1160 checkUnnamed1698(o.restrictedCategories); |
| 1161 checkUnnamed1929(o.sensitiveCategories); | 1161 checkUnnamed1699(o.sensitiveCategories); |
| 1162 checkUnnamed1936(o.servingRestrictions); | 1162 checkUnnamed1706(o.servingRestrictions); |
| 1163 checkUnnamed1937(o.vendorType); | 1163 checkUnnamed1707(o.vendorType); |
| 1164 unittest.expect(o.version, unittest.equals(42)); | 1164 unittest.expect(o.version, unittest.equals(42)); |
| 1165 unittest.expect(o.videoURL, unittest.equals('foo')); | 1165 unittest.expect(o.videoURL, unittest.equals('foo')); |
| 1166 unittest.expect(o.width, unittest.equals(42)); | 1166 unittest.expect(o.width, unittest.equals(42)); |
| 1167 } | 1167 } |
| 1168 buildCounterCreative--; | 1168 buildCounterCreative--; |
| 1169 } | 1169 } |
| 1170 | 1170 |
| 1171 core.int buildCounterCreativeDealIdsDealStatuses = 0; | 1171 core.int buildCounterCreativeDealIdsDealStatuses = 0; |
| 1172 buildCreativeDealIdsDealStatuses() { | 1172 buildCreativeDealIdsDealStatuses() { |
| 1173 var o = new api.CreativeDealIdsDealStatuses(); | 1173 var o = new api.CreativeDealIdsDealStatuses(); |
| (...skipping 10 matching lines...) Expand all Loading... |
| 1184 checkCreativeDealIdsDealStatuses(api.CreativeDealIdsDealStatuses o) { | 1184 checkCreativeDealIdsDealStatuses(api.CreativeDealIdsDealStatuses o) { |
| 1185 buildCounterCreativeDealIdsDealStatuses++; | 1185 buildCounterCreativeDealIdsDealStatuses++; |
| 1186 if (buildCounterCreativeDealIdsDealStatuses < 3) { | 1186 if (buildCounterCreativeDealIdsDealStatuses < 3) { |
| 1187 unittest.expect(o.arcStatus, unittest.equals('foo')); | 1187 unittest.expect(o.arcStatus, unittest.equals('foo')); |
| 1188 unittest.expect(o.dealId, unittest.equals('foo')); | 1188 unittest.expect(o.dealId, unittest.equals('foo')); |
| 1189 unittest.expect(o.webPropertyId, unittest.equals(42)); | 1189 unittest.expect(o.webPropertyId, unittest.equals(42)); |
| 1190 } | 1190 } |
| 1191 buildCounterCreativeDealIdsDealStatuses--; | 1191 buildCounterCreativeDealIdsDealStatuses--; |
| 1192 } | 1192 } |
| 1193 | 1193 |
| 1194 buildUnnamed1938() { | 1194 buildUnnamed1708() { |
| 1195 var o = new core.List<api.CreativeDealIdsDealStatuses>(); | 1195 var o = new core.List<api.CreativeDealIdsDealStatuses>(); |
| 1196 o.add(buildCreativeDealIdsDealStatuses()); | 1196 o.add(buildCreativeDealIdsDealStatuses()); |
| 1197 o.add(buildCreativeDealIdsDealStatuses()); | 1197 o.add(buildCreativeDealIdsDealStatuses()); |
| 1198 return o; | 1198 return o; |
| 1199 } | 1199 } |
| 1200 | 1200 |
| 1201 checkUnnamed1938(core.List<api.CreativeDealIdsDealStatuses> o) { | 1201 checkUnnamed1708(core.List<api.CreativeDealIdsDealStatuses> o) { |
| 1202 unittest.expect(o, unittest.hasLength(2)); | 1202 unittest.expect(o, unittest.hasLength(2)); |
| 1203 checkCreativeDealIdsDealStatuses(o[0]); | 1203 checkCreativeDealIdsDealStatuses(o[0]); |
| 1204 checkCreativeDealIdsDealStatuses(o[1]); | 1204 checkCreativeDealIdsDealStatuses(o[1]); |
| 1205 } | 1205 } |
| 1206 | 1206 |
| 1207 core.int buildCounterCreativeDealIds = 0; | 1207 core.int buildCounterCreativeDealIds = 0; |
| 1208 buildCreativeDealIds() { | 1208 buildCreativeDealIds() { |
| 1209 var o = new api.CreativeDealIds(); | 1209 var o = new api.CreativeDealIds(); |
| 1210 buildCounterCreativeDealIds++; | 1210 buildCounterCreativeDealIds++; |
| 1211 if (buildCounterCreativeDealIds < 3) { | 1211 if (buildCounterCreativeDealIds < 3) { |
| 1212 o.dealStatuses = buildUnnamed1938(); | 1212 o.dealStatuses = buildUnnamed1708(); |
| 1213 o.kind = "foo"; | 1213 o.kind = "foo"; |
| 1214 } | 1214 } |
| 1215 buildCounterCreativeDealIds--; | 1215 buildCounterCreativeDealIds--; |
| 1216 return o; | 1216 return o; |
| 1217 } | 1217 } |
| 1218 | 1218 |
| 1219 checkCreativeDealIds(api.CreativeDealIds o) { | 1219 checkCreativeDealIds(api.CreativeDealIds o) { |
| 1220 buildCounterCreativeDealIds++; | 1220 buildCounterCreativeDealIds++; |
| 1221 if (buildCounterCreativeDealIds < 3) { | 1221 if (buildCounterCreativeDealIds < 3) { |
| 1222 checkUnnamed1938(o.dealStatuses); | 1222 checkUnnamed1708(o.dealStatuses); |
| 1223 unittest.expect(o.kind, unittest.equals('foo')); | 1223 unittest.expect(o.kind, unittest.equals('foo')); |
| 1224 } | 1224 } |
| 1225 buildCounterCreativeDealIds--; | 1225 buildCounterCreativeDealIds--; |
| 1226 } | 1226 } |
| 1227 | 1227 |
| 1228 buildUnnamed1939() { | 1228 buildUnnamed1709() { |
| 1229 var o = new core.List<api.Creative>(); | 1229 var o = new core.List<api.Creative>(); |
| 1230 o.add(buildCreative()); | 1230 o.add(buildCreative()); |
| 1231 o.add(buildCreative()); | 1231 o.add(buildCreative()); |
| 1232 return o; | 1232 return o; |
| 1233 } | 1233 } |
| 1234 | 1234 |
| 1235 checkUnnamed1939(core.List<api.Creative> o) { | 1235 checkUnnamed1709(core.List<api.Creative> o) { |
| 1236 unittest.expect(o, unittest.hasLength(2)); | 1236 unittest.expect(o, unittest.hasLength(2)); |
| 1237 checkCreative(o[0]); | 1237 checkCreative(o[0]); |
| 1238 checkCreative(o[1]); | 1238 checkCreative(o[1]); |
| 1239 } | 1239 } |
| 1240 | 1240 |
| 1241 core.int buildCounterCreativesList = 0; | 1241 core.int buildCounterCreativesList = 0; |
| 1242 buildCreativesList() { | 1242 buildCreativesList() { |
| 1243 var o = new api.CreativesList(); | 1243 var o = new api.CreativesList(); |
| 1244 buildCounterCreativesList++; | 1244 buildCounterCreativesList++; |
| 1245 if (buildCounterCreativesList < 3) { | 1245 if (buildCounterCreativesList < 3) { |
| 1246 o.items = buildUnnamed1939(); | 1246 o.items = buildUnnamed1709(); |
| 1247 o.kind = "foo"; | 1247 o.kind = "foo"; |
| 1248 o.nextPageToken = "foo"; | 1248 o.nextPageToken = "foo"; |
| 1249 } | 1249 } |
| 1250 buildCounterCreativesList--; | 1250 buildCounterCreativesList--; |
| 1251 return o; | 1251 return o; |
| 1252 } | 1252 } |
| 1253 | 1253 |
| 1254 checkCreativesList(api.CreativesList o) { | 1254 checkCreativesList(api.CreativesList o) { |
| 1255 buildCounterCreativesList++; | 1255 buildCounterCreativesList++; |
| 1256 if (buildCounterCreativesList < 3) { | 1256 if (buildCounterCreativesList < 3) { |
| 1257 checkUnnamed1939(o.items); | 1257 checkUnnamed1709(o.items); |
| 1258 unittest.expect(o.kind, unittest.equals('foo')); | 1258 unittest.expect(o.kind, unittest.equals('foo')); |
| 1259 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1259 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1260 } | 1260 } |
| 1261 buildCounterCreativesList--; | 1261 buildCounterCreativesList--; |
| 1262 } | 1262 } |
| 1263 | 1263 |
| 1264 core.int buildCounterDealServingMetadata = 0; | 1264 core.int buildCounterDealServingMetadata = 0; |
| 1265 buildDealServingMetadata() { | 1265 buildDealServingMetadata() { |
| 1266 var o = new api.DealServingMetadata(); | 1266 var o = new api.DealServingMetadata(); |
| 1267 buildCounterDealServingMetadata++; | 1267 buildCounterDealServingMetadata++; |
| 1268 if (buildCounterDealServingMetadata < 3) { | 1268 if (buildCounterDealServingMetadata < 3) { |
| 1269 o.alcoholAdsAllowed = true; |
| 1269 o.dealPauseStatus = buildDealServingMetadataDealPauseStatus(); | 1270 o.dealPauseStatus = buildDealServingMetadataDealPauseStatus(); |
| 1270 } | 1271 } |
| 1271 buildCounterDealServingMetadata--; | 1272 buildCounterDealServingMetadata--; |
| 1272 return o; | 1273 return o; |
| 1273 } | 1274 } |
| 1274 | 1275 |
| 1275 checkDealServingMetadata(api.DealServingMetadata o) { | 1276 checkDealServingMetadata(api.DealServingMetadata o) { |
| 1276 buildCounterDealServingMetadata++; | 1277 buildCounterDealServingMetadata++; |
| 1277 if (buildCounterDealServingMetadata < 3) { | 1278 if (buildCounterDealServingMetadata < 3) { |
| 1279 unittest.expect(o.alcoholAdsAllowed, unittest.isTrue); |
| 1278 checkDealServingMetadataDealPauseStatus(o.dealPauseStatus); | 1280 checkDealServingMetadataDealPauseStatus(o.dealPauseStatus); |
| 1279 } | 1281 } |
| 1280 buildCounterDealServingMetadata--; | 1282 buildCounterDealServingMetadata--; |
| 1281 } | 1283 } |
| 1282 | 1284 |
| 1283 core.int buildCounterDealServingMetadataDealPauseStatus = 0; | 1285 core.int buildCounterDealServingMetadataDealPauseStatus = 0; |
| 1284 buildDealServingMetadataDealPauseStatus() { | 1286 buildDealServingMetadataDealPauseStatus() { |
| 1285 var o = new api.DealServingMetadataDealPauseStatus(); | 1287 var o = new api.DealServingMetadataDealPauseStatus(); |
| 1286 buildCounterDealServingMetadataDealPauseStatus++; | 1288 buildCounterDealServingMetadataDealPauseStatus++; |
| 1287 if (buildCounterDealServingMetadataDealPauseStatus < 3) { | 1289 if (buildCounterDealServingMetadataDealPauseStatus < 3) { |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1337 unittest.expect(o.estimatedImpressionsPerDay, unittest.equals('foo')); | 1339 unittest.expect(o.estimatedImpressionsPerDay, unittest.equals('foo')); |
| 1338 checkDealTermsGuaranteedFixedPriceTerms(o.guaranteedFixedPriceTerms); | 1340 checkDealTermsGuaranteedFixedPriceTerms(o.guaranteedFixedPriceTerms); |
| 1339 checkDealTermsNonGuaranteedAuctionTerms(o.nonGuaranteedAuctionTerms); | 1341 checkDealTermsNonGuaranteedAuctionTerms(o.nonGuaranteedAuctionTerms); |
| 1340 checkDealTermsNonGuaranteedFixedPriceTerms(o.nonGuaranteedFixedPriceTerms); | 1342 checkDealTermsNonGuaranteedFixedPriceTerms(o.nonGuaranteedFixedPriceTerms); |
| 1341 checkDealTermsRubiconNonGuaranteedTerms(o.rubiconNonGuaranteedTerms); | 1343 checkDealTermsRubiconNonGuaranteedTerms(o.rubiconNonGuaranteedTerms); |
| 1342 unittest.expect(o.sellerTimeZone, unittest.equals('foo')); | 1344 unittest.expect(o.sellerTimeZone, unittest.equals('foo')); |
| 1343 } | 1345 } |
| 1344 buildCounterDealTerms--; | 1346 buildCounterDealTerms--; |
| 1345 } | 1347 } |
| 1346 | 1348 |
| 1347 buildUnnamed1940() { | 1349 buildUnnamed1710() { |
| 1348 var o = new core.List<api.PricePerBuyer>(); | 1350 var o = new core.List<api.PricePerBuyer>(); |
| 1349 o.add(buildPricePerBuyer()); | 1351 o.add(buildPricePerBuyer()); |
| 1350 o.add(buildPricePerBuyer()); | 1352 o.add(buildPricePerBuyer()); |
| 1351 return o; | 1353 return o; |
| 1352 } | 1354 } |
| 1353 | 1355 |
| 1354 checkUnnamed1940(core.List<api.PricePerBuyer> o) { | 1356 checkUnnamed1710(core.List<api.PricePerBuyer> o) { |
| 1355 unittest.expect(o, unittest.hasLength(2)); | 1357 unittest.expect(o, unittest.hasLength(2)); |
| 1356 checkPricePerBuyer(o[0]); | 1358 checkPricePerBuyer(o[0]); |
| 1357 checkPricePerBuyer(o[1]); | 1359 checkPricePerBuyer(o[1]); |
| 1358 } | 1360 } |
| 1359 | 1361 |
| 1360 core.int buildCounterDealTermsGuaranteedFixedPriceTerms = 0; | 1362 core.int buildCounterDealTermsGuaranteedFixedPriceTerms = 0; |
| 1361 buildDealTermsGuaranteedFixedPriceTerms() { | 1363 buildDealTermsGuaranteedFixedPriceTerms() { |
| 1362 var o = new api.DealTermsGuaranteedFixedPriceTerms(); | 1364 var o = new api.DealTermsGuaranteedFixedPriceTerms(); |
| 1363 buildCounterDealTermsGuaranteedFixedPriceTerms++; | 1365 buildCounterDealTermsGuaranteedFixedPriceTerms++; |
| 1364 if (buildCounterDealTermsGuaranteedFixedPriceTerms < 3) { | 1366 if (buildCounterDealTermsGuaranteedFixedPriceTerms < 3) { |
| 1365 o.billingInfo = buildDealTermsGuaranteedFixedPriceTermsBillingInfo(); | 1367 o.billingInfo = buildDealTermsGuaranteedFixedPriceTermsBillingInfo(); |
| 1366 o.fixedPrices = buildUnnamed1940(); | 1368 o.fixedPrices = buildUnnamed1710(); |
| 1367 o.guaranteedImpressions = "foo"; | 1369 o.guaranteedImpressions = "foo"; |
| 1368 o.guaranteedLooks = "foo"; | 1370 o.guaranteedLooks = "foo"; |
| 1369 o.minimumDailyLooks = "foo"; | 1371 o.minimumDailyLooks = "foo"; |
| 1370 } | 1372 } |
| 1371 buildCounterDealTermsGuaranteedFixedPriceTerms--; | 1373 buildCounterDealTermsGuaranteedFixedPriceTerms--; |
| 1372 return o; | 1374 return o; |
| 1373 } | 1375 } |
| 1374 | 1376 |
| 1375 checkDealTermsGuaranteedFixedPriceTerms(api.DealTermsGuaranteedFixedPriceTerms o
) { | 1377 checkDealTermsGuaranteedFixedPriceTerms(api.DealTermsGuaranteedFixedPriceTerms o
) { |
| 1376 buildCounterDealTermsGuaranteedFixedPriceTerms++; | 1378 buildCounterDealTermsGuaranteedFixedPriceTerms++; |
| 1377 if (buildCounterDealTermsGuaranteedFixedPriceTerms < 3) { | 1379 if (buildCounterDealTermsGuaranteedFixedPriceTerms < 3) { |
| 1378 checkDealTermsGuaranteedFixedPriceTermsBillingInfo(o.billingInfo); | 1380 checkDealTermsGuaranteedFixedPriceTermsBillingInfo(o.billingInfo); |
| 1379 checkUnnamed1940(o.fixedPrices); | 1381 checkUnnamed1710(o.fixedPrices); |
| 1380 unittest.expect(o.guaranteedImpressions, unittest.equals('foo')); | 1382 unittest.expect(o.guaranteedImpressions, unittest.equals('foo')); |
| 1381 unittest.expect(o.guaranteedLooks, unittest.equals('foo')); | 1383 unittest.expect(o.guaranteedLooks, unittest.equals('foo')); |
| 1382 unittest.expect(o.minimumDailyLooks, unittest.equals('foo')); | 1384 unittest.expect(o.minimumDailyLooks, unittest.equals('foo')); |
| 1383 } | 1385 } |
| 1384 buildCounterDealTermsGuaranteedFixedPriceTerms--; | 1386 buildCounterDealTermsGuaranteedFixedPriceTerms--; |
| 1385 } | 1387 } |
| 1386 | 1388 |
| 1387 core.int buildCounterDealTermsGuaranteedFixedPriceTermsBillingInfo = 0; | 1389 core.int buildCounterDealTermsGuaranteedFixedPriceTermsBillingInfo = 0; |
| 1388 buildDealTermsGuaranteedFixedPriceTermsBillingInfo() { | 1390 buildDealTermsGuaranteedFixedPriceTermsBillingInfo() { |
| 1389 var o = new api.DealTermsGuaranteedFixedPriceTermsBillingInfo(); | 1391 var o = new api.DealTermsGuaranteedFixedPriceTermsBillingInfo(); |
| (...skipping 12 matching lines...) Expand all Loading... |
| 1402 buildCounterDealTermsGuaranteedFixedPriceTermsBillingInfo++; | 1404 buildCounterDealTermsGuaranteedFixedPriceTermsBillingInfo++; |
| 1403 if (buildCounterDealTermsGuaranteedFixedPriceTermsBillingInfo < 3) { | 1405 if (buildCounterDealTermsGuaranteedFixedPriceTermsBillingInfo < 3) { |
| 1404 unittest.expect(o.currencyConversionTimeMs, unittest.equals('foo')); | 1406 unittest.expect(o.currencyConversionTimeMs, unittest.equals('foo')); |
| 1405 unittest.expect(o.dfpLineItemId, unittest.equals('foo')); | 1407 unittest.expect(o.dfpLineItemId, unittest.equals('foo')); |
| 1406 unittest.expect(o.originalContractedQuantity, unittest.equals('foo')); | 1408 unittest.expect(o.originalContractedQuantity, unittest.equals('foo')); |
| 1407 checkPrice(o.price); | 1409 checkPrice(o.price); |
| 1408 } | 1410 } |
| 1409 buildCounterDealTermsGuaranteedFixedPriceTermsBillingInfo--; | 1411 buildCounterDealTermsGuaranteedFixedPriceTermsBillingInfo--; |
| 1410 } | 1412 } |
| 1411 | 1413 |
| 1412 buildUnnamed1941() { | 1414 buildUnnamed1711() { |
| 1413 var o = new core.List<api.PricePerBuyer>(); | 1415 var o = new core.List<api.PricePerBuyer>(); |
| 1414 o.add(buildPricePerBuyer()); | 1416 o.add(buildPricePerBuyer()); |
| 1415 o.add(buildPricePerBuyer()); | 1417 o.add(buildPricePerBuyer()); |
| 1416 return o; | 1418 return o; |
| 1417 } | 1419 } |
| 1418 | 1420 |
| 1419 checkUnnamed1941(core.List<api.PricePerBuyer> o) { | 1421 checkUnnamed1711(core.List<api.PricePerBuyer> o) { |
| 1420 unittest.expect(o, unittest.hasLength(2)); | 1422 unittest.expect(o, unittest.hasLength(2)); |
| 1421 checkPricePerBuyer(o[0]); | 1423 checkPricePerBuyer(o[0]); |
| 1422 checkPricePerBuyer(o[1]); | 1424 checkPricePerBuyer(o[1]); |
| 1423 } | 1425 } |
| 1424 | 1426 |
| 1425 core.int buildCounterDealTermsNonGuaranteedAuctionTerms = 0; | 1427 core.int buildCounterDealTermsNonGuaranteedAuctionTerms = 0; |
| 1426 buildDealTermsNonGuaranteedAuctionTerms() { | 1428 buildDealTermsNonGuaranteedAuctionTerms() { |
| 1427 var o = new api.DealTermsNonGuaranteedAuctionTerms(); | 1429 var o = new api.DealTermsNonGuaranteedAuctionTerms(); |
| 1428 buildCounterDealTermsNonGuaranteedAuctionTerms++; | 1430 buildCounterDealTermsNonGuaranteedAuctionTerms++; |
| 1429 if (buildCounterDealTermsNonGuaranteedAuctionTerms < 3) { | 1431 if (buildCounterDealTermsNonGuaranteedAuctionTerms < 3) { |
| 1430 o.autoOptimizePrivateAuction = true; | 1432 o.autoOptimizePrivateAuction = true; |
| 1431 o.reservePricePerBuyers = buildUnnamed1941(); | 1433 o.reservePricePerBuyers = buildUnnamed1711(); |
| 1432 } | 1434 } |
| 1433 buildCounterDealTermsNonGuaranteedAuctionTerms--; | 1435 buildCounterDealTermsNonGuaranteedAuctionTerms--; |
| 1434 return o; | 1436 return o; |
| 1435 } | 1437 } |
| 1436 | 1438 |
| 1437 checkDealTermsNonGuaranteedAuctionTerms(api.DealTermsNonGuaranteedAuctionTerms o
) { | 1439 checkDealTermsNonGuaranteedAuctionTerms(api.DealTermsNonGuaranteedAuctionTerms o
) { |
| 1438 buildCounterDealTermsNonGuaranteedAuctionTerms++; | 1440 buildCounterDealTermsNonGuaranteedAuctionTerms++; |
| 1439 if (buildCounterDealTermsNonGuaranteedAuctionTerms < 3) { | 1441 if (buildCounterDealTermsNonGuaranteedAuctionTerms < 3) { |
| 1440 unittest.expect(o.autoOptimizePrivateAuction, unittest.isTrue); | 1442 unittest.expect(o.autoOptimizePrivateAuction, unittest.isTrue); |
| 1441 checkUnnamed1941(o.reservePricePerBuyers); | 1443 checkUnnamed1711(o.reservePricePerBuyers); |
| 1442 } | 1444 } |
| 1443 buildCounterDealTermsNonGuaranteedAuctionTerms--; | 1445 buildCounterDealTermsNonGuaranteedAuctionTerms--; |
| 1444 } | 1446 } |
| 1445 | 1447 |
| 1446 buildUnnamed1942() { | 1448 buildUnnamed1712() { |
| 1447 var o = new core.List<api.PricePerBuyer>(); | 1449 var o = new core.List<api.PricePerBuyer>(); |
| 1448 o.add(buildPricePerBuyer()); | 1450 o.add(buildPricePerBuyer()); |
| 1449 o.add(buildPricePerBuyer()); | 1451 o.add(buildPricePerBuyer()); |
| 1450 return o; | 1452 return o; |
| 1451 } | 1453 } |
| 1452 | 1454 |
| 1453 checkUnnamed1942(core.List<api.PricePerBuyer> o) { | 1455 checkUnnamed1712(core.List<api.PricePerBuyer> o) { |
| 1454 unittest.expect(o, unittest.hasLength(2)); | 1456 unittest.expect(o, unittest.hasLength(2)); |
| 1455 checkPricePerBuyer(o[0]); | 1457 checkPricePerBuyer(o[0]); |
| 1456 checkPricePerBuyer(o[1]); | 1458 checkPricePerBuyer(o[1]); |
| 1457 } | 1459 } |
| 1458 | 1460 |
| 1459 core.int buildCounterDealTermsNonGuaranteedFixedPriceTerms = 0; | 1461 core.int buildCounterDealTermsNonGuaranteedFixedPriceTerms = 0; |
| 1460 buildDealTermsNonGuaranteedFixedPriceTerms() { | 1462 buildDealTermsNonGuaranteedFixedPriceTerms() { |
| 1461 var o = new api.DealTermsNonGuaranteedFixedPriceTerms(); | 1463 var o = new api.DealTermsNonGuaranteedFixedPriceTerms(); |
| 1462 buildCounterDealTermsNonGuaranteedFixedPriceTerms++; | 1464 buildCounterDealTermsNonGuaranteedFixedPriceTerms++; |
| 1463 if (buildCounterDealTermsNonGuaranteedFixedPriceTerms < 3) { | 1465 if (buildCounterDealTermsNonGuaranteedFixedPriceTerms < 3) { |
| 1464 o.fixedPrices = buildUnnamed1942(); | 1466 o.fixedPrices = buildUnnamed1712(); |
| 1465 } | 1467 } |
| 1466 buildCounterDealTermsNonGuaranteedFixedPriceTerms--; | 1468 buildCounterDealTermsNonGuaranteedFixedPriceTerms--; |
| 1467 return o; | 1469 return o; |
| 1468 } | 1470 } |
| 1469 | 1471 |
| 1470 checkDealTermsNonGuaranteedFixedPriceTerms(api.DealTermsNonGuaranteedFixedPriceT
erms o) { | 1472 checkDealTermsNonGuaranteedFixedPriceTerms(api.DealTermsNonGuaranteedFixedPriceT
erms o) { |
| 1471 buildCounterDealTermsNonGuaranteedFixedPriceTerms++; | 1473 buildCounterDealTermsNonGuaranteedFixedPriceTerms++; |
| 1472 if (buildCounterDealTermsNonGuaranteedFixedPriceTerms < 3) { | 1474 if (buildCounterDealTermsNonGuaranteedFixedPriceTerms < 3) { |
| 1473 checkUnnamed1942(o.fixedPrices); | 1475 checkUnnamed1712(o.fixedPrices); |
| 1474 } | 1476 } |
| 1475 buildCounterDealTermsNonGuaranteedFixedPriceTerms--; | 1477 buildCounterDealTermsNonGuaranteedFixedPriceTerms--; |
| 1476 } | 1478 } |
| 1477 | 1479 |
| 1478 core.int buildCounterDealTermsRubiconNonGuaranteedTerms = 0; | 1480 core.int buildCounterDealTermsRubiconNonGuaranteedTerms = 0; |
| 1479 buildDealTermsRubiconNonGuaranteedTerms() { | 1481 buildDealTermsRubiconNonGuaranteedTerms() { |
| 1480 var o = new api.DealTermsRubiconNonGuaranteedTerms(); | 1482 var o = new api.DealTermsRubiconNonGuaranteedTerms(); |
| 1481 buildCounterDealTermsRubiconNonGuaranteedTerms++; | 1483 buildCounterDealTermsRubiconNonGuaranteedTerms++; |
| 1482 if (buildCounterDealTermsRubiconNonGuaranteedTerms < 3) { | 1484 if (buildCounterDealTermsRubiconNonGuaranteedTerms < 3) { |
| 1483 o.priorityPrice = buildPrice(); | 1485 o.priorityPrice = buildPrice(); |
| 1484 o.standardPrice = buildPrice(); | 1486 o.standardPrice = buildPrice(); |
| 1485 } | 1487 } |
| 1486 buildCounterDealTermsRubiconNonGuaranteedTerms--; | 1488 buildCounterDealTermsRubiconNonGuaranteedTerms--; |
| 1487 return o; | 1489 return o; |
| 1488 } | 1490 } |
| 1489 | 1491 |
| 1490 checkDealTermsRubiconNonGuaranteedTerms(api.DealTermsRubiconNonGuaranteedTerms o
) { | 1492 checkDealTermsRubiconNonGuaranteedTerms(api.DealTermsRubiconNonGuaranteedTerms o
) { |
| 1491 buildCounterDealTermsRubiconNonGuaranteedTerms++; | 1493 buildCounterDealTermsRubiconNonGuaranteedTerms++; |
| 1492 if (buildCounterDealTermsRubiconNonGuaranteedTerms < 3) { | 1494 if (buildCounterDealTermsRubiconNonGuaranteedTerms < 3) { |
| 1493 checkPrice(o.priorityPrice); | 1495 checkPrice(o.priorityPrice); |
| 1494 checkPrice(o.standardPrice); | 1496 checkPrice(o.standardPrice); |
| 1495 } | 1497 } |
| 1496 buildCounterDealTermsRubiconNonGuaranteedTerms--; | 1498 buildCounterDealTermsRubiconNonGuaranteedTerms--; |
| 1497 } | 1499 } |
| 1498 | 1500 |
| 1499 buildUnnamed1943() { | 1501 buildUnnamed1713() { |
| 1500 var o = new core.List<core.String>(); | 1502 var o = new core.List<core.String>(); |
| 1501 o.add("foo"); | 1503 o.add("foo"); |
| 1502 o.add("foo"); | 1504 o.add("foo"); |
| 1503 return o; | 1505 return o; |
| 1504 } | 1506 } |
| 1505 | 1507 |
| 1506 checkUnnamed1943(core.List<core.String> o) { | 1508 checkUnnamed1713(core.List<core.String> o) { |
| 1507 unittest.expect(o, unittest.hasLength(2)); | 1509 unittest.expect(o, unittest.hasLength(2)); |
| 1508 unittest.expect(o[0], unittest.equals('foo')); | 1510 unittest.expect(o[0], unittest.equals('foo')); |
| 1509 unittest.expect(o[1], unittest.equals('foo')); | 1511 unittest.expect(o[1], unittest.equals('foo')); |
| 1510 } | 1512 } |
| 1511 | 1513 |
| 1512 core.int buildCounterDeleteOrderDealsRequest = 0; | 1514 core.int buildCounterDeleteOrderDealsRequest = 0; |
| 1513 buildDeleteOrderDealsRequest() { | 1515 buildDeleteOrderDealsRequest() { |
| 1514 var o = new api.DeleteOrderDealsRequest(); | 1516 var o = new api.DeleteOrderDealsRequest(); |
| 1515 buildCounterDeleteOrderDealsRequest++; | 1517 buildCounterDeleteOrderDealsRequest++; |
| 1516 if (buildCounterDeleteOrderDealsRequest < 3) { | 1518 if (buildCounterDeleteOrderDealsRequest < 3) { |
| 1517 o.dealIds = buildUnnamed1943(); | 1519 o.dealIds = buildUnnamed1713(); |
| 1518 o.proposalRevisionNumber = "foo"; | 1520 o.proposalRevisionNumber = "foo"; |
| 1519 o.updateAction = "foo"; | 1521 o.updateAction = "foo"; |
| 1520 } | 1522 } |
| 1521 buildCounterDeleteOrderDealsRequest--; | 1523 buildCounterDeleteOrderDealsRequest--; |
| 1522 return o; | 1524 return o; |
| 1523 } | 1525 } |
| 1524 | 1526 |
| 1525 checkDeleteOrderDealsRequest(api.DeleteOrderDealsRequest o) { | 1527 checkDeleteOrderDealsRequest(api.DeleteOrderDealsRequest o) { |
| 1526 buildCounterDeleteOrderDealsRequest++; | 1528 buildCounterDeleteOrderDealsRequest++; |
| 1527 if (buildCounterDeleteOrderDealsRequest < 3) { | 1529 if (buildCounterDeleteOrderDealsRequest < 3) { |
| 1528 checkUnnamed1943(o.dealIds); | 1530 checkUnnamed1713(o.dealIds); |
| 1529 unittest.expect(o.proposalRevisionNumber, unittest.equals('foo')); | 1531 unittest.expect(o.proposalRevisionNumber, unittest.equals('foo')); |
| 1530 unittest.expect(o.updateAction, unittest.equals('foo')); | 1532 unittest.expect(o.updateAction, unittest.equals('foo')); |
| 1531 } | 1533 } |
| 1532 buildCounterDeleteOrderDealsRequest--; | 1534 buildCounterDeleteOrderDealsRequest--; |
| 1533 } | 1535 } |
| 1534 | 1536 |
| 1535 buildUnnamed1944() { | 1537 buildUnnamed1714() { |
| 1536 var o = new core.List<api.MarketplaceDeal>(); | 1538 var o = new core.List<api.MarketplaceDeal>(); |
| 1537 o.add(buildMarketplaceDeal()); | 1539 o.add(buildMarketplaceDeal()); |
| 1538 o.add(buildMarketplaceDeal()); | 1540 o.add(buildMarketplaceDeal()); |
| 1539 return o; | 1541 return o; |
| 1540 } | 1542 } |
| 1541 | 1543 |
| 1542 checkUnnamed1944(core.List<api.MarketplaceDeal> o) { | 1544 checkUnnamed1714(core.List<api.MarketplaceDeal> o) { |
| 1543 unittest.expect(o, unittest.hasLength(2)); | 1545 unittest.expect(o, unittest.hasLength(2)); |
| 1544 checkMarketplaceDeal(o[0]); | 1546 checkMarketplaceDeal(o[0]); |
| 1545 checkMarketplaceDeal(o[1]); | 1547 checkMarketplaceDeal(o[1]); |
| 1546 } | 1548 } |
| 1547 | 1549 |
| 1548 core.int buildCounterDeleteOrderDealsResponse = 0; | 1550 core.int buildCounterDeleteOrderDealsResponse = 0; |
| 1549 buildDeleteOrderDealsResponse() { | 1551 buildDeleteOrderDealsResponse() { |
| 1550 var o = new api.DeleteOrderDealsResponse(); | 1552 var o = new api.DeleteOrderDealsResponse(); |
| 1551 buildCounterDeleteOrderDealsResponse++; | 1553 buildCounterDeleteOrderDealsResponse++; |
| 1552 if (buildCounterDeleteOrderDealsResponse < 3) { | 1554 if (buildCounterDeleteOrderDealsResponse < 3) { |
| 1553 o.deals = buildUnnamed1944(); | 1555 o.deals = buildUnnamed1714(); |
| 1554 o.proposalRevisionNumber = "foo"; | 1556 o.proposalRevisionNumber = "foo"; |
| 1555 } | 1557 } |
| 1556 buildCounterDeleteOrderDealsResponse--; | 1558 buildCounterDeleteOrderDealsResponse--; |
| 1557 return o; | 1559 return o; |
| 1558 } | 1560 } |
| 1559 | 1561 |
| 1560 checkDeleteOrderDealsResponse(api.DeleteOrderDealsResponse o) { | 1562 checkDeleteOrderDealsResponse(api.DeleteOrderDealsResponse o) { |
| 1561 buildCounterDeleteOrderDealsResponse++; | 1563 buildCounterDeleteOrderDealsResponse++; |
| 1562 if (buildCounterDeleteOrderDealsResponse < 3) { | 1564 if (buildCounterDeleteOrderDealsResponse < 3) { |
| 1563 checkUnnamed1944(o.deals); | 1565 checkUnnamed1714(o.deals); |
| 1564 unittest.expect(o.proposalRevisionNumber, unittest.equals('foo')); | 1566 unittest.expect(o.proposalRevisionNumber, unittest.equals('foo')); |
| 1565 } | 1567 } |
| 1566 buildCounterDeleteOrderDealsResponse--; | 1568 buildCounterDeleteOrderDealsResponse--; |
| 1567 } | 1569 } |
| 1568 | 1570 |
| 1569 buildUnnamed1945() { | 1571 buildUnnamed1715() { |
| 1570 var o = new core.List<api.DeliveryControlFrequencyCap>(); | 1572 var o = new core.List<api.DeliveryControlFrequencyCap>(); |
| 1571 o.add(buildDeliveryControlFrequencyCap()); | 1573 o.add(buildDeliveryControlFrequencyCap()); |
| 1572 o.add(buildDeliveryControlFrequencyCap()); | 1574 o.add(buildDeliveryControlFrequencyCap()); |
| 1573 return o; | 1575 return o; |
| 1574 } | 1576 } |
| 1575 | 1577 |
| 1576 checkUnnamed1945(core.List<api.DeliveryControlFrequencyCap> o) { | 1578 checkUnnamed1715(core.List<api.DeliveryControlFrequencyCap> o) { |
| 1577 unittest.expect(o, unittest.hasLength(2)); | 1579 unittest.expect(o, unittest.hasLength(2)); |
| 1578 checkDeliveryControlFrequencyCap(o[0]); | 1580 checkDeliveryControlFrequencyCap(o[0]); |
| 1579 checkDeliveryControlFrequencyCap(o[1]); | 1581 checkDeliveryControlFrequencyCap(o[1]); |
| 1580 } | 1582 } |
| 1581 | 1583 |
| 1582 core.int buildCounterDeliveryControl = 0; | 1584 core.int buildCounterDeliveryControl = 0; |
| 1583 buildDeliveryControl() { | 1585 buildDeliveryControl() { |
| 1584 var o = new api.DeliveryControl(); | 1586 var o = new api.DeliveryControl(); |
| 1585 buildCounterDeliveryControl++; | 1587 buildCounterDeliveryControl++; |
| 1586 if (buildCounterDeliveryControl < 3) { | 1588 if (buildCounterDeliveryControl < 3) { |
| 1587 o.creativeBlockingLevel = "foo"; | 1589 o.creativeBlockingLevel = "foo"; |
| 1588 o.deliveryRateType = "foo"; | 1590 o.deliveryRateType = "foo"; |
| 1589 o.frequencyCaps = buildUnnamed1945(); | 1591 o.frequencyCaps = buildUnnamed1715(); |
| 1590 } | 1592 } |
| 1591 buildCounterDeliveryControl--; | 1593 buildCounterDeliveryControl--; |
| 1592 return o; | 1594 return o; |
| 1593 } | 1595 } |
| 1594 | 1596 |
| 1595 checkDeliveryControl(api.DeliveryControl o) { | 1597 checkDeliveryControl(api.DeliveryControl o) { |
| 1596 buildCounterDeliveryControl++; | 1598 buildCounterDeliveryControl++; |
| 1597 if (buildCounterDeliveryControl < 3) { | 1599 if (buildCounterDeliveryControl < 3) { |
| 1598 unittest.expect(o.creativeBlockingLevel, unittest.equals('foo')); | 1600 unittest.expect(o.creativeBlockingLevel, unittest.equals('foo')); |
| 1599 unittest.expect(o.deliveryRateType, unittest.equals('foo')); | 1601 unittest.expect(o.deliveryRateType, unittest.equals('foo')); |
| 1600 checkUnnamed1945(o.frequencyCaps); | 1602 checkUnnamed1715(o.frequencyCaps); |
| 1601 } | 1603 } |
| 1602 buildCounterDeliveryControl--; | 1604 buildCounterDeliveryControl--; |
| 1603 } | 1605 } |
| 1604 | 1606 |
| 1605 core.int buildCounterDeliveryControlFrequencyCap = 0; | 1607 core.int buildCounterDeliveryControlFrequencyCap = 0; |
| 1606 buildDeliveryControlFrequencyCap() { | 1608 buildDeliveryControlFrequencyCap() { |
| 1607 var o = new api.DeliveryControlFrequencyCap(); | 1609 var o = new api.DeliveryControlFrequencyCap(); |
| 1608 buildCounterDeliveryControlFrequencyCap++; | 1610 buildCounterDeliveryControlFrequencyCap++; |
| 1609 if (buildCounterDeliveryControlFrequencyCap < 3) { | 1611 if (buildCounterDeliveryControlFrequencyCap < 3) { |
| 1610 o.maxImpressions = 42; | 1612 o.maxImpressions = 42; |
| 1611 o.numTimeUnits = 42; | 1613 o.numTimeUnits = 42; |
| 1612 o.timeUnitType = "foo"; | 1614 o.timeUnitType = "foo"; |
| 1613 } | 1615 } |
| 1614 buildCounterDeliveryControlFrequencyCap--; | 1616 buildCounterDeliveryControlFrequencyCap--; |
| 1615 return o; | 1617 return o; |
| 1616 } | 1618 } |
| 1617 | 1619 |
| 1618 checkDeliveryControlFrequencyCap(api.DeliveryControlFrequencyCap o) { | 1620 checkDeliveryControlFrequencyCap(api.DeliveryControlFrequencyCap o) { |
| 1619 buildCounterDeliveryControlFrequencyCap++; | 1621 buildCounterDeliveryControlFrequencyCap++; |
| 1620 if (buildCounterDeliveryControlFrequencyCap < 3) { | 1622 if (buildCounterDeliveryControlFrequencyCap < 3) { |
| 1621 unittest.expect(o.maxImpressions, unittest.equals(42)); | 1623 unittest.expect(o.maxImpressions, unittest.equals(42)); |
| 1622 unittest.expect(o.numTimeUnits, unittest.equals(42)); | 1624 unittest.expect(o.numTimeUnits, unittest.equals(42)); |
| 1623 unittest.expect(o.timeUnitType, unittest.equals('foo')); | 1625 unittest.expect(o.timeUnitType, unittest.equals('foo')); |
| 1624 } | 1626 } |
| 1625 buildCounterDeliveryControlFrequencyCap--; | 1627 buildCounterDeliveryControlFrequencyCap--; |
| 1626 } | 1628 } |
| 1627 | 1629 |
| 1628 buildUnnamed1946() { | 1630 buildUnnamed1716() { |
| 1629 var o = new core.List<api.DimensionDimensionValue>(); | 1631 var o = new core.List<api.DimensionDimensionValue>(); |
| 1630 o.add(buildDimensionDimensionValue()); | 1632 o.add(buildDimensionDimensionValue()); |
| 1631 o.add(buildDimensionDimensionValue()); | 1633 o.add(buildDimensionDimensionValue()); |
| 1632 return o; | 1634 return o; |
| 1633 } | 1635 } |
| 1634 | 1636 |
| 1635 checkUnnamed1946(core.List<api.DimensionDimensionValue> o) { | 1637 checkUnnamed1716(core.List<api.DimensionDimensionValue> o) { |
| 1636 unittest.expect(o, unittest.hasLength(2)); | 1638 unittest.expect(o, unittest.hasLength(2)); |
| 1637 checkDimensionDimensionValue(o[0]); | 1639 checkDimensionDimensionValue(o[0]); |
| 1638 checkDimensionDimensionValue(o[1]); | 1640 checkDimensionDimensionValue(o[1]); |
| 1639 } | 1641 } |
| 1640 | 1642 |
| 1641 core.int buildCounterDimension = 0; | 1643 core.int buildCounterDimension = 0; |
| 1642 buildDimension() { | 1644 buildDimension() { |
| 1643 var o = new api.Dimension(); | 1645 var o = new api.Dimension(); |
| 1644 buildCounterDimension++; | 1646 buildCounterDimension++; |
| 1645 if (buildCounterDimension < 3) { | 1647 if (buildCounterDimension < 3) { |
| 1646 o.dimensionType = "foo"; | 1648 o.dimensionType = "foo"; |
| 1647 o.dimensionValues = buildUnnamed1946(); | 1649 o.dimensionValues = buildUnnamed1716(); |
| 1648 } | 1650 } |
| 1649 buildCounterDimension--; | 1651 buildCounterDimension--; |
| 1650 return o; | 1652 return o; |
| 1651 } | 1653 } |
| 1652 | 1654 |
| 1653 checkDimension(api.Dimension o) { | 1655 checkDimension(api.Dimension o) { |
| 1654 buildCounterDimension++; | 1656 buildCounterDimension++; |
| 1655 if (buildCounterDimension < 3) { | 1657 if (buildCounterDimension < 3) { |
| 1656 unittest.expect(o.dimensionType, unittest.equals('foo')); | 1658 unittest.expect(o.dimensionType, unittest.equals('foo')); |
| 1657 checkUnnamed1946(o.dimensionValues); | 1659 checkUnnamed1716(o.dimensionValues); |
| 1658 } | 1660 } |
| 1659 buildCounterDimension--; | 1661 buildCounterDimension--; |
| 1660 } | 1662 } |
| 1661 | 1663 |
| 1662 core.int buildCounterDimensionDimensionValue = 0; | 1664 core.int buildCounterDimensionDimensionValue = 0; |
| 1663 buildDimensionDimensionValue() { | 1665 buildDimensionDimensionValue() { |
| 1664 var o = new api.DimensionDimensionValue(); | 1666 var o = new api.DimensionDimensionValue(); |
| 1665 buildCounterDimensionDimensionValue++; | 1667 buildCounterDimensionDimensionValue++; |
| 1666 if (buildCounterDimensionDimensionValue < 3) { | 1668 if (buildCounterDimensionDimensionValue < 3) { |
| 1667 o.id = 42; | 1669 o.id = 42; |
| 1668 o.name = "foo"; | 1670 o.name = "foo"; |
| 1669 o.percentage = 42; | 1671 o.percentage = 42; |
| 1670 } | 1672 } |
| 1671 buildCounterDimensionDimensionValue--; | 1673 buildCounterDimensionDimensionValue--; |
| 1672 return o; | 1674 return o; |
| 1673 } | 1675 } |
| 1674 | 1676 |
| 1675 checkDimensionDimensionValue(api.DimensionDimensionValue o) { | 1677 checkDimensionDimensionValue(api.DimensionDimensionValue o) { |
| 1676 buildCounterDimensionDimensionValue++; | 1678 buildCounterDimensionDimensionValue++; |
| 1677 if (buildCounterDimensionDimensionValue < 3) { | 1679 if (buildCounterDimensionDimensionValue < 3) { |
| 1678 unittest.expect(o.id, unittest.equals(42)); | 1680 unittest.expect(o.id, unittest.equals(42)); |
| 1679 unittest.expect(o.name, unittest.equals('foo')); | 1681 unittest.expect(o.name, unittest.equals('foo')); |
| 1680 unittest.expect(o.percentage, unittest.equals(42)); | 1682 unittest.expect(o.percentage, unittest.equals(42)); |
| 1681 } | 1683 } |
| 1682 buildCounterDimensionDimensionValue--; | 1684 buildCounterDimensionDimensionValue--; |
| 1683 } | 1685 } |
| 1684 | 1686 |
| 1685 buildUnnamed1947() { | 1687 buildUnnamed1717() { |
| 1686 var o = new core.List<api.MarketplaceDeal>(); | 1688 var o = new core.List<api.MarketplaceDeal>(); |
| 1687 o.add(buildMarketplaceDeal()); | 1689 o.add(buildMarketplaceDeal()); |
| 1688 o.add(buildMarketplaceDeal()); | 1690 o.add(buildMarketplaceDeal()); |
| 1689 return o; | 1691 return o; |
| 1690 } | 1692 } |
| 1691 | 1693 |
| 1692 checkUnnamed1947(core.List<api.MarketplaceDeal> o) { | 1694 checkUnnamed1717(core.List<api.MarketplaceDeal> o) { |
| 1693 unittest.expect(o, unittest.hasLength(2)); | 1695 unittest.expect(o, unittest.hasLength(2)); |
| 1694 checkMarketplaceDeal(o[0]); | 1696 checkMarketplaceDeal(o[0]); |
| 1695 checkMarketplaceDeal(o[1]); | 1697 checkMarketplaceDeal(o[1]); |
| 1696 } | 1698 } |
| 1697 | 1699 |
| 1698 core.int buildCounterEditAllOrderDealsRequest = 0; | 1700 core.int buildCounterEditAllOrderDealsRequest = 0; |
| 1699 buildEditAllOrderDealsRequest() { | 1701 buildEditAllOrderDealsRequest() { |
| 1700 var o = new api.EditAllOrderDealsRequest(); | 1702 var o = new api.EditAllOrderDealsRequest(); |
| 1701 buildCounterEditAllOrderDealsRequest++; | 1703 buildCounterEditAllOrderDealsRequest++; |
| 1702 if (buildCounterEditAllOrderDealsRequest < 3) { | 1704 if (buildCounterEditAllOrderDealsRequest < 3) { |
| 1703 o.deals = buildUnnamed1947(); | 1705 o.deals = buildUnnamed1717(); |
| 1704 o.proposal = buildProposal(); | 1706 o.proposal = buildProposal(); |
| 1705 o.proposalRevisionNumber = "foo"; | 1707 o.proposalRevisionNumber = "foo"; |
| 1706 o.updateAction = "foo"; | 1708 o.updateAction = "foo"; |
| 1707 } | 1709 } |
| 1708 buildCounterEditAllOrderDealsRequest--; | 1710 buildCounterEditAllOrderDealsRequest--; |
| 1709 return o; | 1711 return o; |
| 1710 } | 1712 } |
| 1711 | 1713 |
| 1712 checkEditAllOrderDealsRequest(api.EditAllOrderDealsRequest o) { | 1714 checkEditAllOrderDealsRequest(api.EditAllOrderDealsRequest o) { |
| 1713 buildCounterEditAllOrderDealsRequest++; | 1715 buildCounterEditAllOrderDealsRequest++; |
| 1714 if (buildCounterEditAllOrderDealsRequest < 3) { | 1716 if (buildCounterEditAllOrderDealsRequest < 3) { |
| 1715 checkUnnamed1947(o.deals); | 1717 checkUnnamed1717(o.deals); |
| 1716 checkProposal(o.proposal); | 1718 checkProposal(o.proposal); |
| 1717 unittest.expect(o.proposalRevisionNumber, unittest.equals('foo')); | 1719 unittest.expect(o.proposalRevisionNumber, unittest.equals('foo')); |
| 1718 unittest.expect(o.updateAction, unittest.equals('foo')); | 1720 unittest.expect(o.updateAction, unittest.equals('foo')); |
| 1719 } | 1721 } |
| 1720 buildCounterEditAllOrderDealsRequest--; | 1722 buildCounterEditAllOrderDealsRequest--; |
| 1721 } | 1723 } |
| 1722 | 1724 |
| 1723 buildUnnamed1948() { | 1725 buildUnnamed1718() { |
| 1724 var o = new core.List<api.MarketplaceDeal>(); | 1726 var o = new core.List<api.MarketplaceDeal>(); |
| 1725 o.add(buildMarketplaceDeal()); | 1727 o.add(buildMarketplaceDeal()); |
| 1726 o.add(buildMarketplaceDeal()); | 1728 o.add(buildMarketplaceDeal()); |
| 1727 return o; | 1729 return o; |
| 1728 } | 1730 } |
| 1729 | 1731 |
| 1730 checkUnnamed1948(core.List<api.MarketplaceDeal> o) { | 1732 checkUnnamed1718(core.List<api.MarketplaceDeal> o) { |
| 1731 unittest.expect(o, unittest.hasLength(2)); | 1733 unittest.expect(o, unittest.hasLength(2)); |
| 1732 checkMarketplaceDeal(o[0]); | 1734 checkMarketplaceDeal(o[0]); |
| 1733 checkMarketplaceDeal(o[1]); | 1735 checkMarketplaceDeal(o[1]); |
| 1734 } | 1736 } |
| 1735 | 1737 |
| 1736 core.int buildCounterEditAllOrderDealsResponse = 0; | 1738 core.int buildCounterEditAllOrderDealsResponse = 0; |
| 1737 buildEditAllOrderDealsResponse() { | 1739 buildEditAllOrderDealsResponse() { |
| 1738 var o = new api.EditAllOrderDealsResponse(); | 1740 var o = new api.EditAllOrderDealsResponse(); |
| 1739 buildCounterEditAllOrderDealsResponse++; | 1741 buildCounterEditAllOrderDealsResponse++; |
| 1740 if (buildCounterEditAllOrderDealsResponse < 3) { | 1742 if (buildCounterEditAllOrderDealsResponse < 3) { |
| 1741 o.deals = buildUnnamed1948(); | 1743 o.deals = buildUnnamed1718(); |
| 1742 o.orderRevisionNumber = "foo"; | 1744 o.orderRevisionNumber = "foo"; |
| 1743 } | 1745 } |
| 1744 buildCounterEditAllOrderDealsResponse--; | 1746 buildCounterEditAllOrderDealsResponse--; |
| 1745 return o; | 1747 return o; |
| 1746 } | 1748 } |
| 1747 | 1749 |
| 1748 checkEditAllOrderDealsResponse(api.EditAllOrderDealsResponse o) { | 1750 checkEditAllOrderDealsResponse(api.EditAllOrderDealsResponse o) { |
| 1749 buildCounterEditAllOrderDealsResponse++; | 1751 buildCounterEditAllOrderDealsResponse++; |
| 1750 if (buildCounterEditAllOrderDealsResponse < 3) { | 1752 if (buildCounterEditAllOrderDealsResponse < 3) { |
| 1751 checkUnnamed1948(o.deals); | 1753 checkUnnamed1718(o.deals); |
| 1752 unittest.expect(o.orderRevisionNumber, unittest.equals('foo')); | 1754 unittest.expect(o.orderRevisionNumber, unittest.equals('foo')); |
| 1753 } | 1755 } |
| 1754 buildCounterEditAllOrderDealsResponse--; | 1756 buildCounterEditAllOrderDealsResponse--; |
| 1755 } | 1757 } |
| 1756 | 1758 |
| 1757 buildUnnamed1949() { | 1759 buildUnnamed1719() { |
| 1758 var o = new core.List<api.Product>(); | 1760 var o = new core.List<api.Product>(); |
| 1759 o.add(buildProduct()); | 1761 o.add(buildProduct()); |
| 1760 o.add(buildProduct()); | 1762 o.add(buildProduct()); |
| 1761 return o; | 1763 return o; |
| 1762 } | 1764 } |
| 1763 | 1765 |
| 1764 checkUnnamed1949(core.List<api.Product> o) { | 1766 checkUnnamed1719(core.List<api.Product> o) { |
| 1765 unittest.expect(o, unittest.hasLength(2)); | 1767 unittest.expect(o, unittest.hasLength(2)); |
| 1766 checkProduct(o[0]); | 1768 checkProduct(o[0]); |
| 1767 checkProduct(o[1]); | 1769 checkProduct(o[1]); |
| 1768 } | 1770 } |
| 1769 | 1771 |
| 1770 core.int buildCounterGetOffersResponse = 0; | 1772 core.int buildCounterGetOffersResponse = 0; |
| 1771 buildGetOffersResponse() { | 1773 buildGetOffersResponse() { |
| 1772 var o = new api.GetOffersResponse(); | 1774 var o = new api.GetOffersResponse(); |
| 1773 buildCounterGetOffersResponse++; | 1775 buildCounterGetOffersResponse++; |
| 1774 if (buildCounterGetOffersResponse < 3) { | 1776 if (buildCounterGetOffersResponse < 3) { |
| 1775 o.products = buildUnnamed1949(); | 1777 o.products = buildUnnamed1719(); |
| 1776 } | 1778 } |
| 1777 buildCounterGetOffersResponse--; | 1779 buildCounterGetOffersResponse--; |
| 1778 return o; | 1780 return o; |
| 1779 } | 1781 } |
| 1780 | 1782 |
| 1781 checkGetOffersResponse(api.GetOffersResponse o) { | 1783 checkGetOffersResponse(api.GetOffersResponse o) { |
| 1782 buildCounterGetOffersResponse++; | 1784 buildCounterGetOffersResponse++; |
| 1783 if (buildCounterGetOffersResponse < 3) { | 1785 if (buildCounterGetOffersResponse < 3) { |
| 1784 checkUnnamed1949(o.products); | 1786 checkUnnamed1719(o.products); |
| 1785 } | 1787 } |
| 1786 buildCounterGetOffersResponse--; | 1788 buildCounterGetOffersResponse--; |
| 1787 } | 1789 } |
| 1788 | 1790 |
| 1789 buildUnnamed1950() { | 1791 buildUnnamed1720() { |
| 1790 var o = new core.List<api.MarketplaceDeal>(); | 1792 var o = new core.List<api.MarketplaceDeal>(); |
| 1791 o.add(buildMarketplaceDeal()); | 1793 o.add(buildMarketplaceDeal()); |
| 1792 o.add(buildMarketplaceDeal()); | 1794 o.add(buildMarketplaceDeal()); |
| 1793 return o; | 1795 return o; |
| 1794 } | 1796 } |
| 1795 | 1797 |
| 1796 checkUnnamed1950(core.List<api.MarketplaceDeal> o) { | 1798 checkUnnamed1720(core.List<api.MarketplaceDeal> o) { |
| 1797 unittest.expect(o, unittest.hasLength(2)); | 1799 unittest.expect(o, unittest.hasLength(2)); |
| 1798 checkMarketplaceDeal(o[0]); | 1800 checkMarketplaceDeal(o[0]); |
| 1799 checkMarketplaceDeal(o[1]); | 1801 checkMarketplaceDeal(o[1]); |
| 1800 } | 1802 } |
| 1801 | 1803 |
| 1802 core.int buildCounterGetOrderDealsResponse = 0; | 1804 core.int buildCounterGetOrderDealsResponse = 0; |
| 1803 buildGetOrderDealsResponse() { | 1805 buildGetOrderDealsResponse() { |
| 1804 var o = new api.GetOrderDealsResponse(); | 1806 var o = new api.GetOrderDealsResponse(); |
| 1805 buildCounterGetOrderDealsResponse++; | 1807 buildCounterGetOrderDealsResponse++; |
| 1806 if (buildCounterGetOrderDealsResponse < 3) { | 1808 if (buildCounterGetOrderDealsResponse < 3) { |
| 1807 o.deals = buildUnnamed1950(); | 1809 o.deals = buildUnnamed1720(); |
| 1808 } | 1810 } |
| 1809 buildCounterGetOrderDealsResponse--; | 1811 buildCounterGetOrderDealsResponse--; |
| 1810 return o; | 1812 return o; |
| 1811 } | 1813 } |
| 1812 | 1814 |
| 1813 checkGetOrderDealsResponse(api.GetOrderDealsResponse o) { | 1815 checkGetOrderDealsResponse(api.GetOrderDealsResponse o) { |
| 1814 buildCounterGetOrderDealsResponse++; | 1816 buildCounterGetOrderDealsResponse++; |
| 1815 if (buildCounterGetOrderDealsResponse < 3) { | 1817 if (buildCounterGetOrderDealsResponse < 3) { |
| 1816 checkUnnamed1950(o.deals); | 1818 checkUnnamed1720(o.deals); |
| 1817 } | 1819 } |
| 1818 buildCounterGetOrderDealsResponse--; | 1820 buildCounterGetOrderDealsResponse--; |
| 1819 } | 1821 } |
| 1820 | 1822 |
| 1821 buildUnnamed1951() { | 1823 buildUnnamed1721() { |
| 1822 var o = new core.List<api.MarketplaceNote>(); | 1824 var o = new core.List<api.MarketplaceNote>(); |
| 1823 o.add(buildMarketplaceNote()); | 1825 o.add(buildMarketplaceNote()); |
| 1824 o.add(buildMarketplaceNote()); | 1826 o.add(buildMarketplaceNote()); |
| 1825 return o; | 1827 return o; |
| 1826 } | 1828 } |
| 1827 | 1829 |
| 1828 checkUnnamed1951(core.List<api.MarketplaceNote> o) { | 1830 checkUnnamed1721(core.List<api.MarketplaceNote> o) { |
| 1829 unittest.expect(o, unittest.hasLength(2)); | 1831 unittest.expect(o, unittest.hasLength(2)); |
| 1830 checkMarketplaceNote(o[0]); | 1832 checkMarketplaceNote(o[0]); |
| 1831 checkMarketplaceNote(o[1]); | 1833 checkMarketplaceNote(o[1]); |
| 1832 } | 1834 } |
| 1833 | 1835 |
| 1834 core.int buildCounterGetOrderNotesResponse = 0; | 1836 core.int buildCounterGetOrderNotesResponse = 0; |
| 1835 buildGetOrderNotesResponse() { | 1837 buildGetOrderNotesResponse() { |
| 1836 var o = new api.GetOrderNotesResponse(); | 1838 var o = new api.GetOrderNotesResponse(); |
| 1837 buildCounterGetOrderNotesResponse++; | 1839 buildCounterGetOrderNotesResponse++; |
| 1838 if (buildCounterGetOrderNotesResponse < 3) { | 1840 if (buildCounterGetOrderNotesResponse < 3) { |
| 1839 o.notes = buildUnnamed1951(); | 1841 o.notes = buildUnnamed1721(); |
| 1840 } | 1842 } |
| 1841 buildCounterGetOrderNotesResponse--; | 1843 buildCounterGetOrderNotesResponse--; |
| 1842 return o; | 1844 return o; |
| 1843 } | 1845 } |
| 1844 | 1846 |
| 1845 checkGetOrderNotesResponse(api.GetOrderNotesResponse o) { | 1847 checkGetOrderNotesResponse(api.GetOrderNotesResponse o) { |
| 1846 buildCounterGetOrderNotesResponse++; | 1848 buildCounterGetOrderNotesResponse++; |
| 1847 if (buildCounterGetOrderNotesResponse < 3) { | 1849 if (buildCounterGetOrderNotesResponse < 3) { |
| 1848 checkUnnamed1951(o.notes); | 1850 checkUnnamed1721(o.notes); |
| 1849 } | 1851 } |
| 1850 buildCounterGetOrderNotesResponse--; | 1852 buildCounterGetOrderNotesResponse--; |
| 1851 } | 1853 } |
| 1852 | 1854 |
| 1853 buildUnnamed1952() { | 1855 buildUnnamed1722() { |
| 1854 var o = new core.List<api.Proposal>(); | 1856 var o = new core.List<api.Proposal>(); |
| 1855 o.add(buildProposal()); | 1857 o.add(buildProposal()); |
| 1856 o.add(buildProposal()); | 1858 o.add(buildProposal()); |
| 1857 return o; | 1859 return o; |
| 1858 } | 1860 } |
| 1859 | 1861 |
| 1860 checkUnnamed1952(core.List<api.Proposal> o) { | 1862 checkUnnamed1722(core.List<api.Proposal> o) { |
| 1861 unittest.expect(o, unittest.hasLength(2)); | 1863 unittest.expect(o, unittest.hasLength(2)); |
| 1862 checkProposal(o[0]); | 1864 checkProposal(o[0]); |
| 1863 checkProposal(o[1]); | 1865 checkProposal(o[1]); |
| 1864 } | 1866 } |
| 1865 | 1867 |
| 1866 core.int buildCounterGetOrdersResponse = 0; | 1868 core.int buildCounterGetOrdersResponse = 0; |
| 1867 buildGetOrdersResponse() { | 1869 buildGetOrdersResponse() { |
| 1868 var o = new api.GetOrdersResponse(); | 1870 var o = new api.GetOrdersResponse(); |
| 1869 buildCounterGetOrdersResponse++; | 1871 buildCounterGetOrdersResponse++; |
| 1870 if (buildCounterGetOrdersResponse < 3) { | 1872 if (buildCounterGetOrdersResponse < 3) { |
| 1871 o.proposals = buildUnnamed1952(); | 1873 o.proposals = buildUnnamed1722(); |
| 1872 } | 1874 } |
| 1873 buildCounterGetOrdersResponse--; | 1875 buildCounterGetOrdersResponse--; |
| 1874 return o; | 1876 return o; |
| 1875 } | 1877 } |
| 1876 | 1878 |
| 1877 checkGetOrdersResponse(api.GetOrdersResponse o) { | 1879 checkGetOrdersResponse(api.GetOrdersResponse o) { |
| 1878 buildCounterGetOrdersResponse++; | 1880 buildCounterGetOrdersResponse++; |
| 1879 if (buildCounterGetOrdersResponse < 3) { | 1881 if (buildCounterGetOrdersResponse < 3) { |
| 1880 checkUnnamed1952(o.proposals); | 1882 checkUnnamed1722(o.proposals); |
| 1881 } | 1883 } |
| 1882 buildCounterGetOrdersResponse--; | 1884 buildCounterGetOrdersResponse--; |
| 1883 } | 1885 } |
| 1884 | 1886 |
| 1885 buildUnnamed1953() { | 1887 buildUnnamed1723() { |
| 1886 var o = new core.List<api.PublisherProfileApiProto>(); | 1888 var o = new core.List<api.PublisherProfileApiProto>(); |
| 1887 o.add(buildPublisherProfileApiProto()); | 1889 o.add(buildPublisherProfileApiProto()); |
| 1888 o.add(buildPublisherProfileApiProto()); | 1890 o.add(buildPublisherProfileApiProto()); |
| 1889 return o; | 1891 return o; |
| 1890 } | 1892 } |
| 1891 | 1893 |
| 1892 checkUnnamed1953(core.List<api.PublisherProfileApiProto> o) { | 1894 checkUnnamed1723(core.List<api.PublisherProfileApiProto> o) { |
| 1893 unittest.expect(o, unittest.hasLength(2)); | 1895 unittest.expect(o, unittest.hasLength(2)); |
| 1894 checkPublisherProfileApiProto(o[0]); | 1896 checkPublisherProfileApiProto(o[0]); |
| 1895 checkPublisherProfileApiProto(o[1]); | 1897 checkPublisherProfileApiProto(o[1]); |
| 1896 } | 1898 } |
| 1897 | 1899 |
| 1898 core.int buildCounterGetPublisherProfilesByAccountIdResponse = 0; | 1900 core.int buildCounterGetPublisherProfilesByAccountIdResponse = 0; |
| 1899 buildGetPublisherProfilesByAccountIdResponse() { | 1901 buildGetPublisherProfilesByAccountIdResponse() { |
| 1900 var o = new api.GetPublisherProfilesByAccountIdResponse(); | 1902 var o = new api.GetPublisherProfilesByAccountIdResponse(); |
| 1901 buildCounterGetPublisherProfilesByAccountIdResponse++; | 1903 buildCounterGetPublisherProfilesByAccountIdResponse++; |
| 1902 if (buildCounterGetPublisherProfilesByAccountIdResponse < 3) { | 1904 if (buildCounterGetPublisherProfilesByAccountIdResponse < 3) { |
| 1903 o.profiles = buildUnnamed1953(); | 1905 o.profiles = buildUnnamed1723(); |
| 1904 } | 1906 } |
| 1905 buildCounterGetPublisherProfilesByAccountIdResponse--; | 1907 buildCounterGetPublisherProfilesByAccountIdResponse--; |
| 1906 return o; | 1908 return o; |
| 1907 } | 1909 } |
| 1908 | 1910 |
| 1909 checkGetPublisherProfilesByAccountIdResponse(api.GetPublisherProfilesByAccountId
Response o) { | 1911 checkGetPublisherProfilesByAccountIdResponse(api.GetPublisherProfilesByAccountId
Response o) { |
| 1910 buildCounterGetPublisherProfilesByAccountIdResponse++; | 1912 buildCounterGetPublisherProfilesByAccountIdResponse++; |
| 1911 if (buildCounterGetPublisherProfilesByAccountIdResponse < 3) { | 1913 if (buildCounterGetPublisherProfilesByAccountIdResponse < 3) { |
| 1912 checkUnnamed1953(o.profiles); | 1914 checkUnnamed1723(o.profiles); |
| 1913 } | 1915 } |
| 1914 buildCounterGetPublisherProfilesByAccountIdResponse--; | 1916 buildCounterGetPublisherProfilesByAccountIdResponse--; |
| 1915 } | 1917 } |
| 1916 | 1918 |
| 1917 buildUnnamed1954() { | 1919 buildUnnamed1724() { |
| 1918 var o = new core.List<api.ContactInformation>(); | 1920 var o = new core.List<api.ContactInformation>(); |
| 1919 o.add(buildContactInformation()); | 1921 o.add(buildContactInformation()); |
| 1920 o.add(buildContactInformation()); | 1922 o.add(buildContactInformation()); |
| 1921 return o; | 1923 return o; |
| 1922 } | 1924 } |
| 1923 | 1925 |
| 1924 checkUnnamed1954(core.List<api.ContactInformation> o) { | 1926 checkUnnamed1724(core.List<api.ContactInformation> o) { |
| 1925 unittest.expect(o, unittest.hasLength(2)); | 1927 unittest.expect(o, unittest.hasLength(2)); |
| 1926 checkContactInformation(o[0]); | 1928 checkContactInformation(o[0]); |
| 1927 checkContactInformation(o[1]); | 1929 checkContactInformation(o[1]); |
| 1928 } | 1930 } |
| 1929 | 1931 |
| 1930 buildUnnamed1955() { | 1932 buildUnnamed1725() { |
| 1931 var o = new core.List<api.SharedTargeting>(); | 1933 var o = new core.List<api.SharedTargeting>(); |
| 1932 o.add(buildSharedTargeting()); | 1934 o.add(buildSharedTargeting()); |
| 1933 o.add(buildSharedTargeting()); | 1935 o.add(buildSharedTargeting()); |
| 1934 return o; | 1936 return o; |
| 1935 } | 1937 } |
| 1936 | 1938 |
| 1937 checkUnnamed1955(core.List<api.SharedTargeting> o) { | 1939 checkUnnamed1725(core.List<api.SharedTargeting> o) { |
| 1938 unittest.expect(o, unittest.hasLength(2)); | 1940 unittest.expect(o, unittest.hasLength(2)); |
| 1939 checkSharedTargeting(o[0]); | 1941 checkSharedTargeting(o[0]); |
| 1940 checkSharedTargeting(o[1]); | 1942 checkSharedTargeting(o[1]); |
| 1941 } | 1943 } |
| 1942 | 1944 |
| 1943 core.int buildCounterMarketplaceDeal = 0; | 1945 core.int buildCounterMarketplaceDeal = 0; |
| 1944 buildMarketplaceDeal() { | 1946 buildMarketplaceDeal() { |
| 1945 var o = new api.MarketplaceDeal(); | 1947 var o = new api.MarketplaceDeal(); |
| 1946 buildCounterMarketplaceDeal++; | 1948 buildCounterMarketplaceDeal++; |
| 1947 if (buildCounterMarketplaceDeal < 3) { | 1949 if (buildCounterMarketplaceDeal < 3) { |
| 1948 o.buyerPrivateData = buildPrivateData(); | 1950 o.buyerPrivateData = buildPrivateData(); |
| 1949 o.creationTimeMs = "foo"; | 1951 o.creationTimeMs = "foo"; |
| 1950 o.creativePreApprovalPolicy = "foo"; | 1952 o.creativePreApprovalPolicy = "foo"; |
| 1951 o.creativeSafeFrameCompatibility = "foo"; | 1953 o.creativeSafeFrameCompatibility = "foo"; |
| 1952 o.dealId = "foo"; | 1954 o.dealId = "foo"; |
| 1953 o.dealServingMetadata = buildDealServingMetadata(); | 1955 o.dealServingMetadata = buildDealServingMetadata(); |
| 1954 o.deliveryControl = buildDeliveryControl(); | 1956 o.deliveryControl = buildDeliveryControl(); |
| 1955 o.externalDealId = "foo"; | 1957 o.externalDealId = "foo"; |
| 1956 o.flightEndTimeMs = "foo"; | 1958 o.flightEndTimeMs = "foo"; |
| 1957 o.flightStartTimeMs = "foo"; | 1959 o.flightStartTimeMs = "foo"; |
| 1958 o.inventoryDescription = "foo"; | 1960 o.inventoryDescription = "foo"; |
| 1959 o.isRfpTemplate = true; | 1961 o.isRfpTemplate = true; |
| 1960 o.kind = "foo"; | 1962 o.kind = "foo"; |
| 1961 o.lastUpdateTimeMs = "foo"; | 1963 o.lastUpdateTimeMs = "foo"; |
| 1962 o.name = "foo"; | 1964 o.name = "foo"; |
| 1963 o.productId = "foo"; | 1965 o.productId = "foo"; |
| 1964 o.productRevisionNumber = "foo"; | 1966 o.productRevisionNumber = "foo"; |
| 1965 o.programmaticCreativeSource = "foo"; | 1967 o.programmaticCreativeSource = "foo"; |
| 1966 o.proposalId = "foo"; | 1968 o.proposalId = "foo"; |
| 1967 o.sellerContacts = buildUnnamed1954(); | 1969 o.sellerContacts = buildUnnamed1724(); |
| 1968 o.sharedTargetings = buildUnnamed1955(); | 1970 o.sharedTargetings = buildUnnamed1725(); |
| 1969 o.syndicationProduct = "foo"; | 1971 o.syndicationProduct = "foo"; |
| 1970 o.terms = buildDealTerms(); | 1972 o.terms = buildDealTerms(); |
| 1971 o.webPropertyCode = "foo"; | 1973 o.webPropertyCode = "foo"; |
| 1972 } | 1974 } |
| 1973 buildCounterMarketplaceDeal--; | 1975 buildCounterMarketplaceDeal--; |
| 1974 return o; | 1976 return o; |
| 1975 } | 1977 } |
| 1976 | 1978 |
| 1977 checkMarketplaceDeal(api.MarketplaceDeal o) { | 1979 checkMarketplaceDeal(api.MarketplaceDeal o) { |
| 1978 buildCounterMarketplaceDeal++; | 1980 buildCounterMarketplaceDeal++; |
| (...skipping 10 matching lines...) Expand all Loading... |
| 1989 unittest.expect(o.flightStartTimeMs, unittest.equals('foo')); | 1991 unittest.expect(o.flightStartTimeMs, unittest.equals('foo')); |
| 1990 unittest.expect(o.inventoryDescription, unittest.equals('foo')); | 1992 unittest.expect(o.inventoryDescription, unittest.equals('foo')); |
| 1991 unittest.expect(o.isRfpTemplate, unittest.isTrue); | 1993 unittest.expect(o.isRfpTemplate, unittest.isTrue); |
| 1992 unittest.expect(o.kind, unittest.equals('foo')); | 1994 unittest.expect(o.kind, unittest.equals('foo')); |
| 1993 unittest.expect(o.lastUpdateTimeMs, unittest.equals('foo')); | 1995 unittest.expect(o.lastUpdateTimeMs, unittest.equals('foo')); |
| 1994 unittest.expect(o.name, unittest.equals('foo')); | 1996 unittest.expect(o.name, unittest.equals('foo')); |
| 1995 unittest.expect(o.productId, unittest.equals('foo')); | 1997 unittest.expect(o.productId, unittest.equals('foo')); |
| 1996 unittest.expect(o.productRevisionNumber, unittest.equals('foo')); | 1998 unittest.expect(o.productRevisionNumber, unittest.equals('foo')); |
| 1997 unittest.expect(o.programmaticCreativeSource, unittest.equals('foo')); | 1999 unittest.expect(o.programmaticCreativeSource, unittest.equals('foo')); |
| 1998 unittest.expect(o.proposalId, unittest.equals('foo')); | 2000 unittest.expect(o.proposalId, unittest.equals('foo')); |
| 1999 checkUnnamed1954(o.sellerContacts); | 2001 checkUnnamed1724(o.sellerContacts); |
| 2000 checkUnnamed1955(o.sharedTargetings); | 2002 checkUnnamed1725(o.sharedTargetings); |
| 2001 unittest.expect(o.syndicationProduct, unittest.equals('foo')); | 2003 unittest.expect(o.syndicationProduct, unittest.equals('foo')); |
| 2002 checkDealTerms(o.terms); | 2004 checkDealTerms(o.terms); |
| 2003 unittest.expect(o.webPropertyCode, unittest.equals('foo')); | 2005 unittest.expect(o.webPropertyCode, unittest.equals('foo')); |
| 2004 } | 2006 } |
| 2005 buildCounterMarketplaceDeal--; | 2007 buildCounterMarketplaceDeal--; |
| 2006 } | 2008 } |
| 2007 | 2009 |
| 2008 core.int buildCounterMarketplaceDealParty = 0; | 2010 core.int buildCounterMarketplaceDealParty = 0; |
| 2009 buildMarketplaceDealParty() { | 2011 buildMarketplaceDealParty() { |
| 2010 var o = new api.MarketplaceDealParty(); | 2012 var o = new api.MarketplaceDealParty(); |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2077 unittest.expect(o.kind, unittest.equals('foo')); | 2079 unittest.expect(o.kind, unittest.equals('foo')); |
| 2078 unittest.expect(o.note, unittest.equals('foo')); | 2080 unittest.expect(o.note, unittest.equals('foo')); |
| 2079 unittest.expect(o.noteId, unittest.equals('foo')); | 2081 unittest.expect(o.noteId, unittest.equals('foo')); |
| 2080 unittest.expect(o.proposalId, unittest.equals('foo')); | 2082 unittest.expect(o.proposalId, unittest.equals('foo')); |
| 2081 unittest.expect(o.proposalRevisionNumber, unittest.equals('foo')); | 2083 unittest.expect(o.proposalRevisionNumber, unittest.equals('foo')); |
| 2082 unittest.expect(o.timestampMs, unittest.equals('foo')); | 2084 unittest.expect(o.timestampMs, unittest.equals('foo')); |
| 2083 } | 2085 } |
| 2084 buildCounterMarketplaceNote--; | 2086 buildCounterMarketplaceNote--; |
| 2085 } | 2087 } |
| 2086 | 2088 |
| 2087 buildUnnamed1956() { | 2089 buildUnnamed1726() { |
| 2088 var o = new core.List<core.Object>(); | 2090 var o = new core.List<core.Object>(); |
| 2089 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); | 2091 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); |
| 2090 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); | 2092 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); |
| 2091 return o; | 2093 return o; |
| 2092 } | 2094 } |
| 2093 | 2095 |
| 2094 checkUnnamed1956(core.List<core.Object> o) { | 2096 checkUnnamed1726(core.List<core.Object> o) { |
| 2095 unittest.expect(o, unittest.hasLength(2)); | 2097 unittest.expect(o, unittest.hasLength(2)); |
| 2096 var casted1 = (o[0]) as core.Map; unittest.expect(casted1, unittest.hasLength(
3)); unittest.expect(casted1["list"], unittest.equals([1, 2, 3])); unittest.expe
ct(casted1["bool"], unittest.equals(true)); unittest.expect(casted1["string"], u
nittest.equals('foo')); | 2098 var casted1 = (o[0]) as core.Map; unittest.expect(casted1, unittest.hasLength(
3)); unittest.expect(casted1["list"], unittest.equals([1, 2, 3])); unittest.expe
ct(casted1["bool"], unittest.equals(true)); unittest.expect(casted1["string"], u
nittest.equals('foo')); |
| 2097 var casted2 = (o[1]) as core.Map; unittest.expect(casted2, unittest.hasLength(
3)); unittest.expect(casted2["list"], unittest.equals([1, 2, 3])); unittest.expe
ct(casted2["bool"], unittest.equals(true)); unittest.expect(casted2["string"], u
nittest.equals('foo')); | 2099 var casted2 = (o[1]) as core.Map; unittest.expect(casted2, unittest.hasLength(
3)); unittest.expect(casted2["list"], unittest.equals([1, 2, 3])); unittest.expe
ct(casted2["bool"], unittest.equals(true)); unittest.expect(casted2["string"], u
nittest.equals('foo')); |
| 2098 } | 2100 } |
| 2099 | 2101 |
| 2100 buildUnnamed1957() { | 2102 buildUnnamed1727() { |
| 2101 var o = new core.List<core.Object>(); | 2103 var o = new core.List<core.Object>(); |
| 2102 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); | 2104 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); |
| 2103 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); | 2105 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); |
| 2104 return o; | 2106 return o; |
| 2105 } | 2107 } |
| 2106 | 2108 |
| 2107 checkUnnamed1957(core.List<core.Object> o) { | 2109 checkUnnamed1727(core.List<core.Object> o) { |
| 2108 unittest.expect(o, unittest.hasLength(2)); | 2110 unittest.expect(o, unittest.hasLength(2)); |
| 2109 var casted3 = (o[0]) as core.Map; unittest.expect(casted3, unittest.hasLength(
3)); unittest.expect(casted3["list"], unittest.equals([1, 2, 3])); unittest.expe
ct(casted3["bool"], unittest.equals(true)); unittest.expect(casted3["string"], u
nittest.equals('foo')); | 2111 var casted3 = (o[0]) as core.Map; unittest.expect(casted3, unittest.hasLength(
3)); unittest.expect(casted3["list"], unittest.equals([1, 2, 3])); unittest.expe
ct(casted3["bool"], unittest.equals(true)); unittest.expect(casted3["string"], u
nittest.equals('foo')); |
| 2110 var casted4 = (o[1]) as core.Map; unittest.expect(casted4, unittest.hasLength(
3)); unittest.expect(casted4["list"], unittest.equals([1, 2, 3])); unittest.expe
ct(casted4["bool"], unittest.equals(true)); unittest.expect(casted4["string"], u
nittest.equals('foo')); | 2112 var casted4 = (o[1]) as core.Map; unittest.expect(casted4, unittest.hasLength(
3)); unittest.expect(casted4["list"], unittest.equals([1, 2, 3])); unittest.expe
ct(casted4["bool"], unittest.equals(true)); unittest.expect(casted4["string"], u
nittest.equals('foo')); |
| 2111 } | 2113 } |
| 2112 | 2114 |
| 2113 buildUnnamed1958() { | 2115 buildUnnamed1728() { |
| 2114 var o = new core.List<core.Object>(); | 2116 var o = new core.List<core.Object>(); |
| 2115 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); | 2117 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); |
| 2116 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); | 2118 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); |
| 2117 return o; | 2119 return o; |
| 2118 } | 2120 } |
| 2119 | 2121 |
| 2120 checkUnnamed1958(core.List<core.Object> o) { | 2122 checkUnnamed1728(core.List<core.Object> o) { |
| 2121 unittest.expect(o, unittest.hasLength(2)); | 2123 unittest.expect(o, unittest.hasLength(2)); |
| 2122 var casted5 = (o[0]) as core.Map; unittest.expect(casted5, unittest.hasLength(
3)); unittest.expect(casted5["list"], unittest.equals([1, 2, 3])); unittest.expe
ct(casted5["bool"], unittest.equals(true)); unittest.expect(casted5["string"], u
nittest.equals('foo')); | 2124 var casted5 = (o[0]) as core.Map; unittest.expect(casted5, unittest.hasLength(
3)); unittest.expect(casted5["list"], unittest.equals([1, 2, 3])); unittest.expe
ct(casted5["bool"], unittest.equals(true)); unittest.expect(casted5["string"], u
nittest.equals('foo')); |
| 2123 var casted6 = (o[1]) as core.Map; unittest.expect(casted6, unittest.hasLength(
3)); unittest.expect(casted6["list"], unittest.equals([1, 2, 3])); unittest.expe
ct(casted6["bool"], unittest.equals(true)); unittest.expect(casted6["string"], u
nittest.equals('foo')); | 2125 var casted6 = (o[1]) as core.Map; unittest.expect(casted6, unittest.hasLength(
3)); unittest.expect(casted6["list"], unittest.equals([1, 2, 3])); unittest.expe
ct(casted6["bool"], unittest.equals(true)); unittest.expect(casted6["string"], u
nittest.equals('foo')); |
| 2124 } | 2126 } |
| 2125 | 2127 |
| 2126 buildUnnamed1959() { | 2128 buildUnnamed1729() { |
| 2127 var o = new core.List<core.Object>(); | 2129 var o = new core.List<core.Object>(); |
| 2128 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); | 2130 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); |
| 2129 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); | 2131 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); |
| 2130 return o; | 2132 return o; |
| 2131 } | 2133 } |
| 2132 | 2134 |
| 2133 checkUnnamed1959(core.List<core.Object> o) { | 2135 checkUnnamed1729(core.List<core.Object> o) { |
| 2134 unittest.expect(o, unittest.hasLength(2)); | 2136 unittest.expect(o, unittest.hasLength(2)); |
| 2135 var casted7 = (o[0]) as core.Map; unittest.expect(casted7, unittest.hasLength(
3)); unittest.expect(casted7["list"], unittest.equals([1, 2, 3])); unittest.expe
ct(casted7["bool"], unittest.equals(true)); unittest.expect(casted7["string"], u
nittest.equals('foo')); | 2137 var casted7 = (o[0]) as core.Map; unittest.expect(casted7, unittest.hasLength(
3)); unittest.expect(casted7["list"], unittest.equals([1, 2, 3])); unittest.expe
ct(casted7["bool"], unittest.equals(true)); unittest.expect(casted7["string"], u
nittest.equals('foo')); |
| 2136 var casted8 = (o[1]) as core.Map; unittest.expect(casted8, unittest.hasLength(
3)); unittest.expect(casted8["list"], unittest.equals([1, 2, 3])); unittest.expe
ct(casted8["bool"], unittest.equals(true)); unittest.expect(casted8["string"], u
nittest.equals('foo')); | 2138 var casted8 = (o[1]) as core.Map; unittest.expect(casted8, unittest.hasLength(
3)); unittest.expect(casted8["list"], unittest.equals([1, 2, 3])); unittest.expe
ct(casted8["bool"], unittest.equals(true)); unittest.expect(casted8["string"], u
nittest.equals('foo')); |
| 2137 } | 2139 } |
| 2138 | 2140 |
| 2139 core.int buildCounterPerformanceReport = 0; | 2141 core.int buildCounterPerformanceReport = 0; |
| 2140 buildPerformanceReport() { | 2142 buildPerformanceReport() { |
| 2141 var o = new api.PerformanceReport(); | 2143 var o = new api.PerformanceReport(); |
| 2142 buildCounterPerformanceReport++; | 2144 buildCounterPerformanceReport++; |
| 2143 if (buildCounterPerformanceReport < 3) { | 2145 if (buildCounterPerformanceReport < 3) { |
| 2144 o.bidRate = 42.0; | 2146 o.bidRate = 42.0; |
| 2145 o.bidRequestRate = 42.0; | 2147 o.bidRequestRate = 42.0; |
| 2146 o.calloutStatusRate = buildUnnamed1956(); | 2148 o.calloutStatusRate = buildUnnamed1726(); |
| 2147 o.cookieMatcherStatusRate = buildUnnamed1957(); | 2149 o.cookieMatcherStatusRate = buildUnnamed1727(); |
| 2148 o.creativeStatusRate = buildUnnamed1958(); | 2150 o.creativeStatusRate = buildUnnamed1728(); |
| 2149 o.filteredBidRate = 42.0; | 2151 o.filteredBidRate = 42.0; |
| 2150 o.hostedMatchStatusRate = buildUnnamed1959(); | 2152 o.hostedMatchStatusRate = buildUnnamed1729(); |
| 2151 o.inventoryMatchRate = 42.0; | 2153 o.inventoryMatchRate = 42.0; |
| 2152 o.kind = "foo"; | 2154 o.kind = "foo"; |
| 2153 o.latency50thPercentile = 42.0; | 2155 o.latency50thPercentile = 42.0; |
| 2154 o.latency85thPercentile = 42.0; | 2156 o.latency85thPercentile = 42.0; |
| 2155 o.latency95thPercentile = 42.0; | 2157 o.latency95thPercentile = 42.0; |
| 2156 o.noQuotaInRegion = 42.0; | 2158 o.noQuotaInRegion = 42.0; |
| 2157 o.outOfQuota = 42.0; | 2159 o.outOfQuota = 42.0; |
| 2158 o.pixelMatchRequests = 42.0; | 2160 o.pixelMatchRequests = 42.0; |
| 2159 o.pixelMatchResponses = 42.0; | 2161 o.pixelMatchResponses = 42.0; |
| 2160 o.quotaConfiguredLimit = 42.0; | 2162 o.quotaConfiguredLimit = 42.0; |
| 2161 o.quotaThrottledLimit = 42.0; | 2163 o.quotaThrottledLimit = 42.0; |
| 2162 o.region = "foo"; | 2164 o.region = "foo"; |
| 2163 o.successfulRequestRate = 42.0; | 2165 o.successfulRequestRate = 42.0; |
| 2164 o.timestamp = "foo"; | 2166 o.timestamp = "foo"; |
| 2165 o.unsuccessfulRequestRate = 42.0; | 2167 o.unsuccessfulRequestRate = 42.0; |
| 2166 } | 2168 } |
| 2167 buildCounterPerformanceReport--; | 2169 buildCounterPerformanceReport--; |
| 2168 return o; | 2170 return o; |
| 2169 } | 2171 } |
| 2170 | 2172 |
| 2171 checkPerformanceReport(api.PerformanceReport o) { | 2173 checkPerformanceReport(api.PerformanceReport o) { |
| 2172 buildCounterPerformanceReport++; | 2174 buildCounterPerformanceReport++; |
| 2173 if (buildCounterPerformanceReport < 3) { | 2175 if (buildCounterPerformanceReport < 3) { |
| 2174 unittest.expect(o.bidRate, unittest.equals(42.0)); | 2176 unittest.expect(o.bidRate, unittest.equals(42.0)); |
| 2175 unittest.expect(o.bidRequestRate, unittest.equals(42.0)); | 2177 unittest.expect(o.bidRequestRate, unittest.equals(42.0)); |
| 2176 checkUnnamed1956(o.calloutStatusRate); | 2178 checkUnnamed1726(o.calloutStatusRate); |
| 2177 checkUnnamed1957(o.cookieMatcherStatusRate); | 2179 checkUnnamed1727(o.cookieMatcherStatusRate); |
| 2178 checkUnnamed1958(o.creativeStatusRate); | 2180 checkUnnamed1728(o.creativeStatusRate); |
| 2179 unittest.expect(o.filteredBidRate, unittest.equals(42.0)); | 2181 unittest.expect(o.filteredBidRate, unittest.equals(42.0)); |
| 2180 checkUnnamed1959(o.hostedMatchStatusRate); | 2182 checkUnnamed1729(o.hostedMatchStatusRate); |
| 2181 unittest.expect(o.inventoryMatchRate, unittest.equals(42.0)); | 2183 unittest.expect(o.inventoryMatchRate, unittest.equals(42.0)); |
| 2182 unittest.expect(o.kind, unittest.equals('foo')); | 2184 unittest.expect(o.kind, unittest.equals('foo')); |
| 2183 unittest.expect(o.latency50thPercentile, unittest.equals(42.0)); | 2185 unittest.expect(o.latency50thPercentile, unittest.equals(42.0)); |
| 2184 unittest.expect(o.latency85thPercentile, unittest.equals(42.0)); | 2186 unittest.expect(o.latency85thPercentile, unittest.equals(42.0)); |
| 2185 unittest.expect(o.latency95thPercentile, unittest.equals(42.0)); | 2187 unittest.expect(o.latency95thPercentile, unittest.equals(42.0)); |
| 2186 unittest.expect(o.noQuotaInRegion, unittest.equals(42.0)); | 2188 unittest.expect(o.noQuotaInRegion, unittest.equals(42.0)); |
| 2187 unittest.expect(o.outOfQuota, unittest.equals(42.0)); | 2189 unittest.expect(o.outOfQuota, unittest.equals(42.0)); |
| 2188 unittest.expect(o.pixelMatchRequests, unittest.equals(42.0)); | 2190 unittest.expect(o.pixelMatchRequests, unittest.equals(42.0)); |
| 2189 unittest.expect(o.pixelMatchResponses, unittest.equals(42.0)); | 2191 unittest.expect(o.pixelMatchResponses, unittest.equals(42.0)); |
| 2190 unittest.expect(o.quotaConfiguredLimit, unittest.equals(42.0)); | 2192 unittest.expect(o.quotaConfiguredLimit, unittest.equals(42.0)); |
| 2191 unittest.expect(o.quotaThrottledLimit, unittest.equals(42.0)); | 2193 unittest.expect(o.quotaThrottledLimit, unittest.equals(42.0)); |
| 2192 unittest.expect(o.region, unittest.equals('foo')); | 2194 unittest.expect(o.region, unittest.equals('foo')); |
| 2193 unittest.expect(o.successfulRequestRate, unittest.equals(42.0)); | 2195 unittest.expect(o.successfulRequestRate, unittest.equals(42.0)); |
| 2194 unittest.expect(o.timestamp, unittest.equals('foo')); | 2196 unittest.expect(o.timestamp, unittest.equals('foo')); |
| 2195 unittest.expect(o.unsuccessfulRequestRate, unittest.equals(42.0)); | 2197 unittest.expect(o.unsuccessfulRequestRate, unittest.equals(42.0)); |
| 2196 } | 2198 } |
| 2197 buildCounterPerformanceReport--; | 2199 buildCounterPerformanceReport--; |
| 2198 } | 2200 } |
| 2199 | 2201 |
| 2200 buildUnnamed1960() { | 2202 buildUnnamed1730() { |
| 2201 var o = new core.List<api.PerformanceReport>(); | 2203 var o = new core.List<api.PerformanceReport>(); |
| 2202 o.add(buildPerformanceReport()); | 2204 o.add(buildPerformanceReport()); |
| 2203 o.add(buildPerformanceReport()); | 2205 o.add(buildPerformanceReport()); |
| 2204 return o; | 2206 return o; |
| 2205 } | 2207 } |
| 2206 | 2208 |
| 2207 checkUnnamed1960(core.List<api.PerformanceReport> o) { | 2209 checkUnnamed1730(core.List<api.PerformanceReport> o) { |
| 2208 unittest.expect(o, unittest.hasLength(2)); | 2210 unittest.expect(o, unittest.hasLength(2)); |
| 2209 checkPerformanceReport(o[0]); | 2211 checkPerformanceReport(o[0]); |
| 2210 checkPerformanceReport(o[1]); | 2212 checkPerformanceReport(o[1]); |
| 2211 } | 2213 } |
| 2212 | 2214 |
| 2213 core.int buildCounterPerformanceReportList = 0; | 2215 core.int buildCounterPerformanceReportList = 0; |
| 2214 buildPerformanceReportList() { | 2216 buildPerformanceReportList() { |
| 2215 var o = new api.PerformanceReportList(); | 2217 var o = new api.PerformanceReportList(); |
| 2216 buildCounterPerformanceReportList++; | 2218 buildCounterPerformanceReportList++; |
| 2217 if (buildCounterPerformanceReportList < 3) { | 2219 if (buildCounterPerformanceReportList < 3) { |
| 2218 o.kind = "foo"; | 2220 o.kind = "foo"; |
| 2219 o.performanceReport = buildUnnamed1960(); | 2221 o.performanceReport = buildUnnamed1730(); |
| 2220 } | 2222 } |
| 2221 buildCounterPerformanceReportList--; | 2223 buildCounterPerformanceReportList--; |
| 2222 return o; | 2224 return o; |
| 2223 } | 2225 } |
| 2224 | 2226 |
| 2225 checkPerformanceReportList(api.PerformanceReportList o) { | 2227 checkPerformanceReportList(api.PerformanceReportList o) { |
| 2226 buildCounterPerformanceReportList++; | 2228 buildCounterPerformanceReportList++; |
| 2227 if (buildCounterPerformanceReportList < 3) { | 2229 if (buildCounterPerformanceReportList < 3) { |
| 2228 unittest.expect(o.kind, unittest.equals('foo')); | 2230 unittest.expect(o.kind, unittest.equals('foo')); |
| 2229 checkUnnamed1960(o.performanceReport); | 2231 checkUnnamed1730(o.performanceReport); |
| 2230 } | 2232 } |
| 2231 buildCounterPerformanceReportList--; | 2233 buildCounterPerformanceReportList--; |
| 2232 } | 2234 } |
| 2233 | 2235 |
| 2234 buildUnnamed1961() { | 2236 buildUnnamed1731() { |
| 2235 var o = new core.List<core.String>(); | 2237 var o = new core.List<core.String>(); |
| 2236 o.add("foo"); | 2238 o.add("foo"); |
| 2237 o.add("foo"); | 2239 o.add("foo"); |
| 2238 return o; | 2240 return o; |
| 2239 } | 2241 } |
| 2240 | 2242 |
| 2241 checkUnnamed1961(core.List<core.String> o) { | 2243 checkUnnamed1731(core.List<core.String> o) { |
| 2242 unittest.expect(o, unittest.hasLength(2)); | 2244 unittest.expect(o, unittest.hasLength(2)); |
| 2243 unittest.expect(o[0], unittest.equals('foo')); | 2245 unittest.expect(o[0], unittest.equals('foo')); |
| 2244 unittest.expect(o[1], unittest.equals('foo')); | 2246 unittest.expect(o[1], unittest.equals('foo')); |
| 2245 } | 2247 } |
| 2246 | 2248 |
| 2247 core.int buildCounterPretargetingConfigDimensions = 0; | 2249 core.int buildCounterPretargetingConfigDimensions = 0; |
| 2248 buildPretargetingConfigDimensions() { | 2250 buildPretargetingConfigDimensions() { |
| 2249 var o = new api.PretargetingConfigDimensions(); | 2251 var o = new api.PretargetingConfigDimensions(); |
| 2250 buildCounterPretargetingConfigDimensions++; | 2252 buildCounterPretargetingConfigDimensions++; |
| 2251 if (buildCounterPretargetingConfigDimensions < 3) { | 2253 if (buildCounterPretargetingConfigDimensions < 3) { |
| 2252 o.height = "foo"; | 2254 o.height = "foo"; |
| 2253 o.width = "foo"; | 2255 o.width = "foo"; |
| 2254 } | 2256 } |
| 2255 buildCounterPretargetingConfigDimensions--; | 2257 buildCounterPretargetingConfigDimensions--; |
| 2256 return o; | 2258 return o; |
| 2257 } | 2259 } |
| 2258 | 2260 |
| 2259 checkPretargetingConfigDimensions(api.PretargetingConfigDimensions o) { | 2261 checkPretargetingConfigDimensions(api.PretargetingConfigDimensions o) { |
| 2260 buildCounterPretargetingConfigDimensions++; | 2262 buildCounterPretargetingConfigDimensions++; |
| 2261 if (buildCounterPretargetingConfigDimensions < 3) { | 2263 if (buildCounterPretargetingConfigDimensions < 3) { |
| 2262 unittest.expect(o.height, unittest.equals('foo')); | 2264 unittest.expect(o.height, unittest.equals('foo')); |
| 2263 unittest.expect(o.width, unittest.equals('foo')); | 2265 unittest.expect(o.width, unittest.equals('foo')); |
| 2264 } | 2266 } |
| 2265 buildCounterPretargetingConfigDimensions--; | 2267 buildCounterPretargetingConfigDimensions--; |
| 2266 } | 2268 } |
| 2267 | 2269 |
| 2268 buildUnnamed1962() { | 2270 buildUnnamed1732() { |
| 2269 var o = new core.List<api.PretargetingConfigDimensions>(); | 2271 var o = new core.List<api.PretargetingConfigDimensions>(); |
| 2270 o.add(buildPretargetingConfigDimensions()); | 2272 o.add(buildPretargetingConfigDimensions()); |
| 2271 o.add(buildPretargetingConfigDimensions()); | 2273 o.add(buildPretargetingConfigDimensions()); |
| 2272 return o; | 2274 return o; |
| 2273 } | 2275 } |
| 2274 | 2276 |
| 2275 checkUnnamed1962(core.List<api.PretargetingConfigDimensions> o) { | 2277 checkUnnamed1732(core.List<api.PretargetingConfigDimensions> o) { |
| 2276 unittest.expect(o, unittest.hasLength(2)); | 2278 unittest.expect(o, unittest.hasLength(2)); |
| 2277 checkPretargetingConfigDimensions(o[0]); | 2279 checkPretargetingConfigDimensions(o[0]); |
| 2278 checkPretargetingConfigDimensions(o[1]); | 2280 checkPretargetingConfigDimensions(o[1]); |
| 2279 } | 2281 } |
| 2280 | 2282 |
| 2281 buildUnnamed1963() { | 2283 buildUnnamed1733() { |
| 2282 var o = new core.List<core.String>(); | 2284 var o = new core.List<core.String>(); |
| 2283 o.add("foo"); | 2285 o.add("foo"); |
| 2284 o.add("foo"); | 2286 o.add("foo"); |
| 2285 return o; | 2287 return o; |
| 2286 } | 2288 } |
| 2287 | 2289 |
| 2288 checkUnnamed1963(core.List<core.String> o) { | 2290 checkUnnamed1733(core.List<core.String> o) { |
| 2289 unittest.expect(o, unittest.hasLength(2)); | 2291 unittest.expect(o, unittest.hasLength(2)); |
| 2290 unittest.expect(o[0], unittest.equals('foo')); | 2292 unittest.expect(o[0], unittest.equals('foo')); |
| 2291 unittest.expect(o[1], unittest.equals('foo')); | 2293 unittest.expect(o[1], unittest.equals('foo')); |
| 2292 } | 2294 } |
| 2293 | 2295 |
| 2294 buildUnnamed1964() { | 2296 buildUnnamed1734() { |
| 2295 var o = new core.List<core.String>(); | 2297 var o = new core.List<core.String>(); |
| 2296 o.add("foo"); | 2298 o.add("foo"); |
| 2297 o.add("foo"); | 2299 o.add("foo"); |
| 2298 return o; | 2300 return o; |
| 2299 } | 2301 } |
| 2300 | 2302 |
| 2301 checkUnnamed1964(core.List<core.String> o) { | 2303 checkUnnamed1734(core.List<core.String> o) { |
| 2302 unittest.expect(o, unittest.hasLength(2)); | 2304 unittest.expect(o, unittest.hasLength(2)); |
| 2303 unittest.expect(o[0], unittest.equals('foo')); | 2305 unittest.expect(o[0], unittest.equals('foo')); |
| 2304 unittest.expect(o[1], unittest.equals('foo')); | 2306 unittest.expect(o[1], unittest.equals('foo')); |
| 2305 } | 2307 } |
| 2306 | 2308 |
| 2307 core.int buildCounterPretargetingConfigExcludedPlacements = 0; | 2309 core.int buildCounterPretargetingConfigExcludedPlacements = 0; |
| 2308 buildPretargetingConfigExcludedPlacements() { | 2310 buildPretargetingConfigExcludedPlacements() { |
| 2309 var o = new api.PretargetingConfigExcludedPlacements(); | 2311 var o = new api.PretargetingConfigExcludedPlacements(); |
| 2310 buildCounterPretargetingConfigExcludedPlacements++; | 2312 buildCounterPretargetingConfigExcludedPlacements++; |
| 2311 if (buildCounterPretargetingConfigExcludedPlacements < 3) { | 2313 if (buildCounterPretargetingConfigExcludedPlacements < 3) { |
| 2312 o.token = "foo"; | 2314 o.token = "foo"; |
| 2313 o.type = "foo"; | 2315 o.type = "foo"; |
| 2314 } | 2316 } |
| 2315 buildCounterPretargetingConfigExcludedPlacements--; | 2317 buildCounterPretargetingConfigExcludedPlacements--; |
| 2316 return o; | 2318 return o; |
| 2317 } | 2319 } |
| 2318 | 2320 |
| 2319 checkPretargetingConfigExcludedPlacements(api.PretargetingConfigExcludedPlacemen
ts o) { | 2321 checkPretargetingConfigExcludedPlacements(api.PretargetingConfigExcludedPlacemen
ts o) { |
| 2320 buildCounterPretargetingConfigExcludedPlacements++; | 2322 buildCounterPretargetingConfigExcludedPlacements++; |
| 2321 if (buildCounterPretargetingConfigExcludedPlacements < 3) { | 2323 if (buildCounterPretargetingConfigExcludedPlacements < 3) { |
| 2322 unittest.expect(o.token, unittest.equals('foo')); | 2324 unittest.expect(o.token, unittest.equals('foo')); |
| 2323 unittest.expect(o.type, unittest.equals('foo')); | 2325 unittest.expect(o.type, unittest.equals('foo')); |
| 2324 } | 2326 } |
| 2325 buildCounterPretargetingConfigExcludedPlacements--; | 2327 buildCounterPretargetingConfigExcludedPlacements--; |
| 2326 } | 2328 } |
| 2327 | 2329 |
| 2328 buildUnnamed1965() { | 2330 buildUnnamed1735() { |
| 2329 var o = new core.List<api.PretargetingConfigExcludedPlacements>(); | 2331 var o = new core.List<api.PretargetingConfigExcludedPlacements>(); |
| 2330 o.add(buildPretargetingConfigExcludedPlacements()); | 2332 o.add(buildPretargetingConfigExcludedPlacements()); |
| 2331 o.add(buildPretargetingConfigExcludedPlacements()); | 2333 o.add(buildPretargetingConfigExcludedPlacements()); |
| 2332 return o; | 2334 return o; |
| 2333 } | 2335 } |
| 2334 | 2336 |
| 2335 checkUnnamed1965(core.List<api.PretargetingConfigExcludedPlacements> o) { | 2337 checkUnnamed1735(core.List<api.PretargetingConfigExcludedPlacements> o) { |
| 2336 unittest.expect(o, unittest.hasLength(2)); | 2338 unittest.expect(o, unittest.hasLength(2)); |
| 2337 checkPretargetingConfigExcludedPlacements(o[0]); | 2339 checkPretargetingConfigExcludedPlacements(o[0]); |
| 2338 checkPretargetingConfigExcludedPlacements(o[1]); | 2340 checkPretargetingConfigExcludedPlacements(o[1]); |
| 2339 } | 2341 } |
| 2340 | 2342 |
| 2341 buildUnnamed1966() { | 2343 buildUnnamed1736() { |
| 2342 var o = new core.List<core.String>(); | 2344 var o = new core.List<core.String>(); |
| 2343 o.add("foo"); | 2345 o.add("foo"); |
| 2344 o.add("foo"); | 2346 o.add("foo"); |
| 2345 return o; | 2347 return o; |
| 2346 } | 2348 } |
| 2347 | 2349 |
| 2348 checkUnnamed1966(core.List<core.String> o) { | 2350 checkUnnamed1736(core.List<core.String> o) { |
| 2349 unittest.expect(o, unittest.hasLength(2)); | 2351 unittest.expect(o, unittest.hasLength(2)); |
| 2350 unittest.expect(o[0], unittest.equals('foo')); | 2352 unittest.expect(o[0], unittest.equals('foo')); |
| 2351 unittest.expect(o[1], unittest.equals('foo')); | 2353 unittest.expect(o[1], unittest.equals('foo')); |
| 2352 } | 2354 } |
| 2353 | 2355 |
| 2354 buildUnnamed1967() { | 2356 buildUnnamed1737() { |
| 2355 var o = new core.List<core.String>(); | 2357 var o = new core.List<core.String>(); |
| 2356 o.add("foo"); | 2358 o.add("foo"); |
| 2357 o.add("foo"); | 2359 o.add("foo"); |
| 2358 return o; | 2360 return o; |
| 2359 } | 2361 } |
| 2360 | 2362 |
| 2361 checkUnnamed1967(core.List<core.String> o) { | 2363 checkUnnamed1737(core.List<core.String> o) { |
| 2362 unittest.expect(o, unittest.hasLength(2)); | 2364 unittest.expect(o, unittest.hasLength(2)); |
| 2363 unittest.expect(o[0], unittest.equals('foo')); | 2365 unittest.expect(o[0], unittest.equals('foo')); |
| 2364 unittest.expect(o[1], unittest.equals('foo')); | 2366 unittest.expect(o[1], unittest.equals('foo')); |
| 2365 } | 2367 } |
| 2366 | 2368 |
| 2367 buildUnnamed1968() { | 2369 buildUnnamed1738() { |
| 2368 var o = new core.List<core.String>(); | 2370 var o = new core.List<core.String>(); |
| 2369 o.add("foo"); | 2371 o.add("foo"); |
| 2370 o.add("foo"); | 2372 o.add("foo"); |
| 2371 return o; | 2373 return o; |
| 2372 } | 2374 } |
| 2373 | 2375 |
| 2374 checkUnnamed1968(core.List<core.String> o) { | 2376 checkUnnamed1738(core.List<core.String> o) { |
| 2375 unittest.expect(o, unittest.hasLength(2)); | 2377 unittest.expect(o, unittest.hasLength(2)); |
| 2376 unittest.expect(o[0], unittest.equals('foo')); | 2378 unittest.expect(o[0], unittest.equals('foo')); |
| 2377 unittest.expect(o[1], unittest.equals('foo')); | 2379 unittest.expect(o[1], unittest.equals('foo')); |
| 2378 } | 2380 } |
| 2379 | 2381 |
| 2380 buildUnnamed1969() { | 2382 buildUnnamed1739() { |
| 2381 var o = new core.List<core.String>(); | 2383 var o = new core.List<core.String>(); |
| 2382 o.add("foo"); | 2384 o.add("foo"); |
| 2383 o.add("foo"); | 2385 o.add("foo"); |
| 2384 return o; | 2386 return o; |
| 2385 } | 2387 } |
| 2386 | 2388 |
| 2387 checkUnnamed1969(core.List<core.String> o) { | 2389 checkUnnamed1739(core.List<core.String> o) { |
| 2388 unittest.expect(o, unittest.hasLength(2)); | 2390 unittest.expect(o, unittest.hasLength(2)); |
| 2389 unittest.expect(o[0], unittest.equals('foo')); | 2391 unittest.expect(o[0], unittest.equals('foo')); |
| 2390 unittest.expect(o[1], unittest.equals('foo')); | 2392 unittest.expect(o[1], unittest.equals('foo')); |
| 2391 } | 2393 } |
| 2392 | 2394 |
| 2393 buildUnnamed1970() { | 2395 buildUnnamed1740() { |
| 2394 var o = new core.List<core.String>(); | 2396 var o = new core.List<core.String>(); |
| 2395 o.add("foo"); | 2397 o.add("foo"); |
| 2396 o.add("foo"); | 2398 o.add("foo"); |
| 2397 return o; | 2399 return o; |
| 2398 } | 2400 } |
| 2399 | 2401 |
| 2400 checkUnnamed1970(core.List<core.String> o) { | 2402 checkUnnamed1740(core.List<core.String> o) { |
| 2401 unittest.expect(o, unittest.hasLength(2)); | 2403 unittest.expect(o, unittest.hasLength(2)); |
| 2402 unittest.expect(o[0], unittest.equals('foo')); | 2404 unittest.expect(o[0], unittest.equals('foo')); |
| 2403 unittest.expect(o[1], unittest.equals('foo')); | 2405 unittest.expect(o[1], unittest.equals('foo')); |
| 2404 } | 2406 } |
| 2405 | 2407 |
| 2406 buildUnnamed1971() { | 2408 buildUnnamed1741() { |
| 2407 var o = new core.List<core.String>(); | 2409 var o = new core.List<core.String>(); |
| 2408 o.add("foo"); | 2410 o.add("foo"); |
| 2409 o.add("foo"); | 2411 o.add("foo"); |
| 2410 return o; | 2412 return o; |
| 2411 } | 2413 } |
| 2412 | 2414 |
| 2413 checkUnnamed1971(core.List<core.String> o) { | 2415 checkUnnamed1741(core.List<core.String> o) { |
| 2414 unittest.expect(o, unittest.hasLength(2)); | 2416 unittest.expect(o, unittest.hasLength(2)); |
| 2415 unittest.expect(o[0], unittest.equals('foo')); | 2417 unittest.expect(o[0], unittest.equals('foo')); |
| 2416 unittest.expect(o[1], unittest.equals('foo')); | 2418 unittest.expect(o[1], unittest.equals('foo')); |
| 2417 } | 2419 } |
| 2418 | 2420 |
| 2419 buildUnnamed1972() { | 2421 buildUnnamed1742() { |
| 2420 var o = new core.List<core.String>(); | 2422 var o = new core.List<core.String>(); |
| 2421 o.add("foo"); | 2423 o.add("foo"); |
| 2422 o.add("foo"); | 2424 o.add("foo"); |
| 2423 return o; | 2425 return o; |
| 2424 } | 2426 } |
| 2425 | 2427 |
| 2426 checkUnnamed1972(core.List<core.String> o) { | 2428 checkUnnamed1742(core.List<core.String> o) { |
| 2427 unittest.expect(o, unittest.hasLength(2)); | 2429 unittest.expect(o, unittest.hasLength(2)); |
| 2428 unittest.expect(o[0], unittest.equals('foo')); | 2430 unittest.expect(o[0], unittest.equals('foo')); |
| 2429 unittest.expect(o[1], unittest.equals('foo')); | 2431 unittest.expect(o[1], unittest.equals('foo')); |
| 2430 } | 2432 } |
| 2431 | 2433 |
| 2432 core.int buildCounterPretargetingConfigPlacements = 0; | 2434 core.int buildCounterPretargetingConfigPlacements = 0; |
| 2433 buildPretargetingConfigPlacements() { | 2435 buildPretargetingConfigPlacements() { |
| 2434 var o = new api.PretargetingConfigPlacements(); | 2436 var o = new api.PretargetingConfigPlacements(); |
| 2435 buildCounterPretargetingConfigPlacements++; | 2437 buildCounterPretargetingConfigPlacements++; |
| 2436 if (buildCounterPretargetingConfigPlacements < 3) { | 2438 if (buildCounterPretargetingConfigPlacements < 3) { |
| 2437 o.token = "foo"; | 2439 o.token = "foo"; |
| 2438 o.type = "foo"; | 2440 o.type = "foo"; |
| 2439 } | 2441 } |
| 2440 buildCounterPretargetingConfigPlacements--; | 2442 buildCounterPretargetingConfigPlacements--; |
| 2441 return o; | 2443 return o; |
| 2442 } | 2444 } |
| 2443 | 2445 |
| 2444 checkPretargetingConfigPlacements(api.PretargetingConfigPlacements o) { | 2446 checkPretargetingConfigPlacements(api.PretargetingConfigPlacements o) { |
| 2445 buildCounterPretargetingConfigPlacements++; | 2447 buildCounterPretargetingConfigPlacements++; |
| 2446 if (buildCounterPretargetingConfigPlacements < 3) { | 2448 if (buildCounterPretargetingConfigPlacements < 3) { |
| 2447 unittest.expect(o.token, unittest.equals('foo')); | 2449 unittest.expect(o.token, unittest.equals('foo')); |
| 2448 unittest.expect(o.type, unittest.equals('foo')); | 2450 unittest.expect(o.type, unittest.equals('foo')); |
| 2449 } | 2451 } |
| 2450 buildCounterPretargetingConfigPlacements--; | 2452 buildCounterPretargetingConfigPlacements--; |
| 2451 } | 2453 } |
| 2452 | 2454 |
| 2453 buildUnnamed1973() { | 2455 buildUnnamed1743() { |
| 2454 var o = new core.List<api.PretargetingConfigPlacements>(); | 2456 var o = new core.List<api.PretargetingConfigPlacements>(); |
| 2455 o.add(buildPretargetingConfigPlacements()); | 2457 o.add(buildPretargetingConfigPlacements()); |
| 2456 o.add(buildPretargetingConfigPlacements()); | 2458 o.add(buildPretargetingConfigPlacements()); |
| 2457 return o; | 2459 return o; |
| 2458 } | 2460 } |
| 2459 | 2461 |
| 2460 checkUnnamed1973(core.List<api.PretargetingConfigPlacements> o) { | 2462 checkUnnamed1743(core.List<api.PretargetingConfigPlacements> o) { |
| 2461 unittest.expect(o, unittest.hasLength(2)); | 2463 unittest.expect(o, unittest.hasLength(2)); |
| 2462 checkPretargetingConfigPlacements(o[0]); | 2464 checkPretargetingConfigPlacements(o[0]); |
| 2463 checkPretargetingConfigPlacements(o[1]); | 2465 checkPretargetingConfigPlacements(o[1]); |
| 2464 } | 2466 } |
| 2465 | 2467 |
| 2466 buildUnnamed1974() { | 2468 buildUnnamed1744() { |
| 2467 var o = new core.List<core.String>(); | 2469 var o = new core.List<core.String>(); |
| 2468 o.add("foo"); | 2470 o.add("foo"); |
| 2469 o.add("foo"); | 2471 o.add("foo"); |
| 2470 return o; | 2472 return o; |
| 2471 } | 2473 } |
| 2472 | 2474 |
| 2473 checkUnnamed1974(core.List<core.String> o) { | 2475 checkUnnamed1744(core.List<core.String> o) { |
| 2474 unittest.expect(o, unittest.hasLength(2)); | 2476 unittest.expect(o, unittest.hasLength(2)); |
| 2475 unittest.expect(o[0], unittest.equals('foo')); | 2477 unittest.expect(o[0], unittest.equals('foo')); |
| 2476 unittest.expect(o[1], unittest.equals('foo')); | 2478 unittest.expect(o[1], unittest.equals('foo')); |
| 2477 } | 2479 } |
| 2478 | 2480 |
| 2479 buildUnnamed1975() { | 2481 buildUnnamed1745() { |
| 2480 var o = new core.List<core.String>(); | 2482 var o = new core.List<core.String>(); |
| 2481 o.add("foo"); | 2483 o.add("foo"); |
| 2482 o.add("foo"); | 2484 o.add("foo"); |
| 2483 return o; | 2485 return o; |
| 2484 } | 2486 } |
| 2485 | 2487 |
| 2486 checkUnnamed1975(core.List<core.String> o) { | 2488 checkUnnamed1745(core.List<core.String> o) { |
| 2487 unittest.expect(o, unittest.hasLength(2)); | 2489 unittest.expect(o, unittest.hasLength(2)); |
| 2488 unittest.expect(o[0], unittest.equals('foo')); | 2490 unittest.expect(o[0], unittest.equals('foo')); |
| 2489 unittest.expect(o[1], unittest.equals('foo')); | 2491 unittest.expect(o[1], unittest.equals('foo')); |
| 2490 } | 2492 } |
| 2491 | 2493 |
| 2492 buildUnnamed1976() { | 2494 buildUnnamed1746() { |
| 2493 var o = new core.List<core.String>(); | 2495 var o = new core.List<core.String>(); |
| 2494 o.add("foo"); | 2496 o.add("foo"); |
| 2495 o.add("foo"); | 2497 o.add("foo"); |
| 2496 return o; | 2498 return o; |
| 2497 } | 2499 } |
| 2498 | 2500 |
| 2499 checkUnnamed1976(core.List<core.String> o) { | 2501 checkUnnamed1746(core.List<core.String> o) { |
| 2500 unittest.expect(o, unittest.hasLength(2)); | 2502 unittest.expect(o, unittest.hasLength(2)); |
| 2501 unittest.expect(o[0], unittest.equals('foo')); | 2503 unittest.expect(o[0], unittest.equals('foo')); |
| 2502 unittest.expect(o[1], unittest.equals('foo')); | 2504 unittest.expect(o[1], unittest.equals('foo')); |
| 2503 } | 2505 } |
| 2504 | 2506 |
| 2505 buildUnnamed1977() { | 2507 buildUnnamed1747() { |
| 2506 var o = new core.List<core.String>(); | 2508 var o = new core.List<core.String>(); |
| 2507 o.add("foo"); | 2509 o.add("foo"); |
| 2508 o.add("foo"); | 2510 o.add("foo"); |
| 2509 return o; | 2511 return o; |
| 2510 } | 2512 } |
| 2511 | 2513 |
| 2512 checkUnnamed1977(core.List<core.String> o) { | 2514 checkUnnamed1747(core.List<core.String> o) { |
| 2513 unittest.expect(o, unittest.hasLength(2)); | 2515 unittest.expect(o, unittest.hasLength(2)); |
| 2514 unittest.expect(o[0], unittest.equals('foo')); | 2516 unittest.expect(o[0], unittest.equals('foo')); |
| 2515 unittest.expect(o[1], unittest.equals('foo')); | 2517 unittest.expect(o[1], unittest.equals('foo')); |
| 2516 } | 2518 } |
| 2517 | 2519 |
| 2518 buildUnnamed1978() { | 2520 buildUnnamed1748() { |
| 2519 var o = new core.List<core.String>(); | 2521 var o = new core.List<core.String>(); |
| 2520 o.add("foo"); | 2522 o.add("foo"); |
| 2521 o.add("foo"); | 2523 o.add("foo"); |
| 2522 return o; | 2524 return o; |
| 2523 } | 2525 } |
| 2524 | 2526 |
| 2525 checkUnnamed1978(core.List<core.String> o) { | 2527 checkUnnamed1748(core.List<core.String> o) { |
| 2526 unittest.expect(o, unittest.hasLength(2)); | 2528 unittest.expect(o, unittest.hasLength(2)); |
| 2527 unittest.expect(o[0], unittest.equals('foo')); | 2529 unittest.expect(o[0], unittest.equals('foo')); |
| 2528 unittest.expect(o[1], unittest.equals('foo')); | 2530 unittest.expect(o[1], unittest.equals('foo')); |
| 2529 } | 2531 } |
| 2530 | 2532 |
| 2531 buildUnnamed1979() { | 2533 buildUnnamed1749() { |
| 2532 var o = new core.List<core.String>(); | 2534 var o = new core.List<core.String>(); |
| 2533 o.add("foo"); | 2535 o.add("foo"); |
| 2534 o.add("foo"); | 2536 o.add("foo"); |
| 2535 return o; | 2537 return o; |
| 2536 } | 2538 } |
| 2537 | 2539 |
| 2538 checkUnnamed1979(core.List<core.String> o) { | 2540 checkUnnamed1749(core.List<core.String> o) { |
| 2539 unittest.expect(o, unittest.hasLength(2)); | 2541 unittest.expect(o, unittest.hasLength(2)); |
| 2540 unittest.expect(o[0], unittest.equals('foo')); | 2542 unittest.expect(o[0], unittest.equals('foo')); |
| 2541 unittest.expect(o[1], unittest.equals('foo')); | 2543 unittest.expect(o[1], unittest.equals('foo')); |
| 2542 } | 2544 } |
| 2543 | 2545 |
| 2544 core.int buildCounterPretargetingConfigVideoPlayerSizes = 0; | 2546 core.int buildCounterPretargetingConfigVideoPlayerSizes = 0; |
| 2545 buildPretargetingConfigVideoPlayerSizes() { | 2547 buildPretargetingConfigVideoPlayerSizes() { |
| 2546 var o = new api.PretargetingConfigVideoPlayerSizes(); | 2548 var o = new api.PretargetingConfigVideoPlayerSizes(); |
| 2547 buildCounterPretargetingConfigVideoPlayerSizes++; | 2549 buildCounterPretargetingConfigVideoPlayerSizes++; |
| 2548 if (buildCounterPretargetingConfigVideoPlayerSizes < 3) { | 2550 if (buildCounterPretargetingConfigVideoPlayerSizes < 3) { |
| 2549 o.aspectRatio = "foo"; | 2551 o.aspectRatio = "foo"; |
| 2550 o.minHeight = "foo"; | 2552 o.minHeight = "foo"; |
| 2551 o.minWidth = "foo"; | 2553 o.minWidth = "foo"; |
| 2552 } | 2554 } |
| 2553 buildCounterPretargetingConfigVideoPlayerSizes--; | 2555 buildCounterPretargetingConfigVideoPlayerSizes--; |
| 2554 return o; | 2556 return o; |
| 2555 } | 2557 } |
| 2556 | 2558 |
| 2557 checkPretargetingConfigVideoPlayerSizes(api.PretargetingConfigVideoPlayerSizes o
) { | 2559 checkPretargetingConfigVideoPlayerSizes(api.PretargetingConfigVideoPlayerSizes o
) { |
| 2558 buildCounterPretargetingConfigVideoPlayerSizes++; | 2560 buildCounterPretargetingConfigVideoPlayerSizes++; |
| 2559 if (buildCounterPretargetingConfigVideoPlayerSizes < 3) { | 2561 if (buildCounterPretargetingConfigVideoPlayerSizes < 3) { |
| 2560 unittest.expect(o.aspectRatio, unittest.equals('foo')); | 2562 unittest.expect(o.aspectRatio, unittest.equals('foo')); |
| 2561 unittest.expect(o.minHeight, unittest.equals('foo')); | 2563 unittest.expect(o.minHeight, unittest.equals('foo')); |
| 2562 unittest.expect(o.minWidth, unittest.equals('foo')); | 2564 unittest.expect(o.minWidth, unittest.equals('foo')); |
| 2563 } | 2565 } |
| 2564 buildCounterPretargetingConfigVideoPlayerSizes--; | 2566 buildCounterPretargetingConfigVideoPlayerSizes--; |
| 2565 } | 2567 } |
| 2566 | 2568 |
| 2567 buildUnnamed1980() { | 2569 buildUnnamed1750() { |
| 2568 var o = new core.List<api.PretargetingConfigVideoPlayerSizes>(); | 2570 var o = new core.List<api.PretargetingConfigVideoPlayerSizes>(); |
| 2569 o.add(buildPretargetingConfigVideoPlayerSizes()); | 2571 o.add(buildPretargetingConfigVideoPlayerSizes()); |
| 2570 o.add(buildPretargetingConfigVideoPlayerSizes()); | 2572 o.add(buildPretargetingConfigVideoPlayerSizes()); |
| 2571 return o; | 2573 return o; |
| 2572 } | 2574 } |
| 2573 | 2575 |
| 2574 checkUnnamed1980(core.List<api.PretargetingConfigVideoPlayerSizes> o) { | 2576 checkUnnamed1750(core.List<api.PretargetingConfigVideoPlayerSizes> o) { |
| 2575 unittest.expect(o, unittest.hasLength(2)); | 2577 unittest.expect(o, unittest.hasLength(2)); |
| 2576 checkPretargetingConfigVideoPlayerSizes(o[0]); | 2578 checkPretargetingConfigVideoPlayerSizes(o[0]); |
| 2577 checkPretargetingConfigVideoPlayerSizes(o[1]); | 2579 checkPretargetingConfigVideoPlayerSizes(o[1]); |
| 2578 } | 2580 } |
| 2579 | 2581 |
| 2580 core.int buildCounterPretargetingConfig = 0; | 2582 core.int buildCounterPretargetingConfig = 0; |
| 2581 buildPretargetingConfig() { | 2583 buildPretargetingConfig() { |
| 2582 var o = new api.PretargetingConfig(); | 2584 var o = new api.PretargetingConfig(); |
| 2583 buildCounterPretargetingConfig++; | 2585 buildCounterPretargetingConfig++; |
| 2584 if (buildCounterPretargetingConfig < 3) { | 2586 if (buildCounterPretargetingConfig < 3) { |
| 2585 o.billingId = "foo"; | 2587 o.billingId = "foo"; |
| 2586 o.configId = "foo"; | 2588 o.configId = "foo"; |
| 2587 o.configName = "foo"; | 2589 o.configName = "foo"; |
| 2588 o.creativeType = buildUnnamed1961(); | 2590 o.creativeType = buildUnnamed1731(); |
| 2589 o.dimensions = buildUnnamed1962(); | 2591 o.dimensions = buildUnnamed1732(); |
| 2590 o.excludedContentLabels = buildUnnamed1963(); | 2592 o.excludedContentLabels = buildUnnamed1733(); |
| 2591 o.excludedGeoCriteriaIds = buildUnnamed1964(); | 2593 o.excludedGeoCriteriaIds = buildUnnamed1734(); |
| 2592 o.excludedPlacements = buildUnnamed1965(); | 2594 o.excludedPlacements = buildUnnamed1735(); |
| 2593 o.excludedUserLists = buildUnnamed1966(); | 2595 o.excludedUserLists = buildUnnamed1736(); |
| 2594 o.excludedVerticals = buildUnnamed1967(); | 2596 o.excludedVerticals = buildUnnamed1737(); |
| 2595 o.geoCriteriaIds = buildUnnamed1968(); | 2597 o.geoCriteriaIds = buildUnnamed1738(); |
| 2596 o.isActive = true; | 2598 o.isActive = true; |
| 2597 o.kind = "foo"; | 2599 o.kind = "foo"; |
| 2598 o.languages = buildUnnamed1969(); | 2600 o.languages = buildUnnamed1739(); |
| 2599 o.minimumViewabilityDecile = 42; | 2601 o.minimumViewabilityDecile = 42; |
| 2600 o.mobileCarriers = buildUnnamed1970(); | 2602 o.mobileCarriers = buildUnnamed1740(); |
| 2601 o.mobileDevices = buildUnnamed1971(); | 2603 o.mobileDevices = buildUnnamed1741(); |
| 2602 o.mobileOperatingSystemVersions = buildUnnamed1972(); | 2604 o.mobileOperatingSystemVersions = buildUnnamed1742(); |
| 2603 o.placements = buildUnnamed1973(); | 2605 o.placements = buildUnnamed1743(); |
| 2604 o.platforms = buildUnnamed1974(); | 2606 o.platforms = buildUnnamed1744(); |
| 2605 o.supportedCreativeAttributes = buildUnnamed1975(); | 2607 o.supportedCreativeAttributes = buildUnnamed1745(); |
| 2606 o.userIdentifierDataRequired = buildUnnamed1976(); | 2608 o.userIdentifierDataRequired = buildUnnamed1746(); |
| 2607 o.userLists = buildUnnamed1977(); | 2609 o.userLists = buildUnnamed1747(); |
| 2608 o.vendorTypes = buildUnnamed1978(); | 2610 o.vendorTypes = buildUnnamed1748(); |
| 2609 o.verticals = buildUnnamed1979(); | 2611 o.verticals = buildUnnamed1749(); |
| 2610 o.videoPlayerSizes = buildUnnamed1980(); | 2612 o.videoPlayerSizes = buildUnnamed1750(); |
| 2611 } | 2613 } |
| 2612 buildCounterPretargetingConfig--; | 2614 buildCounterPretargetingConfig--; |
| 2613 return o; | 2615 return o; |
| 2614 } | 2616 } |
| 2615 | 2617 |
| 2616 checkPretargetingConfig(api.PretargetingConfig o) { | 2618 checkPretargetingConfig(api.PretargetingConfig o) { |
| 2617 buildCounterPretargetingConfig++; | 2619 buildCounterPretargetingConfig++; |
| 2618 if (buildCounterPretargetingConfig < 3) { | 2620 if (buildCounterPretargetingConfig < 3) { |
| 2619 unittest.expect(o.billingId, unittest.equals('foo')); | 2621 unittest.expect(o.billingId, unittest.equals('foo')); |
| 2620 unittest.expect(o.configId, unittest.equals('foo')); | 2622 unittest.expect(o.configId, unittest.equals('foo')); |
| 2621 unittest.expect(o.configName, unittest.equals('foo')); | 2623 unittest.expect(o.configName, unittest.equals('foo')); |
| 2622 checkUnnamed1961(o.creativeType); | 2624 checkUnnamed1731(o.creativeType); |
| 2623 checkUnnamed1962(o.dimensions); | 2625 checkUnnamed1732(o.dimensions); |
| 2624 checkUnnamed1963(o.excludedContentLabels); | 2626 checkUnnamed1733(o.excludedContentLabels); |
| 2625 checkUnnamed1964(o.excludedGeoCriteriaIds); | 2627 checkUnnamed1734(o.excludedGeoCriteriaIds); |
| 2626 checkUnnamed1965(o.excludedPlacements); | 2628 checkUnnamed1735(o.excludedPlacements); |
| 2627 checkUnnamed1966(o.excludedUserLists); | 2629 checkUnnamed1736(o.excludedUserLists); |
| 2628 checkUnnamed1967(o.excludedVerticals); | 2630 checkUnnamed1737(o.excludedVerticals); |
| 2629 checkUnnamed1968(o.geoCriteriaIds); | 2631 checkUnnamed1738(o.geoCriteriaIds); |
| 2630 unittest.expect(o.isActive, unittest.isTrue); | 2632 unittest.expect(o.isActive, unittest.isTrue); |
| 2631 unittest.expect(o.kind, unittest.equals('foo')); | 2633 unittest.expect(o.kind, unittest.equals('foo')); |
| 2632 checkUnnamed1969(o.languages); | 2634 checkUnnamed1739(o.languages); |
| 2633 unittest.expect(o.minimumViewabilityDecile, unittest.equals(42)); | 2635 unittest.expect(o.minimumViewabilityDecile, unittest.equals(42)); |
| 2634 checkUnnamed1970(o.mobileCarriers); | 2636 checkUnnamed1740(o.mobileCarriers); |
| 2635 checkUnnamed1971(o.mobileDevices); | 2637 checkUnnamed1741(o.mobileDevices); |
| 2636 checkUnnamed1972(o.mobileOperatingSystemVersions); | 2638 checkUnnamed1742(o.mobileOperatingSystemVersions); |
| 2637 checkUnnamed1973(o.placements); | 2639 checkUnnamed1743(o.placements); |
| 2638 checkUnnamed1974(o.platforms); | 2640 checkUnnamed1744(o.platforms); |
| 2639 checkUnnamed1975(o.supportedCreativeAttributes); | 2641 checkUnnamed1745(o.supportedCreativeAttributes); |
| 2640 checkUnnamed1976(o.userIdentifierDataRequired); | 2642 checkUnnamed1746(o.userIdentifierDataRequired); |
| 2641 checkUnnamed1977(o.userLists); | 2643 checkUnnamed1747(o.userLists); |
| 2642 checkUnnamed1978(o.vendorTypes); | 2644 checkUnnamed1748(o.vendorTypes); |
| 2643 checkUnnamed1979(o.verticals); | 2645 checkUnnamed1749(o.verticals); |
| 2644 checkUnnamed1980(o.videoPlayerSizes); | 2646 checkUnnamed1750(o.videoPlayerSizes); |
| 2645 } | 2647 } |
| 2646 buildCounterPretargetingConfig--; | 2648 buildCounterPretargetingConfig--; |
| 2647 } | 2649 } |
| 2648 | 2650 |
| 2649 buildUnnamed1981() { | 2651 buildUnnamed1751() { |
| 2650 var o = new core.List<api.PretargetingConfig>(); | 2652 var o = new core.List<api.PretargetingConfig>(); |
| 2651 o.add(buildPretargetingConfig()); | 2653 o.add(buildPretargetingConfig()); |
| 2652 o.add(buildPretargetingConfig()); | 2654 o.add(buildPretargetingConfig()); |
| 2653 return o; | 2655 return o; |
| 2654 } | 2656 } |
| 2655 | 2657 |
| 2656 checkUnnamed1981(core.List<api.PretargetingConfig> o) { | 2658 checkUnnamed1751(core.List<api.PretargetingConfig> o) { |
| 2657 unittest.expect(o, unittest.hasLength(2)); | 2659 unittest.expect(o, unittest.hasLength(2)); |
| 2658 checkPretargetingConfig(o[0]); | 2660 checkPretargetingConfig(o[0]); |
| 2659 checkPretargetingConfig(o[1]); | 2661 checkPretargetingConfig(o[1]); |
| 2660 } | 2662 } |
| 2661 | 2663 |
| 2662 core.int buildCounterPretargetingConfigList = 0; | 2664 core.int buildCounterPretargetingConfigList = 0; |
| 2663 buildPretargetingConfigList() { | 2665 buildPretargetingConfigList() { |
| 2664 var o = new api.PretargetingConfigList(); | 2666 var o = new api.PretargetingConfigList(); |
| 2665 buildCounterPretargetingConfigList++; | 2667 buildCounterPretargetingConfigList++; |
| 2666 if (buildCounterPretargetingConfigList < 3) { | 2668 if (buildCounterPretargetingConfigList < 3) { |
| 2667 o.items = buildUnnamed1981(); | 2669 o.items = buildUnnamed1751(); |
| 2668 o.kind = "foo"; | 2670 o.kind = "foo"; |
| 2669 } | 2671 } |
| 2670 buildCounterPretargetingConfigList--; | 2672 buildCounterPretargetingConfigList--; |
| 2671 return o; | 2673 return o; |
| 2672 } | 2674 } |
| 2673 | 2675 |
| 2674 checkPretargetingConfigList(api.PretargetingConfigList o) { | 2676 checkPretargetingConfigList(api.PretargetingConfigList o) { |
| 2675 buildCounterPretargetingConfigList++; | 2677 buildCounterPretargetingConfigList++; |
| 2676 if (buildCounterPretargetingConfigList < 3) { | 2678 if (buildCounterPretargetingConfigList < 3) { |
| 2677 checkUnnamed1981(o.items); | 2679 checkUnnamed1751(o.items); |
| 2678 unittest.expect(o.kind, unittest.equals('foo')); | 2680 unittest.expect(o.kind, unittest.equals('foo')); |
| 2679 } | 2681 } |
| 2680 buildCounterPretargetingConfigList--; | 2682 buildCounterPretargetingConfigList--; |
| 2681 } | 2683 } |
| 2682 | 2684 |
| 2683 core.int buildCounterPrice = 0; | 2685 core.int buildCounterPrice = 0; |
| 2684 buildPrice() { | 2686 buildPrice() { |
| 2685 var o = new api.Price(); | 2687 var o = new api.Price(); |
| 2686 buildCounterPrice++; | 2688 buildCounterPrice++; |
| 2687 if (buildCounterPrice < 3) { | 2689 if (buildCounterPrice < 3) { |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2742 | 2744 |
| 2743 checkPrivateData(api.PrivateData o) { | 2745 checkPrivateData(api.PrivateData o) { |
| 2744 buildCounterPrivateData++; | 2746 buildCounterPrivateData++; |
| 2745 if (buildCounterPrivateData < 3) { | 2747 if (buildCounterPrivateData < 3) { |
| 2746 unittest.expect(o.referenceId, unittest.equals('foo')); | 2748 unittest.expect(o.referenceId, unittest.equals('foo')); |
| 2747 unittest.expect(o.referencePayload, unittest.equals('foo')); | 2749 unittest.expect(o.referencePayload, unittest.equals('foo')); |
| 2748 } | 2750 } |
| 2749 buildCounterPrivateData--; | 2751 buildCounterPrivateData--; |
| 2750 } | 2752 } |
| 2751 | 2753 |
| 2752 buildUnnamed1982() { | 2754 buildUnnamed1752() { |
| 2753 var o = new core.List<api.ContactInformation>(); | 2755 var o = new core.List<api.ContactInformation>(); |
| 2754 o.add(buildContactInformation()); | 2756 o.add(buildContactInformation()); |
| 2755 o.add(buildContactInformation()); | 2757 o.add(buildContactInformation()); |
| 2756 return o; | 2758 return o; |
| 2757 } | 2759 } |
| 2758 | 2760 |
| 2759 checkUnnamed1982(core.List<api.ContactInformation> o) { | 2761 checkUnnamed1752(core.List<api.ContactInformation> o) { |
| 2760 unittest.expect(o, unittest.hasLength(2)); | 2762 unittest.expect(o, unittest.hasLength(2)); |
| 2761 checkContactInformation(o[0]); | 2763 checkContactInformation(o[0]); |
| 2762 checkContactInformation(o[1]); | 2764 checkContactInformation(o[1]); |
| 2763 } | 2765 } |
| 2764 | 2766 |
| 2765 buildUnnamed1983() { | 2767 buildUnnamed1753() { |
| 2766 var o = new core.List<api.MarketplaceLabel>(); | 2768 var o = new core.List<api.MarketplaceLabel>(); |
| 2767 o.add(buildMarketplaceLabel()); | 2769 o.add(buildMarketplaceLabel()); |
| 2768 o.add(buildMarketplaceLabel()); | 2770 o.add(buildMarketplaceLabel()); |
| 2769 return o; | 2771 return o; |
| 2770 } | 2772 } |
| 2771 | 2773 |
| 2772 checkUnnamed1983(core.List<api.MarketplaceLabel> o) { | 2774 checkUnnamed1753(core.List<api.MarketplaceLabel> o) { |
| 2773 unittest.expect(o, unittest.hasLength(2)); | 2775 unittest.expect(o, unittest.hasLength(2)); |
| 2774 checkMarketplaceLabel(o[0]); | 2776 checkMarketplaceLabel(o[0]); |
| 2775 checkMarketplaceLabel(o[1]); | 2777 checkMarketplaceLabel(o[1]); |
| 2776 } | 2778 } |
| 2777 | 2779 |
| 2778 buildUnnamed1984() { | 2780 buildUnnamed1754() { |
| 2779 var o = new core.List<api.SharedTargeting>(); | 2781 var o = new core.List<api.SharedTargeting>(); |
| 2780 o.add(buildSharedTargeting()); | 2782 o.add(buildSharedTargeting()); |
| 2781 o.add(buildSharedTargeting()); | 2783 o.add(buildSharedTargeting()); |
| 2782 return o; | 2784 return o; |
| 2783 } | 2785 } |
| 2784 | 2786 |
| 2785 checkUnnamed1984(core.List<api.SharedTargeting> o) { | 2787 checkUnnamed1754(core.List<api.SharedTargeting> o) { |
| 2786 unittest.expect(o, unittest.hasLength(2)); | 2788 unittest.expect(o, unittest.hasLength(2)); |
| 2787 checkSharedTargeting(o[0]); | 2789 checkSharedTargeting(o[0]); |
| 2788 checkSharedTargeting(o[1]); | 2790 checkSharedTargeting(o[1]); |
| 2789 } | 2791 } |
| 2790 | 2792 |
| 2791 core.int buildCounterProduct = 0; | 2793 core.int buildCounterProduct = 0; |
| 2792 buildProduct() { | 2794 buildProduct() { |
| 2793 var o = new api.Product(); | 2795 var o = new api.Product(); |
| 2794 buildCounterProduct++; | 2796 buildCounterProduct++; |
| 2795 if (buildCounterProduct < 3) { | 2797 if (buildCounterProduct < 3) { |
| 2796 o.creationTimeMs = "foo"; | 2798 o.creationTimeMs = "foo"; |
| 2797 o.creatorContacts = buildUnnamed1982(); | 2799 o.creatorContacts = buildUnnamed1752(); |
| 2798 o.deliveryControl = buildDeliveryControl(); | 2800 o.deliveryControl = buildDeliveryControl(); |
| 2799 o.flightEndTimeMs = "foo"; | 2801 o.flightEndTimeMs = "foo"; |
| 2800 o.flightStartTimeMs = "foo"; | 2802 o.flightStartTimeMs = "foo"; |
| 2801 o.hasCreatorSignedOff = true; | 2803 o.hasCreatorSignedOff = true; |
| 2802 o.inventorySource = "foo"; | 2804 o.inventorySource = "foo"; |
| 2803 o.kind = "foo"; | 2805 o.kind = "foo"; |
| 2804 o.labels = buildUnnamed1983(); | 2806 o.labels = buildUnnamed1753(); |
| 2805 o.lastUpdateTimeMs = "foo"; | 2807 o.lastUpdateTimeMs = "foo"; |
| 2806 o.legacyOfferId = "foo"; | 2808 o.legacyOfferId = "foo"; |
| 2807 o.marketplacePublisherProfileId = "foo"; | 2809 o.marketplacePublisherProfileId = "foo"; |
| 2808 o.name = "foo"; | 2810 o.name = "foo"; |
| 2809 o.privateAuctionId = "foo"; | 2811 o.privateAuctionId = "foo"; |
| 2810 o.productId = "foo"; | 2812 o.productId = "foo"; |
| 2811 o.publisherProfileId = "foo"; | 2813 o.publisherProfileId = "foo"; |
| 2812 o.publisherProvidedForecast = buildPublisherProvidedForecast(); | 2814 o.publisherProvidedForecast = buildPublisherProvidedForecast(); |
| 2813 o.revisionNumber = "foo"; | 2815 o.revisionNumber = "foo"; |
| 2814 o.seller = buildSeller(); | 2816 o.seller = buildSeller(); |
| 2815 o.sharedTargetings = buildUnnamed1984(); | 2817 o.sharedTargetings = buildUnnamed1754(); |
| 2816 o.state = "foo"; | 2818 o.state = "foo"; |
| 2817 o.syndicationProduct = "foo"; | 2819 o.syndicationProduct = "foo"; |
| 2818 o.terms = buildDealTerms(); | 2820 o.terms = buildDealTerms(); |
| 2819 o.webPropertyCode = "foo"; | 2821 o.webPropertyCode = "foo"; |
| 2820 } | 2822 } |
| 2821 buildCounterProduct--; | 2823 buildCounterProduct--; |
| 2822 return o; | 2824 return o; |
| 2823 } | 2825 } |
| 2824 | 2826 |
| 2825 checkProduct(api.Product o) { | 2827 checkProduct(api.Product o) { |
| 2826 buildCounterProduct++; | 2828 buildCounterProduct++; |
| 2827 if (buildCounterProduct < 3) { | 2829 if (buildCounterProduct < 3) { |
| 2828 unittest.expect(o.creationTimeMs, unittest.equals('foo')); | 2830 unittest.expect(o.creationTimeMs, unittest.equals('foo')); |
| 2829 checkUnnamed1982(o.creatorContacts); | 2831 checkUnnamed1752(o.creatorContacts); |
| 2830 checkDeliveryControl(o.deliveryControl); | 2832 checkDeliveryControl(o.deliveryControl); |
| 2831 unittest.expect(o.flightEndTimeMs, unittest.equals('foo')); | 2833 unittest.expect(o.flightEndTimeMs, unittest.equals('foo')); |
| 2832 unittest.expect(o.flightStartTimeMs, unittest.equals('foo')); | 2834 unittest.expect(o.flightStartTimeMs, unittest.equals('foo')); |
| 2833 unittest.expect(o.hasCreatorSignedOff, unittest.isTrue); | 2835 unittest.expect(o.hasCreatorSignedOff, unittest.isTrue); |
| 2834 unittest.expect(o.inventorySource, unittest.equals('foo')); | 2836 unittest.expect(o.inventorySource, unittest.equals('foo')); |
| 2835 unittest.expect(o.kind, unittest.equals('foo')); | 2837 unittest.expect(o.kind, unittest.equals('foo')); |
| 2836 checkUnnamed1983(o.labels); | 2838 checkUnnamed1753(o.labels); |
| 2837 unittest.expect(o.lastUpdateTimeMs, unittest.equals('foo')); | 2839 unittest.expect(o.lastUpdateTimeMs, unittest.equals('foo')); |
| 2838 unittest.expect(o.legacyOfferId, unittest.equals('foo')); | 2840 unittest.expect(o.legacyOfferId, unittest.equals('foo')); |
| 2839 unittest.expect(o.marketplacePublisherProfileId, unittest.equals('foo')); | 2841 unittest.expect(o.marketplacePublisherProfileId, unittest.equals('foo')); |
| 2840 unittest.expect(o.name, unittest.equals('foo')); | 2842 unittest.expect(o.name, unittest.equals('foo')); |
| 2841 unittest.expect(o.privateAuctionId, unittest.equals('foo')); | 2843 unittest.expect(o.privateAuctionId, unittest.equals('foo')); |
| 2842 unittest.expect(o.productId, unittest.equals('foo')); | 2844 unittest.expect(o.productId, unittest.equals('foo')); |
| 2843 unittest.expect(o.publisherProfileId, unittest.equals('foo')); | 2845 unittest.expect(o.publisherProfileId, unittest.equals('foo')); |
| 2844 checkPublisherProvidedForecast(o.publisherProvidedForecast); | 2846 checkPublisherProvidedForecast(o.publisherProvidedForecast); |
| 2845 unittest.expect(o.revisionNumber, unittest.equals('foo')); | 2847 unittest.expect(o.revisionNumber, unittest.equals('foo')); |
| 2846 checkSeller(o.seller); | 2848 checkSeller(o.seller); |
| 2847 checkUnnamed1984(o.sharedTargetings); | 2849 checkUnnamed1754(o.sharedTargetings); |
| 2848 unittest.expect(o.state, unittest.equals('foo')); | 2850 unittest.expect(o.state, unittest.equals('foo')); |
| 2849 unittest.expect(o.syndicationProduct, unittest.equals('foo')); | 2851 unittest.expect(o.syndicationProduct, unittest.equals('foo')); |
| 2850 checkDealTerms(o.terms); | 2852 checkDealTerms(o.terms); |
| 2851 unittest.expect(o.webPropertyCode, unittest.equals('foo')); | 2853 unittest.expect(o.webPropertyCode, unittest.equals('foo')); |
| 2852 } | 2854 } |
| 2853 buildCounterProduct--; | 2855 buildCounterProduct--; |
| 2854 } | 2856 } |
| 2855 | 2857 |
| 2856 buildUnnamed1985() { | 2858 buildUnnamed1755() { |
| 2857 var o = new core.List<api.ContactInformation>(); | 2859 var o = new core.List<api.ContactInformation>(); |
| 2858 o.add(buildContactInformation()); | 2860 o.add(buildContactInformation()); |
| 2859 o.add(buildContactInformation()); | 2861 o.add(buildContactInformation()); |
| 2860 return o; | 2862 return o; |
| 2861 } | 2863 } |
| 2862 | 2864 |
| 2863 checkUnnamed1985(core.List<api.ContactInformation> o) { | 2865 checkUnnamed1755(core.List<api.ContactInformation> o) { |
| 2864 unittest.expect(o, unittest.hasLength(2)); | 2866 unittest.expect(o, unittest.hasLength(2)); |
| 2865 checkContactInformation(o[0]); | 2867 checkContactInformation(o[0]); |
| 2866 checkContactInformation(o[1]); | 2868 checkContactInformation(o[1]); |
| 2867 } | 2869 } |
| 2868 | 2870 |
| 2869 buildUnnamed1986() { | 2871 buildUnnamed1756() { |
| 2870 var o = new core.List<core.String>(); | 2872 var o = new core.List<core.String>(); |
| 2871 o.add("foo"); | 2873 o.add("foo"); |
| 2872 o.add("foo"); | 2874 o.add("foo"); |
| 2873 return o; | 2875 return o; |
| 2874 } | 2876 } |
| 2875 | 2877 |
| 2876 checkUnnamed1986(core.List<core.String> o) { | 2878 checkUnnamed1756(core.List<core.String> o) { |
| 2877 unittest.expect(o, unittest.hasLength(2)); | 2879 unittest.expect(o, unittest.hasLength(2)); |
| 2878 unittest.expect(o[0], unittest.equals('foo')); | 2880 unittest.expect(o[0], unittest.equals('foo')); |
| 2879 unittest.expect(o[1], unittest.equals('foo')); | 2881 unittest.expect(o[1], unittest.equals('foo')); |
| 2880 } | 2882 } |
| 2881 | 2883 |
| 2882 buildUnnamed1987() { | 2884 buildUnnamed1757() { |
| 2883 var o = new core.List<api.MarketplaceLabel>(); | 2885 var o = new core.List<api.MarketplaceLabel>(); |
| 2884 o.add(buildMarketplaceLabel()); | 2886 o.add(buildMarketplaceLabel()); |
| 2885 o.add(buildMarketplaceLabel()); | 2887 o.add(buildMarketplaceLabel()); |
| 2886 return o; | 2888 return o; |
| 2887 } | 2889 } |
| 2888 | 2890 |
| 2889 checkUnnamed1987(core.List<api.MarketplaceLabel> o) { | 2891 checkUnnamed1757(core.List<api.MarketplaceLabel> o) { |
| 2890 unittest.expect(o, unittest.hasLength(2)); | 2892 unittest.expect(o, unittest.hasLength(2)); |
| 2891 checkMarketplaceLabel(o[0]); | 2893 checkMarketplaceLabel(o[0]); |
| 2892 checkMarketplaceLabel(o[1]); | 2894 checkMarketplaceLabel(o[1]); |
| 2893 } | 2895 } |
| 2894 | 2896 |
| 2895 buildUnnamed1988() { | 2897 buildUnnamed1758() { |
| 2896 var o = new core.List<api.ContactInformation>(); | 2898 var o = new core.List<api.ContactInformation>(); |
| 2897 o.add(buildContactInformation()); | 2899 o.add(buildContactInformation()); |
| 2898 o.add(buildContactInformation()); | 2900 o.add(buildContactInformation()); |
| 2899 return o; | 2901 return o; |
| 2900 } | 2902 } |
| 2901 | 2903 |
| 2902 checkUnnamed1988(core.List<api.ContactInformation> o) { | 2904 checkUnnamed1758(core.List<api.ContactInformation> o) { |
| 2903 unittest.expect(o, unittest.hasLength(2)); | 2905 unittest.expect(o, unittest.hasLength(2)); |
| 2904 checkContactInformation(o[0]); | 2906 checkContactInformation(o[0]); |
| 2905 checkContactInformation(o[1]); | 2907 checkContactInformation(o[1]); |
| 2906 } | 2908 } |
| 2907 | 2909 |
| 2908 core.int buildCounterProposal = 0; | 2910 core.int buildCounterProposal = 0; |
| 2909 buildProposal() { | 2911 buildProposal() { |
| 2910 var o = new api.Proposal(); | 2912 var o = new api.Proposal(); |
| 2911 buildCounterProposal++; | 2913 buildCounterProposal++; |
| 2912 if (buildCounterProposal < 3) { | 2914 if (buildCounterProposal < 3) { |
| 2913 o.billedBuyer = buildBuyer(); | 2915 o.billedBuyer = buildBuyer(); |
| 2914 o.buyer = buildBuyer(); | 2916 o.buyer = buildBuyer(); |
| 2915 o.buyerContacts = buildUnnamed1985(); | 2917 o.buyerContacts = buildUnnamed1755(); |
| 2916 o.buyerPrivateData = buildPrivateData(); | 2918 o.buyerPrivateData = buildPrivateData(); |
| 2917 o.dbmAdvertiserIds = buildUnnamed1986(); | 2919 o.dbmAdvertiserIds = buildUnnamed1756(); |
| 2918 o.hasBuyerSignedOff = true; | 2920 o.hasBuyerSignedOff = true; |
| 2919 o.hasSellerSignedOff = true; | 2921 o.hasSellerSignedOff = true; |
| 2920 o.inventorySource = "foo"; | 2922 o.inventorySource = "foo"; |
| 2921 o.isRenegotiating = true; | 2923 o.isRenegotiating = true; |
| 2922 o.isSetupComplete = true; | 2924 o.isSetupComplete = true; |
| 2923 o.kind = "foo"; | 2925 o.kind = "foo"; |
| 2924 o.labels = buildUnnamed1987(); | 2926 o.labels = buildUnnamed1757(); |
| 2925 o.lastUpdaterOrCommentorRole = "foo"; | 2927 o.lastUpdaterOrCommentorRole = "foo"; |
| 2926 o.name = "foo"; | 2928 o.name = "foo"; |
| 2927 o.negotiationId = "foo"; | 2929 o.negotiationId = "foo"; |
| 2928 o.originatorRole = "foo"; | 2930 o.originatorRole = "foo"; |
| 2929 o.privateAuctionId = "foo"; | 2931 o.privateAuctionId = "foo"; |
| 2930 o.proposalId = "foo"; | 2932 o.proposalId = "foo"; |
| 2931 o.proposalState = "foo"; | 2933 o.proposalState = "foo"; |
| 2932 o.revisionNumber = "foo"; | 2934 o.revisionNumber = "foo"; |
| 2933 o.revisionTimeMs = "foo"; | 2935 o.revisionTimeMs = "foo"; |
| 2934 o.seller = buildSeller(); | 2936 o.seller = buildSeller(); |
| 2935 o.sellerContacts = buildUnnamed1988(); | 2937 o.sellerContacts = buildUnnamed1758(); |
| 2936 } | 2938 } |
| 2937 buildCounterProposal--; | 2939 buildCounterProposal--; |
| 2938 return o; | 2940 return o; |
| 2939 } | 2941 } |
| 2940 | 2942 |
| 2941 checkProposal(api.Proposal o) { | 2943 checkProposal(api.Proposal o) { |
| 2942 buildCounterProposal++; | 2944 buildCounterProposal++; |
| 2943 if (buildCounterProposal < 3) { | 2945 if (buildCounterProposal < 3) { |
| 2944 checkBuyer(o.billedBuyer); | 2946 checkBuyer(o.billedBuyer); |
| 2945 checkBuyer(o.buyer); | 2947 checkBuyer(o.buyer); |
| 2946 checkUnnamed1985(o.buyerContacts); | 2948 checkUnnamed1755(o.buyerContacts); |
| 2947 checkPrivateData(o.buyerPrivateData); | 2949 checkPrivateData(o.buyerPrivateData); |
| 2948 checkUnnamed1986(o.dbmAdvertiserIds); | 2950 checkUnnamed1756(o.dbmAdvertiserIds); |
| 2949 unittest.expect(o.hasBuyerSignedOff, unittest.isTrue); | 2951 unittest.expect(o.hasBuyerSignedOff, unittest.isTrue); |
| 2950 unittest.expect(o.hasSellerSignedOff, unittest.isTrue); | 2952 unittest.expect(o.hasSellerSignedOff, unittest.isTrue); |
| 2951 unittest.expect(o.inventorySource, unittest.equals('foo')); | 2953 unittest.expect(o.inventorySource, unittest.equals('foo')); |
| 2952 unittest.expect(o.isRenegotiating, unittest.isTrue); | 2954 unittest.expect(o.isRenegotiating, unittest.isTrue); |
| 2953 unittest.expect(o.isSetupComplete, unittest.isTrue); | 2955 unittest.expect(o.isSetupComplete, unittest.isTrue); |
| 2954 unittest.expect(o.kind, unittest.equals('foo')); | 2956 unittest.expect(o.kind, unittest.equals('foo')); |
| 2955 checkUnnamed1987(o.labels); | 2957 checkUnnamed1757(o.labels); |
| 2956 unittest.expect(o.lastUpdaterOrCommentorRole, unittest.equals('foo')); | 2958 unittest.expect(o.lastUpdaterOrCommentorRole, unittest.equals('foo')); |
| 2957 unittest.expect(o.name, unittest.equals('foo')); | 2959 unittest.expect(o.name, unittest.equals('foo')); |
| 2958 unittest.expect(o.negotiationId, unittest.equals('foo')); | 2960 unittest.expect(o.negotiationId, unittest.equals('foo')); |
| 2959 unittest.expect(o.originatorRole, unittest.equals('foo')); | 2961 unittest.expect(o.originatorRole, unittest.equals('foo')); |
| 2960 unittest.expect(o.privateAuctionId, unittest.equals('foo')); | 2962 unittest.expect(o.privateAuctionId, unittest.equals('foo')); |
| 2961 unittest.expect(o.proposalId, unittest.equals('foo')); | 2963 unittest.expect(o.proposalId, unittest.equals('foo')); |
| 2962 unittest.expect(o.proposalState, unittest.equals('foo')); | 2964 unittest.expect(o.proposalState, unittest.equals('foo')); |
| 2963 unittest.expect(o.revisionNumber, unittest.equals('foo')); | 2965 unittest.expect(o.revisionNumber, unittest.equals('foo')); |
| 2964 unittest.expect(o.revisionTimeMs, unittest.equals('foo')); | 2966 unittest.expect(o.revisionTimeMs, unittest.equals('foo')); |
| 2965 checkSeller(o.seller); | 2967 checkSeller(o.seller); |
| 2966 checkUnnamed1988(o.sellerContacts); | 2968 checkUnnamed1758(o.sellerContacts); |
| 2967 } | 2969 } |
| 2968 buildCounterProposal--; | 2970 buildCounterProposal--; |
| 2969 } | 2971 } |
| 2970 | 2972 |
| 2971 buildUnnamed1989() { | 2973 buildUnnamed1759() { |
| 2972 var o = new core.List<core.String>(); | 2974 var o = new core.List<core.String>(); |
| 2973 o.add("foo"); | 2975 o.add("foo"); |
| 2974 o.add("foo"); | 2976 o.add("foo"); |
| 2975 return o; | 2977 return o; |
| 2976 } | 2978 } |
| 2977 | 2979 |
| 2978 checkUnnamed1989(core.List<core.String> o) { | 2980 checkUnnamed1759(core.List<core.String> o) { |
| 2979 unittest.expect(o, unittest.hasLength(2)); | 2981 unittest.expect(o, unittest.hasLength(2)); |
| 2980 unittest.expect(o[0], unittest.equals('foo')); | 2982 unittest.expect(o[0], unittest.equals('foo')); |
| 2981 unittest.expect(o[1], unittest.equals('foo')); | 2983 unittest.expect(o[1], unittest.equals('foo')); |
| 2982 } | 2984 } |
| 2983 | 2985 |
| 2984 buildUnnamed1990() { | 2986 buildUnnamed1760() { |
| 2985 var o = new core.List<core.String>(); | 2987 var o = new core.List<core.String>(); |
| 2986 o.add("foo"); | 2988 o.add("foo"); |
| 2987 o.add("foo"); | 2989 o.add("foo"); |
| 2988 return o; | 2990 return o; |
| 2989 } | 2991 } |
| 2990 | 2992 |
| 2991 checkUnnamed1990(core.List<core.String> o) { | 2993 checkUnnamed1760(core.List<core.String> o) { |
| 2992 unittest.expect(o, unittest.hasLength(2)); | 2994 unittest.expect(o, unittest.hasLength(2)); |
| 2993 unittest.expect(o[0], unittest.equals('foo')); | 2995 unittest.expect(o[0], unittest.equals('foo')); |
| 2994 unittest.expect(o[1], unittest.equals('foo')); | 2996 unittest.expect(o[1], unittest.equals('foo')); |
| 2995 } | 2997 } |
| 2996 | 2998 |
| 2997 core.int buildCounterPublisherProfileApiProto = 0; | 2999 core.int buildCounterPublisherProfileApiProto = 0; |
| 2998 buildPublisherProfileApiProto() { | 3000 buildPublisherProfileApiProto() { |
| 2999 var o = new api.PublisherProfileApiProto(); | 3001 var o = new api.PublisherProfileApiProto(); |
| 3000 buildCounterPublisherProfileApiProto++; | 3002 buildCounterPublisherProfileApiProto++; |
| 3001 if (buildCounterPublisherProfileApiProto < 3) { | 3003 if (buildCounterPublisherProfileApiProto < 3) { |
| 3002 o.accountId = "foo"; | 3004 o.accountId = "foo"; |
| 3003 o.audience = "foo"; | 3005 o.audience = "foo"; |
| 3004 o.buyerPitchStatement = "foo"; | 3006 o.buyerPitchStatement = "foo"; |
| 3005 o.directContact = "foo"; | 3007 o.directContact = "foo"; |
| 3006 o.exchange = "foo"; | 3008 o.exchange = "foo"; |
| 3007 o.googlePlusLink = "foo"; | 3009 o.googlePlusLink = "foo"; |
| 3008 o.isParent = true; | 3010 o.isParent = true; |
| 3009 o.isPublished = true; | 3011 o.isPublished = true; |
| 3010 o.kind = "foo"; | 3012 o.kind = "foo"; |
| 3011 o.logoUrl = "foo"; | 3013 o.logoUrl = "foo"; |
| 3012 o.mediaKitLink = "foo"; | 3014 o.mediaKitLink = "foo"; |
| 3013 o.name = "foo"; | 3015 o.name = "foo"; |
| 3014 o.overview = "foo"; | 3016 o.overview = "foo"; |
| 3015 o.profileId = 42; | 3017 o.profileId = 42; |
| 3016 o.programmaticContact = "foo"; | 3018 o.programmaticContact = "foo"; |
| 3017 o.publisherDomains = buildUnnamed1989(); | 3019 o.publisherDomains = buildUnnamed1759(); |
| 3018 o.publisherProfileId = "foo"; | 3020 o.publisherProfileId = "foo"; |
| 3019 o.publisherProvidedForecast = buildPublisherProvidedForecast(); | 3021 o.publisherProvidedForecast = buildPublisherProvidedForecast(); |
| 3020 o.rateCardInfoLink = "foo"; | 3022 o.rateCardInfoLink = "foo"; |
| 3021 o.samplePageLink = "foo"; | 3023 o.samplePageLink = "foo"; |
| 3022 o.seller = buildSeller(); | 3024 o.seller = buildSeller(); |
| 3023 o.state = "foo"; | 3025 o.state = "foo"; |
| 3024 o.topHeadlines = buildUnnamed1990(); | 3026 o.topHeadlines = buildUnnamed1760(); |
| 3025 } | 3027 } |
| 3026 buildCounterPublisherProfileApiProto--; | 3028 buildCounterPublisherProfileApiProto--; |
| 3027 return o; | 3029 return o; |
| 3028 } | 3030 } |
| 3029 | 3031 |
| 3030 checkPublisherProfileApiProto(api.PublisherProfileApiProto o) { | 3032 checkPublisherProfileApiProto(api.PublisherProfileApiProto o) { |
| 3031 buildCounterPublisherProfileApiProto++; | 3033 buildCounterPublisherProfileApiProto++; |
| 3032 if (buildCounterPublisherProfileApiProto < 3) { | 3034 if (buildCounterPublisherProfileApiProto < 3) { |
| 3033 unittest.expect(o.accountId, unittest.equals('foo')); | 3035 unittest.expect(o.accountId, unittest.equals('foo')); |
| 3034 unittest.expect(o.audience, unittest.equals('foo')); | 3036 unittest.expect(o.audience, unittest.equals('foo')); |
| 3035 unittest.expect(o.buyerPitchStatement, unittest.equals('foo')); | 3037 unittest.expect(o.buyerPitchStatement, unittest.equals('foo')); |
| 3036 unittest.expect(o.directContact, unittest.equals('foo')); | 3038 unittest.expect(o.directContact, unittest.equals('foo')); |
| 3037 unittest.expect(o.exchange, unittest.equals('foo')); | 3039 unittest.expect(o.exchange, unittest.equals('foo')); |
| 3038 unittest.expect(o.googlePlusLink, unittest.equals('foo')); | 3040 unittest.expect(o.googlePlusLink, unittest.equals('foo')); |
| 3039 unittest.expect(o.isParent, unittest.isTrue); | 3041 unittest.expect(o.isParent, unittest.isTrue); |
| 3040 unittest.expect(o.isPublished, unittest.isTrue); | 3042 unittest.expect(o.isPublished, unittest.isTrue); |
| 3041 unittest.expect(o.kind, unittest.equals('foo')); | 3043 unittest.expect(o.kind, unittest.equals('foo')); |
| 3042 unittest.expect(o.logoUrl, unittest.equals('foo')); | 3044 unittest.expect(o.logoUrl, unittest.equals('foo')); |
| 3043 unittest.expect(o.mediaKitLink, unittest.equals('foo')); | 3045 unittest.expect(o.mediaKitLink, unittest.equals('foo')); |
| 3044 unittest.expect(o.name, unittest.equals('foo')); | 3046 unittest.expect(o.name, unittest.equals('foo')); |
| 3045 unittest.expect(o.overview, unittest.equals('foo')); | 3047 unittest.expect(o.overview, unittest.equals('foo')); |
| 3046 unittest.expect(o.profileId, unittest.equals(42)); | 3048 unittest.expect(o.profileId, unittest.equals(42)); |
| 3047 unittest.expect(o.programmaticContact, unittest.equals('foo')); | 3049 unittest.expect(o.programmaticContact, unittest.equals('foo')); |
| 3048 checkUnnamed1989(o.publisherDomains); | 3050 checkUnnamed1759(o.publisherDomains); |
| 3049 unittest.expect(o.publisherProfileId, unittest.equals('foo')); | 3051 unittest.expect(o.publisherProfileId, unittest.equals('foo')); |
| 3050 checkPublisherProvidedForecast(o.publisherProvidedForecast); | 3052 checkPublisherProvidedForecast(o.publisherProvidedForecast); |
| 3051 unittest.expect(o.rateCardInfoLink, unittest.equals('foo')); | 3053 unittest.expect(o.rateCardInfoLink, unittest.equals('foo')); |
| 3052 unittest.expect(o.samplePageLink, unittest.equals('foo')); | 3054 unittest.expect(o.samplePageLink, unittest.equals('foo')); |
| 3053 checkSeller(o.seller); | 3055 checkSeller(o.seller); |
| 3054 unittest.expect(o.state, unittest.equals('foo')); | 3056 unittest.expect(o.state, unittest.equals('foo')); |
| 3055 checkUnnamed1990(o.topHeadlines); | 3057 checkUnnamed1760(o.topHeadlines); |
| 3056 } | 3058 } |
| 3057 buildCounterPublisherProfileApiProto--; | 3059 buildCounterPublisherProfileApiProto--; |
| 3058 } | 3060 } |
| 3059 | 3061 |
| 3060 buildUnnamed1991() { | 3062 buildUnnamed1761() { |
| 3061 var o = new core.List<api.Dimension>(); | 3063 var o = new core.List<api.Dimension>(); |
| 3062 o.add(buildDimension()); | 3064 o.add(buildDimension()); |
| 3063 o.add(buildDimension()); | 3065 o.add(buildDimension()); |
| 3064 return o; | 3066 return o; |
| 3065 } | 3067 } |
| 3066 | 3068 |
| 3067 checkUnnamed1991(core.List<api.Dimension> o) { | 3069 checkUnnamed1761(core.List<api.Dimension> o) { |
| 3068 unittest.expect(o, unittest.hasLength(2)); | 3070 unittest.expect(o, unittest.hasLength(2)); |
| 3069 checkDimension(o[0]); | 3071 checkDimension(o[0]); |
| 3070 checkDimension(o[1]); | 3072 checkDimension(o[1]); |
| 3071 } | 3073 } |
| 3072 | 3074 |
| 3073 core.int buildCounterPublisherProvidedForecast = 0; | 3075 core.int buildCounterPublisherProvidedForecast = 0; |
| 3074 buildPublisherProvidedForecast() { | 3076 buildPublisherProvidedForecast() { |
| 3075 var o = new api.PublisherProvidedForecast(); | 3077 var o = new api.PublisherProvidedForecast(); |
| 3076 buildCounterPublisherProvidedForecast++; | 3078 buildCounterPublisherProvidedForecast++; |
| 3077 if (buildCounterPublisherProvidedForecast < 3) { | 3079 if (buildCounterPublisherProvidedForecast < 3) { |
| 3078 o.dimensions = buildUnnamed1991(); | 3080 o.dimensions = buildUnnamed1761(); |
| 3079 o.weeklyImpressions = "foo"; | 3081 o.weeklyImpressions = "foo"; |
| 3080 o.weeklyUniques = "foo"; | 3082 o.weeklyUniques = "foo"; |
| 3081 } | 3083 } |
| 3082 buildCounterPublisherProvidedForecast--; | 3084 buildCounterPublisherProvidedForecast--; |
| 3083 return o; | 3085 return o; |
| 3084 } | 3086 } |
| 3085 | 3087 |
| 3086 checkPublisherProvidedForecast(api.PublisherProvidedForecast o) { | 3088 checkPublisherProvidedForecast(api.PublisherProvidedForecast o) { |
| 3087 buildCounterPublisherProvidedForecast++; | 3089 buildCounterPublisherProvidedForecast++; |
| 3088 if (buildCounterPublisherProvidedForecast < 3) { | 3090 if (buildCounterPublisherProvidedForecast < 3) { |
| 3089 checkUnnamed1991(o.dimensions); | 3091 checkUnnamed1761(o.dimensions); |
| 3090 unittest.expect(o.weeklyImpressions, unittest.equals('foo')); | 3092 unittest.expect(o.weeklyImpressions, unittest.equals('foo')); |
| 3091 unittest.expect(o.weeklyUniques, unittest.equals('foo')); | 3093 unittest.expect(o.weeklyUniques, unittest.equals('foo')); |
| 3092 } | 3094 } |
| 3093 buildCounterPublisherProvidedForecast--; | 3095 buildCounterPublisherProvidedForecast--; |
| 3094 } | 3096 } |
| 3095 | 3097 |
| 3096 core.int buildCounterSeller = 0; | 3098 core.int buildCounterSeller = 0; |
| 3097 buildSeller() { | 3099 buildSeller() { |
| 3098 var o = new api.Seller(); | 3100 var o = new api.Seller(); |
| 3099 buildCounterSeller++; | 3101 buildCounterSeller++; |
| 3100 if (buildCounterSeller < 3) { | 3102 if (buildCounterSeller < 3) { |
| 3101 o.accountId = "foo"; | 3103 o.accountId = "foo"; |
| 3102 o.subAccountId = "foo"; | 3104 o.subAccountId = "foo"; |
| 3103 } | 3105 } |
| 3104 buildCounterSeller--; | 3106 buildCounterSeller--; |
| 3105 return o; | 3107 return o; |
| 3106 } | 3108 } |
| 3107 | 3109 |
| 3108 checkSeller(api.Seller o) { | 3110 checkSeller(api.Seller o) { |
| 3109 buildCounterSeller++; | 3111 buildCounterSeller++; |
| 3110 if (buildCounterSeller < 3) { | 3112 if (buildCounterSeller < 3) { |
| 3111 unittest.expect(o.accountId, unittest.equals('foo')); | 3113 unittest.expect(o.accountId, unittest.equals('foo')); |
| 3112 unittest.expect(o.subAccountId, unittest.equals('foo')); | 3114 unittest.expect(o.subAccountId, unittest.equals('foo')); |
| 3113 } | 3115 } |
| 3114 buildCounterSeller--; | 3116 buildCounterSeller--; |
| 3115 } | 3117 } |
| 3116 | 3118 |
| 3117 buildUnnamed1992() { | 3119 buildUnnamed1762() { |
| 3118 var o = new core.List<api.TargetingValue>(); | 3120 var o = new core.List<api.TargetingValue>(); |
| 3119 o.add(buildTargetingValue()); | 3121 o.add(buildTargetingValue()); |
| 3120 o.add(buildTargetingValue()); | 3122 o.add(buildTargetingValue()); |
| 3121 return o; | 3123 return o; |
| 3122 } | 3124 } |
| 3123 | 3125 |
| 3124 checkUnnamed1992(core.List<api.TargetingValue> o) { | 3126 checkUnnamed1762(core.List<api.TargetingValue> o) { |
| 3125 unittest.expect(o, unittest.hasLength(2)); | 3127 unittest.expect(o, unittest.hasLength(2)); |
| 3126 checkTargetingValue(o[0]); | 3128 checkTargetingValue(o[0]); |
| 3127 checkTargetingValue(o[1]); | 3129 checkTargetingValue(o[1]); |
| 3128 } | 3130 } |
| 3129 | 3131 |
| 3130 buildUnnamed1993() { | 3132 buildUnnamed1763() { |
| 3131 var o = new core.List<api.TargetingValue>(); | 3133 var o = new core.List<api.TargetingValue>(); |
| 3132 o.add(buildTargetingValue()); | 3134 o.add(buildTargetingValue()); |
| 3133 o.add(buildTargetingValue()); | 3135 o.add(buildTargetingValue()); |
| 3134 return o; | 3136 return o; |
| 3135 } | 3137 } |
| 3136 | 3138 |
| 3137 checkUnnamed1993(core.List<api.TargetingValue> o) { | 3139 checkUnnamed1763(core.List<api.TargetingValue> o) { |
| 3138 unittest.expect(o, unittest.hasLength(2)); | 3140 unittest.expect(o, unittest.hasLength(2)); |
| 3139 checkTargetingValue(o[0]); | 3141 checkTargetingValue(o[0]); |
| 3140 checkTargetingValue(o[1]); | 3142 checkTargetingValue(o[1]); |
| 3141 } | 3143 } |
| 3142 | 3144 |
| 3143 core.int buildCounterSharedTargeting = 0; | 3145 core.int buildCounterSharedTargeting = 0; |
| 3144 buildSharedTargeting() { | 3146 buildSharedTargeting() { |
| 3145 var o = new api.SharedTargeting(); | 3147 var o = new api.SharedTargeting(); |
| 3146 buildCounterSharedTargeting++; | 3148 buildCounterSharedTargeting++; |
| 3147 if (buildCounterSharedTargeting < 3) { | 3149 if (buildCounterSharedTargeting < 3) { |
| 3148 o.exclusions = buildUnnamed1992(); | 3150 o.exclusions = buildUnnamed1762(); |
| 3149 o.inclusions = buildUnnamed1993(); | 3151 o.inclusions = buildUnnamed1763(); |
| 3150 o.key = "foo"; | 3152 o.key = "foo"; |
| 3151 } | 3153 } |
| 3152 buildCounterSharedTargeting--; | 3154 buildCounterSharedTargeting--; |
| 3153 return o; | 3155 return o; |
| 3154 } | 3156 } |
| 3155 | 3157 |
| 3156 checkSharedTargeting(api.SharedTargeting o) { | 3158 checkSharedTargeting(api.SharedTargeting o) { |
| 3157 buildCounterSharedTargeting++; | 3159 buildCounterSharedTargeting++; |
| 3158 if (buildCounterSharedTargeting < 3) { | 3160 if (buildCounterSharedTargeting < 3) { |
| 3159 checkUnnamed1992(o.exclusions); | 3161 checkUnnamed1762(o.exclusions); |
| 3160 checkUnnamed1993(o.inclusions); | 3162 checkUnnamed1763(o.inclusions); |
| 3161 unittest.expect(o.key, unittest.equals('foo')); | 3163 unittest.expect(o.key, unittest.equals('foo')); |
| 3162 } | 3164 } |
| 3163 buildCounterSharedTargeting--; | 3165 buildCounterSharedTargeting--; |
| 3164 } | 3166 } |
| 3165 | 3167 |
| 3166 core.int buildCounterTargetingValue = 0; | 3168 core.int buildCounterTargetingValue = 0; |
| 3167 buildTargetingValue() { | 3169 buildTargetingValue() { |
| 3168 var o = new api.TargetingValue(); | 3170 var o = new api.TargetingValue(); |
| 3169 buildCounterTargetingValue++; | 3171 buildCounterTargetingValue++; |
| 3170 if (buildCounterTargetingValue < 3) { | 3172 if (buildCounterTargetingValue < 3) { |
| (...skipping 10 matching lines...) Expand all Loading... |
| 3181 buildCounterTargetingValue++; | 3183 buildCounterTargetingValue++; |
| 3182 if (buildCounterTargetingValue < 3) { | 3184 if (buildCounterTargetingValue < 3) { |
| 3183 checkTargetingValueCreativeSize(o.creativeSizeValue); | 3185 checkTargetingValueCreativeSize(o.creativeSizeValue); |
| 3184 checkTargetingValueDayPartTargeting(o.dayPartTargetingValue); | 3186 checkTargetingValueDayPartTargeting(o.dayPartTargetingValue); |
| 3185 unittest.expect(o.longValue, unittest.equals('foo')); | 3187 unittest.expect(o.longValue, unittest.equals('foo')); |
| 3186 unittest.expect(o.stringValue, unittest.equals('foo')); | 3188 unittest.expect(o.stringValue, unittest.equals('foo')); |
| 3187 } | 3189 } |
| 3188 buildCounterTargetingValue--; | 3190 buildCounterTargetingValue--; |
| 3189 } | 3191 } |
| 3190 | 3192 |
| 3191 buildUnnamed1994() { | 3193 buildUnnamed1764() { |
| 3192 var o = new core.List<api.TargetingValueSize>(); | 3194 var o = new core.List<api.TargetingValueSize>(); |
| 3193 o.add(buildTargetingValueSize()); | 3195 o.add(buildTargetingValueSize()); |
| 3194 o.add(buildTargetingValueSize()); | 3196 o.add(buildTargetingValueSize()); |
| 3195 return o; | 3197 return o; |
| 3196 } | 3198 } |
| 3197 | 3199 |
| 3198 checkUnnamed1994(core.List<api.TargetingValueSize> o) { | 3200 checkUnnamed1764(core.List<api.TargetingValueSize> o) { |
| 3199 unittest.expect(o, unittest.hasLength(2)); | 3201 unittest.expect(o, unittest.hasLength(2)); |
| 3200 checkTargetingValueSize(o[0]); | 3202 checkTargetingValueSize(o[0]); |
| 3201 checkTargetingValueSize(o[1]); | 3203 checkTargetingValueSize(o[1]); |
| 3202 } | 3204 } |
| 3203 | 3205 |
| 3204 core.int buildCounterTargetingValueCreativeSize = 0; | 3206 core.int buildCounterTargetingValueCreativeSize = 0; |
| 3205 buildTargetingValueCreativeSize() { | 3207 buildTargetingValueCreativeSize() { |
| 3206 var o = new api.TargetingValueCreativeSize(); | 3208 var o = new api.TargetingValueCreativeSize(); |
| 3207 buildCounterTargetingValueCreativeSize++; | 3209 buildCounterTargetingValueCreativeSize++; |
| 3208 if (buildCounterTargetingValueCreativeSize < 3) { | 3210 if (buildCounterTargetingValueCreativeSize < 3) { |
| 3209 o.companionSizes = buildUnnamed1994(); | 3211 o.companionSizes = buildUnnamed1764(); |
| 3210 o.creativeSizeType = "foo"; | 3212 o.creativeSizeType = "foo"; |
| 3211 o.size = buildTargetingValueSize(); | 3213 o.size = buildTargetingValueSize(); |
| 3212 o.skippableAdType = "foo"; | 3214 o.skippableAdType = "foo"; |
| 3213 } | 3215 } |
| 3214 buildCounterTargetingValueCreativeSize--; | 3216 buildCounterTargetingValueCreativeSize--; |
| 3215 return o; | 3217 return o; |
| 3216 } | 3218 } |
| 3217 | 3219 |
| 3218 checkTargetingValueCreativeSize(api.TargetingValueCreativeSize o) { | 3220 checkTargetingValueCreativeSize(api.TargetingValueCreativeSize o) { |
| 3219 buildCounterTargetingValueCreativeSize++; | 3221 buildCounterTargetingValueCreativeSize++; |
| 3220 if (buildCounterTargetingValueCreativeSize < 3) { | 3222 if (buildCounterTargetingValueCreativeSize < 3) { |
| 3221 checkUnnamed1994(o.companionSizes); | 3223 checkUnnamed1764(o.companionSizes); |
| 3222 unittest.expect(o.creativeSizeType, unittest.equals('foo')); | 3224 unittest.expect(o.creativeSizeType, unittest.equals('foo')); |
| 3223 checkTargetingValueSize(o.size); | 3225 checkTargetingValueSize(o.size); |
| 3224 unittest.expect(o.skippableAdType, unittest.equals('foo')); | 3226 unittest.expect(o.skippableAdType, unittest.equals('foo')); |
| 3225 } | 3227 } |
| 3226 buildCounterTargetingValueCreativeSize--; | 3228 buildCounterTargetingValueCreativeSize--; |
| 3227 } | 3229 } |
| 3228 | 3230 |
| 3229 buildUnnamed1995() { | 3231 buildUnnamed1765() { |
| 3230 var o = new core.List<api.TargetingValueDayPartTargetingDayPart>(); | 3232 var o = new core.List<api.TargetingValueDayPartTargetingDayPart>(); |
| 3231 o.add(buildTargetingValueDayPartTargetingDayPart()); | 3233 o.add(buildTargetingValueDayPartTargetingDayPart()); |
| 3232 o.add(buildTargetingValueDayPartTargetingDayPart()); | 3234 o.add(buildTargetingValueDayPartTargetingDayPart()); |
| 3233 return o; | 3235 return o; |
| 3234 } | 3236 } |
| 3235 | 3237 |
| 3236 checkUnnamed1995(core.List<api.TargetingValueDayPartTargetingDayPart> o) { | 3238 checkUnnamed1765(core.List<api.TargetingValueDayPartTargetingDayPart> o) { |
| 3237 unittest.expect(o, unittest.hasLength(2)); | 3239 unittest.expect(o, unittest.hasLength(2)); |
| 3238 checkTargetingValueDayPartTargetingDayPart(o[0]); | 3240 checkTargetingValueDayPartTargetingDayPart(o[0]); |
| 3239 checkTargetingValueDayPartTargetingDayPart(o[1]); | 3241 checkTargetingValueDayPartTargetingDayPart(o[1]); |
| 3240 } | 3242 } |
| 3241 | 3243 |
| 3242 core.int buildCounterTargetingValueDayPartTargeting = 0; | 3244 core.int buildCounterTargetingValueDayPartTargeting = 0; |
| 3243 buildTargetingValueDayPartTargeting() { | 3245 buildTargetingValueDayPartTargeting() { |
| 3244 var o = new api.TargetingValueDayPartTargeting(); | 3246 var o = new api.TargetingValueDayPartTargeting(); |
| 3245 buildCounterTargetingValueDayPartTargeting++; | 3247 buildCounterTargetingValueDayPartTargeting++; |
| 3246 if (buildCounterTargetingValueDayPartTargeting < 3) { | 3248 if (buildCounterTargetingValueDayPartTargeting < 3) { |
| 3247 o.dayParts = buildUnnamed1995(); | 3249 o.dayParts = buildUnnamed1765(); |
| 3248 o.timeZoneType = "foo"; | 3250 o.timeZoneType = "foo"; |
| 3249 } | 3251 } |
| 3250 buildCounterTargetingValueDayPartTargeting--; | 3252 buildCounterTargetingValueDayPartTargeting--; |
| 3251 return o; | 3253 return o; |
| 3252 } | 3254 } |
| 3253 | 3255 |
| 3254 checkTargetingValueDayPartTargeting(api.TargetingValueDayPartTargeting o) { | 3256 checkTargetingValueDayPartTargeting(api.TargetingValueDayPartTargeting o) { |
| 3255 buildCounterTargetingValueDayPartTargeting++; | 3257 buildCounterTargetingValueDayPartTargeting++; |
| 3256 if (buildCounterTargetingValueDayPartTargeting < 3) { | 3258 if (buildCounterTargetingValueDayPartTargeting < 3) { |
| 3257 checkUnnamed1995(o.dayParts); | 3259 checkUnnamed1765(o.dayParts); |
| 3258 unittest.expect(o.timeZoneType, unittest.equals('foo')); | 3260 unittest.expect(o.timeZoneType, unittest.equals('foo')); |
| 3259 } | 3261 } |
| 3260 buildCounterTargetingValueDayPartTargeting--; | 3262 buildCounterTargetingValueDayPartTargeting--; |
| 3261 } | 3263 } |
| 3262 | 3264 |
| 3263 core.int buildCounterTargetingValueDayPartTargetingDayPart = 0; | 3265 core.int buildCounterTargetingValueDayPartTargetingDayPart = 0; |
| 3264 buildTargetingValueDayPartTargetingDayPart() { | 3266 buildTargetingValueDayPartTargetingDayPart() { |
| 3265 var o = new api.TargetingValueDayPartTargetingDayPart(); | 3267 var o = new api.TargetingValueDayPartTargetingDayPart(); |
| 3266 buildCounterTargetingValueDayPartTargetingDayPart++; | 3268 buildCounterTargetingValueDayPartTargetingDayPart++; |
| 3267 if (buildCounterTargetingValueDayPartTargetingDayPart < 3) { | 3269 if (buildCounterTargetingValueDayPartTargetingDayPart < 3) { |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3326 buildCounterUpdatePrivateAuctionProposalRequest++; | 3328 buildCounterUpdatePrivateAuctionProposalRequest++; |
| 3327 if (buildCounterUpdatePrivateAuctionProposalRequest < 3) { | 3329 if (buildCounterUpdatePrivateAuctionProposalRequest < 3) { |
| 3328 unittest.expect(o.externalDealId, unittest.equals('foo')); | 3330 unittest.expect(o.externalDealId, unittest.equals('foo')); |
| 3329 checkMarketplaceNote(o.note); | 3331 checkMarketplaceNote(o.note); |
| 3330 unittest.expect(o.proposalRevisionNumber, unittest.equals('foo')); | 3332 unittest.expect(o.proposalRevisionNumber, unittest.equals('foo')); |
| 3331 unittest.expect(o.updateAction, unittest.equals('foo')); | 3333 unittest.expect(o.updateAction, unittest.equals('foo')); |
| 3332 } | 3334 } |
| 3333 buildCounterUpdatePrivateAuctionProposalRequest--; | 3335 buildCounterUpdatePrivateAuctionProposalRequest--; |
| 3334 } | 3336 } |
| 3335 | 3337 |
| 3336 buildUnnamed1996() { | 3338 buildUnnamed1766() { |
| 3337 var o = new core.List<core.int>(); | 3339 var o = new core.List<core.int>(); |
| 3338 o.add(42); | 3340 o.add(42); |
| 3339 o.add(42); | 3341 o.add(42); |
| 3340 return o; | 3342 return o; |
| 3341 } | 3343 } |
| 3342 | 3344 |
| 3343 checkUnnamed1996(core.List<core.int> o) { | 3345 checkUnnamed1766(core.List<core.int> o) { |
| 3344 unittest.expect(o, unittest.hasLength(2)); | 3346 unittest.expect(o, unittest.hasLength(2)); |
| 3345 unittest.expect(o[0], unittest.equals(42)); | 3347 unittest.expect(o[0], unittest.equals(42)); |
| 3346 unittest.expect(o[1], unittest.equals(42)); | 3348 unittest.expect(o[1], unittest.equals(42)); |
| 3347 } | 3349 } |
| 3348 | 3350 |
| 3349 buildUnnamed1997() { | 3351 buildUnnamed1767() { |
| 3350 var o = new core.List<core.String>(); | 3352 var o = new core.List<core.String>(); |
| 3351 o.add("foo"); | 3353 o.add("foo"); |
| 3352 o.add("foo"); | 3354 o.add("foo"); |
| 3353 return o; | 3355 return o; |
| 3354 } | 3356 } |
| 3355 | 3357 |
| 3356 checkUnnamed1997(core.List<core.String> o) { | 3358 checkUnnamed1767(core.List<core.String> o) { |
| 3357 unittest.expect(o, unittest.hasLength(2)); | 3359 unittest.expect(o, unittest.hasLength(2)); |
| 3358 unittest.expect(o[0], unittest.equals('foo')); | 3360 unittest.expect(o[0], unittest.equals('foo')); |
| 3359 unittest.expect(o[1], unittest.equals('foo')); | 3361 unittest.expect(o[1], unittest.equals('foo')); |
| 3360 } | 3362 } |
| 3361 | 3363 |
| 3362 | 3364 |
| 3363 main() { | 3365 main() { |
| 3364 unittest.group("obj-schema-AccountBidderLocation", () { | 3366 unittest.group("obj-schema-AccountBidderLocation", () { |
| 3365 unittest.test("to-json--from-json", () { | 3367 unittest.test("to-json--from-json", () { |
| 3366 var o = buildAccountBidderLocation(); | 3368 var o = buildAccountBidderLocation(); |
| (...skipping 1343 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4710 }), true); | 4712 }), true); |
| 4711 res.insert(arg_request).then(unittest.expectAsync(((api.Creative response)
{ | 4713 res.insert(arg_request).then(unittest.expectAsync(((api.Creative response)
{ |
| 4712 checkCreative(response); | 4714 checkCreative(response); |
| 4713 }))); | 4715 }))); |
| 4714 }); | 4716 }); |
| 4715 | 4717 |
| 4716 unittest.test("method--list", () { | 4718 unittest.test("method--list", () { |
| 4717 | 4719 |
| 4718 var mock = new HttpServerMock(); | 4720 var mock = new HttpServerMock(); |
| 4719 api.CreativesResourceApi res = new api.AdexchangebuyerApi(mock).creatives; | 4721 api.CreativesResourceApi res = new api.AdexchangebuyerApi(mock).creatives; |
| 4720 var arg_accountId = buildUnnamed1996(); | 4722 var arg_accountId = buildUnnamed1766(); |
| 4721 var arg_buyerCreativeId = buildUnnamed1997(); | 4723 var arg_buyerCreativeId = buildUnnamed1767(); |
| 4722 var arg_dealsStatusFilter = "foo"; | 4724 var arg_dealsStatusFilter = "foo"; |
| 4723 var arg_maxResults = 42; | 4725 var arg_maxResults = 42; |
| 4724 var arg_openAuctionStatusFilter = "foo"; | 4726 var arg_openAuctionStatusFilter = "foo"; |
| 4725 var arg_pageToken = "foo"; | 4727 var arg_pageToken = "foo"; |
| 4726 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 4728 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 4727 var path = (req.url).path; | 4729 var path = (req.url).path; |
| 4728 var pathOffset = 0; | 4730 var pathOffset = 0; |
| 4729 var index; | 4731 var index; |
| 4730 var subPart; | 4732 var subPart; |
| 4731 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 4733 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| (...skipping 1459 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6191 res.list(arg_accountId).then(unittest.expectAsync(((api.GetPublisherProfil
esByAccountIdResponse response) { | 6193 res.list(arg_accountId).then(unittest.expectAsync(((api.GetPublisherProfil
esByAccountIdResponse response) { |
| 6192 checkGetPublisherProfilesByAccountIdResponse(response); | 6194 checkGetPublisherProfilesByAccountIdResponse(response); |
| 6193 }))); | 6195 }))); |
| 6194 }); | 6196 }); |
| 6195 | 6197 |
| 6196 }); | 6198 }); |
| 6197 | 6199 |
| 6198 | 6200 |
| 6199 } | 6201 } |
| 6200 | 6202 |
| OLD | NEW |