| OLD | NEW |
| 1 library googleapis.playmoviespartner.v1.test; | 1 library googleapis.playmoviespartner.v1.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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 44 } | 44 } |
| 45 } | 45 } |
| 46 } | 46 } |
| 47 | 47 |
| 48 http.StreamedResponse stringResponse( | 48 http.StreamedResponse stringResponse( |
| 49 core.int status, core.Map headers, core.String body) { | 49 core.int status, core.Map headers, core.String body) { |
| 50 var stream = new async.Stream.fromIterable([convert.UTF8.encode(body)]); | 50 var stream = new async.Stream.fromIterable([convert.UTF8.encode(body)]); |
| 51 return new http.StreamedResponse(stream, status, headers: headers); | 51 return new http.StreamedResponse(stream, status, headers: headers); |
| 52 } | 52 } |
| 53 | 53 |
| 54 buildUnnamed3415() { | 54 buildUnnamed3229() { |
| 55 var o = new core.List<core.String>(); | 55 var o = new core.List<core.String>(); |
| 56 o.add("foo"); | 56 o.add("foo"); |
| 57 o.add("foo"); | 57 o.add("foo"); |
| 58 return o; | 58 return o; |
| 59 } | 59 } |
| 60 | 60 |
| 61 checkUnnamed3415(core.List<core.String> o) { | 61 checkUnnamed3229(core.List<core.String> o) { |
| 62 unittest.expect(o, unittest.hasLength(2)); | 62 unittest.expect(o, unittest.hasLength(2)); |
| 63 unittest.expect(o[0], unittest.equals('foo')); | 63 unittest.expect(o[0], unittest.equals('foo')); |
| 64 unittest.expect(o[1], unittest.equals('foo')); | 64 unittest.expect(o[1], unittest.equals('foo')); |
| 65 } | 65 } |
| 66 | 66 |
| 67 core.int buildCounterAvail = 0; | 67 core.int buildCounterAvail = 0; |
| 68 buildAvail() { | 68 buildAvail() { |
| 69 var o = new api.Avail(); | 69 var o = new api.Avail(); |
| 70 buildCounterAvail++; | 70 buildCounterAvail++; |
| 71 if (buildCounterAvail < 3) { | 71 if (buildCounterAvail < 3) { |
| 72 o.altId = "foo"; | 72 o.altId = "foo"; |
| 73 o.availId = "foo"; | 73 o.availId = "foo"; |
| 74 o.captionExemption = "foo"; | 74 o.captionExemption = "foo"; |
| 75 o.captionIncluded = true; | 75 o.captionIncluded = true; |
| 76 o.contentId = "foo"; | 76 o.contentId = "foo"; |
| 77 o.displayName = "foo"; | 77 o.displayName = "foo"; |
| 78 o.encodeId = "foo"; | 78 o.encodeId = "foo"; |
| 79 o.end = "foo"; | 79 o.end = "foo"; |
| 80 o.episodeAltId = "foo"; | 80 o.episodeAltId = "foo"; |
| 81 o.episodeNumber = "foo"; | 81 o.episodeNumber = "foo"; |
| 82 o.episodeTitleInternalAlias = "foo"; | 82 o.episodeTitleInternalAlias = "foo"; |
| 83 o.formatProfile = "foo"; | 83 o.formatProfile = "foo"; |
| 84 o.licenseType = "foo"; | 84 o.licenseType = "foo"; |
| 85 o.pphNames = buildUnnamed3415(); | 85 o.pphNames = buildUnnamed3229(); |
| 86 o.priceType = "foo"; | 86 o.priceType = "foo"; |
| 87 o.priceValue = "foo"; | 87 o.priceValue = "foo"; |
| 88 o.productId = "foo"; | 88 o.productId = "foo"; |
| 89 o.ratingReason = "foo"; | 89 o.ratingReason = "foo"; |
| 90 o.ratingSystem = "foo"; | 90 o.ratingSystem = "foo"; |
| 91 o.ratingValue = "foo"; | 91 o.ratingValue = "foo"; |
| 92 o.releaseDate = "foo"; | 92 o.releaseDate = "foo"; |
| 93 o.seasonAltId = "foo"; | 93 o.seasonAltId = "foo"; |
| 94 o.seasonNumber = "foo"; | 94 o.seasonNumber = "foo"; |
| 95 o.seasonTitleInternalAlias = "foo"; | 95 o.seasonTitleInternalAlias = "foo"; |
| (...skipping 20 matching lines...) Expand all Loading... |
| 116 unittest.expect(o.captionIncluded, unittest.isTrue); | 116 unittest.expect(o.captionIncluded, unittest.isTrue); |
| 117 unittest.expect(o.contentId, unittest.equals('foo')); | 117 unittest.expect(o.contentId, unittest.equals('foo')); |
| 118 unittest.expect(o.displayName, unittest.equals('foo')); | 118 unittest.expect(o.displayName, unittest.equals('foo')); |
| 119 unittest.expect(o.encodeId, unittest.equals('foo')); | 119 unittest.expect(o.encodeId, unittest.equals('foo')); |
| 120 unittest.expect(o.end, unittest.equals('foo')); | 120 unittest.expect(o.end, unittest.equals('foo')); |
| 121 unittest.expect(o.episodeAltId, unittest.equals('foo')); | 121 unittest.expect(o.episodeAltId, unittest.equals('foo')); |
| 122 unittest.expect(o.episodeNumber, unittest.equals('foo')); | 122 unittest.expect(o.episodeNumber, unittest.equals('foo')); |
| 123 unittest.expect(o.episodeTitleInternalAlias, unittest.equals('foo')); | 123 unittest.expect(o.episodeTitleInternalAlias, unittest.equals('foo')); |
| 124 unittest.expect(o.formatProfile, unittest.equals('foo')); | 124 unittest.expect(o.formatProfile, unittest.equals('foo')); |
| 125 unittest.expect(o.licenseType, unittest.equals('foo')); | 125 unittest.expect(o.licenseType, unittest.equals('foo')); |
| 126 checkUnnamed3415(o.pphNames); | 126 checkUnnamed3229(o.pphNames); |
| 127 unittest.expect(o.priceType, unittest.equals('foo')); | 127 unittest.expect(o.priceType, unittest.equals('foo')); |
| 128 unittest.expect(o.priceValue, unittest.equals('foo')); | 128 unittest.expect(o.priceValue, unittest.equals('foo')); |
| 129 unittest.expect(o.productId, unittest.equals('foo')); | 129 unittest.expect(o.productId, unittest.equals('foo')); |
| 130 unittest.expect(o.ratingReason, unittest.equals('foo')); | 130 unittest.expect(o.ratingReason, unittest.equals('foo')); |
| 131 unittest.expect(o.ratingSystem, unittest.equals('foo')); | 131 unittest.expect(o.ratingSystem, unittest.equals('foo')); |
| 132 unittest.expect(o.ratingValue, unittest.equals('foo')); | 132 unittest.expect(o.ratingValue, unittest.equals('foo')); |
| 133 unittest.expect(o.releaseDate, unittest.equals('foo')); | 133 unittest.expect(o.releaseDate, unittest.equals('foo')); |
| 134 unittest.expect(o.seasonAltId, unittest.equals('foo')); | 134 unittest.expect(o.seasonAltId, unittest.equals('foo')); |
| 135 unittest.expect(o.seasonNumber, unittest.equals('foo')); | 135 unittest.expect(o.seasonNumber, unittest.equals('foo')); |
| 136 unittest.expect(o.seasonTitleInternalAlias, unittest.equals('foo')); | 136 unittest.expect(o.seasonTitleInternalAlias, unittest.equals('foo')); |
| 137 unittest.expect(o.seriesAltId, unittest.equals('foo')); | 137 unittest.expect(o.seriesAltId, unittest.equals('foo')); |
| 138 unittest.expect(o.seriesTitleInternalAlias, unittest.equals('foo')); | 138 unittest.expect(o.seriesTitleInternalAlias, unittest.equals('foo')); |
| 139 unittest.expect(o.start, unittest.equals('foo')); | 139 unittest.expect(o.start, unittest.equals('foo')); |
| 140 unittest.expect(o.storeLanguage, unittest.equals('foo')); | 140 unittest.expect(o.storeLanguage, unittest.equals('foo')); |
| 141 unittest.expect(o.suppressionLiftDate, unittest.equals('foo')); | 141 unittest.expect(o.suppressionLiftDate, unittest.equals('foo')); |
| 142 unittest.expect(o.territory, unittest.equals('foo')); | 142 unittest.expect(o.territory, unittest.equals('foo')); |
| 143 unittest.expect(o.titleInternalAlias, unittest.equals('foo')); | 143 unittest.expect(o.titleInternalAlias, unittest.equals('foo')); |
| 144 unittest.expect(o.videoId, unittest.equals('foo')); | 144 unittest.expect(o.videoId, unittest.equals('foo')); |
| 145 unittest.expect(o.workType, unittest.equals('foo')); | 145 unittest.expect(o.workType, unittest.equals('foo')); |
| 146 } | 146 } |
| 147 buildCounterAvail--; | 147 buildCounterAvail--; |
| 148 } | 148 } |
| 149 | 149 |
| 150 buildUnnamed3416() { | 150 buildUnnamed3230() { |
| 151 var o = new core.List<core.String>(); | 151 var o = new core.List<core.String>(); |
| 152 o.add("foo"); | 152 o.add("foo"); |
| 153 o.add("foo"); | 153 o.add("foo"); |
| 154 return o; | 154 return o; |
| 155 } | 155 } |
| 156 | 156 |
| 157 checkUnnamed3416(core.List<core.String> o) { | 157 checkUnnamed3230(core.List<core.String> o) { |
| 158 unittest.expect(o, unittest.hasLength(2)); | 158 unittest.expect(o, unittest.hasLength(2)); |
| 159 unittest.expect(o[0], unittest.equals('foo')); | 159 unittest.expect(o[0], unittest.equals('foo')); |
| 160 unittest.expect(o[1], unittest.equals('foo')); | 160 unittest.expect(o[1], unittest.equals('foo')); |
| 161 } | 161 } |
| 162 | 162 |
| 163 buildUnnamed3417() { | 163 buildUnnamed3231() { |
| 164 var o = new core.List<core.String>(); | 164 var o = new core.List<core.String>(); |
| 165 o.add("foo"); | 165 o.add("foo"); |
| 166 o.add("foo"); | 166 o.add("foo"); |
| 167 return o; | 167 return o; |
| 168 } | 168 } |
| 169 | 169 |
| 170 checkUnnamed3417(core.List<core.String> o) { | 170 checkUnnamed3231(core.List<core.String> o) { |
| 171 unittest.expect(o, unittest.hasLength(2)); | 171 unittest.expect(o, unittest.hasLength(2)); |
| 172 unittest.expect(o[0], unittest.equals('foo')); | 172 unittest.expect(o[0], unittest.equals('foo')); |
| 173 unittest.expect(o[1], unittest.equals('foo')); | 173 unittest.expect(o[1], unittest.equals('foo')); |
| 174 } | 174 } |
| 175 | 175 |
| 176 buildUnnamed3418() { | 176 buildUnnamed3232() { |
| 177 var o = new core.List<core.String>(); | 177 var o = new core.List<core.String>(); |
| 178 o.add("foo"); | 178 o.add("foo"); |
| 179 o.add("foo"); | 179 o.add("foo"); |
| 180 return o; | 180 return o; |
| 181 } | 181 } |
| 182 | 182 |
| 183 checkUnnamed3418(core.List<core.String> o) { | 183 checkUnnamed3232(core.List<core.String> o) { |
| 184 unittest.expect(o, unittest.hasLength(2)); | 184 unittest.expect(o, unittest.hasLength(2)); |
| 185 unittest.expect(o[0], unittest.equals('foo')); | 185 unittest.expect(o[0], unittest.equals('foo')); |
| 186 unittest.expect(o[1], unittest.equals('foo')); | 186 unittest.expect(o[1], unittest.equals('foo')); |
| 187 } | 187 } |
| 188 | 188 |
| 189 buildUnnamed3419() { | 189 buildUnnamed3233() { |
| 190 var o = new core.List<core.String>(); | 190 var o = new core.List<core.String>(); |
| 191 o.add("foo"); | 191 o.add("foo"); |
| 192 o.add("foo"); | 192 o.add("foo"); |
| 193 return o; | 193 return o; |
| 194 } | 194 } |
| 195 | 195 |
| 196 checkUnnamed3419(core.List<core.String> o) { | 196 checkUnnamed3233(core.List<core.String> o) { |
| 197 unittest.expect(o, unittest.hasLength(2)); | 197 unittest.expect(o, unittest.hasLength(2)); |
| 198 unittest.expect(o[0], unittest.equals('foo')); | 198 unittest.expect(o[0], unittest.equals('foo')); |
| 199 unittest.expect(o[1], unittest.equals('foo')); | 199 unittest.expect(o[1], unittest.equals('foo')); |
| 200 } | 200 } |
| 201 | 201 |
| 202 buildUnnamed3420() { | 202 buildUnnamed3234() { |
| 203 var o = new core.List<core.String>(); | 203 var o = new core.List<core.String>(); |
| 204 o.add("foo"); | 204 o.add("foo"); |
| 205 o.add("foo"); | 205 o.add("foo"); |
| 206 return o; | 206 return o; |
| 207 } | 207 } |
| 208 | 208 |
| 209 checkUnnamed3420(core.List<core.String> o) { | 209 checkUnnamed3234(core.List<core.String> o) { |
| 210 unittest.expect(o, unittest.hasLength(2)); | 210 unittest.expect(o, unittest.hasLength(2)); |
| 211 unittest.expect(o[0], unittest.equals('foo')); | 211 unittest.expect(o[0], unittest.equals('foo')); |
| 212 unittest.expect(o[1], unittest.equals('foo')); | 212 unittest.expect(o[1], unittest.equals('foo')); |
| 213 } | 213 } |
| 214 | 214 |
| 215 buildUnnamed3421() { | 215 buildUnnamed3235() { |
| 216 var o = new core.List<core.String>(); | 216 var o = new core.List<core.String>(); |
| 217 o.add("foo"); | 217 o.add("foo"); |
| 218 o.add("foo"); | 218 o.add("foo"); |
| 219 return o; | 219 return o; |
| 220 } | 220 } |
| 221 | 221 |
| 222 checkUnnamed3421(core.List<core.String> o) { | 222 checkUnnamed3235(core.List<core.String> o) { |
| 223 unittest.expect(o, unittest.hasLength(2)); | 223 unittest.expect(o, unittest.hasLength(2)); |
| 224 unittest.expect(o[0], unittest.equals('foo')); | 224 unittest.expect(o[0], unittest.equals('foo')); |
| 225 unittest.expect(o[1], unittest.equals('foo')); | 225 unittest.expect(o[1], unittest.equals('foo')); |
| 226 } | 226 } |
| 227 | 227 |
| 228 core.int buildCounterComponent = 0; | 228 core.int buildCounterComponent = 0; |
| 229 buildComponent() { | 229 buildComponent() { |
| 230 var o = new api.Component(); | 230 var o = new api.Component(); |
| 231 buildCounterComponent++; | 231 buildCounterComponent++; |
| 232 if (buildCounterComponent < 3) { | 232 if (buildCounterComponent < 3) { |
| 233 o.altCutIds = buildUnnamed3416(); | 233 o.altCutIds = buildUnnamed3230(); |
| 234 o.approvedTime = "foo"; | 234 o.approvedTime = "foo"; |
| 235 o.componentDetailType = "foo"; | 235 o.componentDetailType = "foo"; |
| 236 o.componentId = "foo"; | 236 o.componentId = "foo"; |
| 237 o.customIds = buildUnnamed3417(); | 237 o.customIds = buildUnnamed3231(); |
| 238 o.editLevelEidrs = buildUnnamed3418(); | 238 o.editLevelEidrs = buildUnnamed3232(); |
| 239 o.elIds = buildUnnamed3419(); | 239 o.elIds = buildUnnamed3233(); |
| 240 o.filename = "foo"; | 240 o.filename = "foo"; |
| 241 o.language = "foo"; | 241 o.language = "foo"; |
| 242 o.name = "foo"; | 242 o.name = "foo"; |
| 243 o.normalizedPriority = "foo"; | 243 o.normalizedPriority = "foo"; |
| 244 o.playableUnitType = "foo"; | 244 o.playableUnitType = "foo"; |
| 245 o.pphName = "foo"; | 245 o.pphName = "foo"; |
| 246 o.priority = 42.0; | 246 o.priority = 42.0; |
| 247 o.processingErrors = buildUnnamed3420(); | 247 o.processingErrors = buildUnnamed3234(); |
| 248 o.receivedTime = "foo"; | 248 o.receivedTime = "foo"; |
| 249 o.rejectionNote = "foo"; | 249 o.rejectionNote = "foo"; |
| 250 o.status = "foo"; | 250 o.status = "foo"; |
| 251 o.statusDetail = "foo"; | 251 o.statusDetail = "foo"; |
| 252 o.studioName = "foo"; | 252 o.studioName = "foo"; |
| 253 o.titleLevelEidrs = buildUnnamed3421(); | 253 o.titleLevelEidrs = buildUnnamed3235(); |
| 254 o.type = "foo"; | 254 o.type = "foo"; |
| 255 } | 255 } |
| 256 buildCounterComponent--; | 256 buildCounterComponent--; |
| 257 return o; | 257 return o; |
| 258 } | 258 } |
| 259 | 259 |
| 260 checkComponent(api.Component o) { | 260 checkComponent(api.Component o) { |
| 261 buildCounterComponent++; | 261 buildCounterComponent++; |
| 262 if (buildCounterComponent < 3) { | 262 if (buildCounterComponent < 3) { |
| 263 checkUnnamed3416(o.altCutIds); | 263 checkUnnamed3230(o.altCutIds); |
| 264 unittest.expect(o.approvedTime, unittest.equals('foo')); | 264 unittest.expect(o.approvedTime, unittest.equals('foo')); |
| 265 unittest.expect(o.componentDetailType, unittest.equals('foo')); | 265 unittest.expect(o.componentDetailType, unittest.equals('foo')); |
| 266 unittest.expect(o.componentId, unittest.equals('foo')); | 266 unittest.expect(o.componentId, unittest.equals('foo')); |
| 267 checkUnnamed3417(o.customIds); | 267 checkUnnamed3231(o.customIds); |
| 268 checkUnnamed3418(o.editLevelEidrs); | 268 checkUnnamed3232(o.editLevelEidrs); |
| 269 checkUnnamed3419(o.elIds); | 269 checkUnnamed3233(o.elIds); |
| 270 unittest.expect(o.filename, unittest.equals('foo')); | 270 unittest.expect(o.filename, unittest.equals('foo')); |
| 271 unittest.expect(o.language, unittest.equals('foo')); | 271 unittest.expect(o.language, unittest.equals('foo')); |
| 272 unittest.expect(o.name, unittest.equals('foo')); | 272 unittest.expect(o.name, unittest.equals('foo')); |
| 273 unittest.expect(o.normalizedPriority, unittest.equals('foo')); | 273 unittest.expect(o.normalizedPriority, unittest.equals('foo')); |
| 274 unittest.expect(o.playableUnitType, unittest.equals('foo')); | 274 unittest.expect(o.playableUnitType, unittest.equals('foo')); |
| 275 unittest.expect(o.pphName, unittest.equals('foo')); | 275 unittest.expect(o.pphName, unittest.equals('foo')); |
| 276 unittest.expect(o.priority, unittest.equals(42.0)); | 276 unittest.expect(o.priority, unittest.equals(42.0)); |
| 277 checkUnnamed3420(o.processingErrors); | 277 checkUnnamed3234(o.processingErrors); |
| 278 unittest.expect(o.receivedTime, unittest.equals('foo')); | 278 unittest.expect(o.receivedTime, unittest.equals('foo')); |
| 279 unittest.expect(o.rejectionNote, unittest.equals('foo')); | 279 unittest.expect(o.rejectionNote, unittest.equals('foo')); |
| 280 unittest.expect(o.status, unittest.equals('foo')); | 280 unittest.expect(o.status, unittest.equals('foo')); |
| 281 unittest.expect(o.statusDetail, unittest.equals('foo')); | 281 unittest.expect(o.statusDetail, unittest.equals('foo')); |
| 282 unittest.expect(o.studioName, unittest.equals('foo')); | 282 unittest.expect(o.studioName, unittest.equals('foo')); |
| 283 checkUnnamed3421(o.titleLevelEidrs); | 283 checkUnnamed3235(o.titleLevelEidrs); |
| 284 unittest.expect(o.type, unittest.equals('foo')); | 284 unittest.expect(o.type, unittest.equals('foo')); |
| 285 } | 285 } |
| 286 buildCounterComponent--; | 286 buildCounterComponent--; |
| 287 } | 287 } |
| 288 | 288 |
| 289 buildUnnamed3422() { | 289 buildUnnamed3236() { |
| 290 var o = new core.List<core.String>(); | 290 var o = new core.List<core.String>(); |
| 291 o.add("foo"); | 291 o.add("foo"); |
| 292 o.add("foo"); | 292 o.add("foo"); |
| 293 return o; | 293 return o; |
| 294 } | 294 } |
| 295 | 295 |
| 296 checkUnnamed3422(core.List<core.String> o) { | 296 checkUnnamed3236(core.List<core.String> o) { |
| 297 unittest.expect(o, unittest.hasLength(2)); | 297 unittest.expect(o, unittest.hasLength(2)); |
| 298 unittest.expect(o[0], unittest.equals('foo')); | 298 unittest.expect(o[0], unittest.equals('foo')); |
| 299 unittest.expect(o[1], unittest.equals('foo')); | 299 unittest.expect(o[1], unittest.equals('foo')); |
| 300 } | 300 } |
| 301 | 301 |
| 302 buildUnnamed3423() { | 302 buildUnnamed3237() { |
| 303 var o = new core.List<core.String>(); | 303 var o = new core.List<core.String>(); |
| 304 o.add("foo"); | 304 o.add("foo"); |
| 305 o.add("foo"); | 305 o.add("foo"); |
| 306 return o; | 306 return o; |
| 307 } | 307 } |
| 308 | 308 |
| 309 checkUnnamed3423(core.List<core.String> o) { | 309 checkUnnamed3237(core.List<core.String> o) { |
| 310 unittest.expect(o, unittest.hasLength(2)); | 310 unittest.expect(o, unittest.hasLength(2)); |
| 311 unittest.expect(o[0], unittest.equals('foo')); | 311 unittest.expect(o[0], unittest.equals('foo')); |
| 312 unittest.expect(o[1], unittest.equals('foo')); | 312 unittest.expect(o[1], unittest.equals('foo')); |
| 313 } | 313 } |
| 314 | 314 |
| 315 core.int buildCounterExperienceLocale = 0; | 315 core.int buildCounterExperienceLocale = 0; |
| 316 buildExperienceLocale() { | 316 buildExperienceLocale() { |
| 317 var o = new api.ExperienceLocale(); | 317 var o = new api.ExperienceLocale(); |
| 318 buildCounterExperienceLocale++; | 318 buildCounterExperienceLocale++; |
| 319 if (buildCounterExperienceLocale < 3) { | 319 if (buildCounterExperienceLocale < 3) { |
| 320 o.altCutId = "foo"; | 320 o.altCutId = "foo"; |
| 321 o.approvedTime = "foo"; | 321 o.approvedTime = "foo"; |
| 322 o.channelId = "foo"; | 322 o.channelId = "foo"; |
| 323 o.country = "foo"; | 323 o.country = "foo"; |
| 324 o.createdTime = "foo"; | 324 o.createdTime = "foo"; |
| 325 o.customIds = buildUnnamed3422(); | 325 o.customIds = buildUnnamed3236(); |
| 326 o.earliestAvailStartTime = "foo"; | 326 o.earliestAvailStartTime = "foo"; |
| 327 o.editLevelEidr = "foo"; | 327 o.editLevelEidr = "foo"; |
| 328 o.elId = "foo"; | 328 o.elId = "foo"; |
| 329 o.inventoryId = "foo"; | 329 o.inventoryId = "foo"; |
| 330 o.language = "foo"; | 330 o.language = "foo"; |
| 331 o.name = "foo"; | 331 o.name = "foo"; |
| 332 o.normalizedPriority = "foo"; | 332 o.normalizedPriority = "foo"; |
| 333 o.playableSequenceId = "foo"; | 333 o.playableSequenceId = "foo"; |
| 334 o.pphNames = buildUnnamed3423(); | 334 o.pphNames = buildUnnamed3237(); |
| 335 o.presentationId = "foo"; | 335 o.presentationId = "foo"; |
| 336 o.priority = 42.0; | 336 o.priority = 42.0; |
| 337 o.status = "foo"; | 337 o.status = "foo"; |
| 338 o.studioName = "foo"; | 338 o.studioName = "foo"; |
| 339 o.titleLevelEidr = "foo"; | 339 o.titleLevelEidr = "foo"; |
| 340 o.trailerId = "foo"; | 340 o.trailerId = "foo"; |
| 341 o.type = "foo"; | 341 o.type = "foo"; |
| 342 o.videoId = "foo"; | 342 o.videoId = "foo"; |
| 343 } | 343 } |
| 344 buildCounterExperienceLocale--; | 344 buildCounterExperienceLocale--; |
| 345 return o; | 345 return o; |
| 346 } | 346 } |
| 347 | 347 |
| 348 checkExperienceLocale(api.ExperienceLocale o) { | 348 checkExperienceLocale(api.ExperienceLocale o) { |
| 349 buildCounterExperienceLocale++; | 349 buildCounterExperienceLocale++; |
| 350 if (buildCounterExperienceLocale < 3) { | 350 if (buildCounterExperienceLocale < 3) { |
| 351 unittest.expect(o.altCutId, unittest.equals('foo')); | 351 unittest.expect(o.altCutId, unittest.equals('foo')); |
| 352 unittest.expect(o.approvedTime, unittest.equals('foo')); | 352 unittest.expect(o.approvedTime, unittest.equals('foo')); |
| 353 unittest.expect(o.channelId, unittest.equals('foo')); | 353 unittest.expect(o.channelId, unittest.equals('foo')); |
| 354 unittest.expect(o.country, unittest.equals('foo')); | 354 unittest.expect(o.country, unittest.equals('foo')); |
| 355 unittest.expect(o.createdTime, unittest.equals('foo')); | 355 unittest.expect(o.createdTime, unittest.equals('foo')); |
| 356 checkUnnamed3422(o.customIds); | 356 checkUnnamed3236(o.customIds); |
| 357 unittest.expect(o.earliestAvailStartTime, unittest.equals('foo')); | 357 unittest.expect(o.earliestAvailStartTime, unittest.equals('foo')); |
| 358 unittest.expect(o.editLevelEidr, unittest.equals('foo')); | 358 unittest.expect(o.editLevelEidr, unittest.equals('foo')); |
| 359 unittest.expect(o.elId, unittest.equals('foo')); | 359 unittest.expect(o.elId, unittest.equals('foo')); |
| 360 unittest.expect(o.inventoryId, unittest.equals('foo')); | 360 unittest.expect(o.inventoryId, unittest.equals('foo')); |
| 361 unittest.expect(o.language, unittest.equals('foo')); | 361 unittest.expect(o.language, unittest.equals('foo')); |
| 362 unittest.expect(o.name, unittest.equals('foo')); | 362 unittest.expect(o.name, unittest.equals('foo')); |
| 363 unittest.expect(o.normalizedPriority, unittest.equals('foo')); | 363 unittest.expect(o.normalizedPriority, unittest.equals('foo')); |
| 364 unittest.expect(o.playableSequenceId, unittest.equals('foo')); | 364 unittest.expect(o.playableSequenceId, unittest.equals('foo')); |
| 365 checkUnnamed3423(o.pphNames); | 365 checkUnnamed3237(o.pphNames); |
| 366 unittest.expect(o.presentationId, unittest.equals('foo')); | 366 unittest.expect(o.presentationId, unittest.equals('foo')); |
| 367 unittest.expect(o.priority, unittest.equals(42.0)); | 367 unittest.expect(o.priority, unittest.equals(42.0)); |
| 368 unittest.expect(o.status, unittest.equals('foo')); | 368 unittest.expect(o.status, unittest.equals('foo')); |
| 369 unittest.expect(o.studioName, unittest.equals('foo')); | 369 unittest.expect(o.studioName, unittest.equals('foo')); |
| 370 unittest.expect(o.titleLevelEidr, unittest.equals('foo')); | 370 unittest.expect(o.titleLevelEidr, unittest.equals('foo')); |
| 371 unittest.expect(o.trailerId, unittest.equals('foo')); | 371 unittest.expect(o.trailerId, unittest.equals('foo')); |
| 372 unittest.expect(o.type, unittest.equals('foo')); | 372 unittest.expect(o.type, unittest.equals('foo')); |
| 373 unittest.expect(o.videoId, unittest.equals('foo')); | 373 unittest.expect(o.videoId, unittest.equals('foo')); |
| 374 } | 374 } |
| 375 buildCounterExperienceLocale--; | 375 buildCounterExperienceLocale--; |
| 376 } | 376 } |
| 377 | 377 |
| 378 buildUnnamed3424() { | 378 buildUnnamed3238() { |
| 379 var o = new core.List<api.Avail>(); | 379 var o = new core.List<api.Avail>(); |
| 380 o.add(buildAvail()); | 380 o.add(buildAvail()); |
| 381 o.add(buildAvail()); | 381 o.add(buildAvail()); |
| 382 return o; | 382 return o; |
| 383 } | 383 } |
| 384 | 384 |
| 385 checkUnnamed3424(core.List<api.Avail> o) { | 385 checkUnnamed3238(core.List<api.Avail> o) { |
| 386 unittest.expect(o, unittest.hasLength(2)); | 386 unittest.expect(o, unittest.hasLength(2)); |
| 387 checkAvail(o[0]); | 387 checkAvail(o[0]); |
| 388 checkAvail(o[1]); | 388 checkAvail(o[1]); |
| 389 } | 389 } |
| 390 | 390 |
| 391 core.int buildCounterListAvailsResponse = 0; | 391 core.int buildCounterListAvailsResponse = 0; |
| 392 buildListAvailsResponse() { | 392 buildListAvailsResponse() { |
| 393 var o = new api.ListAvailsResponse(); | 393 var o = new api.ListAvailsResponse(); |
| 394 buildCounterListAvailsResponse++; | 394 buildCounterListAvailsResponse++; |
| 395 if (buildCounterListAvailsResponse < 3) { | 395 if (buildCounterListAvailsResponse < 3) { |
| 396 o.avails = buildUnnamed3424(); | 396 o.avails = buildUnnamed3238(); |
| 397 o.nextPageToken = "foo"; | 397 o.nextPageToken = "foo"; |
| 398 o.totalSize = 42; | 398 o.totalSize = 42; |
| 399 } | 399 } |
| 400 buildCounterListAvailsResponse--; | 400 buildCounterListAvailsResponse--; |
| 401 return o; | 401 return o; |
| 402 } | 402 } |
| 403 | 403 |
| 404 checkListAvailsResponse(api.ListAvailsResponse o) { | 404 checkListAvailsResponse(api.ListAvailsResponse o) { |
| 405 buildCounterListAvailsResponse++; | 405 buildCounterListAvailsResponse++; |
| 406 if (buildCounterListAvailsResponse < 3) { | 406 if (buildCounterListAvailsResponse < 3) { |
| 407 checkUnnamed3424(o.avails); | 407 checkUnnamed3238(o.avails); |
| 408 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 408 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 409 unittest.expect(o.totalSize, unittest.equals(42)); | 409 unittest.expect(o.totalSize, unittest.equals(42)); |
| 410 } | 410 } |
| 411 buildCounterListAvailsResponse--; | 411 buildCounterListAvailsResponse--; |
| 412 } | 412 } |
| 413 | 413 |
| 414 buildUnnamed3425() { | 414 buildUnnamed3239() { |
| 415 var o = new core.List<api.Component>(); | 415 var o = new core.List<api.Component>(); |
| 416 o.add(buildComponent()); | 416 o.add(buildComponent()); |
| 417 o.add(buildComponent()); | 417 o.add(buildComponent()); |
| 418 return o; | 418 return o; |
| 419 } | 419 } |
| 420 | 420 |
| 421 checkUnnamed3425(core.List<api.Component> o) { | 421 checkUnnamed3239(core.List<api.Component> o) { |
| 422 unittest.expect(o, unittest.hasLength(2)); | 422 unittest.expect(o, unittest.hasLength(2)); |
| 423 checkComponent(o[0]); | 423 checkComponent(o[0]); |
| 424 checkComponent(o[1]); | 424 checkComponent(o[1]); |
| 425 } | 425 } |
| 426 | 426 |
| 427 core.int buildCounterListComponentsResponse = 0; | 427 core.int buildCounterListComponentsResponse = 0; |
| 428 buildListComponentsResponse() { | 428 buildListComponentsResponse() { |
| 429 var o = new api.ListComponentsResponse(); | 429 var o = new api.ListComponentsResponse(); |
| 430 buildCounterListComponentsResponse++; | 430 buildCounterListComponentsResponse++; |
| 431 if (buildCounterListComponentsResponse < 3) { | 431 if (buildCounterListComponentsResponse < 3) { |
| 432 o.components = buildUnnamed3425(); | 432 o.components = buildUnnamed3239(); |
| 433 o.nextPageToken = "foo"; | 433 o.nextPageToken = "foo"; |
| 434 o.totalSize = 42; | 434 o.totalSize = 42; |
| 435 } | 435 } |
| 436 buildCounterListComponentsResponse--; | 436 buildCounterListComponentsResponse--; |
| 437 return o; | 437 return o; |
| 438 } | 438 } |
| 439 | 439 |
| 440 checkListComponentsResponse(api.ListComponentsResponse o) { | 440 checkListComponentsResponse(api.ListComponentsResponse o) { |
| 441 buildCounterListComponentsResponse++; | 441 buildCounterListComponentsResponse++; |
| 442 if (buildCounterListComponentsResponse < 3) { | 442 if (buildCounterListComponentsResponse < 3) { |
| 443 checkUnnamed3425(o.components); | 443 checkUnnamed3239(o.components); |
| 444 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 444 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 445 unittest.expect(o.totalSize, unittest.equals(42)); | 445 unittest.expect(o.totalSize, unittest.equals(42)); |
| 446 } | 446 } |
| 447 buildCounterListComponentsResponse--; | 447 buildCounterListComponentsResponse--; |
| 448 } | 448 } |
| 449 | 449 |
| 450 buildUnnamed3426() { | 450 buildUnnamed3240() { |
| 451 var o = new core.List<api.ExperienceLocale>(); | 451 var o = new core.List<api.ExperienceLocale>(); |
| 452 o.add(buildExperienceLocale()); | 452 o.add(buildExperienceLocale()); |
| 453 o.add(buildExperienceLocale()); | 453 o.add(buildExperienceLocale()); |
| 454 return o; | 454 return o; |
| 455 } | 455 } |
| 456 | 456 |
| 457 checkUnnamed3426(core.List<api.ExperienceLocale> o) { | 457 checkUnnamed3240(core.List<api.ExperienceLocale> o) { |
| 458 unittest.expect(o, unittest.hasLength(2)); | 458 unittest.expect(o, unittest.hasLength(2)); |
| 459 checkExperienceLocale(o[0]); | 459 checkExperienceLocale(o[0]); |
| 460 checkExperienceLocale(o[1]); | 460 checkExperienceLocale(o[1]); |
| 461 } | 461 } |
| 462 | 462 |
| 463 core.int buildCounterListExperienceLocalesResponse = 0; | 463 core.int buildCounterListExperienceLocalesResponse = 0; |
| 464 buildListExperienceLocalesResponse() { | 464 buildListExperienceLocalesResponse() { |
| 465 var o = new api.ListExperienceLocalesResponse(); | 465 var o = new api.ListExperienceLocalesResponse(); |
| 466 buildCounterListExperienceLocalesResponse++; | 466 buildCounterListExperienceLocalesResponse++; |
| 467 if (buildCounterListExperienceLocalesResponse < 3) { | 467 if (buildCounterListExperienceLocalesResponse < 3) { |
| 468 o.experienceLocales = buildUnnamed3426(); | 468 o.experienceLocales = buildUnnamed3240(); |
| 469 o.nextPageToken = "foo"; | 469 o.nextPageToken = "foo"; |
| 470 o.totalSize = 42; | 470 o.totalSize = 42; |
| 471 } | 471 } |
| 472 buildCounterListExperienceLocalesResponse--; | 472 buildCounterListExperienceLocalesResponse--; |
| 473 return o; | 473 return o; |
| 474 } | 474 } |
| 475 | 475 |
| 476 checkListExperienceLocalesResponse(api.ListExperienceLocalesResponse o) { | 476 checkListExperienceLocalesResponse(api.ListExperienceLocalesResponse o) { |
| 477 buildCounterListExperienceLocalesResponse++; | 477 buildCounterListExperienceLocalesResponse++; |
| 478 if (buildCounterListExperienceLocalesResponse < 3) { | 478 if (buildCounterListExperienceLocalesResponse < 3) { |
| 479 checkUnnamed3426(o.experienceLocales); | 479 checkUnnamed3240(o.experienceLocales); |
| 480 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 480 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 481 unittest.expect(o.totalSize, unittest.equals(42)); | 481 unittest.expect(o.totalSize, unittest.equals(42)); |
| 482 } | 482 } |
| 483 buildCounterListExperienceLocalesResponse--; | 483 buildCounterListExperienceLocalesResponse--; |
| 484 } | 484 } |
| 485 | 485 |
| 486 buildUnnamed3427() { | 486 buildUnnamed3241() { |
| 487 var o = new core.List<api.Order>(); | 487 var o = new core.List<api.Order>(); |
| 488 o.add(buildOrder()); | 488 o.add(buildOrder()); |
| 489 o.add(buildOrder()); | 489 o.add(buildOrder()); |
| 490 return o; | 490 return o; |
| 491 } | 491 } |
| 492 | 492 |
| 493 checkUnnamed3427(core.List<api.Order> o) { | 493 checkUnnamed3241(core.List<api.Order> o) { |
| 494 unittest.expect(o, unittest.hasLength(2)); | 494 unittest.expect(o, unittest.hasLength(2)); |
| 495 checkOrder(o[0]); | 495 checkOrder(o[0]); |
| 496 checkOrder(o[1]); | 496 checkOrder(o[1]); |
| 497 } | 497 } |
| 498 | 498 |
| 499 core.int buildCounterListOrdersResponse = 0; | 499 core.int buildCounterListOrdersResponse = 0; |
| 500 buildListOrdersResponse() { | 500 buildListOrdersResponse() { |
| 501 var o = new api.ListOrdersResponse(); | 501 var o = new api.ListOrdersResponse(); |
| 502 buildCounterListOrdersResponse++; | 502 buildCounterListOrdersResponse++; |
| 503 if (buildCounterListOrdersResponse < 3) { | 503 if (buildCounterListOrdersResponse < 3) { |
| 504 o.nextPageToken = "foo"; | 504 o.nextPageToken = "foo"; |
| 505 o.orders = buildUnnamed3427(); | 505 o.orders = buildUnnamed3241(); |
| 506 o.totalSize = 42; | 506 o.totalSize = 42; |
| 507 } | 507 } |
| 508 buildCounterListOrdersResponse--; | 508 buildCounterListOrdersResponse--; |
| 509 return o; | 509 return o; |
| 510 } | 510 } |
| 511 | 511 |
| 512 checkListOrdersResponse(api.ListOrdersResponse o) { | 512 checkListOrdersResponse(api.ListOrdersResponse o) { |
| 513 buildCounterListOrdersResponse++; | 513 buildCounterListOrdersResponse++; |
| 514 if (buildCounterListOrdersResponse < 3) { | 514 if (buildCounterListOrdersResponse < 3) { |
| 515 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 515 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 516 checkUnnamed3427(o.orders); | 516 checkUnnamed3241(o.orders); |
| 517 unittest.expect(o.totalSize, unittest.equals(42)); | 517 unittest.expect(o.totalSize, unittest.equals(42)); |
| 518 } | 518 } |
| 519 buildCounterListOrdersResponse--; | 519 buildCounterListOrdersResponse--; |
| 520 } | 520 } |
| 521 | 521 |
| 522 buildUnnamed3428() { | 522 buildUnnamed3242() { |
| 523 var o = new core.List<api.StoreInfo>(); | 523 var o = new core.List<api.StoreInfo>(); |
| 524 o.add(buildStoreInfo()); | 524 o.add(buildStoreInfo()); |
| 525 o.add(buildStoreInfo()); | 525 o.add(buildStoreInfo()); |
| 526 return o; | 526 return o; |
| 527 } | 527 } |
| 528 | 528 |
| 529 checkUnnamed3428(core.List<api.StoreInfo> o) { | 529 checkUnnamed3242(core.List<api.StoreInfo> o) { |
| 530 unittest.expect(o, unittest.hasLength(2)); | 530 unittest.expect(o, unittest.hasLength(2)); |
| 531 checkStoreInfo(o[0]); | 531 checkStoreInfo(o[0]); |
| 532 checkStoreInfo(o[1]); | 532 checkStoreInfo(o[1]); |
| 533 } | 533 } |
| 534 | 534 |
| 535 core.int buildCounterListStoreInfosResponse = 0; | 535 core.int buildCounterListStoreInfosResponse = 0; |
| 536 buildListStoreInfosResponse() { | 536 buildListStoreInfosResponse() { |
| 537 var o = new api.ListStoreInfosResponse(); | 537 var o = new api.ListStoreInfosResponse(); |
| 538 buildCounterListStoreInfosResponse++; | 538 buildCounterListStoreInfosResponse++; |
| 539 if (buildCounterListStoreInfosResponse < 3) { | 539 if (buildCounterListStoreInfosResponse < 3) { |
| 540 o.nextPageToken = "foo"; | 540 o.nextPageToken = "foo"; |
| 541 o.storeInfos = buildUnnamed3428(); | 541 o.storeInfos = buildUnnamed3242(); |
| 542 o.totalSize = 42; | 542 o.totalSize = 42; |
| 543 } | 543 } |
| 544 buildCounterListStoreInfosResponse--; | 544 buildCounterListStoreInfosResponse--; |
| 545 return o; | 545 return o; |
| 546 } | 546 } |
| 547 | 547 |
| 548 checkListStoreInfosResponse(api.ListStoreInfosResponse o) { | 548 checkListStoreInfosResponse(api.ListStoreInfosResponse o) { |
| 549 buildCounterListStoreInfosResponse++; | 549 buildCounterListStoreInfosResponse++; |
| 550 if (buildCounterListStoreInfosResponse < 3) { | 550 if (buildCounterListStoreInfosResponse < 3) { |
| 551 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 551 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 552 checkUnnamed3428(o.storeInfos); | 552 checkUnnamed3242(o.storeInfos); |
| 553 unittest.expect(o.totalSize, unittest.equals(42)); | 553 unittest.expect(o.totalSize, unittest.equals(42)); |
| 554 } | 554 } |
| 555 buildCounterListStoreInfosResponse--; | 555 buildCounterListStoreInfosResponse--; |
| 556 } | 556 } |
| 557 | 557 |
| 558 buildUnnamed3429() { | 558 buildUnnamed3243() { |
| 559 var o = new core.List<core.String>(); | 559 var o = new core.List<core.String>(); |
| 560 o.add("foo"); | 560 o.add("foo"); |
| 561 o.add("foo"); | 561 o.add("foo"); |
| 562 return o; | 562 return o; |
| 563 } | 563 } |
| 564 | 564 |
| 565 checkUnnamed3429(core.List<core.String> o) { | 565 checkUnnamed3243(core.List<core.String> o) { |
| 566 unittest.expect(o, unittest.hasLength(2)); | 566 unittest.expect(o, unittest.hasLength(2)); |
| 567 unittest.expect(o[0], unittest.equals('foo')); | 567 unittest.expect(o[0], unittest.equals('foo')); |
| 568 unittest.expect(o[1], unittest.equals('foo')); | 568 unittest.expect(o[1], unittest.equals('foo')); |
| 569 } | 569 } |
| 570 | 570 |
| 571 core.int buildCounterOrder = 0; | 571 core.int buildCounterOrder = 0; |
| 572 buildOrder() { | 572 buildOrder() { |
| 573 var o = new api.Order(); | 573 var o = new api.Order(); |
| 574 buildCounterOrder++; | 574 buildCounterOrder++; |
| 575 if (buildCounterOrder < 3) { | 575 if (buildCounterOrder < 3) { |
| 576 o.approvedTime = "foo"; | 576 o.approvedTime = "foo"; |
| 577 o.channelId = "foo"; | 577 o.channelId = "foo"; |
| 578 o.channelName = "foo"; | 578 o.channelName = "foo"; |
| 579 o.countries = buildUnnamed3429(); | 579 o.countries = buildUnnamed3243(); |
| 580 o.customId = "foo"; | 580 o.customId = "foo"; |
| 581 o.earliestAvailStartTime = "foo"; | 581 o.earliestAvailStartTime = "foo"; |
| 582 o.episodeName = "foo"; | 582 o.episodeName = "foo"; |
| 583 o.legacyPriority = "foo"; | 583 o.legacyPriority = "foo"; |
| 584 o.name = "foo"; | 584 o.name = "foo"; |
| 585 o.normalizedPriority = "foo"; | 585 o.normalizedPriority = "foo"; |
| 586 o.orderId = "foo"; | 586 o.orderId = "foo"; |
| 587 o.orderedTime = "foo"; | 587 o.orderedTime = "foo"; |
| 588 o.pphName = "foo"; | 588 o.pphName = "foo"; |
| 589 o.priority = 42.0; | 589 o.priority = 42.0; |
| (...skipping 10 matching lines...) Expand all Loading... |
| 600 buildCounterOrder--; | 600 buildCounterOrder--; |
| 601 return o; | 601 return o; |
| 602 } | 602 } |
| 603 | 603 |
| 604 checkOrder(api.Order o) { | 604 checkOrder(api.Order o) { |
| 605 buildCounterOrder++; | 605 buildCounterOrder++; |
| 606 if (buildCounterOrder < 3) { | 606 if (buildCounterOrder < 3) { |
| 607 unittest.expect(o.approvedTime, unittest.equals('foo')); | 607 unittest.expect(o.approvedTime, unittest.equals('foo')); |
| 608 unittest.expect(o.channelId, unittest.equals('foo')); | 608 unittest.expect(o.channelId, unittest.equals('foo')); |
| 609 unittest.expect(o.channelName, unittest.equals('foo')); | 609 unittest.expect(o.channelName, unittest.equals('foo')); |
| 610 checkUnnamed3429(o.countries); | 610 checkUnnamed3243(o.countries); |
| 611 unittest.expect(o.customId, unittest.equals('foo')); | 611 unittest.expect(o.customId, unittest.equals('foo')); |
| 612 unittest.expect(o.earliestAvailStartTime, unittest.equals('foo')); | 612 unittest.expect(o.earliestAvailStartTime, unittest.equals('foo')); |
| 613 unittest.expect(o.episodeName, unittest.equals('foo')); | 613 unittest.expect(o.episodeName, unittest.equals('foo')); |
| 614 unittest.expect(o.legacyPriority, unittest.equals('foo')); | 614 unittest.expect(o.legacyPriority, unittest.equals('foo')); |
| 615 unittest.expect(o.name, unittest.equals('foo')); | 615 unittest.expect(o.name, unittest.equals('foo')); |
| 616 unittest.expect(o.normalizedPriority, unittest.equals('foo')); | 616 unittest.expect(o.normalizedPriority, unittest.equals('foo')); |
| 617 unittest.expect(o.orderId, unittest.equals('foo')); | 617 unittest.expect(o.orderId, unittest.equals('foo')); |
| 618 unittest.expect(o.orderedTime, unittest.equals('foo')); | 618 unittest.expect(o.orderedTime, unittest.equals('foo')); |
| 619 unittest.expect(o.pphName, unittest.equals('foo')); | 619 unittest.expect(o.pphName, unittest.equals('foo')); |
| 620 unittest.expect(o.priority, unittest.equals(42.0)); | 620 unittest.expect(o.priority, unittest.equals(42.0)); |
| 621 unittest.expect(o.receivedTime, unittest.equals('foo')); | 621 unittest.expect(o.receivedTime, unittest.equals('foo')); |
| 622 unittest.expect(o.rejectionNote, unittest.equals('foo')); | 622 unittest.expect(o.rejectionNote, unittest.equals('foo')); |
| 623 unittest.expect(o.seasonName, unittest.equals('foo')); | 623 unittest.expect(o.seasonName, unittest.equals('foo')); |
| 624 unittest.expect(o.showName, unittest.equals('foo')); | 624 unittest.expect(o.showName, unittest.equals('foo')); |
| 625 unittest.expect(o.status, unittest.equals('foo')); | 625 unittest.expect(o.status, unittest.equals('foo')); |
| 626 unittest.expect(o.statusDetail, unittest.equals('foo')); | 626 unittest.expect(o.statusDetail, unittest.equals('foo')); |
| 627 unittest.expect(o.studioName, unittest.equals('foo')); | 627 unittest.expect(o.studioName, unittest.equals('foo')); |
| 628 unittest.expect(o.type, unittest.equals('foo')); | 628 unittest.expect(o.type, unittest.equals('foo')); |
| 629 unittest.expect(o.videoId, unittest.equals('foo')); | 629 unittest.expect(o.videoId, unittest.equals('foo')); |
| 630 } | 630 } |
| 631 buildCounterOrder--; | 631 buildCounterOrder--; |
| 632 } | 632 } |
| 633 | 633 |
| 634 buildUnnamed3430() { | 634 buildUnnamed3244() { |
| 635 var o = new core.List<core.String>(); | 635 var o = new core.List<core.String>(); |
| 636 o.add("foo"); | 636 o.add("foo"); |
| 637 o.add("foo"); | 637 o.add("foo"); |
| 638 return o; | 638 return o; |
| 639 } | 639 } |
| 640 | 640 |
| 641 checkUnnamed3430(core.List<core.String> o) { | 641 checkUnnamed3244(core.List<core.String> o) { |
| 642 unittest.expect(o, unittest.hasLength(2)); | 642 unittest.expect(o, unittest.hasLength(2)); |
| 643 unittest.expect(o[0], unittest.equals('foo')); | 643 unittest.expect(o[0], unittest.equals('foo')); |
| 644 unittest.expect(o[1], unittest.equals('foo')); | 644 unittest.expect(o[1], unittest.equals('foo')); |
| 645 } | 645 } |
| 646 | 646 |
| 647 buildUnnamed3431() { | 647 buildUnnamed3245() { |
| 648 var o = new core.List<core.String>(); | 648 var o = new core.List<core.String>(); |
| 649 o.add("foo"); | 649 o.add("foo"); |
| 650 o.add("foo"); | 650 o.add("foo"); |
| 651 return o; | 651 return o; |
| 652 } | 652 } |
| 653 | 653 |
| 654 checkUnnamed3431(core.List<core.String> o) { | 654 checkUnnamed3245(core.List<core.String> o) { |
| 655 unittest.expect(o, unittest.hasLength(2)); | 655 unittest.expect(o, unittest.hasLength(2)); |
| 656 unittest.expect(o[0], unittest.equals('foo')); | 656 unittest.expect(o[0], unittest.equals('foo')); |
| 657 unittest.expect(o[1], unittest.equals('foo')); | 657 unittest.expect(o[1], unittest.equals('foo')); |
| 658 } | 658 } |
| 659 | 659 |
| 660 buildUnnamed3432() { | 660 buildUnnamed3246() { |
| 661 var o = new core.List<core.String>(); | 661 var o = new core.List<core.String>(); |
| 662 o.add("foo"); | 662 o.add("foo"); |
| 663 o.add("foo"); | 663 o.add("foo"); |
| 664 return o; | 664 return o; |
| 665 } | 665 } |
| 666 | 666 |
| 667 checkUnnamed3432(core.List<core.String> o) { | 667 checkUnnamed3246(core.List<core.String> o) { |
| 668 unittest.expect(o, unittest.hasLength(2)); | 668 unittest.expect(o, unittest.hasLength(2)); |
| 669 unittest.expect(o[0], unittest.equals('foo')); | 669 unittest.expect(o[0], unittest.equals('foo')); |
| 670 unittest.expect(o[1], unittest.equals('foo')); | 670 unittest.expect(o[1], unittest.equals('foo')); |
| 671 } | 671 } |
| 672 | 672 |
| 673 core.int buildCounterStoreInfo = 0; | 673 core.int buildCounterStoreInfo = 0; |
| 674 buildStoreInfo() { | 674 buildStoreInfo() { |
| 675 var o = new api.StoreInfo(); | 675 var o = new api.StoreInfo(); |
| 676 buildCounterStoreInfo++; | 676 buildCounterStoreInfo++; |
| 677 if (buildCounterStoreInfo < 3) { | 677 if (buildCounterStoreInfo < 3) { |
| 678 o.audioTracks = buildUnnamed3430(); | 678 o.audioTracks = buildUnnamed3244(); |
| 679 o.country = "foo"; | 679 o.country = "foo"; |
| 680 o.editLevelEidr = "foo"; | 680 o.editLevelEidr = "foo"; |
| 681 o.episodeNumber = "foo"; | 681 o.episodeNumber = "foo"; |
| 682 o.hasAudio51 = true; | 682 o.hasAudio51 = true; |
| 683 o.hasEstOffer = true; | 683 o.hasEstOffer = true; |
| 684 o.hasHdOffer = true; | 684 o.hasHdOffer = true; |
| 685 o.hasInfoCards = true; | 685 o.hasInfoCards = true; |
| 686 o.hasSdOffer = true; | 686 o.hasSdOffer = true; |
| 687 o.hasVodOffer = true; | 687 o.hasVodOffer = true; |
| 688 o.liveTime = "foo"; | 688 o.liveTime = "foo"; |
| 689 o.mid = "foo"; | 689 o.mid = "foo"; |
| 690 o.name = "foo"; | 690 o.name = "foo"; |
| 691 o.pphNames = buildUnnamed3431(); | 691 o.pphNames = buildUnnamed3245(); |
| 692 o.seasonId = "foo"; | 692 o.seasonId = "foo"; |
| 693 o.seasonName = "foo"; | 693 o.seasonName = "foo"; |
| 694 o.seasonNumber = "foo"; | 694 o.seasonNumber = "foo"; |
| 695 o.showId = "foo"; | 695 o.showId = "foo"; |
| 696 o.showName = "foo"; | 696 o.showName = "foo"; |
| 697 o.studioName = "foo"; | 697 o.studioName = "foo"; |
| 698 o.subtitles = buildUnnamed3432(); | 698 o.subtitles = buildUnnamed3246(); |
| 699 o.titleLevelEidr = "foo"; | 699 o.titleLevelEidr = "foo"; |
| 700 o.trailerId = "foo"; | 700 o.trailerId = "foo"; |
| 701 o.type = "foo"; | 701 o.type = "foo"; |
| 702 o.videoId = "foo"; | 702 o.videoId = "foo"; |
| 703 } | 703 } |
| 704 buildCounterStoreInfo--; | 704 buildCounterStoreInfo--; |
| 705 return o; | 705 return o; |
| 706 } | 706 } |
| 707 | 707 |
| 708 checkStoreInfo(api.StoreInfo o) { | 708 checkStoreInfo(api.StoreInfo o) { |
| 709 buildCounterStoreInfo++; | 709 buildCounterStoreInfo++; |
| 710 if (buildCounterStoreInfo < 3) { | 710 if (buildCounterStoreInfo < 3) { |
| 711 checkUnnamed3430(o.audioTracks); | 711 checkUnnamed3244(o.audioTracks); |
| 712 unittest.expect(o.country, unittest.equals('foo')); | 712 unittest.expect(o.country, unittest.equals('foo')); |
| 713 unittest.expect(o.editLevelEidr, unittest.equals('foo')); | 713 unittest.expect(o.editLevelEidr, unittest.equals('foo')); |
| 714 unittest.expect(o.episodeNumber, unittest.equals('foo')); | 714 unittest.expect(o.episodeNumber, unittest.equals('foo')); |
| 715 unittest.expect(o.hasAudio51, unittest.isTrue); | 715 unittest.expect(o.hasAudio51, unittest.isTrue); |
| 716 unittest.expect(o.hasEstOffer, unittest.isTrue); | 716 unittest.expect(o.hasEstOffer, unittest.isTrue); |
| 717 unittest.expect(o.hasHdOffer, unittest.isTrue); | 717 unittest.expect(o.hasHdOffer, unittest.isTrue); |
| 718 unittest.expect(o.hasInfoCards, unittest.isTrue); | 718 unittest.expect(o.hasInfoCards, unittest.isTrue); |
| 719 unittest.expect(o.hasSdOffer, unittest.isTrue); | 719 unittest.expect(o.hasSdOffer, unittest.isTrue); |
| 720 unittest.expect(o.hasVodOffer, unittest.isTrue); | 720 unittest.expect(o.hasVodOffer, unittest.isTrue); |
| 721 unittest.expect(o.liveTime, unittest.equals('foo')); | 721 unittest.expect(o.liveTime, unittest.equals('foo')); |
| 722 unittest.expect(o.mid, unittest.equals('foo')); | 722 unittest.expect(o.mid, unittest.equals('foo')); |
| 723 unittest.expect(o.name, unittest.equals('foo')); | 723 unittest.expect(o.name, unittest.equals('foo')); |
| 724 checkUnnamed3431(o.pphNames); | 724 checkUnnamed3245(o.pphNames); |
| 725 unittest.expect(o.seasonId, unittest.equals('foo')); | 725 unittest.expect(o.seasonId, unittest.equals('foo')); |
| 726 unittest.expect(o.seasonName, unittest.equals('foo')); | 726 unittest.expect(o.seasonName, unittest.equals('foo')); |
| 727 unittest.expect(o.seasonNumber, unittest.equals('foo')); | 727 unittest.expect(o.seasonNumber, unittest.equals('foo')); |
| 728 unittest.expect(o.showId, unittest.equals('foo')); | 728 unittest.expect(o.showId, unittest.equals('foo')); |
| 729 unittest.expect(o.showName, unittest.equals('foo')); | 729 unittest.expect(o.showName, unittest.equals('foo')); |
| 730 unittest.expect(o.studioName, unittest.equals('foo')); | 730 unittest.expect(o.studioName, unittest.equals('foo')); |
| 731 checkUnnamed3432(o.subtitles); | 731 checkUnnamed3246(o.subtitles); |
| 732 unittest.expect(o.titleLevelEidr, unittest.equals('foo')); | 732 unittest.expect(o.titleLevelEidr, unittest.equals('foo')); |
| 733 unittest.expect(o.trailerId, unittest.equals('foo')); | 733 unittest.expect(o.trailerId, unittest.equals('foo')); |
| 734 unittest.expect(o.type, unittest.equals('foo')); | 734 unittest.expect(o.type, unittest.equals('foo')); |
| 735 unittest.expect(o.videoId, unittest.equals('foo')); | 735 unittest.expect(o.videoId, unittest.equals('foo')); |
| 736 } | 736 } |
| 737 buildCounterStoreInfo--; | 737 buildCounterStoreInfo--; |
| 738 } | 738 } |
| 739 | 739 |
| 740 buildUnnamed3433() { | 740 buildUnnamed3247() { |
| 741 var o = new core.List<core.String>(); | 741 var o = new core.List<core.String>(); |
| 742 o.add("foo"); | 742 o.add("foo"); |
| 743 o.add("foo"); | 743 o.add("foo"); |
| 744 return o; | 744 return o; |
| 745 } | 745 } |
| 746 | 746 |
| 747 checkUnnamed3433(core.List<core.String> o) { | 747 checkUnnamed3247(core.List<core.String> o) { |
| 748 unittest.expect(o, unittest.hasLength(2)); | 748 unittest.expect(o, unittest.hasLength(2)); |
| 749 unittest.expect(o[0], unittest.equals('foo')); | 749 unittest.expect(o[0], unittest.equals('foo')); |
| 750 unittest.expect(o[1], unittest.equals('foo')); | 750 unittest.expect(o[1], unittest.equals('foo')); |
| 751 } | 751 } |
| 752 | 752 |
| 753 buildUnnamed3434() { | 753 buildUnnamed3248() { |
| 754 var o = new core.List<core.String>(); | 754 var o = new core.List<core.String>(); |
| 755 o.add("foo"); | 755 o.add("foo"); |
| 756 o.add("foo"); | 756 o.add("foo"); |
| 757 return o; | 757 return o; |
| 758 } | 758 } |
| 759 | 759 |
| 760 checkUnnamed3434(core.List<core.String> o) { | 760 checkUnnamed3248(core.List<core.String> o) { |
| 761 unittest.expect(o, unittest.hasLength(2)); | 761 unittest.expect(o, unittest.hasLength(2)); |
| 762 unittest.expect(o[0], unittest.equals('foo')); | 762 unittest.expect(o[0], unittest.equals('foo')); |
| 763 unittest.expect(o[1], unittest.equals('foo')); | 763 unittest.expect(o[1], unittest.equals('foo')); |
| 764 } | 764 } |
| 765 | 765 |
| 766 buildUnnamed3435() { | 766 buildUnnamed3249() { |
| 767 var o = new core.List<core.String>(); | 767 var o = new core.List<core.String>(); |
| 768 o.add("foo"); | 768 o.add("foo"); |
| 769 o.add("foo"); | 769 o.add("foo"); |
| 770 return o; | 770 return o; |
| 771 } | 771 } |
| 772 | 772 |
| 773 checkUnnamed3435(core.List<core.String> o) { | 773 checkUnnamed3249(core.List<core.String> o) { |
| 774 unittest.expect(o, unittest.hasLength(2)); | 774 unittest.expect(o, unittest.hasLength(2)); |
| 775 unittest.expect(o[0], unittest.equals('foo')); | 775 unittest.expect(o[0], unittest.equals('foo')); |
| 776 unittest.expect(o[1], unittest.equals('foo')); | 776 unittest.expect(o[1], unittest.equals('foo')); |
| 777 } | 777 } |
| 778 | 778 |
| 779 buildUnnamed3436() { | 779 buildUnnamed3250() { |
| 780 var o = new core.List<core.String>(); | 780 var o = new core.List<core.String>(); |
| 781 o.add("foo"); | 781 o.add("foo"); |
| 782 o.add("foo"); | 782 o.add("foo"); |
| 783 return o; | 783 return o; |
| 784 } | 784 } |
| 785 | 785 |
| 786 checkUnnamed3436(core.List<core.String> o) { | 786 checkUnnamed3250(core.List<core.String> o) { |
| 787 unittest.expect(o, unittest.hasLength(2)); | 787 unittest.expect(o, unittest.hasLength(2)); |
| 788 unittest.expect(o[0], unittest.equals('foo')); | 788 unittest.expect(o[0], unittest.equals('foo')); |
| 789 unittest.expect(o[1], unittest.equals('foo')); | 789 unittest.expect(o[1], unittest.equals('foo')); |
| 790 } | 790 } |
| 791 | 791 |
| 792 buildUnnamed3437() { | 792 buildUnnamed3251() { |
| 793 var o = new core.List<core.String>(); | 793 var o = new core.List<core.String>(); |
| 794 o.add("foo"); | 794 o.add("foo"); |
| 795 o.add("foo"); | 795 o.add("foo"); |
| 796 return o; | 796 return o; |
| 797 } | 797 } |
| 798 | 798 |
| 799 checkUnnamed3437(core.List<core.String> o) { | 799 checkUnnamed3251(core.List<core.String> o) { |
| 800 unittest.expect(o, unittest.hasLength(2)); | 800 unittest.expect(o, unittest.hasLength(2)); |
| 801 unittest.expect(o[0], unittest.equals('foo')); | 801 unittest.expect(o[0], unittest.equals('foo')); |
| 802 unittest.expect(o[1], unittest.equals('foo')); | 802 unittest.expect(o[1], unittest.equals('foo')); |
| 803 } | 803 } |
| 804 | 804 |
| 805 buildUnnamed3438() { | 805 buildUnnamed3252() { |
| 806 var o = new core.List<core.String>(); | 806 var o = new core.List<core.String>(); |
| 807 o.add("foo"); | 807 o.add("foo"); |
| 808 o.add("foo"); | 808 o.add("foo"); |
| 809 return o; | 809 return o; |
| 810 } | 810 } |
| 811 | 811 |
| 812 checkUnnamed3438(core.List<core.String> o) { | 812 checkUnnamed3252(core.List<core.String> o) { |
| 813 unittest.expect(o, unittest.hasLength(2)); | 813 unittest.expect(o, unittest.hasLength(2)); |
| 814 unittest.expect(o[0], unittest.equals('foo')); | 814 unittest.expect(o[0], unittest.equals('foo')); |
| 815 unittest.expect(o[1], unittest.equals('foo')); | 815 unittest.expect(o[1], unittest.equals('foo')); |
| 816 } | 816 } |
| 817 | 817 |
| 818 buildUnnamed3439() { | 818 buildUnnamed3253() { |
| 819 var o = new core.List<core.String>(); | 819 var o = new core.List<core.String>(); |
| 820 o.add("foo"); | 820 o.add("foo"); |
| 821 o.add("foo"); | 821 o.add("foo"); |
| 822 return o; | 822 return o; |
| 823 } | 823 } |
| 824 | 824 |
| 825 checkUnnamed3439(core.List<core.String> o) { | 825 checkUnnamed3253(core.List<core.String> o) { |
| 826 unittest.expect(o, unittest.hasLength(2)); | 826 unittest.expect(o, unittest.hasLength(2)); |
| 827 unittest.expect(o[0], unittest.equals('foo')); | 827 unittest.expect(o[0], unittest.equals('foo')); |
| 828 unittest.expect(o[1], unittest.equals('foo')); | 828 unittest.expect(o[1], unittest.equals('foo')); |
| 829 } | 829 } |
| 830 | 830 |
| 831 buildUnnamed3440() { | 831 buildUnnamed3254() { |
| 832 var o = new core.List<core.String>(); | 832 var o = new core.List<core.String>(); |
| 833 o.add("foo"); | 833 o.add("foo"); |
| 834 o.add("foo"); | 834 o.add("foo"); |
| 835 return o; | 835 return o; |
| 836 } | 836 } |
| 837 | 837 |
| 838 checkUnnamed3440(core.List<core.String> o) { | 838 checkUnnamed3254(core.List<core.String> o) { |
| 839 unittest.expect(o, unittest.hasLength(2)); | 839 unittest.expect(o, unittest.hasLength(2)); |
| 840 unittest.expect(o[0], unittest.equals('foo')); | 840 unittest.expect(o[0], unittest.equals('foo')); |
| 841 unittest.expect(o[1], unittest.equals('foo')); | 841 unittest.expect(o[1], unittest.equals('foo')); |
| 842 } | 842 } |
| 843 | 843 |
| 844 buildUnnamed3441() { | 844 buildUnnamed3255() { |
| 845 var o = new core.List<core.String>(); | 845 var o = new core.List<core.String>(); |
| 846 o.add("foo"); | 846 o.add("foo"); |
| 847 o.add("foo"); | 847 o.add("foo"); |
| 848 return o; | 848 return o; |
| 849 } | 849 } |
| 850 | 850 |
| 851 checkUnnamed3441(core.List<core.String> o) { | 851 checkUnnamed3255(core.List<core.String> o) { |
| 852 unittest.expect(o, unittest.hasLength(2)); | 852 unittest.expect(o, unittest.hasLength(2)); |
| 853 unittest.expect(o[0], unittest.equals('foo')); | 853 unittest.expect(o[0], unittest.equals('foo')); |
| 854 unittest.expect(o[1], unittest.equals('foo')); | 854 unittest.expect(o[1], unittest.equals('foo')); |
| 855 } | 855 } |
| 856 | 856 |
| 857 buildUnnamed3442() { | 857 buildUnnamed3256() { |
| 858 var o = new core.List<core.String>(); | 858 var o = new core.List<core.String>(); |
| 859 o.add("foo"); | 859 o.add("foo"); |
| 860 o.add("foo"); | 860 o.add("foo"); |
| 861 return o; | 861 return o; |
| 862 } | 862 } |
| 863 | 863 |
| 864 checkUnnamed3442(core.List<core.String> o) { | 864 checkUnnamed3256(core.List<core.String> o) { |
| 865 unittest.expect(o, unittest.hasLength(2)); | 865 unittest.expect(o, unittest.hasLength(2)); |
| 866 unittest.expect(o[0], unittest.equals('foo')); | 866 unittest.expect(o[0], unittest.equals('foo')); |
| 867 unittest.expect(o[1], unittest.equals('foo')); | 867 unittest.expect(o[1], unittest.equals('foo')); |
| 868 } | 868 } |
| 869 | 869 |
| 870 buildUnnamed3443() { | 870 buildUnnamed3257() { |
| 871 var o = new core.List<core.String>(); | 871 var o = new core.List<core.String>(); |
| 872 o.add("foo"); | 872 o.add("foo"); |
| 873 o.add("foo"); | 873 o.add("foo"); |
| 874 return o; | 874 return o; |
| 875 } | 875 } |
| 876 | 876 |
| 877 checkUnnamed3443(core.List<core.String> o) { | 877 checkUnnamed3257(core.List<core.String> o) { |
| 878 unittest.expect(o, unittest.hasLength(2)); | 878 unittest.expect(o, unittest.hasLength(2)); |
| 879 unittest.expect(o[0], unittest.equals('foo')); | 879 unittest.expect(o[0], unittest.equals('foo')); |
| 880 unittest.expect(o[1], unittest.equals('foo')); | 880 unittest.expect(o[1], unittest.equals('foo')); |
| 881 } | 881 } |
| 882 | 882 |
| 883 buildUnnamed3444() { | 883 buildUnnamed3258() { |
| 884 var o = new core.List<core.String>(); | 884 var o = new core.List<core.String>(); |
| 885 o.add("foo"); | 885 o.add("foo"); |
| 886 o.add("foo"); | 886 o.add("foo"); |
| 887 return o; | 887 return o; |
| 888 } | 888 } |
| 889 | 889 |
| 890 checkUnnamed3444(core.List<core.String> o) { | 890 checkUnnamed3258(core.List<core.String> o) { |
| 891 unittest.expect(o, unittest.hasLength(2)); | 891 unittest.expect(o, unittest.hasLength(2)); |
| 892 unittest.expect(o[0], unittest.equals('foo')); | 892 unittest.expect(o[0], unittest.equals('foo')); |
| 893 unittest.expect(o[1], unittest.equals('foo')); | 893 unittest.expect(o[1], unittest.equals('foo')); |
| 894 } | 894 } |
| 895 | 895 |
| 896 buildUnnamed3445() { | 896 buildUnnamed3259() { |
| 897 var o = new core.List<core.String>(); | 897 var o = new core.List<core.String>(); |
| 898 o.add("foo"); | 898 o.add("foo"); |
| 899 o.add("foo"); | 899 o.add("foo"); |
| 900 return o; | 900 return o; |
| 901 } | 901 } |
| 902 | 902 |
| 903 checkUnnamed3445(core.List<core.String> o) { | 903 checkUnnamed3259(core.List<core.String> o) { |
| 904 unittest.expect(o, unittest.hasLength(2)); | 904 unittest.expect(o, unittest.hasLength(2)); |
| 905 unittest.expect(o[0], unittest.equals('foo')); | 905 unittest.expect(o[0], unittest.equals('foo')); |
| 906 unittest.expect(o[1], unittest.equals('foo')); | 906 unittest.expect(o[1], unittest.equals('foo')); |
| 907 } | 907 } |
| 908 | 908 |
| 909 buildUnnamed3446() { | 909 buildUnnamed3260() { |
| 910 var o = new core.List<core.String>(); | 910 var o = new core.List<core.String>(); |
| 911 o.add("foo"); | 911 o.add("foo"); |
| 912 o.add("foo"); | 912 o.add("foo"); |
| 913 return o; | 913 return o; |
| 914 } | 914 } |
| 915 | 915 |
| 916 checkUnnamed3446(core.List<core.String> o) { | 916 checkUnnamed3260(core.List<core.String> o) { |
| 917 unittest.expect(o, unittest.hasLength(2)); | 917 unittest.expect(o, unittest.hasLength(2)); |
| 918 unittest.expect(o[0], unittest.equals('foo')); | 918 unittest.expect(o[0], unittest.equals('foo')); |
| 919 unittest.expect(o[1], unittest.equals('foo')); | 919 unittest.expect(o[1], unittest.equals('foo')); |
| 920 } | 920 } |
| 921 | 921 |
| 922 buildUnnamed3447() { | 922 buildUnnamed3261() { |
| 923 var o = new core.List<core.String>(); | 923 var o = new core.List<core.String>(); |
| 924 o.add("foo"); | 924 o.add("foo"); |
| 925 o.add("foo"); | 925 o.add("foo"); |
| 926 return o; | 926 return o; |
| 927 } | 927 } |
| 928 | 928 |
| 929 checkUnnamed3447(core.List<core.String> o) { | 929 checkUnnamed3261(core.List<core.String> o) { |
| 930 unittest.expect(o, unittest.hasLength(2)); | 930 unittest.expect(o, unittest.hasLength(2)); |
| 931 unittest.expect(o[0], unittest.equals('foo')); | 931 unittest.expect(o[0], unittest.equals('foo')); |
| 932 unittest.expect(o[1], unittest.equals('foo')); | 932 unittest.expect(o[1], unittest.equals('foo')); |
| 933 } | 933 } |
| 934 | 934 |
| 935 buildUnnamed3448() { | 935 buildUnnamed3262() { |
| 936 var o = new core.List<core.String>(); | 936 var o = new core.List<core.String>(); |
| 937 o.add("foo"); | 937 o.add("foo"); |
| 938 o.add("foo"); | 938 o.add("foo"); |
| 939 return o; | 939 return o; |
| 940 } | 940 } |
| 941 | 941 |
| 942 checkUnnamed3448(core.List<core.String> o) { | 942 checkUnnamed3262(core.List<core.String> o) { |
| 943 unittest.expect(o, unittest.hasLength(2)); | 943 unittest.expect(o, unittest.hasLength(2)); |
| 944 unittest.expect(o[0], unittest.equals('foo')); | 944 unittest.expect(o[0], unittest.equals('foo')); |
| 945 unittest.expect(o[1], unittest.equals('foo')); | 945 unittest.expect(o[1], unittest.equals('foo')); |
| 946 } | 946 } |
| 947 | 947 |
| 948 buildUnnamed3449() { | 948 buildUnnamed3263() { |
| 949 var o = new core.List<core.String>(); | 949 var o = new core.List<core.String>(); |
| 950 o.add("foo"); | 950 o.add("foo"); |
| 951 o.add("foo"); | 951 o.add("foo"); |
| 952 return o; | 952 return o; |
| 953 } | 953 } |
| 954 | 954 |
| 955 checkUnnamed3449(core.List<core.String> o) { | 955 checkUnnamed3263(core.List<core.String> o) { |
| 956 unittest.expect(o, unittest.hasLength(2)); | 956 unittest.expect(o, unittest.hasLength(2)); |
| 957 unittest.expect(o[0], unittest.equals('foo')); | 957 unittest.expect(o[0], unittest.equals('foo')); |
| 958 unittest.expect(o[1], unittest.equals('foo')); | 958 unittest.expect(o[1], unittest.equals('foo')); |
| 959 } | 959 } |
| 960 | 960 |
| 961 buildUnnamed3450() { | 961 buildUnnamed3264() { |
| 962 var o = new core.List<core.String>(); | 962 var o = new core.List<core.String>(); |
| 963 o.add("foo"); | 963 o.add("foo"); |
| 964 o.add("foo"); | 964 o.add("foo"); |
| 965 return o; | 965 return o; |
| 966 } | 966 } |
| 967 | 967 |
| 968 checkUnnamed3450(core.List<core.String> o) { | 968 checkUnnamed3264(core.List<core.String> o) { |
| 969 unittest.expect(o, unittest.hasLength(2)); | 969 unittest.expect(o, unittest.hasLength(2)); |
| 970 unittest.expect(o[0], unittest.equals('foo')); | 970 unittest.expect(o[0], unittest.equals('foo')); |
| 971 unittest.expect(o[1], unittest.equals('foo')); | 971 unittest.expect(o[1], unittest.equals('foo')); |
| 972 } | 972 } |
| 973 | 973 |
| 974 buildUnnamed3451() { | 974 buildUnnamed3265() { |
| 975 var o = new core.List<core.String>(); | 975 var o = new core.List<core.String>(); |
| 976 o.add("foo"); | 976 o.add("foo"); |
| 977 o.add("foo"); | 977 o.add("foo"); |
| 978 return o; | 978 return o; |
| 979 } | 979 } |
| 980 | 980 |
| 981 checkUnnamed3451(core.List<core.String> o) { | 981 checkUnnamed3265(core.List<core.String> o) { |
| 982 unittest.expect(o, unittest.hasLength(2)); | 982 unittest.expect(o, unittest.hasLength(2)); |
| 983 unittest.expect(o[0], unittest.equals('foo')); | 983 unittest.expect(o[0], unittest.equals('foo')); |
| 984 unittest.expect(o[1], unittest.equals('foo')); | 984 unittest.expect(o[1], unittest.equals('foo')); |
| 985 } | 985 } |
| 986 | 986 |
| 987 buildUnnamed3452() { | 987 buildUnnamed3266() { |
| 988 var o = new core.List<core.String>(); | 988 var o = new core.List<core.String>(); |
| 989 o.add("foo"); | 989 o.add("foo"); |
| 990 o.add("foo"); | 990 o.add("foo"); |
| 991 return o; | 991 return o; |
| 992 } | 992 } |
| 993 | 993 |
| 994 checkUnnamed3452(core.List<core.String> o) { | 994 checkUnnamed3266(core.List<core.String> o) { |
| 995 unittest.expect(o, unittest.hasLength(2)); | 995 unittest.expect(o, unittest.hasLength(2)); |
| 996 unittest.expect(o[0], unittest.equals('foo')); | 996 unittest.expect(o[0], unittest.equals('foo')); |
| 997 unittest.expect(o[1], unittest.equals('foo')); | 997 unittest.expect(o[1], unittest.equals('foo')); |
| 998 } | 998 } |
| 999 | 999 |
| 1000 buildUnnamed3453() { | 1000 buildUnnamed3267() { |
| 1001 var o = new core.List<core.String>(); | 1001 var o = new core.List<core.String>(); |
| 1002 o.add("foo"); | 1002 o.add("foo"); |
| 1003 o.add("foo"); | 1003 o.add("foo"); |
| 1004 return o; | 1004 return o; |
| 1005 } | 1005 } |
| 1006 | 1006 |
| 1007 checkUnnamed3453(core.List<core.String> o) { | 1007 checkUnnamed3267(core.List<core.String> o) { |
| 1008 unittest.expect(o, unittest.hasLength(2)); | 1008 unittest.expect(o, unittest.hasLength(2)); |
| 1009 unittest.expect(o[0], unittest.equals('foo')); | 1009 unittest.expect(o[0], unittest.equals('foo')); |
| 1010 unittest.expect(o[1], unittest.equals('foo')); | 1010 unittest.expect(o[1], unittest.equals('foo')); |
| 1011 } | 1011 } |
| 1012 | 1012 |
| 1013 | 1013 |
| 1014 main() { | 1014 main() { |
| 1015 unittest.group("obj-schema-Avail", () { | 1015 unittest.group("obj-schema-Avail", () { |
| 1016 unittest.test("to-json--from-json", () { | 1016 unittest.test("to-json--from-json", () { |
| 1017 var o = buildAvail(); | 1017 var o = buildAvail(); |
| 1018 var od = new api.Avail.fromJson(o.toJson()); | 1018 var od = new api.Avail.fromJson(o.toJson()); |
| 1019 checkAvail(od); | 1019 checkAvail(od); |
| 1020 }); | 1020 }); |
| (...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1158 }))); | 1158 }))); |
| 1159 }); | 1159 }); |
| 1160 | 1160 |
| 1161 unittest.test("method--list", () { | 1161 unittest.test("method--list", () { |
| 1162 | 1162 |
| 1163 var mock = new HttpServerMock(); | 1163 var mock = new HttpServerMock(); |
| 1164 api.AccountsAvailsResourceApi res = new api.PlaymoviespartnerApi(mock).acc
ounts.avails; | 1164 api.AccountsAvailsResourceApi res = new api.PlaymoviespartnerApi(mock).acc
ounts.avails; |
| 1165 var arg_accountId = "foo"; | 1165 var arg_accountId = "foo"; |
| 1166 var arg_pageSize = 42; | 1166 var arg_pageSize = 42; |
| 1167 var arg_pageToken = "foo"; | 1167 var arg_pageToken = "foo"; |
| 1168 var arg_pphNames = buildUnnamed3433(); | 1168 var arg_pphNames = buildUnnamed3247(); |
| 1169 var arg_studioNames = buildUnnamed3434(); | 1169 var arg_studioNames = buildUnnamed3248(); |
| 1170 var arg_title = "foo"; | 1170 var arg_title = "foo"; |
| 1171 var arg_territories = buildUnnamed3435(); | 1171 var arg_territories = buildUnnamed3249(); |
| 1172 var arg_altId = "foo"; | 1172 var arg_altId = "foo"; |
| 1173 var arg_videoIds = buildUnnamed3436(); | 1173 var arg_videoIds = buildUnnamed3250(); |
| 1174 var arg_altIds = buildUnnamed3437(); | 1174 var arg_altIds = buildUnnamed3251(); |
| 1175 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 1175 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 1176 var path = (req.url).path; | 1176 var path = (req.url).path; |
| 1177 var pathOffset = 0; | 1177 var pathOffset = 0; |
| 1178 var index; | 1178 var index; |
| 1179 var subPart; | 1179 var subPart; |
| 1180 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 1180 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 1181 pathOffset += 1; | 1181 pathOffset += 1; |
| 1182 unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.eq
uals("v1/accounts/")); | 1182 unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.eq
uals("v1/accounts/")); |
| 1183 pathOffset += 12; | 1183 pathOffset += 12; |
| 1184 index = path.indexOf("/avails", pathOffset); | 1184 index = path.indexOf("/avails", pathOffset); |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1231 | 1231 |
| 1232 | 1232 |
| 1233 unittest.group("resource-AccountsComponentsResourceApi", () { | 1233 unittest.group("resource-AccountsComponentsResourceApi", () { |
| 1234 unittest.test("method--list", () { | 1234 unittest.test("method--list", () { |
| 1235 | 1235 |
| 1236 var mock = new HttpServerMock(); | 1236 var mock = new HttpServerMock(); |
| 1237 api.AccountsComponentsResourceApi res = new api.PlaymoviespartnerApi(mock)
.accounts.components; | 1237 api.AccountsComponentsResourceApi res = new api.PlaymoviespartnerApi(mock)
.accounts.components; |
| 1238 var arg_accountId = "foo"; | 1238 var arg_accountId = "foo"; |
| 1239 var arg_pageSize = 42; | 1239 var arg_pageSize = 42; |
| 1240 var arg_pageToken = "foo"; | 1240 var arg_pageToken = "foo"; |
| 1241 var arg_pphNames = buildUnnamed3438(); | 1241 var arg_pphNames = buildUnnamed3252(); |
| 1242 var arg_studioNames = buildUnnamed3439(); | 1242 var arg_studioNames = buildUnnamed3253(); |
| 1243 var arg_titleLevelEidr = "foo"; | 1243 var arg_titleLevelEidr = "foo"; |
| 1244 var arg_editLevelEidr = "foo"; | 1244 var arg_editLevelEidr = "foo"; |
| 1245 var arg_status = buildUnnamed3440(); | 1245 var arg_status = buildUnnamed3254(); |
| 1246 var arg_customId = "foo"; | 1246 var arg_customId = "foo"; |
| 1247 var arg_inventoryId = "foo"; | 1247 var arg_inventoryId = "foo"; |
| 1248 var arg_presentationId = "foo"; | 1248 var arg_presentationId = "foo"; |
| 1249 var arg_playableSequenceId = "foo"; | 1249 var arg_playableSequenceId = "foo"; |
| 1250 var arg_elId = "foo"; | 1250 var arg_elId = "foo"; |
| 1251 var arg_altCutId = "foo"; | 1251 var arg_altCutId = "foo"; |
| 1252 var arg_filename = "foo"; | 1252 var arg_filename = "foo"; |
| 1253 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 1253 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 1254 var path = (req.url).path; | 1254 var path = (req.url).path; |
| 1255 var pathOffset = 0; | 1255 var pathOffset = 0; |
| (...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1436 }))); | 1436 }))); |
| 1437 }); | 1437 }); |
| 1438 | 1438 |
| 1439 unittest.test("method--list", () { | 1439 unittest.test("method--list", () { |
| 1440 | 1440 |
| 1441 var mock = new HttpServerMock(); | 1441 var mock = new HttpServerMock(); |
| 1442 api.AccountsExperienceLocalesResourceApi res = new api.PlaymoviespartnerAp
i(mock).accounts.experienceLocales; | 1442 api.AccountsExperienceLocalesResourceApi res = new api.PlaymoviespartnerAp
i(mock).accounts.experienceLocales; |
| 1443 var arg_accountId = "foo"; | 1443 var arg_accountId = "foo"; |
| 1444 var arg_pageSize = 42; | 1444 var arg_pageSize = 42; |
| 1445 var arg_pageToken = "foo"; | 1445 var arg_pageToken = "foo"; |
| 1446 var arg_pphNames = buildUnnamed3441(); | 1446 var arg_pphNames = buildUnnamed3255(); |
| 1447 var arg_studioNames = buildUnnamed3442(); | 1447 var arg_studioNames = buildUnnamed3256(); |
| 1448 var arg_titleLevelEidr = "foo"; | 1448 var arg_titleLevelEidr = "foo"; |
| 1449 var arg_editLevelEidr = "foo"; | 1449 var arg_editLevelEidr = "foo"; |
| 1450 var arg_status = buildUnnamed3443(); | 1450 var arg_status = buildUnnamed3257(); |
| 1451 var arg_customId = "foo"; | 1451 var arg_customId = "foo"; |
| 1452 var arg_altCutId = "foo"; | 1452 var arg_altCutId = "foo"; |
| 1453 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 1453 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 1454 var path = (req.url).path; | 1454 var path = (req.url).path; |
| 1455 var pathOffset = 0; | 1455 var pathOffset = 0; |
| 1456 var index; | 1456 var index; |
| 1457 var subPart; | 1457 var subPart; |
| 1458 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 1458 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 1459 pathOffset += 1; | 1459 pathOffset += 1; |
| 1460 unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.eq
uals("v1/accounts/")); | 1460 unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.eq
uals("v1/accounts/")); |
| (...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1564 }))); | 1564 }))); |
| 1565 }); | 1565 }); |
| 1566 | 1566 |
| 1567 unittest.test("method--list", () { | 1567 unittest.test("method--list", () { |
| 1568 | 1568 |
| 1569 var mock = new HttpServerMock(); | 1569 var mock = new HttpServerMock(); |
| 1570 api.AccountsOrdersResourceApi res = new api.PlaymoviespartnerApi(mock).acc
ounts.orders; | 1570 api.AccountsOrdersResourceApi res = new api.PlaymoviespartnerApi(mock).acc
ounts.orders; |
| 1571 var arg_accountId = "foo"; | 1571 var arg_accountId = "foo"; |
| 1572 var arg_pageSize = 42; | 1572 var arg_pageSize = 42; |
| 1573 var arg_pageToken = "foo"; | 1573 var arg_pageToken = "foo"; |
| 1574 var arg_pphNames = buildUnnamed3444(); | 1574 var arg_pphNames = buildUnnamed3258(); |
| 1575 var arg_studioNames = buildUnnamed3445(); | 1575 var arg_studioNames = buildUnnamed3259(); |
| 1576 var arg_name = "foo"; | 1576 var arg_name = "foo"; |
| 1577 var arg_status = buildUnnamed3446(); | 1577 var arg_status = buildUnnamed3260(); |
| 1578 var arg_customId = "foo"; | 1578 var arg_customId = "foo"; |
| 1579 var arg_videoIds = buildUnnamed3447(); | 1579 var arg_videoIds = buildUnnamed3261(); |
| 1580 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 1580 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 1581 var path = (req.url).path; | 1581 var path = (req.url).path; |
| 1582 var pathOffset = 0; | 1582 var pathOffset = 0; |
| 1583 var index; | 1583 var index; |
| 1584 var subPart; | 1584 var subPart; |
| 1585 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 1585 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 1586 pathOffset += 1; | 1586 pathOffset += 1; |
| 1587 unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.eq
uals("v1/accounts/")); | 1587 unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.eq
uals("v1/accounts/")); |
| 1588 pathOffset += 12; | 1588 pathOffset += 12; |
| 1589 index = path.indexOf("/orders", pathOffset); | 1589 index = path.indexOf("/orders", pathOffset); |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1635 | 1635 |
| 1636 | 1636 |
| 1637 unittest.group("resource-AccountsStoreInfosResourceApi", () { | 1637 unittest.group("resource-AccountsStoreInfosResourceApi", () { |
| 1638 unittest.test("method--list", () { | 1638 unittest.test("method--list", () { |
| 1639 | 1639 |
| 1640 var mock = new HttpServerMock(); | 1640 var mock = new HttpServerMock(); |
| 1641 api.AccountsStoreInfosResourceApi res = new api.PlaymoviespartnerApi(mock)
.accounts.storeInfos; | 1641 api.AccountsStoreInfosResourceApi res = new api.PlaymoviespartnerApi(mock)
.accounts.storeInfos; |
| 1642 var arg_accountId = "foo"; | 1642 var arg_accountId = "foo"; |
| 1643 var arg_pageSize = 42; | 1643 var arg_pageSize = 42; |
| 1644 var arg_pageToken = "foo"; | 1644 var arg_pageToken = "foo"; |
| 1645 var arg_pphNames = buildUnnamed3448(); | 1645 var arg_pphNames = buildUnnamed3262(); |
| 1646 var arg_studioNames = buildUnnamed3449(); | 1646 var arg_studioNames = buildUnnamed3263(); |
| 1647 var arg_videoId = "foo"; | 1647 var arg_videoId = "foo"; |
| 1648 var arg_countries = buildUnnamed3450(); | 1648 var arg_countries = buildUnnamed3264(); |
| 1649 var arg_name = "foo"; | 1649 var arg_name = "foo"; |
| 1650 var arg_videoIds = buildUnnamed3451(); | 1650 var arg_videoIds = buildUnnamed3265(); |
| 1651 var arg_mids = buildUnnamed3452(); | 1651 var arg_mids = buildUnnamed3266(); |
| 1652 var arg_seasonIds = buildUnnamed3453(); | 1652 var arg_seasonIds = buildUnnamed3267(); |
| 1653 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 1653 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 1654 var path = (req.url).path; | 1654 var path = (req.url).path; |
| 1655 var pathOffset = 0; | 1655 var pathOffset = 0; |
| 1656 var index; | 1656 var index; |
| 1657 var subPart; | 1657 var subPart; |
| 1658 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 1658 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 1659 pathOffset += 1; | 1659 pathOffset += 1; |
| 1660 unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.eq
uals("v1/accounts/")); | 1660 unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.eq
uals("v1/accounts/")); |
| 1661 pathOffset += 12; | 1661 pathOffset += 12; |
| 1662 index = path.indexOf("/storeInfos", pathOffset); | 1662 index = path.indexOf("/storeInfos", pathOffset); |
| (...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1771 res.get(arg_accountId, arg_videoId, arg_country).then(unittest.expectAsync
(((api.StoreInfo response) { | 1771 res.get(arg_accountId, arg_videoId, arg_country).then(unittest.expectAsync
(((api.StoreInfo response) { |
| 1772 checkStoreInfo(response); | 1772 checkStoreInfo(response); |
| 1773 }))); | 1773 }))); |
| 1774 }); | 1774 }); |
| 1775 | 1775 |
| 1776 }); | 1776 }); |
| 1777 | 1777 |
| 1778 | 1778 |
| 1779 } | 1779 } |
| 1780 | 1780 |
| OLD | NEW |