OLD | NEW |
1 library googleapis.admin.directory_v1.test; | 1 library googleapis.admin.directory_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 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 if (buildCounterAlias < 3) { | 71 if (buildCounterAlias < 3) { |
72 unittest.expect(o.alias, unittest.equals('foo')); | 72 unittest.expect(o.alias, unittest.equals('foo')); |
73 unittest.expect(o.etag, unittest.equals('foo')); | 73 unittest.expect(o.etag, unittest.equals('foo')); |
74 unittest.expect(o.id, unittest.equals('foo')); | 74 unittest.expect(o.id, unittest.equals('foo')); |
75 unittest.expect(o.kind, unittest.equals('foo')); | 75 unittest.expect(o.kind, unittest.equals('foo')); |
76 unittest.expect(o.primaryEmail, unittest.equals('foo')); | 76 unittest.expect(o.primaryEmail, unittest.equals('foo')); |
77 } | 77 } |
78 buildCounterAlias--; | 78 buildCounterAlias--; |
79 } | 79 } |
80 | 80 |
81 buildUnnamed184() { | 81 buildUnnamed881() { |
82 var o = new core.List<core.Object>(); | 82 var o = new core.List<core.Object>(); |
83 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); | 83 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); |
84 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); | 84 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); |
85 return o; | 85 return o; |
86 } | 86 } |
87 | 87 |
88 checkUnnamed184(core.List<core.Object> o) { | 88 checkUnnamed881(core.List<core.Object> o) { |
89 unittest.expect(o, unittest.hasLength(2)); | 89 unittest.expect(o, unittest.hasLength(2)); |
90 var casted1 = (o[0]) as core.Map; unittest.expect(casted1, unittest.hasLength(
3)); unittest.expect(casted1["list"], unittest.equals([1, 2, 3])); unittest.expe
ct(casted1["bool"], unittest.equals(true)); unittest.expect(casted1["string"], u
nittest.equals('foo')); | 90 var casted1 = (o[0]) as core.Map; unittest.expect(casted1, unittest.hasLength(
3)); unittest.expect(casted1["list"], unittest.equals([1, 2, 3])); unittest.expe
ct(casted1["bool"], unittest.equals(true)); unittest.expect(casted1["string"], u
nittest.equals('foo')); |
91 var casted2 = (o[1]) as core.Map; unittest.expect(casted2, unittest.hasLength(
3)); unittest.expect(casted2["list"], unittest.equals([1, 2, 3])); unittest.expe
ct(casted2["bool"], unittest.equals(true)); unittest.expect(casted2["string"], u
nittest.equals('foo')); | 91 var casted2 = (o[1]) as core.Map; unittest.expect(casted2, unittest.hasLength(
3)); unittest.expect(casted2["list"], unittest.equals([1, 2, 3])); unittest.expe
ct(casted2["bool"], unittest.equals(true)); unittest.expect(casted2["string"], u
nittest.equals('foo')); |
92 } | 92 } |
93 | 93 |
94 core.int buildCounterAliases = 0; | 94 core.int buildCounterAliases = 0; |
95 buildAliases() { | 95 buildAliases() { |
96 var o = new api.Aliases(); | 96 var o = new api.Aliases(); |
97 buildCounterAliases++; | 97 buildCounterAliases++; |
98 if (buildCounterAliases < 3) { | 98 if (buildCounterAliases < 3) { |
99 o.aliases = buildUnnamed184(); | 99 o.aliases = buildUnnamed881(); |
100 o.etag = "foo"; | 100 o.etag = "foo"; |
101 o.kind = "foo"; | 101 o.kind = "foo"; |
102 } | 102 } |
103 buildCounterAliases--; | 103 buildCounterAliases--; |
104 return o; | 104 return o; |
105 } | 105 } |
106 | 106 |
107 checkAliases(api.Aliases o) { | 107 checkAliases(api.Aliases o) { |
108 buildCounterAliases++; | 108 buildCounterAliases++; |
109 if (buildCounterAliases < 3) { | 109 if (buildCounterAliases < 3) { |
110 checkUnnamed184(o.aliases); | 110 checkUnnamed881(o.aliases); |
111 unittest.expect(o.etag, unittest.equals('foo')); | 111 unittest.expect(o.etag, unittest.equals('foo')); |
112 unittest.expect(o.kind, unittest.equals('foo')); | 112 unittest.expect(o.kind, unittest.equals('foo')); |
113 } | 113 } |
114 buildCounterAliases--; | 114 buildCounterAliases--; |
115 } | 115 } |
116 | 116 |
117 core.int buildCounterAsp = 0; | 117 core.int buildCounterAsp = 0; |
118 buildAsp() { | 118 buildAsp() { |
119 var o = new api.Asp(); | 119 var o = new api.Asp(); |
120 buildCounterAsp++; | 120 buildCounterAsp++; |
(...skipping 17 matching lines...) Expand all Loading... |
138 unittest.expect(o.creationTime, unittest.equals('foo')); | 138 unittest.expect(o.creationTime, unittest.equals('foo')); |
139 unittest.expect(o.etag, unittest.equals('foo')); | 139 unittest.expect(o.etag, unittest.equals('foo')); |
140 unittest.expect(o.kind, unittest.equals('foo')); | 140 unittest.expect(o.kind, unittest.equals('foo')); |
141 unittest.expect(o.lastTimeUsed, unittest.equals('foo')); | 141 unittest.expect(o.lastTimeUsed, unittest.equals('foo')); |
142 unittest.expect(o.name, unittest.equals('foo')); | 142 unittest.expect(o.name, unittest.equals('foo')); |
143 unittest.expect(o.userKey, unittest.equals('foo')); | 143 unittest.expect(o.userKey, unittest.equals('foo')); |
144 } | 144 } |
145 buildCounterAsp--; | 145 buildCounterAsp--; |
146 } | 146 } |
147 | 147 |
148 buildUnnamed185() { | 148 buildUnnamed882() { |
149 var o = new core.List<api.Asp>(); | 149 var o = new core.List<api.Asp>(); |
150 o.add(buildAsp()); | 150 o.add(buildAsp()); |
151 o.add(buildAsp()); | 151 o.add(buildAsp()); |
152 return o; | 152 return o; |
153 } | 153 } |
154 | 154 |
155 checkUnnamed185(core.List<api.Asp> o) { | 155 checkUnnamed882(core.List<api.Asp> o) { |
156 unittest.expect(o, unittest.hasLength(2)); | 156 unittest.expect(o, unittest.hasLength(2)); |
157 checkAsp(o[0]); | 157 checkAsp(o[0]); |
158 checkAsp(o[1]); | 158 checkAsp(o[1]); |
159 } | 159 } |
160 | 160 |
161 core.int buildCounterAsps = 0; | 161 core.int buildCounterAsps = 0; |
162 buildAsps() { | 162 buildAsps() { |
163 var o = new api.Asps(); | 163 var o = new api.Asps(); |
164 buildCounterAsps++; | 164 buildCounterAsps++; |
165 if (buildCounterAsps < 3) { | 165 if (buildCounterAsps < 3) { |
166 o.etag = "foo"; | 166 o.etag = "foo"; |
167 o.items = buildUnnamed185(); | 167 o.items = buildUnnamed882(); |
168 o.kind = "foo"; | 168 o.kind = "foo"; |
169 } | 169 } |
170 buildCounterAsps--; | 170 buildCounterAsps--; |
171 return o; | 171 return o; |
172 } | 172 } |
173 | 173 |
174 checkAsps(api.Asps o) { | 174 checkAsps(api.Asps o) { |
175 buildCounterAsps++; | 175 buildCounterAsps++; |
176 if (buildCounterAsps < 3) { | 176 if (buildCounterAsps < 3) { |
177 unittest.expect(o.etag, unittest.equals('foo')); | 177 unittest.expect(o.etag, unittest.equals('foo')); |
178 checkUnnamed185(o.items); | 178 checkUnnamed882(o.items); |
179 unittest.expect(o.kind, unittest.equals('foo')); | 179 unittest.expect(o.kind, unittest.equals('foo')); |
180 } | 180 } |
181 buildCounterAsps--; | 181 buildCounterAsps--; |
182 } | 182 } |
183 | 183 |
184 core.int buildCounterCalendarResource = 0; | 184 core.int buildCounterCalendarResource = 0; |
185 buildCalendarResource() { | 185 buildCalendarResource() { |
186 var o = new api.CalendarResource(); | 186 var o = new api.CalendarResource(); |
187 buildCounterCalendarResource++; | 187 buildCounterCalendarResource++; |
188 if (buildCounterCalendarResource < 3) { | 188 if (buildCounterCalendarResource < 3) { |
(...skipping 16 matching lines...) Expand all Loading... |
205 unittest.expect(o.kind, unittest.equals('foo')); | 205 unittest.expect(o.kind, unittest.equals('foo')); |
206 unittest.expect(o.resourceDescription, unittest.equals('foo')); | 206 unittest.expect(o.resourceDescription, unittest.equals('foo')); |
207 unittest.expect(o.resourceEmail, unittest.equals('foo')); | 207 unittest.expect(o.resourceEmail, unittest.equals('foo')); |
208 unittest.expect(o.resourceId, unittest.equals('foo')); | 208 unittest.expect(o.resourceId, unittest.equals('foo')); |
209 unittest.expect(o.resourceName, unittest.equals('foo')); | 209 unittest.expect(o.resourceName, unittest.equals('foo')); |
210 unittest.expect(o.resourceType, unittest.equals('foo')); | 210 unittest.expect(o.resourceType, unittest.equals('foo')); |
211 } | 211 } |
212 buildCounterCalendarResource--; | 212 buildCounterCalendarResource--; |
213 } | 213 } |
214 | 214 |
215 buildUnnamed186() { | 215 buildUnnamed883() { |
216 var o = new core.List<api.CalendarResource>(); | 216 var o = new core.List<api.CalendarResource>(); |
217 o.add(buildCalendarResource()); | 217 o.add(buildCalendarResource()); |
218 o.add(buildCalendarResource()); | 218 o.add(buildCalendarResource()); |
219 return o; | 219 return o; |
220 } | 220 } |
221 | 221 |
222 checkUnnamed186(core.List<api.CalendarResource> o) { | 222 checkUnnamed883(core.List<api.CalendarResource> o) { |
223 unittest.expect(o, unittest.hasLength(2)); | 223 unittest.expect(o, unittest.hasLength(2)); |
224 checkCalendarResource(o[0]); | 224 checkCalendarResource(o[0]); |
225 checkCalendarResource(o[1]); | 225 checkCalendarResource(o[1]); |
226 } | 226 } |
227 | 227 |
228 core.int buildCounterCalendarResources = 0; | 228 core.int buildCounterCalendarResources = 0; |
229 buildCalendarResources() { | 229 buildCalendarResources() { |
230 var o = new api.CalendarResources(); | 230 var o = new api.CalendarResources(); |
231 buildCounterCalendarResources++; | 231 buildCounterCalendarResources++; |
232 if (buildCounterCalendarResources < 3) { | 232 if (buildCounterCalendarResources < 3) { |
233 o.etag = "foo"; | 233 o.etag = "foo"; |
234 o.items = buildUnnamed186(); | 234 o.items = buildUnnamed883(); |
235 o.kind = "foo"; | 235 o.kind = "foo"; |
236 o.nextPageToken = "foo"; | 236 o.nextPageToken = "foo"; |
237 } | 237 } |
238 buildCounterCalendarResources--; | 238 buildCounterCalendarResources--; |
239 return o; | 239 return o; |
240 } | 240 } |
241 | 241 |
242 checkCalendarResources(api.CalendarResources o) { | 242 checkCalendarResources(api.CalendarResources o) { |
243 buildCounterCalendarResources++; | 243 buildCounterCalendarResources++; |
244 if (buildCounterCalendarResources < 3) { | 244 if (buildCounterCalendarResources < 3) { |
245 unittest.expect(o.etag, unittest.equals('foo')); | 245 unittest.expect(o.etag, unittest.equals('foo')); |
246 checkUnnamed186(o.items); | 246 checkUnnamed883(o.items); |
247 unittest.expect(o.kind, unittest.equals('foo')); | 247 unittest.expect(o.kind, unittest.equals('foo')); |
248 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 248 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
249 } | 249 } |
250 buildCounterCalendarResources--; | 250 buildCounterCalendarResources--; |
251 } | 251 } |
252 | 252 |
253 buildUnnamed187() { | 253 buildUnnamed884() { |
254 var o = new core.Map<core.String, core.String>(); | 254 var o = new core.Map<core.String, core.String>(); |
255 o["x"] = "foo"; | 255 o["x"] = "foo"; |
256 o["y"] = "foo"; | 256 o["y"] = "foo"; |
257 return o; | 257 return o; |
258 } | 258 } |
259 | 259 |
260 checkUnnamed187(core.Map<core.String, core.String> o) { | 260 checkUnnamed884(core.Map<core.String, core.String> o) { |
261 unittest.expect(o, unittest.hasLength(2)); | 261 unittest.expect(o, unittest.hasLength(2)); |
262 unittest.expect(o["x"], unittest.equals('foo')); | 262 unittest.expect(o["x"], unittest.equals('foo')); |
263 unittest.expect(o["y"], unittest.equals('foo')); | 263 unittest.expect(o["y"], unittest.equals('foo')); |
264 } | 264 } |
265 | 265 |
266 core.int buildCounterChannel = 0; | 266 core.int buildCounterChannel = 0; |
267 buildChannel() { | 267 buildChannel() { |
268 var o = new api.Channel(); | 268 var o = new api.Channel(); |
269 buildCounterChannel++; | 269 buildCounterChannel++; |
270 if (buildCounterChannel < 3) { | 270 if (buildCounterChannel < 3) { |
271 o.address = "foo"; | 271 o.address = "foo"; |
272 o.expiration = "foo"; | 272 o.expiration = "foo"; |
273 o.id = "foo"; | 273 o.id = "foo"; |
274 o.kind = "foo"; | 274 o.kind = "foo"; |
275 o.params = buildUnnamed187(); | 275 o.params = buildUnnamed884(); |
276 o.payload = true; | 276 o.payload = true; |
277 o.resourceId = "foo"; | 277 o.resourceId = "foo"; |
278 o.resourceUri = "foo"; | 278 o.resourceUri = "foo"; |
279 o.token = "foo"; | 279 o.token = "foo"; |
280 o.type = "foo"; | 280 o.type = "foo"; |
281 } | 281 } |
282 buildCounterChannel--; | 282 buildCounterChannel--; |
283 return o; | 283 return o; |
284 } | 284 } |
285 | 285 |
286 checkChannel(api.Channel o) { | 286 checkChannel(api.Channel o) { |
287 buildCounterChannel++; | 287 buildCounterChannel++; |
288 if (buildCounterChannel < 3) { | 288 if (buildCounterChannel < 3) { |
289 unittest.expect(o.address, unittest.equals('foo')); | 289 unittest.expect(o.address, unittest.equals('foo')); |
290 unittest.expect(o.expiration, unittest.equals('foo')); | 290 unittest.expect(o.expiration, unittest.equals('foo')); |
291 unittest.expect(o.id, unittest.equals('foo')); | 291 unittest.expect(o.id, unittest.equals('foo')); |
292 unittest.expect(o.kind, unittest.equals('foo')); | 292 unittest.expect(o.kind, unittest.equals('foo')); |
293 checkUnnamed187(o.params); | 293 checkUnnamed884(o.params); |
294 unittest.expect(o.payload, unittest.isTrue); | 294 unittest.expect(o.payload, unittest.isTrue); |
295 unittest.expect(o.resourceId, unittest.equals('foo')); | 295 unittest.expect(o.resourceId, unittest.equals('foo')); |
296 unittest.expect(o.resourceUri, unittest.equals('foo')); | 296 unittest.expect(o.resourceUri, unittest.equals('foo')); |
297 unittest.expect(o.token, unittest.equals('foo')); | 297 unittest.expect(o.token, unittest.equals('foo')); |
298 unittest.expect(o.type, unittest.equals('foo')); | 298 unittest.expect(o.type, unittest.equals('foo')); |
299 } | 299 } |
300 buildCounterChannel--; | 300 buildCounterChannel--; |
301 } | 301 } |
302 | 302 |
303 core.int buildCounterChromeOsDeviceActiveTimeRanges = 0; | 303 core.int buildCounterChromeOsDeviceActiveTimeRanges = 0; |
(...skipping 10 matching lines...) Expand all Loading... |
314 | 314 |
315 checkChromeOsDeviceActiveTimeRanges(api.ChromeOsDeviceActiveTimeRanges o) { | 315 checkChromeOsDeviceActiveTimeRanges(api.ChromeOsDeviceActiveTimeRanges o) { |
316 buildCounterChromeOsDeviceActiveTimeRanges++; | 316 buildCounterChromeOsDeviceActiveTimeRanges++; |
317 if (buildCounterChromeOsDeviceActiveTimeRanges < 3) { | 317 if (buildCounterChromeOsDeviceActiveTimeRanges < 3) { |
318 unittest.expect(o.activeTime, unittest.equals(42)); | 318 unittest.expect(o.activeTime, unittest.equals(42)); |
319 unittest.expect(o.date, unittest.equals(core.DateTime.parse("2002-02-27T00:0
0:00"))); | 319 unittest.expect(o.date, unittest.equals(core.DateTime.parse("2002-02-27T00:0
0:00"))); |
320 } | 320 } |
321 buildCounterChromeOsDeviceActiveTimeRanges--; | 321 buildCounterChromeOsDeviceActiveTimeRanges--; |
322 } | 322 } |
323 | 323 |
324 buildUnnamed188() { | 324 buildUnnamed885() { |
325 var o = new core.List<api.ChromeOsDeviceActiveTimeRanges>(); | 325 var o = new core.List<api.ChromeOsDeviceActiveTimeRanges>(); |
326 o.add(buildChromeOsDeviceActiveTimeRanges()); | 326 o.add(buildChromeOsDeviceActiveTimeRanges()); |
327 o.add(buildChromeOsDeviceActiveTimeRanges()); | 327 o.add(buildChromeOsDeviceActiveTimeRanges()); |
328 return o; | 328 return o; |
329 } | 329 } |
330 | 330 |
331 checkUnnamed188(core.List<api.ChromeOsDeviceActiveTimeRanges> o) { | 331 checkUnnamed885(core.List<api.ChromeOsDeviceActiveTimeRanges> o) { |
332 unittest.expect(o, unittest.hasLength(2)); | 332 unittest.expect(o, unittest.hasLength(2)); |
333 checkChromeOsDeviceActiveTimeRanges(o[0]); | 333 checkChromeOsDeviceActiveTimeRanges(o[0]); |
334 checkChromeOsDeviceActiveTimeRanges(o[1]); | 334 checkChromeOsDeviceActiveTimeRanges(o[1]); |
335 } | 335 } |
336 | 336 |
337 core.int buildCounterChromeOsDeviceRecentUsers = 0; | 337 core.int buildCounterChromeOsDeviceRecentUsers = 0; |
338 buildChromeOsDeviceRecentUsers() { | 338 buildChromeOsDeviceRecentUsers() { |
339 var o = new api.ChromeOsDeviceRecentUsers(); | 339 var o = new api.ChromeOsDeviceRecentUsers(); |
340 buildCounterChromeOsDeviceRecentUsers++; | 340 buildCounterChromeOsDeviceRecentUsers++; |
341 if (buildCounterChromeOsDeviceRecentUsers < 3) { | 341 if (buildCounterChromeOsDeviceRecentUsers < 3) { |
342 o.email = "foo"; | 342 o.email = "foo"; |
343 o.type = "foo"; | 343 o.type = "foo"; |
344 } | 344 } |
345 buildCounterChromeOsDeviceRecentUsers--; | 345 buildCounterChromeOsDeviceRecentUsers--; |
346 return o; | 346 return o; |
347 } | 347 } |
348 | 348 |
349 checkChromeOsDeviceRecentUsers(api.ChromeOsDeviceRecentUsers o) { | 349 checkChromeOsDeviceRecentUsers(api.ChromeOsDeviceRecentUsers o) { |
350 buildCounterChromeOsDeviceRecentUsers++; | 350 buildCounterChromeOsDeviceRecentUsers++; |
351 if (buildCounterChromeOsDeviceRecentUsers < 3) { | 351 if (buildCounterChromeOsDeviceRecentUsers < 3) { |
352 unittest.expect(o.email, unittest.equals('foo')); | 352 unittest.expect(o.email, unittest.equals('foo')); |
353 unittest.expect(o.type, unittest.equals('foo')); | 353 unittest.expect(o.type, unittest.equals('foo')); |
354 } | 354 } |
355 buildCounterChromeOsDeviceRecentUsers--; | 355 buildCounterChromeOsDeviceRecentUsers--; |
356 } | 356 } |
357 | 357 |
358 buildUnnamed189() { | 358 buildUnnamed886() { |
359 var o = new core.List<api.ChromeOsDeviceRecentUsers>(); | 359 var o = new core.List<api.ChromeOsDeviceRecentUsers>(); |
360 o.add(buildChromeOsDeviceRecentUsers()); | 360 o.add(buildChromeOsDeviceRecentUsers()); |
361 o.add(buildChromeOsDeviceRecentUsers()); | 361 o.add(buildChromeOsDeviceRecentUsers()); |
362 return o; | 362 return o; |
363 } | 363 } |
364 | 364 |
365 checkUnnamed189(core.List<api.ChromeOsDeviceRecentUsers> o) { | 365 checkUnnamed886(core.List<api.ChromeOsDeviceRecentUsers> o) { |
366 unittest.expect(o, unittest.hasLength(2)); | 366 unittest.expect(o, unittest.hasLength(2)); |
367 checkChromeOsDeviceRecentUsers(o[0]); | 367 checkChromeOsDeviceRecentUsers(o[0]); |
368 checkChromeOsDeviceRecentUsers(o[1]); | 368 checkChromeOsDeviceRecentUsers(o[1]); |
369 } | 369 } |
370 | 370 |
371 core.int buildCounterChromeOsDevice = 0; | 371 core.int buildCounterChromeOsDevice = 0; |
372 buildChromeOsDevice() { | 372 buildChromeOsDevice() { |
373 var o = new api.ChromeOsDevice(); | 373 var o = new api.ChromeOsDevice(); |
374 buildCounterChromeOsDevice++; | 374 buildCounterChromeOsDevice++; |
375 if (buildCounterChromeOsDevice < 3) { | 375 if (buildCounterChromeOsDevice < 3) { |
376 o.activeTimeRanges = buildUnnamed188(); | 376 o.activeTimeRanges = buildUnnamed885(); |
377 o.annotatedAssetId = "foo"; | 377 o.annotatedAssetId = "foo"; |
378 o.annotatedLocation = "foo"; | 378 o.annotatedLocation = "foo"; |
379 o.annotatedUser = "foo"; | 379 o.annotatedUser = "foo"; |
380 o.bootMode = "foo"; | 380 o.bootMode = "foo"; |
381 o.deviceId = "foo"; | 381 o.deviceId = "foo"; |
382 o.etag = "foo"; | 382 o.etag = "foo"; |
383 o.ethernetMacAddress = "foo"; | 383 o.ethernetMacAddress = "foo"; |
384 o.firmwareVersion = "foo"; | 384 o.firmwareVersion = "foo"; |
385 o.kind = "foo"; | 385 o.kind = "foo"; |
386 o.lastEnrollmentTime = core.DateTime.parse("2002-02-27T14:01:02"); | 386 o.lastEnrollmentTime = core.DateTime.parse("2002-02-27T14:01:02"); |
387 o.lastSync = core.DateTime.parse("2002-02-27T14:01:02"); | 387 o.lastSync = core.DateTime.parse("2002-02-27T14:01:02"); |
388 o.macAddress = "foo"; | 388 o.macAddress = "foo"; |
389 o.meid = "foo"; | 389 o.meid = "foo"; |
390 o.model = "foo"; | 390 o.model = "foo"; |
391 o.notes = "foo"; | 391 o.notes = "foo"; |
392 o.orderNumber = "foo"; | 392 o.orderNumber = "foo"; |
393 o.orgUnitPath = "foo"; | 393 o.orgUnitPath = "foo"; |
394 o.osVersion = "foo"; | 394 o.osVersion = "foo"; |
395 o.platformVersion = "foo"; | 395 o.platformVersion = "foo"; |
396 o.recentUsers = buildUnnamed189(); | 396 o.recentUsers = buildUnnamed886(); |
397 o.serialNumber = "foo"; | 397 o.serialNumber = "foo"; |
398 o.status = "foo"; | 398 o.status = "foo"; |
399 o.supportEndDate = core.DateTime.parse("2002-02-27T14:01:02"); | 399 o.supportEndDate = core.DateTime.parse("2002-02-27T14:01:02"); |
400 o.willAutoRenew = true; | 400 o.willAutoRenew = true; |
401 } | 401 } |
402 buildCounterChromeOsDevice--; | 402 buildCounterChromeOsDevice--; |
403 return o; | 403 return o; |
404 } | 404 } |
405 | 405 |
406 checkChromeOsDevice(api.ChromeOsDevice o) { | 406 checkChromeOsDevice(api.ChromeOsDevice o) { |
407 buildCounterChromeOsDevice++; | 407 buildCounterChromeOsDevice++; |
408 if (buildCounterChromeOsDevice < 3) { | 408 if (buildCounterChromeOsDevice < 3) { |
409 checkUnnamed188(o.activeTimeRanges); | 409 checkUnnamed885(o.activeTimeRanges); |
410 unittest.expect(o.annotatedAssetId, unittest.equals('foo')); | 410 unittest.expect(o.annotatedAssetId, unittest.equals('foo')); |
411 unittest.expect(o.annotatedLocation, unittest.equals('foo')); | 411 unittest.expect(o.annotatedLocation, unittest.equals('foo')); |
412 unittest.expect(o.annotatedUser, unittest.equals('foo')); | 412 unittest.expect(o.annotatedUser, unittest.equals('foo')); |
413 unittest.expect(o.bootMode, unittest.equals('foo')); | 413 unittest.expect(o.bootMode, unittest.equals('foo')); |
414 unittest.expect(o.deviceId, unittest.equals('foo')); | 414 unittest.expect(o.deviceId, unittest.equals('foo')); |
415 unittest.expect(o.etag, unittest.equals('foo')); | 415 unittest.expect(o.etag, unittest.equals('foo')); |
416 unittest.expect(o.ethernetMacAddress, unittest.equals('foo')); | 416 unittest.expect(o.ethernetMacAddress, unittest.equals('foo')); |
417 unittest.expect(o.firmwareVersion, unittest.equals('foo')); | 417 unittest.expect(o.firmwareVersion, unittest.equals('foo')); |
418 unittest.expect(o.kind, unittest.equals('foo')); | 418 unittest.expect(o.kind, unittest.equals('foo')); |
419 unittest.expect(o.lastEnrollmentTime, unittest.equals(core.DateTime.parse("2
002-02-27T14:01:02"))); | 419 unittest.expect(o.lastEnrollmentTime, unittest.equals(core.DateTime.parse("2
002-02-27T14:01:02"))); |
420 unittest.expect(o.lastSync, unittest.equals(core.DateTime.parse("2002-02-27T
14:01:02"))); | 420 unittest.expect(o.lastSync, unittest.equals(core.DateTime.parse("2002-02-27T
14:01:02"))); |
421 unittest.expect(o.macAddress, unittest.equals('foo')); | 421 unittest.expect(o.macAddress, unittest.equals('foo')); |
422 unittest.expect(o.meid, unittest.equals('foo')); | 422 unittest.expect(o.meid, unittest.equals('foo')); |
423 unittest.expect(o.model, unittest.equals('foo')); | 423 unittest.expect(o.model, unittest.equals('foo')); |
424 unittest.expect(o.notes, unittest.equals('foo')); | 424 unittest.expect(o.notes, unittest.equals('foo')); |
425 unittest.expect(o.orderNumber, unittest.equals('foo')); | 425 unittest.expect(o.orderNumber, unittest.equals('foo')); |
426 unittest.expect(o.orgUnitPath, unittest.equals('foo')); | 426 unittest.expect(o.orgUnitPath, unittest.equals('foo')); |
427 unittest.expect(o.osVersion, unittest.equals('foo')); | 427 unittest.expect(o.osVersion, unittest.equals('foo')); |
428 unittest.expect(o.platformVersion, unittest.equals('foo')); | 428 unittest.expect(o.platformVersion, unittest.equals('foo')); |
429 checkUnnamed189(o.recentUsers); | 429 checkUnnamed886(o.recentUsers); |
430 unittest.expect(o.serialNumber, unittest.equals('foo')); | 430 unittest.expect(o.serialNumber, unittest.equals('foo')); |
431 unittest.expect(o.status, unittest.equals('foo')); | 431 unittest.expect(o.status, unittest.equals('foo')); |
432 unittest.expect(o.supportEndDate, unittest.equals(core.DateTime.parse("2002-
02-27T14:01:02"))); | 432 unittest.expect(o.supportEndDate, unittest.equals(core.DateTime.parse("2002-
02-27T14:01:02"))); |
433 unittest.expect(o.willAutoRenew, unittest.isTrue); | 433 unittest.expect(o.willAutoRenew, unittest.isTrue); |
434 } | 434 } |
435 buildCounterChromeOsDevice--; | 435 buildCounterChromeOsDevice--; |
436 } | 436 } |
437 | 437 |
438 buildUnnamed190() { | 438 buildUnnamed887() { |
439 var o = new core.List<api.ChromeOsDevice>(); | 439 var o = new core.List<api.ChromeOsDevice>(); |
440 o.add(buildChromeOsDevice()); | 440 o.add(buildChromeOsDevice()); |
441 o.add(buildChromeOsDevice()); | 441 o.add(buildChromeOsDevice()); |
442 return o; | 442 return o; |
443 } | 443 } |
444 | 444 |
445 checkUnnamed190(core.List<api.ChromeOsDevice> o) { | 445 checkUnnamed887(core.List<api.ChromeOsDevice> o) { |
446 unittest.expect(o, unittest.hasLength(2)); | 446 unittest.expect(o, unittest.hasLength(2)); |
447 checkChromeOsDevice(o[0]); | 447 checkChromeOsDevice(o[0]); |
448 checkChromeOsDevice(o[1]); | 448 checkChromeOsDevice(o[1]); |
449 } | 449 } |
450 | 450 |
451 core.int buildCounterChromeOsDevices = 0; | 451 core.int buildCounterChromeOsDevices = 0; |
452 buildChromeOsDevices() { | 452 buildChromeOsDevices() { |
453 var o = new api.ChromeOsDevices(); | 453 var o = new api.ChromeOsDevices(); |
454 buildCounterChromeOsDevices++; | 454 buildCounterChromeOsDevices++; |
455 if (buildCounterChromeOsDevices < 3) { | 455 if (buildCounterChromeOsDevices < 3) { |
456 o.chromeosdevices = buildUnnamed190(); | 456 o.chromeosdevices = buildUnnamed887(); |
457 o.etag = "foo"; | 457 o.etag = "foo"; |
458 o.kind = "foo"; | 458 o.kind = "foo"; |
459 o.nextPageToken = "foo"; | 459 o.nextPageToken = "foo"; |
460 } | 460 } |
461 buildCounterChromeOsDevices--; | 461 buildCounterChromeOsDevices--; |
462 return o; | 462 return o; |
463 } | 463 } |
464 | 464 |
465 checkChromeOsDevices(api.ChromeOsDevices o) { | 465 checkChromeOsDevices(api.ChromeOsDevices o) { |
466 buildCounterChromeOsDevices++; | 466 buildCounterChromeOsDevices++; |
467 if (buildCounterChromeOsDevices < 3) { | 467 if (buildCounterChromeOsDevices < 3) { |
468 checkUnnamed190(o.chromeosdevices); | 468 checkUnnamed887(o.chromeosdevices); |
469 unittest.expect(o.etag, unittest.equals('foo')); | 469 unittest.expect(o.etag, unittest.equals('foo')); |
470 unittest.expect(o.kind, unittest.equals('foo')); | 470 unittest.expect(o.kind, unittest.equals('foo')); |
471 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 471 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
472 } | 472 } |
473 buildCounterChromeOsDevices--; | 473 buildCounterChromeOsDevices--; |
474 } | 474 } |
475 | 475 |
476 core.int buildCounterCustomer = 0; | 476 core.int buildCounterCustomer = 0; |
477 buildCustomer() { | 477 buildCustomer() { |
478 var o = new api.Customer(); | 478 var o = new api.Customer(); |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
565 unittest.expect(o.creationTime, unittest.equals('foo')); | 565 unittest.expect(o.creationTime, unittest.equals('foo')); |
566 unittest.expect(o.domainAliasName, unittest.equals('foo')); | 566 unittest.expect(o.domainAliasName, unittest.equals('foo')); |
567 unittest.expect(o.etag, unittest.equals('foo')); | 567 unittest.expect(o.etag, unittest.equals('foo')); |
568 unittest.expect(o.kind, unittest.equals('foo')); | 568 unittest.expect(o.kind, unittest.equals('foo')); |
569 unittest.expect(o.parentDomainName, unittest.equals('foo')); | 569 unittest.expect(o.parentDomainName, unittest.equals('foo')); |
570 unittest.expect(o.verified, unittest.isTrue); | 570 unittest.expect(o.verified, unittest.isTrue); |
571 } | 571 } |
572 buildCounterDomainAlias--; | 572 buildCounterDomainAlias--; |
573 } | 573 } |
574 | 574 |
575 buildUnnamed191() { | 575 buildUnnamed888() { |
576 var o = new core.List<api.DomainAlias>(); | 576 var o = new core.List<api.DomainAlias>(); |
577 o.add(buildDomainAlias()); | 577 o.add(buildDomainAlias()); |
578 o.add(buildDomainAlias()); | 578 o.add(buildDomainAlias()); |
579 return o; | 579 return o; |
580 } | 580 } |
581 | 581 |
582 checkUnnamed191(core.List<api.DomainAlias> o) { | 582 checkUnnamed888(core.List<api.DomainAlias> o) { |
583 unittest.expect(o, unittest.hasLength(2)); | 583 unittest.expect(o, unittest.hasLength(2)); |
584 checkDomainAlias(o[0]); | 584 checkDomainAlias(o[0]); |
585 checkDomainAlias(o[1]); | 585 checkDomainAlias(o[1]); |
586 } | 586 } |
587 | 587 |
588 core.int buildCounterDomainAliases = 0; | 588 core.int buildCounterDomainAliases = 0; |
589 buildDomainAliases() { | 589 buildDomainAliases() { |
590 var o = new api.DomainAliases(); | 590 var o = new api.DomainAliases(); |
591 buildCounterDomainAliases++; | 591 buildCounterDomainAliases++; |
592 if (buildCounterDomainAliases < 3) { | 592 if (buildCounterDomainAliases < 3) { |
593 o.domainAliases = buildUnnamed191(); | 593 o.domainAliases = buildUnnamed888(); |
594 o.etag = "foo"; | 594 o.etag = "foo"; |
595 o.kind = "foo"; | 595 o.kind = "foo"; |
596 } | 596 } |
597 buildCounterDomainAliases--; | 597 buildCounterDomainAliases--; |
598 return o; | 598 return o; |
599 } | 599 } |
600 | 600 |
601 checkDomainAliases(api.DomainAliases o) { | 601 checkDomainAliases(api.DomainAliases o) { |
602 buildCounterDomainAliases++; | 602 buildCounterDomainAliases++; |
603 if (buildCounterDomainAliases < 3) { | 603 if (buildCounterDomainAliases < 3) { |
604 checkUnnamed191(o.domainAliases); | 604 checkUnnamed888(o.domainAliases); |
605 unittest.expect(o.etag, unittest.equals('foo')); | 605 unittest.expect(o.etag, unittest.equals('foo')); |
606 unittest.expect(o.kind, unittest.equals('foo')); | 606 unittest.expect(o.kind, unittest.equals('foo')); |
607 } | 607 } |
608 buildCounterDomainAliases--; | 608 buildCounterDomainAliases--; |
609 } | 609 } |
610 | 610 |
611 buildUnnamed192() { | 611 buildUnnamed889() { |
612 var o = new core.List<api.DomainAlias>(); | 612 var o = new core.List<api.DomainAlias>(); |
613 o.add(buildDomainAlias()); | 613 o.add(buildDomainAlias()); |
614 o.add(buildDomainAlias()); | 614 o.add(buildDomainAlias()); |
615 return o; | 615 return o; |
616 } | 616 } |
617 | 617 |
618 checkUnnamed192(core.List<api.DomainAlias> o) { | 618 checkUnnamed889(core.List<api.DomainAlias> o) { |
619 unittest.expect(o, unittest.hasLength(2)); | 619 unittest.expect(o, unittest.hasLength(2)); |
620 checkDomainAlias(o[0]); | 620 checkDomainAlias(o[0]); |
621 checkDomainAlias(o[1]); | 621 checkDomainAlias(o[1]); |
622 } | 622 } |
623 | 623 |
624 core.int buildCounterDomains = 0; | 624 core.int buildCounterDomains = 0; |
625 buildDomains() { | 625 buildDomains() { |
626 var o = new api.Domains(); | 626 var o = new api.Domains(); |
627 buildCounterDomains++; | 627 buildCounterDomains++; |
628 if (buildCounterDomains < 3) { | 628 if (buildCounterDomains < 3) { |
629 o.creationTime = "foo"; | 629 o.creationTime = "foo"; |
630 o.domainAliases = buildUnnamed192(); | 630 o.domainAliases = buildUnnamed889(); |
631 o.domainName = "foo"; | 631 o.domainName = "foo"; |
632 o.etag = "foo"; | 632 o.etag = "foo"; |
633 o.isPrimary = true; | 633 o.isPrimary = true; |
634 o.kind = "foo"; | 634 o.kind = "foo"; |
635 o.verified = true; | 635 o.verified = true; |
636 } | 636 } |
637 buildCounterDomains--; | 637 buildCounterDomains--; |
638 return o; | 638 return o; |
639 } | 639 } |
640 | 640 |
641 checkDomains(api.Domains o) { | 641 checkDomains(api.Domains o) { |
642 buildCounterDomains++; | 642 buildCounterDomains++; |
643 if (buildCounterDomains < 3) { | 643 if (buildCounterDomains < 3) { |
644 unittest.expect(o.creationTime, unittest.equals('foo')); | 644 unittest.expect(o.creationTime, unittest.equals('foo')); |
645 checkUnnamed192(o.domainAliases); | 645 checkUnnamed889(o.domainAliases); |
646 unittest.expect(o.domainName, unittest.equals('foo')); | 646 unittest.expect(o.domainName, unittest.equals('foo')); |
647 unittest.expect(o.etag, unittest.equals('foo')); | 647 unittest.expect(o.etag, unittest.equals('foo')); |
648 unittest.expect(o.isPrimary, unittest.isTrue); | 648 unittest.expect(o.isPrimary, unittest.isTrue); |
649 unittest.expect(o.kind, unittest.equals('foo')); | 649 unittest.expect(o.kind, unittest.equals('foo')); |
650 unittest.expect(o.verified, unittest.isTrue); | 650 unittest.expect(o.verified, unittest.isTrue); |
651 } | 651 } |
652 buildCounterDomains--; | 652 buildCounterDomains--; |
653 } | 653 } |
654 | 654 |
655 buildUnnamed193() { | 655 buildUnnamed890() { |
656 var o = new core.List<api.Domains>(); | 656 var o = new core.List<api.Domains>(); |
657 o.add(buildDomains()); | 657 o.add(buildDomains()); |
658 o.add(buildDomains()); | 658 o.add(buildDomains()); |
659 return o; | 659 return o; |
660 } | 660 } |
661 | 661 |
662 checkUnnamed193(core.List<api.Domains> o) { | 662 checkUnnamed890(core.List<api.Domains> o) { |
663 unittest.expect(o, unittest.hasLength(2)); | 663 unittest.expect(o, unittest.hasLength(2)); |
664 checkDomains(o[0]); | 664 checkDomains(o[0]); |
665 checkDomains(o[1]); | 665 checkDomains(o[1]); |
666 } | 666 } |
667 | 667 |
668 core.int buildCounterDomains2 = 0; | 668 core.int buildCounterDomains2 = 0; |
669 buildDomains2() { | 669 buildDomains2() { |
670 var o = new api.Domains2(); | 670 var o = new api.Domains2(); |
671 buildCounterDomains2++; | 671 buildCounterDomains2++; |
672 if (buildCounterDomains2 < 3) { | 672 if (buildCounterDomains2 < 3) { |
673 o.domains = buildUnnamed193(); | 673 o.domains = buildUnnamed890(); |
674 o.etag = "foo"; | 674 o.etag = "foo"; |
675 o.kind = "foo"; | 675 o.kind = "foo"; |
676 } | 676 } |
677 buildCounterDomains2--; | 677 buildCounterDomains2--; |
678 return o; | 678 return o; |
679 } | 679 } |
680 | 680 |
681 checkDomains2(api.Domains2 o) { | 681 checkDomains2(api.Domains2 o) { |
682 buildCounterDomains2++; | 682 buildCounterDomains2++; |
683 if (buildCounterDomains2 < 3) { | 683 if (buildCounterDomains2 < 3) { |
684 checkUnnamed193(o.domains); | 684 checkUnnamed890(o.domains); |
685 unittest.expect(o.etag, unittest.equals('foo')); | 685 unittest.expect(o.etag, unittest.equals('foo')); |
686 unittest.expect(o.kind, unittest.equals('foo')); | 686 unittest.expect(o.kind, unittest.equals('foo')); |
687 } | 687 } |
688 buildCounterDomains2--; | 688 buildCounterDomains2--; |
689 } | 689 } |
690 | 690 |
691 buildUnnamed194() { | 691 buildUnnamed891() { |
692 var o = new core.List<core.String>(); | 692 var o = new core.List<core.String>(); |
693 o.add("foo"); | 693 o.add("foo"); |
694 o.add("foo"); | 694 o.add("foo"); |
695 return o; | 695 return o; |
696 } | 696 } |
697 | 697 |
698 checkUnnamed194(core.List<core.String> o) { | 698 checkUnnamed891(core.List<core.String> o) { |
699 unittest.expect(o, unittest.hasLength(2)); | 699 unittest.expect(o, unittest.hasLength(2)); |
700 unittest.expect(o[0], unittest.equals('foo')); | 700 unittest.expect(o[0], unittest.equals('foo')); |
701 unittest.expect(o[1], unittest.equals('foo')); | 701 unittest.expect(o[1], unittest.equals('foo')); |
702 } | 702 } |
703 | 703 |
704 buildUnnamed195() { | 704 buildUnnamed892() { |
705 var o = new core.List<core.String>(); | 705 var o = new core.List<core.String>(); |
706 o.add("foo"); | 706 o.add("foo"); |
707 o.add("foo"); | 707 o.add("foo"); |
708 return o; | 708 return o; |
709 } | 709 } |
710 | 710 |
711 checkUnnamed195(core.List<core.String> o) { | 711 checkUnnamed892(core.List<core.String> o) { |
712 unittest.expect(o, unittest.hasLength(2)); | 712 unittest.expect(o, unittest.hasLength(2)); |
713 unittest.expect(o[0], unittest.equals('foo')); | 713 unittest.expect(o[0], unittest.equals('foo')); |
714 unittest.expect(o[1], unittest.equals('foo')); | 714 unittest.expect(o[1], unittest.equals('foo')); |
715 } | 715 } |
716 | 716 |
717 core.int buildCounterGroup = 0; | 717 core.int buildCounterGroup = 0; |
718 buildGroup() { | 718 buildGroup() { |
719 var o = new api.Group(); | 719 var o = new api.Group(); |
720 buildCounterGroup++; | 720 buildCounterGroup++; |
721 if (buildCounterGroup < 3) { | 721 if (buildCounterGroup < 3) { |
722 o.adminCreated = true; | 722 o.adminCreated = true; |
723 o.aliases = buildUnnamed194(); | 723 o.aliases = buildUnnamed891(); |
724 o.description = "foo"; | 724 o.description = "foo"; |
725 o.directMembersCount = "foo"; | 725 o.directMembersCount = "foo"; |
726 o.email = "foo"; | 726 o.email = "foo"; |
727 o.etag = "foo"; | 727 o.etag = "foo"; |
728 o.id = "foo"; | 728 o.id = "foo"; |
729 o.kind = "foo"; | 729 o.kind = "foo"; |
730 o.name = "foo"; | 730 o.name = "foo"; |
731 o.nonEditableAliases = buildUnnamed195(); | 731 o.nonEditableAliases = buildUnnamed892(); |
732 } | 732 } |
733 buildCounterGroup--; | 733 buildCounterGroup--; |
734 return o; | 734 return o; |
735 } | 735 } |
736 | 736 |
737 checkGroup(api.Group o) { | 737 checkGroup(api.Group o) { |
738 buildCounterGroup++; | 738 buildCounterGroup++; |
739 if (buildCounterGroup < 3) { | 739 if (buildCounterGroup < 3) { |
740 unittest.expect(o.adminCreated, unittest.isTrue); | 740 unittest.expect(o.adminCreated, unittest.isTrue); |
741 checkUnnamed194(o.aliases); | 741 checkUnnamed891(o.aliases); |
742 unittest.expect(o.description, unittest.equals('foo')); | 742 unittest.expect(o.description, unittest.equals('foo')); |
743 unittest.expect(o.directMembersCount, unittest.equals('foo')); | 743 unittest.expect(o.directMembersCount, unittest.equals('foo')); |
744 unittest.expect(o.email, unittest.equals('foo')); | 744 unittest.expect(o.email, unittest.equals('foo')); |
745 unittest.expect(o.etag, unittest.equals('foo')); | 745 unittest.expect(o.etag, unittest.equals('foo')); |
746 unittest.expect(o.id, unittest.equals('foo')); | 746 unittest.expect(o.id, unittest.equals('foo')); |
747 unittest.expect(o.kind, unittest.equals('foo')); | 747 unittest.expect(o.kind, unittest.equals('foo')); |
748 unittest.expect(o.name, unittest.equals('foo')); | 748 unittest.expect(o.name, unittest.equals('foo')); |
749 checkUnnamed195(o.nonEditableAliases); | 749 checkUnnamed892(o.nonEditableAliases); |
750 } | 750 } |
751 buildCounterGroup--; | 751 buildCounterGroup--; |
752 } | 752 } |
753 | 753 |
754 buildUnnamed196() { | 754 buildUnnamed893() { |
755 var o = new core.List<api.Group>(); | 755 var o = new core.List<api.Group>(); |
756 o.add(buildGroup()); | 756 o.add(buildGroup()); |
757 o.add(buildGroup()); | 757 o.add(buildGroup()); |
758 return o; | 758 return o; |
759 } | 759 } |
760 | 760 |
761 checkUnnamed196(core.List<api.Group> o) { | 761 checkUnnamed893(core.List<api.Group> o) { |
762 unittest.expect(o, unittest.hasLength(2)); | 762 unittest.expect(o, unittest.hasLength(2)); |
763 checkGroup(o[0]); | 763 checkGroup(o[0]); |
764 checkGroup(o[1]); | 764 checkGroup(o[1]); |
765 } | 765 } |
766 | 766 |
767 core.int buildCounterGroups = 0; | 767 core.int buildCounterGroups = 0; |
768 buildGroups() { | 768 buildGroups() { |
769 var o = new api.Groups(); | 769 var o = new api.Groups(); |
770 buildCounterGroups++; | 770 buildCounterGroups++; |
771 if (buildCounterGroups < 3) { | 771 if (buildCounterGroups < 3) { |
772 o.etag = "foo"; | 772 o.etag = "foo"; |
773 o.groups = buildUnnamed196(); | 773 o.groups = buildUnnamed893(); |
774 o.kind = "foo"; | 774 o.kind = "foo"; |
775 o.nextPageToken = "foo"; | 775 o.nextPageToken = "foo"; |
776 } | 776 } |
777 buildCounterGroups--; | 777 buildCounterGroups--; |
778 return o; | 778 return o; |
779 } | 779 } |
780 | 780 |
781 checkGroups(api.Groups o) { | 781 checkGroups(api.Groups o) { |
782 buildCounterGroups++; | 782 buildCounterGroups++; |
783 if (buildCounterGroups < 3) { | 783 if (buildCounterGroups < 3) { |
784 unittest.expect(o.etag, unittest.equals('foo')); | 784 unittest.expect(o.etag, unittest.equals('foo')); |
785 checkUnnamed196(o.groups); | 785 checkUnnamed893(o.groups); |
786 unittest.expect(o.kind, unittest.equals('foo')); | 786 unittest.expect(o.kind, unittest.equals('foo')); |
787 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 787 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
788 } | 788 } |
789 buildCounterGroups--; | 789 buildCounterGroups--; |
790 } | 790 } |
791 | 791 |
792 core.int buildCounterMember = 0; | 792 core.int buildCounterMember = 0; |
793 buildMember() { | 793 buildMember() { |
794 var o = new api.Member(); | 794 var o = new api.Member(); |
795 buildCounterMember++; | 795 buildCounterMember++; |
(...skipping 15 matching lines...) Expand all Loading... |
811 unittest.expect(o.email, unittest.equals('foo')); | 811 unittest.expect(o.email, unittest.equals('foo')); |
812 unittest.expect(o.etag, unittest.equals('foo')); | 812 unittest.expect(o.etag, unittest.equals('foo')); |
813 unittest.expect(o.id, unittest.equals('foo')); | 813 unittest.expect(o.id, unittest.equals('foo')); |
814 unittest.expect(o.kind, unittest.equals('foo')); | 814 unittest.expect(o.kind, unittest.equals('foo')); |
815 unittest.expect(o.role, unittest.equals('foo')); | 815 unittest.expect(o.role, unittest.equals('foo')); |
816 unittest.expect(o.type, unittest.equals('foo')); | 816 unittest.expect(o.type, unittest.equals('foo')); |
817 } | 817 } |
818 buildCounterMember--; | 818 buildCounterMember--; |
819 } | 819 } |
820 | 820 |
821 buildUnnamed197() { | 821 buildUnnamed894() { |
822 var o = new core.List<api.Member>(); | 822 var o = new core.List<api.Member>(); |
823 o.add(buildMember()); | 823 o.add(buildMember()); |
824 o.add(buildMember()); | 824 o.add(buildMember()); |
825 return o; | 825 return o; |
826 } | 826 } |
827 | 827 |
828 checkUnnamed197(core.List<api.Member> o) { | 828 checkUnnamed894(core.List<api.Member> o) { |
829 unittest.expect(o, unittest.hasLength(2)); | 829 unittest.expect(o, unittest.hasLength(2)); |
830 checkMember(o[0]); | 830 checkMember(o[0]); |
831 checkMember(o[1]); | 831 checkMember(o[1]); |
832 } | 832 } |
833 | 833 |
834 core.int buildCounterMembers = 0; | 834 core.int buildCounterMembers = 0; |
835 buildMembers() { | 835 buildMembers() { |
836 var o = new api.Members(); | 836 var o = new api.Members(); |
837 buildCounterMembers++; | 837 buildCounterMembers++; |
838 if (buildCounterMembers < 3) { | 838 if (buildCounterMembers < 3) { |
839 o.etag = "foo"; | 839 o.etag = "foo"; |
840 o.kind = "foo"; | 840 o.kind = "foo"; |
841 o.members = buildUnnamed197(); | 841 o.members = buildUnnamed894(); |
842 o.nextPageToken = "foo"; | 842 o.nextPageToken = "foo"; |
843 } | 843 } |
844 buildCounterMembers--; | 844 buildCounterMembers--; |
845 return o; | 845 return o; |
846 } | 846 } |
847 | 847 |
848 checkMembers(api.Members o) { | 848 checkMembers(api.Members o) { |
849 buildCounterMembers++; | 849 buildCounterMembers++; |
850 if (buildCounterMembers < 3) { | 850 if (buildCounterMembers < 3) { |
851 unittest.expect(o.etag, unittest.equals('foo')); | 851 unittest.expect(o.etag, unittest.equals('foo')); |
852 unittest.expect(o.kind, unittest.equals('foo')); | 852 unittest.expect(o.kind, unittest.equals('foo')); |
853 checkUnnamed197(o.members); | 853 checkUnnamed894(o.members); |
854 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 854 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
855 } | 855 } |
856 buildCounterMembers--; | 856 buildCounterMembers--; |
857 } | 857 } |
858 | 858 |
859 buildUnnamed198() { | 859 buildUnnamed895() { |
860 var o = new core.List<core.String>(); | 860 var o = new core.List<core.String>(); |
861 o.add("foo"); | 861 o.add("foo"); |
862 o.add("foo"); | 862 o.add("foo"); |
863 return o; | 863 return o; |
864 } | 864 } |
865 | 865 |
866 checkUnnamed198(core.List<core.String> o) { | 866 checkUnnamed895(core.List<core.String> o) { |
867 unittest.expect(o, unittest.hasLength(2)); | 867 unittest.expect(o, unittest.hasLength(2)); |
868 unittest.expect(o[0], unittest.equals('foo')); | 868 unittest.expect(o[0], unittest.equals('foo')); |
869 unittest.expect(o[1], unittest.equals('foo')); | 869 unittest.expect(o[1], unittest.equals('foo')); |
870 } | 870 } |
871 | 871 |
872 core.int buildCounterMobileDeviceApplications = 0; | 872 core.int buildCounterMobileDeviceApplications = 0; |
873 buildMobileDeviceApplications() { | 873 buildMobileDeviceApplications() { |
874 var o = new api.MobileDeviceApplications(); | 874 var o = new api.MobileDeviceApplications(); |
875 buildCounterMobileDeviceApplications++; | 875 buildCounterMobileDeviceApplications++; |
876 if (buildCounterMobileDeviceApplications < 3) { | 876 if (buildCounterMobileDeviceApplications < 3) { |
877 o.displayName = "foo"; | 877 o.displayName = "foo"; |
878 o.packageName = "foo"; | 878 o.packageName = "foo"; |
879 o.permission = buildUnnamed198(); | 879 o.permission = buildUnnamed895(); |
880 o.versionCode = 42; | 880 o.versionCode = 42; |
881 o.versionName = "foo"; | 881 o.versionName = "foo"; |
882 } | 882 } |
883 buildCounterMobileDeviceApplications--; | 883 buildCounterMobileDeviceApplications--; |
884 return o; | 884 return o; |
885 } | 885 } |
886 | 886 |
887 checkMobileDeviceApplications(api.MobileDeviceApplications o) { | 887 checkMobileDeviceApplications(api.MobileDeviceApplications o) { |
888 buildCounterMobileDeviceApplications++; | 888 buildCounterMobileDeviceApplications++; |
889 if (buildCounterMobileDeviceApplications < 3) { | 889 if (buildCounterMobileDeviceApplications < 3) { |
890 unittest.expect(o.displayName, unittest.equals('foo')); | 890 unittest.expect(o.displayName, unittest.equals('foo')); |
891 unittest.expect(o.packageName, unittest.equals('foo')); | 891 unittest.expect(o.packageName, unittest.equals('foo')); |
892 checkUnnamed198(o.permission); | 892 checkUnnamed895(o.permission); |
893 unittest.expect(o.versionCode, unittest.equals(42)); | 893 unittest.expect(o.versionCode, unittest.equals(42)); |
894 unittest.expect(o.versionName, unittest.equals('foo')); | 894 unittest.expect(o.versionName, unittest.equals('foo')); |
895 } | 895 } |
896 buildCounterMobileDeviceApplications--; | 896 buildCounterMobileDeviceApplications--; |
897 } | 897 } |
898 | 898 |
899 buildUnnamed199() { | 899 buildUnnamed896() { |
900 var o = new core.List<api.MobileDeviceApplications>(); | 900 var o = new core.List<api.MobileDeviceApplications>(); |
901 o.add(buildMobileDeviceApplications()); | 901 o.add(buildMobileDeviceApplications()); |
902 o.add(buildMobileDeviceApplications()); | 902 o.add(buildMobileDeviceApplications()); |
903 return o; | 903 return o; |
904 } | 904 } |
905 | 905 |
906 checkUnnamed199(core.List<api.MobileDeviceApplications> o) { | 906 checkUnnamed896(core.List<api.MobileDeviceApplications> o) { |
907 unittest.expect(o, unittest.hasLength(2)); | 907 unittest.expect(o, unittest.hasLength(2)); |
908 checkMobileDeviceApplications(o[0]); | 908 checkMobileDeviceApplications(o[0]); |
909 checkMobileDeviceApplications(o[1]); | 909 checkMobileDeviceApplications(o[1]); |
910 } | 910 } |
911 | 911 |
912 buildUnnamed200() { | 912 buildUnnamed897() { |
913 var o = new core.List<core.String>(); | 913 var o = new core.List<core.String>(); |
914 o.add("foo"); | 914 o.add("foo"); |
915 o.add("foo"); | 915 o.add("foo"); |
916 return o; | 916 return o; |
917 } | 917 } |
918 | 918 |
919 checkUnnamed200(core.List<core.String> o) { | 919 checkUnnamed897(core.List<core.String> o) { |
920 unittest.expect(o, unittest.hasLength(2)); | 920 unittest.expect(o, unittest.hasLength(2)); |
921 unittest.expect(o[0], unittest.equals('foo')); | 921 unittest.expect(o[0], unittest.equals('foo')); |
922 unittest.expect(o[1], unittest.equals('foo')); | 922 unittest.expect(o[1], unittest.equals('foo')); |
923 } | 923 } |
924 | 924 |
925 buildUnnamed201() { | 925 buildUnnamed898() { |
926 var o = new core.List<core.String>(); | 926 var o = new core.List<core.String>(); |
927 o.add("foo"); | 927 o.add("foo"); |
928 o.add("foo"); | 928 o.add("foo"); |
929 return o; | 929 return o; |
930 } | 930 } |
931 | 931 |
932 checkUnnamed201(core.List<core.String> o) { | 932 checkUnnamed898(core.List<core.String> o) { |
933 unittest.expect(o, unittest.hasLength(2)); | 933 unittest.expect(o, unittest.hasLength(2)); |
934 unittest.expect(o[0], unittest.equals('foo')); | 934 unittest.expect(o[0], unittest.equals('foo')); |
935 unittest.expect(o[1], unittest.equals('foo')); | 935 unittest.expect(o[1], unittest.equals('foo')); |
936 } | 936 } |
937 | 937 |
938 buildUnnamed202() { | 938 buildUnnamed899() { |
939 var o = new core.List<core.String>(); | 939 var o = new core.List<core.String>(); |
940 o.add("foo"); | 940 o.add("foo"); |
941 o.add("foo"); | 941 o.add("foo"); |
942 return o; | 942 return o; |
943 } | 943 } |
944 | 944 |
945 checkUnnamed202(core.List<core.String> o) { | 945 checkUnnamed899(core.List<core.String> o) { |
946 unittest.expect(o, unittest.hasLength(2)); | 946 unittest.expect(o, unittest.hasLength(2)); |
947 unittest.expect(o[0], unittest.equals('foo')); | 947 unittest.expect(o[0], unittest.equals('foo')); |
948 unittest.expect(o[1], unittest.equals('foo')); | 948 unittest.expect(o[1], unittest.equals('foo')); |
949 } | 949 } |
950 | 950 |
951 core.int buildCounterMobileDevice = 0; | 951 core.int buildCounterMobileDevice = 0; |
952 buildMobileDevice() { | 952 buildMobileDevice() { |
953 var o = new api.MobileDevice(); | 953 var o = new api.MobileDevice(); |
954 buildCounterMobileDevice++; | 954 buildCounterMobileDevice++; |
955 if (buildCounterMobileDevice < 3) { | 955 if (buildCounterMobileDevice < 3) { |
956 o.adbStatus = true; | 956 o.adbStatus = true; |
957 o.applications = buildUnnamed199(); | 957 o.applications = buildUnnamed896(); |
958 o.basebandVersion = "foo"; | 958 o.basebandVersion = "foo"; |
959 o.buildNumber = "foo"; | 959 o.buildNumber = "foo"; |
960 o.defaultLanguage = "foo"; | 960 o.defaultLanguage = "foo"; |
961 o.developerOptionsStatus = true; | 961 o.developerOptionsStatus = true; |
962 o.deviceCompromisedStatus = "foo"; | 962 o.deviceCompromisedStatus = "foo"; |
963 o.deviceId = "foo"; | 963 o.deviceId = "foo"; |
964 o.email = buildUnnamed200(); | 964 o.email = buildUnnamed897(); |
965 o.etag = "foo"; | 965 o.etag = "foo"; |
966 o.firstSync = core.DateTime.parse("2002-02-27T14:01:02"); | 966 o.firstSync = core.DateTime.parse("2002-02-27T14:01:02"); |
967 o.hardwareId = "foo"; | 967 o.hardwareId = "foo"; |
968 o.imei = "foo"; | 968 o.imei = "foo"; |
969 o.kernelVersion = "foo"; | 969 o.kernelVersion = "foo"; |
970 o.kind = "foo"; | 970 o.kind = "foo"; |
971 o.lastSync = core.DateTime.parse("2002-02-27T14:01:02"); | 971 o.lastSync = core.DateTime.parse("2002-02-27T14:01:02"); |
972 o.managedAccountIsOnOwnerProfile = true; | 972 o.managedAccountIsOnOwnerProfile = true; |
973 o.meid = "foo"; | 973 o.meid = "foo"; |
974 o.model = "foo"; | 974 o.model = "foo"; |
975 o.name = buildUnnamed201(); | 975 o.name = buildUnnamed898(); |
976 o.networkOperator = "foo"; | 976 o.networkOperator = "foo"; |
977 o.os = "foo"; | 977 o.os = "foo"; |
978 o.otherAccountsInfo = buildUnnamed202(); | 978 o.otherAccountsInfo = buildUnnamed899(); |
979 o.resourceId = "foo"; | 979 o.resourceId = "foo"; |
980 o.serialNumber = "foo"; | 980 o.serialNumber = "foo"; |
981 o.status = "foo"; | 981 o.status = "foo"; |
982 o.supportsWorkProfile = true; | 982 o.supportsWorkProfile = true; |
983 o.type = "foo"; | 983 o.type = "foo"; |
984 o.unknownSourcesStatus = true; | 984 o.unknownSourcesStatus = true; |
985 o.userAgent = "foo"; | 985 o.userAgent = "foo"; |
986 o.wifiMacAddress = "foo"; | 986 o.wifiMacAddress = "foo"; |
987 } | 987 } |
988 buildCounterMobileDevice--; | 988 buildCounterMobileDevice--; |
989 return o; | 989 return o; |
990 } | 990 } |
991 | 991 |
992 checkMobileDevice(api.MobileDevice o) { | 992 checkMobileDevice(api.MobileDevice o) { |
993 buildCounterMobileDevice++; | 993 buildCounterMobileDevice++; |
994 if (buildCounterMobileDevice < 3) { | 994 if (buildCounterMobileDevice < 3) { |
995 unittest.expect(o.adbStatus, unittest.isTrue); | 995 unittest.expect(o.adbStatus, unittest.isTrue); |
996 checkUnnamed199(o.applications); | 996 checkUnnamed896(o.applications); |
997 unittest.expect(o.basebandVersion, unittest.equals('foo')); | 997 unittest.expect(o.basebandVersion, unittest.equals('foo')); |
998 unittest.expect(o.buildNumber, unittest.equals('foo')); | 998 unittest.expect(o.buildNumber, unittest.equals('foo')); |
999 unittest.expect(o.defaultLanguage, unittest.equals('foo')); | 999 unittest.expect(o.defaultLanguage, unittest.equals('foo')); |
1000 unittest.expect(o.developerOptionsStatus, unittest.isTrue); | 1000 unittest.expect(o.developerOptionsStatus, unittest.isTrue); |
1001 unittest.expect(o.deviceCompromisedStatus, unittest.equals('foo')); | 1001 unittest.expect(o.deviceCompromisedStatus, unittest.equals('foo')); |
1002 unittest.expect(o.deviceId, unittest.equals('foo')); | 1002 unittest.expect(o.deviceId, unittest.equals('foo')); |
1003 checkUnnamed200(o.email); | 1003 checkUnnamed897(o.email); |
1004 unittest.expect(o.etag, unittest.equals('foo')); | 1004 unittest.expect(o.etag, unittest.equals('foo')); |
1005 unittest.expect(o.firstSync, unittest.equals(core.DateTime.parse("2002-02-27
T14:01:02"))); | 1005 unittest.expect(o.firstSync, unittest.equals(core.DateTime.parse("2002-02-27
T14:01:02"))); |
1006 unittest.expect(o.hardwareId, unittest.equals('foo')); | 1006 unittest.expect(o.hardwareId, unittest.equals('foo')); |
1007 unittest.expect(o.imei, unittest.equals('foo')); | 1007 unittest.expect(o.imei, unittest.equals('foo')); |
1008 unittest.expect(o.kernelVersion, unittest.equals('foo')); | 1008 unittest.expect(o.kernelVersion, unittest.equals('foo')); |
1009 unittest.expect(o.kind, unittest.equals('foo')); | 1009 unittest.expect(o.kind, unittest.equals('foo')); |
1010 unittest.expect(o.lastSync, unittest.equals(core.DateTime.parse("2002-02-27T
14:01:02"))); | 1010 unittest.expect(o.lastSync, unittest.equals(core.DateTime.parse("2002-02-27T
14:01:02"))); |
1011 unittest.expect(o.managedAccountIsOnOwnerProfile, unittest.isTrue); | 1011 unittest.expect(o.managedAccountIsOnOwnerProfile, unittest.isTrue); |
1012 unittest.expect(o.meid, unittest.equals('foo')); | 1012 unittest.expect(o.meid, unittest.equals('foo')); |
1013 unittest.expect(o.model, unittest.equals('foo')); | 1013 unittest.expect(o.model, unittest.equals('foo')); |
1014 checkUnnamed201(o.name); | 1014 checkUnnamed898(o.name); |
1015 unittest.expect(o.networkOperator, unittest.equals('foo')); | 1015 unittest.expect(o.networkOperator, unittest.equals('foo')); |
1016 unittest.expect(o.os, unittest.equals('foo')); | 1016 unittest.expect(o.os, unittest.equals('foo')); |
1017 checkUnnamed202(o.otherAccountsInfo); | 1017 checkUnnamed899(o.otherAccountsInfo); |
1018 unittest.expect(o.resourceId, unittest.equals('foo')); | 1018 unittest.expect(o.resourceId, unittest.equals('foo')); |
1019 unittest.expect(o.serialNumber, unittest.equals('foo')); | 1019 unittest.expect(o.serialNumber, unittest.equals('foo')); |
1020 unittest.expect(o.status, unittest.equals('foo')); | 1020 unittest.expect(o.status, unittest.equals('foo')); |
1021 unittest.expect(o.supportsWorkProfile, unittest.isTrue); | 1021 unittest.expect(o.supportsWorkProfile, unittest.isTrue); |
1022 unittest.expect(o.type, unittest.equals('foo')); | 1022 unittest.expect(o.type, unittest.equals('foo')); |
1023 unittest.expect(o.unknownSourcesStatus, unittest.isTrue); | 1023 unittest.expect(o.unknownSourcesStatus, unittest.isTrue); |
1024 unittest.expect(o.userAgent, unittest.equals('foo')); | 1024 unittest.expect(o.userAgent, unittest.equals('foo')); |
1025 unittest.expect(o.wifiMacAddress, unittest.equals('foo')); | 1025 unittest.expect(o.wifiMacAddress, unittest.equals('foo')); |
1026 } | 1026 } |
1027 buildCounterMobileDevice--; | 1027 buildCounterMobileDevice--; |
(...skipping 11 matching lines...) Expand all Loading... |
1039 } | 1039 } |
1040 | 1040 |
1041 checkMobileDeviceAction(api.MobileDeviceAction o) { | 1041 checkMobileDeviceAction(api.MobileDeviceAction o) { |
1042 buildCounterMobileDeviceAction++; | 1042 buildCounterMobileDeviceAction++; |
1043 if (buildCounterMobileDeviceAction < 3) { | 1043 if (buildCounterMobileDeviceAction < 3) { |
1044 unittest.expect(o.action, unittest.equals('foo')); | 1044 unittest.expect(o.action, unittest.equals('foo')); |
1045 } | 1045 } |
1046 buildCounterMobileDeviceAction--; | 1046 buildCounterMobileDeviceAction--; |
1047 } | 1047 } |
1048 | 1048 |
1049 buildUnnamed203() { | 1049 buildUnnamed900() { |
1050 var o = new core.List<api.MobileDevice>(); | 1050 var o = new core.List<api.MobileDevice>(); |
1051 o.add(buildMobileDevice()); | 1051 o.add(buildMobileDevice()); |
1052 o.add(buildMobileDevice()); | 1052 o.add(buildMobileDevice()); |
1053 return o; | 1053 return o; |
1054 } | 1054 } |
1055 | 1055 |
1056 checkUnnamed203(core.List<api.MobileDevice> o) { | 1056 checkUnnamed900(core.List<api.MobileDevice> o) { |
1057 unittest.expect(o, unittest.hasLength(2)); | 1057 unittest.expect(o, unittest.hasLength(2)); |
1058 checkMobileDevice(o[0]); | 1058 checkMobileDevice(o[0]); |
1059 checkMobileDevice(o[1]); | 1059 checkMobileDevice(o[1]); |
1060 } | 1060 } |
1061 | 1061 |
1062 core.int buildCounterMobileDevices = 0; | 1062 core.int buildCounterMobileDevices = 0; |
1063 buildMobileDevices() { | 1063 buildMobileDevices() { |
1064 var o = new api.MobileDevices(); | 1064 var o = new api.MobileDevices(); |
1065 buildCounterMobileDevices++; | 1065 buildCounterMobileDevices++; |
1066 if (buildCounterMobileDevices < 3) { | 1066 if (buildCounterMobileDevices < 3) { |
1067 o.etag = "foo"; | 1067 o.etag = "foo"; |
1068 o.kind = "foo"; | 1068 o.kind = "foo"; |
1069 o.mobiledevices = buildUnnamed203(); | 1069 o.mobiledevices = buildUnnamed900(); |
1070 o.nextPageToken = "foo"; | 1070 o.nextPageToken = "foo"; |
1071 } | 1071 } |
1072 buildCounterMobileDevices--; | 1072 buildCounterMobileDevices--; |
1073 return o; | 1073 return o; |
1074 } | 1074 } |
1075 | 1075 |
1076 checkMobileDevices(api.MobileDevices o) { | 1076 checkMobileDevices(api.MobileDevices o) { |
1077 buildCounterMobileDevices++; | 1077 buildCounterMobileDevices++; |
1078 if (buildCounterMobileDevices < 3) { | 1078 if (buildCounterMobileDevices < 3) { |
1079 unittest.expect(o.etag, unittest.equals('foo')); | 1079 unittest.expect(o.etag, unittest.equals('foo')); |
1080 unittest.expect(o.kind, unittest.equals('foo')); | 1080 unittest.expect(o.kind, unittest.equals('foo')); |
1081 checkUnnamed203(o.mobiledevices); | 1081 checkUnnamed900(o.mobiledevices); |
1082 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1082 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
1083 } | 1083 } |
1084 buildCounterMobileDevices--; | 1084 buildCounterMobileDevices--; |
1085 } | 1085 } |
1086 | 1086 |
1087 core.int buildCounterNotification = 0; | 1087 core.int buildCounterNotification = 0; |
1088 buildNotification() { | 1088 buildNotification() { |
1089 var o = new api.Notification(); | 1089 var o = new api.Notification(); |
1090 buildCounterNotification++; | 1090 buildCounterNotification++; |
1091 if (buildCounterNotification < 3) { | 1091 if (buildCounterNotification < 3) { |
(...skipping 18 matching lines...) Expand all Loading... |
1110 unittest.expect(o.fromAddress, unittest.equals('foo')); | 1110 unittest.expect(o.fromAddress, unittest.equals('foo')); |
1111 unittest.expect(o.isUnread, unittest.isTrue); | 1111 unittest.expect(o.isUnread, unittest.isTrue); |
1112 unittest.expect(o.kind, unittest.equals('foo')); | 1112 unittest.expect(o.kind, unittest.equals('foo')); |
1113 unittest.expect(o.notificationId, unittest.equals('foo')); | 1113 unittest.expect(o.notificationId, unittest.equals('foo')); |
1114 unittest.expect(o.sendTime, unittest.equals(core.DateTime.parse("2002-02-27T
14:01:02"))); | 1114 unittest.expect(o.sendTime, unittest.equals(core.DateTime.parse("2002-02-27T
14:01:02"))); |
1115 unittest.expect(o.subject, unittest.equals('foo')); | 1115 unittest.expect(o.subject, unittest.equals('foo')); |
1116 } | 1116 } |
1117 buildCounterNotification--; | 1117 buildCounterNotification--; |
1118 } | 1118 } |
1119 | 1119 |
1120 buildUnnamed204() { | 1120 buildUnnamed901() { |
1121 var o = new core.List<api.Notification>(); | 1121 var o = new core.List<api.Notification>(); |
1122 o.add(buildNotification()); | 1122 o.add(buildNotification()); |
1123 o.add(buildNotification()); | 1123 o.add(buildNotification()); |
1124 return o; | 1124 return o; |
1125 } | 1125 } |
1126 | 1126 |
1127 checkUnnamed204(core.List<api.Notification> o) { | 1127 checkUnnamed901(core.List<api.Notification> o) { |
1128 unittest.expect(o, unittest.hasLength(2)); | 1128 unittest.expect(o, unittest.hasLength(2)); |
1129 checkNotification(o[0]); | 1129 checkNotification(o[0]); |
1130 checkNotification(o[1]); | 1130 checkNotification(o[1]); |
1131 } | 1131 } |
1132 | 1132 |
1133 core.int buildCounterNotifications = 0; | 1133 core.int buildCounterNotifications = 0; |
1134 buildNotifications() { | 1134 buildNotifications() { |
1135 var o = new api.Notifications(); | 1135 var o = new api.Notifications(); |
1136 buildCounterNotifications++; | 1136 buildCounterNotifications++; |
1137 if (buildCounterNotifications < 3) { | 1137 if (buildCounterNotifications < 3) { |
1138 o.etag = "foo"; | 1138 o.etag = "foo"; |
1139 o.items = buildUnnamed204(); | 1139 o.items = buildUnnamed901(); |
1140 o.kind = "foo"; | 1140 o.kind = "foo"; |
1141 o.nextPageToken = "foo"; | 1141 o.nextPageToken = "foo"; |
1142 o.unreadNotificationsCount = 42; | 1142 o.unreadNotificationsCount = 42; |
1143 } | 1143 } |
1144 buildCounterNotifications--; | 1144 buildCounterNotifications--; |
1145 return o; | 1145 return o; |
1146 } | 1146 } |
1147 | 1147 |
1148 checkNotifications(api.Notifications o) { | 1148 checkNotifications(api.Notifications o) { |
1149 buildCounterNotifications++; | 1149 buildCounterNotifications++; |
1150 if (buildCounterNotifications < 3) { | 1150 if (buildCounterNotifications < 3) { |
1151 unittest.expect(o.etag, unittest.equals('foo')); | 1151 unittest.expect(o.etag, unittest.equals('foo')); |
1152 checkUnnamed204(o.items); | 1152 checkUnnamed901(o.items); |
1153 unittest.expect(o.kind, unittest.equals('foo')); | 1153 unittest.expect(o.kind, unittest.equals('foo')); |
1154 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1154 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
1155 unittest.expect(o.unreadNotificationsCount, unittest.equals(42)); | 1155 unittest.expect(o.unreadNotificationsCount, unittest.equals(42)); |
1156 } | 1156 } |
1157 buildCounterNotifications--; | 1157 buildCounterNotifications--; |
1158 } | 1158 } |
1159 | 1159 |
1160 core.int buildCounterOrgUnit = 0; | 1160 core.int buildCounterOrgUnit = 0; |
1161 buildOrgUnit() { | 1161 buildOrgUnit() { |
1162 var o = new api.OrgUnit(); | 1162 var o = new api.OrgUnit(); |
(...skipping 22 matching lines...) Expand all Loading... |
1185 unittest.expect(o.kind, unittest.equals('foo')); | 1185 unittest.expect(o.kind, unittest.equals('foo')); |
1186 unittest.expect(o.name, unittest.equals('foo')); | 1186 unittest.expect(o.name, unittest.equals('foo')); |
1187 unittest.expect(o.orgUnitId, unittest.equals('foo')); | 1187 unittest.expect(o.orgUnitId, unittest.equals('foo')); |
1188 unittest.expect(o.orgUnitPath, unittest.equals('foo')); | 1188 unittest.expect(o.orgUnitPath, unittest.equals('foo')); |
1189 unittest.expect(o.parentOrgUnitId, unittest.equals('foo')); | 1189 unittest.expect(o.parentOrgUnitId, unittest.equals('foo')); |
1190 unittest.expect(o.parentOrgUnitPath, unittest.equals('foo')); | 1190 unittest.expect(o.parentOrgUnitPath, unittest.equals('foo')); |
1191 } | 1191 } |
1192 buildCounterOrgUnit--; | 1192 buildCounterOrgUnit--; |
1193 } | 1193 } |
1194 | 1194 |
1195 buildUnnamed205() { | 1195 buildUnnamed902() { |
1196 var o = new core.List<api.OrgUnit>(); | 1196 var o = new core.List<api.OrgUnit>(); |
1197 o.add(buildOrgUnit()); | 1197 o.add(buildOrgUnit()); |
1198 o.add(buildOrgUnit()); | 1198 o.add(buildOrgUnit()); |
1199 return o; | 1199 return o; |
1200 } | 1200 } |
1201 | 1201 |
1202 checkUnnamed205(core.List<api.OrgUnit> o) { | 1202 checkUnnamed902(core.List<api.OrgUnit> o) { |
1203 unittest.expect(o, unittest.hasLength(2)); | 1203 unittest.expect(o, unittest.hasLength(2)); |
1204 checkOrgUnit(o[0]); | 1204 checkOrgUnit(o[0]); |
1205 checkOrgUnit(o[1]); | 1205 checkOrgUnit(o[1]); |
1206 } | 1206 } |
1207 | 1207 |
1208 core.int buildCounterOrgUnits = 0; | 1208 core.int buildCounterOrgUnits = 0; |
1209 buildOrgUnits() { | 1209 buildOrgUnits() { |
1210 var o = new api.OrgUnits(); | 1210 var o = new api.OrgUnits(); |
1211 buildCounterOrgUnits++; | 1211 buildCounterOrgUnits++; |
1212 if (buildCounterOrgUnits < 3) { | 1212 if (buildCounterOrgUnits < 3) { |
1213 o.etag = "foo"; | 1213 o.etag = "foo"; |
1214 o.kind = "foo"; | 1214 o.kind = "foo"; |
1215 o.organizationUnits = buildUnnamed205(); | 1215 o.organizationUnits = buildUnnamed902(); |
1216 } | 1216 } |
1217 buildCounterOrgUnits--; | 1217 buildCounterOrgUnits--; |
1218 return o; | 1218 return o; |
1219 } | 1219 } |
1220 | 1220 |
1221 checkOrgUnits(api.OrgUnits o) { | 1221 checkOrgUnits(api.OrgUnits o) { |
1222 buildCounterOrgUnits++; | 1222 buildCounterOrgUnits++; |
1223 if (buildCounterOrgUnits < 3) { | 1223 if (buildCounterOrgUnits < 3) { |
1224 unittest.expect(o.etag, unittest.equals('foo')); | 1224 unittest.expect(o.etag, unittest.equals('foo')); |
1225 unittest.expect(o.kind, unittest.equals('foo')); | 1225 unittest.expect(o.kind, unittest.equals('foo')); |
1226 checkUnnamed205(o.organizationUnits); | 1226 checkUnnamed902(o.organizationUnits); |
1227 } | 1227 } |
1228 buildCounterOrgUnits--; | 1228 buildCounterOrgUnits--; |
1229 } | 1229 } |
1230 | 1230 |
1231 buildUnnamed206() { | 1231 buildUnnamed903() { |
1232 var o = new core.List<api.Privilege>(); | 1232 var o = new core.List<api.Privilege>(); |
1233 o.add(buildPrivilege()); | 1233 o.add(buildPrivilege()); |
1234 o.add(buildPrivilege()); | 1234 o.add(buildPrivilege()); |
1235 return o; | 1235 return o; |
1236 } | 1236 } |
1237 | 1237 |
1238 checkUnnamed206(core.List<api.Privilege> o) { | 1238 checkUnnamed903(core.List<api.Privilege> o) { |
1239 unittest.expect(o, unittest.hasLength(2)); | 1239 unittest.expect(o, unittest.hasLength(2)); |
1240 checkPrivilege(o[0]); | 1240 checkPrivilege(o[0]); |
1241 checkPrivilege(o[1]); | 1241 checkPrivilege(o[1]); |
1242 } | 1242 } |
1243 | 1243 |
1244 core.int buildCounterPrivilege = 0; | 1244 core.int buildCounterPrivilege = 0; |
1245 buildPrivilege() { | 1245 buildPrivilege() { |
1246 var o = new api.Privilege(); | 1246 var o = new api.Privilege(); |
1247 buildCounterPrivilege++; | 1247 buildCounterPrivilege++; |
1248 if (buildCounterPrivilege < 3) { | 1248 if (buildCounterPrivilege < 3) { |
1249 o.childPrivileges = buildUnnamed206(); | 1249 o.childPrivileges = buildUnnamed903(); |
1250 o.etag = "foo"; | 1250 o.etag = "foo"; |
1251 o.isOuScopable = true; | 1251 o.isOuScopable = true; |
1252 o.kind = "foo"; | 1252 o.kind = "foo"; |
1253 o.privilegeName = "foo"; | 1253 o.privilegeName = "foo"; |
1254 o.serviceId = "foo"; | 1254 o.serviceId = "foo"; |
1255 o.serviceName = "foo"; | 1255 o.serviceName = "foo"; |
1256 } | 1256 } |
1257 buildCounterPrivilege--; | 1257 buildCounterPrivilege--; |
1258 return o; | 1258 return o; |
1259 } | 1259 } |
1260 | 1260 |
1261 checkPrivilege(api.Privilege o) { | 1261 checkPrivilege(api.Privilege o) { |
1262 buildCounterPrivilege++; | 1262 buildCounterPrivilege++; |
1263 if (buildCounterPrivilege < 3) { | 1263 if (buildCounterPrivilege < 3) { |
1264 checkUnnamed206(o.childPrivileges); | 1264 checkUnnamed903(o.childPrivileges); |
1265 unittest.expect(o.etag, unittest.equals('foo')); | 1265 unittest.expect(o.etag, unittest.equals('foo')); |
1266 unittest.expect(o.isOuScopable, unittest.isTrue); | 1266 unittest.expect(o.isOuScopable, unittest.isTrue); |
1267 unittest.expect(o.kind, unittest.equals('foo')); | 1267 unittest.expect(o.kind, unittest.equals('foo')); |
1268 unittest.expect(o.privilegeName, unittest.equals('foo')); | 1268 unittest.expect(o.privilegeName, unittest.equals('foo')); |
1269 unittest.expect(o.serviceId, unittest.equals('foo')); | 1269 unittest.expect(o.serviceId, unittest.equals('foo')); |
1270 unittest.expect(o.serviceName, unittest.equals('foo')); | 1270 unittest.expect(o.serviceName, unittest.equals('foo')); |
1271 } | 1271 } |
1272 buildCounterPrivilege--; | 1272 buildCounterPrivilege--; |
1273 } | 1273 } |
1274 | 1274 |
1275 buildUnnamed207() { | 1275 buildUnnamed904() { |
1276 var o = new core.List<api.Privilege>(); | 1276 var o = new core.List<api.Privilege>(); |
1277 o.add(buildPrivilege()); | 1277 o.add(buildPrivilege()); |
1278 o.add(buildPrivilege()); | 1278 o.add(buildPrivilege()); |
1279 return o; | 1279 return o; |
1280 } | 1280 } |
1281 | 1281 |
1282 checkUnnamed207(core.List<api.Privilege> o) { | 1282 checkUnnamed904(core.List<api.Privilege> o) { |
1283 unittest.expect(o, unittest.hasLength(2)); | 1283 unittest.expect(o, unittest.hasLength(2)); |
1284 checkPrivilege(o[0]); | 1284 checkPrivilege(o[0]); |
1285 checkPrivilege(o[1]); | 1285 checkPrivilege(o[1]); |
1286 } | 1286 } |
1287 | 1287 |
1288 core.int buildCounterPrivileges = 0; | 1288 core.int buildCounterPrivileges = 0; |
1289 buildPrivileges() { | 1289 buildPrivileges() { |
1290 var o = new api.Privileges(); | 1290 var o = new api.Privileges(); |
1291 buildCounterPrivileges++; | 1291 buildCounterPrivileges++; |
1292 if (buildCounterPrivileges < 3) { | 1292 if (buildCounterPrivileges < 3) { |
1293 o.etag = "foo"; | 1293 o.etag = "foo"; |
1294 o.items = buildUnnamed207(); | 1294 o.items = buildUnnamed904(); |
1295 o.kind = "foo"; | 1295 o.kind = "foo"; |
1296 } | 1296 } |
1297 buildCounterPrivileges--; | 1297 buildCounterPrivileges--; |
1298 return o; | 1298 return o; |
1299 } | 1299 } |
1300 | 1300 |
1301 checkPrivileges(api.Privileges o) { | 1301 checkPrivileges(api.Privileges o) { |
1302 buildCounterPrivileges++; | 1302 buildCounterPrivileges++; |
1303 if (buildCounterPrivileges < 3) { | 1303 if (buildCounterPrivileges < 3) { |
1304 unittest.expect(o.etag, unittest.equals('foo')); | 1304 unittest.expect(o.etag, unittest.equals('foo')); |
1305 checkUnnamed207(o.items); | 1305 checkUnnamed904(o.items); |
1306 unittest.expect(o.kind, unittest.equals('foo')); | 1306 unittest.expect(o.kind, unittest.equals('foo')); |
1307 } | 1307 } |
1308 buildCounterPrivileges--; | 1308 buildCounterPrivileges--; |
1309 } | 1309 } |
1310 | 1310 |
1311 core.int buildCounterRoleRolePrivileges = 0; | 1311 core.int buildCounterRoleRolePrivileges = 0; |
1312 buildRoleRolePrivileges() { | 1312 buildRoleRolePrivileges() { |
1313 var o = new api.RoleRolePrivileges(); | 1313 var o = new api.RoleRolePrivileges(); |
1314 buildCounterRoleRolePrivileges++; | 1314 buildCounterRoleRolePrivileges++; |
1315 if (buildCounterRoleRolePrivileges < 3) { | 1315 if (buildCounterRoleRolePrivileges < 3) { |
1316 o.privilegeName = "foo"; | 1316 o.privilegeName = "foo"; |
1317 o.serviceId = "foo"; | 1317 o.serviceId = "foo"; |
1318 } | 1318 } |
1319 buildCounterRoleRolePrivileges--; | 1319 buildCounterRoleRolePrivileges--; |
1320 return o; | 1320 return o; |
1321 } | 1321 } |
1322 | 1322 |
1323 checkRoleRolePrivileges(api.RoleRolePrivileges o) { | 1323 checkRoleRolePrivileges(api.RoleRolePrivileges o) { |
1324 buildCounterRoleRolePrivileges++; | 1324 buildCounterRoleRolePrivileges++; |
1325 if (buildCounterRoleRolePrivileges < 3) { | 1325 if (buildCounterRoleRolePrivileges < 3) { |
1326 unittest.expect(o.privilegeName, unittest.equals('foo')); | 1326 unittest.expect(o.privilegeName, unittest.equals('foo')); |
1327 unittest.expect(o.serviceId, unittest.equals('foo')); | 1327 unittest.expect(o.serviceId, unittest.equals('foo')); |
1328 } | 1328 } |
1329 buildCounterRoleRolePrivileges--; | 1329 buildCounterRoleRolePrivileges--; |
1330 } | 1330 } |
1331 | 1331 |
1332 buildUnnamed208() { | 1332 buildUnnamed905() { |
1333 var o = new core.List<api.RoleRolePrivileges>(); | 1333 var o = new core.List<api.RoleRolePrivileges>(); |
1334 o.add(buildRoleRolePrivileges()); | 1334 o.add(buildRoleRolePrivileges()); |
1335 o.add(buildRoleRolePrivileges()); | 1335 o.add(buildRoleRolePrivileges()); |
1336 return o; | 1336 return o; |
1337 } | 1337 } |
1338 | 1338 |
1339 checkUnnamed208(core.List<api.RoleRolePrivileges> o) { | 1339 checkUnnamed905(core.List<api.RoleRolePrivileges> o) { |
1340 unittest.expect(o, unittest.hasLength(2)); | 1340 unittest.expect(o, unittest.hasLength(2)); |
1341 checkRoleRolePrivileges(o[0]); | 1341 checkRoleRolePrivileges(o[0]); |
1342 checkRoleRolePrivileges(o[1]); | 1342 checkRoleRolePrivileges(o[1]); |
1343 } | 1343 } |
1344 | 1344 |
1345 core.int buildCounterRole = 0; | 1345 core.int buildCounterRole = 0; |
1346 buildRole() { | 1346 buildRole() { |
1347 var o = new api.Role(); | 1347 var o = new api.Role(); |
1348 buildCounterRole++; | 1348 buildCounterRole++; |
1349 if (buildCounterRole < 3) { | 1349 if (buildCounterRole < 3) { |
1350 o.etag = "foo"; | 1350 o.etag = "foo"; |
1351 o.isSuperAdminRole = true; | 1351 o.isSuperAdminRole = true; |
1352 o.isSystemRole = true; | 1352 o.isSystemRole = true; |
1353 o.kind = "foo"; | 1353 o.kind = "foo"; |
1354 o.roleDescription = "foo"; | 1354 o.roleDescription = "foo"; |
1355 o.roleId = "foo"; | 1355 o.roleId = "foo"; |
1356 o.roleName = "foo"; | 1356 o.roleName = "foo"; |
1357 o.rolePrivileges = buildUnnamed208(); | 1357 o.rolePrivileges = buildUnnamed905(); |
1358 } | 1358 } |
1359 buildCounterRole--; | 1359 buildCounterRole--; |
1360 return o; | 1360 return o; |
1361 } | 1361 } |
1362 | 1362 |
1363 checkRole(api.Role o) { | 1363 checkRole(api.Role o) { |
1364 buildCounterRole++; | 1364 buildCounterRole++; |
1365 if (buildCounterRole < 3) { | 1365 if (buildCounterRole < 3) { |
1366 unittest.expect(o.etag, unittest.equals('foo')); | 1366 unittest.expect(o.etag, unittest.equals('foo')); |
1367 unittest.expect(o.isSuperAdminRole, unittest.isTrue); | 1367 unittest.expect(o.isSuperAdminRole, unittest.isTrue); |
1368 unittest.expect(o.isSystemRole, unittest.isTrue); | 1368 unittest.expect(o.isSystemRole, unittest.isTrue); |
1369 unittest.expect(o.kind, unittest.equals('foo')); | 1369 unittest.expect(o.kind, unittest.equals('foo')); |
1370 unittest.expect(o.roleDescription, unittest.equals('foo')); | 1370 unittest.expect(o.roleDescription, unittest.equals('foo')); |
1371 unittest.expect(o.roleId, unittest.equals('foo')); | 1371 unittest.expect(o.roleId, unittest.equals('foo')); |
1372 unittest.expect(o.roleName, unittest.equals('foo')); | 1372 unittest.expect(o.roleName, unittest.equals('foo')); |
1373 checkUnnamed208(o.rolePrivileges); | 1373 checkUnnamed905(o.rolePrivileges); |
1374 } | 1374 } |
1375 buildCounterRole--; | 1375 buildCounterRole--; |
1376 } | 1376 } |
1377 | 1377 |
1378 core.int buildCounterRoleAssignment = 0; | 1378 core.int buildCounterRoleAssignment = 0; |
1379 buildRoleAssignment() { | 1379 buildRoleAssignment() { |
1380 var o = new api.RoleAssignment(); | 1380 var o = new api.RoleAssignment(); |
1381 buildCounterRoleAssignment++; | 1381 buildCounterRoleAssignment++; |
1382 if (buildCounterRoleAssignment < 3) { | 1382 if (buildCounterRoleAssignment < 3) { |
1383 o.assignedTo = "foo"; | 1383 o.assignedTo = "foo"; |
(...skipping 15 matching lines...) Expand all Loading... |
1399 unittest.expect(o.etag, unittest.equals('foo')); | 1399 unittest.expect(o.etag, unittest.equals('foo')); |
1400 unittest.expect(o.kind, unittest.equals('foo')); | 1400 unittest.expect(o.kind, unittest.equals('foo')); |
1401 unittest.expect(o.orgUnitId, unittest.equals('foo')); | 1401 unittest.expect(o.orgUnitId, unittest.equals('foo')); |
1402 unittest.expect(o.roleAssignmentId, unittest.equals('foo')); | 1402 unittest.expect(o.roleAssignmentId, unittest.equals('foo')); |
1403 unittest.expect(o.roleId, unittest.equals('foo')); | 1403 unittest.expect(o.roleId, unittest.equals('foo')); |
1404 unittest.expect(o.scopeType, unittest.equals('foo')); | 1404 unittest.expect(o.scopeType, unittest.equals('foo')); |
1405 } | 1405 } |
1406 buildCounterRoleAssignment--; | 1406 buildCounterRoleAssignment--; |
1407 } | 1407 } |
1408 | 1408 |
1409 buildUnnamed209() { | 1409 buildUnnamed906() { |
1410 var o = new core.List<api.RoleAssignment>(); | 1410 var o = new core.List<api.RoleAssignment>(); |
1411 o.add(buildRoleAssignment()); | 1411 o.add(buildRoleAssignment()); |
1412 o.add(buildRoleAssignment()); | 1412 o.add(buildRoleAssignment()); |
1413 return o; | 1413 return o; |
1414 } | 1414 } |
1415 | 1415 |
1416 checkUnnamed209(core.List<api.RoleAssignment> o) { | 1416 checkUnnamed906(core.List<api.RoleAssignment> o) { |
1417 unittest.expect(o, unittest.hasLength(2)); | 1417 unittest.expect(o, unittest.hasLength(2)); |
1418 checkRoleAssignment(o[0]); | 1418 checkRoleAssignment(o[0]); |
1419 checkRoleAssignment(o[1]); | 1419 checkRoleAssignment(o[1]); |
1420 } | 1420 } |
1421 | 1421 |
1422 core.int buildCounterRoleAssignments = 0; | 1422 core.int buildCounterRoleAssignments = 0; |
1423 buildRoleAssignments() { | 1423 buildRoleAssignments() { |
1424 var o = new api.RoleAssignments(); | 1424 var o = new api.RoleAssignments(); |
1425 buildCounterRoleAssignments++; | 1425 buildCounterRoleAssignments++; |
1426 if (buildCounterRoleAssignments < 3) { | 1426 if (buildCounterRoleAssignments < 3) { |
1427 o.etag = "foo"; | 1427 o.etag = "foo"; |
1428 o.items = buildUnnamed209(); | 1428 o.items = buildUnnamed906(); |
1429 o.kind = "foo"; | 1429 o.kind = "foo"; |
1430 o.nextPageToken = "foo"; | 1430 o.nextPageToken = "foo"; |
1431 } | 1431 } |
1432 buildCounterRoleAssignments--; | 1432 buildCounterRoleAssignments--; |
1433 return o; | 1433 return o; |
1434 } | 1434 } |
1435 | 1435 |
1436 checkRoleAssignments(api.RoleAssignments o) { | 1436 checkRoleAssignments(api.RoleAssignments o) { |
1437 buildCounterRoleAssignments++; | 1437 buildCounterRoleAssignments++; |
1438 if (buildCounterRoleAssignments < 3) { | 1438 if (buildCounterRoleAssignments < 3) { |
1439 unittest.expect(o.etag, unittest.equals('foo')); | 1439 unittest.expect(o.etag, unittest.equals('foo')); |
1440 checkUnnamed209(o.items); | 1440 checkUnnamed906(o.items); |
1441 unittest.expect(o.kind, unittest.equals('foo')); | 1441 unittest.expect(o.kind, unittest.equals('foo')); |
1442 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1442 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
1443 } | 1443 } |
1444 buildCounterRoleAssignments--; | 1444 buildCounterRoleAssignments--; |
1445 } | 1445 } |
1446 | 1446 |
1447 buildUnnamed210() { | 1447 buildUnnamed907() { |
1448 var o = new core.List<api.Role>(); | 1448 var o = new core.List<api.Role>(); |
1449 o.add(buildRole()); | 1449 o.add(buildRole()); |
1450 o.add(buildRole()); | 1450 o.add(buildRole()); |
1451 return o; | 1451 return o; |
1452 } | 1452 } |
1453 | 1453 |
1454 checkUnnamed210(core.List<api.Role> o) { | 1454 checkUnnamed907(core.List<api.Role> o) { |
1455 unittest.expect(o, unittest.hasLength(2)); | 1455 unittest.expect(o, unittest.hasLength(2)); |
1456 checkRole(o[0]); | 1456 checkRole(o[0]); |
1457 checkRole(o[1]); | 1457 checkRole(o[1]); |
1458 } | 1458 } |
1459 | 1459 |
1460 core.int buildCounterRoles = 0; | 1460 core.int buildCounterRoles = 0; |
1461 buildRoles() { | 1461 buildRoles() { |
1462 var o = new api.Roles(); | 1462 var o = new api.Roles(); |
1463 buildCounterRoles++; | 1463 buildCounterRoles++; |
1464 if (buildCounterRoles < 3) { | 1464 if (buildCounterRoles < 3) { |
1465 o.etag = "foo"; | 1465 o.etag = "foo"; |
1466 o.items = buildUnnamed210(); | 1466 o.items = buildUnnamed907(); |
1467 o.kind = "foo"; | 1467 o.kind = "foo"; |
1468 o.nextPageToken = "foo"; | 1468 o.nextPageToken = "foo"; |
1469 } | 1469 } |
1470 buildCounterRoles--; | 1470 buildCounterRoles--; |
1471 return o; | 1471 return o; |
1472 } | 1472 } |
1473 | 1473 |
1474 checkRoles(api.Roles o) { | 1474 checkRoles(api.Roles o) { |
1475 buildCounterRoles++; | 1475 buildCounterRoles++; |
1476 if (buildCounterRoles < 3) { | 1476 if (buildCounterRoles < 3) { |
1477 unittest.expect(o.etag, unittest.equals('foo')); | 1477 unittest.expect(o.etag, unittest.equals('foo')); |
1478 checkUnnamed210(o.items); | 1478 checkUnnamed907(o.items); |
1479 unittest.expect(o.kind, unittest.equals('foo')); | 1479 unittest.expect(o.kind, unittest.equals('foo')); |
1480 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1480 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
1481 } | 1481 } |
1482 buildCounterRoles--; | 1482 buildCounterRoles--; |
1483 } | 1483 } |
1484 | 1484 |
1485 buildUnnamed211() { | 1485 buildUnnamed908() { |
1486 var o = new core.List<api.SchemaFieldSpec>(); | 1486 var o = new core.List<api.SchemaFieldSpec>(); |
1487 o.add(buildSchemaFieldSpec()); | 1487 o.add(buildSchemaFieldSpec()); |
1488 o.add(buildSchemaFieldSpec()); | 1488 o.add(buildSchemaFieldSpec()); |
1489 return o; | 1489 return o; |
1490 } | 1490 } |
1491 | 1491 |
1492 checkUnnamed211(core.List<api.SchemaFieldSpec> o) { | 1492 checkUnnamed908(core.List<api.SchemaFieldSpec> o) { |
1493 unittest.expect(o, unittest.hasLength(2)); | 1493 unittest.expect(o, unittest.hasLength(2)); |
1494 checkSchemaFieldSpec(o[0]); | 1494 checkSchemaFieldSpec(o[0]); |
1495 checkSchemaFieldSpec(o[1]); | 1495 checkSchemaFieldSpec(o[1]); |
1496 } | 1496 } |
1497 | 1497 |
1498 core.int buildCounterSchema = 0; | 1498 core.int buildCounterSchema = 0; |
1499 buildSchema() { | 1499 buildSchema() { |
1500 var o = new api.Schema(); | 1500 var o = new api.Schema(); |
1501 buildCounterSchema++; | 1501 buildCounterSchema++; |
1502 if (buildCounterSchema < 3) { | 1502 if (buildCounterSchema < 3) { |
1503 o.etag = "foo"; | 1503 o.etag = "foo"; |
1504 o.fields = buildUnnamed211(); | 1504 o.fields = buildUnnamed908(); |
1505 o.kind = "foo"; | 1505 o.kind = "foo"; |
1506 o.schemaId = "foo"; | 1506 o.schemaId = "foo"; |
1507 o.schemaName = "foo"; | 1507 o.schemaName = "foo"; |
1508 } | 1508 } |
1509 buildCounterSchema--; | 1509 buildCounterSchema--; |
1510 return o; | 1510 return o; |
1511 } | 1511 } |
1512 | 1512 |
1513 checkSchema(api.Schema o) { | 1513 checkSchema(api.Schema o) { |
1514 buildCounterSchema++; | 1514 buildCounterSchema++; |
1515 if (buildCounterSchema < 3) { | 1515 if (buildCounterSchema < 3) { |
1516 unittest.expect(o.etag, unittest.equals('foo')); | 1516 unittest.expect(o.etag, unittest.equals('foo')); |
1517 checkUnnamed211(o.fields); | 1517 checkUnnamed908(o.fields); |
1518 unittest.expect(o.kind, unittest.equals('foo')); | 1518 unittest.expect(o.kind, unittest.equals('foo')); |
1519 unittest.expect(o.schemaId, unittest.equals('foo')); | 1519 unittest.expect(o.schemaId, unittest.equals('foo')); |
1520 unittest.expect(o.schemaName, unittest.equals('foo')); | 1520 unittest.expect(o.schemaName, unittest.equals('foo')); |
1521 } | 1521 } |
1522 buildCounterSchema--; | 1522 buildCounterSchema--; |
1523 } | 1523 } |
1524 | 1524 |
1525 core.int buildCounterSchemaFieldSpecNumericIndexingSpec = 0; | 1525 core.int buildCounterSchemaFieldSpecNumericIndexingSpec = 0; |
1526 buildSchemaFieldSpecNumericIndexingSpec() { | 1526 buildSchemaFieldSpecNumericIndexingSpec() { |
1527 var o = new api.SchemaFieldSpecNumericIndexingSpec(); | 1527 var o = new api.SchemaFieldSpecNumericIndexingSpec(); |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1571 unittest.expect(o.fieldType, unittest.equals('foo')); | 1571 unittest.expect(o.fieldType, unittest.equals('foo')); |
1572 unittest.expect(o.indexed, unittest.isTrue); | 1572 unittest.expect(o.indexed, unittest.isTrue); |
1573 unittest.expect(o.kind, unittest.equals('foo')); | 1573 unittest.expect(o.kind, unittest.equals('foo')); |
1574 unittest.expect(o.multiValued, unittest.isTrue); | 1574 unittest.expect(o.multiValued, unittest.isTrue); |
1575 checkSchemaFieldSpecNumericIndexingSpec(o.numericIndexingSpec); | 1575 checkSchemaFieldSpecNumericIndexingSpec(o.numericIndexingSpec); |
1576 unittest.expect(o.readAccessType, unittest.equals('foo')); | 1576 unittest.expect(o.readAccessType, unittest.equals('foo')); |
1577 } | 1577 } |
1578 buildCounterSchemaFieldSpec--; | 1578 buildCounterSchemaFieldSpec--; |
1579 } | 1579 } |
1580 | 1580 |
1581 buildUnnamed212() { | 1581 buildUnnamed909() { |
1582 var o = new core.List<api.Schema>(); | 1582 var o = new core.List<api.Schema>(); |
1583 o.add(buildSchema()); | 1583 o.add(buildSchema()); |
1584 o.add(buildSchema()); | 1584 o.add(buildSchema()); |
1585 return o; | 1585 return o; |
1586 } | 1586 } |
1587 | 1587 |
1588 checkUnnamed212(core.List<api.Schema> o) { | 1588 checkUnnamed909(core.List<api.Schema> o) { |
1589 unittest.expect(o, unittest.hasLength(2)); | 1589 unittest.expect(o, unittest.hasLength(2)); |
1590 checkSchema(o[0]); | 1590 checkSchema(o[0]); |
1591 checkSchema(o[1]); | 1591 checkSchema(o[1]); |
1592 } | 1592 } |
1593 | 1593 |
1594 core.int buildCounterSchemas = 0; | 1594 core.int buildCounterSchemas = 0; |
1595 buildSchemas() { | 1595 buildSchemas() { |
1596 var o = new api.Schemas(); | 1596 var o = new api.Schemas(); |
1597 buildCounterSchemas++; | 1597 buildCounterSchemas++; |
1598 if (buildCounterSchemas < 3) { | 1598 if (buildCounterSchemas < 3) { |
1599 o.etag = "foo"; | 1599 o.etag = "foo"; |
1600 o.kind = "foo"; | 1600 o.kind = "foo"; |
1601 o.schemas = buildUnnamed212(); | 1601 o.schemas = buildUnnamed909(); |
1602 } | 1602 } |
1603 buildCounterSchemas--; | 1603 buildCounterSchemas--; |
1604 return o; | 1604 return o; |
1605 } | 1605 } |
1606 | 1606 |
1607 checkSchemas(api.Schemas o) { | 1607 checkSchemas(api.Schemas o) { |
1608 buildCounterSchemas++; | 1608 buildCounterSchemas++; |
1609 if (buildCounterSchemas < 3) { | 1609 if (buildCounterSchemas < 3) { |
1610 unittest.expect(o.etag, unittest.equals('foo')); | 1610 unittest.expect(o.etag, unittest.equals('foo')); |
1611 unittest.expect(o.kind, unittest.equals('foo')); | 1611 unittest.expect(o.kind, unittest.equals('foo')); |
1612 checkUnnamed212(o.schemas); | 1612 checkUnnamed909(o.schemas); |
1613 } | 1613 } |
1614 buildCounterSchemas--; | 1614 buildCounterSchemas--; |
1615 } | 1615 } |
1616 | 1616 |
1617 buildUnnamed213() { | 1617 buildUnnamed910() { |
1618 var o = new core.List<core.String>(); | 1618 var o = new core.List<core.String>(); |
1619 o.add("foo"); | 1619 o.add("foo"); |
1620 o.add("foo"); | 1620 o.add("foo"); |
1621 return o; | 1621 return o; |
1622 } | 1622 } |
1623 | 1623 |
1624 checkUnnamed213(core.List<core.String> o) { | 1624 checkUnnamed910(core.List<core.String> o) { |
1625 unittest.expect(o, unittest.hasLength(2)); | 1625 unittest.expect(o, unittest.hasLength(2)); |
1626 unittest.expect(o[0], unittest.equals('foo')); | 1626 unittest.expect(o[0], unittest.equals('foo')); |
1627 unittest.expect(o[1], unittest.equals('foo')); | 1627 unittest.expect(o[1], unittest.equals('foo')); |
1628 } | 1628 } |
1629 | 1629 |
1630 core.int buildCounterToken = 0; | 1630 core.int buildCounterToken = 0; |
1631 buildToken() { | 1631 buildToken() { |
1632 var o = new api.Token(); | 1632 var o = new api.Token(); |
1633 buildCounterToken++; | 1633 buildCounterToken++; |
1634 if (buildCounterToken < 3) { | 1634 if (buildCounterToken < 3) { |
1635 o.anonymous = true; | 1635 o.anonymous = true; |
1636 o.clientId = "foo"; | 1636 o.clientId = "foo"; |
1637 o.displayText = "foo"; | 1637 o.displayText = "foo"; |
1638 o.etag = "foo"; | 1638 o.etag = "foo"; |
1639 o.kind = "foo"; | 1639 o.kind = "foo"; |
1640 o.nativeApp = true; | 1640 o.nativeApp = true; |
1641 o.scopes = buildUnnamed213(); | 1641 o.scopes = buildUnnamed910(); |
1642 o.userKey = "foo"; | 1642 o.userKey = "foo"; |
1643 } | 1643 } |
1644 buildCounterToken--; | 1644 buildCounterToken--; |
1645 return o; | 1645 return o; |
1646 } | 1646 } |
1647 | 1647 |
1648 checkToken(api.Token o) { | 1648 checkToken(api.Token o) { |
1649 buildCounterToken++; | 1649 buildCounterToken++; |
1650 if (buildCounterToken < 3) { | 1650 if (buildCounterToken < 3) { |
1651 unittest.expect(o.anonymous, unittest.isTrue); | 1651 unittest.expect(o.anonymous, unittest.isTrue); |
1652 unittest.expect(o.clientId, unittest.equals('foo')); | 1652 unittest.expect(o.clientId, unittest.equals('foo')); |
1653 unittest.expect(o.displayText, unittest.equals('foo')); | 1653 unittest.expect(o.displayText, unittest.equals('foo')); |
1654 unittest.expect(o.etag, unittest.equals('foo')); | 1654 unittest.expect(o.etag, unittest.equals('foo')); |
1655 unittest.expect(o.kind, unittest.equals('foo')); | 1655 unittest.expect(o.kind, unittest.equals('foo')); |
1656 unittest.expect(o.nativeApp, unittest.isTrue); | 1656 unittest.expect(o.nativeApp, unittest.isTrue); |
1657 checkUnnamed213(o.scopes); | 1657 checkUnnamed910(o.scopes); |
1658 unittest.expect(o.userKey, unittest.equals('foo')); | 1658 unittest.expect(o.userKey, unittest.equals('foo')); |
1659 } | 1659 } |
1660 buildCounterToken--; | 1660 buildCounterToken--; |
1661 } | 1661 } |
1662 | 1662 |
1663 buildUnnamed214() { | 1663 buildUnnamed911() { |
1664 var o = new core.List<api.Token>(); | 1664 var o = new core.List<api.Token>(); |
1665 o.add(buildToken()); | 1665 o.add(buildToken()); |
1666 o.add(buildToken()); | 1666 o.add(buildToken()); |
1667 return o; | 1667 return o; |
1668 } | 1668 } |
1669 | 1669 |
1670 checkUnnamed214(core.List<api.Token> o) { | 1670 checkUnnamed911(core.List<api.Token> o) { |
1671 unittest.expect(o, unittest.hasLength(2)); | 1671 unittest.expect(o, unittest.hasLength(2)); |
1672 checkToken(o[0]); | 1672 checkToken(o[0]); |
1673 checkToken(o[1]); | 1673 checkToken(o[1]); |
1674 } | 1674 } |
1675 | 1675 |
1676 core.int buildCounterTokens = 0; | 1676 core.int buildCounterTokens = 0; |
1677 buildTokens() { | 1677 buildTokens() { |
1678 var o = new api.Tokens(); | 1678 var o = new api.Tokens(); |
1679 buildCounterTokens++; | 1679 buildCounterTokens++; |
1680 if (buildCounterTokens < 3) { | 1680 if (buildCounterTokens < 3) { |
1681 o.etag = "foo"; | 1681 o.etag = "foo"; |
1682 o.items = buildUnnamed214(); | 1682 o.items = buildUnnamed911(); |
1683 o.kind = "foo"; | 1683 o.kind = "foo"; |
1684 } | 1684 } |
1685 buildCounterTokens--; | 1685 buildCounterTokens--; |
1686 return o; | 1686 return o; |
1687 } | 1687 } |
1688 | 1688 |
1689 checkTokens(api.Tokens o) { | 1689 checkTokens(api.Tokens o) { |
1690 buildCounterTokens++; | 1690 buildCounterTokens++; |
1691 if (buildCounterTokens < 3) { | 1691 if (buildCounterTokens < 3) { |
1692 unittest.expect(o.etag, unittest.equals('foo')); | 1692 unittest.expect(o.etag, unittest.equals('foo')); |
1693 checkUnnamed214(o.items); | 1693 checkUnnamed911(o.items); |
1694 unittest.expect(o.kind, unittest.equals('foo')); | 1694 unittest.expect(o.kind, unittest.equals('foo')); |
1695 } | 1695 } |
1696 buildCounterTokens--; | 1696 buildCounterTokens--; |
1697 } | 1697 } |
1698 | 1698 |
1699 buildUnnamed215() { | 1699 buildUnnamed912() { |
1700 var o = new core.List<core.String>(); | 1700 var o = new core.List<core.String>(); |
1701 o.add("foo"); | 1701 o.add("foo"); |
1702 o.add("foo"); | 1702 o.add("foo"); |
1703 return o; | 1703 return o; |
1704 } | 1704 } |
1705 | 1705 |
1706 checkUnnamed215(core.List<core.String> o) { | 1706 checkUnnamed912(core.List<core.String> o) { |
1707 unittest.expect(o, unittest.hasLength(2)); | 1707 unittest.expect(o, unittest.hasLength(2)); |
1708 unittest.expect(o[0], unittest.equals('foo')); | 1708 unittest.expect(o[0], unittest.equals('foo')); |
1709 unittest.expect(o[1], unittest.equals('foo')); | 1709 unittest.expect(o[1], unittest.equals('foo')); |
1710 } | 1710 } |
1711 | 1711 |
1712 buildUnnamed216() { | 1712 buildUnnamed913() { |
1713 var o = new core.Map<core.String, api.UserCustomProperties>(); | 1713 var o = new core.Map<core.String, api.UserCustomProperties>(); |
1714 o["x"] = buildUserCustomProperties(); | 1714 o["x"] = buildUserCustomProperties(); |
1715 o["y"] = buildUserCustomProperties(); | 1715 o["y"] = buildUserCustomProperties(); |
1716 return o; | 1716 return o; |
1717 } | 1717 } |
1718 | 1718 |
1719 checkUnnamed216(core.Map<core.String, api.UserCustomProperties> o) { | 1719 checkUnnamed913(core.Map<core.String, api.UserCustomProperties> o) { |
1720 unittest.expect(o, unittest.hasLength(2)); | 1720 unittest.expect(o, unittest.hasLength(2)); |
1721 checkUserCustomProperties(o["x"]); | 1721 checkUserCustomProperties(o["x"]); |
1722 checkUserCustomProperties(o["y"]); | 1722 checkUserCustomProperties(o["y"]); |
1723 } | 1723 } |
1724 | 1724 |
1725 buildUnnamed217() { | 1725 buildUnnamed914() { |
1726 var o = new core.List<core.String>(); | 1726 var o = new core.List<core.String>(); |
1727 o.add("foo"); | 1727 o.add("foo"); |
1728 o.add("foo"); | 1728 o.add("foo"); |
1729 return o; | 1729 return o; |
1730 } | 1730 } |
1731 | 1731 |
1732 checkUnnamed217(core.List<core.String> o) { | 1732 checkUnnamed914(core.List<core.String> o) { |
1733 unittest.expect(o, unittest.hasLength(2)); | 1733 unittest.expect(o, unittest.hasLength(2)); |
1734 unittest.expect(o[0], unittest.equals('foo')); | 1734 unittest.expect(o[0], unittest.equals('foo')); |
1735 unittest.expect(o[1], unittest.equals('foo')); | 1735 unittest.expect(o[1], unittest.equals('foo')); |
1736 } | 1736 } |
1737 | 1737 |
1738 core.int buildCounterUser = 0; | 1738 core.int buildCounterUser = 0; |
1739 buildUser() { | 1739 buildUser() { |
1740 var o = new api.User(); | 1740 var o = new api.User(); |
1741 buildCounterUser++; | 1741 buildCounterUser++; |
1742 if (buildCounterUser < 3) { | 1742 if (buildCounterUser < 3) { |
1743 o.addresses = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1743 o.addresses = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
1744 o.agreedToTerms = true; | 1744 o.agreedToTerms = true; |
1745 o.aliases = buildUnnamed215(); | 1745 o.aliases = buildUnnamed912(); |
1746 o.changePasswordAtNextLogin = true; | 1746 o.changePasswordAtNextLogin = true; |
1747 o.creationTime = core.DateTime.parse("2002-02-27T14:01:02"); | 1747 o.creationTime = core.DateTime.parse("2002-02-27T14:01:02"); |
1748 o.customSchemas = buildUnnamed216(); | 1748 o.customSchemas = buildUnnamed913(); |
1749 o.customerId = "foo"; | 1749 o.customerId = "foo"; |
1750 o.deletionTime = core.DateTime.parse("2002-02-27T14:01:02"); | 1750 o.deletionTime = core.DateTime.parse("2002-02-27T14:01:02"); |
1751 o.emails = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1751 o.emails = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
1752 o.etag = "foo"; | 1752 o.etag = "foo"; |
1753 o.externalIds = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1753 o.externalIds = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
1754 o.hashFunction = "foo"; | 1754 o.hashFunction = "foo"; |
1755 o.id = "foo"; | 1755 o.id = "foo"; |
1756 o.ims = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1756 o.ims = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
1757 o.includeInGlobalAddressList = true; | 1757 o.includeInGlobalAddressList = true; |
1758 o.ipWhitelisted = true; | 1758 o.ipWhitelisted = true; |
1759 o.isAdmin = true; | 1759 o.isAdmin = true; |
1760 o.isDelegatedAdmin = true; | 1760 o.isDelegatedAdmin = true; |
1761 o.isMailboxSetup = true; | 1761 o.isMailboxSetup = true; |
1762 o.kind = "foo"; | 1762 o.kind = "foo"; |
1763 o.lastLoginTime = core.DateTime.parse("2002-02-27T14:01:02"); | 1763 o.lastLoginTime = core.DateTime.parse("2002-02-27T14:01:02"); |
1764 o.name = buildUserName(); | 1764 o.name = buildUserName(); |
1765 o.nonEditableAliases = buildUnnamed217(); | 1765 o.nonEditableAliases = buildUnnamed914(); |
1766 o.notes = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1766 o.notes = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
1767 o.orgUnitPath = "foo"; | 1767 o.orgUnitPath = "foo"; |
1768 o.organizations = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1768 o.organizations = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
1769 o.password = "foo"; | 1769 o.password = "foo"; |
1770 o.phones = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1770 o.phones = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
1771 o.primaryEmail = "foo"; | 1771 o.primaryEmail = "foo"; |
1772 o.relations = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1772 o.relations = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
1773 o.suspended = true; | 1773 o.suspended = true; |
1774 o.suspensionReason = "foo"; | 1774 o.suspensionReason = "foo"; |
1775 o.thumbnailPhotoEtag = "foo"; | 1775 o.thumbnailPhotoEtag = "foo"; |
1776 o.thumbnailPhotoUrl = "foo"; | 1776 o.thumbnailPhotoUrl = "foo"; |
1777 o.websites = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1777 o.websites = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
1778 } | 1778 } |
1779 buildCounterUser--; | 1779 buildCounterUser--; |
1780 return o; | 1780 return o; |
1781 } | 1781 } |
1782 | 1782 |
1783 checkUser(api.User o) { | 1783 checkUser(api.User o) { |
1784 buildCounterUser++; | 1784 buildCounterUser++; |
1785 if (buildCounterUser < 3) { | 1785 if (buildCounterUser < 3) { |
1786 var casted3 = (o.addresses) as core.Map; unittest.expect(casted3, unittest.h
asLength(3)); unittest.expect(casted3["list"], unittest.equals([1, 2, 3])); unit
test.expect(casted3["bool"], unittest.equals(true)); unittest.expect(casted3["st
ring"], unittest.equals('foo')); | 1786 var casted3 = (o.addresses) as core.Map; unittest.expect(casted3, unittest.h
asLength(3)); unittest.expect(casted3["list"], unittest.equals([1, 2, 3])); unit
test.expect(casted3["bool"], unittest.equals(true)); unittest.expect(casted3["st
ring"], unittest.equals('foo')); |
1787 unittest.expect(o.agreedToTerms, unittest.isTrue); | 1787 unittest.expect(o.agreedToTerms, unittest.isTrue); |
1788 checkUnnamed215(o.aliases); | 1788 checkUnnamed912(o.aliases); |
1789 unittest.expect(o.changePasswordAtNextLogin, unittest.isTrue); | 1789 unittest.expect(o.changePasswordAtNextLogin, unittest.isTrue); |
1790 unittest.expect(o.creationTime, unittest.equals(core.DateTime.parse("2002-02
-27T14:01:02"))); | 1790 unittest.expect(o.creationTime, unittest.equals(core.DateTime.parse("2002-02
-27T14:01:02"))); |
1791 checkUnnamed216(o.customSchemas); | 1791 checkUnnamed913(o.customSchemas); |
1792 unittest.expect(o.customerId, unittest.equals('foo')); | 1792 unittest.expect(o.customerId, unittest.equals('foo')); |
1793 unittest.expect(o.deletionTime, unittest.equals(core.DateTime.parse("2002-02
-27T14:01:02"))); | 1793 unittest.expect(o.deletionTime, unittest.equals(core.DateTime.parse("2002-02
-27T14:01:02"))); |
1794 var casted4 = (o.emails) as core.Map; unittest.expect(casted4, unittest.hasL
ength(3)); unittest.expect(casted4["list"], unittest.equals([1, 2, 3])); unittes
t.expect(casted4["bool"], unittest.equals(true)); unittest.expect(casted4["strin
g"], unittest.equals('foo')); | 1794 var casted4 = (o.emails) as core.Map; unittest.expect(casted4, unittest.hasL
ength(3)); unittest.expect(casted4["list"], unittest.equals([1, 2, 3])); unittes
t.expect(casted4["bool"], unittest.equals(true)); unittest.expect(casted4["strin
g"], unittest.equals('foo')); |
1795 unittest.expect(o.etag, unittest.equals('foo')); | 1795 unittest.expect(o.etag, unittest.equals('foo')); |
1796 var casted5 = (o.externalIds) as core.Map; unittest.expect(casted5, unittest
.hasLength(3)); unittest.expect(casted5["list"], unittest.equals([1, 2, 3])); un
ittest.expect(casted5["bool"], unittest.equals(true)); unittest.expect(casted5["
string"], unittest.equals('foo')); | 1796 var casted5 = (o.externalIds) as core.Map; unittest.expect(casted5, unittest
.hasLength(3)); unittest.expect(casted5["list"], unittest.equals([1, 2, 3])); un
ittest.expect(casted5["bool"], unittest.equals(true)); unittest.expect(casted5["
string"], unittest.equals('foo')); |
1797 unittest.expect(o.hashFunction, unittest.equals('foo')); | 1797 unittest.expect(o.hashFunction, unittest.equals('foo')); |
1798 unittest.expect(o.id, unittest.equals('foo')); | 1798 unittest.expect(o.id, unittest.equals('foo')); |
1799 var casted6 = (o.ims) as core.Map; unittest.expect(casted6, unittest.hasLeng
th(3)); unittest.expect(casted6["list"], unittest.equals([1, 2, 3])); unittest.e
xpect(casted6["bool"], unittest.equals(true)); unittest.expect(casted6["string"]
, unittest.equals('foo')); | 1799 var casted6 = (o.ims) as core.Map; unittest.expect(casted6, unittest.hasLeng
th(3)); unittest.expect(casted6["list"], unittest.equals([1, 2, 3])); unittest.e
xpect(casted6["bool"], unittest.equals(true)); unittest.expect(casted6["string"]
, unittest.equals('foo')); |
1800 unittest.expect(o.includeInGlobalAddressList, unittest.isTrue); | 1800 unittest.expect(o.includeInGlobalAddressList, unittest.isTrue); |
1801 unittest.expect(o.ipWhitelisted, unittest.isTrue); | 1801 unittest.expect(o.ipWhitelisted, unittest.isTrue); |
1802 unittest.expect(o.isAdmin, unittest.isTrue); | 1802 unittest.expect(o.isAdmin, unittest.isTrue); |
1803 unittest.expect(o.isDelegatedAdmin, unittest.isTrue); | 1803 unittest.expect(o.isDelegatedAdmin, unittest.isTrue); |
1804 unittest.expect(o.isMailboxSetup, unittest.isTrue); | 1804 unittest.expect(o.isMailboxSetup, unittest.isTrue); |
1805 unittest.expect(o.kind, unittest.equals('foo')); | 1805 unittest.expect(o.kind, unittest.equals('foo')); |
1806 unittest.expect(o.lastLoginTime, unittest.equals(core.DateTime.parse("2002-0
2-27T14:01:02"))); | 1806 unittest.expect(o.lastLoginTime, unittest.equals(core.DateTime.parse("2002-0
2-27T14:01:02"))); |
1807 checkUserName(o.name); | 1807 checkUserName(o.name); |
1808 checkUnnamed217(o.nonEditableAliases); | 1808 checkUnnamed914(o.nonEditableAliases); |
1809 var casted7 = (o.notes) as core.Map; unittest.expect(casted7, unittest.hasLe
ngth(3)); unittest.expect(casted7["list"], unittest.equals([1, 2, 3])); unittest
.expect(casted7["bool"], unittest.equals(true)); unittest.expect(casted7["string
"], unittest.equals('foo')); | 1809 var casted7 = (o.notes) as core.Map; unittest.expect(casted7, unittest.hasLe
ngth(3)); unittest.expect(casted7["list"], unittest.equals([1, 2, 3])); unittest
.expect(casted7["bool"], unittest.equals(true)); unittest.expect(casted7["string
"], unittest.equals('foo')); |
1810 unittest.expect(o.orgUnitPath, unittest.equals('foo')); | 1810 unittest.expect(o.orgUnitPath, unittest.equals('foo')); |
1811 var casted8 = (o.organizations) as core.Map; unittest.expect(casted8, unitte
st.hasLength(3)); unittest.expect(casted8["list"], unittest.equals([1, 2, 3]));
unittest.expect(casted8["bool"], unittest.equals(true)); unittest.expect(casted8
["string"], unittest.equals('foo')); | 1811 var casted8 = (o.organizations) as core.Map; unittest.expect(casted8, unitte
st.hasLength(3)); unittest.expect(casted8["list"], unittest.equals([1, 2, 3]));
unittest.expect(casted8["bool"], unittest.equals(true)); unittest.expect(casted8
["string"], unittest.equals('foo')); |
1812 unittest.expect(o.password, unittest.equals('foo')); | 1812 unittest.expect(o.password, unittest.equals('foo')); |
1813 var casted9 = (o.phones) as core.Map; unittest.expect(casted9, unittest.hasL
ength(3)); unittest.expect(casted9["list"], unittest.equals([1, 2, 3])); unittes
t.expect(casted9["bool"], unittest.equals(true)); unittest.expect(casted9["strin
g"], unittest.equals('foo')); | 1813 var casted9 = (o.phones) as core.Map; unittest.expect(casted9, unittest.hasL
ength(3)); unittest.expect(casted9["list"], unittest.equals([1, 2, 3])); unittes
t.expect(casted9["bool"], unittest.equals(true)); unittest.expect(casted9["strin
g"], unittest.equals('foo')); |
1814 unittest.expect(o.primaryEmail, unittest.equals('foo')); | 1814 unittest.expect(o.primaryEmail, unittest.equals('foo')); |
1815 var casted10 = (o.relations) as core.Map; unittest.expect(casted10, unittest
.hasLength(3)); unittest.expect(casted10["list"], unittest.equals([1, 2, 3])); u
nittest.expect(casted10["bool"], unittest.equals(true)); unittest.expect(casted1
0["string"], unittest.equals('foo')); | 1815 var casted10 = (o.relations) as core.Map; unittest.expect(casted10, unittest
.hasLength(3)); unittest.expect(casted10["list"], unittest.equals([1, 2, 3])); u
nittest.expect(casted10["bool"], unittest.equals(true)); unittest.expect(casted1
0["string"], unittest.equals('foo')); |
1816 unittest.expect(o.suspended, unittest.isTrue); | 1816 unittest.expect(o.suspended, unittest.isTrue); |
1817 unittest.expect(o.suspensionReason, unittest.equals('foo')); | 1817 unittest.expect(o.suspensionReason, unittest.equals('foo')); |
1818 unittest.expect(o.thumbnailPhotoEtag, unittest.equals('foo')); | 1818 unittest.expect(o.thumbnailPhotoEtag, unittest.equals('foo')); |
(...skipping 356 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2175 buildCounterUserWebsite++; | 2175 buildCounterUserWebsite++; |
2176 if (buildCounterUserWebsite < 3) { | 2176 if (buildCounterUserWebsite < 3) { |
2177 unittest.expect(o.customType, unittest.equals('foo')); | 2177 unittest.expect(o.customType, unittest.equals('foo')); |
2178 unittest.expect(o.primary, unittest.isTrue); | 2178 unittest.expect(o.primary, unittest.isTrue); |
2179 unittest.expect(o.type, unittest.equals('foo')); | 2179 unittest.expect(o.type, unittest.equals('foo')); |
2180 unittest.expect(o.value, unittest.equals('foo')); | 2180 unittest.expect(o.value, unittest.equals('foo')); |
2181 } | 2181 } |
2182 buildCounterUserWebsite--; | 2182 buildCounterUserWebsite--; |
2183 } | 2183 } |
2184 | 2184 |
2185 buildUnnamed218() { | 2185 buildUnnamed915() { |
2186 var o = new core.List<api.User>(); | 2186 var o = new core.List<api.User>(); |
2187 o.add(buildUser()); | 2187 o.add(buildUser()); |
2188 o.add(buildUser()); | 2188 o.add(buildUser()); |
2189 return o; | 2189 return o; |
2190 } | 2190 } |
2191 | 2191 |
2192 checkUnnamed218(core.List<api.User> o) { | 2192 checkUnnamed915(core.List<api.User> o) { |
2193 unittest.expect(o, unittest.hasLength(2)); | 2193 unittest.expect(o, unittest.hasLength(2)); |
2194 checkUser(o[0]); | 2194 checkUser(o[0]); |
2195 checkUser(o[1]); | 2195 checkUser(o[1]); |
2196 } | 2196 } |
2197 | 2197 |
2198 core.int buildCounterUsers = 0; | 2198 core.int buildCounterUsers = 0; |
2199 buildUsers() { | 2199 buildUsers() { |
2200 var o = new api.Users(); | 2200 var o = new api.Users(); |
2201 buildCounterUsers++; | 2201 buildCounterUsers++; |
2202 if (buildCounterUsers < 3) { | 2202 if (buildCounterUsers < 3) { |
2203 o.etag = "foo"; | 2203 o.etag = "foo"; |
2204 o.kind = "foo"; | 2204 o.kind = "foo"; |
2205 o.nextPageToken = "foo"; | 2205 o.nextPageToken = "foo"; |
2206 o.triggerEvent = "foo"; | 2206 o.triggerEvent = "foo"; |
2207 o.users = buildUnnamed218(); | 2207 o.users = buildUnnamed915(); |
2208 } | 2208 } |
2209 buildCounterUsers--; | 2209 buildCounterUsers--; |
2210 return o; | 2210 return o; |
2211 } | 2211 } |
2212 | 2212 |
2213 checkUsers(api.Users o) { | 2213 checkUsers(api.Users o) { |
2214 buildCounterUsers++; | 2214 buildCounterUsers++; |
2215 if (buildCounterUsers < 3) { | 2215 if (buildCounterUsers < 3) { |
2216 unittest.expect(o.etag, unittest.equals('foo')); | 2216 unittest.expect(o.etag, unittest.equals('foo')); |
2217 unittest.expect(o.kind, unittest.equals('foo')); | 2217 unittest.expect(o.kind, unittest.equals('foo')); |
2218 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 2218 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
2219 unittest.expect(o.triggerEvent, unittest.equals('foo')); | 2219 unittest.expect(o.triggerEvent, unittest.equals('foo')); |
2220 checkUnnamed218(o.users); | 2220 checkUnnamed915(o.users); |
2221 } | 2221 } |
2222 buildCounterUsers--; | 2222 buildCounterUsers--; |
2223 } | 2223 } |
2224 | 2224 |
2225 core.int buildCounterVerificationCode = 0; | 2225 core.int buildCounterVerificationCode = 0; |
2226 buildVerificationCode() { | 2226 buildVerificationCode() { |
2227 var o = new api.VerificationCode(); | 2227 var o = new api.VerificationCode(); |
2228 buildCounterVerificationCode++; | 2228 buildCounterVerificationCode++; |
2229 if (buildCounterVerificationCode < 3) { | 2229 if (buildCounterVerificationCode < 3) { |
2230 o.etag = "foo"; | 2230 o.etag = "foo"; |
2231 o.kind = "foo"; | 2231 o.kind = "foo"; |
2232 o.userId = "foo"; | 2232 o.userId = "foo"; |
2233 o.verificationCode = "foo"; | 2233 o.verificationCode = "foo"; |
2234 } | 2234 } |
2235 buildCounterVerificationCode--; | 2235 buildCounterVerificationCode--; |
2236 return o; | 2236 return o; |
2237 } | 2237 } |
2238 | 2238 |
2239 checkVerificationCode(api.VerificationCode o) { | 2239 checkVerificationCode(api.VerificationCode o) { |
2240 buildCounterVerificationCode++; | 2240 buildCounterVerificationCode++; |
2241 if (buildCounterVerificationCode < 3) { | 2241 if (buildCounterVerificationCode < 3) { |
2242 unittest.expect(o.etag, unittest.equals('foo')); | 2242 unittest.expect(o.etag, unittest.equals('foo')); |
2243 unittest.expect(o.kind, unittest.equals('foo')); | 2243 unittest.expect(o.kind, unittest.equals('foo')); |
2244 unittest.expect(o.userId, unittest.equals('foo')); | 2244 unittest.expect(o.userId, unittest.equals('foo')); |
2245 unittest.expect(o.verificationCode, unittest.equals('foo')); | 2245 unittest.expect(o.verificationCode, unittest.equals('foo')); |
2246 } | 2246 } |
2247 buildCounterVerificationCode--; | 2247 buildCounterVerificationCode--; |
2248 } | 2248 } |
2249 | 2249 |
2250 buildUnnamed219() { | 2250 buildUnnamed916() { |
2251 var o = new core.List<api.VerificationCode>(); | 2251 var o = new core.List<api.VerificationCode>(); |
2252 o.add(buildVerificationCode()); | 2252 o.add(buildVerificationCode()); |
2253 o.add(buildVerificationCode()); | 2253 o.add(buildVerificationCode()); |
2254 return o; | 2254 return o; |
2255 } | 2255 } |
2256 | 2256 |
2257 checkUnnamed219(core.List<api.VerificationCode> o) { | 2257 checkUnnamed916(core.List<api.VerificationCode> o) { |
2258 unittest.expect(o, unittest.hasLength(2)); | 2258 unittest.expect(o, unittest.hasLength(2)); |
2259 checkVerificationCode(o[0]); | 2259 checkVerificationCode(o[0]); |
2260 checkVerificationCode(o[1]); | 2260 checkVerificationCode(o[1]); |
2261 } | 2261 } |
2262 | 2262 |
2263 core.int buildCounterVerificationCodes = 0; | 2263 core.int buildCounterVerificationCodes = 0; |
2264 buildVerificationCodes() { | 2264 buildVerificationCodes() { |
2265 var o = new api.VerificationCodes(); | 2265 var o = new api.VerificationCodes(); |
2266 buildCounterVerificationCodes++; | 2266 buildCounterVerificationCodes++; |
2267 if (buildCounterVerificationCodes < 3) { | 2267 if (buildCounterVerificationCodes < 3) { |
2268 o.etag = "foo"; | 2268 o.etag = "foo"; |
2269 o.items = buildUnnamed219(); | 2269 o.items = buildUnnamed916(); |
2270 o.kind = "foo"; | 2270 o.kind = "foo"; |
2271 } | 2271 } |
2272 buildCounterVerificationCodes--; | 2272 buildCounterVerificationCodes--; |
2273 return o; | 2273 return o; |
2274 } | 2274 } |
2275 | 2275 |
2276 checkVerificationCodes(api.VerificationCodes o) { | 2276 checkVerificationCodes(api.VerificationCodes o) { |
2277 buildCounterVerificationCodes++; | 2277 buildCounterVerificationCodes++; |
2278 if (buildCounterVerificationCodes < 3) { | 2278 if (buildCounterVerificationCodes < 3) { |
2279 unittest.expect(o.etag, unittest.equals('foo')); | 2279 unittest.expect(o.etag, unittest.equals('foo')); |
2280 checkUnnamed219(o.items); | 2280 checkUnnamed916(o.items); |
2281 unittest.expect(o.kind, unittest.equals('foo')); | 2281 unittest.expect(o.kind, unittest.equals('foo')); |
2282 } | 2282 } |
2283 buildCounterVerificationCodes--; | 2283 buildCounterVerificationCodes--; |
2284 } | 2284 } |
2285 | 2285 |
2286 buildUnnamed220() { | 2286 buildUnnamed917() { |
2287 var o = new core.List<core.String>(); | 2287 var o = new core.List<core.String>(); |
2288 o.add("foo"); | 2288 o.add("foo"); |
2289 o.add("foo"); | 2289 o.add("foo"); |
2290 return o; | 2290 return o; |
2291 } | 2291 } |
2292 | 2292 |
2293 checkUnnamed220(core.List<core.String> o) { | 2293 checkUnnamed917(core.List<core.String> o) { |
2294 unittest.expect(o, unittest.hasLength(2)); | 2294 unittest.expect(o, unittest.hasLength(2)); |
2295 unittest.expect(o[0], unittest.equals('foo')); | 2295 unittest.expect(o[0], unittest.equals('foo')); |
2296 unittest.expect(o[1], unittest.equals('foo')); | 2296 unittest.expect(o[1], unittest.equals('foo')); |
2297 } | 2297 } |
2298 | 2298 |
2299 buildUnnamed221() { | 2299 buildUnnamed918() { |
2300 var o = new core.List<core.String>(); | 2300 var o = new core.List<core.String>(); |
2301 o.add("foo"); | 2301 o.add("foo"); |
2302 o.add("foo"); | 2302 o.add("foo"); |
2303 return o; | 2303 return o; |
2304 } | 2304 } |
2305 | 2305 |
2306 checkUnnamed221(core.List<core.String> o) { | 2306 checkUnnamed918(core.List<core.String> o) { |
2307 unittest.expect(o, unittest.hasLength(2)); | 2307 unittest.expect(o, unittest.hasLength(2)); |
2308 unittest.expect(o[0], unittest.equals('foo')); | 2308 unittest.expect(o[0], unittest.equals('foo')); |
2309 unittest.expect(o[1], unittest.equals('foo')); | 2309 unittest.expect(o[1], unittest.equals('foo')); |
2310 } | 2310 } |
2311 | 2311 |
2312 buildUnnamed222() { | 2312 buildUnnamed919() { |
2313 var o = new core.List<core.String>(); | 2313 var o = new core.List<core.String>(); |
2314 o.add("foo"); | 2314 o.add("foo"); |
2315 o.add("foo"); | 2315 o.add("foo"); |
2316 return o; | 2316 return o; |
2317 } | 2317 } |
2318 | 2318 |
2319 checkUnnamed222(core.List<core.String> o) { | 2319 checkUnnamed919(core.List<core.String> o) { |
2320 unittest.expect(o, unittest.hasLength(2)); | 2320 unittest.expect(o, unittest.hasLength(2)); |
2321 unittest.expect(o[0], unittest.equals('foo')); | 2321 unittest.expect(o[0], unittest.equals('foo')); |
2322 unittest.expect(o[1], unittest.equals('foo')); | 2322 unittest.expect(o[1], unittest.equals('foo')); |
2323 } | 2323 } |
2324 | 2324 |
2325 buildUnnamed223() { | 2325 buildUnnamed920() { |
2326 var o = new core.List<core.String>(); | 2326 var o = new core.List<core.String>(); |
2327 o.add("foo"); | 2327 o.add("foo"); |
2328 o.add("foo"); | 2328 o.add("foo"); |
2329 return o; | 2329 return o; |
2330 } | 2330 } |
2331 | 2331 |
2332 checkUnnamed223(core.List<core.String> o) { | 2332 checkUnnamed920(core.List<core.String> o) { |
2333 unittest.expect(o, unittest.hasLength(2)); | 2333 unittest.expect(o, unittest.hasLength(2)); |
2334 unittest.expect(o[0], unittest.equals('foo')); | 2334 unittest.expect(o[0], unittest.equals('foo')); |
2335 unittest.expect(o[1], unittest.equals('foo')); | 2335 unittest.expect(o[1], unittest.equals('foo')); |
2336 } | 2336 } |
2337 | 2337 |
2338 | 2338 |
2339 main() { | 2339 main() { |
2340 unittest.group("obj-schema-Alias", () { | 2340 unittest.group("obj-schema-Alias", () { |
2341 unittest.test("to-json--from-json", () { | 2341 unittest.test("to-json--from-json", () { |
2342 var o = buildAlias(); | 2342 var o = buildAlias(); |
(...skipping 2994 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5337 | 5337 |
5338 }); | 5338 }); |
5339 | 5339 |
5340 | 5340 |
5341 unittest.group("resource-OrgunitsResourceApi", () { | 5341 unittest.group("resource-OrgunitsResourceApi", () { |
5342 unittest.test("method--delete", () { | 5342 unittest.test("method--delete", () { |
5343 | 5343 |
5344 var mock = new HttpServerMock(); | 5344 var mock = new HttpServerMock(); |
5345 api.OrgunitsResourceApi res = new api.AdminApi(mock).orgunits; | 5345 api.OrgunitsResourceApi res = new api.AdminApi(mock).orgunits; |
5346 var arg_customerId = "foo"; | 5346 var arg_customerId = "foo"; |
5347 var arg_orgUnitPath = buildUnnamed220(); | 5347 var arg_orgUnitPath = buildUnnamed917(); |
5348 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 5348 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
5349 var path = (req.url).path; | 5349 var path = (req.url).path; |
5350 var pathOffset = 0; | 5350 var pathOffset = 0; |
5351 var index; | 5351 var index; |
5352 var subPart; | 5352 var subPart; |
5353 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 5353 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
5354 pathOffset += 1; | 5354 pathOffset += 1; |
5355 unittest.expect(path.substring(pathOffset, pathOffset + 19), unittest.eq
uals("admin/directory/v1/")); | 5355 unittest.expect(path.substring(pathOffset, pathOffset + 19), unittest.eq
uals("admin/directory/v1/")); |
5356 pathOffset += 19; | 5356 pathOffset += 19; |
5357 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ
als("customer/")); | 5357 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ
als("customer/")); |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5391 return new async.Future.value(stringResponse(200, h, resp)); | 5391 return new async.Future.value(stringResponse(200, h, resp)); |
5392 }), true); | 5392 }), true); |
5393 res.delete(arg_customerId, arg_orgUnitPath).then(unittest.expectAsync((_)
{})); | 5393 res.delete(arg_customerId, arg_orgUnitPath).then(unittest.expectAsync((_)
{})); |
5394 }); | 5394 }); |
5395 | 5395 |
5396 unittest.test("method--get", () { | 5396 unittest.test("method--get", () { |
5397 | 5397 |
5398 var mock = new HttpServerMock(); | 5398 var mock = new HttpServerMock(); |
5399 api.OrgunitsResourceApi res = new api.AdminApi(mock).orgunits; | 5399 api.OrgunitsResourceApi res = new api.AdminApi(mock).orgunits; |
5400 var arg_customerId = "foo"; | 5400 var arg_customerId = "foo"; |
5401 var arg_orgUnitPath = buildUnnamed221(); | 5401 var arg_orgUnitPath = buildUnnamed918(); |
5402 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 5402 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
5403 var path = (req.url).path; | 5403 var path = (req.url).path; |
5404 var pathOffset = 0; | 5404 var pathOffset = 0; |
5405 var index; | 5405 var index; |
5406 var subPart; | 5406 var subPart; |
5407 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 5407 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
5408 pathOffset += 1; | 5408 pathOffset += 1; |
5409 unittest.expect(path.substring(pathOffset, pathOffset + 19), unittest.eq
uals("admin/directory/v1/")); | 5409 unittest.expect(path.substring(pathOffset, pathOffset + 19), unittest.eq
uals("admin/directory/v1/")); |
5410 pathOffset += 19; | 5410 pathOffset += 19; |
5411 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ
als("customer/")); | 5411 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ
als("customer/")); |
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5562 checkOrgUnits(response); | 5562 checkOrgUnits(response); |
5563 }))); | 5563 }))); |
5564 }); | 5564 }); |
5565 | 5565 |
5566 unittest.test("method--patch", () { | 5566 unittest.test("method--patch", () { |
5567 | 5567 |
5568 var mock = new HttpServerMock(); | 5568 var mock = new HttpServerMock(); |
5569 api.OrgunitsResourceApi res = new api.AdminApi(mock).orgunits; | 5569 api.OrgunitsResourceApi res = new api.AdminApi(mock).orgunits; |
5570 var arg_request = buildOrgUnit(); | 5570 var arg_request = buildOrgUnit(); |
5571 var arg_customerId = "foo"; | 5571 var arg_customerId = "foo"; |
5572 var arg_orgUnitPath = buildUnnamed222(); | 5572 var arg_orgUnitPath = buildUnnamed919(); |
5573 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 5573 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
5574 var obj = new api.OrgUnit.fromJson(json); | 5574 var obj = new api.OrgUnit.fromJson(json); |
5575 checkOrgUnit(obj); | 5575 checkOrgUnit(obj); |
5576 | 5576 |
5577 var path = (req.url).path; | 5577 var path = (req.url).path; |
5578 var pathOffset = 0; | 5578 var pathOffset = 0; |
5579 var index; | 5579 var index; |
5580 var subPart; | 5580 var subPart; |
5581 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 5581 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
5582 pathOffset += 1; | 5582 pathOffset += 1; |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5622 checkOrgUnit(response); | 5622 checkOrgUnit(response); |
5623 }))); | 5623 }))); |
5624 }); | 5624 }); |
5625 | 5625 |
5626 unittest.test("method--update", () { | 5626 unittest.test("method--update", () { |
5627 | 5627 |
5628 var mock = new HttpServerMock(); | 5628 var mock = new HttpServerMock(); |
5629 api.OrgunitsResourceApi res = new api.AdminApi(mock).orgunits; | 5629 api.OrgunitsResourceApi res = new api.AdminApi(mock).orgunits; |
5630 var arg_request = buildOrgUnit(); | 5630 var arg_request = buildOrgUnit(); |
5631 var arg_customerId = "foo"; | 5631 var arg_customerId = "foo"; |
5632 var arg_orgUnitPath = buildUnnamed223(); | 5632 var arg_orgUnitPath = buildUnnamed920(); |
5633 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 5633 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
5634 var obj = new api.OrgUnit.fromJson(json); | 5634 var obj = new api.OrgUnit.fromJson(json); |
5635 checkOrgUnit(obj); | 5635 checkOrgUnit(obj); |
5636 | 5636 |
5637 var path = (req.url).path; | 5637 var path = (req.url).path; |
5638 var pathOffset = 0; | 5638 var pathOffset = 0; |
5639 var index; | 5639 var index; |
5640 var subPart; | 5640 var subPart; |
5641 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 5641 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
5642 pathOffset += 1; | 5642 pathOffset += 1; |
(...skipping 2674 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8317 res.list(arg_userKey).then(unittest.expectAsync(((api.VerificationCodes re
sponse) { | 8317 res.list(arg_userKey).then(unittest.expectAsync(((api.VerificationCodes re
sponse) { |
8318 checkVerificationCodes(response); | 8318 checkVerificationCodes(response); |
8319 }))); | 8319 }))); |
8320 }); | 8320 }); |
8321 | 8321 |
8322 }); | 8322 }); |
8323 | 8323 |
8324 | 8324 |
8325 } | 8325 } |
8326 | 8326 |
OLD | NEW |