| 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 buildUnnamed1809() { | 79 buildUnnamed1903() { |
| 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 checkUnnamed1809(core.List<api.AccountBidderLocation> o) { | 86 checkUnnamed1903(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 = buildUnnamed1809(); | 97 o.bidderLocation = buildUnnamed1903(); |
| 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 checkUnnamed1809(o.bidderLocation); | 113 checkUnnamed1903(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 buildUnnamed1810() { | 125 buildUnnamed1904() { |
| 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 checkUnnamed1810(core.List<api.Account> o) { | 132 checkUnnamed1904(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 = buildUnnamed1810(); | 143 o.items = buildUnnamed1904(); |
| 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 checkUnnamed1810(o.items); | 153 checkUnnamed1904(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 buildUnnamed1811() { | 159 buildUnnamed1905() { |
| 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 checkUnnamed1811(core.List<api.MarketplaceDeal> o) { | 166 checkUnnamed1905(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 = buildUnnamed1811(); | 177 o.deals = buildUnnamed1905(); |
| 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 checkUnnamed1811(o.deals); | 188 checkUnnamed1905(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 buildUnnamed1812() { | 195 buildUnnamed1906() { |
| 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 checkUnnamed1812(core.List<api.MarketplaceDeal> o) { | 202 checkUnnamed1906(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 = buildUnnamed1812(); | 213 o.deals = buildUnnamed1906(); |
| 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 checkUnnamed1812(o.deals); | 223 checkUnnamed1906(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 buildUnnamed1813() { | 229 buildUnnamed1907() { |
| 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 checkUnnamed1813(core.List<api.MarketplaceNote> o) { | 236 checkUnnamed1907(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 = buildUnnamed1813(); | 247 o.notes = buildUnnamed1907(); |
| 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 checkUnnamed1813(o.notes); | 256 checkUnnamed1907(o.notes); |
| 257 } | 257 } |
| 258 buildCounterAddOrderNotesRequest--; | 258 buildCounterAddOrderNotesRequest--; |
| 259 } | 259 } |
| 260 | 260 |
| 261 buildUnnamed1814() { | 261 buildUnnamed1908() { |
| 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 checkUnnamed1814(core.List<api.MarketplaceNote> o) { | 268 checkUnnamed1908(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 = buildUnnamed1814(); | 279 o.notes = buildUnnamed1908(); |
| 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 checkUnnamed1814(o.notes); | 288 checkUnnamed1908(o.notes); |
| 289 } | 289 } |
| 290 buildCounterAddOrderNotesResponse--; | 290 buildCounterAddOrderNotesResponse--; |
| 291 } | 291 } |
| 292 | 292 |
| 293 buildUnnamed1815() { | 293 buildUnnamed1909() { |
| 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 checkUnnamed1815(core.List<core.String> o) { | 300 checkUnnamed1909(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 = buildUnnamed1815(); | 313 o.billingId = buildUnnamed1909(); |
| 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 checkUnnamed1815(o.billingId); | 325 checkUnnamed1909(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 buildUnnamed1816() { | 331 buildUnnamed1910() { |
| 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 checkUnnamed1816(core.List<api.BillingInfo> o) { | 338 checkUnnamed1910(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 = buildUnnamed1816(); | 349 o.items = buildUnnamed1910(); |
| 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 checkUnnamed1816(o.items); | 359 checkUnnamed1910(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 buildUnnamed1817() { | 434 buildUnnamed1911() { |
| 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 checkUnnamed1817(core.List<api.Proposal> o) { | 441 checkUnnamed1911(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 = buildUnnamed1817(); | 452 o.proposals = buildUnnamed1911(); |
| 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 checkUnnamed1817(o.proposals); | 462 checkUnnamed1911(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 buildUnnamed1818() { | 468 buildUnnamed1912() { |
| 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 checkUnnamed1818(core.List<api.Proposal> o) { | 475 checkUnnamed1912(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 = buildUnnamed1818(); | 486 o.proposals = buildUnnamed1912(); |
| 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 checkUnnamed1818(o.proposals); | 495 checkUnnamed1912(o.proposals); |
| 496 } | 496 } |
| 497 buildCounterCreateOrdersResponse--; | 497 buildCounterCreateOrdersResponse--; |
| 498 } | 498 } |
| 499 | 499 |
| 500 buildUnnamed1819() { | 500 buildUnnamed1913() { |
| 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 checkUnnamed1819(core.List<core.String> o) { | 507 checkUnnamed1913(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 buildUnnamed1820() { | 513 buildUnnamed1914() { |
| 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 checkUnnamed1820(core.List<core.int> o) { | 520 checkUnnamed1914(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 buildUnnamed1821() { | 526 buildUnnamed1915() { |
| 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 checkUnnamed1821(core.List<core.String> o) { | 533 checkUnnamed1915(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 buildUnnamed1822() { | 539 buildUnnamed1916() { |
| 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 checkUnnamed1822(core.List<core.String> o) { | 546 checkUnnamed1916(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 buildUnnamed1823() { | 552 buildUnnamed1917() { |
| 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 checkUnnamed1823(core.List<core.int> o) { | 559 checkUnnamed1917(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 buildUnnamed1824() { | 565 buildUnnamed1918() { |
| 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 checkUnnamed1824(core.List<core.String> o) { | 572 checkUnnamed1918(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 = buildUnnamed1822(); | 583 o.auctionType = buildUnnamed1916(); |
| 584 o.contextType = "foo"; | 584 o.contextType = "foo"; |
| 585 o.geoCriteriaId = buildUnnamed1823(); | 585 o.geoCriteriaId = buildUnnamed1917(); |
| 586 o.platform = buildUnnamed1824(); | 586 o.platform = buildUnnamed1918(); |
| 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 checkUnnamed1822(o.auctionType); | 595 checkUnnamed1916(o.auctionType); |
| 596 unittest.expect(o.contextType, unittest.equals('foo')); | 596 unittest.expect(o.contextType, unittest.equals('foo')); |
| 597 checkUnnamed1823(o.geoCriteriaId); | 597 checkUnnamed1917(o.geoCriteriaId); |
| 598 checkUnnamed1824(o.platform); | 598 checkUnnamed1918(o.platform); |
| 599 } | 599 } |
| 600 buildCounterCreativeCorrectionsContexts--; | 600 buildCounterCreativeCorrectionsContexts--; |
| 601 } | 601 } |
| 602 | 602 |
| 603 buildUnnamed1825() { | 603 buildUnnamed1919() { |
| 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 checkUnnamed1825(core.List<api.CreativeCorrectionsContexts> o) { | 610 checkUnnamed1919(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 buildUnnamed1826() { | 616 buildUnnamed1920() { |
| 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 checkUnnamed1826(core.List<core.String> o) { | 623 checkUnnamed1920(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 = buildUnnamed1825(); | 634 o.contexts = buildUnnamed1919(); |
| 635 o.details = buildUnnamed1826(); | 635 o.details = buildUnnamed1920(); |
| 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 checkUnnamed1825(o.contexts); | 645 checkUnnamed1919(o.contexts); |
| 646 checkUnnamed1826(o.details); | 646 checkUnnamed1920(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 buildUnnamed1827() { | 652 buildUnnamed1921() { |
| 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 checkUnnamed1827(core.List<api.CreativeCorrections> o) { | 659 checkUnnamed1921(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 buildUnnamed1828() { | 665 buildUnnamed1922() { |
| 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 checkUnnamed1828(core.List<core.String> o) { | 672 checkUnnamed1922(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 buildUnnamed1829() { | 699 buildUnnamed1923() { |
| 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 checkUnnamed1829(core.List<api.CreativeFilteringReasonsReasons> o) { | 706 checkUnnamed1923(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 = buildUnnamed1829(); | 718 o.reasons = buildUnnamed1923(); |
| 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 checkUnnamed1829(o.reasons); | 728 checkUnnamed1923(o.reasons); |
| 729 } | 729 } |
| 730 buildCounterCreativeFilteringReasons--; | 730 buildCounterCreativeFilteringReasons--; |
| 731 } | 731 } |
| 732 | 732 |
| 733 buildUnnamed1830() { | 733 buildUnnamed1924() { |
| 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 checkUnnamed1830(core.List<core.String> o) { | 740 checkUnnamed1924(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 buildUnnamed1831() { | 746 buildUnnamed1925() { |
| 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 checkUnnamed1831(core.List<core.String> o) { | 753 checkUnnamed1925(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 buildUnnamed1832() { | 805 buildUnnamed1926() { |
| 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 checkUnnamed1832(core.List<core.String> o) { | 812 checkUnnamed1926(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 = buildUnnamed1832(); | 854 o.impressionTrackingUrl = buildUnnamed1926(); |
| 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 checkUnnamed1832(o.impressionTrackingUrl); | 876 checkUnnamed1926(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 buildUnnamed1833() { | 886 buildUnnamed1927() { |
| 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 checkUnnamed1833(core.List<core.int> o) { | 893 checkUnnamed1927(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 buildUnnamed1834() { | 899 buildUnnamed1928() { |
| 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 checkUnnamed1834(core.List<core.int> o) { | 906 checkUnnamed1928(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 buildUnnamed1835() { | 912 buildUnnamed1929() { |
| 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 checkUnnamed1835(core.List<core.int> o) { | 919 checkUnnamed1929(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 buildUnnamed1836() { | 925 buildUnnamed1930() { |
| 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 checkUnnamed1836(core.List<core.String> o) { | 932 checkUnnamed1930(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 buildUnnamed1837() { | 938 buildUnnamed1931() { |
| 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 checkUnnamed1837(core.List<core.int> o) { | 945 checkUnnamed1931(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 buildUnnamed1838() { | 951 buildUnnamed1932() { |
| 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 checkUnnamed1838(core.List<core.String> o) { | 958 checkUnnamed1932(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 = buildUnnamed1836(); | 969 o.auctionType = buildUnnamed1930(); |
| 970 o.contextType = "foo"; | 970 o.contextType = "foo"; |
| 971 o.geoCriteriaId = buildUnnamed1837(); | 971 o.geoCriteriaId = buildUnnamed1931(); |
| 972 o.platform = buildUnnamed1838(); | 972 o.platform = buildUnnamed1932(); |
| 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 checkUnnamed1836(o.auctionType); | 981 checkUnnamed1930(o.auctionType); |
| 982 unittest.expect(o.contextType, unittest.equals('foo')); | 982 unittest.expect(o.contextType, unittest.equals('foo')); |
| 983 checkUnnamed1837(o.geoCriteriaId); | 983 checkUnnamed1931(o.geoCriteriaId); |
| 984 checkUnnamed1838(o.platform); | 984 checkUnnamed1932(o.platform); |
| 985 } | 985 } |
| 986 buildCounterCreativeServingRestrictionsContexts--; | 986 buildCounterCreativeServingRestrictionsContexts--; |
| 987 } | 987 } |
| 988 | 988 |
| 989 buildUnnamed1839() { | 989 buildUnnamed1933() { |
| 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 checkUnnamed1839(core.List<api.CreativeServingRestrictionsContexts> o) { | 996 checkUnnamed1933(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 buildUnnamed1840() { | 1002 buildUnnamed1934() { |
| 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 checkUnnamed1840(core.List<core.String> o) { | 1009 checkUnnamed1934(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 = buildUnnamed1840(); | 1020 o.details = buildUnnamed1934(); |
| 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 checkUnnamed1840(o.details); | 1030 checkUnnamed1934(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 buildUnnamed1841() { | 1036 buildUnnamed1935() { |
| 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 checkUnnamed1841(core.List<api.CreativeServingRestrictionsDisapprovalReasons> o)
{ | 1043 checkUnnamed1935(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 = buildUnnamed1839(); | 1054 o.contexts = buildUnnamed1933(); |
| 1055 o.disapprovalReasons = buildUnnamed1841(); | 1055 o.disapprovalReasons = buildUnnamed1935(); |
| 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 checkUnnamed1839(o.contexts); | 1065 checkUnnamed1933(o.contexts); |
| 1066 checkUnnamed1841(o.disapprovalReasons); | 1066 checkUnnamed1935(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 buildUnnamed1842() { | 1072 buildUnnamed1936() { |
| 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 checkUnnamed1842(core.List<api.CreativeServingRestrictions> o) { | 1079 checkUnnamed1936(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 buildUnnamed1843() { | 1085 buildUnnamed1937() { |
| 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 checkUnnamed1843(core.List<core.int> o) { | 1092 checkUnnamed1937(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 = buildUnnamed1819(); | 1106 o.advertiserId = buildUnnamed1913(); |
| 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 = buildUnnamed1820(); | 1110 o.attribute = buildUnnamed1914(); |
| 1111 o.buyerCreativeId = "foo"; | 1111 o.buyerCreativeId = "foo"; |
| 1112 o.clickThroughUrl = buildUnnamed1821(); | 1112 o.clickThroughUrl = buildUnnamed1915(); |
| 1113 o.corrections = buildUnnamed1827(); | 1113 o.corrections = buildUnnamed1921(); |
| 1114 o.dealsStatus = "foo"; | 1114 o.dealsStatus = "foo"; |
| 1115 o.detectedDomains = buildUnnamed1828(); | 1115 o.detectedDomains = buildUnnamed1922(); |
| 1116 o.filteringReasons = buildCreativeFilteringReasons(); | 1116 o.filteringReasons = buildCreativeFilteringReasons(); |
| 1117 o.height = 42; | 1117 o.height = 42; |
| 1118 o.impressionTrackingUrl = buildUnnamed1830(); | 1118 o.impressionTrackingUrl = buildUnnamed1924(); |
| 1119 o.kind = "foo"; | 1119 o.kind = "foo"; |
| 1120 o.languages = buildUnnamed1831(); | 1120 o.languages = buildUnnamed1925(); |
| 1121 o.nativeAd = buildCreativeNativeAd(); | 1121 o.nativeAd = buildCreativeNativeAd(); |
| 1122 o.openAuctionStatus = "foo"; | 1122 o.openAuctionStatus = "foo"; |
| 1123 o.productCategories = buildUnnamed1833(); | 1123 o.productCategories = buildUnnamed1927(); |
| 1124 o.restrictedCategories = buildUnnamed1834(); | 1124 o.restrictedCategories = buildUnnamed1928(); |
| 1125 o.sensitiveCategories = buildUnnamed1835(); | 1125 o.sensitiveCategories = buildUnnamed1929(); |
| 1126 o.servingRestrictions = buildUnnamed1842(); | 1126 o.servingRestrictions = buildUnnamed1936(); |
| 1127 o.vendorType = buildUnnamed1843(); | 1127 o.vendorType = buildUnnamed1937(); |
| 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 checkUnnamed1819(o.advertiserId); | 1142 checkUnnamed1913(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 checkUnnamed1820(o.attribute); | 1146 checkUnnamed1914(o.attribute); |
| 1147 unittest.expect(o.buyerCreativeId, unittest.equals('foo')); | 1147 unittest.expect(o.buyerCreativeId, unittest.equals('foo')); |
| 1148 checkUnnamed1821(o.clickThroughUrl); | 1148 checkUnnamed1915(o.clickThroughUrl); |
| 1149 checkUnnamed1827(o.corrections); | 1149 checkUnnamed1921(o.corrections); |
| 1150 unittest.expect(o.dealsStatus, unittest.equals('foo')); | 1150 unittest.expect(o.dealsStatus, unittest.equals('foo')); |
| 1151 checkUnnamed1828(o.detectedDomains); | 1151 checkUnnamed1922(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 checkUnnamed1830(o.impressionTrackingUrl); | 1154 checkUnnamed1924(o.impressionTrackingUrl); |
| 1155 unittest.expect(o.kind, unittest.equals('foo')); | 1155 unittest.expect(o.kind, unittest.equals('foo')); |
| 1156 checkUnnamed1831(o.languages); | 1156 checkUnnamed1925(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 checkUnnamed1833(o.productCategories); | 1159 checkUnnamed1927(o.productCategories); |
| 1160 checkUnnamed1834(o.restrictedCategories); | 1160 checkUnnamed1928(o.restrictedCategories); |
| 1161 checkUnnamed1835(o.sensitiveCategories); | 1161 checkUnnamed1929(o.sensitiveCategories); |
| 1162 checkUnnamed1842(o.servingRestrictions); | 1162 checkUnnamed1936(o.servingRestrictions); |
| 1163 checkUnnamed1843(o.vendorType); | 1163 checkUnnamed1937(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 buildUnnamed1844() { | 1194 buildUnnamed1938() { |
| 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 checkUnnamed1844(core.List<api.CreativeDealIdsDealStatuses> o) { | 1201 checkUnnamed1938(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 = buildUnnamed1844(); | 1212 o.dealStatuses = buildUnnamed1938(); |
| 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 checkUnnamed1844(o.dealStatuses); | 1222 checkUnnamed1938(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 buildUnnamed1845() { | 1228 buildUnnamed1939() { |
| 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 checkUnnamed1845(core.List<api.Creative> o) { | 1235 checkUnnamed1939(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 = buildUnnamed1845(); | 1246 o.items = buildUnnamed1939(); |
| 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 checkUnnamed1845(o.items); | 1257 checkUnnamed1939(o.items); |
| 1258 unittest.expect(o.kind, unittest.equals('foo')); | 1258 unittest.expect(o.kind, unittest.equals('foo')); |
| 1259 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1259 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1260 } | 1260 } |
| 1261 buildCounterCreativesList--; | 1261 buildCounterCreativesList--; |
| 1262 } | 1262 } |
| 1263 | 1263 |
| 1264 core.int buildCounterDealServingMetadata = 0; | 1264 core.int buildCounterDealServingMetadata = 0; |
| 1265 buildDealServingMetadata() { | 1265 buildDealServingMetadata() { |
| 1266 var o = new api.DealServingMetadata(); | 1266 var o = new api.DealServingMetadata(); |
| 1267 buildCounterDealServingMetadata++; | 1267 buildCounterDealServingMetadata++; |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1337 unittest.expect(o.estimatedImpressionsPerDay, unittest.equals('foo')); | 1337 unittest.expect(o.estimatedImpressionsPerDay, unittest.equals('foo')); |
| 1338 checkDealTermsGuaranteedFixedPriceTerms(o.guaranteedFixedPriceTerms); | 1338 checkDealTermsGuaranteedFixedPriceTerms(o.guaranteedFixedPriceTerms); |
| 1339 checkDealTermsNonGuaranteedAuctionTerms(o.nonGuaranteedAuctionTerms); | 1339 checkDealTermsNonGuaranteedAuctionTerms(o.nonGuaranteedAuctionTerms); |
| 1340 checkDealTermsNonGuaranteedFixedPriceTerms(o.nonGuaranteedFixedPriceTerms); | 1340 checkDealTermsNonGuaranteedFixedPriceTerms(o.nonGuaranteedFixedPriceTerms); |
| 1341 checkDealTermsRubiconNonGuaranteedTerms(o.rubiconNonGuaranteedTerms); | 1341 checkDealTermsRubiconNonGuaranteedTerms(o.rubiconNonGuaranteedTerms); |
| 1342 unittest.expect(o.sellerTimeZone, unittest.equals('foo')); | 1342 unittest.expect(o.sellerTimeZone, unittest.equals('foo')); |
| 1343 } | 1343 } |
| 1344 buildCounterDealTerms--; | 1344 buildCounterDealTerms--; |
| 1345 } | 1345 } |
| 1346 | 1346 |
| 1347 buildUnnamed1846() { | 1347 buildUnnamed1940() { |
| 1348 var o = new core.List<api.PricePerBuyer>(); | 1348 var o = new core.List<api.PricePerBuyer>(); |
| 1349 o.add(buildPricePerBuyer()); | 1349 o.add(buildPricePerBuyer()); |
| 1350 o.add(buildPricePerBuyer()); | 1350 o.add(buildPricePerBuyer()); |
| 1351 return o; | 1351 return o; |
| 1352 } | 1352 } |
| 1353 | 1353 |
| 1354 checkUnnamed1846(core.List<api.PricePerBuyer> o) { | 1354 checkUnnamed1940(core.List<api.PricePerBuyer> o) { |
| 1355 unittest.expect(o, unittest.hasLength(2)); | 1355 unittest.expect(o, unittest.hasLength(2)); |
| 1356 checkPricePerBuyer(o[0]); | 1356 checkPricePerBuyer(o[0]); |
| 1357 checkPricePerBuyer(o[1]); | 1357 checkPricePerBuyer(o[1]); |
| 1358 } | 1358 } |
| 1359 | 1359 |
| 1360 core.int buildCounterDealTermsGuaranteedFixedPriceTerms = 0; | 1360 core.int buildCounterDealTermsGuaranteedFixedPriceTerms = 0; |
| 1361 buildDealTermsGuaranteedFixedPriceTerms() { | 1361 buildDealTermsGuaranteedFixedPriceTerms() { |
| 1362 var o = new api.DealTermsGuaranteedFixedPriceTerms(); | 1362 var o = new api.DealTermsGuaranteedFixedPriceTerms(); |
| 1363 buildCounterDealTermsGuaranteedFixedPriceTerms++; | 1363 buildCounterDealTermsGuaranteedFixedPriceTerms++; |
| 1364 if (buildCounterDealTermsGuaranteedFixedPriceTerms < 3) { | 1364 if (buildCounterDealTermsGuaranteedFixedPriceTerms < 3) { |
| 1365 o.billingInfo = buildDealTermsGuaranteedFixedPriceTermsBillingInfo(); | 1365 o.billingInfo = buildDealTermsGuaranteedFixedPriceTermsBillingInfo(); |
| 1366 o.fixedPrices = buildUnnamed1846(); | 1366 o.fixedPrices = buildUnnamed1940(); |
| 1367 o.guaranteedImpressions = "foo"; | 1367 o.guaranteedImpressions = "foo"; |
| 1368 o.guaranteedLooks = "foo"; | 1368 o.guaranteedLooks = "foo"; |
| 1369 o.minimumDailyLooks = "foo"; | 1369 o.minimumDailyLooks = "foo"; |
| 1370 } | 1370 } |
| 1371 buildCounterDealTermsGuaranteedFixedPriceTerms--; | 1371 buildCounterDealTermsGuaranteedFixedPriceTerms--; |
| 1372 return o; | 1372 return o; |
| 1373 } | 1373 } |
| 1374 | 1374 |
| 1375 checkDealTermsGuaranteedFixedPriceTerms(api.DealTermsGuaranteedFixedPriceTerms o
) { | 1375 checkDealTermsGuaranteedFixedPriceTerms(api.DealTermsGuaranteedFixedPriceTerms o
) { |
| 1376 buildCounterDealTermsGuaranteedFixedPriceTerms++; | 1376 buildCounterDealTermsGuaranteedFixedPriceTerms++; |
| 1377 if (buildCounterDealTermsGuaranteedFixedPriceTerms < 3) { | 1377 if (buildCounterDealTermsGuaranteedFixedPriceTerms < 3) { |
| 1378 checkDealTermsGuaranteedFixedPriceTermsBillingInfo(o.billingInfo); | 1378 checkDealTermsGuaranteedFixedPriceTermsBillingInfo(o.billingInfo); |
| 1379 checkUnnamed1846(o.fixedPrices); | 1379 checkUnnamed1940(o.fixedPrices); |
| 1380 unittest.expect(o.guaranteedImpressions, unittest.equals('foo')); | 1380 unittest.expect(o.guaranteedImpressions, unittest.equals('foo')); |
| 1381 unittest.expect(o.guaranteedLooks, unittest.equals('foo')); | 1381 unittest.expect(o.guaranteedLooks, unittest.equals('foo')); |
| 1382 unittest.expect(o.minimumDailyLooks, unittest.equals('foo')); | 1382 unittest.expect(o.minimumDailyLooks, unittest.equals('foo')); |
| 1383 } | 1383 } |
| 1384 buildCounterDealTermsGuaranteedFixedPriceTerms--; | 1384 buildCounterDealTermsGuaranteedFixedPriceTerms--; |
| 1385 } | 1385 } |
| 1386 | 1386 |
| 1387 core.int buildCounterDealTermsGuaranteedFixedPriceTermsBillingInfo = 0; | 1387 core.int buildCounterDealTermsGuaranteedFixedPriceTermsBillingInfo = 0; |
| 1388 buildDealTermsGuaranteedFixedPriceTermsBillingInfo() { | 1388 buildDealTermsGuaranteedFixedPriceTermsBillingInfo() { |
| 1389 var o = new api.DealTermsGuaranteedFixedPriceTermsBillingInfo(); | 1389 var o = new api.DealTermsGuaranteedFixedPriceTermsBillingInfo(); |
| (...skipping 12 matching lines...) Expand all Loading... |
| 1402 buildCounterDealTermsGuaranteedFixedPriceTermsBillingInfo++; | 1402 buildCounterDealTermsGuaranteedFixedPriceTermsBillingInfo++; |
| 1403 if (buildCounterDealTermsGuaranteedFixedPriceTermsBillingInfo < 3) { | 1403 if (buildCounterDealTermsGuaranteedFixedPriceTermsBillingInfo < 3) { |
| 1404 unittest.expect(o.currencyConversionTimeMs, unittest.equals('foo')); | 1404 unittest.expect(o.currencyConversionTimeMs, unittest.equals('foo')); |
| 1405 unittest.expect(o.dfpLineItemId, unittest.equals('foo')); | 1405 unittest.expect(o.dfpLineItemId, unittest.equals('foo')); |
| 1406 unittest.expect(o.originalContractedQuantity, unittest.equals('foo')); | 1406 unittest.expect(o.originalContractedQuantity, unittest.equals('foo')); |
| 1407 checkPrice(o.price); | 1407 checkPrice(o.price); |
| 1408 } | 1408 } |
| 1409 buildCounterDealTermsGuaranteedFixedPriceTermsBillingInfo--; | 1409 buildCounterDealTermsGuaranteedFixedPriceTermsBillingInfo--; |
| 1410 } | 1410 } |
| 1411 | 1411 |
| 1412 buildUnnamed1847() { | 1412 buildUnnamed1941() { |
| 1413 var o = new core.List<api.PricePerBuyer>(); | 1413 var o = new core.List<api.PricePerBuyer>(); |
| 1414 o.add(buildPricePerBuyer()); | 1414 o.add(buildPricePerBuyer()); |
| 1415 o.add(buildPricePerBuyer()); | 1415 o.add(buildPricePerBuyer()); |
| 1416 return o; | 1416 return o; |
| 1417 } | 1417 } |
| 1418 | 1418 |
| 1419 checkUnnamed1847(core.List<api.PricePerBuyer> o) { | 1419 checkUnnamed1941(core.List<api.PricePerBuyer> o) { |
| 1420 unittest.expect(o, unittest.hasLength(2)); | 1420 unittest.expect(o, unittest.hasLength(2)); |
| 1421 checkPricePerBuyer(o[0]); | 1421 checkPricePerBuyer(o[0]); |
| 1422 checkPricePerBuyer(o[1]); | 1422 checkPricePerBuyer(o[1]); |
| 1423 } | 1423 } |
| 1424 | 1424 |
| 1425 core.int buildCounterDealTermsNonGuaranteedAuctionTerms = 0; | 1425 core.int buildCounterDealTermsNonGuaranteedAuctionTerms = 0; |
| 1426 buildDealTermsNonGuaranteedAuctionTerms() { | 1426 buildDealTermsNonGuaranteedAuctionTerms() { |
| 1427 var o = new api.DealTermsNonGuaranteedAuctionTerms(); | 1427 var o = new api.DealTermsNonGuaranteedAuctionTerms(); |
| 1428 buildCounterDealTermsNonGuaranteedAuctionTerms++; | 1428 buildCounterDealTermsNonGuaranteedAuctionTerms++; |
| 1429 if (buildCounterDealTermsNonGuaranteedAuctionTerms < 3) { | 1429 if (buildCounterDealTermsNonGuaranteedAuctionTerms < 3) { |
| 1430 o.autoOptimizePrivateAuction = true; | 1430 o.autoOptimizePrivateAuction = true; |
| 1431 o.reservePricePerBuyers = buildUnnamed1847(); | 1431 o.reservePricePerBuyers = buildUnnamed1941(); |
| 1432 } | 1432 } |
| 1433 buildCounterDealTermsNonGuaranteedAuctionTerms--; | 1433 buildCounterDealTermsNonGuaranteedAuctionTerms--; |
| 1434 return o; | 1434 return o; |
| 1435 } | 1435 } |
| 1436 | 1436 |
| 1437 checkDealTermsNonGuaranteedAuctionTerms(api.DealTermsNonGuaranteedAuctionTerms o
) { | 1437 checkDealTermsNonGuaranteedAuctionTerms(api.DealTermsNonGuaranteedAuctionTerms o
) { |
| 1438 buildCounterDealTermsNonGuaranteedAuctionTerms++; | 1438 buildCounterDealTermsNonGuaranteedAuctionTerms++; |
| 1439 if (buildCounterDealTermsNonGuaranteedAuctionTerms < 3) { | 1439 if (buildCounterDealTermsNonGuaranteedAuctionTerms < 3) { |
| 1440 unittest.expect(o.autoOptimizePrivateAuction, unittest.isTrue); | 1440 unittest.expect(o.autoOptimizePrivateAuction, unittest.isTrue); |
| 1441 checkUnnamed1847(o.reservePricePerBuyers); | 1441 checkUnnamed1941(o.reservePricePerBuyers); |
| 1442 } | 1442 } |
| 1443 buildCounterDealTermsNonGuaranteedAuctionTerms--; | 1443 buildCounterDealTermsNonGuaranteedAuctionTerms--; |
| 1444 } | 1444 } |
| 1445 | 1445 |
| 1446 buildUnnamed1848() { | 1446 buildUnnamed1942() { |
| 1447 var o = new core.List<api.PricePerBuyer>(); | 1447 var o = new core.List<api.PricePerBuyer>(); |
| 1448 o.add(buildPricePerBuyer()); | 1448 o.add(buildPricePerBuyer()); |
| 1449 o.add(buildPricePerBuyer()); | 1449 o.add(buildPricePerBuyer()); |
| 1450 return o; | 1450 return o; |
| 1451 } | 1451 } |
| 1452 | 1452 |
| 1453 checkUnnamed1848(core.List<api.PricePerBuyer> o) { | 1453 checkUnnamed1942(core.List<api.PricePerBuyer> o) { |
| 1454 unittest.expect(o, unittest.hasLength(2)); | 1454 unittest.expect(o, unittest.hasLength(2)); |
| 1455 checkPricePerBuyer(o[0]); | 1455 checkPricePerBuyer(o[0]); |
| 1456 checkPricePerBuyer(o[1]); | 1456 checkPricePerBuyer(o[1]); |
| 1457 } | 1457 } |
| 1458 | 1458 |
| 1459 core.int buildCounterDealTermsNonGuaranteedFixedPriceTerms = 0; | 1459 core.int buildCounterDealTermsNonGuaranteedFixedPriceTerms = 0; |
| 1460 buildDealTermsNonGuaranteedFixedPriceTerms() { | 1460 buildDealTermsNonGuaranteedFixedPriceTerms() { |
| 1461 var o = new api.DealTermsNonGuaranteedFixedPriceTerms(); | 1461 var o = new api.DealTermsNonGuaranteedFixedPriceTerms(); |
| 1462 buildCounterDealTermsNonGuaranteedFixedPriceTerms++; | 1462 buildCounterDealTermsNonGuaranteedFixedPriceTerms++; |
| 1463 if (buildCounterDealTermsNonGuaranteedFixedPriceTerms < 3) { | 1463 if (buildCounterDealTermsNonGuaranteedFixedPriceTerms < 3) { |
| 1464 o.fixedPrices = buildUnnamed1848(); | 1464 o.fixedPrices = buildUnnamed1942(); |
| 1465 } | 1465 } |
| 1466 buildCounterDealTermsNonGuaranteedFixedPriceTerms--; | 1466 buildCounterDealTermsNonGuaranteedFixedPriceTerms--; |
| 1467 return o; | 1467 return o; |
| 1468 } | 1468 } |
| 1469 | 1469 |
| 1470 checkDealTermsNonGuaranteedFixedPriceTerms(api.DealTermsNonGuaranteedFixedPriceT
erms o) { | 1470 checkDealTermsNonGuaranteedFixedPriceTerms(api.DealTermsNonGuaranteedFixedPriceT
erms o) { |
| 1471 buildCounterDealTermsNonGuaranteedFixedPriceTerms++; | 1471 buildCounterDealTermsNonGuaranteedFixedPriceTerms++; |
| 1472 if (buildCounterDealTermsNonGuaranteedFixedPriceTerms < 3) { | 1472 if (buildCounterDealTermsNonGuaranteedFixedPriceTerms < 3) { |
| 1473 checkUnnamed1848(o.fixedPrices); | 1473 checkUnnamed1942(o.fixedPrices); |
| 1474 } | 1474 } |
| 1475 buildCounterDealTermsNonGuaranteedFixedPriceTerms--; | 1475 buildCounterDealTermsNonGuaranteedFixedPriceTerms--; |
| 1476 } | 1476 } |
| 1477 | 1477 |
| 1478 core.int buildCounterDealTermsRubiconNonGuaranteedTerms = 0; | 1478 core.int buildCounterDealTermsRubiconNonGuaranteedTerms = 0; |
| 1479 buildDealTermsRubiconNonGuaranteedTerms() { | 1479 buildDealTermsRubiconNonGuaranteedTerms() { |
| 1480 var o = new api.DealTermsRubiconNonGuaranteedTerms(); | 1480 var o = new api.DealTermsRubiconNonGuaranteedTerms(); |
| 1481 buildCounterDealTermsRubiconNonGuaranteedTerms++; | 1481 buildCounterDealTermsRubiconNonGuaranteedTerms++; |
| 1482 if (buildCounterDealTermsRubiconNonGuaranteedTerms < 3) { | 1482 if (buildCounterDealTermsRubiconNonGuaranteedTerms < 3) { |
| 1483 o.priorityPrice = buildPrice(); | 1483 o.priorityPrice = buildPrice(); |
| 1484 o.standardPrice = buildPrice(); | 1484 o.standardPrice = buildPrice(); |
| 1485 } | 1485 } |
| 1486 buildCounterDealTermsRubiconNonGuaranteedTerms--; | 1486 buildCounterDealTermsRubiconNonGuaranteedTerms--; |
| 1487 return o; | 1487 return o; |
| 1488 } | 1488 } |
| 1489 | 1489 |
| 1490 checkDealTermsRubiconNonGuaranteedTerms(api.DealTermsRubiconNonGuaranteedTerms o
) { | 1490 checkDealTermsRubiconNonGuaranteedTerms(api.DealTermsRubiconNonGuaranteedTerms o
) { |
| 1491 buildCounterDealTermsRubiconNonGuaranteedTerms++; | 1491 buildCounterDealTermsRubiconNonGuaranteedTerms++; |
| 1492 if (buildCounterDealTermsRubiconNonGuaranteedTerms < 3) { | 1492 if (buildCounterDealTermsRubiconNonGuaranteedTerms < 3) { |
| 1493 checkPrice(o.priorityPrice); | 1493 checkPrice(o.priorityPrice); |
| 1494 checkPrice(o.standardPrice); | 1494 checkPrice(o.standardPrice); |
| 1495 } | 1495 } |
| 1496 buildCounterDealTermsRubiconNonGuaranteedTerms--; | 1496 buildCounterDealTermsRubiconNonGuaranteedTerms--; |
| 1497 } | 1497 } |
| 1498 | 1498 |
| 1499 buildUnnamed1849() { | 1499 buildUnnamed1943() { |
| 1500 var o = new core.List<core.String>(); | 1500 var o = new core.List<core.String>(); |
| 1501 o.add("foo"); | 1501 o.add("foo"); |
| 1502 o.add("foo"); | 1502 o.add("foo"); |
| 1503 return o; | 1503 return o; |
| 1504 } | 1504 } |
| 1505 | 1505 |
| 1506 checkUnnamed1849(core.List<core.String> o) { | 1506 checkUnnamed1943(core.List<core.String> o) { |
| 1507 unittest.expect(o, unittest.hasLength(2)); | 1507 unittest.expect(o, unittest.hasLength(2)); |
| 1508 unittest.expect(o[0], unittest.equals('foo')); | 1508 unittest.expect(o[0], unittest.equals('foo')); |
| 1509 unittest.expect(o[1], unittest.equals('foo')); | 1509 unittest.expect(o[1], unittest.equals('foo')); |
| 1510 } | 1510 } |
| 1511 | 1511 |
| 1512 core.int buildCounterDeleteOrderDealsRequest = 0; | 1512 core.int buildCounterDeleteOrderDealsRequest = 0; |
| 1513 buildDeleteOrderDealsRequest() { | 1513 buildDeleteOrderDealsRequest() { |
| 1514 var o = new api.DeleteOrderDealsRequest(); | 1514 var o = new api.DeleteOrderDealsRequest(); |
| 1515 buildCounterDeleteOrderDealsRequest++; | 1515 buildCounterDeleteOrderDealsRequest++; |
| 1516 if (buildCounterDeleteOrderDealsRequest < 3) { | 1516 if (buildCounterDeleteOrderDealsRequest < 3) { |
| 1517 o.dealIds = buildUnnamed1849(); | 1517 o.dealIds = buildUnnamed1943(); |
| 1518 o.proposalRevisionNumber = "foo"; | 1518 o.proposalRevisionNumber = "foo"; |
| 1519 o.updateAction = "foo"; | 1519 o.updateAction = "foo"; |
| 1520 } | 1520 } |
| 1521 buildCounterDeleteOrderDealsRequest--; | 1521 buildCounterDeleteOrderDealsRequest--; |
| 1522 return o; | 1522 return o; |
| 1523 } | 1523 } |
| 1524 | 1524 |
| 1525 checkDeleteOrderDealsRequest(api.DeleteOrderDealsRequest o) { | 1525 checkDeleteOrderDealsRequest(api.DeleteOrderDealsRequest o) { |
| 1526 buildCounterDeleteOrderDealsRequest++; | 1526 buildCounterDeleteOrderDealsRequest++; |
| 1527 if (buildCounterDeleteOrderDealsRequest < 3) { | 1527 if (buildCounterDeleteOrderDealsRequest < 3) { |
| 1528 checkUnnamed1849(o.dealIds); | 1528 checkUnnamed1943(o.dealIds); |
| 1529 unittest.expect(o.proposalRevisionNumber, unittest.equals('foo')); | 1529 unittest.expect(o.proposalRevisionNumber, unittest.equals('foo')); |
| 1530 unittest.expect(o.updateAction, unittest.equals('foo')); | 1530 unittest.expect(o.updateAction, unittest.equals('foo')); |
| 1531 } | 1531 } |
| 1532 buildCounterDeleteOrderDealsRequest--; | 1532 buildCounterDeleteOrderDealsRequest--; |
| 1533 } | 1533 } |
| 1534 | 1534 |
| 1535 buildUnnamed1850() { | 1535 buildUnnamed1944() { |
| 1536 var o = new core.List<api.MarketplaceDeal>(); | 1536 var o = new core.List<api.MarketplaceDeal>(); |
| 1537 o.add(buildMarketplaceDeal()); | 1537 o.add(buildMarketplaceDeal()); |
| 1538 o.add(buildMarketplaceDeal()); | 1538 o.add(buildMarketplaceDeal()); |
| 1539 return o; | 1539 return o; |
| 1540 } | 1540 } |
| 1541 | 1541 |
| 1542 checkUnnamed1850(core.List<api.MarketplaceDeal> o) { | 1542 checkUnnamed1944(core.List<api.MarketplaceDeal> o) { |
| 1543 unittest.expect(o, unittest.hasLength(2)); | 1543 unittest.expect(o, unittest.hasLength(2)); |
| 1544 checkMarketplaceDeal(o[0]); | 1544 checkMarketplaceDeal(o[0]); |
| 1545 checkMarketplaceDeal(o[1]); | 1545 checkMarketplaceDeal(o[1]); |
| 1546 } | 1546 } |
| 1547 | 1547 |
| 1548 core.int buildCounterDeleteOrderDealsResponse = 0; | 1548 core.int buildCounterDeleteOrderDealsResponse = 0; |
| 1549 buildDeleteOrderDealsResponse() { | 1549 buildDeleteOrderDealsResponse() { |
| 1550 var o = new api.DeleteOrderDealsResponse(); | 1550 var o = new api.DeleteOrderDealsResponse(); |
| 1551 buildCounterDeleteOrderDealsResponse++; | 1551 buildCounterDeleteOrderDealsResponse++; |
| 1552 if (buildCounterDeleteOrderDealsResponse < 3) { | 1552 if (buildCounterDeleteOrderDealsResponse < 3) { |
| 1553 o.deals = buildUnnamed1850(); | 1553 o.deals = buildUnnamed1944(); |
| 1554 o.proposalRevisionNumber = "foo"; | 1554 o.proposalRevisionNumber = "foo"; |
| 1555 } | 1555 } |
| 1556 buildCounterDeleteOrderDealsResponse--; | 1556 buildCounterDeleteOrderDealsResponse--; |
| 1557 return o; | 1557 return o; |
| 1558 } | 1558 } |
| 1559 | 1559 |
| 1560 checkDeleteOrderDealsResponse(api.DeleteOrderDealsResponse o) { | 1560 checkDeleteOrderDealsResponse(api.DeleteOrderDealsResponse o) { |
| 1561 buildCounterDeleteOrderDealsResponse++; | 1561 buildCounterDeleteOrderDealsResponse++; |
| 1562 if (buildCounterDeleteOrderDealsResponse < 3) { | 1562 if (buildCounterDeleteOrderDealsResponse < 3) { |
| 1563 checkUnnamed1850(o.deals); | 1563 checkUnnamed1944(o.deals); |
| 1564 unittest.expect(o.proposalRevisionNumber, unittest.equals('foo')); | 1564 unittest.expect(o.proposalRevisionNumber, unittest.equals('foo')); |
| 1565 } | 1565 } |
| 1566 buildCounterDeleteOrderDealsResponse--; | 1566 buildCounterDeleteOrderDealsResponse--; |
| 1567 } | 1567 } |
| 1568 | 1568 |
| 1569 buildUnnamed1851() { | 1569 buildUnnamed1945() { |
| 1570 var o = new core.List<api.DeliveryControlFrequencyCap>(); | 1570 var o = new core.List<api.DeliveryControlFrequencyCap>(); |
| 1571 o.add(buildDeliveryControlFrequencyCap()); | 1571 o.add(buildDeliveryControlFrequencyCap()); |
| 1572 o.add(buildDeliveryControlFrequencyCap()); | 1572 o.add(buildDeliveryControlFrequencyCap()); |
| 1573 return o; | 1573 return o; |
| 1574 } | 1574 } |
| 1575 | 1575 |
| 1576 checkUnnamed1851(core.List<api.DeliveryControlFrequencyCap> o) { | 1576 checkUnnamed1945(core.List<api.DeliveryControlFrequencyCap> o) { |
| 1577 unittest.expect(o, unittest.hasLength(2)); | 1577 unittest.expect(o, unittest.hasLength(2)); |
| 1578 checkDeliveryControlFrequencyCap(o[0]); | 1578 checkDeliveryControlFrequencyCap(o[0]); |
| 1579 checkDeliveryControlFrequencyCap(o[1]); | 1579 checkDeliveryControlFrequencyCap(o[1]); |
| 1580 } | 1580 } |
| 1581 | 1581 |
| 1582 core.int buildCounterDeliveryControl = 0; | 1582 core.int buildCounterDeliveryControl = 0; |
| 1583 buildDeliveryControl() { | 1583 buildDeliveryControl() { |
| 1584 var o = new api.DeliveryControl(); | 1584 var o = new api.DeliveryControl(); |
| 1585 buildCounterDeliveryControl++; | 1585 buildCounterDeliveryControl++; |
| 1586 if (buildCounterDeliveryControl < 3) { | 1586 if (buildCounterDeliveryControl < 3) { |
| 1587 o.creativeBlockingLevel = "foo"; | 1587 o.creativeBlockingLevel = "foo"; |
| 1588 o.deliveryRateType = "foo"; | 1588 o.deliveryRateType = "foo"; |
| 1589 o.frequencyCaps = buildUnnamed1851(); | 1589 o.frequencyCaps = buildUnnamed1945(); |
| 1590 } | 1590 } |
| 1591 buildCounterDeliveryControl--; | 1591 buildCounterDeliveryControl--; |
| 1592 return o; | 1592 return o; |
| 1593 } | 1593 } |
| 1594 | 1594 |
| 1595 checkDeliveryControl(api.DeliveryControl o) { | 1595 checkDeliveryControl(api.DeliveryControl o) { |
| 1596 buildCounterDeliveryControl++; | 1596 buildCounterDeliveryControl++; |
| 1597 if (buildCounterDeliveryControl < 3) { | 1597 if (buildCounterDeliveryControl < 3) { |
| 1598 unittest.expect(o.creativeBlockingLevel, unittest.equals('foo')); | 1598 unittest.expect(o.creativeBlockingLevel, unittest.equals('foo')); |
| 1599 unittest.expect(o.deliveryRateType, unittest.equals('foo')); | 1599 unittest.expect(o.deliveryRateType, unittest.equals('foo')); |
| 1600 checkUnnamed1851(o.frequencyCaps); | 1600 checkUnnamed1945(o.frequencyCaps); |
| 1601 } | 1601 } |
| 1602 buildCounterDeliveryControl--; | 1602 buildCounterDeliveryControl--; |
| 1603 } | 1603 } |
| 1604 | 1604 |
| 1605 core.int buildCounterDeliveryControlFrequencyCap = 0; | 1605 core.int buildCounterDeliveryControlFrequencyCap = 0; |
| 1606 buildDeliveryControlFrequencyCap() { | 1606 buildDeliveryControlFrequencyCap() { |
| 1607 var o = new api.DeliveryControlFrequencyCap(); | 1607 var o = new api.DeliveryControlFrequencyCap(); |
| 1608 buildCounterDeliveryControlFrequencyCap++; | 1608 buildCounterDeliveryControlFrequencyCap++; |
| 1609 if (buildCounterDeliveryControlFrequencyCap < 3) { | 1609 if (buildCounterDeliveryControlFrequencyCap < 3) { |
| 1610 o.maxImpressions = 42; | 1610 o.maxImpressions = 42; |
| 1611 o.numTimeUnits = 42; | 1611 o.numTimeUnits = 42; |
| 1612 o.timeUnitType = "foo"; | 1612 o.timeUnitType = "foo"; |
| 1613 } | 1613 } |
| 1614 buildCounterDeliveryControlFrequencyCap--; | 1614 buildCounterDeliveryControlFrequencyCap--; |
| 1615 return o; | 1615 return o; |
| 1616 } | 1616 } |
| 1617 | 1617 |
| 1618 checkDeliveryControlFrequencyCap(api.DeliveryControlFrequencyCap o) { | 1618 checkDeliveryControlFrequencyCap(api.DeliveryControlFrequencyCap o) { |
| 1619 buildCounterDeliveryControlFrequencyCap++; | 1619 buildCounterDeliveryControlFrequencyCap++; |
| 1620 if (buildCounterDeliveryControlFrequencyCap < 3) { | 1620 if (buildCounterDeliveryControlFrequencyCap < 3) { |
| 1621 unittest.expect(o.maxImpressions, unittest.equals(42)); | 1621 unittest.expect(o.maxImpressions, unittest.equals(42)); |
| 1622 unittest.expect(o.numTimeUnits, unittest.equals(42)); | 1622 unittest.expect(o.numTimeUnits, unittest.equals(42)); |
| 1623 unittest.expect(o.timeUnitType, unittest.equals('foo')); | 1623 unittest.expect(o.timeUnitType, unittest.equals('foo')); |
| 1624 } | 1624 } |
| 1625 buildCounterDeliveryControlFrequencyCap--; | 1625 buildCounterDeliveryControlFrequencyCap--; |
| 1626 } | 1626 } |
| 1627 | 1627 |
| 1628 buildUnnamed1852() { | 1628 buildUnnamed1946() { |
| 1629 var o = new core.List<api.DimensionDimensionValue>(); | 1629 var o = new core.List<api.DimensionDimensionValue>(); |
| 1630 o.add(buildDimensionDimensionValue()); | 1630 o.add(buildDimensionDimensionValue()); |
| 1631 o.add(buildDimensionDimensionValue()); | 1631 o.add(buildDimensionDimensionValue()); |
| 1632 return o; | 1632 return o; |
| 1633 } | 1633 } |
| 1634 | 1634 |
| 1635 checkUnnamed1852(core.List<api.DimensionDimensionValue> o) { | 1635 checkUnnamed1946(core.List<api.DimensionDimensionValue> o) { |
| 1636 unittest.expect(o, unittest.hasLength(2)); | 1636 unittest.expect(o, unittest.hasLength(2)); |
| 1637 checkDimensionDimensionValue(o[0]); | 1637 checkDimensionDimensionValue(o[0]); |
| 1638 checkDimensionDimensionValue(o[1]); | 1638 checkDimensionDimensionValue(o[1]); |
| 1639 } | 1639 } |
| 1640 | 1640 |
| 1641 core.int buildCounterDimension = 0; | 1641 core.int buildCounterDimension = 0; |
| 1642 buildDimension() { | 1642 buildDimension() { |
| 1643 var o = new api.Dimension(); | 1643 var o = new api.Dimension(); |
| 1644 buildCounterDimension++; | 1644 buildCounterDimension++; |
| 1645 if (buildCounterDimension < 3) { | 1645 if (buildCounterDimension < 3) { |
| 1646 o.dimensionType = "foo"; | 1646 o.dimensionType = "foo"; |
| 1647 o.dimensionValues = buildUnnamed1852(); | 1647 o.dimensionValues = buildUnnamed1946(); |
| 1648 } | 1648 } |
| 1649 buildCounterDimension--; | 1649 buildCounterDimension--; |
| 1650 return o; | 1650 return o; |
| 1651 } | 1651 } |
| 1652 | 1652 |
| 1653 checkDimension(api.Dimension o) { | 1653 checkDimension(api.Dimension o) { |
| 1654 buildCounterDimension++; | 1654 buildCounterDimension++; |
| 1655 if (buildCounterDimension < 3) { | 1655 if (buildCounterDimension < 3) { |
| 1656 unittest.expect(o.dimensionType, unittest.equals('foo')); | 1656 unittest.expect(o.dimensionType, unittest.equals('foo')); |
| 1657 checkUnnamed1852(o.dimensionValues); | 1657 checkUnnamed1946(o.dimensionValues); |
| 1658 } | 1658 } |
| 1659 buildCounterDimension--; | 1659 buildCounterDimension--; |
| 1660 } | 1660 } |
| 1661 | 1661 |
| 1662 core.int buildCounterDimensionDimensionValue = 0; | 1662 core.int buildCounterDimensionDimensionValue = 0; |
| 1663 buildDimensionDimensionValue() { | 1663 buildDimensionDimensionValue() { |
| 1664 var o = new api.DimensionDimensionValue(); | 1664 var o = new api.DimensionDimensionValue(); |
| 1665 buildCounterDimensionDimensionValue++; | 1665 buildCounterDimensionDimensionValue++; |
| 1666 if (buildCounterDimensionDimensionValue < 3) { | 1666 if (buildCounterDimensionDimensionValue < 3) { |
| 1667 o.id = 42; | 1667 o.id = 42; |
| 1668 o.name = "foo"; | 1668 o.name = "foo"; |
| 1669 o.percentage = 42; | 1669 o.percentage = 42; |
| 1670 } | 1670 } |
| 1671 buildCounterDimensionDimensionValue--; | 1671 buildCounterDimensionDimensionValue--; |
| 1672 return o; | 1672 return o; |
| 1673 } | 1673 } |
| 1674 | 1674 |
| 1675 checkDimensionDimensionValue(api.DimensionDimensionValue o) { | 1675 checkDimensionDimensionValue(api.DimensionDimensionValue o) { |
| 1676 buildCounterDimensionDimensionValue++; | 1676 buildCounterDimensionDimensionValue++; |
| 1677 if (buildCounterDimensionDimensionValue < 3) { | 1677 if (buildCounterDimensionDimensionValue < 3) { |
| 1678 unittest.expect(o.id, unittest.equals(42)); | 1678 unittest.expect(o.id, unittest.equals(42)); |
| 1679 unittest.expect(o.name, unittest.equals('foo')); | 1679 unittest.expect(o.name, unittest.equals('foo')); |
| 1680 unittest.expect(o.percentage, unittest.equals(42)); | 1680 unittest.expect(o.percentage, unittest.equals(42)); |
| 1681 } | 1681 } |
| 1682 buildCounterDimensionDimensionValue--; | 1682 buildCounterDimensionDimensionValue--; |
| 1683 } | 1683 } |
| 1684 | 1684 |
| 1685 buildUnnamed1853() { | 1685 buildUnnamed1947() { |
| 1686 var o = new core.List<api.MarketplaceDeal>(); | 1686 var o = new core.List<api.MarketplaceDeal>(); |
| 1687 o.add(buildMarketplaceDeal()); | 1687 o.add(buildMarketplaceDeal()); |
| 1688 o.add(buildMarketplaceDeal()); | 1688 o.add(buildMarketplaceDeal()); |
| 1689 return o; | 1689 return o; |
| 1690 } | 1690 } |
| 1691 | 1691 |
| 1692 checkUnnamed1853(core.List<api.MarketplaceDeal> o) { | 1692 checkUnnamed1947(core.List<api.MarketplaceDeal> o) { |
| 1693 unittest.expect(o, unittest.hasLength(2)); | 1693 unittest.expect(o, unittest.hasLength(2)); |
| 1694 checkMarketplaceDeal(o[0]); | 1694 checkMarketplaceDeal(o[0]); |
| 1695 checkMarketplaceDeal(o[1]); | 1695 checkMarketplaceDeal(o[1]); |
| 1696 } | 1696 } |
| 1697 | 1697 |
| 1698 core.int buildCounterEditAllOrderDealsRequest = 0; | 1698 core.int buildCounterEditAllOrderDealsRequest = 0; |
| 1699 buildEditAllOrderDealsRequest() { | 1699 buildEditAllOrderDealsRequest() { |
| 1700 var o = new api.EditAllOrderDealsRequest(); | 1700 var o = new api.EditAllOrderDealsRequest(); |
| 1701 buildCounterEditAllOrderDealsRequest++; | 1701 buildCounterEditAllOrderDealsRequest++; |
| 1702 if (buildCounterEditAllOrderDealsRequest < 3) { | 1702 if (buildCounterEditAllOrderDealsRequest < 3) { |
| 1703 o.deals = buildUnnamed1853(); | 1703 o.deals = buildUnnamed1947(); |
| 1704 o.proposal = buildProposal(); | 1704 o.proposal = buildProposal(); |
| 1705 o.proposalRevisionNumber = "foo"; | 1705 o.proposalRevisionNumber = "foo"; |
| 1706 o.updateAction = "foo"; | 1706 o.updateAction = "foo"; |
| 1707 } | 1707 } |
| 1708 buildCounterEditAllOrderDealsRequest--; | 1708 buildCounterEditAllOrderDealsRequest--; |
| 1709 return o; | 1709 return o; |
| 1710 } | 1710 } |
| 1711 | 1711 |
| 1712 checkEditAllOrderDealsRequest(api.EditAllOrderDealsRequest o) { | 1712 checkEditAllOrderDealsRequest(api.EditAllOrderDealsRequest o) { |
| 1713 buildCounterEditAllOrderDealsRequest++; | 1713 buildCounterEditAllOrderDealsRequest++; |
| 1714 if (buildCounterEditAllOrderDealsRequest < 3) { | 1714 if (buildCounterEditAllOrderDealsRequest < 3) { |
| 1715 checkUnnamed1853(o.deals); | 1715 checkUnnamed1947(o.deals); |
| 1716 checkProposal(o.proposal); | 1716 checkProposal(o.proposal); |
| 1717 unittest.expect(o.proposalRevisionNumber, unittest.equals('foo')); | 1717 unittest.expect(o.proposalRevisionNumber, unittest.equals('foo')); |
| 1718 unittest.expect(o.updateAction, unittest.equals('foo')); | 1718 unittest.expect(o.updateAction, unittest.equals('foo')); |
| 1719 } | 1719 } |
| 1720 buildCounterEditAllOrderDealsRequest--; | 1720 buildCounterEditAllOrderDealsRequest--; |
| 1721 } | 1721 } |
| 1722 | 1722 |
| 1723 buildUnnamed1854() { | 1723 buildUnnamed1948() { |
| 1724 var o = new core.List<api.MarketplaceDeal>(); | 1724 var o = new core.List<api.MarketplaceDeal>(); |
| 1725 o.add(buildMarketplaceDeal()); | 1725 o.add(buildMarketplaceDeal()); |
| 1726 o.add(buildMarketplaceDeal()); | 1726 o.add(buildMarketplaceDeal()); |
| 1727 return o; | 1727 return o; |
| 1728 } | 1728 } |
| 1729 | 1729 |
| 1730 checkUnnamed1854(core.List<api.MarketplaceDeal> o) { | 1730 checkUnnamed1948(core.List<api.MarketplaceDeal> o) { |
| 1731 unittest.expect(o, unittest.hasLength(2)); | 1731 unittest.expect(o, unittest.hasLength(2)); |
| 1732 checkMarketplaceDeal(o[0]); | 1732 checkMarketplaceDeal(o[0]); |
| 1733 checkMarketplaceDeal(o[1]); | 1733 checkMarketplaceDeal(o[1]); |
| 1734 } | 1734 } |
| 1735 | 1735 |
| 1736 core.int buildCounterEditAllOrderDealsResponse = 0; | 1736 core.int buildCounterEditAllOrderDealsResponse = 0; |
| 1737 buildEditAllOrderDealsResponse() { | 1737 buildEditAllOrderDealsResponse() { |
| 1738 var o = new api.EditAllOrderDealsResponse(); | 1738 var o = new api.EditAllOrderDealsResponse(); |
| 1739 buildCounterEditAllOrderDealsResponse++; | 1739 buildCounterEditAllOrderDealsResponse++; |
| 1740 if (buildCounterEditAllOrderDealsResponse < 3) { | 1740 if (buildCounterEditAllOrderDealsResponse < 3) { |
| 1741 o.deals = buildUnnamed1854(); | 1741 o.deals = buildUnnamed1948(); |
| 1742 o.orderRevisionNumber = "foo"; | 1742 o.orderRevisionNumber = "foo"; |
| 1743 } | 1743 } |
| 1744 buildCounterEditAllOrderDealsResponse--; | 1744 buildCounterEditAllOrderDealsResponse--; |
| 1745 return o; | 1745 return o; |
| 1746 } | 1746 } |
| 1747 | 1747 |
| 1748 checkEditAllOrderDealsResponse(api.EditAllOrderDealsResponse o) { | 1748 checkEditAllOrderDealsResponse(api.EditAllOrderDealsResponse o) { |
| 1749 buildCounterEditAllOrderDealsResponse++; | 1749 buildCounterEditAllOrderDealsResponse++; |
| 1750 if (buildCounterEditAllOrderDealsResponse < 3) { | 1750 if (buildCounterEditAllOrderDealsResponse < 3) { |
| 1751 checkUnnamed1854(o.deals); | 1751 checkUnnamed1948(o.deals); |
| 1752 unittest.expect(o.orderRevisionNumber, unittest.equals('foo')); | 1752 unittest.expect(o.orderRevisionNumber, unittest.equals('foo')); |
| 1753 } | 1753 } |
| 1754 buildCounterEditAllOrderDealsResponse--; | 1754 buildCounterEditAllOrderDealsResponse--; |
| 1755 } | 1755 } |
| 1756 | 1756 |
| 1757 buildUnnamed1855() { | 1757 buildUnnamed1949() { |
| 1758 var o = new core.List<api.Product>(); | 1758 var o = new core.List<api.Product>(); |
| 1759 o.add(buildProduct()); | 1759 o.add(buildProduct()); |
| 1760 o.add(buildProduct()); | 1760 o.add(buildProduct()); |
| 1761 return o; | 1761 return o; |
| 1762 } | 1762 } |
| 1763 | 1763 |
| 1764 checkUnnamed1855(core.List<api.Product> o) { | 1764 checkUnnamed1949(core.List<api.Product> o) { |
| 1765 unittest.expect(o, unittest.hasLength(2)); | 1765 unittest.expect(o, unittest.hasLength(2)); |
| 1766 checkProduct(o[0]); | 1766 checkProduct(o[0]); |
| 1767 checkProduct(o[1]); | 1767 checkProduct(o[1]); |
| 1768 } | 1768 } |
| 1769 | 1769 |
| 1770 core.int buildCounterGetOffersResponse = 0; | 1770 core.int buildCounterGetOffersResponse = 0; |
| 1771 buildGetOffersResponse() { | 1771 buildGetOffersResponse() { |
| 1772 var o = new api.GetOffersResponse(); | 1772 var o = new api.GetOffersResponse(); |
| 1773 buildCounterGetOffersResponse++; | 1773 buildCounterGetOffersResponse++; |
| 1774 if (buildCounterGetOffersResponse < 3) { | 1774 if (buildCounterGetOffersResponse < 3) { |
| 1775 o.products = buildUnnamed1855(); | 1775 o.products = buildUnnamed1949(); |
| 1776 } | 1776 } |
| 1777 buildCounterGetOffersResponse--; | 1777 buildCounterGetOffersResponse--; |
| 1778 return o; | 1778 return o; |
| 1779 } | 1779 } |
| 1780 | 1780 |
| 1781 checkGetOffersResponse(api.GetOffersResponse o) { | 1781 checkGetOffersResponse(api.GetOffersResponse o) { |
| 1782 buildCounterGetOffersResponse++; | 1782 buildCounterGetOffersResponse++; |
| 1783 if (buildCounterGetOffersResponse < 3) { | 1783 if (buildCounterGetOffersResponse < 3) { |
| 1784 checkUnnamed1855(o.products); | 1784 checkUnnamed1949(o.products); |
| 1785 } | 1785 } |
| 1786 buildCounterGetOffersResponse--; | 1786 buildCounterGetOffersResponse--; |
| 1787 } | 1787 } |
| 1788 | 1788 |
| 1789 buildUnnamed1856() { | 1789 buildUnnamed1950() { |
| 1790 var o = new core.List<api.MarketplaceDeal>(); | 1790 var o = new core.List<api.MarketplaceDeal>(); |
| 1791 o.add(buildMarketplaceDeal()); | 1791 o.add(buildMarketplaceDeal()); |
| 1792 o.add(buildMarketplaceDeal()); | 1792 o.add(buildMarketplaceDeal()); |
| 1793 return o; | 1793 return o; |
| 1794 } | 1794 } |
| 1795 | 1795 |
| 1796 checkUnnamed1856(core.List<api.MarketplaceDeal> o) { | 1796 checkUnnamed1950(core.List<api.MarketplaceDeal> o) { |
| 1797 unittest.expect(o, unittest.hasLength(2)); | 1797 unittest.expect(o, unittest.hasLength(2)); |
| 1798 checkMarketplaceDeal(o[0]); | 1798 checkMarketplaceDeal(o[0]); |
| 1799 checkMarketplaceDeal(o[1]); | 1799 checkMarketplaceDeal(o[1]); |
| 1800 } | 1800 } |
| 1801 | 1801 |
| 1802 core.int buildCounterGetOrderDealsResponse = 0; | 1802 core.int buildCounterGetOrderDealsResponse = 0; |
| 1803 buildGetOrderDealsResponse() { | 1803 buildGetOrderDealsResponse() { |
| 1804 var o = new api.GetOrderDealsResponse(); | 1804 var o = new api.GetOrderDealsResponse(); |
| 1805 buildCounterGetOrderDealsResponse++; | 1805 buildCounterGetOrderDealsResponse++; |
| 1806 if (buildCounterGetOrderDealsResponse < 3) { | 1806 if (buildCounterGetOrderDealsResponse < 3) { |
| 1807 o.deals = buildUnnamed1856(); | 1807 o.deals = buildUnnamed1950(); |
| 1808 } | 1808 } |
| 1809 buildCounterGetOrderDealsResponse--; | 1809 buildCounterGetOrderDealsResponse--; |
| 1810 return o; | 1810 return o; |
| 1811 } | 1811 } |
| 1812 | 1812 |
| 1813 checkGetOrderDealsResponse(api.GetOrderDealsResponse o) { | 1813 checkGetOrderDealsResponse(api.GetOrderDealsResponse o) { |
| 1814 buildCounterGetOrderDealsResponse++; | 1814 buildCounterGetOrderDealsResponse++; |
| 1815 if (buildCounterGetOrderDealsResponse < 3) { | 1815 if (buildCounterGetOrderDealsResponse < 3) { |
| 1816 checkUnnamed1856(o.deals); | 1816 checkUnnamed1950(o.deals); |
| 1817 } | 1817 } |
| 1818 buildCounterGetOrderDealsResponse--; | 1818 buildCounterGetOrderDealsResponse--; |
| 1819 } | 1819 } |
| 1820 | 1820 |
| 1821 buildUnnamed1857() { | 1821 buildUnnamed1951() { |
| 1822 var o = new core.List<api.MarketplaceNote>(); | 1822 var o = new core.List<api.MarketplaceNote>(); |
| 1823 o.add(buildMarketplaceNote()); | 1823 o.add(buildMarketplaceNote()); |
| 1824 o.add(buildMarketplaceNote()); | 1824 o.add(buildMarketplaceNote()); |
| 1825 return o; | 1825 return o; |
| 1826 } | 1826 } |
| 1827 | 1827 |
| 1828 checkUnnamed1857(core.List<api.MarketplaceNote> o) { | 1828 checkUnnamed1951(core.List<api.MarketplaceNote> o) { |
| 1829 unittest.expect(o, unittest.hasLength(2)); | 1829 unittest.expect(o, unittest.hasLength(2)); |
| 1830 checkMarketplaceNote(o[0]); | 1830 checkMarketplaceNote(o[0]); |
| 1831 checkMarketplaceNote(o[1]); | 1831 checkMarketplaceNote(o[1]); |
| 1832 } | 1832 } |
| 1833 | 1833 |
| 1834 core.int buildCounterGetOrderNotesResponse = 0; | 1834 core.int buildCounterGetOrderNotesResponse = 0; |
| 1835 buildGetOrderNotesResponse() { | 1835 buildGetOrderNotesResponse() { |
| 1836 var o = new api.GetOrderNotesResponse(); | 1836 var o = new api.GetOrderNotesResponse(); |
| 1837 buildCounterGetOrderNotesResponse++; | 1837 buildCounterGetOrderNotesResponse++; |
| 1838 if (buildCounterGetOrderNotesResponse < 3) { | 1838 if (buildCounterGetOrderNotesResponse < 3) { |
| 1839 o.notes = buildUnnamed1857(); | 1839 o.notes = buildUnnamed1951(); |
| 1840 } | 1840 } |
| 1841 buildCounterGetOrderNotesResponse--; | 1841 buildCounterGetOrderNotesResponse--; |
| 1842 return o; | 1842 return o; |
| 1843 } | 1843 } |
| 1844 | 1844 |
| 1845 checkGetOrderNotesResponse(api.GetOrderNotesResponse o) { | 1845 checkGetOrderNotesResponse(api.GetOrderNotesResponse o) { |
| 1846 buildCounterGetOrderNotesResponse++; | 1846 buildCounterGetOrderNotesResponse++; |
| 1847 if (buildCounterGetOrderNotesResponse < 3) { | 1847 if (buildCounterGetOrderNotesResponse < 3) { |
| 1848 checkUnnamed1857(o.notes); | 1848 checkUnnamed1951(o.notes); |
| 1849 } | 1849 } |
| 1850 buildCounterGetOrderNotesResponse--; | 1850 buildCounterGetOrderNotesResponse--; |
| 1851 } | 1851 } |
| 1852 | 1852 |
| 1853 buildUnnamed1858() { | 1853 buildUnnamed1952() { |
| 1854 var o = new core.List<api.Proposal>(); | 1854 var o = new core.List<api.Proposal>(); |
| 1855 o.add(buildProposal()); | 1855 o.add(buildProposal()); |
| 1856 o.add(buildProposal()); | 1856 o.add(buildProposal()); |
| 1857 return o; | 1857 return o; |
| 1858 } | 1858 } |
| 1859 | 1859 |
| 1860 checkUnnamed1858(core.List<api.Proposal> o) { | 1860 checkUnnamed1952(core.List<api.Proposal> o) { |
| 1861 unittest.expect(o, unittest.hasLength(2)); | 1861 unittest.expect(o, unittest.hasLength(2)); |
| 1862 checkProposal(o[0]); | 1862 checkProposal(o[0]); |
| 1863 checkProposal(o[1]); | 1863 checkProposal(o[1]); |
| 1864 } | 1864 } |
| 1865 | 1865 |
| 1866 core.int buildCounterGetOrdersResponse = 0; | 1866 core.int buildCounterGetOrdersResponse = 0; |
| 1867 buildGetOrdersResponse() { | 1867 buildGetOrdersResponse() { |
| 1868 var o = new api.GetOrdersResponse(); | 1868 var o = new api.GetOrdersResponse(); |
| 1869 buildCounterGetOrdersResponse++; | 1869 buildCounterGetOrdersResponse++; |
| 1870 if (buildCounterGetOrdersResponse < 3) { | 1870 if (buildCounterGetOrdersResponse < 3) { |
| 1871 o.proposals = buildUnnamed1858(); | 1871 o.proposals = buildUnnamed1952(); |
| 1872 } | 1872 } |
| 1873 buildCounterGetOrdersResponse--; | 1873 buildCounterGetOrdersResponse--; |
| 1874 return o; | 1874 return o; |
| 1875 } | 1875 } |
| 1876 | 1876 |
| 1877 checkGetOrdersResponse(api.GetOrdersResponse o) { | 1877 checkGetOrdersResponse(api.GetOrdersResponse o) { |
| 1878 buildCounterGetOrdersResponse++; | 1878 buildCounterGetOrdersResponse++; |
| 1879 if (buildCounterGetOrdersResponse < 3) { | 1879 if (buildCounterGetOrdersResponse < 3) { |
| 1880 checkUnnamed1858(o.proposals); | 1880 checkUnnamed1952(o.proposals); |
| 1881 } | 1881 } |
| 1882 buildCounterGetOrdersResponse--; | 1882 buildCounterGetOrdersResponse--; |
| 1883 } | 1883 } |
| 1884 | 1884 |
| 1885 buildUnnamed1859() { | 1885 buildUnnamed1953() { |
| 1886 var o = new core.List<api.PublisherProfileApiProto>(); | 1886 var o = new core.List<api.PublisherProfileApiProto>(); |
| 1887 o.add(buildPublisherProfileApiProto()); | 1887 o.add(buildPublisherProfileApiProto()); |
| 1888 o.add(buildPublisherProfileApiProto()); | 1888 o.add(buildPublisherProfileApiProto()); |
| 1889 return o; | 1889 return o; |
| 1890 } | 1890 } |
| 1891 | 1891 |
| 1892 checkUnnamed1859(core.List<api.PublisherProfileApiProto> o) { | 1892 checkUnnamed1953(core.List<api.PublisherProfileApiProto> o) { |
| 1893 unittest.expect(o, unittest.hasLength(2)); | 1893 unittest.expect(o, unittest.hasLength(2)); |
| 1894 checkPublisherProfileApiProto(o[0]); | 1894 checkPublisherProfileApiProto(o[0]); |
| 1895 checkPublisherProfileApiProto(o[1]); | 1895 checkPublisherProfileApiProto(o[1]); |
| 1896 } | 1896 } |
| 1897 | 1897 |
| 1898 core.int buildCounterGetPublisherProfilesByAccountIdResponse = 0; | 1898 core.int buildCounterGetPublisherProfilesByAccountIdResponse = 0; |
| 1899 buildGetPublisherProfilesByAccountIdResponse() { | 1899 buildGetPublisherProfilesByAccountIdResponse() { |
| 1900 var o = new api.GetPublisherProfilesByAccountIdResponse(); | 1900 var o = new api.GetPublisherProfilesByAccountIdResponse(); |
| 1901 buildCounterGetPublisherProfilesByAccountIdResponse++; | 1901 buildCounterGetPublisherProfilesByAccountIdResponse++; |
| 1902 if (buildCounterGetPublisherProfilesByAccountIdResponse < 3) { | 1902 if (buildCounterGetPublisherProfilesByAccountIdResponse < 3) { |
| 1903 o.profiles = buildUnnamed1859(); | 1903 o.profiles = buildUnnamed1953(); |
| 1904 } | 1904 } |
| 1905 buildCounterGetPublisherProfilesByAccountIdResponse--; | 1905 buildCounterGetPublisherProfilesByAccountIdResponse--; |
| 1906 return o; | 1906 return o; |
| 1907 } | 1907 } |
| 1908 | 1908 |
| 1909 checkGetPublisherProfilesByAccountIdResponse(api.GetPublisherProfilesByAccountId
Response o) { | 1909 checkGetPublisherProfilesByAccountIdResponse(api.GetPublisherProfilesByAccountId
Response o) { |
| 1910 buildCounterGetPublisherProfilesByAccountIdResponse++; | 1910 buildCounterGetPublisherProfilesByAccountIdResponse++; |
| 1911 if (buildCounterGetPublisherProfilesByAccountIdResponse < 3) { | 1911 if (buildCounterGetPublisherProfilesByAccountIdResponse < 3) { |
| 1912 checkUnnamed1859(o.profiles); | 1912 checkUnnamed1953(o.profiles); |
| 1913 } | 1913 } |
| 1914 buildCounterGetPublisherProfilesByAccountIdResponse--; | 1914 buildCounterGetPublisherProfilesByAccountIdResponse--; |
| 1915 } | 1915 } |
| 1916 | 1916 |
| 1917 buildUnnamed1860() { | 1917 buildUnnamed1954() { |
| 1918 var o = new core.List<api.ContactInformation>(); | 1918 var o = new core.List<api.ContactInformation>(); |
| 1919 o.add(buildContactInformation()); | 1919 o.add(buildContactInformation()); |
| 1920 o.add(buildContactInformation()); | 1920 o.add(buildContactInformation()); |
| 1921 return o; | 1921 return o; |
| 1922 } | 1922 } |
| 1923 | 1923 |
| 1924 checkUnnamed1860(core.List<api.ContactInformation> o) { | 1924 checkUnnamed1954(core.List<api.ContactInformation> o) { |
| 1925 unittest.expect(o, unittest.hasLength(2)); | 1925 unittest.expect(o, unittest.hasLength(2)); |
| 1926 checkContactInformation(o[0]); | 1926 checkContactInformation(o[0]); |
| 1927 checkContactInformation(o[1]); | 1927 checkContactInformation(o[1]); |
| 1928 } | 1928 } |
| 1929 | 1929 |
| 1930 buildUnnamed1861() { | 1930 buildUnnamed1955() { |
| 1931 var o = new core.List<api.SharedTargeting>(); | 1931 var o = new core.List<api.SharedTargeting>(); |
| 1932 o.add(buildSharedTargeting()); | 1932 o.add(buildSharedTargeting()); |
| 1933 o.add(buildSharedTargeting()); | 1933 o.add(buildSharedTargeting()); |
| 1934 return o; | 1934 return o; |
| 1935 } | 1935 } |
| 1936 | 1936 |
| 1937 checkUnnamed1861(core.List<api.SharedTargeting> o) { | 1937 checkUnnamed1955(core.List<api.SharedTargeting> o) { |
| 1938 unittest.expect(o, unittest.hasLength(2)); | 1938 unittest.expect(o, unittest.hasLength(2)); |
| 1939 checkSharedTargeting(o[0]); | 1939 checkSharedTargeting(o[0]); |
| 1940 checkSharedTargeting(o[1]); | 1940 checkSharedTargeting(o[1]); |
| 1941 } | 1941 } |
| 1942 | 1942 |
| 1943 core.int buildCounterMarketplaceDeal = 0; | 1943 core.int buildCounterMarketplaceDeal = 0; |
| 1944 buildMarketplaceDeal() { | 1944 buildMarketplaceDeal() { |
| 1945 var o = new api.MarketplaceDeal(); | 1945 var o = new api.MarketplaceDeal(); |
| 1946 buildCounterMarketplaceDeal++; | 1946 buildCounterMarketplaceDeal++; |
| 1947 if (buildCounterMarketplaceDeal < 3) { | 1947 if (buildCounterMarketplaceDeal < 3) { |
| 1948 o.buyerPrivateData = buildPrivateData(); | 1948 o.buyerPrivateData = buildPrivateData(); |
| 1949 o.creationTimeMs = "foo"; | 1949 o.creationTimeMs = "foo"; |
| 1950 o.creativePreApprovalPolicy = "foo"; | 1950 o.creativePreApprovalPolicy = "foo"; |
| 1951 o.creativeSafeFrameCompatibility = "foo"; | 1951 o.creativeSafeFrameCompatibility = "foo"; |
| 1952 o.dealId = "foo"; | 1952 o.dealId = "foo"; |
| 1953 o.dealServingMetadata = buildDealServingMetadata(); | 1953 o.dealServingMetadata = buildDealServingMetadata(); |
| 1954 o.deliveryControl = buildDeliveryControl(); | 1954 o.deliveryControl = buildDeliveryControl(); |
| 1955 o.externalDealId = "foo"; | 1955 o.externalDealId = "foo"; |
| 1956 o.flightEndTimeMs = "foo"; | 1956 o.flightEndTimeMs = "foo"; |
| 1957 o.flightStartTimeMs = "foo"; | 1957 o.flightStartTimeMs = "foo"; |
| 1958 o.inventoryDescription = "foo"; | 1958 o.inventoryDescription = "foo"; |
| 1959 o.isRfpTemplate = true; | 1959 o.isRfpTemplate = true; |
| 1960 o.kind = "foo"; | 1960 o.kind = "foo"; |
| 1961 o.lastUpdateTimeMs = "foo"; | 1961 o.lastUpdateTimeMs = "foo"; |
| 1962 o.name = "foo"; | 1962 o.name = "foo"; |
| 1963 o.productId = "foo"; | 1963 o.productId = "foo"; |
| 1964 o.productRevisionNumber = "foo"; | 1964 o.productRevisionNumber = "foo"; |
| 1965 o.programmaticCreativeSource = "foo"; | 1965 o.programmaticCreativeSource = "foo"; |
| 1966 o.proposalId = "foo"; | 1966 o.proposalId = "foo"; |
| 1967 o.sellerContacts = buildUnnamed1860(); | 1967 o.sellerContacts = buildUnnamed1954(); |
| 1968 o.sharedTargetings = buildUnnamed1861(); | 1968 o.sharedTargetings = buildUnnamed1955(); |
| 1969 o.syndicationProduct = "foo"; | 1969 o.syndicationProduct = "foo"; |
| 1970 o.terms = buildDealTerms(); | 1970 o.terms = buildDealTerms(); |
| 1971 o.webPropertyCode = "foo"; | 1971 o.webPropertyCode = "foo"; |
| 1972 } | 1972 } |
| 1973 buildCounterMarketplaceDeal--; | 1973 buildCounterMarketplaceDeal--; |
| 1974 return o; | 1974 return o; |
| 1975 } | 1975 } |
| 1976 | 1976 |
| 1977 checkMarketplaceDeal(api.MarketplaceDeal o) { | 1977 checkMarketplaceDeal(api.MarketplaceDeal o) { |
| 1978 buildCounterMarketplaceDeal++; | 1978 buildCounterMarketplaceDeal++; |
| (...skipping 10 matching lines...) Expand all Loading... |
| 1989 unittest.expect(o.flightStartTimeMs, unittest.equals('foo')); | 1989 unittest.expect(o.flightStartTimeMs, unittest.equals('foo')); |
| 1990 unittest.expect(o.inventoryDescription, unittest.equals('foo')); | 1990 unittest.expect(o.inventoryDescription, unittest.equals('foo')); |
| 1991 unittest.expect(o.isRfpTemplate, unittest.isTrue); | 1991 unittest.expect(o.isRfpTemplate, unittest.isTrue); |
| 1992 unittest.expect(o.kind, unittest.equals('foo')); | 1992 unittest.expect(o.kind, unittest.equals('foo')); |
| 1993 unittest.expect(o.lastUpdateTimeMs, unittest.equals('foo')); | 1993 unittest.expect(o.lastUpdateTimeMs, unittest.equals('foo')); |
| 1994 unittest.expect(o.name, unittest.equals('foo')); | 1994 unittest.expect(o.name, unittest.equals('foo')); |
| 1995 unittest.expect(o.productId, unittest.equals('foo')); | 1995 unittest.expect(o.productId, unittest.equals('foo')); |
| 1996 unittest.expect(o.productRevisionNumber, unittest.equals('foo')); | 1996 unittest.expect(o.productRevisionNumber, unittest.equals('foo')); |
| 1997 unittest.expect(o.programmaticCreativeSource, unittest.equals('foo')); | 1997 unittest.expect(o.programmaticCreativeSource, unittest.equals('foo')); |
| 1998 unittest.expect(o.proposalId, unittest.equals('foo')); | 1998 unittest.expect(o.proposalId, unittest.equals('foo')); |
| 1999 checkUnnamed1860(o.sellerContacts); | 1999 checkUnnamed1954(o.sellerContacts); |
| 2000 checkUnnamed1861(o.sharedTargetings); | 2000 checkUnnamed1955(o.sharedTargetings); |
| 2001 unittest.expect(o.syndicationProduct, unittest.equals('foo')); | 2001 unittest.expect(o.syndicationProduct, unittest.equals('foo')); |
| 2002 checkDealTerms(o.terms); | 2002 checkDealTerms(o.terms); |
| 2003 unittest.expect(o.webPropertyCode, unittest.equals('foo')); | 2003 unittest.expect(o.webPropertyCode, unittest.equals('foo')); |
| 2004 } | 2004 } |
| 2005 buildCounterMarketplaceDeal--; | 2005 buildCounterMarketplaceDeal--; |
| 2006 } | 2006 } |
| 2007 | 2007 |
| 2008 core.int buildCounterMarketplaceDealParty = 0; | 2008 core.int buildCounterMarketplaceDealParty = 0; |
| 2009 buildMarketplaceDealParty() { | 2009 buildMarketplaceDealParty() { |
| 2010 var o = new api.MarketplaceDealParty(); | 2010 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')); | 2077 unittest.expect(o.kind, unittest.equals('foo')); |
| 2078 unittest.expect(o.note, unittest.equals('foo')); | 2078 unittest.expect(o.note, unittest.equals('foo')); |
| 2079 unittest.expect(o.noteId, unittest.equals('foo')); | 2079 unittest.expect(o.noteId, unittest.equals('foo')); |
| 2080 unittest.expect(o.proposalId, unittest.equals('foo')); | 2080 unittest.expect(o.proposalId, unittest.equals('foo')); |
| 2081 unittest.expect(o.proposalRevisionNumber, unittest.equals('foo')); | 2081 unittest.expect(o.proposalRevisionNumber, unittest.equals('foo')); |
| 2082 unittest.expect(o.timestampMs, unittest.equals('foo')); | 2082 unittest.expect(o.timestampMs, unittest.equals('foo')); |
| 2083 } | 2083 } |
| 2084 buildCounterMarketplaceNote--; | 2084 buildCounterMarketplaceNote--; |
| 2085 } | 2085 } |
| 2086 | 2086 |
| 2087 buildUnnamed1862() { | 2087 buildUnnamed1956() { |
| 2088 var o = new core.List<core.Object>(); | 2088 var o = new core.List<core.Object>(); |
| 2089 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); | 2089 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); |
| 2090 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); | 2090 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); |
| 2091 return o; | 2091 return o; |
| 2092 } | 2092 } |
| 2093 | 2093 |
| 2094 checkUnnamed1862(core.List<core.Object> o) { | 2094 checkUnnamed1956(core.List<core.Object> o) { |
| 2095 unittest.expect(o, unittest.hasLength(2)); | 2095 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')); | 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')); |
| 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')); | 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')); |
| 2098 } | 2098 } |
| 2099 | 2099 |
| 2100 buildUnnamed1863() { | 2100 buildUnnamed1957() { |
| 2101 var o = new core.List<core.Object>(); | 2101 var o = new core.List<core.Object>(); |
| 2102 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); | 2102 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); |
| 2103 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); | 2103 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); |
| 2104 return o; | 2104 return o; |
| 2105 } | 2105 } |
| 2106 | 2106 |
| 2107 checkUnnamed1863(core.List<core.Object> o) { | 2107 checkUnnamed1957(core.List<core.Object> o) { |
| 2108 unittest.expect(o, unittest.hasLength(2)); | 2108 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')); | 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')); |
| 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')); | 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')); |
| 2111 } | 2111 } |
| 2112 | 2112 |
| 2113 buildUnnamed1864() { | 2113 buildUnnamed1958() { |
| 2114 var o = new core.List<core.Object>(); | 2114 var o = new core.List<core.Object>(); |
| 2115 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); | 2115 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); |
| 2116 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); | 2116 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); |
| 2117 return o; | 2117 return o; |
| 2118 } | 2118 } |
| 2119 | 2119 |
| 2120 checkUnnamed1864(core.List<core.Object> o) { | 2120 checkUnnamed1958(core.List<core.Object> o) { |
| 2121 unittest.expect(o, unittest.hasLength(2)); | 2121 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')); | 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')); |
| 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')); | 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')); |
| 2124 } | 2124 } |
| 2125 | 2125 |
| 2126 buildUnnamed1865() { | 2126 buildUnnamed1959() { |
| 2127 var o = new core.List<core.Object>(); | 2127 var o = new core.List<core.Object>(); |
| 2128 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); | 2128 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); |
| 2129 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); | 2129 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); |
| 2130 return o; | 2130 return o; |
| 2131 } | 2131 } |
| 2132 | 2132 |
| 2133 checkUnnamed1865(core.List<core.Object> o) { | 2133 checkUnnamed1959(core.List<core.Object> o) { |
| 2134 unittest.expect(o, unittest.hasLength(2)); | 2134 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')); | 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')); |
| 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')); | 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')); |
| 2137 } | 2137 } |
| 2138 | 2138 |
| 2139 core.int buildCounterPerformanceReport = 0; | 2139 core.int buildCounterPerformanceReport = 0; |
| 2140 buildPerformanceReport() { | 2140 buildPerformanceReport() { |
| 2141 var o = new api.PerformanceReport(); | 2141 var o = new api.PerformanceReport(); |
| 2142 buildCounterPerformanceReport++; | 2142 buildCounterPerformanceReport++; |
| 2143 if (buildCounterPerformanceReport < 3) { | 2143 if (buildCounterPerformanceReport < 3) { |
| 2144 o.bidRate = 42.0; | 2144 o.bidRate = 42.0; |
| 2145 o.bidRequestRate = 42.0; | 2145 o.bidRequestRate = 42.0; |
| 2146 o.calloutStatusRate = buildUnnamed1862(); | 2146 o.calloutStatusRate = buildUnnamed1956(); |
| 2147 o.cookieMatcherStatusRate = buildUnnamed1863(); | 2147 o.cookieMatcherStatusRate = buildUnnamed1957(); |
| 2148 o.creativeStatusRate = buildUnnamed1864(); | 2148 o.creativeStatusRate = buildUnnamed1958(); |
| 2149 o.filteredBidRate = 42.0; | 2149 o.filteredBidRate = 42.0; |
| 2150 o.hostedMatchStatusRate = buildUnnamed1865(); | 2150 o.hostedMatchStatusRate = buildUnnamed1959(); |
| 2151 o.inventoryMatchRate = 42.0; | 2151 o.inventoryMatchRate = 42.0; |
| 2152 o.kind = "foo"; | 2152 o.kind = "foo"; |
| 2153 o.latency50thPercentile = 42.0; | 2153 o.latency50thPercentile = 42.0; |
| 2154 o.latency85thPercentile = 42.0; | 2154 o.latency85thPercentile = 42.0; |
| 2155 o.latency95thPercentile = 42.0; | 2155 o.latency95thPercentile = 42.0; |
| 2156 o.noQuotaInRegion = 42.0; | 2156 o.noQuotaInRegion = 42.0; |
| 2157 o.outOfQuota = 42.0; | 2157 o.outOfQuota = 42.0; |
| 2158 o.pixelMatchRequests = 42.0; | 2158 o.pixelMatchRequests = 42.0; |
| 2159 o.pixelMatchResponses = 42.0; | 2159 o.pixelMatchResponses = 42.0; |
| 2160 o.quotaConfiguredLimit = 42.0; | 2160 o.quotaConfiguredLimit = 42.0; |
| 2161 o.quotaThrottledLimit = 42.0; | 2161 o.quotaThrottledLimit = 42.0; |
| 2162 o.region = "foo"; | 2162 o.region = "foo"; |
| 2163 o.successfulRequestRate = 42.0; | 2163 o.successfulRequestRate = 42.0; |
| 2164 o.timestamp = "foo"; | 2164 o.timestamp = "foo"; |
| 2165 o.unsuccessfulRequestRate = 42.0; | 2165 o.unsuccessfulRequestRate = 42.0; |
| 2166 } | 2166 } |
| 2167 buildCounterPerformanceReport--; | 2167 buildCounterPerformanceReport--; |
| 2168 return o; | 2168 return o; |
| 2169 } | 2169 } |
| 2170 | 2170 |
| 2171 checkPerformanceReport(api.PerformanceReport o) { | 2171 checkPerformanceReport(api.PerformanceReport o) { |
| 2172 buildCounterPerformanceReport++; | 2172 buildCounterPerformanceReport++; |
| 2173 if (buildCounterPerformanceReport < 3) { | 2173 if (buildCounterPerformanceReport < 3) { |
| 2174 unittest.expect(o.bidRate, unittest.equals(42.0)); | 2174 unittest.expect(o.bidRate, unittest.equals(42.0)); |
| 2175 unittest.expect(o.bidRequestRate, unittest.equals(42.0)); | 2175 unittest.expect(o.bidRequestRate, unittest.equals(42.0)); |
| 2176 checkUnnamed1862(o.calloutStatusRate); | 2176 checkUnnamed1956(o.calloutStatusRate); |
| 2177 checkUnnamed1863(o.cookieMatcherStatusRate); | 2177 checkUnnamed1957(o.cookieMatcherStatusRate); |
| 2178 checkUnnamed1864(o.creativeStatusRate); | 2178 checkUnnamed1958(o.creativeStatusRate); |
| 2179 unittest.expect(o.filteredBidRate, unittest.equals(42.0)); | 2179 unittest.expect(o.filteredBidRate, unittest.equals(42.0)); |
| 2180 checkUnnamed1865(o.hostedMatchStatusRate); | 2180 checkUnnamed1959(o.hostedMatchStatusRate); |
| 2181 unittest.expect(o.inventoryMatchRate, unittest.equals(42.0)); | 2181 unittest.expect(o.inventoryMatchRate, unittest.equals(42.0)); |
| 2182 unittest.expect(o.kind, unittest.equals('foo')); | 2182 unittest.expect(o.kind, unittest.equals('foo')); |
| 2183 unittest.expect(o.latency50thPercentile, unittest.equals(42.0)); | 2183 unittest.expect(o.latency50thPercentile, unittest.equals(42.0)); |
| 2184 unittest.expect(o.latency85thPercentile, unittest.equals(42.0)); | 2184 unittest.expect(o.latency85thPercentile, unittest.equals(42.0)); |
| 2185 unittest.expect(o.latency95thPercentile, unittest.equals(42.0)); | 2185 unittest.expect(o.latency95thPercentile, unittest.equals(42.0)); |
| 2186 unittest.expect(o.noQuotaInRegion, unittest.equals(42.0)); | 2186 unittest.expect(o.noQuotaInRegion, unittest.equals(42.0)); |
| 2187 unittest.expect(o.outOfQuota, unittest.equals(42.0)); | 2187 unittest.expect(o.outOfQuota, unittest.equals(42.0)); |
| 2188 unittest.expect(o.pixelMatchRequests, unittest.equals(42.0)); | 2188 unittest.expect(o.pixelMatchRequests, unittest.equals(42.0)); |
| 2189 unittest.expect(o.pixelMatchResponses, unittest.equals(42.0)); | 2189 unittest.expect(o.pixelMatchResponses, unittest.equals(42.0)); |
| 2190 unittest.expect(o.quotaConfiguredLimit, unittest.equals(42.0)); | 2190 unittest.expect(o.quotaConfiguredLimit, unittest.equals(42.0)); |
| 2191 unittest.expect(o.quotaThrottledLimit, unittest.equals(42.0)); | 2191 unittest.expect(o.quotaThrottledLimit, unittest.equals(42.0)); |
| 2192 unittest.expect(o.region, unittest.equals('foo')); | 2192 unittest.expect(o.region, unittest.equals('foo')); |
| 2193 unittest.expect(o.successfulRequestRate, unittest.equals(42.0)); | 2193 unittest.expect(o.successfulRequestRate, unittest.equals(42.0)); |
| 2194 unittest.expect(o.timestamp, unittest.equals('foo')); | 2194 unittest.expect(o.timestamp, unittest.equals('foo')); |
| 2195 unittest.expect(o.unsuccessfulRequestRate, unittest.equals(42.0)); | 2195 unittest.expect(o.unsuccessfulRequestRate, unittest.equals(42.0)); |
| 2196 } | 2196 } |
| 2197 buildCounterPerformanceReport--; | 2197 buildCounterPerformanceReport--; |
| 2198 } | 2198 } |
| 2199 | 2199 |
| 2200 buildUnnamed1866() { | 2200 buildUnnamed1960() { |
| 2201 var o = new core.List<api.PerformanceReport>(); | 2201 var o = new core.List<api.PerformanceReport>(); |
| 2202 o.add(buildPerformanceReport()); | 2202 o.add(buildPerformanceReport()); |
| 2203 o.add(buildPerformanceReport()); | 2203 o.add(buildPerformanceReport()); |
| 2204 return o; | 2204 return o; |
| 2205 } | 2205 } |
| 2206 | 2206 |
| 2207 checkUnnamed1866(core.List<api.PerformanceReport> o) { | 2207 checkUnnamed1960(core.List<api.PerformanceReport> o) { |
| 2208 unittest.expect(o, unittest.hasLength(2)); | 2208 unittest.expect(o, unittest.hasLength(2)); |
| 2209 checkPerformanceReport(o[0]); | 2209 checkPerformanceReport(o[0]); |
| 2210 checkPerformanceReport(o[1]); | 2210 checkPerformanceReport(o[1]); |
| 2211 } | 2211 } |
| 2212 | 2212 |
| 2213 core.int buildCounterPerformanceReportList = 0; | 2213 core.int buildCounterPerformanceReportList = 0; |
| 2214 buildPerformanceReportList() { | 2214 buildPerformanceReportList() { |
| 2215 var o = new api.PerformanceReportList(); | 2215 var o = new api.PerformanceReportList(); |
| 2216 buildCounterPerformanceReportList++; | 2216 buildCounterPerformanceReportList++; |
| 2217 if (buildCounterPerformanceReportList < 3) { | 2217 if (buildCounterPerformanceReportList < 3) { |
| 2218 o.kind = "foo"; | 2218 o.kind = "foo"; |
| 2219 o.performanceReport = buildUnnamed1866(); | 2219 o.performanceReport = buildUnnamed1960(); |
| 2220 } | 2220 } |
| 2221 buildCounterPerformanceReportList--; | 2221 buildCounterPerformanceReportList--; |
| 2222 return o; | 2222 return o; |
| 2223 } | 2223 } |
| 2224 | 2224 |
| 2225 checkPerformanceReportList(api.PerformanceReportList o) { | 2225 checkPerformanceReportList(api.PerformanceReportList o) { |
| 2226 buildCounterPerformanceReportList++; | 2226 buildCounterPerformanceReportList++; |
| 2227 if (buildCounterPerformanceReportList < 3) { | 2227 if (buildCounterPerformanceReportList < 3) { |
| 2228 unittest.expect(o.kind, unittest.equals('foo')); | 2228 unittest.expect(o.kind, unittest.equals('foo')); |
| 2229 checkUnnamed1866(o.performanceReport); | 2229 checkUnnamed1960(o.performanceReport); |
| 2230 } | 2230 } |
| 2231 buildCounterPerformanceReportList--; | 2231 buildCounterPerformanceReportList--; |
| 2232 } | 2232 } |
| 2233 | 2233 |
| 2234 buildUnnamed1867() { | 2234 buildUnnamed1961() { |
| 2235 var o = new core.List<core.String>(); | 2235 var o = new core.List<core.String>(); |
| 2236 o.add("foo"); | 2236 o.add("foo"); |
| 2237 o.add("foo"); | 2237 o.add("foo"); |
| 2238 return o; | 2238 return o; |
| 2239 } | 2239 } |
| 2240 | 2240 |
| 2241 checkUnnamed1867(core.List<core.String> o) { | 2241 checkUnnamed1961(core.List<core.String> o) { |
| 2242 unittest.expect(o, unittest.hasLength(2)); | 2242 unittest.expect(o, unittest.hasLength(2)); |
| 2243 unittest.expect(o[0], unittest.equals('foo')); | 2243 unittest.expect(o[0], unittest.equals('foo')); |
| 2244 unittest.expect(o[1], unittest.equals('foo')); | 2244 unittest.expect(o[1], unittest.equals('foo')); |
| 2245 } | 2245 } |
| 2246 | 2246 |
| 2247 core.int buildCounterPretargetingConfigDimensions = 0; | 2247 core.int buildCounterPretargetingConfigDimensions = 0; |
| 2248 buildPretargetingConfigDimensions() { | 2248 buildPretargetingConfigDimensions() { |
| 2249 var o = new api.PretargetingConfigDimensions(); | 2249 var o = new api.PretargetingConfigDimensions(); |
| 2250 buildCounterPretargetingConfigDimensions++; | 2250 buildCounterPretargetingConfigDimensions++; |
| 2251 if (buildCounterPretargetingConfigDimensions < 3) { | 2251 if (buildCounterPretargetingConfigDimensions < 3) { |
| 2252 o.height = "foo"; | 2252 o.height = "foo"; |
| 2253 o.width = "foo"; | 2253 o.width = "foo"; |
| 2254 } | 2254 } |
| 2255 buildCounterPretargetingConfigDimensions--; | 2255 buildCounterPretargetingConfigDimensions--; |
| 2256 return o; | 2256 return o; |
| 2257 } | 2257 } |
| 2258 | 2258 |
| 2259 checkPretargetingConfigDimensions(api.PretargetingConfigDimensions o) { | 2259 checkPretargetingConfigDimensions(api.PretargetingConfigDimensions o) { |
| 2260 buildCounterPretargetingConfigDimensions++; | 2260 buildCounterPretargetingConfigDimensions++; |
| 2261 if (buildCounterPretargetingConfigDimensions < 3) { | 2261 if (buildCounterPretargetingConfigDimensions < 3) { |
| 2262 unittest.expect(o.height, unittest.equals('foo')); | 2262 unittest.expect(o.height, unittest.equals('foo')); |
| 2263 unittest.expect(o.width, unittest.equals('foo')); | 2263 unittest.expect(o.width, unittest.equals('foo')); |
| 2264 } | 2264 } |
| 2265 buildCounterPretargetingConfigDimensions--; | 2265 buildCounterPretargetingConfigDimensions--; |
| 2266 } | 2266 } |
| 2267 | 2267 |
| 2268 buildUnnamed1868() { | 2268 buildUnnamed1962() { |
| 2269 var o = new core.List<api.PretargetingConfigDimensions>(); | 2269 var o = new core.List<api.PretargetingConfigDimensions>(); |
| 2270 o.add(buildPretargetingConfigDimensions()); | 2270 o.add(buildPretargetingConfigDimensions()); |
| 2271 o.add(buildPretargetingConfigDimensions()); | 2271 o.add(buildPretargetingConfigDimensions()); |
| 2272 return o; | 2272 return o; |
| 2273 } | 2273 } |
| 2274 | 2274 |
| 2275 checkUnnamed1868(core.List<api.PretargetingConfigDimensions> o) { | 2275 checkUnnamed1962(core.List<api.PretargetingConfigDimensions> o) { |
| 2276 unittest.expect(o, unittest.hasLength(2)); | 2276 unittest.expect(o, unittest.hasLength(2)); |
| 2277 checkPretargetingConfigDimensions(o[0]); | 2277 checkPretargetingConfigDimensions(o[0]); |
| 2278 checkPretargetingConfigDimensions(o[1]); | 2278 checkPretargetingConfigDimensions(o[1]); |
| 2279 } | 2279 } |
| 2280 | 2280 |
| 2281 buildUnnamed1869() { | 2281 buildUnnamed1963() { |
| 2282 var o = new core.List<core.String>(); | 2282 var o = new core.List<core.String>(); |
| 2283 o.add("foo"); | 2283 o.add("foo"); |
| 2284 o.add("foo"); | 2284 o.add("foo"); |
| 2285 return o; | 2285 return o; |
| 2286 } | 2286 } |
| 2287 | 2287 |
| 2288 checkUnnamed1869(core.List<core.String> o) { | 2288 checkUnnamed1963(core.List<core.String> o) { |
| 2289 unittest.expect(o, unittest.hasLength(2)); | 2289 unittest.expect(o, unittest.hasLength(2)); |
| 2290 unittest.expect(o[0], unittest.equals('foo')); | 2290 unittest.expect(o[0], unittest.equals('foo')); |
| 2291 unittest.expect(o[1], unittest.equals('foo')); | 2291 unittest.expect(o[1], unittest.equals('foo')); |
| 2292 } | 2292 } |
| 2293 | 2293 |
| 2294 buildUnnamed1870() { | 2294 buildUnnamed1964() { |
| 2295 var o = new core.List<core.String>(); | 2295 var o = new core.List<core.String>(); |
| 2296 o.add("foo"); | 2296 o.add("foo"); |
| 2297 o.add("foo"); | 2297 o.add("foo"); |
| 2298 return o; | 2298 return o; |
| 2299 } | 2299 } |
| 2300 | 2300 |
| 2301 checkUnnamed1870(core.List<core.String> o) { | 2301 checkUnnamed1964(core.List<core.String> o) { |
| 2302 unittest.expect(o, unittest.hasLength(2)); | 2302 unittest.expect(o, unittest.hasLength(2)); |
| 2303 unittest.expect(o[0], unittest.equals('foo')); | 2303 unittest.expect(o[0], unittest.equals('foo')); |
| 2304 unittest.expect(o[1], unittest.equals('foo')); | 2304 unittest.expect(o[1], unittest.equals('foo')); |
| 2305 } | 2305 } |
| 2306 | 2306 |
| 2307 core.int buildCounterPretargetingConfigExcludedPlacements = 0; | 2307 core.int buildCounterPretargetingConfigExcludedPlacements = 0; |
| 2308 buildPretargetingConfigExcludedPlacements() { | 2308 buildPretargetingConfigExcludedPlacements() { |
| 2309 var o = new api.PretargetingConfigExcludedPlacements(); | 2309 var o = new api.PretargetingConfigExcludedPlacements(); |
| 2310 buildCounterPretargetingConfigExcludedPlacements++; | 2310 buildCounterPretargetingConfigExcludedPlacements++; |
| 2311 if (buildCounterPretargetingConfigExcludedPlacements < 3) { | 2311 if (buildCounterPretargetingConfigExcludedPlacements < 3) { |
| 2312 o.token = "foo"; | 2312 o.token = "foo"; |
| 2313 o.type = "foo"; | 2313 o.type = "foo"; |
| 2314 } | 2314 } |
| 2315 buildCounterPretargetingConfigExcludedPlacements--; | 2315 buildCounterPretargetingConfigExcludedPlacements--; |
| 2316 return o; | 2316 return o; |
| 2317 } | 2317 } |
| 2318 | 2318 |
| 2319 checkPretargetingConfigExcludedPlacements(api.PretargetingConfigExcludedPlacemen
ts o) { | 2319 checkPretargetingConfigExcludedPlacements(api.PretargetingConfigExcludedPlacemen
ts o) { |
| 2320 buildCounterPretargetingConfigExcludedPlacements++; | 2320 buildCounterPretargetingConfigExcludedPlacements++; |
| 2321 if (buildCounterPretargetingConfigExcludedPlacements < 3) { | 2321 if (buildCounterPretargetingConfigExcludedPlacements < 3) { |
| 2322 unittest.expect(o.token, unittest.equals('foo')); | 2322 unittest.expect(o.token, unittest.equals('foo')); |
| 2323 unittest.expect(o.type, unittest.equals('foo')); | 2323 unittest.expect(o.type, unittest.equals('foo')); |
| 2324 } | 2324 } |
| 2325 buildCounterPretargetingConfigExcludedPlacements--; | 2325 buildCounterPretargetingConfigExcludedPlacements--; |
| 2326 } | 2326 } |
| 2327 | 2327 |
| 2328 buildUnnamed1871() { | 2328 buildUnnamed1965() { |
| 2329 var o = new core.List<api.PretargetingConfigExcludedPlacements>(); | 2329 var o = new core.List<api.PretargetingConfigExcludedPlacements>(); |
| 2330 o.add(buildPretargetingConfigExcludedPlacements()); | 2330 o.add(buildPretargetingConfigExcludedPlacements()); |
| 2331 o.add(buildPretargetingConfigExcludedPlacements()); | 2331 o.add(buildPretargetingConfigExcludedPlacements()); |
| 2332 return o; | 2332 return o; |
| 2333 } | 2333 } |
| 2334 | 2334 |
| 2335 checkUnnamed1871(core.List<api.PretargetingConfigExcludedPlacements> o) { | 2335 checkUnnamed1965(core.List<api.PretargetingConfigExcludedPlacements> o) { |
| 2336 unittest.expect(o, unittest.hasLength(2)); | 2336 unittest.expect(o, unittest.hasLength(2)); |
| 2337 checkPretargetingConfigExcludedPlacements(o[0]); | 2337 checkPretargetingConfigExcludedPlacements(o[0]); |
| 2338 checkPretargetingConfigExcludedPlacements(o[1]); | 2338 checkPretargetingConfigExcludedPlacements(o[1]); |
| 2339 } | 2339 } |
| 2340 | 2340 |
| 2341 buildUnnamed1872() { | 2341 buildUnnamed1966() { |
| 2342 var o = new core.List<core.String>(); | 2342 var o = new core.List<core.String>(); |
| 2343 o.add("foo"); | 2343 o.add("foo"); |
| 2344 o.add("foo"); | 2344 o.add("foo"); |
| 2345 return o; | 2345 return o; |
| 2346 } | 2346 } |
| 2347 | 2347 |
| 2348 checkUnnamed1872(core.List<core.String> o) { | 2348 checkUnnamed1966(core.List<core.String> o) { |
| 2349 unittest.expect(o, unittest.hasLength(2)); | 2349 unittest.expect(o, unittest.hasLength(2)); |
| 2350 unittest.expect(o[0], unittest.equals('foo')); | 2350 unittest.expect(o[0], unittest.equals('foo')); |
| 2351 unittest.expect(o[1], unittest.equals('foo')); | 2351 unittest.expect(o[1], unittest.equals('foo')); |
| 2352 } | 2352 } |
| 2353 | 2353 |
| 2354 buildUnnamed1873() { | 2354 buildUnnamed1967() { |
| 2355 var o = new core.List<core.String>(); | 2355 var o = new core.List<core.String>(); |
| 2356 o.add("foo"); | 2356 o.add("foo"); |
| 2357 o.add("foo"); | 2357 o.add("foo"); |
| 2358 return o; | 2358 return o; |
| 2359 } | 2359 } |
| 2360 | 2360 |
| 2361 checkUnnamed1873(core.List<core.String> o) { | 2361 checkUnnamed1967(core.List<core.String> o) { |
| 2362 unittest.expect(o, unittest.hasLength(2)); | 2362 unittest.expect(o, unittest.hasLength(2)); |
| 2363 unittest.expect(o[0], unittest.equals('foo')); | 2363 unittest.expect(o[0], unittest.equals('foo')); |
| 2364 unittest.expect(o[1], unittest.equals('foo')); | 2364 unittest.expect(o[1], unittest.equals('foo')); |
| 2365 } | 2365 } |
| 2366 | 2366 |
| 2367 buildUnnamed1874() { | 2367 buildUnnamed1968() { |
| 2368 var o = new core.List<core.String>(); | 2368 var o = new core.List<core.String>(); |
| 2369 o.add("foo"); | 2369 o.add("foo"); |
| 2370 o.add("foo"); | 2370 o.add("foo"); |
| 2371 return o; | 2371 return o; |
| 2372 } | 2372 } |
| 2373 | 2373 |
| 2374 checkUnnamed1874(core.List<core.String> o) { | 2374 checkUnnamed1968(core.List<core.String> o) { |
| 2375 unittest.expect(o, unittest.hasLength(2)); | 2375 unittest.expect(o, unittest.hasLength(2)); |
| 2376 unittest.expect(o[0], unittest.equals('foo')); | 2376 unittest.expect(o[0], unittest.equals('foo')); |
| 2377 unittest.expect(o[1], unittest.equals('foo')); | 2377 unittest.expect(o[1], unittest.equals('foo')); |
| 2378 } | 2378 } |
| 2379 | 2379 |
| 2380 buildUnnamed1875() { | 2380 buildUnnamed1969() { |
| 2381 var o = new core.List<core.String>(); | 2381 var o = new core.List<core.String>(); |
| 2382 o.add("foo"); | 2382 o.add("foo"); |
| 2383 o.add("foo"); | 2383 o.add("foo"); |
| 2384 return o; | 2384 return o; |
| 2385 } | 2385 } |
| 2386 | 2386 |
| 2387 checkUnnamed1875(core.List<core.String> o) { | 2387 checkUnnamed1969(core.List<core.String> o) { |
| 2388 unittest.expect(o, unittest.hasLength(2)); | 2388 unittest.expect(o, unittest.hasLength(2)); |
| 2389 unittest.expect(o[0], unittest.equals('foo')); | 2389 unittest.expect(o[0], unittest.equals('foo')); |
| 2390 unittest.expect(o[1], unittest.equals('foo')); | 2390 unittest.expect(o[1], unittest.equals('foo')); |
| 2391 } | 2391 } |
| 2392 | 2392 |
| 2393 buildUnnamed1876() { | 2393 buildUnnamed1970() { |
| 2394 var o = new core.List<core.String>(); | 2394 var o = new core.List<core.String>(); |
| 2395 o.add("foo"); | 2395 o.add("foo"); |
| 2396 o.add("foo"); | 2396 o.add("foo"); |
| 2397 return o; | 2397 return o; |
| 2398 } | 2398 } |
| 2399 | 2399 |
| 2400 checkUnnamed1876(core.List<core.String> o) { | 2400 checkUnnamed1970(core.List<core.String> o) { |
| 2401 unittest.expect(o, unittest.hasLength(2)); | 2401 unittest.expect(o, unittest.hasLength(2)); |
| 2402 unittest.expect(o[0], unittest.equals('foo')); | 2402 unittest.expect(o[0], unittest.equals('foo')); |
| 2403 unittest.expect(o[1], unittest.equals('foo')); | 2403 unittest.expect(o[1], unittest.equals('foo')); |
| 2404 } | 2404 } |
| 2405 | 2405 |
| 2406 buildUnnamed1877() { | 2406 buildUnnamed1971() { |
| 2407 var o = new core.List<core.String>(); | 2407 var o = new core.List<core.String>(); |
| 2408 o.add("foo"); | 2408 o.add("foo"); |
| 2409 o.add("foo"); | 2409 o.add("foo"); |
| 2410 return o; | 2410 return o; |
| 2411 } | 2411 } |
| 2412 | 2412 |
| 2413 checkUnnamed1877(core.List<core.String> o) { | 2413 checkUnnamed1971(core.List<core.String> o) { |
| 2414 unittest.expect(o, unittest.hasLength(2)); | 2414 unittest.expect(o, unittest.hasLength(2)); |
| 2415 unittest.expect(o[0], unittest.equals('foo')); | 2415 unittest.expect(o[0], unittest.equals('foo')); |
| 2416 unittest.expect(o[1], unittest.equals('foo')); | 2416 unittest.expect(o[1], unittest.equals('foo')); |
| 2417 } | 2417 } |
| 2418 | 2418 |
| 2419 buildUnnamed1878() { | 2419 buildUnnamed1972() { |
| 2420 var o = new core.List<core.String>(); | 2420 var o = new core.List<core.String>(); |
| 2421 o.add("foo"); | 2421 o.add("foo"); |
| 2422 o.add("foo"); | 2422 o.add("foo"); |
| 2423 return o; | 2423 return o; |
| 2424 } | 2424 } |
| 2425 | 2425 |
| 2426 checkUnnamed1878(core.List<core.String> o) { | 2426 checkUnnamed1972(core.List<core.String> o) { |
| 2427 unittest.expect(o, unittest.hasLength(2)); | 2427 unittest.expect(o, unittest.hasLength(2)); |
| 2428 unittest.expect(o[0], unittest.equals('foo')); | 2428 unittest.expect(o[0], unittest.equals('foo')); |
| 2429 unittest.expect(o[1], unittest.equals('foo')); | 2429 unittest.expect(o[1], unittest.equals('foo')); |
| 2430 } | 2430 } |
| 2431 | 2431 |
| 2432 core.int buildCounterPretargetingConfigPlacements = 0; | 2432 core.int buildCounterPretargetingConfigPlacements = 0; |
| 2433 buildPretargetingConfigPlacements() { | 2433 buildPretargetingConfigPlacements() { |
| 2434 var o = new api.PretargetingConfigPlacements(); | 2434 var o = new api.PretargetingConfigPlacements(); |
| 2435 buildCounterPretargetingConfigPlacements++; | 2435 buildCounterPretargetingConfigPlacements++; |
| 2436 if (buildCounterPretargetingConfigPlacements < 3) { | 2436 if (buildCounterPretargetingConfigPlacements < 3) { |
| 2437 o.token = "foo"; | 2437 o.token = "foo"; |
| 2438 o.type = "foo"; | 2438 o.type = "foo"; |
| 2439 } | 2439 } |
| 2440 buildCounterPretargetingConfigPlacements--; | 2440 buildCounterPretargetingConfigPlacements--; |
| 2441 return o; | 2441 return o; |
| 2442 } | 2442 } |
| 2443 | 2443 |
| 2444 checkPretargetingConfigPlacements(api.PretargetingConfigPlacements o) { | 2444 checkPretargetingConfigPlacements(api.PretargetingConfigPlacements o) { |
| 2445 buildCounterPretargetingConfigPlacements++; | 2445 buildCounterPretargetingConfigPlacements++; |
| 2446 if (buildCounterPretargetingConfigPlacements < 3) { | 2446 if (buildCounterPretargetingConfigPlacements < 3) { |
| 2447 unittest.expect(o.token, unittest.equals('foo')); | 2447 unittest.expect(o.token, unittest.equals('foo')); |
| 2448 unittest.expect(o.type, unittest.equals('foo')); | 2448 unittest.expect(o.type, unittest.equals('foo')); |
| 2449 } | 2449 } |
| 2450 buildCounterPretargetingConfigPlacements--; | 2450 buildCounterPretargetingConfigPlacements--; |
| 2451 } | 2451 } |
| 2452 | 2452 |
| 2453 buildUnnamed1879() { | 2453 buildUnnamed1973() { |
| 2454 var o = new core.List<api.PretargetingConfigPlacements>(); | 2454 var o = new core.List<api.PretargetingConfigPlacements>(); |
| 2455 o.add(buildPretargetingConfigPlacements()); | 2455 o.add(buildPretargetingConfigPlacements()); |
| 2456 o.add(buildPretargetingConfigPlacements()); | 2456 o.add(buildPretargetingConfigPlacements()); |
| 2457 return o; | 2457 return o; |
| 2458 } | 2458 } |
| 2459 | 2459 |
| 2460 checkUnnamed1879(core.List<api.PretargetingConfigPlacements> o) { | 2460 checkUnnamed1973(core.List<api.PretargetingConfigPlacements> o) { |
| 2461 unittest.expect(o, unittest.hasLength(2)); | 2461 unittest.expect(o, unittest.hasLength(2)); |
| 2462 checkPretargetingConfigPlacements(o[0]); | 2462 checkPretargetingConfigPlacements(o[0]); |
| 2463 checkPretargetingConfigPlacements(o[1]); | 2463 checkPretargetingConfigPlacements(o[1]); |
| 2464 } | 2464 } |
| 2465 | 2465 |
| 2466 buildUnnamed1880() { | 2466 buildUnnamed1974() { |
| 2467 var o = new core.List<core.String>(); | 2467 var o = new core.List<core.String>(); |
| 2468 o.add("foo"); | 2468 o.add("foo"); |
| 2469 o.add("foo"); | 2469 o.add("foo"); |
| 2470 return o; | 2470 return o; |
| 2471 } | 2471 } |
| 2472 | 2472 |
| 2473 checkUnnamed1880(core.List<core.String> o) { | 2473 checkUnnamed1974(core.List<core.String> o) { |
| 2474 unittest.expect(o, unittest.hasLength(2)); | 2474 unittest.expect(o, unittest.hasLength(2)); |
| 2475 unittest.expect(o[0], unittest.equals('foo')); | 2475 unittest.expect(o[0], unittest.equals('foo')); |
| 2476 unittest.expect(o[1], unittest.equals('foo')); | 2476 unittest.expect(o[1], unittest.equals('foo')); |
| 2477 } | 2477 } |
| 2478 | 2478 |
| 2479 buildUnnamed1881() { | 2479 buildUnnamed1975() { |
| 2480 var o = new core.List<core.String>(); | 2480 var o = new core.List<core.String>(); |
| 2481 o.add("foo"); | 2481 o.add("foo"); |
| 2482 o.add("foo"); | 2482 o.add("foo"); |
| 2483 return o; | 2483 return o; |
| 2484 } | 2484 } |
| 2485 | 2485 |
| 2486 checkUnnamed1881(core.List<core.String> o) { | 2486 checkUnnamed1975(core.List<core.String> o) { |
| 2487 unittest.expect(o, unittest.hasLength(2)); | 2487 unittest.expect(o, unittest.hasLength(2)); |
| 2488 unittest.expect(o[0], unittest.equals('foo')); | 2488 unittest.expect(o[0], unittest.equals('foo')); |
| 2489 unittest.expect(o[1], unittest.equals('foo')); | 2489 unittest.expect(o[1], unittest.equals('foo')); |
| 2490 } | 2490 } |
| 2491 | 2491 |
| 2492 buildUnnamed1882() { | 2492 buildUnnamed1976() { |
| 2493 var o = new core.List<core.String>(); | 2493 var o = new core.List<core.String>(); |
| 2494 o.add("foo"); | 2494 o.add("foo"); |
| 2495 o.add("foo"); | 2495 o.add("foo"); |
| 2496 return o; | 2496 return o; |
| 2497 } | 2497 } |
| 2498 | 2498 |
| 2499 checkUnnamed1882(core.List<core.String> o) { | 2499 checkUnnamed1976(core.List<core.String> o) { |
| 2500 unittest.expect(o, unittest.hasLength(2)); | 2500 unittest.expect(o, unittest.hasLength(2)); |
| 2501 unittest.expect(o[0], unittest.equals('foo')); | 2501 unittest.expect(o[0], unittest.equals('foo')); |
| 2502 unittest.expect(o[1], unittest.equals('foo')); | 2502 unittest.expect(o[1], unittest.equals('foo')); |
| 2503 } | 2503 } |
| 2504 | 2504 |
| 2505 buildUnnamed1883() { | 2505 buildUnnamed1977() { |
| 2506 var o = new core.List<core.String>(); | 2506 var o = new core.List<core.String>(); |
| 2507 o.add("foo"); | 2507 o.add("foo"); |
| 2508 o.add("foo"); | 2508 o.add("foo"); |
| 2509 return o; | 2509 return o; |
| 2510 } | 2510 } |
| 2511 | 2511 |
| 2512 checkUnnamed1883(core.List<core.String> o) { | 2512 checkUnnamed1977(core.List<core.String> o) { |
| 2513 unittest.expect(o, unittest.hasLength(2)); | 2513 unittest.expect(o, unittest.hasLength(2)); |
| 2514 unittest.expect(o[0], unittest.equals('foo')); | 2514 unittest.expect(o[0], unittest.equals('foo')); |
| 2515 unittest.expect(o[1], unittest.equals('foo')); | 2515 unittest.expect(o[1], unittest.equals('foo')); |
| 2516 } | 2516 } |
| 2517 | 2517 |
| 2518 buildUnnamed1884() { | 2518 buildUnnamed1978() { |
| 2519 var o = new core.List<core.String>(); | 2519 var o = new core.List<core.String>(); |
| 2520 o.add("foo"); | 2520 o.add("foo"); |
| 2521 o.add("foo"); | 2521 o.add("foo"); |
| 2522 return o; | 2522 return o; |
| 2523 } | 2523 } |
| 2524 | 2524 |
| 2525 checkUnnamed1884(core.List<core.String> o) { | 2525 checkUnnamed1978(core.List<core.String> o) { |
| 2526 unittest.expect(o, unittest.hasLength(2)); | 2526 unittest.expect(o, unittest.hasLength(2)); |
| 2527 unittest.expect(o[0], unittest.equals('foo')); | 2527 unittest.expect(o[0], unittest.equals('foo')); |
| 2528 unittest.expect(o[1], unittest.equals('foo')); | 2528 unittest.expect(o[1], unittest.equals('foo')); |
| 2529 } | 2529 } |
| 2530 | 2530 |
| 2531 buildUnnamed1885() { | 2531 buildUnnamed1979() { |
| 2532 var o = new core.List<core.String>(); | 2532 var o = new core.List<core.String>(); |
| 2533 o.add("foo"); | 2533 o.add("foo"); |
| 2534 o.add("foo"); | 2534 o.add("foo"); |
| 2535 return o; | 2535 return o; |
| 2536 } | 2536 } |
| 2537 | 2537 |
| 2538 checkUnnamed1885(core.List<core.String> o) { | 2538 checkUnnamed1979(core.List<core.String> o) { |
| 2539 unittest.expect(o, unittest.hasLength(2)); | 2539 unittest.expect(o, unittest.hasLength(2)); |
| 2540 unittest.expect(o[0], unittest.equals('foo')); | 2540 unittest.expect(o[0], unittest.equals('foo')); |
| 2541 unittest.expect(o[1], unittest.equals('foo')); | 2541 unittest.expect(o[1], unittest.equals('foo')); |
| 2542 } | 2542 } |
| 2543 | 2543 |
| 2544 core.int buildCounterPretargetingConfigVideoPlayerSizes = 0; | 2544 core.int buildCounterPretargetingConfigVideoPlayerSizes = 0; |
| 2545 buildPretargetingConfigVideoPlayerSizes() { | 2545 buildPretargetingConfigVideoPlayerSizes() { |
| 2546 var o = new api.PretargetingConfigVideoPlayerSizes(); | 2546 var o = new api.PretargetingConfigVideoPlayerSizes(); |
| 2547 buildCounterPretargetingConfigVideoPlayerSizes++; | 2547 buildCounterPretargetingConfigVideoPlayerSizes++; |
| 2548 if (buildCounterPretargetingConfigVideoPlayerSizes < 3) { | 2548 if (buildCounterPretargetingConfigVideoPlayerSizes < 3) { |
| 2549 o.aspectRatio = "foo"; | 2549 o.aspectRatio = "foo"; |
| 2550 o.minHeight = "foo"; | 2550 o.minHeight = "foo"; |
| 2551 o.minWidth = "foo"; | 2551 o.minWidth = "foo"; |
| 2552 } | 2552 } |
| 2553 buildCounterPretargetingConfigVideoPlayerSizes--; | 2553 buildCounterPretargetingConfigVideoPlayerSizes--; |
| 2554 return o; | 2554 return o; |
| 2555 } | 2555 } |
| 2556 | 2556 |
| 2557 checkPretargetingConfigVideoPlayerSizes(api.PretargetingConfigVideoPlayerSizes o
) { | 2557 checkPretargetingConfigVideoPlayerSizes(api.PretargetingConfigVideoPlayerSizes o
) { |
| 2558 buildCounterPretargetingConfigVideoPlayerSizes++; | 2558 buildCounterPretargetingConfigVideoPlayerSizes++; |
| 2559 if (buildCounterPretargetingConfigVideoPlayerSizes < 3) { | 2559 if (buildCounterPretargetingConfigVideoPlayerSizes < 3) { |
| 2560 unittest.expect(o.aspectRatio, unittest.equals('foo')); | 2560 unittest.expect(o.aspectRatio, unittest.equals('foo')); |
| 2561 unittest.expect(o.minHeight, unittest.equals('foo')); | 2561 unittest.expect(o.minHeight, unittest.equals('foo')); |
| 2562 unittest.expect(o.minWidth, unittest.equals('foo')); | 2562 unittest.expect(o.minWidth, unittest.equals('foo')); |
| 2563 } | 2563 } |
| 2564 buildCounterPretargetingConfigVideoPlayerSizes--; | 2564 buildCounterPretargetingConfigVideoPlayerSizes--; |
| 2565 } | 2565 } |
| 2566 | 2566 |
| 2567 buildUnnamed1886() { | 2567 buildUnnamed1980() { |
| 2568 var o = new core.List<api.PretargetingConfigVideoPlayerSizes>(); | 2568 var o = new core.List<api.PretargetingConfigVideoPlayerSizes>(); |
| 2569 o.add(buildPretargetingConfigVideoPlayerSizes()); | 2569 o.add(buildPretargetingConfigVideoPlayerSizes()); |
| 2570 o.add(buildPretargetingConfigVideoPlayerSizes()); | 2570 o.add(buildPretargetingConfigVideoPlayerSizes()); |
| 2571 return o; | 2571 return o; |
| 2572 } | 2572 } |
| 2573 | 2573 |
| 2574 checkUnnamed1886(core.List<api.PretargetingConfigVideoPlayerSizes> o) { | 2574 checkUnnamed1980(core.List<api.PretargetingConfigVideoPlayerSizes> o) { |
| 2575 unittest.expect(o, unittest.hasLength(2)); | 2575 unittest.expect(o, unittest.hasLength(2)); |
| 2576 checkPretargetingConfigVideoPlayerSizes(o[0]); | 2576 checkPretargetingConfigVideoPlayerSizes(o[0]); |
| 2577 checkPretargetingConfigVideoPlayerSizes(o[1]); | 2577 checkPretargetingConfigVideoPlayerSizes(o[1]); |
| 2578 } | 2578 } |
| 2579 | 2579 |
| 2580 core.int buildCounterPretargetingConfig = 0; | 2580 core.int buildCounterPretargetingConfig = 0; |
| 2581 buildPretargetingConfig() { | 2581 buildPretargetingConfig() { |
| 2582 var o = new api.PretargetingConfig(); | 2582 var o = new api.PretargetingConfig(); |
| 2583 buildCounterPretargetingConfig++; | 2583 buildCounterPretargetingConfig++; |
| 2584 if (buildCounterPretargetingConfig < 3) { | 2584 if (buildCounterPretargetingConfig < 3) { |
| 2585 o.billingId = "foo"; | 2585 o.billingId = "foo"; |
| 2586 o.configId = "foo"; | 2586 o.configId = "foo"; |
| 2587 o.configName = "foo"; | 2587 o.configName = "foo"; |
| 2588 o.creativeType = buildUnnamed1867(); | 2588 o.creativeType = buildUnnamed1961(); |
| 2589 o.dimensions = buildUnnamed1868(); | 2589 o.dimensions = buildUnnamed1962(); |
| 2590 o.excludedContentLabels = buildUnnamed1869(); | 2590 o.excludedContentLabels = buildUnnamed1963(); |
| 2591 o.excludedGeoCriteriaIds = buildUnnamed1870(); | 2591 o.excludedGeoCriteriaIds = buildUnnamed1964(); |
| 2592 o.excludedPlacements = buildUnnamed1871(); | 2592 o.excludedPlacements = buildUnnamed1965(); |
| 2593 o.excludedUserLists = buildUnnamed1872(); | 2593 o.excludedUserLists = buildUnnamed1966(); |
| 2594 o.excludedVerticals = buildUnnamed1873(); | 2594 o.excludedVerticals = buildUnnamed1967(); |
| 2595 o.geoCriteriaIds = buildUnnamed1874(); | 2595 o.geoCriteriaIds = buildUnnamed1968(); |
| 2596 o.isActive = true; | 2596 o.isActive = true; |
| 2597 o.kind = "foo"; | 2597 o.kind = "foo"; |
| 2598 o.languages = buildUnnamed1875(); | 2598 o.languages = buildUnnamed1969(); |
| 2599 o.minimumViewabilityDecile = 42; | 2599 o.minimumViewabilityDecile = 42; |
| 2600 o.mobileCarriers = buildUnnamed1876(); | 2600 o.mobileCarriers = buildUnnamed1970(); |
| 2601 o.mobileDevices = buildUnnamed1877(); | 2601 o.mobileDevices = buildUnnamed1971(); |
| 2602 o.mobileOperatingSystemVersions = buildUnnamed1878(); | 2602 o.mobileOperatingSystemVersions = buildUnnamed1972(); |
| 2603 o.placements = buildUnnamed1879(); | 2603 o.placements = buildUnnamed1973(); |
| 2604 o.platforms = buildUnnamed1880(); | 2604 o.platforms = buildUnnamed1974(); |
| 2605 o.supportedCreativeAttributes = buildUnnamed1881(); | 2605 o.supportedCreativeAttributes = buildUnnamed1975(); |
| 2606 o.userIdentifierDataRequired = buildUnnamed1882(); | 2606 o.userIdentifierDataRequired = buildUnnamed1976(); |
| 2607 o.userLists = buildUnnamed1883(); | 2607 o.userLists = buildUnnamed1977(); |
| 2608 o.vendorTypes = buildUnnamed1884(); | 2608 o.vendorTypes = buildUnnamed1978(); |
| 2609 o.verticals = buildUnnamed1885(); | 2609 o.verticals = buildUnnamed1979(); |
| 2610 o.videoPlayerSizes = buildUnnamed1886(); | 2610 o.videoPlayerSizes = buildUnnamed1980(); |
| 2611 } | 2611 } |
| 2612 buildCounterPretargetingConfig--; | 2612 buildCounterPretargetingConfig--; |
| 2613 return o; | 2613 return o; |
| 2614 } | 2614 } |
| 2615 | 2615 |
| 2616 checkPretargetingConfig(api.PretargetingConfig o) { | 2616 checkPretargetingConfig(api.PretargetingConfig o) { |
| 2617 buildCounterPretargetingConfig++; | 2617 buildCounterPretargetingConfig++; |
| 2618 if (buildCounterPretargetingConfig < 3) { | 2618 if (buildCounterPretargetingConfig < 3) { |
| 2619 unittest.expect(o.billingId, unittest.equals('foo')); | 2619 unittest.expect(o.billingId, unittest.equals('foo')); |
| 2620 unittest.expect(o.configId, unittest.equals('foo')); | 2620 unittest.expect(o.configId, unittest.equals('foo')); |
| 2621 unittest.expect(o.configName, unittest.equals('foo')); | 2621 unittest.expect(o.configName, unittest.equals('foo')); |
| 2622 checkUnnamed1867(o.creativeType); | 2622 checkUnnamed1961(o.creativeType); |
| 2623 checkUnnamed1868(o.dimensions); | 2623 checkUnnamed1962(o.dimensions); |
| 2624 checkUnnamed1869(o.excludedContentLabels); | 2624 checkUnnamed1963(o.excludedContentLabels); |
| 2625 checkUnnamed1870(o.excludedGeoCriteriaIds); | 2625 checkUnnamed1964(o.excludedGeoCriteriaIds); |
| 2626 checkUnnamed1871(o.excludedPlacements); | 2626 checkUnnamed1965(o.excludedPlacements); |
| 2627 checkUnnamed1872(o.excludedUserLists); | 2627 checkUnnamed1966(o.excludedUserLists); |
| 2628 checkUnnamed1873(o.excludedVerticals); | 2628 checkUnnamed1967(o.excludedVerticals); |
| 2629 checkUnnamed1874(o.geoCriteriaIds); | 2629 checkUnnamed1968(o.geoCriteriaIds); |
| 2630 unittest.expect(o.isActive, unittest.isTrue); | 2630 unittest.expect(o.isActive, unittest.isTrue); |
| 2631 unittest.expect(o.kind, unittest.equals('foo')); | 2631 unittest.expect(o.kind, unittest.equals('foo')); |
| 2632 checkUnnamed1875(o.languages); | 2632 checkUnnamed1969(o.languages); |
| 2633 unittest.expect(o.minimumViewabilityDecile, unittest.equals(42)); | 2633 unittest.expect(o.minimumViewabilityDecile, unittest.equals(42)); |
| 2634 checkUnnamed1876(o.mobileCarriers); | 2634 checkUnnamed1970(o.mobileCarriers); |
| 2635 checkUnnamed1877(o.mobileDevices); | 2635 checkUnnamed1971(o.mobileDevices); |
| 2636 checkUnnamed1878(o.mobileOperatingSystemVersions); | 2636 checkUnnamed1972(o.mobileOperatingSystemVersions); |
| 2637 checkUnnamed1879(o.placements); | 2637 checkUnnamed1973(o.placements); |
| 2638 checkUnnamed1880(o.platforms); | 2638 checkUnnamed1974(o.platforms); |
| 2639 checkUnnamed1881(o.supportedCreativeAttributes); | 2639 checkUnnamed1975(o.supportedCreativeAttributes); |
| 2640 checkUnnamed1882(o.userIdentifierDataRequired); | 2640 checkUnnamed1976(o.userIdentifierDataRequired); |
| 2641 checkUnnamed1883(o.userLists); | 2641 checkUnnamed1977(o.userLists); |
| 2642 checkUnnamed1884(o.vendorTypes); | 2642 checkUnnamed1978(o.vendorTypes); |
| 2643 checkUnnamed1885(o.verticals); | 2643 checkUnnamed1979(o.verticals); |
| 2644 checkUnnamed1886(o.videoPlayerSizes); | 2644 checkUnnamed1980(o.videoPlayerSizes); |
| 2645 } | 2645 } |
| 2646 buildCounterPretargetingConfig--; | 2646 buildCounterPretargetingConfig--; |
| 2647 } | 2647 } |
| 2648 | 2648 |
| 2649 buildUnnamed1887() { | 2649 buildUnnamed1981() { |
| 2650 var o = new core.List<api.PretargetingConfig>(); | 2650 var o = new core.List<api.PretargetingConfig>(); |
| 2651 o.add(buildPretargetingConfig()); | 2651 o.add(buildPretargetingConfig()); |
| 2652 o.add(buildPretargetingConfig()); | 2652 o.add(buildPretargetingConfig()); |
| 2653 return o; | 2653 return o; |
| 2654 } | 2654 } |
| 2655 | 2655 |
| 2656 checkUnnamed1887(core.List<api.PretargetingConfig> o) { | 2656 checkUnnamed1981(core.List<api.PretargetingConfig> o) { |
| 2657 unittest.expect(o, unittest.hasLength(2)); | 2657 unittest.expect(o, unittest.hasLength(2)); |
| 2658 checkPretargetingConfig(o[0]); | 2658 checkPretargetingConfig(o[0]); |
| 2659 checkPretargetingConfig(o[1]); | 2659 checkPretargetingConfig(o[1]); |
| 2660 } | 2660 } |
| 2661 | 2661 |
| 2662 core.int buildCounterPretargetingConfigList = 0; | 2662 core.int buildCounterPretargetingConfigList = 0; |
| 2663 buildPretargetingConfigList() { | 2663 buildPretargetingConfigList() { |
| 2664 var o = new api.PretargetingConfigList(); | 2664 var o = new api.PretargetingConfigList(); |
| 2665 buildCounterPretargetingConfigList++; | 2665 buildCounterPretargetingConfigList++; |
| 2666 if (buildCounterPretargetingConfigList < 3) { | 2666 if (buildCounterPretargetingConfigList < 3) { |
| 2667 o.items = buildUnnamed1887(); | 2667 o.items = buildUnnamed1981(); |
| 2668 o.kind = "foo"; | 2668 o.kind = "foo"; |
| 2669 } | 2669 } |
| 2670 buildCounterPretargetingConfigList--; | 2670 buildCounterPretargetingConfigList--; |
| 2671 return o; | 2671 return o; |
| 2672 } | 2672 } |
| 2673 | 2673 |
| 2674 checkPretargetingConfigList(api.PretargetingConfigList o) { | 2674 checkPretargetingConfigList(api.PretargetingConfigList o) { |
| 2675 buildCounterPretargetingConfigList++; | 2675 buildCounterPretargetingConfigList++; |
| 2676 if (buildCounterPretargetingConfigList < 3) { | 2676 if (buildCounterPretargetingConfigList < 3) { |
| 2677 checkUnnamed1887(o.items); | 2677 checkUnnamed1981(o.items); |
| 2678 unittest.expect(o.kind, unittest.equals('foo')); | 2678 unittest.expect(o.kind, unittest.equals('foo')); |
| 2679 } | 2679 } |
| 2680 buildCounterPretargetingConfigList--; | 2680 buildCounterPretargetingConfigList--; |
| 2681 } | 2681 } |
| 2682 | 2682 |
| 2683 core.int buildCounterPrice = 0; | 2683 core.int buildCounterPrice = 0; |
| 2684 buildPrice() { | 2684 buildPrice() { |
| 2685 var o = new api.Price(); | 2685 var o = new api.Price(); |
| 2686 buildCounterPrice++; | 2686 buildCounterPrice++; |
| 2687 if (buildCounterPrice < 3) { | 2687 if (buildCounterPrice < 3) { |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2742 | 2742 |
| 2743 checkPrivateData(api.PrivateData o) { | 2743 checkPrivateData(api.PrivateData o) { |
| 2744 buildCounterPrivateData++; | 2744 buildCounterPrivateData++; |
| 2745 if (buildCounterPrivateData < 3) { | 2745 if (buildCounterPrivateData < 3) { |
| 2746 unittest.expect(o.referenceId, unittest.equals('foo')); | 2746 unittest.expect(o.referenceId, unittest.equals('foo')); |
| 2747 unittest.expect(o.referencePayload, unittest.equals('foo')); | 2747 unittest.expect(o.referencePayload, unittest.equals('foo')); |
| 2748 } | 2748 } |
| 2749 buildCounterPrivateData--; | 2749 buildCounterPrivateData--; |
| 2750 } | 2750 } |
| 2751 | 2751 |
| 2752 buildUnnamed1888() { | 2752 buildUnnamed1982() { |
| 2753 var o = new core.List<api.ContactInformation>(); | 2753 var o = new core.List<api.ContactInformation>(); |
| 2754 o.add(buildContactInformation()); | 2754 o.add(buildContactInformation()); |
| 2755 o.add(buildContactInformation()); | 2755 o.add(buildContactInformation()); |
| 2756 return o; | 2756 return o; |
| 2757 } | 2757 } |
| 2758 | 2758 |
| 2759 checkUnnamed1888(core.List<api.ContactInformation> o) { | 2759 checkUnnamed1982(core.List<api.ContactInformation> o) { |
| 2760 unittest.expect(o, unittest.hasLength(2)); | 2760 unittest.expect(o, unittest.hasLength(2)); |
| 2761 checkContactInformation(o[0]); | 2761 checkContactInformation(o[0]); |
| 2762 checkContactInformation(o[1]); | 2762 checkContactInformation(o[1]); |
| 2763 } | 2763 } |
| 2764 | 2764 |
| 2765 buildUnnamed1889() { | 2765 buildUnnamed1983() { |
| 2766 var o = new core.List<api.MarketplaceLabel>(); | 2766 var o = new core.List<api.MarketplaceLabel>(); |
| 2767 o.add(buildMarketplaceLabel()); | 2767 o.add(buildMarketplaceLabel()); |
| 2768 o.add(buildMarketplaceLabel()); | 2768 o.add(buildMarketplaceLabel()); |
| 2769 return o; | 2769 return o; |
| 2770 } | 2770 } |
| 2771 | 2771 |
| 2772 checkUnnamed1889(core.List<api.MarketplaceLabel> o) { | 2772 checkUnnamed1983(core.List<api.MarketplaceLabel> o) { |
| 2773 unittest.expect(o, unittest.hasLength(2)); | 2773 unittest.expect(o, unittest.hasLength(2)); |
| 2774 checkMarketplaceLabel(o[0]); | 2774 checkMarketplaceLabel(o[0]); |
| 2775 checkMarketplaceLabel(o[1]); | 2775 checkMarketplaceLabel(o[1]); |
| 2776 } | 2776 } |
| 2777 | 2777 |
| 2778 buildUnnamed1890() { | 2778 buildUnnamed1984() { |
| 2779 var o = new core.List<api.SharedTargeting>(); | 2779 var o = new core.List<api.SharedTargeting>(); |
| 2780 o.add(buildSharedTargeting()); | 2780 o.add(buildSharedTargeting()); |
| 2781 o.add(buildSharedTargeting()); | 2781 o.add(buildSharedTargeting()); |
| 2782 return o; | 2782 return o; |
| 2783 } | 2783 } |
| 2784 | 2784 |
| 2785 checkUnnamed1890(core.List<api.SharedTargeting> o) { | 2785 checkUnnamed1984(core.List<api.SharedTargeting> o) { |
| 2786 unittest.expect(o, unittest.hasLength(2)); | 2786 unittest.expect(o, unittest.hasLength(2)); |
| 2787 checkSharedTargeting(o[0]); | 2787 checkSharedTargeting(o[0]); |
| 2788 checkSharedTargeting(o[1]); | 2788 checkSharedTargeting(o[1]); |
| 2789 } | 2789 } |
| 2790 | 2790 |
| 2791 core.int buildCounterProduct = 0; | 2791 core.int buildCounterProduct = 0; |
| 2792 buildProduct() { | 2792 buildProduct() { |
| 2793 var o = new api.Product(); | 2793 var o = new api.Product(); |
| 2794 buildCounterProduct++; | 2794 buildCounterProduct++; |
| 2795 if (buildCounterProduct < 3) { | 2795 if (buildCounterProduct < 3) { |
| 2796 o.creationTimeMs = "foo"; | 2796 o.creationTimeMs = "foo"; |
| 2797 o.creatorContacts = buildUnnamed1888(); | 2797 o.creatorContacts = buildUnnamed1982(); |
| 2798 o.deliveryControl = buildDeliveryControl(); | 2798 o.deliveryControl = buildDeliveryControl(); |
| 2799 o.flightEndTimeMs = "foo"; | 2799 o.flightEndTimeMs = "foo"; |
| 2800 o.flightStartTimeMs = "foo"; | 2800 o.flightStartTimeMs = "foo"; |
| 2801 o.hasCreatorSignedOff = true; | 2801 o.hasCreatorSignedOff = true; |
| 2802 o.inventorySource = "foo"; | 2802 o.inventorySource = "foo"; |
| 2803 o.kind = "foo"; | 2803 o.kind = "foo"; |
| 2804 o.labels = buildUnnamed1889(); | 2804 o.labels = buildUnnamed1983(); |
| 2805 o.lastUpdateTimeMs = "foo"; | 2805 o.lastUpdateTimeMs = "foo"; |
| 2806 o.legacyOfferId = "foo"; | 2806 o.legacyOfferId = "foo"; |
| 2807 o.marketplacePublisherProfileId = "foo"; | 2807 o.marketplacePublisherProfileId = "foo"; |
| 2808 o.name = "foo"; | 2808 o.name = "foo"; |
| 2809 o.privateAuctionId = "foo"; | 2809 o.privateAuctionId = "foo"; |
| 2810 o.productId = "foo"; | 2810 o.productId = "foo"; |
| 2811 o.publisherProfileId = "foo"; | 2811 o.publisherProfileId = "foo"; |
| 2812 o.publisherProvidedForecast = buildPublisherProvidedForecast(); | 2812 o.publisherProvidedForecast = buildPublisherProvidedForecast(); |
| 2813 o.revisionNumber = "foo"; | 2813 o.revisionNumber = "foo"; |
| 2814 o.seller = buildSeller(); | 2814 o.seller = buildSeller(); |
| 2815 o.sharedTargetings = buildUnnamed1890(); | 2815 o.sharedTargetings = buildUnnamed1984(); |
| 2816 o.state = "foo"; | 2816 o.state = "foo"; |
| 2817 o.syndicationProduct = "foo"; | 2817 o.syndicationProduct = "foo"; |
| 2818 o.terms = buildDealTerms(); | 2818 o.terms = buildDealTerms(); |
| 2819 o.webPropertyCode = "foo"; | 2819 o.webPropertyCode = "foo"; |
| 2820 } | 2820 } |
| 2821 buildCounterProduct--; | 2821 buildCounterProduct--; |
| 2822 return o; | 2822 return o; |
| 2823 } | 2823 } |
| 2824 | 2824 |
| 2825 checkProduct(api.Product o) { | 2825 checkProduct(api.Product o) { |
| 2826 buildCounterProduct++; | 2826 buildCounterProduct++; |
| 2827 if (buildCounterProduct < 3) { | 2827 if (buildCounterProduct < 3) { |
| 2828 unittest.expect(o.creationTimeMs, unittest.equals('foo')); | 2828 unittest.expect(o.creationTimeMs, unittest.equals('foo')); |
| 2829 checkUnnamed1888(o.creatorContacts); | 2829 checkUnnamed1982(o.creatorContacts); |
| 2830 checkDeliveryControl(o.deliveryControl); | 2830 checkDeliveryControl(o.deliveryControl); |
| 2831 unittest.expect(o.flightEndTimeMs, unittest.equals('foo')); | 2831 unittest.expect(o.flightEndTimeMs, unittest.equals('foo')); |
| 2832 unittest.expect(o.flightStartTimeMs, unittest.equals('foo')); | 2832 unittest.expect(o.flightStartTimeMs, unittest.equals('foo')); |
| 2833 unittest.expect(o.hasCreatorSignedOff, unittest.isTrue); | 2833 unittest.expect(o.hasCreatorSignedOff, unittest.isTrue); |
| 2834 unittest.expect(o.inventorySource, unittest.equals('foo')); | 2834 unittest.expect(o.inventorySource, unittest.equals('foo')); |
| 2835 unittest.expect(o.kind, unittest.equals('foo')); | 2835 unittest.expect(o.kind, unittest.equals('foo')); |
| 2836 checkUnnamed1889(o.labels); | 2836 checkUnnamed1983(o.labels); |
| 2837 unittest.expect(o.lastUpdateTimeMs, unittest.equals('foo')); | 2837 unittest.expect(o.lastUpdateTimeMs, unittest.equals('foo')); |
| 2838 unittest.expect(o.legacyOfferId, unittest.equals('foo')); | 2838 unittest.expect(o.legacyOfferId, unittest.equals('foo')); |
| 2839 unittest.expect(o.marketplacePublisherProfileId, unittest.equals('foo')); | 2839 unittest.expect(o.marketplacePublisherProfileId, unittest.equals('foo')); |
| 2840 unittest.expect(o.name, unittest.equals('foo')); | 2840 unittest.expect(o.name, unittest.equals('foo')); |
| 2841 unittest.expect(o.privateAuctionId, unittest.equals('foo')); | 2841 unittest.expect(o.privateAuctionId, unittest.equals('foo')); |
| 2842 unittest.expect(o.productId, unittest.equals('foo')); | 2842 unittest.expect(o.productId, unittest.equals('foo')); |
| 2843 unittest.expect(o.publisherProfileId, unittest.equals('foo')); | 2843 unittest.expect(o.publisherProfileId, unittest.equals('foo')); |
| 2844 checkPublisherProvidedForecast(o.publisherProvidedForecast); | 2844 checkPublisherProvidedForecast(o.publisherProvidedForecast); |
| 2845 unittest.expect(o.revisionNumber, unittest.equals('foo')); | 2845 unittest.expect(o.revisionNumber, unittest.equals('foo')); |
| 2846 checkSeller(o.seller); | 2846 checkSeller(o.seller); |
| 2847 checkUnnamed1890(o.sharedTargetings); | 2847 checkUnnamed1984(o.sharedTargetings); |
| 2848 unittest.expect(o.state, unittest.equals('foo')); | 2848 unittest.expect(o.state, unittest.equals('foo')); |
| 2849 unittest.expect(o.syndicationProduct, unittest.equals('foo')); | 2849 unittest.expect(o.syndicationProduct, unittest.equals('foo')); |
| 2850 checkDealTerms(o.terms); | 2850 checkDealTerms(o.terms); |
| 2851 unittest.expect(o.webPropertyCode, unittest.equals('foo')); | 2851 unittest.expect(o.webPropertyCode, unittest.equals('foo')); |
| 2852 } | 2852 } |
| 2853 buildCounterProduct--; | 2853 buildCounterProduct--; |
| 2854 } | 2854 } |
| 2855 | 2855 |
| 2856 buildUnnamed1891() { | 2856 buildUnnamed1985() { |
| 2857 var o = new core.List<api.ContactInformation>(); | 2857 var o = new core.List<api.ContactInformation>(); |
| 2858 o.add(buildContactInformation()); | 2858 o.add(buildContactInformation()); |
| 2859 o.add(buildContactInformation()); | 2859 o.add(buildContactInformation()); |
| 2860 return o; | 2860 return o; |
| 2861 } | 2861 } |
| 2862 | 2862 |
| 2863 checkUnnamed1891(core.List<api.ContactInformation> o) { | 2863 checkUnnamed1985(core.List<api.ContactInformation> o) { |
| 2864 unittest.expect(o, unittest.hasLength(2)); | 2864 unittest.expect(o, unittest.hasLength(2)); |
| 2865 checkContactInformation(o[0]); | 2865 checkContactInformation(o[0]); |
| 2866 checkContactInformation(o[1]); | 2866 checkContactInformation(o[1]); |
| 2867 } | 2867 } |
| 2868 | 2868 |
| 2869 buildUnnamed1892() { | 2869 buildUnnamed1986() { |
| 2870 var o = new core.List<core.String>(); | 2870 var o = new core.List<core.String>(); |
| 2871 o.add("foo"); | 2871 o.add("foo"); |
| 2872 o.add("foo"); | 2872 o.add("foo"); |
| 2873 return o; | 2873 return o; |
| 2874 } | 2874 } |
| 2875 | 2875 |
| 2876 checkUnnamed1892(core.List<core.String> o) { | 2876 checkUnnamed1986(core.List<core.String> o) { |
| 2877 unittest.expect(o, unittest.hasLength(2)); | 2877 unittest.expect(o, unittest.hasLength(2)); |
| 2878 unittest.expect(o[0], unittest.equals('foo')); | 2878 unittest.expect(o[0], unittest.equals('foo')); |
| 2879 unittest.expect(o[1], unittest.equals('foo')); | 2879 unittest.expect(o[1], unittest.equals('foo')); |
| 2880 } | 2880 } |
| 2881 | 2881 |
| 2882 buildUnnamed1893() { | 2882 buildUnnamed1987() { |
| 2883 var o = new core.List<api.MarketplaceLabel>(); | 2883 var o = new core.List<api.MarketplaceLabel>(); |
| 2884 o.add(buildMarketplaceLabel()); | 2884 o.add(buildMarketplaceLabel()); |
| 2885 o.add(buildMarketplaceLabel()); | 2885 o.add(buildMarketplaceLabel()); |
| 2886 return o; | 2886 return o; |
| 2887 } | 2887 } |
| 2888 | 2888 |
| 2889 checkUnnamed1893(core.List<api.MarketplaceLabel> o) { | 2889 checkUnnamed1987(core.List<api.MarketplaceLabel> o) { |
| 2890 unittest.expect(o, unittest.hasLength(2)); | 2890 unittest.expect(o, unittest.hasLength(2)); |
| 2891 checkMarketplaceLabel(o[0]); | 2891 checkMarketplaceLabel(o[0]); |
| 2892 checkMarketplaceLabel(o[1]); | 2892 checkMarketplaceLabel(o[1]); |
| 2893 } | 2893 } |
| 2894 | 2894 |
| 2895 buildUnnamed1894() { | 2895 buildUnnamed1988() { |
| 2896 var o = new core.List<api.ContactInformation>(); | 2896 var o = new core.List<api.ContactInformation>(); |
| 2897 o.add(buildContactInformation()); | 2897 o.add(buildContactInformation()); |
| 2898 o.add(buildContactInformation()); | 2898 o.add(buildContactInformation()); |
| 2899 return o; | 2899 return o; |
| 2900 } | 2900 } |
| 2901 | 2901 |
| 2902 checkUnnamed1894(core.List<api.ContactInformation> o) { | 2902 checkUnnamed1988(core.List<api.ContactInformation> o) { |
| 2903 unittest.expect(o, unittest.hasLength(2)); | 2903 unittest.expect(o, unittest.hasLength(2)); |
| 2904 checkContactInformation(o[0]); | 2904 checkContactInformation(o[0]); |
| 2905 checkContactInformation(o[1]); | 2905 checkContactInformation(o[1]); |
| 2906 } | 2906 } |
| 2907 | 2907 |
| 2908 core.int buildCounterProposal = 0; | 2908 core.int buildCounterProposal = 0; |
| 2909 buildProposal() { | 2909 buildProposal() { |
| 2910 var o = new api.Proposal(); | 2910 var o = new api.Proposal(); |
| 2911 buildCounterProposal++; | 2911 buildCounterProposal++; |
| 2912 if (buildCounterProposal < 3) { | 2912 if (buildCounterProposal < 3) { |
| 2913 o.billedBuyer = buildBuyer(); | 2913 o.billedBuyer = buildBuyer(); |
| 2914 o.buyer = buildBuyer(); | 2914 o.buyer = buildBuyer(); |
| 2915 o.buyerContacts = buildUnnamed1891(); | 2915 o.buyerContacts = buildUnnamed1985(); |
| 2916 o.buyerPrivateData = buildPrivateData(); | 2916 o.buyerPrivateData = buildPrivateData(); |
| 2917 o.dbmAdvertiserIds = buildUnnamed1892(); | 2917 o.dbmAdvertiserIds = buildUnnamed1986(); |
| 2918 o.hasBuyerSignedOff = true; | 2918 o.hasBuyerSignedOff = true; |
| 2919 o.hasSellerSignedOff = true; | 2919 o.hasSellerSignedOff = true; |
| 2920 o.inventorySource = "foo"; | 2920 o.inventorySource = "foo"; |
| 2921 o.isRenegotiating = true; | 2921 o.isRenegotiating = true; |
| 2922 o.isSetupComplete = true; | 2922 o.isSetupComplete = true; |
| 2923 o.kind = "foo"; | 2923 o.kind = "foo"; |
| 2924 o.labels = buildUnnamed1893(); | 2924 o.labels = buildUnnamed1987(); |
| 2925 o.lastUpdaterOrCommentorRole = "foo"; | 2925 o.lastUpdaterOrCommentorRole = "foo"; |
| 2926 o.name = "foo"; | 2926 o.name = "foo"; |
| 2927 o.negotiationId = "foo"; | 2927 o.negotiationId = "foo"; |
| 2928 o.originatorRole = "foo"; | 2928 o.originatorRole = "foo"; |
| 2929 o.privateAuctionId = "foo"; | 2929 o.privateAuctionId = "foo"; |
| 2930 o.proposalId = "foo"; | 2930 o.proposalId = "foo"; |
| 2931 o.proposalState = "foo"; | 2931 o.proposalState = "foo"; |
| 2932 o.revisionNumber = "foo"; | 2932 o.revisionNumber = "foo"; |
| 2933 o.revisionTimeMs = "foo"; | 2933 o.revisionTimeMs = "foo"; |
| 2934 o.seller = buildSeller(); | 2934 o.seller = buildSeller(); |
| 2935 o.sellerContacts = buildUnnamed1894(); | 2935 o.sellerContacts = buildUnnamed1988(); |
| 2936 } | 2936 } |
| 2937 buildCounterProposal--; | 2937 buildCounterProposal--; |
| 2938 return o; | 2938 return o; |
| 2939 } | 2939 } |
| 2940 | 2940 |
| 2941 checkProposal(api.Proposal o) { | 2941 checkProposal(api.Proposal o) { |
| 2942 buildCounterProposal++; | 2942 buildCounterProposal++; |
| 2943 if (buildCounterProposal < 3) { | 2943 if (buildCounterProposal < 3) { |
| 2944 checkBuyer(o.billedBuyer); | 2944 checkBuyer(o.billedBuyer); |
| 2945 checkBuyer(o.buyer); | 2945 checkBuyer(o.buyer); |
| 2946 checkUnnamed1891(o.buyerContacts); | 2946 checkUnnamed1985(o.buyerContacts); |
| 2947 checkPrivateData(o.buyerPrivateData); | 2947 checkPrivateData(o.buyerPrivateData); |
| 2948 checkUnnamed1892(o.dbmAdvertiserIds); | 2948 checkUnnamed1986(o.dbmAdvertiserIds); |
| 2949 unittest.expect(o.hasBuyerSignedOff, unittest.isTrue); | 2949 unittest.expect(o.hasBuyerSignedOff, unittest.isTrue); |
| 2950 unittest.expect(o.hasSellerSignedOff, unittest.isTrue); | 2950 unittest.expect(o.hasSellerSignedOff, unittest.isTrue); |
| 2951 unittest.expect(o.inventorySource, unittest.equals('foo')); | 2951 unittest.expect(o.inventorySource, unittest.equals('foo')); |
| 2952 unittest.expect(o.isRenegotiating, unittest.isTrue); | 2952 unittest.expect(o.isRenegotiating, unittest.isTrue); |
| 2953 unittest.expect(o.isSetupComplete, unittest.isTrue); | 2953 unittest.expect(o.isSetupComplete, unittest.isTrue); |
| 2954 unittest.expect(o.kind, unittest.equals('foo')); | 2954 unittest.expect(o.kind, unittest.equals('foo')); |
| 2955 checkUnnamed1893(o.labels); | 2955 checkUnnamed1987(o.labels); |
| 2956 unittest.expect(o.lastUpdaterOrCommentorRole, unittest.equals('foo')); | 2956 unittest.expect(o.lastUpdaterOrCommentorRole, unittest.equals('foo')); |
| 2957 unittest.expect(o.name, unittest.equals('foo')); | 2957 unittest.expect(o.name, unittest.equals('foo')); |
| 2958 unittest.expect(o.negotiationId, unittest.equals('foo')); | 2958 unittest.expect(o.negotiationId, unittest.equals('foo')); |
| 2959 unittest.expect(o.originatorRole, unittest.equals('foo')); | 2959 unittest.expect(o.originatorRole, unittest.equals('foo')); |
| 2960 unittest.expect(o.privateAuctionId, unittest.equals('foo')); | 2960 unittest.expect(o.privateAuctionId, unittest.equals('foo')); |
| 2961 unittest.expect(o.proposalId, unittest.equals('foo')); | 2961 unittest.expect(o.proposalId, unittest.equals('foo')); |
| 2962 unittest.expect(o.proposalState, unittest.equals('foo')); | 2962 unittest.expect(o.proposalState, unittest.equals('foo')); |
| 2963 unittest.expect(o.revisionNumber, unittest.equals('foo')); | 2963 unittest.expect(o.revisionNumber, unittest.equals('foo')); |
| 2964 unittest.expect(o.revisionTimeMs, unittest.equals('foo')); | 2964 unittest.expect(o.revisionTimeMs, unittest.equals('foo')); |
| 2965 checkSeller(o.seller); | 2965 checkSeller(o.seller); |
| 2966 checkUnnamed1894(o.sellerContacts); | 2966 checkUnnamed1988(o.sellerContacts); |
| 2967 } | 2967 } |
| 2968 buildCounterProposal--; | 2968 buildCounterProposal--; |
| 2969 } | 2969 } |
| 2970 | 2970 |
| 2971 buildUnnamed1895() { | 2971 buildUnnamed1989() { |
| 2972 var o = new core.List<core.String>(); | 2972 var o = new core.List<core.String>(); |
| 2973 o.add("foo"); | 2973 o.add("foo"); |
| 2974 o.add("foo"); | 2974 o.add("foo"); |
| 2975 return o; | 2975 return o; |
| 2976 } | 2976 } |
| 2977 | 2977 |
| 2978 checkUnnamed1895(core.List<core.String> o) { | 2978 checkUnnamed1989(core.List<core.String> o) { |
| 2979 unittest.expect(o, unittest.hasLength(2)); | 2979 unittest.expect(o, unittest.hasLength(2)); |
| 2980 unittest.expect(o[0], unittest.equals('foo')); | 2980 unittest.expect(o[0], unittest.equals('foo')); |
| 2981 unittest.expect(o[1], unittest.equals('foo')); | 2981 unittest.expect(o[1], unittest.equals('foo')); |
| 2982 } | 2982 } |
| 2983 | 2983 |
| 2984 buildUnnamed1896() { | 2984 buildUnnamed1990() { |
| 2985 var o = new core.List<core.String>(); | 2985 var o = new core.List<core.String>(); |
| 2986 o.add("foo"); | 2986 o.add("foo"); |
| 2987 o.add("foo"); | 2987 o.add("foo"); |
| 2988 return o; | 2988 return o; |
| 2989 } | 2989 } |
| 2990 | 2990 |
| 2991 checkUnnamed1896(core.List<core.String> o) { | 2991 checkUnnamed1990(core.List<core.String> o) { |
| 2992 unittest.expect(o, unittest.hasLength(2)); | 2992 unittest.expect(o, unittest.hasLength(2)); |
| 2993 unittest.expect(o[0], unittest.equals('foo')); | 2993 unittest.expect(o[0], unittest.equals('foo')); |
| 2994 unittest.expect(o[1], unittest.equals('foo')); | 2994 unittest.expect(o[1], unittest.equals('foo')); |
| 2995 } | 2995 } |
| 2996 | 2996 |
| 2997 core.int buildCounterPublisherProfileApiProto = 0; | 2997 core.int buildCounterPublisherProfileApiProto = 0; |
| 2998 buildPublisherProfileApiProto() { | 2998 buildPublisherProfileApiProto() { |
| 2999 var o = new api.PublisherProfileApiProto(); | 2999 var o = new api.PublisherProfileApiProto(); |
| 3000 buildCounterPublisherProfileApiProto++; | 3000 buildCounterPublisherProfileApiProto++; |
| 3001 if (buildCounterPublisherProfileApiProto < 3) { | 3001 if (buildCounterPublisherProfileApiProto < 3) { |
| 3002 o.accountId = "foo"; | 3002 o.accountId = "foo"; |
| 3003 o.audience = "foo"; | 3003 o.audience = "foo"; |
| 3004 o.buyerPitchStatement = "foo"; | 3004 o.buyerPitchStatement = "foo"; |
| 3005 o.directContact = "foo"; | 3005 o.directContact = "foo"; |
| 3006 o.exchange = "foo"; | 3006 o.exchange = "foo"; |
| 3007 o.googlePlusLink = "foo"; | 3007 o.googlePlusLink = "foo"; |
| 3008 o.isParent = true; | 3008 o.isParent = true; |
| 3009 o.isPublished = true; | 3009 o.isPublished = true; |
| 3010 o.kind = "foo"; | 3010 o.kind = "foo"; |
| 3011 o.logoUrl = "foo"; | 3011 o.logoUrl = "foo"; |
| 3012 o.mediaKitLink = "foo"; | 3012 o.mediaKitLink = "foo"; |
| 3013 o.name = "foo"; | 3013 o.name = "foo"; |
| 3014 o.overview = "foo"; | 3014 o.overview = "foo"; |
| 3015 o.profileId = 42; | 3015 o.profileId = 42; |
| 3016 o.programmaticContact = "foo"; | 3016 o.programmaticContact = "foo"; |
| 3017 o.publisherDomains = buildUnnamed1895(); | 3017 o.publisherDomains = buildUnnamed1989(); |
| 3018 o.publisherProfileId = "foo"; | 3018 o.publisherProfileId = "foo"; |
| 3019 o.publisherProvidedForecast = buildPublisherProvidedForecast(); | 3019 o.publisherProvidedForecast = buildPublisherProvidedForecast(); |
| 3020 o.rateCardInfoLink = "foo"; | 3020 o.rateCardInfoLink = "foo"; |
| 3021 o.samplePageLink = "foo"; | 3021 o.samplePageLink = "foo"; |
| 3022 o.seller = buildSeller(); | 3022 o.seller = buildSeller(); |
| 3023 o.state = "foo"; | 3023 o.state = "foo"; |
| 3024 o.topHeadlines = buildUnnamed1896(); | 3024 o.topHeadlines = buildUnnamed1990(); |
| 3025 } | 3025 } |
| 3026 buildCounterPublisherProfileApiProto--; | 3026 buildCounterPublisherProfileApiProto--; |
| 3027 return o; | 3027 return o; |
| 3028 } | 3028 } |
| 3029 | 3029 |
| 3030 checkPublisherProfileApiProto(api.PublisherProfileApiProto o) { | 3030 checkPublisherProfileApiProto(api.PublisherProfileApiProto o) { |
| 3031 buildCounterPublisherProfileApiProto++; | 3031 buildCounterPublisherProfileApiProto++; |
| 3032 if (buildCounterPublisherProfileApiProto < 3) { | 3032 if (buildCounterPublisherProfileApiProto < 3) { |
| 3033 unittest.expect(o.accountId, unittest.equals('foo')); | 3033 unittest.expect(o.accountId, unittest.equals('foo')); |
| 3034 unittest.expect(o.audience, unittest.equals('foo')); | 3034 unittest.expect(o.audience, unittest.equals('foo')); |
| 3035 unittest.expect(o.buyerPitchStatement, unittest.equals('foo')); | 3035 unittest.expect(o.buyerPitchStatement, unittest.equals('foo')); |
| 3036 unittest.expect(o.directContact, unittest.equals('foo')); | 3036 unittest.expect(o.directContact, unittest.equals('foo')); |
| 3037 unittest.expect(o.exchange, unittest.equals('foo')); | 3037 unittest.expect(o.exchange, unittest.equals('foo')); |
| 3038 unittest.expect(o.googlePlusLink, unittest.equals('foo')); | 3038 unittest.expect(o.googlePlusLink, unittest.equals('foo')); |
| 3039 unittest.expect(o.isParent, unittest.isTrue); | 3039 unittest.expect(o.isParent, unittest.isTrue); |
| 3040 unittest.expect(o.isPublished, unittest.isTrue); | 3040 unittest.expect(o.isPublished, unittest.isTrue); |
| 3041 unittest.expect(o.kind, unittest.equals('foo')); | 3041 unittest.expect(o.kind, unittest.equals('foo')); |
| 3042 unittest.expect(o.logoUrl, unittest.equals('foo')); | 3042 unittest.expect(o.logoUrl, unittest.equals('foo')); |
| 3043 unittest.expect(o.mediaKitLink, unittest.equals('foo')); | 3043 unittest.expect(o.mediaKitLink, unittest.equals('foo')); |
| 3044 unittest.expect(o.name, unittest.equals('foo')); | 3044 unittest.expect(o.name, unittest.equals('foo')); |
| 3045 unittest.expect(o.overview, unittest.equals('foo')); | 3045 unittest.expect(o.overview, unittest.equals('foo')); |
| 3046 unittest.expect(o.profileId, unittest.equals(42)); | 3046 unittest.expect(o.profileId, unittest.equals(42)); |
| 3047 unittest.expect(o.programmaticContact, unittest.equals('foo')); | 3047 unittest.expect(o.programmaticContact, unittest.equals('foo')); |
| 3048 checkUnnamed1895(o.publisherDomains); | 3048 checkUnnamed1989(o.publisherDomains); |
| 3049 unittest.expect(o.publisherProfileId, unittest.equals('foo')); | 3049 unittest.expect(o.publisherProfileId, unittest.equals('foo')); |
| 3050 checkPublisherProvidedForecast(o.publisherProvidedForecast); | 3050 checkPublisherProvidedForecast(o.publisherProvidedForecast); |
| 3051 unittest.expect(o.rateCardInfoLink, unittest.equals('foo')); | 3051 unittest.expect(o.rateCardInfoLink, unittest.equals('foo')); |
| 3052 unittest.expect(o.samplePageLink, unittest.equals('foo')); | 3052 unittest.expect(o.samplePageLink, unittest.equals('foo')); |
| 3053 checkSeller(o.seller); | 3053 checkSeller(o.seller); |
| 3054 unittest.expect(o.state, unittest.equals('foo')); | 3054 unittest.expect(o.state, unittest.equals('foo')); |
| 3055 checkUnnamed1896(o.topHeadlines); | 3055 checkUnnamed1990(o.topHeadlines); |
| 3056 } | 3056 } |
| 3057 buildCounterPublisherProfileApiProto--; | 3057 buildCounterPublisherProfileApiProto--; |
| 3058 } | 3058 } |
| 3059 | 3059 |
| 3060 buildUnnamed1897() { | 3060 buildUnnamed1991() { |
| 3061 var o = new core.List<api.Dimension>(); | 3061 var o = new core.List<api.Dimension>(); |
| 3062 o.add(buildDimension()); | 3062 o.add(buildDimension()); |
| 3063 o.add(buildDimension()); | 3063 o.add(buildDimension()); |
| 3064 return o; | 3064 return o; |
| 3065 } | 3065 } |
| 3066 | 3066 |
| 3067 checkUnnamed1897(core.List<api.Dimension> o) { | 3067 checkUnnamed1991(core.List<api.Dimension> o) { |
| 3068 unittest.expect(o, unittest.hasLength(2)); | 3068 unittest.expect(o, unittest.hasLength(2)); |
| 3069 checkDimension(o[0]); | 3069 checkDimension(o[0]); |
| 3070 checkDimension(o[1]); | 3070 checkDimension(o[1]); |
| 3071 } | 3071 } |
| 3072 | 3072 |
| 3073 core.int buildCounterPublisherProvidedForecast = 0; | 3073 core.int buildCounterPublisherProvidedForecast = 0; |
| 3074 buildPublisherProvidedForecast() { | 3074 buildPublisherProvidedForecast() { |
| 3075 var o = new api.PublisherProvidedForecast(); | 3075 var o = new api.PublisherProvidedForecast(); |
| 3076 buildCounterPublisherProvidedForecast++; | 3076 buildCounterPublisherProvidedForecast++; |
| 3077 if (buildCounterPublisherProvidedForecast < 3) { | 3077 if (buildCounterPublisherProvidedForecast < 3) { |
| 3078 o.dimensions = buildUnnamed1897(); | 3078 o.dimensions = buildUnnamed1991(); |
| 3079 o.weeklyImpressions = "foo"; | 3079 o.weeklyImpressions = "foo"; |
| 3080 o.weeklyUniques = "foo"; | 3080 o.weeklyUniques = "foo"; |
| 3081 } | 3081 } |
| 3082 buildCounterPublisherProvidedForecast--; | 3082 buildCounterPublisherProvidedForecast--; |
| 3083 return o; | 3083 return o; |
| 3084 } | 3084 } |
| 3085 | 3085 |
| 3086 checkPublisherProvidedForecast(api.PublisherProvidedForecast o) { | 3086 checkPublisherProvidedForecast(api.PublisherProvidedForecast o) { |
| 3087 buildCounterPublisherProvidedForecast++; | 3087 buildCounterPublisherProvidedForecast++; |
| 3088 if (buildCounterPublisherProvidedForecast < 3) { | 3088 if (buildCounterPublisherProvidedForecast < 3) { |
| 3089 checkUnnamed1897(o.dimensions); | 3089 checkUnnamed1991(o.dimensions); |
| 3090 unittest.expect(o.weeklyImpressions, unittest.equals('foo')); | 3090 unittest.expect(o.weeklyImpressions, unittest.equals('foo')); |
| 3091 unittest.expect(o.weeklyUniques, unittest.equals('foo')); | 3091 unittest.expect(o.weeklyUniques, unittest.equals('foo')); |
| 3092 } | 3092 } |
| 3093 buildCounterPublisherProvidedForecast--; | 3093 buildCounterPublisherProvidedForecast--; |
| 3094 } | 3094 } |
| 3095 | 3095 |
| 3096 core.int buildCounterSeller = 0; | 3096 core.int buildCounterSeller = 0; |
| 3097 buildSeller() { | 3097 buildSeller() { |
| 3098 var o = new api.Seller(); | 3098 var o = new api.Seller(); |
| 3099 buildCounterSeller++; | 3099 buildCounterSeller++; |
| 3100 if (buildCounterSeller < 3) { | 3100 if (buildCounterSeller < 3) { |
| 3101 o.accountId = "foo"; | 3101 o.accountId = "foo"; |
| 3102 o.subAccountId = "foo"; | 3102 o.subAccountId = "foo"; |
| 3103 } | 3103 } |
| 3104 buildCounterSeller--; | 3104 buildCounterSeller--; |
| 3105 return o; | 3105 return o; |
| 3106 } | 3106 } |
| 3107 | 3107 |
| 3108 checkSeller(api.Seller o) { | 3108 checkSeller(api.Seller o) { |
| 3109 buildCounterSeller++; | 3109 buildCounterSeller++; |
| 3110 if (buildCounterSeller < 3) { | 3110 if (buildCounterSeller < 3) { |
| 3111 unittest.expect(o.accountId, unittest.equals('foo')); | 3111 unittest.expect(o.accountId, unittest.equals('foo')); |
| 3112 unittest.expect(o.subAccountId, unittest.equals('foo')); | 3112 unittest.expect(o.subAccountId, unittest.equals('foo')); |
| 3113 } | 3113 } |
| 3114 buildCounterSeller--; | 3114 buildCounterSeller--; |
| 3115 } | 3115 } |
| 3116 | 3116 |
| 3117 buildUnnamed1898() { | 3117 buildUnnamed1992() { |
| 3118 var o = new core.List<api.TargetingValue>(); | 3118 var o = new core.List<api.TargetingValue>(); |
| 3119 o.add(buildTargetingValue()); | 3119 o.add(buildTargetingValue()); |
| 3120 o.add(buildTargetingValue()); | 3120 o.add(buildTargetingValue()); |
| 3121 return o; | 3121 return o; |
| 3122 } | 3122 } |
| 3123 | 3123 |
| 3124 checkUnnamed1898(core.List<api.TargetingValue> o) { | 3124 checkUnnamed1992(core.List<api.TargetingValue> o) { |
| 3125 unittest.expect(o, unittest.hasLength(2)); | 3125 unittest.expect(o, unittest.hasLength(2)); |
| 3126 checkTargetingValue(o[0]); | 3126 checkTargetingValue(o[0]); |
| 3127 checkTargetingValue(o[1]); | 3127 checkTargetingValue(o[1]); |
| 3128 } | 3128 } |
| 3129 | 3129 |
| 3130 buildUnnamed1899() { | 3130 buildUnnamed1993() { |
| 3131 var o = new core.List<api.TargetingValue>(); | 3131 var o = new core.List<api.TargetingValue>(); |
| 3132 o.add(buildTargetingValue()); | 3132 o.add(buildTargetingValue()); |
| 3133 o.add(buildTargetingValue()); | 3133 o.add(buildTargetingValue()); |
| 3134 return o; | 3134 return o; |
| 3135 } | 3135 } |
| 3136 | 3136 |
| 3137 checkUnnamed1899(core.List<api.TargetingValue> o) { | 3137 checkUnnamed1993(core.List<api.TargetingValue> o) { |
| 3138 unittest.expect(o, unittest.hasLength(2)); | 3138 unittest.expect(o, unittest.hasLength(2)); |
| 3139 checkTargetingValue(o[0]); | 3139 checkTargetingValue(o[0]); |
| 3140 checkTargetingValue(o[1]); | 3140 checkTargetingValue(o[1]); |
| 3141 } | 3141 } |
| 3142 | 3142 |
| 3143 core.int buildCounterSharedTargeting = 0; | 3143 core.int buildCounterSharedTargeting = 0; |
| 3144 buildSharedTargeting() { | 3144 buildSharedTargeting() { |
| 3145 var o = new api.SharedTargeting(); | 3145 var o = new api.SharedTargeting(); |
| 3146 buildCounterSharedTargeting++; | 3146 buildCounterSharedTargeting++; |
| 3147 if (buildCounterSharedTargeting < 3) { | 3147 if (buildCounterSharedTargeting < 3) { |
| 3148 o.exclusions = buildUnnamed1898(); | 3148 o.exclusions = buildUnnamed1992(); |
| 3149 o.inclusions = buildUnnamed1899(); | 3149 o.inclusions = buildUnnamed1993(); |
| 3150 o.key = "foo"; | 3150 o.key = "foo"; |
| 3151 } | 3151 } |
| 3152 buildCounterSharedTargeting--; | 3152 buildCounterSharedTargeting--; |
| 3153 return o; | 3153 return o; |
| 3154 } | 3154 } |
| 3155 | 3155 |
| 3156 checkSharedTargeting(api.SharedTargeting o) { | 3156 checkSharedTargeting(api.SharedTargeting o) { |
| 3157 buildCounterSharedTargeting++; | 3157 buildCounterSharedTargeting++; |
| 3158 if (buildCounterSharedTargeting < 3) { | 3158 if (buildCounterSharedTargeting < 3) { |
| 3159 checkUnnamed1898(o.exclusions); | 3159 checkUnnamed1992(o.exclusions); |
| 3160 checkUnnamed1899(o.inclusions); | 3160 checkUnnamed1993(o.inclusions); |
| 3161 unittest.expect(o.key, unittest.equals('foo')); | 3161 unittest.expect(o.key, unittest.equals('foo')); |
| 3162 } | 3162 } |
| 3163 buildCounterSharedTargeting--; | 3163 buildCounterSharedTargeting--; |
| 3164 } | 3164 } |
| 3165 | 3165 |
| 3166 core.int buildCounterTargetingValue = 0; | 3166 core.int buildCounterTargetingValue = 0; |
| 3167 buildTargetingValue() { | 3167 buildTargetingValue() { |
| 3168 var o = new api.TargetingValue(); | 3168 var o = new api.TargetingValue(); |
| 3169 buildCounterTargetingValue++; | 3169 buildCounterTargetingValue++; |
| 3170 if (buildCounterTargetingValue < 3) { | 3170 if (buildCounterTargetingValue < 3) { |
| (...skipping 10 matching lines...) Expand all Loading... |
| 3181 buildCounterTargetingValue++; | 3181 buildCounterTargetingValue++; |
| 3182 if (buildCounterTargetingValue < 3) { | 3182 if (buildCounterTargetingValue < 3) { |
| 3183 checkTargetingValueCreativeSize(o.creativeSizeValue); | 3183 checkTargetingValueCreativeSize(o.creativeSizeValue); |
| 3184 checkTargetingValueDayPartTargeting(o.dayPartTargetingValue); | 3184 checkTargetingValueDayPartTargeting(o.dayPartTargetingValue); |
| 3185 unittest.expect(o.longValue, unittest.equals('foo')); | 3185 unittest.expect(o.longValue, unittest.equals('foo')); |
| 3186 unittest.expect(o.stringValue, unittest.equals('foo')); | 3186 unittest.expect(o.stringValue, unittest.equals('foo')); |
| 3187 } | 3187 } |
| 3188 buildCounterTargetingValue--; | 3188 buildCounterTargetingValue--; |
| 3189 } | 3189 } |
| 3190 | 3190 |
| 3191 buildUnnamed1900() { | 3191 buildUnnamed1994() { |
| 3192 var o = new core.List<api.TargetingValueSize>(); | 3192 var o = new core.List<api.TargetingValueSize>(); |
| 3193 o.add(buildTargetingValueSize()); | 3193 o.add(buildTargetingValueSize()); |
| 3194 o.add(buildTargetingValueSize()); | 3194 o.add(buildTargetingValueSize()); |
| 3195 return o; | 3195 return o; |
| 3196 } | 3196 } |
| 3197 | 3197 |
| 3198 checkUnnamed1900(core.List<api.TargetingValueSize> o) { | 3198 checkUnnamed1994(core.List<api.TargetingValueSize> o) { |
| 3199 unittest.expect(o, unittest.hasLength(2)); | 3199 unittest.expect(o, unittest.hasLength(2)); |
| 3200 checkTargetingValueSize(o[0]); | 3200 checkTargetingValueSize(o[0]); |
| 3201 checkTargetingValueSize(o[1]); | 3201 checkTargetingValueSize(o[1]); |
| 3202 } | 3202 } |
| 3203 | 3203 |
| 3204 core.int buildCounterTargetingValueCreativeSize = 0; | 3204 core.int buildCounterTargetingValueCreativeSize = 0; |
| 3205 buildTargetingValueCreativeSize() { | 3205 buildTargetingValueCreativeSize() { |
| 3206 var o = new api.TargetingValueCreativeSize(); | 3206 var o = new api.TargetingValueCreativeSize(); |
| 3207 buildCounterTargetingValueCreativeSize++; | 3207 buildCounterTargetingValueCreativeSize++; |
| 3208 if (buildCounterTargetingValueCreativeSize < 3) { | 3208 if (buildCounterTargetingValueCreativeSize < 3) { |
| 3209 o.companionSizes = buildUnnamed1900(); | 3209 o.companionSizes = buildUnnamed1994(); |
| 3210 o.creativeSizeType = "foo"; | 3210 o.creativeSizeType = "foo"; |
| 3211 o.size = buildTargetingValueSize(); | 3211 o.size = buildTargetingValueSize(); |
| 3212 o.skippableAdType = "foo"; | 3212 o.skippableAdType = "foo"; |
| 3213 } | 3213 } |
| 3214 buildCounterTargetingValueCreativeSize--; | 3214 buildCounterTargetingValueCreativeSize--; |
| 3215 return o; | 3215 return o; |
| 3216 } | 3216 } |
| 3217 | 3217 |
| 3218 checkTargetingValueCreativeSize(api.TargetingValueCreativeSize o) { | 3218 checkTargetingValueCreativeSize(api.TargetingValueCreativeSize o) { |
| 3219 buildCounterTargetingValueCreativeSize++; | 3219 buildCounterTargetingValueCreativeSize++; |
| 3220 if (buildCounterTargetingValueCreativeSize < 3) { | 3220 if (buildCounterTargetingValueCreativeSize < 3) { |
| 3221 checkUnnamed1900(o.companionSizes); | 3221 checkUnnamed1994(o.companionSizes); |
| 3222 unittest.expect(o.creativeSizeType, unittest.equals('foo')); | 3222 unittest.expect(o.creativeSizeType, unittest.equals('foo')); |
| 3223 checkTargetingValueSize(o.size); | 3223 checkTargetingValueSize(o.size); |
| 3224 unittest.expect(o.skippableAdType, unittest.equals('foo')); | 3224 unittest.expect(o.skippableAdType, unittest.equals('foo')); |
| 3225 } | 3225 } |
| 3226 buildCounterTargetingValueCreativeSize--; | 3226 buildCounterTargetingValueCreativeSize--; |
| 3227 } | 3227 } |
| 3228 | 3228 |
| 3229 buildUnnamed1901() { | 3229 buildUnnamed1995() { |
| 3230 var o = new core.List<api.TargetingValueDayPartTargetingDayPart>(); | 3230 var o = new core.List<api.TargetingValueDayPartTargetingDayPart>(); |
| 3231 o.add(buildTargetingValueDayPartTargetingDayPart()); | 3231 o.add(buildTargetingValueDayPartTargetingDayPart()); |
| 3232 o.add(buildTargetingValueDayPartTargetingDayPart()); | 3232 o.add(buildTargetingValueDayPartTargetingDayPart()); |
| 3233 return o; | 3233 return o; |
| 3234 } | 3234 } |
| 3235 | 3235 |
| 3236 checkUnnamed1901(core.List<api.TargetingValueDayPartTargetingDayPart> o) { | 3236 checkUnnamed1995(core.List<api.TargetingValueDayPartTargetingDayPart> o) { |
| 3237 unittest.expect(o, unittest.hasLength(2)); | 3237 unittest.expect(o, unittest.hasLength(2)); |
| 3238 checkTargetingValueDayPartTargetingDayPart(o[0]); | 3238 checkTargetingValueDayPartTargetingDayPart(o[0]); |
| 3239 checkTargetingValueDayPartTargetingDayPart(o[1]); | 3239 checkTargetingValueDayPartTargetingDayPart(o[1]); |
| 3240 } | 3240 } |
| 3241 | 3241 |
| 3242 core.int buildCounterTargetingValueDayPartTargeting = 0; | 3242 core.int buildCounterTargetingValueDayPartTargeting = 0; |
| 3243 buildTargetingValueDayPartTargeting() { | 3243 buildTargetingValueDayPartTargeting() { |
| 3244 var o = new api.TargetingValueDayPartTargeting(); | 3244 var o = new api.TargetingValueDayPartTargeting(); |
| 3245 buildCounterTargetingValueDayPartTargeting++; | 3245 buildCounterTargetingValueDayPartTargeting++; |
| 3246 if (buildCounterTargetingValueDayPartTargeting < 3) { | 3246 if (buildCounterTargetingValueDayPartTargeting < 3) { |
| 3247 o.dayParts = buildUnnamed1901(); | 3247 o.dayParts = buildUnnamed1995(); |
| 3248 o.timeZoneType = "foo"; | 3248 o.timeZoneType = "foo"; |
| 3249 } | 3249 } |
| 3250 buildCounterTargetingValueDayPartTargeting--; | 3250 buildCounterTargetingValueDayPartTargeting--; |
| 3251 return o; | 3251 return o; |
| 3252 } | 3252 } |
| 3253 | 3253 |
| 3254 checkTargetingValueDayPartTargeting(api.TargetingValueDayPartTargeting o) { | 3254 checkTargetingValueDayPartTargeting(api.TargetingValueDayPartTargeting o) { |
| 3255 buildCounterTargetingValueDayPartTargeting++; | 3255 buildCounterTargetingValueDayPartTargeting++; |
| 3256 if (buildCounterTargetingValueDayPartTargeting < 3) { | 3256 if (buildCounterTargetingValueDayPartTargeting < 3) { |
| 3257 checkUnnamed1901(o.dayParts); | 3257 checkUnnamed1995(o.dayParts); |
| 3258 unittest.expect(o.timeZoneType, unittest.equals('foo')); | 3258 unittest.expect(o.timeZoneType, unittest.equals('foo')); |
| 3259 } | 3259 } |
| 3260 buildCounterTargetingValueDayPartTargeting--; | 3260 buildCounterTargetingValueDayPartTargeting--; |
| 3261 } | 3261 } |
| 3262 | 3262 |
| 3263 core.int buildCounterTargetingValueDayPartTargetingDayPart = 0; | 3263 core.int buildCounterTargetingValueDayPartTargetingDayPart = 0; |
| 3264 buildTargetingValueDayPartTargetingDayPart() { | 3264 buildTargetingValueDayPartTargetingDayPart() { |
| 3265 var o = new api.TargetingValueDayPartTargetingDayPart(); | 3265 var o = new api.TargetingValueDayPartTargetingDayPart(); |
| 3266 buildCounterTargetingValueDayPartTargetingDayPart++; | 3266 buildCounterTargetingValueDayPartTargetingDayPart++; |
| 3267 if (buildCounterTargetingValueDayPartTargetingDayPart < 3) { | 3267 if (buildCounterTargetingValueDayPartTargetingDayPart < 3) { |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3326 buildCounterUpdatePrivateAuctionProposalRequest++; | 3326 buildCounterUpdatePrivateAuctionProposalRequest++; |
| 3327 if (buildCounterUpdatePrivateAuctionProposalRequest < 3) { | 3327 if (buildCounterUpdatePrivateAuctionProposalRequest < 3) { |
| 3328 unittest.expect(o.externalDealId, unittest.equals('foo')); | 3328 unittest.expect(o.externalDealId, unittest.equals('foo')); |
| 3329 checkMarketplaceNote(o.note); | 3329 checkMarketplaceNote(o.note); |
| 3330 unittest.expect(o.proposalRevisionNumber, unittest.equals('foo')); | 3330 unittest.expect(o.proposalRevisionNumber, unittest.equals('foo')); |
| 3331 unittest.expect(o.updateAction, unittest.equals('foo')); | 3331 unittest.expect(o.updateAction, unittest.equals('foo')); |
| 3332 } | 3332 } |
| 3333 buildCounterUpdatePrivateAuctionProposalRequest--; | 3333 buildCounterUpdatePrivateAuctionProposalRequest--; |
| 3334 } | 3334 } |
| 3335 | 3335 |
| 3336 buildUnnamed1902() { | 3336 buildUnnamed1996() { |
| 3337 var o = new core.List<core.int>(); | 3337 var o = new core.List<core.int>(); |
| 3338 o.add(42); | 3338 o.add(42); |
| 3339 o.add(42); | 3339 o.add(42); |
| 3340 return o; | 3340 return o; |
| 3341 } | 3341 } |
| 3342 | 3342 |
| 3343 checkUnnamed1902(core.List<core.int> o) { | 3343 checkUnnamed1996(core.List<core.int> o) { |
| 3344 unittest.expect(o, unittest.hasLength(2)); | 3344 unittest.expect(o, unittest.hasLength(2)); |
| 3345 unittest.expect(o[0], unittest.equals(42)); | 3345 unittest.expect(o[0], unittest.equals(42)); |
| 3346 unittest.expect(o[1], unittest.equals(42)); | 3346 unittest.expect(o[1], unittest.equals(42)); |
| 3347 } | 3347 } |
| 3348 | 3348 |
| 3349 buildUnnamed1903() { | 3349 buildUnnamed1997() { |
| 3350 var o = new core.List<core.String>(); | 3350 var o = new core.List<core.String>(); |
| 3351 o.add("foo"); | 3351 o.add("foo"); |
| 3352 o.add("foo"); | 3352 o.add("foo"); |
| 3353 return o; | 3353 return o; |
| 3354 } | 3354 } |
| 3355 | 3355 |
| 3356 checkUnnamed1903(core.List<core.String> o) { | 3356 checkUnnamed1997(core.List<core.String> o) { |
| 3357 unittest.expect(o, unittest.hasLength(2)); | 3357 unittest.expect(o, unittest.hasLength(2)); |
| 3358 unittest.expect(o[0], unittest.equals('foo')); | 3358 unittest.expect(o[0], unittest.equals('foo')); |
| 3359 unittest.expect(o[1], unittest.equals('foo')); | 3359 unittest.expect(o[1], unittest.equals('foo')); |
| 3360 } | 3360 } |
| 3361 | 3361 |
| 3362 | 3362 |
| 3363 main() { | 3363 main() { |
| 3364 unittest.group("obj-schema-AccountBidderLocation", () { | 3364 unittest.group("obj-schema-AccountBidderLocation", () { |
| 3365 unittest.test("to-json--from-json", () { | 3365 unittest.test("to-json--from-json", () { |
| 3366 var o = buildAccountBidderLocation(); | 3366 var o = buildAccountBidderLocation(); |
| (...skipping 1343 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4710 }), true); | 4710 }), true); |
| 4711 res.insert(arg_request).then(unittest.expectAsync(((api.Creative response)
{ | 4711 res.insert(arg_request).then(unittest.expectAsync(((api.Creative response)
{ |
| 4712 checkCreative(response); | 4712 checkCreative(response); |
| 4713 }))); | 4713 }))); |
| 4714 }); | 4714 }); |
| 4715 | 4715 |
| 4716 unittest.test("method--list", () { | 4716 unittest.test("method--list", () { |
| 4717 | 4717 |
| 4718 var mock = new HttpServerMock(); | 4718 var mock = new HttpServerMock(); |
| 4719 api.CreativesResourceApi res = new api.AdexchangebuyerApi(mock).creatives; | 4719 api.CreativesResourceApi res = new api.AdexchangebuyerApi(mock).creatives; |
| 4720 var arg_accountId = buildUnnamed1902(); | 4720 var arg_accountId = buildUnnamed1996(); |
| 4721 var arg_buyerCreativeId = buildUnnamed1903(); | 4721 var arg_buyerCreativeId = buildUnnamed1997(); |
| 4722 var arg_dealsStatusFilter = "foo"; | 4722 var arg_dealsStatusFilter = "foo"; |
| 4723 var arg_maxResults = 42; | 4723 var arg_maxResults = 42; |
| 4724 var arg_openAuctionStatusFilter = "foo"; | 4724 var arg_openAuctionStatusFilter = "foo"; |
| 4725 var arg_pageToken = "foo"; | 4725 var arg_pageToken = "foo"; |
| 4726 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 4726 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 4727 var path = (req.url).path; | 4727 var path = (req.url).path; |
| 4728 var pathOffset = 0; | 4728 var pathOffset = 0; |
| 4729 var index; | 4729 var index; |
| 4730 var subPart; | 4730 var subPart; |
| 4731 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 4731 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) { | 6191 res.list(arg_accountId).then(unittest.expectAsync(((api.GetPublisherProfil
esByAccountIdResponse response) { |
| 6192 checkGetPublisherProfilesByAccountIdResponse(response); | 6192 checkGetPublisherProfilesByAccountIdResponse(response); |
| 6193 }))); | 6193 }))); |
| 6194 }); | 6194 }); |
| 6195 | 6195 |
| 6196 }); | 6196 }); |
| 6197 | 6197 |
| 6198 | 6198 |
| 6199 } | 6199 } |
| 6200 | 6200 |
| OLD | NEW |