OLD | NEW |
1 library googleapis.androidenterprise.v1.test; | 1 library googleapis.androidenterprise.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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 | 84 |
85 checkAdministratorWebToken(api.AdministratorWebToken o) { | 85 checkAdministratorWebToken(api.AdministratorWebToken o) { |
86 buildCounterAdministratorWebToken++; | 86 buildCounterAdministratorWebToken++; |
87 if (buildCounterAdministratorWebToken < 3) { | 87 if (buildCounterAdministratorWebToken < 3) { |
88 unittest.expect(o.kind, unittest.equals('foo')); | 88 unittest.expect(o.kind, unittest.equals('foo')); |
89 unittest.expect(o.token, unittest.equals('foo')); | 89 unittest.expect(o.token, unittest.equals('foo')); |
90 } | 90 } |
91 buildCounterAdministratorWebToken--; | 91 buildCounterAdministratorWebToken--; |
92 } | 92 } |
93 | 93 |
94 buildUnnamed2134() { | 94 buildUnnamed1905() { |
95 var o = new core.List<core.String>(); | 95 var o = new core.List<core.String>(); |
96 o.add("foo"); | 96 o.add("foo"); |
97 o.add("foo"); | 97 o.add("foo"); |
98 return o; | 98 return o; |
99 } | 99 } |
100 | 100 |
101 checkUnnamed2134(core.List<core.String> o) { | 101 checkUnnamed1905(core.List<core.String> o) { |
102 unittest.expect(o, unittest.hasLength(2)); | 102 unittest.expect(o, unittest.hasLength(2)); |
103 unittest.expect(o[0], unittest.equals('foo')); | 103 unittest.expect(o[0], unittest.equals('foo')); |
104 unittest.expect(o[1], unittest.equals('foo')); | 104 unittest.expect(o[1], unittest.equals('foo')); |
105 } | 105 } |
106 | 106 |
107 core.int buildCounterAdministratorWebTokenSpec = 0; | 107 core.int buildCounterAdministratorWebTokenSpec = 0; |
108 buildAdministratorWebTokenSpec() { | 108 buildAdministratorWebTokenSpec() { |
109 var o = new api.AdministratorWebTokenSpec(); | 109 var o = new api.AdministratorWebTokenSpec(); |
110 buildCounterAdministratorWebTokenSpec++; | 110 buildCounterAdministratorWebTokenSpec++; |
111 if (buildCounterAdministratorWebTokenSpec < 3) { | 111 if (buildCounterAdministratorWebTokenSpec < 3) { |
112 o.kind = "foo"; | 112 o.kind = "foo"; |
113 o.parent = "foo"; | 113 o.parent = "foo"; |
114 o.permission = buildUnnamed2134(); | 114 o.permission = buildUnnamed1905(); |
115 } | 115 } |
116 buildCounterAdministratorWebTokenSpec--; | 116 buildCounterAdministratorWebTokenSpec--; |
117 return o; | 117 return o; |
118 } | 118 } |
119 | 119 |
120 checkAdministratorWebTokenSpec(api.AdministratorWebTokenSpec o) { | 120 checkAdministratorWebTokenSpec(api.AdministratorWebTokenSpec o) { |
121 buildCounterAdministratorWebTokenSpec++; | 121 buildCounterAdministratorWebTokenSpec++; |
122 if (buildCounterAdministratorWebTokenSpec < 3) { | 122 if (buildCounterAdministratorWebTokenSpec < 3) { |
123 unittest.expect(o.kind, unittest.equals('foo')); | 123 unittest.expect(o.kind, unittest.equals('foo')); |
124 unittest.expect(o.parent, unittest.equals('foo')); | 124 unittest.expect(o.parent, unittest.equals('foo')); |
125 checkUnnamed2134(o.permission); | 125 checkUnnamed1905(o.permission); |
126 } | 126 } |
127 buildCounterAdministratorWebTokenSpec--; | 127 buildCounterAdministratorWebTokenSpec--; |
128 } | 128 } |
129 | 129 |
130 buildUnnamed2135() { | 130 buildUnnamed1906() { |
131 var o = new core.List<api.AppRestrictionsSchemaRestriction>(); | 131 var o = new core.List<api.AppRestrictionsSchemaRestriction>(); |
132 o.add(buildAppRestrictionsSchemaRestriction()); | 132 o.add(buildAppRestrictionsSchemaRestriction()); |
133 o.add(buildAppRestrictionsSchemaRestriction()); | 133 o.add(buildAppRestrictionsSchemaRestriction()); |
134 return o; | 134 return o; |
135 } | 135 } |
136 | 136 |
137 checkUnnamed2135(core.List<api.AppRestrictionsSchemaRestriction> o) { | 137 checkUnnamed1906(core.List<api.AppRestrictionsSchemaRestriction> o) { |
138 unittest.expect(o, unittest.hasLength(2)); | 138 unittest.expect(o, unittest.hasLength(2)); |
139 checkAppRestrictionsSchemaRestriction(o[0]); | 139 checkAppRestrictionsSchemaRestriction(o[0]); |
140 checkAppRestrictionsSchemaRestriction(o[1]); | 140 checkAppRestrictionsSchemaRestriction(o[1]); |
141 } | 141 } |
142 | 142 |
143 core.int buildCounterAppRestrictionsSchema = 0; | 143 core.int buildCounterAppRestrictionsSchema = 0; |
144 buildAppRestrictionsSchema() { | 144 buildAppRestrictionsSchema() { |
145 var o = new api.AppRestrictionsSchema(); | 145 var o = new api.AppRestrictionsSchema(); |
146 buildCounterAppRestrictionsSchema++; | 146 buildCounterAppRestrictionsSchema++; |
147 if (buildCounterAppRestrictionsSchema < 3) { | 147 if (buildCounterAppRestrictionsSchema < 3) { |
148 o.kind = "foo"; | 148 o.kind = "foo"; |
149 o.restrictions = buildUnnamed2135(); | 149 o.restrictions = buildUnnamed1906(); |
150 } | 150 } |
151 buildCounterAppRestrictionsSchema--; | 151 buildCounterAppRestrictionsSchema--; |
152 return o; | 152 return o; |
153 } | 153 } |
154 | 154 |
155 checkAppRestrictionsSchema(api.AppRestrictionsSchema o) { | 155 checkAppRestrictionsSchema(api.AppRestrictionsSchema o) { |
156 buildCounterAppRestrictionsSchema++; | 156 buildCounterAppRestrictionsSchema++; |
157 if (buildCounterAppRestrictionsSchema < 3) { | 157 if (buildCounterAppRestrictionsSchema < 3) { |
158 unittest.expect(o.kind, unittest.equals('foo')); | 158 unittest.expect(o.kind, unittest.equals('foo')); |
159 checkUnnamed2135(o.restrictions); | 159 checkUnnamed1906(o.restrictions); |
160 } | 160 } |
161 buildCounterAppRestrictionsSchema--; | 161 buildCounterAppRestrictionsSchema--; |
162 } | 162 } |
163 | 163 |
164 core.int buildCounterAppRestrictionsSchemaChangeEvent = 0; | 164 core.int buildCounterAppRestrictionsSchemaChangeEvent = 0; |
165 buildAppRestrictionsSchemaChangeEvent() { | 165 buildAppRestrictionsSchemaChangeEvent() { |
166 var o = new api.AppRestrictionsSchemaChangeEvent(); | 166 var o = new api.AppRestrictionsSchemaChangeEvent(); |
167 buildCounterAppRestrictionsSchemaChangeEvent++; | 167 buildCounterAppRestrictionsSchemaChangeEvent++; |
168 if (buildCounterAppRestrictionsSchemaChangeEvent < 3) { | 168 if (buildCounterAppRestrictionsSchemaChangeEvent < 3) { |
169 o.productId = "foo"; | 169 o.productId = "foo"; |
170 } | 170 } |
171 buildCounterAppRestrictionsSchemaChangeEvent--; | 171 buildCounterAppRestrictionsSchemaChangeEvent--; |
172 return o; | 172 return o; |
173 } | 173 } |
174 | 174 |
175 checkAppRestrictionsSchemaChangeEvent(api.AppRestrictionsSchemaChangeEvent o) { | 175 checkAppRestrictionsSchemaChangeEvent(api.AppRestrictionsSchemaChangeEvent o) { |
176 buildCounterAppRestrictionsSchemaChangeEvent++; | 176 buildCounterAppRestrictionsSchemaChangeEvent++; |
177 if (buildCounterAppRestrictionsSchemaChangeEvent < 3) { | 177 if (buildCounterAppRestrictionsSchemaChangeEvent < 3) { |
178 unittest.expect(o.productId, unittest.equals('foo')); | 178 unittest.expect(o.productId, unittest.equals('foo')); |
179 } | 179 } |
180 buildCounterAppRestrictionsSchemaChangeEvent--; | 180 buildCounterAppRestrictionsSchemaChangeEvent--; |
181 } | 181 } |
182 | 182 |
183 buildUnnamed2136() { | 183 buildUnnamed1907() { |
184 var o = new core.List<core.String>(); | 184 var o = new core.List<core.String>(); |
185 o.add("foo"); | 185 o.add("foo"); |
186 o.add("foo"); | 186 o.add("foo"); |
187 return o; | 187 return o; |
188 } | 188 } |
189 | 189 |
190 checkUnnamed2136(core.List<core.String> o) { | 190 checkUnnamed1907(core.List<core.String> o) { |
191 unittest.expect(o, unittest.hasLength(2)); | 191 unittest.expect(o, unittest.hasLength(2)); |
192 unittest.expect(o[0], unittest.equals('foo')); | 192 unittest.expect(o[0], unittest.equals('foo')); |
193 unittest.expect(o[1], unittest.equals('foo')); | 193 unittest.expect(o[1], unittest.equals('foo')); |
194 } | 194 } |
195 | 195 |
196 buildUnnamed2137() { | 196 buildUnnamed1908() { |
197 var o = new core.List<core.String>(); | 197 var o = new core.List<core.String>(); |
198 o.add("foo"); | 198 o.add("foo"); |
199 o.add("foo"); | 199 o.add("foo"); |
200 return o; | 200 return o; |
201 } | 201 } |
202 | 202 |
203 checkUnnamed2137(core.List<core.String> o) { | 203 checkUnnamed1908(core.List<core.String> o) { |
204 unittest.expect(o, unittest.hasLength(2)); | 204 unittest.expect(o, unittest.hasLength(2)); |
205 unittest.expect(o[0], unittest.equals('foo')); | 205 unittest.expect(o[0], unittest.equals('foo')); |
206 unittest.expect(o[1], unittest.equals('foo')); | 206 unittest.expect(o[1], unittest.equals('foo')); |
207 } | 207 } |
208 | 208 |
209 buildUnnamed2138() { | 209 buildUnnamed1909() { |
210 var o = new core.List<api.AppRestrictionsSchemaRestriction>(); | 210 var o = new core.List<api.AppRestrictionsSchemaRestriction>(); |
211 o.add(buildAppRestrictionsSchemaRestriction()); | 211 o.add(buildAppRestrictionsSchemaRestriction()); |
212 o.add(buildAppRestrictionsSchemaRestriction()); | 212 o.add(buildAppRestrictionsSchemaRestriction()); |
213 return o; | 213 return o; |
214 } | 214 } |
215 | 215 |
216 checkUnnamed2138(core.List<api.AppRestrictionsSchemaRestriction> o) { | 216 checkUnnamed1909(core.List<api.AppRestrictionsSchemaRestriction> o) { |
217 unittest.expect(o, unittest.hasLength(2)); | 217 unittest.expect(o, unittest.hasLength(2)); |
218 checkAppRestrictionsSchemaRestriction(o[0]); | 218 checkAppRestrictionsSchemaRestriction(o[0]); |
219 checkAppRestrictionsSchemaRestriction(o[1]); | 219 checkAppRestrictionsSchemaRestriction(o[1]); |
220 } | 220 } |
221 | 221 |
222 core.int buildCounterAppRestrictionsSchemaRestriction = 0; | 222 core.int buildCounterAppRestrictionsSchemaRestriction = 0; |
223 buildAppRestrictionsSchemaRestriction() { | 223 buildAppRestrictionsSchemaRestriction() { |
224 var o = new api.AppRestrictionsSchemaRestriction(); | 224 var o = new api.AppRestrictionsSchemaRestriction(); |
225 buildCounterAppRestrictionsSchemaRestriction++; | 225 buildCounterAppRestrictionsSchemaRestriction++; |
226 if (buildCounterAppRestrictionsSchemaRestriction < 3) { | 226 if (buildCounterAppRestrictionsSchemaRestriction < 3) { |
227 o.defaultValue = buildAppRestrictionsSchemaRestrictionRestrictionValue(); | 227 o.defaultValue = buildAppRestrictionsSchemaRestrictionRestrictionValue(); |
228 o.description = "foo"; | 228 o.description = "foo"; |
229 o.entry = buildUnnamed2136(); | 229 o.entry = buildUnnamed1907(); |
230 o.entryValue = buildUnnamed2137(); | 230 o.entryValue = buildUnnamed1908(); |
231 o.key = "foo"; | 231 o.key = "foo"; |
232 o.nestedRestriction = buildUnnamed2138(); | 232 o.nestedRestriction = buildUnnamed1909(); |
233 o.restrictionType = "foo"; | 233 o.restrictionType = "foo"; |
234 o.title = "foo"; | 234 o.title = "foo"; |
235 } | 235 } |
236 buildCounterAppRestrictionsSchemaRestriction--; | 236 buildCounterAppRestrictionsSchemaRestriction--; |
237 return o; | 237 return o; |
238 } | 238 } |
239 | 239 |
240 checkAppRestrictionsSchemaRestriction(api.AppRestrictionsSchemaRestriction o) { | 240 checkAppRestrictionsSchemaRestriction(api.AppRestrictionsSchemaRestriction o) { |
241 buildCounterAppRestrictionsSchemaRestriction++; | 241 buildCounterAppRestrictionsSchemaRestriction++; |
242 if (buildCounterAppRestrictionsSchemaRestriction < 3) { | 242 if (buildCounterAppRestrictionsSchemaRestriction < 3) { |
243 checkAppRestrictionsSchemaRestrictionRestrictionValue(o.defaultValue); | 243 checkAppRestrictionsSchemaRestrictionRestrictionValue(o.defaultValue); |
244 unittest.expect(o.description, unittest.equals('foo')); | 244 unittest.expect(o.description, unittest.equals('foo')); |
245 checkUnnamed2136(o.entry); | 245 checkUnnamed1907(o.entry); |
246 checkUnnamed2137(o.entryValue); | 246 checkUnnamed1908(o.entryValue); |
247 unittest.expect(o.key, unittest.equals('foo')); | 247 unittest.expect(o.key, unittest.equals('foo')); |
248 checkUnnamed2138(o.nestedRestriction); | 248 checkUnnamed1909(o.nestedRestriction); |
249 unittest.expect(o.restrictionType, unittest.equals('foo')); | 249 unittest.expect(o.restrictionType, unittest.equals('foo')); |
250 unittest.expect(o.title, unittest.equals('foo')); | 250 unittest.expect(o.title, unittest.equals('foo')); |
251 } | 251 } |
252 buildCounterAppRestrictionsSchemaRestriction--; | 252 buildCounterAppRestrictionsSchemaRestriction--; |
253 } | 253 } |
254 | 254 |
255 buildUnnamed2139() { | 255 buildUnnamed1910() { |
256 var o = new core.List<core.String>(); | 256 var o = new core.List<core.String>(); |
257 o.add("foo"); | 257 o.add("foo"); |
258 o.add("foo"); | 258 o.add("foo"); |
259 return o; | 259 return o; |
260 } | 260 } |
261 | 261 |
262 checkUnnamed2139(core.List<core.String> o) { | 262 checkUnnamed1910(core.List<core.String> o) { |
263 unittest.expect(o, unittest.hasLength(2)); | 263 unittest.expect(o, unittest.hasLength(2)); |
264 unittest.expect(o[0], unittest.equals('foo')); | 264 unittest.expect(o[0], unittest.equals('foo')); |
265 unittest.expect(o[1], unittest.equals('foo')); | 265 unittest.expect(o[1], unittest.equals('foo')); |
266 } | 266 } |
267 | 267 |
268 core.int buildCounterAppRestrictionsSchemaRestrictionRestrictionValue = 0; | 268 core.int buildCounterAppRestrictionsSchemaRestrictionRestrictionValue = 0; |
269 buildAppRestrictionsSchemaRestrictionRestrictionValue() { | 269 buildAppRestrictionsSchemaRestrictionRestrictionValue() { |
270 var o = new api.AppRestrictionsSchemaRestrictionRestrictionValue(); | 270 var o = new api.AppRestrictionsSchemaRestrictionRestrictionValue(); |
271 buildCounterAppRestrictionsSchemaRestrictionRestrictionValue++; | 271 buildCounterAppRestrictionsSchemaRestrictionRestrictionValue++; |
272 if (buildCounterAppRestrictionsSchemaRestrictionRestrictionValue < 3) { | 272 if (buildCounterAppRestrictionsSchemaRestrictionRestrictionValue < 3) { |
273 o.type = "foo"; | 273 o.type = "foo"; |
274 o.valueBool = true; | 274 o.valueBool = true; |
275 o.valueInteger = 42; | 275 o.valueInteger = 42; |
276 o.valueMultiselect = buildUnnamed2139(); | 276 o.valueMultiselect = buildUnnamed1910(); |
277 o.valueString = "foo"; | 277 o.valueString = "foo"; |
278 } | 278 } |
279 buildCounterAppRestrictionsSchemaRestrictionRestrictionValue--; | 279 buildCounterAppRestrictionsSchemaRestrictionRestrictionValue--; |
280 return o; | 280 return o; |
281 } | 281 } |
282 | 282 |
283 checkAppRestrictionsSchemaRestrictionRestrictionValue(api.AppRestrictionsSchemaR
estrictionRestrictionValue o) { | 283 checkAppRestrictionsSchemaRestrictionRestrictionValue(api.AppRestrictionsSchemaR
estrictionRestrictionValue o) { |
284 buildCounterAppRestrictionsSchemaRestrictionRestrictionValue++; | 284 buildCounterAppRestrictionsSchemaRestrictionRestrictionValue++; |
285 if (buildCounterAppRestrictionsSchemaRestrictionRestrictionValue < 3) { | 285 if (buildCounterAppRestrictionsSchemaRestrictionRestrictionValue < 3) { |
286 unittest.expect(o.type, unittest.equals('foo')); | 286 unittest.expect(o.type, unittest.equals('foo')); |
287 unittest.expect(o.valueBool, unittest.isTrue); | 287 unittest.expect(o.valueBool, unittest.isTrue); |
288 unittest.expect(o.valueInteger, unittest.equals(42)); | 288 unittest.expect(o.valueInteger, unittest.equals(42)); |
289 checkUnnamed2139(o.valueMultiselect); | 289 checkUnnamed1910(o.valueMultiselect); |
290 unittest.expect(o.valueString, unittest.equals('foo')); | 290 unittest.expect(o.valueString, unittest.equals('foo')); |
291 } | 291 } |
292 buildCounterAppRestrictionsSchemaRestrictionRestrictionValue--; | 292 buildCounterAppRestrictionsSchemaRestrictionRestrictionValue--; |
293 } | 293 } |
294 | 294 |
295 core.int buildCounterAppUpdateEvent = 0; | 295 core.int buildCounterAppUpdateEvent = 0; |
296 buildAppUpdateEvent() { | 296 buildAppUpdateEvent() { |
297 var o = new api.AppUpdateEvent(); | 297 var o = new api.AppUpdateEvent(); |
298 buildCounterAppUpdateEvent++; | 298 buildCounterAppUpdateEvent++; |
299 if (buildCounterAppUpdateEvent < 3) { | 299 if (buildCounterAppUpdateEvent < 3) { |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
367 | 367 |
368 checkAuthenticationToken(api.AuthenticationToken o) { | 368 checkAuthenticationToken(api.AuthenticationToken o) { |
369 buildCounterAuthenticationToken++; | 369 buildCounterAuthenticationToken++; |
370 if (buildCounterAuthenticationToken < 3) { | 370 if (buildCounterAuthenticationToken < 3) { |
371 unittest.expect(o.kind, unittest.equals('foo')); | 371 unittest.expect(o.kind, unittest.equals('foo')); |
372 unittest.expect(o.token, unittest.equals('foo')); | 372 unittest.expect(o.token, unittest.equals('foo')); |
373 } | 373 } |
374 buildCounterAuthenticationToken--; | 374 buildCounterAuthenticationToken--; |
375 } | 375 } |
376 | 376 |
377 buildUnnamed2140() { | 377 buildUnnamed1911() { |
378 var o = new core.List<core.String>(); | 378 var o = new core.List<core.String>(); |
379 o.add("foo"); | 379 o.add("foo"); |
380 o.add("foo"); | 380 o.add("foo"); |
381 return o; | 381 return o; |
382 } | 382 } |
383 | 383 |
384 checkUnnamed2140(core.List<core.String> o) { | 384 checkUnnamed1911(core.List<core.String> o) { |
385 unittest.expect(o, unittest.hasLength(2)); | 385 unittest.expect(o, unittest.hasLength(2)); |
386 unittest.expect(o[0], unittest.equals('foo')); | 386 unittest.expect(o[0], unittest.equals('foo')); |
387 unittest.expect(o[1], unittest.equals('foo')); | 387 unittest.expect(o[1], unittest.equals('foo')); |
388 } | 388 } |
389 | 389 |
390 core.int buildCounterCollection = 0; | 390 core.int buildCounterCollection = 0; |
391 buildCollection() { | 391 buildCollection() { |
392 var o = new api.Collection(); | 392 var o = new api.Collection(); |
393 buildCounterCollection++; | 393 buildCounterCollection++; |
394 if (buildCounterCollection < 3) { | 394 if (buildCounterCollection < 3) { |
395 o.collectionId = "foo"; | 395 o.collectionId = "foo"; |
396 o.kind = "foo"; | 396 o.kind = "foo"; |
397 o.name = "foo"; | 397 o.name = "foo"; |
398 o.productId = buildUnnamed2140(); | 398 o.productId = buildUnnamed1911(); |
399 o.visibility = "foo"; | 399 o.visibility = "foo"; |
400 } | 400 } |
401 buildCounterCollection--; | 401 buildCounterCollection--; |
402 return o; | 402 return o; |
403 } | 403 } |
404 | 404 |
405 checkCollection(api.Collection o) { | 405 checkCollection(api.Collection o) { |
406 buildCounterCollection++; | 406 buildCounterCollection++; |
407 if (buildCounterCollection < 3) { | 407 if (buildCounterCollection < 3) { |
408 unittest.expect(o.collectionId, unittest.equals('foo')); | 408 unittest.expect(o.collectionId, unittest.equals('foo')); |
409 unittest.expect(o.kind, unittest.equals('foo')); | 409 unittest.expect(o.kind, unittest.equals('foo')); |
410 unittest.expect(o.name, unittest.equals('foo')); | 410 unittest.expect(o.name, unittest.equals('foo')); |
411 checkUnnamed2140(o.productId); | 411 checkUnnamed1911(o.productId); |
412 unittest.expect(o.visibility, unittest.equals('foo')); | 412 unittest.expect(o.visibility, unittest.equals('foo')); |
413 } | 413 } |
414 buildCounterCollection--; | 414 buildCounterCollection--; |
415 } | 415 } |
416 | 416 |
417 buildUnnamed2141() { | 417 buildUnnamed1912() { |
418 var o = new core.List<api.User>(); | 418 var o = new core.List<api.User>(); |
419 o.add(buildUser()); | 419 o.add(buildUser()); |
420 o.add(buildUser()); | 420 o.add(buildUser()); |
421 return o; | 421 return o; |
422 } | 422 } |
423 | 423 |
424 checkUnnamed2141(core.List<api.User> o) { | 424 checkUnnamed1912(core.List<api.User> o) { |
425 unittest.expect(o, unittest.hasLength(2)); | 425 unittest.expect(o, unittest.hasLength(2)); |
426 checkUser(o[0]); | 426 checkUser(o[0]); |
427 checkUser(o[1]); | 427 checkUser(o[1]); |
428 } | 428 } |
429 | 429 |
430 core.int buildCounterCollectionViewersListResponse = 0; | 430 core.int buildCounterCollectionViewersListResponse = 0; |
431 buildCollectionViewersListResponse() { | 431 buildCollectionViewersListResponse() { |
432 var o = new api.CollectionViewersListResponse(); | 432 var o = new api.CollectionViewersListResponse(); |
433 buildCounterCollectionViewersListResponse++; | 433 buildCounterCollectionViewersListResponse++; |
434 if (buildCounterCollectionViewersListResponse < 3) { | 434 if (buildCounterCollectionViewersListResponse < 3) { |
435 o.kind = "foo"; | 435 o.kind = "foo"; |
436 o.user = buildUnnamed2141(); | 436 o.user = buildUnnamed1912(); |
437 } | 437 } |
438 buildCounterCollectionViewersListResponse--; | 438 buildCounterCollectionViewersListResponse--; |
439 return o; | 439 return o; |
440 } | 440 } |
441 | 441 |
442 checkCollectionViewersListResponse(api.CollectionViewersListResponse o) { | 442 checkCollectionViewersListResponse(api.CollectionViewersListResponse o) { |
443 buildCounterCollectionViewersListResponse++; | 443 buildCounterCollectionViewersListResponse++; |
444 if (buildCounterCollectionViewersListResponse < 3) { | 444 if (buildCounterCollectionViewersListResponse < 3) { |
445 unittest.expect(o.kind, unittest.equals('foo')); | 445 unittest.expect(o.kind, unittest.equals('foo')); |
446 checkUnnamed2141(o.user); | 446 checkUnnamed1912(o.user); |
447 } | 447 } |
448 buildCounterCollectionViewersListResponse--; | 448 buildCounterCollectionViewersListResponse--; |
449 } | 449 } |
450 | 450 |
451 buildUnnamed2142() { | 451 buildUnnamed1913() { |
452 var o = new core.List<api.Collection>(); | 452 var o = new core.List<api.Collection>(); |
453 o.add(buildCollection()); | 453 o.add(buildCollection()); |
454 o.add(buildCollection()); | 454 o.add(buildCollection()); |
455 return o; | 455 return o; |
456 } | 456 } |
457 | 457 |
458 checkUnnamed2142(core.List<api.Collection> o) { | 458 checkUnnamed1913(core.List<api.Collection> o) { |
459 unittest.expect(o, unittest.hasLength(2)); | 459 unittest.expect(o, unittest.hasLength(2)); |
460 checkCollection(o[0]); | 460 checkCollection(o[0]); |
461 checkCollection(o[1]); | 461 checkCollection(o[1]); |
462 } | 462 } |
463 | 463 |
464 core.int buildCounterCollectionsListResponse = 0; | 464 core.int buildCounterCollectionsListResponse = 0; |
465 buildCollectionsListResponse() { | 465 buildCollectionsListResponse() { |
466 var o = new api.CollectionsListResponse(); | 466 var o = new api.CollectionsListResponse(); |
467 buildCounterCollectionsListResponse++; | 467 buildCounterCollectionsListResponse++; |
468 if (buildCounterCollectionsListResponse < 3) { | 468 if (buildCounterCollectionsListResponse < 3) { |
469 o.collection = buildUnnamed2142(); | 469 o.collection = buildUnnamed1913(); |
470 o.kind = "foo"; | 470 o.kind = "foo"; |
471 } | 471 } |
472 buildCounterCollectionsListResponse--; | 472 buildCounterCollectionsListResponse--; |
473 return o; | 473 return o; |
474 } | 474 } |
475 | 475 |
476 checkCollectionsListResponse(api.CollectionsListResponse o) { | 476 checkCollectionsListResponse(api.CollectionsListResponse o) { |
477 buildCounterCollectionsListResponse++; | 477 buildCounterCollectionsListResponse++; |
478 if (buildCounterCollectionsListResponse < 3) { | 478 if (buildCounterCollectionsListResponse < 3) { |
479 checkUnnamed2142(o.collection); | 479 checkUnnamed1913(o.collection); |
480 unittest.expect(o.kind, unittest.equals('foo')); | 480 unittest.expect(o.kind, unittest.equals('foo')); |
481 } | 481 } |
482 buildCounterCollectionsListResponse--; | 482 buildCounterCollectionsListResponse--; |
483 } | 483 } |
484 | 484 |
485 core.int buildCounterDevice = 0; | 485 core.int buildCounterDevice = 0; |
486 buildDevice() { | 486 buildDevice() { |
487 var o = new api.Device(); | 487 var o = new api.Device(); |
488 buildCounterDevice++; | 488 buildCounterDevice++; |
489 if (buildCounterDevice < 3) { | 489 if (buildCounterDevice < 3) { |
(...skipping 29 matching lines...) Expand all Loading... |
519 | 519 |
520 checkDeviceState(api.DeviceState o) { | 520 checkDeviceState(api.DeviceState o) { |
521 buildCounterDeviceState++; | 521 buildCounterDeviceState++; |
522 if (buildCounterDeviceState < 3) { | 522 if (buildCounterDeviceState < 3) { |
523 unittest.expect(o.accountState, unittest.equals('foo')); | 523 unittest.expect(o.accountState, unittest.equals('foo')); |
524 unittest.expect(o.kind, unittest.equals('foo')); | 524 unittest.expect(o.kind, unittest.equals('foo')); |
525 } | 525 } |
526 buildCounterDeviceState--; | 526 buildCounterDeviceState--; |
527 } | 527 } |
528 | 528 |
529 buildUnnamed2143() { | 529 buildUnnamed1914() { |
530 var o = new core.List<api.Device>(); | 530 var o = new core.List<api.Device>(); |
531 o.add(buildDevice()); | 531 o.add(buildDevice()); |
532 o.add(buildDevice()); | 532 o.add(buildDevice()); |
533 return o; | 533 return o; |
534 } | 534 } |
535 | 535 |
536 checkUnnamed2143(core.List<api.Device> o) { | 536 checkUnnamed1914(core.List<api.Device> o) { |
537 unittest.expect(o, unittest.hasLength(2)); | 537 unittest.expect(o, unittest.hasLength(2)); |
538 checkDevice(o[0]); | 538 checkDevice(o[0]); |
539 checkDevice(o[1]); | 539 checkDevice(o[1]); |
540 } | 540 } |
541 | 541 |
542 core.int buildCounterDevicesListResponse = 0; | 542 core.int buildCounterDevicesListResponse = 0; |
543 buildDevicesListResponse() { | 543 buildDevicesListResponse() { |
544 var o = new api.DevicesListResponse(); | 544 var o = new api.DevicesListResponse(); |
545 buildCounterDevicesListResponse++; | 545 buildCounterDevicesListResponse++; |
546 if (buildCounterDevicesListResponse < 3) { | 546 if (buildCounterDevicesListResponse < 3) { |
547 o.device = buildUnnamed2143(); | 547 o.device = buildUnnamed1914(); |
548 o.kind = "foo"; | 548 o.kind = "foo"; |
549 } | 549 } |
550 buildCounterDevicesListResponse--; | 550 buildCounterDevicesListResponse--; |
551 return o; | 551 return o; |
552 } | 552 } |
553 | 553 |
554 checkDevicesListResponse(api.DevicesListResponse o) { | 554 checkDevicesListResponse(api.DevicesListResponse o) { |
555 buildCounterDevicesListResponse++; | 555 buildCounterDevicesListResponse++; |
556 if (buildCounterDevicesListResponse < 3) { | 556 if (buildCounterDevicesListResponse < 3) { |
557 checkUnnamed2143(o.device); | 557 checkUnnamed1914(o.device); |
558 unittest.expect(o.kind, unittest.equals('foo')); | 558 unittest.expect(o.kind, unittest.equals('foo')); |
559 } | 559 } |
560 buildCounterDevicesListResponse--; | 560 buildCounterDevicesListResponse--; |
561 } | 561 } |
562 | 562 |
563 buildUnnamed2144() { | 563 buildUnnamed1915() { |
564 var o = new core.List<api.Administrator>(); | 564 var o = new core.List<api.Administrator>(); |
565 o.add(buildAdministrator()); | 565 o.add(buildAdministrator()); |
566 o.add(buildAdministrator()); | 566 o.add(buildAdministrator()); |
567 return o; | 567 return o; |
568 } | 568 } |
569 | 569 |
570 checkUnnamed2144(core.List<api.Administrator> o) { | 570 checkUnnamed1915(core.List<api.Administrator> o) { |
571 unittest.expect(o, unittest.hasLength(2)); | 571 unittest.expect(o, unittest.hasLength(2)); |
572 checkAdministrator(o[0]); | 572 checkAdministrator(o[0]); |
573 checkAdministrator(o[1]); | 573 checkAdministrator(o[1]); |
574 } | 574 } |
575 | 575 |
576 core.int buildCounterEnterprise = 0; | 576 core.int buildCounterEnterprise = 0; |
577 buildEnterprise() { | 577 buildEnterprise() { |
578 var o = new api.Enterprise(); | 578 var o = new api.Enterprise(); |
579 buildCounterEnterprise++; | 579 buildCounterEnterprise++; |
580 if (buildCounterEnterprise < 3) { | 580 if (buildCounterEnterprise < 3) { |
581 o.administrator = buildUnnamed2144(); | 581 o.administrator = buildUnnamed1915(); |
582 o.id = "foo"; | 582 o.id = "foo"; |
583 o.kind = "foo"; | 583 o.kind = "foo"; |
584 o.name = "foo"; | 584 o.name = "foo"; |
585 o.primaryDomain = "foo"; | 585 o.primaryDomain = "foo"; |
586 } | 586 } |
587 buildCounterEnterprise--; | 587 buildCounterEnterprise--; |
588 return o; | 588 return o; |
589 } | 589 } |
590 | 590 |
591 checkEnterprise(api.Enterprise o) { | 591 checkEnterprise(api.Enterprise o) { |
592 buildCounterEnterprise++; | 592 buildCounterEnterprise++; |
593 if (buildCounterEnterprise < 3) { | 593 if (buildCounterEnterprise < 3) { |
594 checkUnnamed2144(o.administrator); | 594 checkUnnamed1915(o.administrator); |
595 unittest.expect(o.id, unittest.equals('foo')); | 595 unittest.expect(o.id, unittest.equals('foo')); |
596 unittest.expect(o.kind, unittest.equals('foo')); | 596 unittest.expect(o.kind, unittest.equals('foo')); |
597 unittest.expect(o.name, unittest.equals('foo')); | 597 unittest.expect(o.name, unittest.equals('foo')); |
598 unittest.expect(o.primaryDomain, unittest.equals('foo')); | 598 unittest.expect(o.primaryDomain, unittest.equals('foo')); |
599 } | 599 } |
600 buildCounterEnterprise--; | 600 buildCounterEnterprise--; |
601 } | 601 } |
602 | 602 |
603 core.int buildCounterEnterpriseAccount = 0; | 603 core.int buildCounterEnterpriseAccount = 0; |
604 buildEnterpriseAccount() { | 604 buildEnterpriseAccount() { |
605 var o = new api.EnterpriseAccount(); | 605 var o = new api.EnterpriseAccount(); |
606 buildCounterEnterpriseAccount++; | 606 buildCounterEnterpriseAccount++; |
607 if (buildCounterEnterpriseAccount < 3) { | 607 if (buildCounterEnterpriseAccount < 3) { |
608 o.accountEmail = "foo"; | 608 o.accountEmail = "foo"; |
609 o.kind = "foo"; | 609 o.kind = "foo"; |
610 } | 610 } |
611 buildCounterEnterpriseAccount--; | 611 buildCounterEnterpriseAccount--; |
612 return o; | 612 return o; |
613 } | 613 } |
614 | 614 |
615 checkEnterpriseAccount(api.EnterpriseAccount o) { | 615 checkEnterpriseAccount(api.EnterpriseAccount o) { |
616 buildCounterEnterpriseAccount++; | 616 buildCounterEnterpriseAccount++; |
617 if (buildCounterEnterpriseAccount < 3) { | 617 if (buildCounterEnterpriseAccount < 3) { |
618 unittest.expect(o.accountEmail, unittest.equals('foo')); | 618 unittest.expect(o.accountEmail, unittest.equals('foo')); |
619 unittest.expect(o.kind, unittest.equals('foo')); | 619 unittest.expect(o.kind, unittest.equals('foo')); |
620 } | 620 } |
621 buildCounterEnterpriseAccount--; | 621 buildCounterEnterpriseAccount--; |
622 } | 622 } |
623 | 623 |
624 buildUnnamed2145() { | 624 buildUnnamed1916() { |
625 var o = new core.List<api.Enterprise>(); | 625 var o = new core.List<api.Enterprise>(); |
626 o.add(buildEnterprise()); | 626 o.add(buildEnterprise()); |
627 o.add(buildEnterprise()); | 627 o.add(buildEnterprise()); |
628 return o; | 628 return o; |
629 } | 629 } |
630 | 630 |
631 checkUnnamed2145(core.List<api.Enterprise> o) { | 631 checkUnnamed1916(core.List<api.Enterprise> o) { |
632 unittest.expect(o, unittest.hasLength(2)); | 632 unittest.expect(o, unittest.hasLength(2)); |
633 checkEnterprise(o[0]); | 633 checkEnterprise(o[0]); |
634 checkEnterprise(o[1]); | 634 checkEnterprise(o[1]); |
635 } | 635 } |
636 | 636 |
637 core.int buildCounterEnterprisesListResponse = 0; | 637 core.int buildCounterEnterprisesListResponse = 0; |
638 buildEnterprisesListResponse() { | 638 buildEnterprisesListResponse() { |
639 var o = new api.EnterprisesListResponse(); | 639 var o = new api.EnterprisesListResponse(); |
640 buildCounterEnterprisesListResponse++; | 640 buildCounterEnterprisesListResponse++; |
641 if (buildCounterEnterprisesListResponse < 3) { | 641 if (buildCounterEnterprisesListResponse < 3) { |
642 o.enterprise = buildUnnamed2145(); | 642 o.enterprise = buildUnnamed1916(); |
643 o.kind = "foo"; | 643 o.kind = "foo"; |
644 } | 644 } |
645 buildCounterEnterprisesListResponse--; | 645 buildCounterEnterprisesListResponse--; |
646 return o; | 646 return o; |
647 } | 647 } |
648 | 648 |
649 checkEnterprisesListResponse(api.EnterprisesListResponse o) { | 649 checkEnterprisesListResponse(api.EnterprisesListResponse o) { |
650 buildCounterEnterprisesListResponse++; | 650 buildCounterEnterprisesListResponse++; |
651 if (buildCounterEnterprisesListResponse < 3) { | 651 if (buildCounterEnterprisesListResponse < 3) { |
652 checkUnnamed2145(o.enterprise); | 652 checkUnnamed1916(o.enterprise); |
653 unittest.expect(o.kind, unittest.equals('foo')); | 653 unittest.expect(o.kind, unittest.equals('foo')); |
654 } | 654 } |
655 buildCounterEnterprisesListResponse--; | 655 buildCounterEnterprisesListResponse--; |
656 } | 656 } |
657 | 657 |
658 core.int buildCounterEnterprisesSendTestPushNotificationResponse = 0; | 658 core.int buildCounterEnterprisesSendTestPushNotificationResponse = 0; |
659 buildEnterprisesSendTestPushNotificationResponse() { | 659 buildEnterprisesSendTestPushNotificationResponse() { |
660 var o = new api.EnterprisesSendTestPushNotificationResponse(); | 660 var o = new api.EnterprisesSendTestPushNotificationResponse(); |
661 buildCounterEnterprisesSendTestPushNotificationResponse++; | 661 buildCounterEnterprisesSendTestPushNotificationResponse++; |
662 if (buildCounterEnterprisesSendTestPushNotificationResponse < 3) { | 662 if (buildCounterEnterprisesSendTestPushNotificationResponse < 3) { |
(...skipping 29 matching lines...) Expand all Loading... |
692 checkEntitlement(api.Entitlement o) { | 692 checkEntitlement(api.Entitlement o) { |
693 buildCounterEntitlement++; | 693 buildCounterEntitlement++; |
694 if (buildCounterEntitlement < 3) { | 694 if (buildCounterEntitlement < 3) { |
695 unittest.expect(o.kind, unittest.equals('foo')); | 695 unittest.expect(o.kind, unittest.equals('foo')); |
696 unittest.expect(o.productId, unittest.equals('foo')); | 696 unittest.expect(o.productId, unittest.equals('foo')); |
697 unittest.expect(o.reason, unittest.equals('foo')); | 697 unittest.expect(o.reason, unittest.equals('foo')); |
698 } | 698 } |
699 buildCounterEntitlement--; | 699 buildCounterEntitlement--; |
700 } | 700 } |
701 | 701 |
702 buildUnnamed2146() { | 702 buildUnnamed1917() { |
703 var o = new core.List<api.Entitlement>(); | 703 var o = new core.List<api.Entitlement>(); |
704 o.add(buildEntitlement()); | 704 o.add(buildEntitlement()); |
705 o.add(buildEntitlement()); | 705 o.add(buildEntitlement()); |
706 return o; | 706 return o; |
707 } | 707 } |
708 | 708 |
709 checkUnnamed2146(core.List<api.Entitlement> o) { | 709 checkUnnamed1917(core.List<api.Entitlement> o) { |
710 unittest.expect(o, unittest.hasLength(2)); | 710 unittest.expect(o, unittest.hasLength(2)); |
711 checkEntitlement(o[0]); | 711 checkEntitlement(o[0]); |
712 checkEntitlement(o[1]); | 712 checkEntitlement(o[1]); |
713 } | 713 } |
714 | 714 |
715 core.int buildCounterEntitlementsListResponse = 0; | 715 core.int buildCounterEntitlementsListResponse = 0; |
716 buildEntitlementsListResponse() { | 716 buildEntitlementsListResponse() { |
717 var o = new api.EntitlementsListResponse(); | 717 var o = new api.EntitlementsListResponse(); |
718 buildCounterEntitlementsListResponse++; | 718 buildCounterEntitlementsListResponse++; |
719 if (buildCounterEntitlementsListResponse < 3) { | 719 if (buildCounterEntitlementsListResponse < 3) { |
720 o.entitlement = buildUnnamed2146(); | 720 o.entitlement = buildUnnamed1917(); |
721 o.kind = "foo"; | 721 o.kind = "foo"; |
722 } | 722 } |
723 buildCounterEntitlementsListResponse--; | 723 buildCounterEntitlementsListResponse--; |
724 return o; | 724 return o; |
725 } | 725 } |
726 | 726 |
727 checkEntitlementsListResponse(api.EntitlementsListResponse o) { | 727 checkEntitlementsListResponse(api.EntitlementsListResponse o) { |
728 buildCounterEntitlementsListResponse++; | 728 buildCounterEntitlementsListResponse++; |
729 if (buildCounterEntitlementsListResponse < 3) { | 729 if (buildCounterEntitlementsListResponse < 3) { |
730 checkUnnamed2146(o.entitlement); | 730 checkUnnamed1917(o.entitlement); |
731 unittest.expect(o.kind, unittest.equals('foo')); | 731 unittest.expect(o.kind, unittest.equals('foo')); |
732 } | 732 } |
733 buildCounterEntitlementsListResponse--; | 733 buildCounterEntitlementsListResponse--; |
734 } | 734 } |
735 | 735 |
736 core.int buildCounterGroupLicense = 0; | 736 core.int buildCounterGroupLicense = 0; |
737 buildGroupLicense() { | 737 buildGroupLicense() { |
738 var o = new api.GroupLicense(); | 738 var o = new api.GroupLicense(); |
739 buildCounterGroupLicense++; | 739 buildCounterGroupLicense++; |
740 if (buildCounterGroupLicense < 3) { | 740 if (buildCounterGroupLicense < 3) { |
(...skipping 14 matching lines...) Expand all Loading... |
755 unittest.expect(o.acquisitionKind, unittest.equals('foo')); | 755 unittest.expect(o.acquisitionKind, unittest.equals('foo')); |
756 unittest.expect(o.approval, unittest.equals('foo')); | 756 unittest.expect(o.approval, unittest.equals('foo')); |
757 unittest.expect(o.kind, unittest.equals('foo')); | 757 unittest.expect(o.kind, unittest.equals('foo')); |
758 unittest.expect(o.numProvisioned, unittest.equals(42)); | 758 unittest.expect(o.numProvisioned, unittest.equals(42)); |
759 unittest.expect(o.numPurchased, unittest.equals(42)); | 759 unittest.expect(o.numPurchased, unittest.equals(42)); |
760 unittest.expect(o.productId, unittest.equals('foo')); | 760 unittest.expect(o.productId, unittest.equals('foo')); |
761 } | 761 } |
762 buildCounterGroupLicense--; | 762 buildCounterGroupLicense--; |
763 } | 763 } |
764 | 764 |
765 buildUnnamed2147() { | 765 buildUnnamed1918() { |
766 var o = new core.List<api.User>(); | 766 var o = new core.List<api.User>(); |
767 o.add(buildUser()); | 767 o.add(buildUser()); |
768 o.add(buildUser()); | 768 o.add(buildUser()); |
769 return o; | 769 return o; |
770 } | 770 } |
771 | 771 |
772 checkUnnamed2147(core.List<api.User> o) { | 772 checkUnnamed1918(core.List<api.User> o) { |
773 unittest.expect(o, unittest.hasLength(2)); | 773 unittest.expect(o, unittest.hasLength(2)); |
774 checkUser(o[0]); | 774 checkUser(o[0]); |
775 checkUser(o[1]); | 775 checkUser(o[1]); |
776 } | 776 } |
777 | 777 |
778 core.int buildCounterGroupLicenseUsersListResponse = 0; | 778 core.int buildCounterGroupLicenseUsersListResponse = 0; |
779 buildGroupLicenseUsersListResponse() { | 779 buildGroupLicenseUsersListResponse() { |
780 var o = new api.GroupLicenseUsersListResponse(); | 780 var o = new api.GroupLicenseUsersListResponse(); |
781 buildCounterGroupLicenseUsersListResponse++; | 781 buildCounterGroupLicenseUsersListResponse++; |
782 if (buildCounterGroupLicenseUsersListResponse < 3) { | 782 if (buildCounterGroupLicenseUsersListResponse < 3) { |
783 o.kind = "foo"; | 783 o.kind = "foo"; |
784 o.user = buildUnnamed2147(); | 784 o.user = buildUnnamed1918(); |
785 } | 785 } |
786 buildCounterGroupLicenseUsersListResponse--; | 786 buildCounterGroupLicenseUsersListResponse--; |
787 return o; | 787 return o; |
788 } | 788 } |
789 | 789 |
790 checkGroupLicenseUsersListResponse(api.GroupLicenseUsersListResponse o) { | 790 checkGroupLicenseUsersListResponse(api.GroupLicenseUsersListResponse o) { |
791 buildCounterGroupLicenseUsersListResponse++; | 791 buildCounterGroupLicenseUsersListResponse++; |
792 if (buildCounterGroupLicenseUsersListResponse < 3) { | 792 if (buildCounterGroupLicenseUsersListResponse < 3) { |
793 unittest.expect(o.kind, unittest.equals('foo')); | 793 unittest.expect(o.kind, unittest.equals('foo')); |
794 checkUnnamed2147(o.user); | 794 checkUnnamed1918(o.user); |
795 } | 795 } |
796 buildCounterGroupLicenseUsersListResponse--; | 796 buildCounterGroupLicenseUsersListResponse--; |
797 } | 797 } |
798 | 798 |
799 buildUnnamed2148() { | 799 buildUnnamed1919() { |
800 var o = new core.List<api.GroupLicense>(); | 800 var o = new core.List<api.GroupLicense>(); |
801 o.add(buildGroupLicense()); | 801 o.add(buildGroupLicense()); |
802 o.add(buildGroupLicense()); | 802 o.add(buildGroupLicense()); |
803 return o; | 803 return o; |
804 } | 804 } |
805 | 805 |
806 checkUnnamed2148(core.List<api.GroupLicense> o) { | 806 checkUnnamed1919(core.List<api.GroupLicense> o) { |
807 unittest.expect(o, unittest.hasLength(2)); | 807 unittest.expect(o, unittest.hasLength(2)); |
808 checkGroupLicense(o[0]); | 808 checkGroupLicense(o[0]); |
809 checkGroupLicense(o[1]); | 809 checkGroupLicense(o[1]); |
810 } | 810 } |
811 | 811 |
812 core.int buildCounterGroupLicensesListResponse = 0; | 812 core.int buildCounterGroupLicensesListResponse = 0; |
813 buildGroupLicensesListResponse() { | 813 buildGroupLicensesListResponse() { |
814 var o = new api.GroupLicensesListResponse(); | 814 var o = new api.GroupLicensesListResponse(); |
815 buildCounterGroupLicensesListResponse++; | 815 buildCounterGroupLicensesListResponse++; |
816 if (buildCounterGroupLicensesListResponse < 3) { | 816 if (buildCounterGroupLicensesListResponse < 3) { |
817 o.groupLicense = buildUnnamed2148(); | 817 o.groupLicense = buildUnnamed1919(); |
818 o.kind = "foo"; | 818 o.kind = "foo"; |
819 } | 819 } |
820 buildCounterGroupLicensesListResponse--; | 820 buildCounterGroupLicensesListResponse--; |
821 return o; | 821 return o; |
822 } | 822 } |
823 | 823 |
824 checkGroupLicensesListResponse(api.GroupLicensesListResponse o) { | 824 checkGroupLicensesListResponse(api.GroupLicensesListResponse o) { |
825 buildCounterGroupLicensesListResponse++; | 825 buildCounterGroupLicensesListResponse++; |
826 if (buildCounterGroupLicensesListResponse < 3) { | 826 if (buildCounterGroupLicensesListResponse < 3) { |
827 checkUnnamed2148(o.groupLicense); | 827 checkUnnamed1919(o.groupLicense); |
828 unittest.expect(o.kind, unittest.equals('foo')); | 828 unittest.expect(o.kind, unittest.equals('foo')); |
829 } | 829 } |
830 buildCounterGroupLicensesListResponse--; | 830 buildCounterGroupLicensesListResponse--; |
831 } | 831 } |
832 | 832 |
833 core.int buildCounterInstall = 0; | 833 core.int buildCounterInstall = 0; |
834 buildInstall() { | 834 buildInstall() { |
835 var o = new api.Install(); | 835 var o = new api.Install(); |
836 buildCounterInstall++; | 836 buildCounterInstall++; |
837 if (buildCounterInstall < 3) { | 837 if (buildCounterInstall < 3) { |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
875 if (buildCounterInstallFailureEvent < 3) { | 875 if (buildCounterInstallFailureEvent < 3) { |
876 unittest.expect(o.deviceId, unittest.equals('foo')); | 876 unittest.expect(o.deviceId, unittest.equals('foo')); |
877 unittest.expect(o.failureDetails, unittest.equals('foo')); | 877 unittest.expect(o.failureDetails, unittest.equals('foo')); |
878 unittest.expect(o.failureReason, unittest.equals('foo')); | 878 unittest.expect(o.failureReason, unittest.equals('foo')); |
879 unittest.expect(o.productId, unittest.equals('foo')); | 879 unittest.expect(o.productId, unittest.equals('foo')); |
880 unittest.expect(o.userId, unittest.equals('foo')); | 880 unittest.expect(o.userId, unittest.equals('foo')); |
881 } | 881 } |
882 buildCounterInstallFailureEvent--; | 882 buildCounterInstallFailureEvent--; |
883 } | 883 } |
884 | 884 |
885 buildUnnamed2149() { | 885 buildUnnamed1920() { |
886 var o = new core.List<api.Install>(); | 886 var o = new core.List<api.Install>(); |
887 o.add(buildInstall()); | 887 o.add(buildInstall()); |
888 o.add(buildInstall()); | 888 o.add(buildInstall()); |
889 return o; | 889 return o; |
890 } | 890 } |
891 | 891 |
892 checkUnnamed2149(core.List<api.Install> o) { | 892 checkUnnamed1920(core.List<api.Install> o) { |
893 unittest.expect(o, unittest.hasLength(2)); | 893 unittest.expect(o, unittest.hasLength(2)); |
894 checkInstall(o[0]); | 894 checkInstall(o[0]); |
895 checkInstall(o[1]); | 895 checkInstall(o[1]); |
896 } | 896 } |
897 | 897 |
898 core.int buildCounterInstallsListResponse = 0; | 898 core.int buildCounterInstallsListResponse = 0; |
899 buildInstallsListResponse() { | 899 buildInstallsListResponse() { |
900 var o = new api.InstallsListResponse(); | 900 var o = new api.InstallsListResponse(); |
901 buildCounterInstallsListResponse++; | 901 buildCounterInstallsListResponse++; |
902 if (buildCounterInstallsListResponse < 3) { | 902 if (buildCounterInstallsListResponse < 3) { |
903 o.install = buildUnnamed2149(); | 903 o.install = buildUnnamed1920(); |
904 o.kind = "foo"; | 904 o.kind = "foo"; |
905 } | 905 } |
906 buildCounterInstallsListResponse--; | 906 buildCounterInstallsListResponse--; |
907 return o; | 907 return o; |
908 } | 908 } |
909 | 909 |
910 checkInstallsListResponse(api.InstallsListResponse o) { | 910 checkInstallsListResponse(api.InstallsListResponse o) { |
911 buildCounterInstallsListResponse++; | 911 buildCounterInstallsListResponse++; |
912 if (buildCounterInstallsListResponse < 3) { | 912 if (buildCounterInstallsListResponse < 3) { |
913 checkUnnamed2149(o.install); | 913 checkUnnamed1920(o.install); |
914 unittest.expect(o.kind, unittest.equals('foo')); | 914 unittest.expect(o.kind, unittest.equals('foo')); |
915 } | 915 } |
916 buildCounterInstallsListResponse--; | 916 buildCounterInstallsListResponse--; |
917 } | 917 } |
918 | 918 |
919 core.int buildCounterLocalizedText = 0; | 919 core.int buildCounterLocalizedText = 0; |
920 buildLocalizedText() { | 920 buildLocalizedText() { |
921 var o = new api.LocalizedText(); | 921 var o = new api.LocalizedText(); |
922 buildCounterLocalizedText++; | 922 buildCounterLocalizedText++; |
923 if (buildCounterLocalizedText < 3) { | 923 if (buildCounterLocalizedText < 3) { |
924 o.locale = "foo"; | 924 o.locale = "foo"; |
925 o.text = "foo"; | 925 o.text = "foo"; |
926 } | 926 } |
927 buildCounterLocalizedText--; | 927 buildCounterLocalizedText--; |
928 return o; | 928 return o; |
929 } | 929 } |
930 | 930 |
931 checkLocalizedText(api.LocalizedText o) { | 931 checkLocalizedText(api.LocalizedText o) { |
932 buildCounterLocalizedText++; | 932 buildCounterLocalizedText++; |
933 if (buildCounterLocalizedText < 3) { | 933 if (buildCounterLocalizedText < 3) { |
934 unittest.expect(o.locale, unittest.equals('foo')); | 934 unittest.expect(o.locale, unittest.equals('foo')); |
935 unittest.expect(o.text, unittest.equals('foo')); | 935 unittest.expect(o.text, unittest.equals('foo')); |
936 } | 936 } |
937 buildCounterLocalizedText--; | 937 buildCounterLocalizedText--; |
938 } | 938 } |
939 | 939 |
940 buildUnnamed2150() { | 940 buildUnnamed1921() { |
941 var o = new core.List<api.ManagedProperty>(); | 941 var o = new core.List<api.ManagedProperty>(); |
942 o.add(buildManagedProperty()); | 942 o.add(buildManagedProperty()); |
943 o.add(buildManagedProperty()); | 943 o.add(buildManagedProperty()); |
944 return o; | 944 return o; |
945 } | 945 } |
946 | 946 |
947 checkUnnamed2150(core.List<api.ManagedProperty> o) { | 947 checkUnnamed1921(core.List<api.ManagedProperty> o) { |
948 unittest.expect(o, unittest.hasLength(2)); | 948 unittest.expect(o, unittest.hasLength(2)); |
949 checkManagedProperty(o[0]); | 949 checkManagedProperty(o[0]); |
950 checkManagedProperty(o[1]); | 950 checkManagedProperty(o[1]); |
951 } | 951 } |
952 | 952 |
953 core.int buildCounterManagedConfiguration = 0; | 953 core.int buildCounterManagedConfiguration = 0; |
954 buildManagedConfiguration() { | 954 buildManagedConfiguration() { |
955 var o = new api.ManagedConfiguration(); | 955 var o = new api.ManagedConfiguration(); |
956 buildCounterManagedConfiguration++; | 956 buildCounterManagedConfiguration++; |
957 if (buildCounterManagedConfiguration < 3) { | 957 if (buildCounterManagedConfiguration < 3) { |
958 o.kind = "foo"; | 958 o.kind = "foo"; |
959 o.managedProperty = buildUnnamed2150(); | 959 o.managedProperty = buildUnnamed1921(); |
960 o.productId = "foo"; | 960 o.productId = "foo"; |
961 } | 961 } |
962 buildCounterManagedConfiguration--; | 962 buildCounterManagedConfiguration--; |
963 return o; | 963 return o; |
964 } | 964 } |
965 | 965 |
966 checkManagedConfiguration(api.ManagedConfiguration o) { | 966 checkManagedConfiguration(api.ManagedConfiguration o) { |
967 buildCounterManagedConfiguration++; | 967 buildCounterManagedConfiguration++; |
968 if (buildCounterManagedConfiguration < 3) { | 968 if (buildCounterManagedConfiguration < 3) { |
969 unittest.expect(o.kind, unittest.equals('foo')); | 969 unittest.expect(o.kind, unittest.equals('foo')); |
970 checkUnnamed2150(o.managedProperty); | 970 checkUnnamed1921(o.managedProperty); |
971 unittest.expect(o.productId, unittest.equals('foo')); | 971 unittest.expect(o.productId, unittest.equals('foo')); |
972 } | 972 } |
973 buildCounterManagedConfiguration--; | 973 buildCounterManagedConfiguration--; |
974 } | 974 } |
975 | 975 |
976 buildUnnamed2151() { | 976 buildUnnamed1922() { |
977 var o = new core.List<api.ManagedConfiguration>(); | 977 var o = new core.List<api.ManagedConfiguration>(); |
978 o.add(buildManagedConfiguration()); | 978 o.add(buildManagedConfiguration()); |
979 o.add(buildManagedConfiguration()); | 979 o.add(buildManagedConfiguration()); |
980 return o; | 980 return o; |
981 } | 981 } |
982 | 982 |
983 checkUnnamed2151(core.List<api.ManagedConfiguration> o) { | 983 checkUnnamed1922(core.List<api.ManagedConfiguration> o) { |
984 unittest.expect(o, unittest.hasLength(2)); | 984 unittest.expect(o, unittest.hasLength(2)); |
985 checkManagedConfiguration(o[0]); | 985 checkManagedConfiguration(o[0]); |
986 checkManagedConfiguration(o[1]); | 986 checkManagedConfiguration(o[1]); |
987 } | 987 } |
988 | 988 |
989 core.int buildCounterManagedConfigurationsForDeviceListResponse = 0; | 989 core.int buildCounterManagedConfigurationsForDeviceListResponse = 0; |
990 buildManagedConfigurationsForDeviceListResponse() { | 990 buildManagedConfigurationsForDeviceListResponse() { |
991 var o = new api.ManagedConfigurationsForDeviceListResponse(); | 991 var o = new api.ManagedConfigurationsForDeviceListResponse(); |
992 buildCounterManagedConfigurationsForDeviceListResponse++; | 992 buildCounterManagedConfigurationsForDeviceListResponse++; |
993 if (buildCounterManagedConfigurationsForDeviceListResponse < 3) { | 993 if (buildCounterManagedConfigurationsForDeviceListResponse < 3) { |
994 o.kind = "foo"; | 994 o.kind = "foo"; |
995 o.managedConfigurationForDevice = buildUnnamed2151(); | 995 o.managedConfigurationForDevice = buildUnnamed1922(); |
996 } | 996 } |
997 buildCounterManagedConfigurationsForDeviceListResponse--; | 997 buildCounterManagedConfigurationsForDeviceListResponse--; |
998 return o; | 998 return o; |
999 } | 999 } |
1000 | 1000 |
1001 checkManagedConfigurationsForDeviceListResponse(api.ManagedConfigurationsForDevi
ceListResponse o) { | 1001 checkManagedConfigurationsForDeviceListResponse(api.ManagedConfigurationsForDevi
ceListResponse o) { |
1002 buildCounterManagedConfigurationsForDeviceListResponse++; | 1002 buildCounterManagedConfigurationsForDeviceListResponse++; |
1003 if (buildCounterManagedConfigurationsForDeviceListResponse < 3) { | 1003 if (buildCounterManagedConfigurationsForDeviceListResponse < 3) { |
1004 unittest.expect(o.kind, unittest.equals('foo')); | 1004 unittest.expect(o.kind, unittest.equals('foo')); |
1005 checkUnnamed2151(o.managedConfigurationForDevice); | 1005 checkUnnamed1922(o.managedConfigurationForDevice); |
1006 } | 1006 } |
1007 buildCounterManagedConfigurationsForDeviceListResponse--; | 1007 buildCounterManagedConfigurationsForDeviceListResponse--; |
1008 } | 1008 } |
1009 | 1009 |
1010 buildUnnamed2152() { | 1010 buildUnnamed1923() { |
1011 var o = new core.List<api.ManagedConfiguration>(); | 1011 var o = new core.List<api.ManagedConfiguration>(); |
1012 o.add(buildManagedConfiguration()); | 1012 o.add(buildManagedConfiguration()); |
1013 o.add(buildManagedConfiguration()); | 1013 o.add(buildManagedConfiguration()); |
1014 return o; | 1014 return o; |
1015 } | 1015 } |
1016 | 1016 |
1017 checkUnnamed2152(core.List<api.ManagedConfiguration> o) { | 1017 checkUnnamed1923(core.List<api.ManagedConfiguration> o) { |
1018 unittest.expect(o, unittest.hasLength(2)); | 1018 unittest.expect(o, unittest.hasLength(2)); |
1019 checkManagedConfiguration(o[0]); | 1019 checkManagedConfiguration(o[0]); |
1020 checkManagedConfiguration(o[1]); | 1020 checkManagedConfiguration(o[1]); |
1021 } | 1021 } |
1022 | 1022 |
1023 core.int buildCounterManagedConfigurationsForUserListResponse = 0; | 1023 core.int buildCounterManagedConfigurationsForUserListResponse = 0; |
1024 buildManagedConfigurationsForUserListResponse() { | 1024 buildManagedConfigurationsForUserListResponse() { |
1025 var o = new api.ManagedConfigurationsForUserListResponse(); | 1025 var o = new api.ManagedConfigurationsForUserListResponse(); |
1026 buildCounterManagedConfigurationsForUserListResponse++; | 1026 buildCounterManagedConfigurationsForUserListResponse++; |
1027 if (buildCounterManagedConfigurationsForUserListResponse < 3) { | 1027 if (buildCounterManagedConfigurationsForUserListResponse < 3) { |
1028 o.kind = "foo"; | 1028 o.kind = "foo"; |
1029 o.managedConfigurationForUser = buildUnnamed2152(); | 1029 o.managedConfigurationForUser = buildUnnamed1923(); |
1030 } | 1030 } |
1031 buildCounterManagedConfigurationsForUserListResponse--; | 1031 buildCounterManagedConfigurationsForUserListResponse--; |
1032 return o; | 1032 return o; |
1033 } | 1033 } |
1034 | 1034 |
1035 checkManagedConfigurationsForUserListResponse(api.ManagedConfigurationsForUserLi
stResponse o) { | 1035 checkManagedConfigurationsForUserListResponse(api.ManagedConfigurationsForUserLi
stResponse o) { |
1036 buildCounterManagedConfigurationsForUserListResponse++; | 1036 buildCounterManagedConfigurationsForUserListResponse++; |
1037 if (buildCounterManagedConfigurationsForUserListResponse < 3) { | 1037 if (buildCounterManagedConfigurationsForUserListResponse < 3) { |
1038 unittest.expect(o.kind, unittest.equals('foo')); | 1038 unittest.expect(o.kind, unittest.equals('foo')); |
1039 checkUnnamed2152(o.managedConfigurationForUser); | 1039 checkUnnamed1923(o.managedConfigurationForUser); |
1040 } | 1040 } |
1041 buildCounterManagedConfigurationsForUserListResponse--; | 1041 buildCounterManagedConfigurationsForUserListResponse--; |
1042 } | 1042 } |
1043 | 1043 |
1044 buildUnnamed2153() { | 1044 buildUnnamed1924() { |
1045 var o = new core.List<api.ManagedPropertyBundle>(); | 1045 var o = new core.List<api.ManagedPropertyBundle>(); |
1046 o.add(buildManagedPropertyBundle()); | 1046 o.add(buildManagedPropertyBundle()); |
1047 o.add(buildManagedPropertyBundle()); | 1047 o.add(buildManagedPropertyBundle()); |
1048 return o; | 1048 return o; |
1049 } | 1049 } |
1050 | 1050 |
1051 checkUnnamed2153(core.List<api.ManagedPropertyBundle> o) { | 1051 checkUnnamed1924(core.List<api.ManagedPropertyBundle> o) { |
1052 unittest.expect(o, unittest.hasLength(2)); | 1052 unittest.expect(o, unittest.hasLength(2)); |
1053 checkManagedPropertyBundle(o[0]); | 1053 checkManagedPropertyBundle(o[0]); |
1054 checkManagedPropertyBundle(o[1]); | 1054 checkManagedPropertyBundle(o[1]); |
1055 } | 1055 } |
1056 | 1056 |
1057 buildUnnamed2154() { | 1057 buildUnnamed1925() { |
1058 var o = new core.List<core.String>(); | 1058 var o = new core.List<core.String>(); |
1059 o.add("foo"); | 1059 o.add("foo"); |
1060 o.add("foo"); | 1060 o.add("foo"); |
1061 return o; | 1061 return o; |
1062 } | 1062 } |
1063 | 1063 |
1064 checkUnnamed2154(core.List<core.String> o) { | 1064 checkUnnamed1925(core.List<core.String> o) { |
1065 unittest.expect(o, unittest.hasLength(2)); | 1065 unittest.expect(o, unittest.hasLength(2)); |
1066 unittest.expect(o[0], unittest.equals('foo')); | 1066 unittest.expect(o[0], unittest.equals('foo')); |
1067 unittest.expect(o[1], unittest.equals('foo')); | 1067 unittest.expect(o[1], unittest.equals('foo')); |
1068 } | 1068 } |
1069 | 1069 |
1070 core.int buildCounterManagedProperty = 0; | 1070 core.int buildCounterManagedProperty = 0; |
1071 buildManagedProperty() { | 1071 buildManagedProperty() { |
1072 var o = new api.ManagedProperty(); | 1072 var o = new api.ManagedProperty(); |
1073 buildCounterManagedProperty++; | 1073 buildCounterManagedProperty++; |
1074 if (buildCounterManagedProperty < 3) { | 1074 if (buildCounterManagedProperty < 3) { |
1075 o.key = "foo"; | 1075 o.key = "foo"; |
1076 o.valueBool = true; | 1076 o.valueBool = true; |
1077 o.valueBundle = buildManagedPropertyBundle(); | 1077 o.valueBundle = buildManagedPropertyBundle(); |
1078 o.valueBundleArray = buildUnnamed2153(); | 1078 o.valueBundleArray = buildUnnamed1924(); |
1079 o.valueInteger = 42; | 1079 o.valueInteger = 42; |
1080 o.valueString = "foo"; | 1080 o.valueString = "foo"; |
1081 o.valueStringArray = buildUnnamed2154(); | 1081 o.valueStringArray = buildUnnamed1925(); |
1082 } | 1082 } |
1083 buildCounterManagedProperty--; | 1083 buildCounterManagedProperty--; |
1084 return o; | 1084 return o; |
1085 } | 1085 } |
1086 | 1086 |
1087 checkManagedProperty(api.ManagedProperty o) { | 1087 checkManagedProperty(api.ManagedProperty o) { |
1088 buildCounterManagedProperty++; | 1088 buildCounterManagedProperty++; |
1089 if (buildCounterManagedProperty < 3) { | 1089 if (buildCounterManagedProperty < 3) { |
1090 unittest.expect(o.key, unittest.equals('foo')); | 1090 unittest.expect(o.key, unittest.equals('foo')); |
1091 unittest.expect(o.valueBool, unittest.isTrue); | 1091 unittest.expect(o.valueBool, unittest.isTrue); |
1092 checkManagedPropertyBundle(o.valueBundle); | 1092 checkManagedPropertyBundle(o.valueBundle); |
1093 checkUnnamed2153(o.valueBundleArray); | 1093 checkUnnamed1924(o.valueBundleArray); |
1094 unittest.expect(o.valueInteger, unittest.equals(42)); | 1094 unittest.expect(o.valueInteger, unittest.equals(42)); |
1095 unittest.expect(o.valueString, unittest.equals('foo')); | 1095 unittest.expect(o.valueString, unittest.equals('foo')); |
1096 checkUnnamed2154(o.valueStringArray); | 1096 checkUnnamed1925(o.valueStringArray); |
1097 } | 1097 } |
1098 buildCounterManagedProperty--; | 1098 buildCounterManagedProperty--; |
1099 } | 1099 } |
1100 | 1100 |
1101 buildUnnamed2155() { | 1101 buildUnnamed1926() { |
1102 var o = new core.List<api.ManagedProperty>(); | 1102 var o = new core.List<api.ManagedProperty>(); |
1103 o.add(buildManagedProperty()); | 1103 o.add(buildManagedProperty()); |
1104 o.add(buildManagedProperty()); | 1104 o.add(buildManagedProperty()); |
1105 return o; | 1105 return o; |
1106 } | 1106 } |
1107 | 1107 |
1108 checkUnnamed2155(core.List<api.ManagedProperty> o) { | 1108 checkUnnamed1926(core.List<api.ManagedProperty> o) { |
1109 unittest.expect(o, unittest.hasLength(2)); | 1109 unittest.expect(o, unittest.hasLength(2)); |
1110 checkManagedProperty(o[0]); | 1110 checkManagedProperty(o[0]); |
1111 checkManagedProperty(o[1]); | 1111 checkManagedProperty(o[1]); |
1112 } | 1112 } |
1113 | 1113 |
1114 core.int buildCounterManagedPropertyBundle = 0; | 1114 core.int buildCounterManagedPropertyBundle = 0; |
1115 buildManagedPropertyBundle() { | 1115 buildManagedPropertyBundle() { |
1116 var o = new api.ManagedPropertyBundle(); | 1116 var o = new api.ManagedPropertyBundle(); |
1117 buildCounterManagedPropertyBundle++; | 1117 buildCounterManagedPropertyBundle++; |
1118 if (buildCounterManagedPropertyBundle < 3) { | 1118 if (buildCounterManagedPropertyBundle < 3) { |
1119 o.managedProperty = buildUnnamed2155(); | 1119 o.managedProperty = buildUnnamed1926(); |
1120 } | 1120 } |
1121 buildCounterManagedPropertyBundle--; | 1121 buildCounterManagedPropertyBundle--; |
1122 return o; | 1122 return o; |
1123 } | 1123 } |
1124 | 1124 |
1125 checkManagedPropertyBundle(api.ManagedPropertyBundle o) { | 1125 checkManagedPropertyBundle(api.ManagedPropertyBundle o) { |
1126 buildCounterManagedPropertyBundle++; | 1126 buildCounterManagedPropertyBundle++; |
1127 if (buildCounterManagedPropertyBundle < 3) { | 1127 if (buildCounterManagedPropertyBundle < 3) { |
1128 checkUnnamed2155(o.managedProperty); | 1128 checkUnnamed1926(o.managedProperty); |
1129 } | 1129 } |
1130 buildCounterManagedPropertyBundle--; | 1130 buildCounterManagedPropertyBundle--; |
1131 } | 1131 } |
1132 | 1132 |
1133 buildUnnamed2156() { | 1133 buildUnnamed1927() { |
1134 var o = new core.List<core.String>(); | 1134 var o = new core.List<core.String>(); |
1135 o.add("foo"); | 1135 o.add("foo"); |
1136 o.add("foo"); | 1136 o.add("foo"); |
1137 return o; | 1137 return o; |
1138 } | 1138 } |
1139 | 1139 |
1140 checkUnnamed2156(core.List<core.String> o) { | 1140 checkUnnamed1927(core.List<core.String> o) { |
1141 unittest.expect(o, unittest.hasLength(2)); | 1141 unittest.expect(o, unittest.hasLength(2)); |
1142 unittest.expect(o[0], unittest.equals('foo')); | 1142 unittest.expect(o[0], unittest.equals('foo')); |
1143 unittest.expect(o[1], unittest.equals('foo')); | 1143 unittest.expect(o[1], unittest.equals('foo')); |
1144 } | 1144 } |
1145 | 1145 |
1146 buildUnnamed2157() { | 1146 buildUnnamed1928() { |
1147 var o = new core.List<core.String>(); | 1147 var o = new core.List<core.String>(); |
1148 o.add("foo"); | 1148 o.add("foo"); |
1149 o.add("foo"); | 1149 o.add("foo"); |
1150 return o; | 1150 return o; |
1151 } | 1151 } |
1152 | 1152 |
1153 checkUnnamed2157(core.List<core.String> o) { | 1153 checkUnnamed1928(core.List<core.String> o) { |
1154 unittest.expect(o, unittest.hasLength(2)); | 1154 unittest.expect(o, unittest.hasLength(2)); |
1155 unittest.expect(o[0], unittest.equals('foo')); | 1155 unittest.expect(o[0], unittest.equals('foo')); |
1156 unittest.expect(o[1], unittest.equals('foo')); | 1156 unittest.expect(o[1], unittest.equals('foo')); |
1157 } | 1157 } |
1158 | 1158 |
1159 core.int buildCounterNewPermissionsEvent = 0; | 1159 core.int buildCounterNewPermissionsEvent = 0; |
1160 buildNewPermissionsEvent() { | 1160 buildNewPermissionsEvent() { |
1161 var o = new api.NewPermissionsEvent(); | 1161 var o = new api.NewPermissionsEvent(); |
1162 buildCounterNewPermissionsEvent++; | 1162 buildCounterNewPermissionsEvent++; |
1163 if (buildCounterNewPermissionsEvent < 3) { | 1163 if (buildCounterNewPermissionsEvent < 3) { |
1164 o.approvedPermissions = buildUnnamed2156(); | 1164 o.approvedPermissions = buildUnnamed1927(); |
1165 o.productId = "foo"; | 1165 o.productId = "foo"; |
1166 o.requestedPermissions = buildUnnamed2157(); | 1166 o.requestedPermissions = buildUnnamed1928(); |
1167 } | 1167 } |
1168 buildCounterNewPermissionsEvent--; | 1168 buildCounterNewPermissionsEvent--; |
1169 return o; | 1169 return o; |
1170 } | 1170 } |
1171 | 1171 |
1172 checkNewPermissionsEvent(api.NewPermissionsEvent o) { | 1172 checkNewPermissionsEvent(api.NewPermissionsEvent o) { |
1173 buildCounterNewPermissionsEvent++; | 1173 buildCounterNewPermissionsEvent++; |
1174 if (buildCounterNewPermissionsEvent < 3) { | 1174 if (buildCounterNewPermissionsEvent < 3) { |
1175 checkUnnamed2156(o.approvedPermissions); | 1175 checkUnnamed1927(o.approvedPermissions); |
1176 unittest.expect(o.productId, unittest.equals('foo')); | 1176 unittest.expect(o.productId, unittest.equals('foo')); |
1177 checkUnnamed2157(o.requestedPermissions); | 1177 checkUnnamed1928(o.requestedPermissions); |
1178 } | 1178 } |
1179 buildCounterNewPermissionsEvent--; | 1179 buildCounterNewPermissionsEvent--; |
1180 } | 1180 } |
1181 | 1181 |
1182 core.int buildCounterNotification = 0; | 1182 core.int buildCounterNotification = 0; |
1183 buildNotification() { | 1183 buildNotification() { |
1184 var o = new api.Notification(); | 1184 var o = new api.Notification(); |
1185 buildCounterNotification++; | 1185 buildCounterNotification++; |
1186 if (buildCounterNotification < 3) { | 1186 if (buildCounterNotification < 3) { |
1187 o.appRestrictionsSchemaChangeEvent = buildAppRestrictionsSchemaChangeEvent()
; | 1187 o.appRestrictionsSchemaChangeEvent = buildAppRestrictionsSchemaChangeEvent()
; |
(...skipping 17 matching lines...) Expand all Loading... |
1205 unittest.expect(o.enterpriseId, unittest.equals('foo')); | 1205 unittest.expect(o.enterpriseId, unittest.equals('foo')); |
1206 checkInstallFailureEvent(o.installFailureEvent); | 1206 checkInstallFailureEvent(o.installFailureEvent); |
1207 checkNewPermissionsEvent(o.newPermissionsEvent); | 1207 checkNewPermissionsEvent(o.newPermissionsEvent); |
1208 checkProductApprovalEvent(o.productApprovalEvent); | 1208 checkProductApprovalEvent(o.productApprovalEvent); |
1209 checkProductAvailabilityChangeEvent(o.productAvailabilityChangeEvent); | 1209 checkProductAvailabilityChangeEvent(o.productAvailabilityChangeEvent); |
1210 unittest.expect(o.timestampMillis, unittest.equals('foo')); | 1210 unittest.expect(o.timestampMillis, unittest.equals('foo')); |
1211 } | 1211 } |
1212 buildCounterNotification--; | 1212 buildCounterNotification--; |
1213 } | 1213 } |
1214 | 1214 |
1215 buildUnnamed2158() { | 1215 buildUnnamed1929() { |
1216 var o = new core.List<api.Notification>(); | 1216 var o = new core.List<api.Notification>(); |
1217 o.add(buildNotification()); | 1217 o.add(buildNotification()); |
1218 o.add(buildNotification()); | 1218 o.add(buildNotification()); |
1219 return o; | 1219 return o; |
1220 } | 1220 } |
1221 | 1221 |
1222 checkUnnamed2158(core.List<api.Notification> o) { | 1222 checkUnnamed1929(core.List<api.Notification> o) { |
1223 unittest.expect(o, unittest.hasLength(2)); | 1223 unittest.expect(o, unittest.hasLength(2)); |
1224 checkNotification(o[0]); | 1224 checkNotification(o[0]); |
1225 checkNotification(o[1]); | 1225 checkNotification(o[1]); |
1226 } | 1226 } |
1227 | 1227 |
1228 core.int buildCounterNotificationSet = 0; | 1228 core.int buildCounterNotificationSet = 0; |
1229 buildNotificationSet() { | 1229 buildNotificationSet() { |
1230 var o = new api.NotificationSet(); | 1230 var o = new api.NotificationSet(); |
1231 buildCounterNotificationSet++; | 1231 buildCounterNotificationSet++; |
1232 if (buildCounterNotificationSet < 3) { | 1232 if (buildCounterNotificationSet < 3) { |
1233 o.kind = "foo"; | 1233 o.kind = "foo"; |
1234 o.notification = buildUnnamed2158(); | 1234 o.notification = buildUnnamed1929(); |
1235 o.notificationSetId = "foo"; | 1235 o.notificationSetId = "foo"; |
1236 } | 1236 } |
1237 buildCounterNotificationSet--; | 1237 buildCounterNotificationSet--; |
1238 return o; | 1238 return o; |
1239 } | 1239 } |
1240 | 1240 |
1241 checkNotificationSet(api.NotificationSet o) { | 1241 checkNotificationSet(api.NotificationSet o) { |
1242 buildCounterNotificationSet++; | 1242 buildCounterNotificationSet++; |
1243 if (buildCounterNotificationSet < 3) { | 1243 if (buildCounterNotificationSet < 3) { |
1244 unittest.expect(o.kind, unittest.equals('foo')); | 1244 unittest.expect(o.kind, unittest.equals('foo')); |
1245 checkUnnamed2158(o.notification); | 1245 checkUnnamed1929(o.notification); |
1246 unittest.expect(o.notificationSetId, unittest.equals('foo')); | 1246 unittest.expect(o.notificationSetId, unittest.equals('foo')); |
1247 } | 1247 } |
1248 buildCounterNotificationSet--; | 1248 buildCounterNotificationSet--; |
1249 } | 1249 } |
1250 | 1250 |
1251 core.int buildCounterPageInfo = 0; | 1251 core.int buildCounterPageInfo = 0; |
1252 buildPageInfo() { | 1252 buildPageInfo() { |
1253 var o = new api.PageInfo(); | 1253 var o = new api.PageInfo(); |
1254 buildCounterPageInfo++; | 1254 buildCounterPageInfo++; |
1255 if (buildCounterPageInfo < 3) { | 1255 if (buildCounterPageInfo < 3) { |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1289 buildCounterPermission++; | 1289 buildCounterPermission++; |
1290 if (buildCounterPermission < 3) { | 1290 if (buildCounterPermission < 3) { |
1291 unittest.expect(o.description, unittest.equals('foo')); | 1291 unittest.expect(o.description, unittest.equals('foo')); |
1292 unittest.expect(o.kind, unittest.equals('foo')); | 1292 unittest.expect(o.kind, unittest.equals('foo')); |
1293 unittest.expect(o.name, unittest.equals('foo')); | 1293 unittest.expect(o.name, unittest.equals('foo')); |
1294 unittest.expect(o.permissionId, unittest.equals('foo')); | 1294 unittest.expect(o.permissionId, unittest.equals('foo')); |
1295 } | 1295 } |
1296 buildCounterPermission--; | 1296 buildCounterPermission--; |
1297 } | 1297 } |
1298 | 1298 |
1299 buildUnnamed2159() { | 1299 buildUnnamed1930() { |
1300 var o = new core.List<api.AppVersion>(); | 1300 var o = new core.List<api.AppVersion>(); |
1301 o.add(buildAppVersion()); | 1301 o.add(buildAppVersion()); |
1302 o.add(buildAppVersion()); | 1302 o.add(buildAppVersion()); |
1303 return o; | 1303 return o; |
1304 } | 1304 } |
1305 | 1305 |
1306 checkUnnamed2159(core.List<api.AppVersion> o) { | 1306 checkUnnamed1930(core.List<api.AppVersion> o) { |
1307 unittest.expect(o, unittest.hasLength(2)); | 1307 unittest.expect(o, unittest.hasLength(2)); |
1308 checkAppVersion(o[0]); | 1308 checkAppVersion(o[0]); |
1309 checkAppVersion(o[1]); | 1309 checkAppVersion(o[1]); |
1310 } | 1310 } |
1311 | 1311 |
1312 core.int buildCounterProduct = 0; | 1312 core.int buildCounterProduct = 0; |
1313 buildProduct() { | 1313 buildProduct() { |
1314 var o = new api.Product(); | 1314 var o = new api.Product(); |
1315 buildCounterProduct++; | 1315 buildCounterProduct++; |
1316 if (buildCounterProduct < 3) { | 1316 if (buildCounterProduct < 3) { |
1317 o.appVersion = buildUnnamed2159(); | 1317 o.appVersion = buildUnnamed1930(); |
1318 o.authorName = "foo"; | 1318 o.authorName = "foo"; |
1319 o.detailsUrl = "foo"; | 1319 o.detailsUrl = "foo"; |
1320 o.distributionChannel = "foo"; | 1320 o.distributionChannel = "foo"; |
1321 o.iconUrl = "foo"; | 1321 o.iconUrl = "foo"; |
1322 o.kind = "foo"; | 1322 o.kind = "foo"; |
1323 o.productId = "foo"; | 1323 o.productId = "foo"; |
1324 o.productPricing = "foo"; | 1324 o.productPricing = "foo"; |
1325 o.requiresContainerApp = true; | 1325 o.requiresContainerApp = true; |
1326 o.smallIconUrl = "foo"; | 1326 o.smallIconUrl = "foo"; |
1327 o.title = "foo"; | 1327 o.title = "foo"; |
1328 o.workDetailsUrl = "foo"; | 1328 o.workDetailsUrl = "foo"; |
1329 } | 1329 } |
1330 buildCounterProduct--; | 1330 buildCounterProduct--; |
1331 return o; | 1331 return o; |
1332 } | 1332 } |
1333 | 1333 |
1334 checkProduct(api.Product o) { | 1334 checkProduct(api.Product o) { |
1335 buildCounterProduct++; | 1335 buildCounterProduct++; |
1336 if (buildCounterProduct < 3) { | 1336 if (buildCounterProduct < 3) { |
1337 checkUnnamed2159(o.appVersion); | 1337 checkUnnamed1930(o.appVersion); |
1338 unittest.expect(o.authorName, unittest.equals('foo')); | 1338 unittest.expect(o.authorName, unittest.equals('foo')); |
1339 unittest.expect(o.detailsUrl, unittest.equals('foo')); | 1339 unittest.expect(o.detailsUrl, unittest.equals('foo')); |
1340 unittest.expect(o.distributionChannel, unittest.equals('foo')); | 1340 unittest.expect(o.distributionChannel, unittest.equals('foo')); |
1341 unittest.expect(o.iconUrl, unittest.equals('foo')); | 1341 unittest.expect(o.iconUrl, unittest.equals('foo')); |
1342 unittest.expect(o.kind, unittest.equals('foo')); | 1342 unittest.expect(o.kind, unittest.equals('foo')); |
1343 unittest.expect(o.productId, unittest.equals('foo')); | 1343 unittest.expect(o.productId, unittest.equals('foo')); |
1344 unittest.expect(o.productPricing, unittest.equals('foo')); | 1344 unittest.expect(o.productPricing, unittest.equals('foo')); |
1345 unittest.expect(o.requiresContainerApp, unittest.isTrue); | 1345 unittest.expect(o.requiresContainerApp, unittest.isTrue); |
1346 unittest.expect(o.smallIconUrl, unittest.equals('foo')); | 1346 unittest.expect(o.smallIconUrl, unittest.equals('foo')); |
1347 unittest.expect(o.title, unittest.equals('foo')); | 1347 unittest.expect(o.title, unittest.equals('foo')); |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1406 | 1406 |
1407 checkProductPermission(api.ProductPermission o) { | 1407 checkProductPermission(api.ProductPermission o) { |
1408 buildCounterProductPermission++; | 1408 buildCounterProductPermission++; |
1409 if (buildCounterProductPermission < 3) { | 1409 if (buildCounterProductPermission < 3) { |
1410 unittest.expect(o.permissionId, unittest.equals('foo')); | 1410 unittest.expect(o.permissionId, unittest.equals('foo')); |
1411 unittest.expect(o.state, unittest.equals('foo')); | 1411 unittest.expect(o.state, unittest.equals('foo')); |
1412 } | 1412 } |
1413 buildCounterProductPermission--; | 1413 buildCounterProductPermission--; |
1414 } | 1414 } |
1415 | 1415 |
1416 buildUnnamed2160() { | 1416 buildUnnamed1931() { |
1417 var o = new core.List<api.ProductPermission>(); | 1417 var o = new core.List<api.ProductPermission>(); |
1418 o.add(buildProductPermission()); | 1418 o.add(buildProductPermission()); |
1419 o.add(buildProductPermission()); | 1419 o.add(buildProductPermission()); |
1420 return o; | 1420 return o; |
1421 } | 1421 } |
1422 | 1422 |
1423 checkUnnamed2160(core.List<api.ProductPermission> o) { | 1423 checkUnnamed1931(core.List<api.ProductPermission> o) { |
1424 unittest.expect(o, unittest.hasLength(2)); | 1424 unittest.expect(o, unittest.hasLength(2)); |
1425 checkProductPermission(o[0]); | 1425 checkProductPermission(o[0]); |
1426 checkProductPermission(o[1]); | 1426 checkProductPermission(o[1]); |
1427 } | 1427 } |
1428 | 1428 |
1429 core.int buildCounterProductPermissions = 0; | 1429 core.int buildCounterProductPermissions = 0; |
1430 buildProductPermissions() { | 1430 buildProductPermissions() { |
1431 var o = new api.ProductPermissions(); | 1431 var o = new api.ProductPermissions(); |
1432 buildCounterProductPermissions++; | 1432 buildCounterProductPermissions++; |
1433 if (buildCounterProductPermissions < 3) { | 1433 if (buildCounterProductPermissions < 3) { |
1434 o.kind = "foo"; | 1434 o.kind = "foo"; |
1435 o.permission = buildUnnamed2160(); | 1435 o.permission = buildUnnamed1931(); |
1436 o.productId = "foo"; | 1436 o.productId = "foo"; |
1437 } | 1437 } |
1438 buildCounterProductPermissions--; | 1438 buildCounterProductPermissions--; |
1439 return o; | 1439 return o; |
1440 } | 1440 } |
1441 | 1441 |
1442 checkProductPermissions(api.ProductPermissions o) { | 1442 checkProductPermissions(api.ProductPermissions o) { |
1443 buildCounterProductPermissions++; | 1443 buildCounterProductPermissions++; |
1444 if (buildCounterProductPermissions < 3) { | 1444 if (buildCounterProductPermissions < 3) { |
1445 unittest.expect(o.kind, unittest.equals('foo')); | 1445 unittest.expect(o.kind, unittest.equals('foo')); |
1446 checkUnnamed2160(o.permission); | 1446 checkUnnamed1931(o.permission); |
1447 unittest.expect(o.productId, unittest.equals('foo')); | 1447 unittest.expect(o.productId, unittest.equals('foo')); |
1448 } | 1448 } |
1449 buildCounterProductPermissions--; | 1449 buildCounterProductPermissions--; |
1450 } | 1450 } |
1451 | 1451 |
1452 buildUnnamed2161() { | 1452 buildUnnamed1932() { |
1453 var o = new core.List<core.String>(); | 1453 var o = new core.List<core.String>(); |
1454 o.add("foo"); | 1454 o.add("foo"); |
1455 o.add("foo"); | 1455 o.add("foo"); |
1456 return o; | 1456 return o; |
1457 } | 1457 } |
1458 | 1458 |
1459 checkUnnamed2161(core.List<core.String> o) { | 1459 checkUnnamed1932(core.List<core.String> o) { |
1460 unittest.expect(o, unittest.hasLength(2)); | 1460 unittest.expect(o, unittest.hasLength(2)); |
1461 unittest.expect(o[0], unittest.equals('foo')); | 1461 unittest.expect(o[0], unittest.equals('foo')); |
1462 unittest.expect(o[1], unittest.equals('foo')); | 1462 unittest.expect(o[1], unittest.equals('foo')); |
1463 } | 1463 } |
1464 | 1464 |
1465 core.int buildCounterProductSet = 0; | 1465 core.int buildCounterProductSet = 0; |
1466 buildProductSet() { | 1466 buildProductSet() { |
1467 var o = new api.ProductSet(); | 1467 var o = new api.ProductSet(); |
1468 buildCounterProductSet++; | 1468 buildCounterProductSet++; |
1469 if (buildCounterProductSet < 3) { | 1469 if (buildCounterProductSet < 3) { |
1470 o.kind = "foo"; | 1470 o.kind = "foo"; |
1471 o.productId = buildUnnamed2161(); | 1471 o.productId = buildUnnamed1932(); |
1472 o.productSetBehavior = "foo"; | 1472 o.productSetBehavior = "foo"; |
1473 } | 1473 } |
1474 buildCounterProductSet--; | 1474 buildCounterProductSet--; |
1475 return o; | 1475 return o; |
1476 } | 1476 } |
1477 | 1477 |
1478 checkProductSet(api.ProductSet o) { | 1478 checkProductSet(api.ProductSet o) { |
1479 buildCounterProductSet++; | 1479 buildCounterProductSet++; |
1480 if (buildCounterProductSet < 3) { | 1480 if (buildCounterProductSet < 3) { |
1481 unittest.expect(o.kind, unittest.equals('foo')); | 1481 unittest.expect(o.kind, unittest.equals('foo')); |
1482 checkUnnamed2161(o.productId); | 1482 checkUnnamed1932(o.productId); |
1483 unittest.expect(o.productSetBehavior, unittest.equals('foo')); | 1483 unittest.expect(o.productSetBehavior, unittest.equals('foo')); |
1484 } | 1484 } |
1485 buildCounterProductSet--; | 1485 buildCounterProductSet--; |
1486 } | 1486 } |
1487 | 1487 |
1488 core.int buildCounterProductsApproveRequest = 0; | 1488 core.int buildCounterProductsApproveRequest = 0; |
1489 buildProductsApproveRequest() { | 1489 buildProductsApproveRequest() { |
1490 var o = new api.ProductsApproveRequest(); | 1490 var o = new api.ProductsApproveRequest(); |
1491 buildCounterProductsApproveRequest++; | 1491 buildCounterProductsApproveRequest++; |
1492 if (buildCounterProductsApproveRequest < 3) { | 1492 if (buildCounterProductsApproveRequest < 3) { |
(...skipping 23 matching lines...) Expand all Loading... |
1516 } | 1516 } |
1517 | 1517 |
1518 checkProductsGenerateApprovalUrlResponse(api.ProductsGenerateApprovalUrlResponse
o) { | 1518 checkProductsGenerateApprovalUrlResponse(api.ProductsGenerateApprovalUrlResponse
o) { |
1519 buildCounterProductsGenerateApprovalUrlResponse++; | 1519 buildCounterProductsGenerateApprovalUrlResponse++; |
1520 if (buildCounterProductsGenerateApprovalUrlResponse < 3) { | 1520 if (buildCounterProductsGenerateApprovalUrlResponse < 3) { |
1521 unittest.expect(o.url, unittest.equals('foo')); | 1521 unittest.expect(o.url, unittest.equals('foo')); |
1522 } | 1522 } |
1523 buildCounterProductsGenerateApprovalUrlResponse--; | 1523 buildCounterProductsGenerateApprovalUrlResponse--; |
1524 } | 1524 } |
1525 | 1525 |
1526 buildUnnamed2162() { | 1526 buildUnnamed1933() { |
1527 var o = new core.List<api.Product>(); | 1527 var o = new core.List<api.Product>(); |
1528 o.add(buildProduct()); | 1528 o.add(buildProduct()); |
1529 o.add(buildProduct()); | 1529 o.add(buildProduct()); |
1530 return o; | 1530 return o; |
1531 } | 1531 } |
1532 | 1532 |
1533 checkUnnamed2162(core.List<api.Product> o) { | 1533 checkUnnamed1933(core.List<api.Product> o) { |
1534 unittest.expect(o, unittest.hasLength(2)); | 1534 unittest.expect(o, unittest.hasLength(2)); |
1535 checkProduct(o[0]); | 1535 checkProduct(o[0]); |
1536 checkProduct(o[1]); | 1536 checkProduct(o[1]); |
1537 } | 1537 } |
1538 | 1538 |
1539 core.int buildCounterProductsListResponse = 0; | 1539 core.int buildCounterProductsListResponse = 0; |
1540 buildProductsListResponse() { | 1540 buildProductsListResponse() { |
1541 var o = new api.ProductsListResponse(); | 1541 var o = new api.ProductsListResponse(); |
1542 buildCounterProductsListResponse++; | 1542 buildCounterProductsListResponse++; |
1543 if (buildCounterProductsListResponse < 3) { | 1543 if (buildCounterProductsListResponse < 3) { |
1544 o.kind = "foo"; | 1544 o.kind = "foo"; |
1545 o.pageInfo = buildPageInfo(); | 1545 o.pageInfo = buildPageInfo(); |
1546 o.product = buildUnnamed2162(); | 1546 o.product = buildUnnamed1933(); |
1547 o.tokenPagination = buildTokenPagination(); | 1547 o.tokenPagination = buildTokenPagination(); |
1548 } | 1548 } |
1549 buildCounterProductsListResponse--; | 1549 buildCounterProductsListResponse--; |
1550 return o; | 1550 return o; |
1551 } | 1551 } |
1552 | 1552 |
1553 checkProductsListResponse(api.ProductsListResponse o) { | 1553 checkProductsListResponse(api.ProductsListResponse o) { |
1554 buildCounterProductsListResponse++; | 1554 buildCounterProductsListResponse++; |
1555 if (buildCounterProductsListResponse < 3) { | 1555 if (buildCounterProductsListResponse < 3) { |
1556 unittest.expect(o.kind, unittest.equals('foo')); | 1556 unittest.expect(o.kind, unittest.equals('foo')); |
1557 checkPageInfo(o.pageInfo); | 1557 checkPageInfo(o.pageInfo); |
1558 checkUnnamed2162(o.product); | 1558 checkUnnamed1933(o.product); |
1559 checkTokenPagination(o.tokenPagination); | 1559 checkTokenPagination(o.tokenPagination); |
1560 } | 1560 } |
1561 buildCounterProductsListResponse--; | 1561 buildCounterProductsListResponse--; |
1562 } | 1562 } |
1563 | 1563 |
1564 core.int buildCounterServiceAccount = 0; | 1564 core.int buildCounterServiceAccount = 0; |
1565 buildServiceAccount() { | 1565 buildServiceAccount() { |
1566 var o = new api.ServiceAccount(); | 1566 var o = new api.ServiceAccount(); |
1567 buildCounterServiceAccount++; | 1567 buildCounterServiceAccount++; |
1568 if (buildCounterServiceAccount < 3) { | 1568 if (buildCounterServiceAccount < 3) { |
(...skipping 16 matching lines...) Expand all Loading... |
1585 } | 1585 } |
1586 | 1586 |
1587 core.int buildCounterServiceAccountKey = 0; | 1587 core.int buildCounterServiceAccountKey = 0; |
1588 buildServiceAccountKey() { | 1588 buildServiceAccountKey() { |
1589 var o = new api.ServiceAccountKey(); | 1589 var o = new api.ServiceAccountKey(); |
1590 buildCounterServiceAccountKey++; | 1590 buildCounterServiceAccountKey++; |
1591 if (buildCounterServiceAccountKey < 3) { | 1591 if (buildCounterServiceAccountKey < 3) { |
1592 o.data = "foo"; | 1592 o.data = "foo"; |
1593 o.id = "foo"; | 1593 o.id = "foo"; |
1594 o.kind = "foo"; | 1594 o.kind = "foo"; |
| 1595 o.publicData = "foo"; |
1595 o.type = "foo"; | 1596 o.type = "foo"; |
1596 } | 1597 } |
1597 buildCounterServiceAccountKey--; | 1598 buildCounterServiceAccountKey--; |
1598 return o; | 1599 return o; |
1599 } | 1600 } |
1600 | 1601 |
1601 checkServiceAccountKey(api.ServiceAccountKey o) { | 1602 checkServiceAccountKey(api.ServiceAccountKey o) { |
1602 buildCounterServiceAccountKey++; | 1603 buildCounterServiceAccountKey++; |
1603 if (buildCounterServiceAccountKey < 3) { | 1604 if (buildCounterServiceAccountKey < 3) { |
1604 unittest.expect(o.data, unittest.equals('foo')); | 1605 unittest.expect(o.data, unittest.equals('foo')); |
1605 unittest.expect(o.id, unittest.equals('foo')); | 1606 unittest.expect(o.id, unittest.equals('foo')); |
1606 unittest.expect(o.kind, unittest.equals('foo')); | 1607 unittest.expect(o.kind, unittest.equals('foo')); |
| 1608 unittest.expect(o.publicData, unittest.equals('foo')); |
1607 unittest.expect(o.type, unittest.equals('foo')); | 1609 unittest.expect(o.type, unittest.equals('foo')); |
1608 } | 1610 } |
1609 buildCounterServiceAccountKey--; | 1611 buildCounterServiceAccountKey--; |
1610 } | 1612 } |
1611 | 1613 |
1612 buildUnnamed2163() { | 1614 buildUnnamed1934() { |
1613 var o = new core.List<api.ServiceAccountKey>(); | 1615 var o = new core.List<api.ServiceAccountKey>(); |
1614 o.add(buildServiceAccountKey()); | 1616 o.add(buildServiceAccountKey()); |
1615 o.add(buildServiceAccountKey()); | 1617 o.add(buildServiceAccountKey()); |
1616 return o; | 1618 return o; |
1617 } | 1619 } |
1618 | 1620 |
1619 checkUnnamed2163(core.List<api.ServiceAccountKey> o) { | 1621 checkUnnamed1934(core.List<api.ServiceAccountKey> o) { |
1620 unittest.expect(o, unittest.hasLength(2)); | 1622 unittest.expect(o, unittest.hasLength(2)); |
1621 checkServiceAccountKey(o[0]); | 1623 checkServiceAccountKey(o[0]); |
1622 checkServiceAccountKey(o[1]); | 1624 checkServiceAccountKey(o[1]); |
1623 } | 1625 } |
1624 | 1626 |
1625 core.int buildCounterServiceAccountKeysListResponse = 0; | 1627 core.int buildCounterServiceAccountKeysListResponse = 0; |
1626 buildServiceAccountKeysListResponse() { | 1628 buildServiceAccountKeysListResponse() { |
1627 var o = new api.ServiceAccountKeysListResponse(); | 1629 var o = new api.ServiceAccountKeysListResponse(); |
1628 buildCounterServiceAccountKeysListResponse++; | 1630 buildCounterServiceAccountKeysListResponse++; |
1629 if (buildCounterServiceAccountKeysListResponse < 3) { | 1631 if (buildCounterServiceAccountKeysListResponse < 3) { |
1630 o.serviceAccountKey = buildUnnamed2163(); | 1632 o.serviceAccountKey = buildUnnamed1934(); |
1631 } | 1633 } |
1632 buildCounterServiceAccountKeysListResponse--; | 1634 buildCounterServiceAccountKeysListResponse--; |
1633 return o; | 1635 return o; |
1634 } | 1636 } |
1635 | 1637 |
1636 checkServiceAccountKeysListResponse(api.ServiceAccountKeysListResponse o) { | 1638 checkServiceAccountKeysListResponse(api.ServiceAccountKeysListResponse o) { |
1637 buildCounterServiceAccountKeysListResponse++; | 1639 buildCounterServiceAccountKeysListResponse++; |
1638 if (buildCounterServiceAccountKeysListResponse < 3) { | 1640 if (buildCounterServiceAccountKeysListResponse < 3) { |
1639 checkUnnamed2163(o.serviceAccountKey); | 1641 checkUnnamed1934(o.serviceAccountKey); |
1640 } | 1642 } |
1641 buildCounterServiceAccountKeysListResponse--; | 1643 buildCounterServiceAccountKeysListResponse--; |
1642 } | 1644 } |
1643 | 1645 |
1644 core.int buildCounterSignupInfo = 0; | 1646 core.int buildCounterSignupInfo = 0; |
1645 buildSignupInfo() { | 1647 buildSignupInfo() { |
1646 var o = new api.SignupInfo(); | 1648 var o = new api.SignupInfo(); |
1647 buildCounterSignupInfo++; | 1649 buildCounterSignupInfo++; |
1648 if (buildCounterSignupInfo < 3) { | 1650 if (buildCounterSignupInfo < 3) { |
1649 o.completionToken = "foo"; | 1651 o.completionToken = "foo"; |
1650 o.kind = "foo"; | 1652 o.kind = "foo"; |
1651 o.url = "foo"; | 1653 o.url = "foo"; |
1652 } | 1654 } |
1653 buildCounterSignupInfo--; | 1655 buildCounterSignupInfo--; |
1654 return o; | 1656 return o; |
1655 } | 1657 } |
1656 | 1658 |
1657 checkSignupInfo(api.SignupInfo o) { | 1659 checkSignupInfo(api.SignupInfo o) { |
1658 buildCounterSignupInfo++; | 1660 buildCounterSignupInfo++; |
1659 if (buildCounterSignupInfo < 3) { | 1661 if (buildCounterSignupInfo < 3) { |
1660 unittest.expect(o.completionToken, unittest.equals('foo')); | 1662 unittest.expect(o.completionToken, unittest.equals('foo')); |
1661 unittest.expect(o.kind, unittest.equals('foo')); | 1663 unittest.expect(o.kind, unittest.equals('foo')); |
1662 unittest.expect(o.url, unittest.equals('foo')); | 1664 unittest.expect(o.url, unittest.equals('foo')); |
1663 } | 1665 } |
1664 buildCounterSignupInfo--; | 1666 buildCounterSignupInfo--; |
1665 } | 1667 } |
1666 | 1668 |
1667 buildUnnamed2164() { | 1669 buildUnnamed1935() { |
1668 var o = new core.List<api.LocalizedText>(); | 1670 var o = new core.List<api.LocalizedText>(); |
1669 o.add(buildLocalizedText()); | 1671 o.add(buildLocalizedText()); |
1670 o.add(buildLocalizedText()); | 1672 o.add(buildLocalizedText()); |
1671 return o; | 1673 return o; |
1672 } | 1674 } |
1673 | 1675 |
1674 checkUnnamed2164(core.List<api.LocalizedText> o) { | 1676 checkUnnamed1935(core.List<api.LocalizedText> o) { |
1675 unittest.expect(o, unittest.hasLength(2)); | 1677 unittest.expect(o, unittest.hasLength(2)); |
1676 checkLocalizedText(o[0]); | 1678 checkLocalizedText(o[0]); |
1677 checkLocalizedText(o[1]); | 1679 checkLocalizedText(o[1]); |
1678 } | 1680 } |
1679 | 1681 |
1680 buildUnnamed2165() { | 1682 buildUnnamed1936() { |
1681 var o = new core.List<core.String>(); | 1683 var o = new core.List<core.String>(); |
1682 o.add("foo"); | 1684 o.add("foo"); |
1683 o.add("foo"); | 1685 o.add("foo"); |
1684 return o; | 1686 return o; |
1685 } | 1687 } |
1686 | 1688 |
1687 checkUnnamed2165(core.List<core.String> o) { | 1689 checkUnnamed1936(core.List<core.String> o) { |
1688 unittest.expect(o, unittest.hasLength(2)); | 1690 unittest.expect(o, unittest.hasLength(2)); |
1689 unittest.expect(o[0], unittest.equals('foo')); | 1691 unittest.expect(o[0], unittest.equals('foo')); |
1690 unittest.expect(o[1], unittest.equals('foo')); | 1692 unittest.expect(o[1], unittest.equals('foo')); |
1691 } | 1693 } |
1692 | 1694 |
1693 core.int buildCounterStoreCluster = 0; | 1695 core.int buildCounterStoreCluster = 0; |
1694 buildStoreCluster() { | 1696 buildStoreCluster() { |
1695 var o = new api.StoreCluster(); | 1697 var o = new api.StoreCluster(); |
1696 buildCounterStoreCluster++; | 1698 buildCounterStoreCluster++; |
1697 if (buildCounterStoreCluster < 3) { | 1699 if (buildCounterStoreCluster < 3) { |
1698 o.id = "foo"; | 1700 o.id = "foo"; |
1699 o.kind = "foo"; | 1701 o.kind = "foo"; |
1700 o.name = buildUnnamed2164(); | 1702 o.name = buildUnnamed1935(); |
1701 o.orderInPage = "foo"; | 1703 o.orderInPage = "foo"; |
1702 o.productId = buildUnnamed2165(); | 1704 o.productId = buildUnnamed1936(); |
1703 } | 1705 } |
1704 buildCounterStoreCluster--; | 1706 buildCounterStoreCluster--; |
1705 return o; | 1707 return o; |
1706 } | 1708 } |
1707 | 1709 |
1708 checkStoreCluster(api.StoreCluster o) { | 1710 checkStoreCluster(api.StoreCluster o) { |
1709 buildCounterStoreCluster++; | 1711 buildCounterStoreCluster++; |
1710 if (buildCounterStoreCluster < 3) { | 1712 if (buildCounterStoreCluster < 3) { |
1711 unittest.expect(o.id, unittest.equals('foo')); | 1713 unittest.expect(o.id, unittest.equals('foo')); |
1712 unittest.expect(o.kind, unittest.equals('foo')); | 1714 unittest.expect(o.kind, unittest.equals('foo')); |
1713 checkUnnamed2164(o.name); | 1715 checkUnnamed1935(o.name); |
1714 unittest.expect(o.orderInPage, unittest.equals('foo')); | 1716 unittest.expect(o.orderInPage, unittest.equals('foo')); |
1715 checkUnnamed2165(o.productId); | 1717 checkUnnamed1936(o.productId); |
1716 } | 1718 } |
1717 buildCounterStoreCluster--; | 1719 buildCounterStoreCluster--; |
1718 } | 1720 } |
1719 | 1721 |
1720 core.int buildCounterStoreLayout = 0; | 1722 core.int buildCounterStoreLayout = 0; |
1721 buildStoreLayout() { | 1723 buildStoreLayout() { |
1722 var o = new api.StoreLayout(); | 1724 var o = new api.StoreLayout(); |
1723 buildCounterStoreLayout++; | 1725 buildCounterStoreLayout++; |
1724 if (buildCounterStoreLayout < 3) { | 1726 if (buildCounterStoreLayout < 3) { |
1725 o.homepageId = "foo"; | 1727 o.homepageId = "foo"; |
1726 o.kind = "foo"; | 1728 o.kind = "foo"; |
1727 o.storeLayoutType = "foo"; | 1729 o.storeLayoutType = "foo"; |
1728 } | 1730 } |
1729 buildCounterStoreLayout--; | 1731 buildCounterStoreLayout--; |
1730 return o; | 1732 return o; |
1731 } | 1733 } |
1732 | 1734 |
1733 checkStoreLayout(api.StoreLayout o) { | 1735 checkStoreLayout(api.StoreLayout o) { |
1734 buildCounterStoreLayout++; | 1736 buildCounterStoreLayout++; |
1735 if (buildCounterStoreLayout < 3) { | 1737 if (buildCounterStoreLayout < 3) { |
1736 unittest.expect(o.homepageId, unittest.equals('foo')); | 1738 unittest.expect(o.homepageId, unittest.equals('foo')); |
1737 unittest.expect(o.kind, unittest.equals('foo')); | 1739 unittest.expect(o.kind, unittest.equals('foo')); |
1738 unittest.expect(o.storeLayoutType, unittest.equals('foo')); | 1740 unittest.expect(o.storeLayoutType, unittest.equals('foo')); |
1739 } | 1741 } |
1740 buildCounterStoreLayout--; | 1742 buildCounterStoreLayout--; |
1741 } | 1743 } |
1742 | 1744 |
1743 buildUnnamed2166() { | 1745 buildUnnamed1937() { |
1744 var o = new core.List<api.StoreCluster>(); | 1746 var o = new core.List<api.StoreCluster>(); |
1745 o.add(buildStoreCluster()); | 1747 o.add(buildStoreCluster()); |
1746 o.add(buildStoreCluster()); | 1748 o.add(buildStoreCluster()); |
1747 return o; | 1749 return o; |
1748 } | 1750 } |
1749 | 1751 |
1750 checkUnnamed2166(core.List<api.StoreCluster> o) { | 1752 checkUnnamed1937(core.List<api.StoreCluster> o) { |
1751 unittest.expect(o, unittest.hasLength(2)); | 1753 unittest.expect(o, unittest.hasLength(2)); |
1752 checkStoreCluster(o[0]); | 1754 checkStoreCluster(o[0]); |
1753 checkStoreCluster(o[1]); | 1755 checkStoreCluster(o[1]); |
1754 } | 1756 } |
1755 | 1757 |
1756 core.int buildCounterStoreLayoutClustersListResponse = 0; | 1758 core.int buildCounterStoreLayoutClustersListResponse = 0; |
1757 buildStoreLayoutClustersListResponse() { | 1759 buildStoreLayoutClustersListResponse() { |
1758 var o = new api.StoreLayoutClustersListResponse(); | 1760 var o = new api.StoreLayoutClustersListResponse(); |
1759 buildCounterStoreLayoutClustersListResponse++; | 1761 buildCounterStoreLayoutClustersListResponse++; |
1760 if (buildCounterStoreLayoutClustersListResponse < 3) { | 1762 if (buildCounterStoreLayoutClustersListResponse < 3) { |
1761 o.cluster = buildUnnamed2166(); | 1763 o.cluster = buildUnnamed1937(); |
1762 o.kind = "foo"; | 1764 o.kind = "foo"; |
1763 } | 1765 } |
1764 buildCounterStoreLayoutClustersListResponse--; | 1766 buildCounterStoreLayoutClustersListResponse--; |
1765 return o; | 1767 return o; |
1766 } | 1768 } |
1767 | 1769 |
1768 checkStoreLayoutClustersListResponse(api.StoreLayoutClustersListResponse o) { | 1770 checkStoreLayoutClustersListResponse(api.StoreLayoutClustersListResponse o) { |
1769 buildCounterStoreLayoutClustersListResponse++; | 1771 buildCounterStoreLayoutClustersListResponse++; |
1770 if (buildCounterStoreLayoutClustersListResponse < 3) { | 1772 if (buildCounterStoreLayoutClustersListResponse < 3) { |
1771 checkUnnamed2166(o.cluster); | 1773 checkUnnamed1937(o.cluster); |
1772 unittest.expect(o.kind, unittest.equals('foo')); | 1774 unittest.expect(o.kind, unittest.equals('foo')); |
1773 } | 1775 } |
1774 buildCounterStoreLayoutClustersListResponse--; | 1776 buildCounterStoreLayoutClustersListResponse--; |
1775 } | 1777 } |
1776 | 1778 |
1777 buildUnnamed2167() { | 1779 buildUnnamed1938() { |
1778 var o = new core.List<api.StorePage>(); | 1780 var o = new core.List<api.StorePage>(); |
1779 o.add(buildStorePage()); | 1781 o.add(buildStorePage()); |
1780 o.add(buildStorePage()); | 1782 o.add(buildStorePage()); |
1781 return o; | 1783 return o; |
1782 } | 1784 } |
1783 | 1785 |
1784 checkUnnamed2167(core.List<api.StorePage> o) { | 1786 checkUnnamed1938(core.List<api.StorePage> o) { |
1785 unittest.expect(o, unittest.hasLength(2)); | 1787 unittest.expect(o, unittest.hasLength(2)); |
1786 checkStorePage(o[0]); | 1788 checkStorePage(o[0]); |
1787 checkStorePage(o[1]); | 1789 checkStorePage(o[1]); |
1788 } | 1790 } |
1789 | 1791 |
1790 core.int buildCounterStoreLayoutPagesListResponse = 0; | 1792 core.int buildCounterStoreLayoutPagesListResponse = 0; |
1791 buildStoreLayoutPagesListResponse() { | 1793 buildStoreLayoutPagesListResponse() { |
1792 var o = new api.StoreLayoutPagesListResponse(); | 1794 var o = new api.StoreLayoutPagesListResponse(); |
1793 buildCounterStoreLayoutPagesListResponse++; | 1795 buildCounterStoreLayoutPagesListResponse++; |
1794 if (buildCounterStoreLayoutPagesListResponse < 3) { | 1796 if (buildCounterStoreLayoutPagesListResponse < 3) { |
1795 o.kind = "foo"; | 1797 o.kind = "foo"; |
1796 o.page = buildUnnamed2167(); | 1798 o.page = buildUnnamed1938(); |
1797 } | 1799 } |
1798 buildCounterStoreLayoutPagesListResponse--; | 1800 buildCounterStoreLayoutPagesListResponse--; |
1799 return o; | 1801 return o; |
1800 } | 1802 } |
1801 | 1803 |
1802 checkStoreLayoutPagesListResponse(api.StoreLayoutPagesListResponse o) { | 1804 checkStoreLayoutPagesListResponse(api.StoreLayoutPagesListResponse o) { |
1803 buildCounterStoreLayoutPagesListResponse++; | 1805 buildCounterStoreLayoutPagesListResponse++; |
1804 if (buildCounterStoreLayoutPagesListResponse < 3) { | 1806 if (buildCounterStoreLayoutPagesListResponse < 3) { |
1805 unittest.expect(o.kind, unittest.equals('foo')); | 1807 unittest.expect(o.kind, unittest.equals('foo')); |
1806 checkUnnamed2167(o.page); | 1808 checkUnnamed1938(o.page); |
1807 } | 1809 } |
1808 buildCounterStoreLayoutPagesListResponse--; | 1810 buildCounterStoreLayoutPagesListResponse--; |
1809 } | 1811 } |
1810 | 1812 |
1811 buildUnnamed2168() { | 1813 buildUnnamed1939() { |
1812 var o = new core.List<core.String>(); | 1814 var o = new core.List<core.String>(); |
1813 o.add("foo"); | 1815 o.add("foo"); |
1814 o.add("foo"); | 1816 o.add("foo"); |
1815 return o; | 1817 return o; |
1816 } | 1818 } |
1817 | 1819 |
1818 checkUnnamed2168(core.List<core.String> o) { | 1820 checkUnnamed1939(core.List<core.String> o) { |
1819 unittest.expect(o, unittest.hasLength(2)); | 1821 unittest.expect(o, unittest.hasLength(2)); |
1820 unittest.expect(o[0], unittest.equals('foo')); | 1822 unittest.expect(o[0], unittest.equals('foo')); |
1821 unittest.expect(o[1], unittest.equals('foo')); | 1823 unittest.expect(o[1], unittest.equals('foo')); |
1822 } | 1824 } |
1823 | 1825 |
1824 buildUnnamed2169() { | 1826 buildUnnamed1940() { |
1825 var o = new core.List<api.LocalizedText>(); | 1827 var o = new core.List<api.LocalizedText>(); |
1826 o.add(buildLocalizedText()); | 1828 o.add(buildLocalizedText()); |
1827 o.add(buildLocalizedText()); | 1829 o.add(buildLocalizedText()); |
1828 return o; | 1830 return o; |
1829 } | 1831 } |
1830 | 1832 |
1831 checkUnnamed2169(core.List<api.LocalizedText> o) { | 1833 checkUnnamed1940(core.List<api.LocalizedText> o) { |
1832 unittest.expect(o, unittest.hasLength(2)); | 1834 unittest.expect(o, unittest.hasLength(2)); |
1833 checkLocalizedText(o[0]); | 1835 checkLocalizedText(o[0]); |
1834 checkLocalizedText(o[1]); | 1836 checkLocalizedText(o[1]); |
1835 } | 1837 } |
1836 | 1838 |
1837 core.int buildCounterStorePage = 0; | 1839 core.int buildCounterStorePage = 0; |
1838 buildStorePage() { | 1840 buildStorePage() { |
1839 var o = new api.StorePage(); | 1841 var o = new api.StorePage(); |
1840 buildCounterStorePage++; | 1842 buildCounterStorePage++; |
1841 if (buildCounterStorePage < 3) { | 1843 if (buildCounterStorePage < 3) { |
1842 o.id = "foo"; | 1844 o.id = "foo"; |
1843 o.kind = "foo"; | 1845 o.kind = "foo"; |
1844 o.link = buildUnnamed2168(); | 1846 o.link = buildUnnamed1939(); |
1845 o.name = buildUnnamed2169(); | 1847 o.name = buildUnnamed1940(); |
1846 } | 1848 } |
1847 buildCounterStorePage--; | 1849 buildCounterStorePage--; |
1848 return o; | 1850 return o; |
1849 } | 1851 } |
1850 | 1852 |
1851 checkStorePage(api.StorePage o) { | 1853 checkStorePage(api.StorePage o) { |
1852 buildCounterStorePage++; | 1854 buildCounterStorePage++; |
1853 if (buildCounterStorePage < 3) { | 1855 if (buildCounterStorePage < 3) { |
1854 unittest.expect(o.id, unittest.equals('foo')); | 1856 unittest.expect(o.id, unittest.equals('foo')); |
1855 unittest.expect(o.kind, unittest.equals('foo')); | 1857 unittest.expect(o.kind, unittest.equals('foo')); |
1856 checkUnnamed2168(o.link); | 1858 checkUnnamed1939(o.link); |
1857 checkUnnamed2169(o.name); | 1859 checkUnnamed1940(o.name); |
1858 } | 1860 } |
1859 buildCounterStorePage--; | 1861 buildCounterStorePage--; |
1860 } | 1862 } |
1861 | 1863 |
1862 core.int buildCounterTokenPagination = 0; | 1864 core.int buildCounterTokenPagination = 0; |
1863 buildTokenPagination() { | 1865 buildTokenPagination() { |
1864 var o = new api.TokenPagination(); | 1866 var o = new api.TokenPagination(); |
1865 buildCounterTokenPagination++; | 1867 buildCounterTokenPagination++; |
1866 if (buildCounterTokenPagination < 3) { | 1868 if (buildCounterTokenPagination < 3) { |
1867 o.nextPageToken = "foo"; | 1869 o.nextPageToken = "foo"; |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1927 checkUserToken(api.UserToken o) { | 1929 checkUserToken(api.UserToken o) { |
1928 buildCounterUserToken++; | 1930 buildCounterUserToken++; |
1929 if (buildCounterUserToken < 3) { | 1931 if (buildCounterUserToken < 3) { |
1930 unittest.expect(o.kind, unittest.equals('foo')); | 1932 unittest.expect(o.kind, unittest.equals('foo')); |
1931 unittest.expect(o.token, unittest.equals('foo')); | 1933 unittest.expect(o.token, unittest.equals('foo')); |
1932 unittest.expect(o.userId, unittest.equals('foo')); | 1934 unittest.expect(o.userId, unittest.equals('foo')); |
1933 } | 1935 } |
1934 buildCounterUserToken--; | 1936 buildCounterUserToken--; |
1935 } | 1937 } |
1936 | 1938 |
1937 buildUnnamed2170() { | 1939 buildUnnamed1941() { |
1938 var o = new core.List<api.User>(); | 1940 var o = new core.List<api.User>(); |
1939 o.add(buildUser()); | 1941 o.add(buildUser()); |
1940 o.add(buildUser()); | 1942 o.add(buildUser()); |
1941 return o; | 1943 return o; |
1942 } | 1944 } |
1943 | 1945 |
1944 checkUnnamed2170(core.List<api.User> o) { | 1946 checkUnnamed1941(core.List<api.User> o) { |
1945 unittest.expect(o, unittest.hasLength(2)); | 1947 unittest.expect(o, unittest.hasLength(2)); |
1946 checkUser(o[0]); | 1948 checkUser(o[0]); |
1947 checkUser(o[1]); | 1949 checkUser(o[1]); |
1948 } | 1950 } |
1949 | 1951 |
1950 core.int buildCounterUsersListResponse = 0; | 1952 core.int buildCounterUsersListResponse = 0; |
1951 buildUsersListResponse() { | 1953 buildUsersListResponse() { |
1952 var o = new api.UsersListResponse(); | 1954 var o = new api.UsersListResponse(); |
1953 buildCounterUsersListResponse++; | 1955 buildCounterUsersListResponse++; |
1954 if (buildCounterUsersListResponse < 3) { | 1956 if (buildCounterUsersListResponse < 3) { |
1955 o.kind = "foo"; | 1957 o.kind = "foo"; |
1956 o.user = buildUnnamed2170(); | 1958 o.user = buildUnnamed1941(); |
1957 } | 1959 } |
1958 buildCounterUsersListResponse--; | 1960 buildCounterUsersListResponse--; |
1959 return o; | 1961 return o; |
1960 } | 1962 } |
1961 | 1963 |
1962 checkUsersListResponse(api.UsersListResponse o) { | 1964 checkUsersListResponse(api.UsersListResponse o) { |
1963 buildCounterUsersListResponse++; | 1965 buildCounterUsersListResponse++; |
1964 if (buildCounterUsersListResponse < 3) { | 1966 if (buildCounterUsersListResponse < 3) { |
1965 unittest.expect(o.kind, unittest.equals('foo')); | 1967 unittest.expect(o.kind, unittest.equals('foo')); |
1966 checkUnnamed2170(o.user); | 1968 checkUnnamed1941(o.user); |
1967 } | 1969 } |
1968 buildCounterUsersListResponse--; | 1970 buildCounterUsersListResponse--; |
1969 } | 1971 } |
1970 | 1972 |
1971 | 1973 |
1972 main() { | 1974 main() { |
1973 unittest.group("obj-schema-Administrator", () { | 1975 unittest.group("obj-schema-Administrator", () { |
1974 unittest.test("to-json--from-json", () { | 1976 unittest.test("to-json--from-json", () { |
1975 var o = buildAdministrator(); | 1977 var o = buildAdministrator(); |
1976 var od = new api.Administrator.fromJson(o.toJson()); | 1978 var od = new api.Administrator.fromJson(o.toJson()); |
(...skipping 6029 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8006 res.update(arg_request, arg_enterpriseId, arg_userId).then(unittest.expect
Async(((api.User response) { | 8008 res.update(arg_request, arg_enterpriseId, arg_userId).then(unittest.expect
Async(((api.User response) { |
8007 checkUser(response); | 8009 checkUser(response); |
8008 }))); | 8010 }))); |
8009 }); | 8011 }); |
8010 | 8012 |
8011 }); | 8013 }); |
8012 | 8014 |
8013 | 8015 |
8014 } | 8016 } |
8015 | 8017 |
OLD | NEW |