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