| 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 buildUnnamed193() { | 81 buildUnnamed916() { |
| 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 checkUnnamed193(core.List<core.Object> o) { | 88 checkUnnamed916(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 = buildUnnamed193(); | 99 o.aliases = buildUnnamed916(); |
| 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 checkUnnamed193(o.aliases); | 110 checkUnnamed916(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 buildUnnamed194() { | 148 buildUnnamed917() { |
| 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 checkUnnamed194(core.List<api.Asp> o) { | 155 checkUnnamed917(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 = buildUnnamed194(); | 167 o.items = buildUnnamed917(); |
| 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 checkUnnamed194(o.items); | 178 checkUnnamed917(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 buildUnnamed195() { | 215 buildUnnamed918() { |
| 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 checkUnnamed195(core.List<api.CalendarResource> o) { | 222 checkUnnamed918(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 = buildUnnamed195(); | 234 o.items = buildUnnamed918(); |
| 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 checkUnnamed195(o.items); | 246 checkUnnamed918(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 buildUnnamed196() { | 253 buildUnnamed919() { |
| 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 checkUnnamed196(core.Map<core.String, core.String> o) { | 260 checkUnnamed919(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 = buildUnnamed196(); | 275 o.params = buildUnnamed919(); |
| 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 checkUnnamed196(o.params); | 293 checkUnnamed919(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 buildUnnamed197() { | 324 buildUnnamed920() { |
| 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 checkUnnamed197(core.List<api.ChromeOsDeviceActiveTimeRanges> o) { | 331 checkUnnamed920(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 buildUnnamed198() { | 358 buildUnnamed921() { |
| 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 checkUnnamed198(core.List<api.ChromeOsDeviceRecentUsers> o) { | 365 checkUnnamed921(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 = buildUnnamed197(); | 376 o.activeTimeRanges = buildUnnamed920(); |
| 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 = buildUnnamed198(); | 396 o.recentUsers = buildUnnamed921(); |
| 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 checkUnnamed197(o.activeTimeRanges); | 409 checkUnnamed920(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 checkUnnamed198(o.recentUsers); | 429 checkUnnamed921(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 buildUnnamed199() { | 438 buildUnnamed922() { |
| 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 checkUnnamed199(core.List<api.ChromeOsDevice> o) { | 445 checkUnnamed922(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 = buildUnnamed199(); | 456 o.chromeosdevices = buildUnnamed922(); |
| 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 checkUnnamed199(o.chromeosdevices); | 468 checkUnnamed922(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 buildUnnamed200() { | 575 buildUnnamed923() { |
| 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 checkUnnamed200(core.List<api.DomainAlias> o) { | 582 checkUnnamed923(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 = buildUnnamed200(); | 593 o.domainAliases = buildUnnamed923(); |
| 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 checkUnnamed200(o.domainAliases); | 604 checkUnnamed923(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 buildUnnamed201() { | 611 buildUnnamed924() { |
| 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 checkUnnamed201(core.List<api.DomainAlias> o) { | 618 checkUnnamed924(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 = buildUnnamed201(); | 630 o.domainAliases = buildUnnamed924(); |
| 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 checkUnnamed201(o.domainAliases); | 645 checkUnnamed924(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 buildUnnamed202() { | 655 buildUnnamed925() { |
| 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 checkUnnamed202(core.List<api.Domains> o) { | 662 checkUnnamed925(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 = buildUnnamed202(); | 673 o.domains = buildUnnamed925(); |
| 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 checkUnnamed202(o.domains); | 684 checkUnnamed925(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 buildUnnamed203() { | 691 buildUnnamed926() { |
| 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 checkUnnamed203(core.List<core.String> o) { | 698 checkUnnamed926(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 buildUnnamed204() { | 704 buildUnnamed927() { |
| 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 checkUnnamed204(core.List<core.String> o) { | 711 checkUnnamed927(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 = buildUnnamed203(); | 723 o.aliases = buildUnnamed926(); |
| 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 = buildUnnamed204(); | 731 o.nonEditableAliases = buildUnnamed927(); |
| 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 checkUnnamed203(o.aliases); | 741 checkUnnamed926(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 checkUnnamed204(o.nonEditableAliases); | 749 checkUnnamed927(o.nonEditableAliases); |
| 750 } | 750 } |
| 751 buildCounterGroup--; | 751 buildCounterGroup--; |
| 752 } | 752 } |
| 753 | 753 |
| 754 buildUnnamed205() { | 754 buildUnnamed928() { |
| 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 checkUnnamed205(core.List<api.Group> o) { | 761 checkUnnamed928(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 = buildUnnamed205(); | 773 o.groups = buildUnnamed928(); |
| 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 checkUnnamed205(o.groups); | 785 checkUnnamed928(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 17 matching lines...) Expand all Loading... |
| 813 unittest.expect(o.etag, unittest.equals('foo')); | 813 unittest.expect(o.etag, unittest.equals('foo')); |
| 814 unittest.expect(o.id, unittest.equals('foo')); | 814 unittest.expect(o.id, unittest.equals('foo')); |
| 815 unittest.expect(o.kind, unittest.equals('foo')); | 815 unittest.expect(o.kind, unittest.equals('foo')); |
| 816 unittest.expect(o.role, unittest.equals('foo')); | 816 unittest.expect(o.role, unittest.equals('foo')); |
| 817 unittest.expect(o.status, unittest.equals('foo')); | 817 unittest.expect(o.status, unittest.equals('foo')); |
| 818 unittest.expect(o.type, unittest.equals('foo')); | 818 unittest.expect(o.type, unittest.equals('foo')); |
| 819 } | 819 } |
| 820 buildCounterMember--; | 820 buildCounterMember--; |
| 821 } | 821 } |
| 822 | 822 |
| 823 buildUnnamed206() { | 823 buildUnnamed929() { |
| 824 var o = new core.List<api.Member>(); | 824 var o = new core.List<api.Member>(); |
| 825 o.add(buildMember()); | 825 o.add(buildMember()); |
| 826 o.add(buildMember()); | 826 o.add(buildMember()); |
| 827 return o; | 827 return o; |
| 828 } | 828 } |
| 829 | 829 |
| 830 checkUnnamed206(core.List<api.Member> o) { | 830 checkUnnamed929(core.List<api.Member> o) { |
| 831 unittest.expect(o, unittest.hasLength(2)); | 831 unittest.expect(o, unittest.hasLength(2)); |
| 832 checkMember(o[0]); | 832 checkMember(o[0]); |
| 833 checkMember(o[1]); | 833 checkMember(o[1]); |
| 834 } | 834 } |
| 835 | 835 |
| 836 core.int buildCounterMembers = 0; | 836 core.int buildCounterMembers = 0; |
| 837 buildMembers() { | 837 buildMembers() { |
| 838 var o = new api.Members(); | 838 var o = new api.Members(); |
| 839 buildCounterMembers++; | 839 buildCounterMembers++; |
| 840 if (buildCounterMembers < 3) { | 840 if (buildCounterMembers < 3) { |
| 841 o.etag = "foo"; | 841 o.etag = "foo"; |
| 842 o.kind = "foo"; | 842 o.kind = "foo"; |
| 843 o.members = buildUnnamed206(); | 843 o.members = buildUnnamed929(); |
| 844 o.nextPageToken = "foo"; | 844 o.nextPageToken = "foo"; |
| 845 } | 845 } |
| 846 buildCounterMembers--; | 846 buildCounterMembers--; |
| 847 return o; | 847 return o; |
| 848 } | 848 } |
| 849 | 849 |
| 850 checkMembers(api.Members o) { | 850 checkMembers(api.Members o) { |
| 851 buildCounterMembers++; | 851 buildCounterMembers++; |
| 852 if (buildCounterMembers < 3) { | 852 if (buildCounterMembers < 3) { |
| 853 unittest.expect(o.etag, unittest.equals('foo')); | 853 unittest.expect(o.etag, unittest.equals('foo')); |
| 854 unittest.expect(o.kind, unittest.equals('foo')); | 854 unittest.expect(o.kind, unittest.equals('foo')); |
| 855 checkUnnamed206(o.members); | 855 checkUnnamed929(o.members); |
| 856 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 856 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 857 } | 857 } |
| 858 buildCounterMembers--; | 858 buildCounterMembers--; |
| 859 } | 859 } |
| 860 | 860 |
| 861 buildUnnamed207() { | 861 buildUnnamed930() { |
| 862 var o = new core.List<core.String>(); | 862 var o = new core.List<core.String>(); |
| 863 o.add("foo"); | 863 o.add("foo"); |
| 864 o.add("foo"); | 864 o.add("foo"); |
| 865 return o; | 865 return o; |
| 866 } | 866 } |
| 867 | 867 |
| 868 checkUnnamed207(core.List<core.String> o) { | 868 checkUnnamed930(core.List<core.String> o) { |
| 869 unittest.expect(o, unittest.hasLength(2)); | 869 unittest.expect(o, unittest.hasLength(2)); |
| 870 unittest.expect(o[0], unittest.equals('foo')); | 870 unittest.expect(o[0], unittest.equals('foo')); |
| 871 unittest.expect(o[1], unittest.equals('foo')); | 871 unittest.expect(o[1], unittest.equals('foo')); |
| 872 } | 872 } |
| 873 | 873 |
| 874 core.int buildCounterMobileDeviceApplications = 0; | 874 core.int buildCounterMobileDeviceApplications = 0; |
| 875 buildMobileDeviceApplications() { | 875 buildMobileDeviceApplications() { |
| 876 var o = new api.MobileDeviceApplications(); | 876 var o = new api.MobileDeviceApplications(); |
| 877 buildCounterMobileDeviceApplications++; | 877 buildCounterMobileDeviceApplications++; |
| 878 if (buildCounterMobileDeviceApplications < 3) { | 878 if (buildCounterMobileDeviceApplications < 3) { |
| 879 o.displayName = "foo"; | 879 o.displayName = "foo"; |
| 880 o.packageName = "foo"; | 880 o.packageName = "foo"; |
| 881 o.permission = buildUnnamed207(); | 881 o.permission = buildUnnamed930(); |
| 882 o.versionCode = 42; | 882 o.versionCode = 42; |
| 883 o.versionName = "foo"; | 883 o.versionName = "foo"; |
| 884 } | 884 } |
| 885 buildCounterMobileDeviceApplications--; | 885 buildCounterMobileDeviceApplications--; |
| 886 return o; | 886 return o; |
| 887 } | 887 } |
| 888 | 888 |
| 889 checkMobileDeviceApplications(api.MobileDeviceApplications o) { | 889 checkMobileDeviceApplications(api.MobileDeviceApplications o) { |
| 890 buildCounterMobileDeviceApplications++; | 890 buildCounterMobileDeviceApplications++; |
| 891 if (buildCounterMobileDeviceApplications < 3) { | 891 if (buildCounterMobileDeviceApplications < 3) { |
| 892 unittest.expect(o.displayName, unittest.equals('foo')); | 892 unittest.expect(o.displayName, unittest.equals('foo')); |
| 893 unittest.expect(o.packageName, unittest.equals('foo')); | 893 unittest.expect(o.packageName, unittest.equals('foo')); |
| 894 checkUnnamed207(o.permission); | 894 checkUnnamed930(o.permission); |
| 895 unittest.expect(o.versionCode, unittest.equals(42)); | 895 unittest.expect(o.versionCode, unittest.equals(42)); |
| 896 unittest.expect(o.versionName, unittest.equals('foo')); | 896 unittest.expect(o.versionName, unittest.equals('foo')); |
| 897 } | 897 } |
| 898 buildCounterMobileDeviceApplications--; | 898 buildCounterMobileDeviceApplications--; |
| 899 } | 899 } |
| 900 | 900 |
| 901 buildUnnamed208() { | 901 buildUnnamed931() { |
| 902 var o = new core.List<api.MobileDeviceApplications>(); | 902 var o = new core.List<api.MobileDeviceApplications>(); |
| 903 o.add(buildMobileDeviceApplications()); | 903 o.add(buildMobileDeviceApplications()); |
| 904 o.add(buildMobileDeviceApplications()); | 904 o.add(buildMobileDeviceApplications()); |
| 905 return o; | 905 return o; |
| 906 } | 906 } |
| 907 | 907 |
| 908 checkUnnamed208(core.List<api.MobileDeviceApplications> o) { | 908 checkUnnamed931(core.List<api.MobileDeviceApplications> o) { |
| 909 unittest.expect(o, unittest.hasLength(2)); | 909 unittest.expect(o, unittest.hasLength(2)); |
| 910 checkMobileDeviceApplications(o[0]); | 910 checkMobileDeviceApplications(o[0]); |
| 911 checkMobileDeviceApplications(o[1]); | 911 checkMobileDeviceApplications(o[1]); |
| 912 } | 912 } |
| 913 | 913 |
| 914 buildUnnamed209() { | 914 buildUnnamed932() { |
| 915 var o = new core.List<core.String>(); | 915 var o = new core.List<core.String>(); |
| 916 o.add("foo"); | 916 o.add("foo"); |
| 917 o.add("foo"); | 917 o.add("foo"); |
| 918 return o; | 918 return o; |
| 919 } | 919 } |
| 920 | 920 |
| 921 checkUnnamed209(core.List<core.String> o) { | 921 checkUnnamed932(core.List<core.String> o) { |
| 922 unittest.expect(o, unittest.hasLength(2)); | 922 unittest.expect(o, unittest.hasLength(2)); |
| 923 unittest.expect(o[0], unittest.equals('foo')); | 923 unittest.expect(o[0], unittest.equals('foo')); |
| 924 unittest.expect(o[1], unittest.equals('foo')); | 924 unittest.expect(o[1], unittest.equals('foo')); |
| 925 } | 925 } |
| 926 | 926 |
| 927 buildUnnamed210() { | 927 buildUnnamed933() { |
| 928 var o = new core.List<core.String>(); | 928 var o = new core.List<core.String>(); |
| 929 o.add("foo"); | 929 o.add("foo"); |
| 930 o.add("foo"); | 930 o.add("foo"); |
| 931 return o; | 931 return o; |
| 932 } | 932 } |
| 933 | 933 |
| 934 checkUnnamed210(core.List<core.String> o) { | 934 checkUnnamed933(core.List<core.String> o) { |
| 935 unittest.expect(o, unittest.hasLength(2)); | 935 unittest.expect(o, unittest.hasLength(2)); |
| 936 unittest.expect(o[0], unittest.equals('foo')); | 936 unittest.expect(o[0], unittest.equals('foo')); |
| 937 unittest.expect(o[1], unittest.equals('foo')); | 937 unittest.expect(o[1], unittest.equals('foo')); |
| 938 } | 938 } |
| 939 | 939 |
| 940 buildUnnamed211() { | 940 buildUnnamed934() { |
| 941 var o = new core.List<core.String>(); | 941 var o = new core.List<core.String>(); |
| 942 o.add("foo"); | 942 o.add("foo"); |
| 943 o.add("foo"); | 943 o.add("foo"); |
| 944 return o; | 944 return o; |
| 945 } | 945 } |
| 946 | 946 |
| 947 checkUnnamed211(core.List<core.String> o) { | 947 checkUnnamed934(core.List<core.String> o) { |
| 948 unittest.expect(o, unittest.hasLength(2)); | 948 unittest.expect(o, unittest.hasLength(2)); |
| 949 unittest.expect(o[0], unittest.equals('foo')); | 949 unittest.expect(o[0], unittest.equals('foo')); |
| 950 unittest.expect(o[1], unittest.equals('foo')); | 950 unittest.expect(o[1], unittest.equals('foo')); |
| 951 } | 951 } |
| 952 | 952 |
| 953 core.int buildCounterMobileDevice = 0; | 953 core.int buildCounterMobileDevice = 0; |
| 954 buildMobileDevice() { | 954 buildMobileDevice() { |
| 955 var o = new api.MobileDevice(); | 955 var o = new api.MobileDevice(); |
| 956 buildCounterMobileDevice++; | 956 buildCounterMobileDevice++; |
| 957 if (buildCounterMobileDevice < 3) { | 957 if (buildCounterMobileDevice < 3) { |
| 958 o.adbStatus = true; | 958 o.adbStatus = true; |
| 959 o.applications = buildUnnamed208(); | 959 o.applications = buildUnnamed931(); |
| 960 o.basebandVersion = "foo"; | 960 o.basebandVersion = "foo"; |
| 961 o.buildNumber = "foo"; | 961 o.buildNumber = "foo"; |
| 962 o.defaultLanguage = "foo"; | 962 o.defaultLanguage = "foo"; |
| 963 o.developerOptionsStatus = true; | 963 o.developerOptionsStatus = true; |
| 964 o.deviceCompromisedStatus = "foo"; | 964 o.deviceCompromisedStatus = "foo"; |
| 965 o.deviceId = "foo"; | 965 o.deviceId = "foo"; |
| 966 o.email = buildUnnamed209(); | 966 o.email = buildUnnamed932(); |
| 967 o.etag = "foo"; | 967 o.etag = "foo"; |
| 968 o.firstSync = core.DateTime.parse("2002-02-27T14:01:02"); | 968 o.firstSync = core.DateTime.parse("2002-02-27T14:01:02"); |
| 969 o.hardwareId = "foo"; | 969 o.hardwareId = "foo"; |
| 970 o.imei = "foo"; | 970 o.imei = "foo"; |
| 971 o.kernelVersion = "foo"; | 971 o.kernelVersion = "foo"; |
| 972 o.kind = "foo"; | 972 o.kind = "foo"; |
| 973 o.lastSync = core.DateTime.parse("2002-02-27T14:01:02"); | 973 o.lastSync = core.DateTime.parse("2002-02-27T14:01:02"); |
| 974 o.managedAccountIsOnOwnerProfile = true; | 974 o.managedAccountIsOnOwnerProfile = true; |
| 975 o.meid = "foo"; | 975 o.meid = "foo"; |
| 976 o.model = "foo"; | 976 o.model = "foo"; |
| 977 o.name = buildUnnamed210(); | 977 o.name = buildUnnamed933(); |
| 978 o.networkOperator = "foo"; | 978 o.networkOperator = "foo"; |
| 979 o.os = "foo"; | 979 o.os = "foo"; |
| 980 o.otherAccountsInfo = buildUnnamed211(); | 980 o.otherAccountsInfo = buildUnnamed934(); |
| 981 o.resourceId = "foo"; | 981 o.resourceId = "foo"; |
| 982 o.serialNumber = "foo"; | 982 o.serialNumber = "foo"; |
| 983 o.status = "foo"; | 983 o.status = "foo"; |
| 984 o.supportsWorkProfile = true; | 984 o.supportsWorkProfile = true; |
| 985 o.type = "foo"; | 985 o.type = "foo"; |
| 986 o.unknownSourcesStatus = true; | 986 o.unknownSourcesStatus = true; |
| 987 o.userAgent = "foo"; | 987 o.userAgent = "foo"; |
| 988 o.wifiMacAddress = "foo"; | 988 o.wifiMacAddress = "foo"; |
| 989 } | 989 } |
| 990 buildCounterMobileDevice--; | 990 buildCounterMobileDevice--; |
| 991 return o; | 991 return o; |
| 992 } | 992 } |
| 993 | 993 |
| 994 checkMobileDevice(api.MobileDevice o) { | 994 checkMobileDevice(api.MobileDevice o) { |
| 995 buildCounterMobileDevice++; | 995 buildCounterMobileDevice++; |
| 996 if (buildCounterMobileDevice < 3) { | 996 if (buildCounterMobileDevice < 3) { |
| 997 unittest.expect(o.adbStatus, unittest.isTrue); | 997 unittest.expect(o.adbStatus, unittest.isTrue); |
| 998 checkUnnamed208(o.applications); | 998 checkUnnamed931(o.applications); |
| 999 unittest.expect(o.basebandVersion, unittest.equals('foo')); | 999 unittest.expect(o.basebandVersion, unittest.equals('foo')); |
| 1000 unittest.expect(o.buildNumber, unittest.equals('foo')); | 1000 unittest.expect(o.buildNumber, unittest.equals('foo')); |
| 1001 unittest.expect(o.defaultLanguage, unittest.equals('foo')); | 1001 unittest.expect(o.defaultLanguage, unittest.equals('foo')); |
| 1002 unittest.expect(o.developerOptionsStatus, unittest.isTrue); | 1002 unittest.expect(o.developerOptionsStatus, unittest.isTrue); |
| 1003 unittest.expect(o.deviceCompromisedStatus, unittest.equals('foo')); | 1003 unittest.expect(o.deviceCompromisedStatus, unittest.equals('foo')); |
| 1004 unittest.expect(o.deviceId, unittest.equals('foo')); | 1004 unittest.expect(o.deviceId, unittest.equals('foo')); |
| 1005 checkUnnamed209(o.email); | 1005 checkUnnamed932(o.email); |
| 1006 unittest.expect(o.etag, unittest.equals('foo')); | 1006 unittest.expect(o.etag, unittest.equals('foo')); |
| 1007 unittest.expect(o.firstSync, unittest.equals(core.DateTime.parse("2002-02-27
T14:01:02"))); | 1007 unittest.expect(o.firstSync, unittest.equals(core.DateTime.parse("2002-02-27
T14:01:02"))); |
| 1008 unittest.expect(o.hardwareId, unittest.equals('foo')); | 1008 unittest.expect(o.hardwareId, unittest.equals('foo')); |
| 1009 unittest.expect(o.imei, unittest.equals('foo')); | 1009 unittest.expect(o.imei, unittest.equals('foo')); |
| 1010 unittest.expect(o.kernelVersion, unittest.equals('foo')); | 1010 unittest.expect(o.kernelVersion, unittest.equals('foo')); |
| 1011 unittest.expect(o.kind, unittest.equals('foo')); | 1011 unittest.expect(o.kind, unittest.equals('foo')); |
| 1012 unittest.expect(o.lastSync, unittest.equals(core.DateTime.parse("2002-02-27T
14:01:02"))); | 1012 unittest.expect(o.lastSync, unittest.equals(core.DateTime.parse("2002-02-27T
14:01:02"))); |
| 1013 unittest.expect(o.managedAccountIsOnOwnerProfile, unittest.isTrue); | 1013 unittest.expect(o.managedAccountIsOnOwnerProfile, unittest.isTrue); |
| 1014 unittest.expect(o.meid, unittest.equals('foo')); | 1014 unittest.expect(o.meid, unittest.equals('foo')); |
| 1015 unittest.expect(o.model, unittest.equals('foo')); | 1015 unittest.expect(o.model, unittest.equals('foo')); |
| 1016 checkUnnamed210(o.name); | 1016 checkUnnamed933(o.name); |
| 1017 unittest.expect(o.networkOperator, unittest.equals('foo')); | 1017 unittest.expect(o.networkOperator, unittest.equals('foo')); |
| 1018 unittest.expect(o.os, unittest.equals('foo')); | 1018 unittest.expect(o.os, unittest.equals('foo')); |
| 1019 checkUnnamed211(o.otherAccountsInfo); | 1019 checkUnnamed934(o.otherAccountsInfo); |
| 1020 unittest.expect(o.resourceId, unittest.equals('foo')); | 1020 unittest.expect(o.resourceId, unittest.equals('foo')); |
| 1021 unittest.expect(o.serialNumber, unittest.equals('foo')); | 1021 unittest.expect(o.serialNumber, unittest.equals('foo')); |
| 1022 unittest.expect(o.status, unittest.equals('foo')); | 1022 unittest.expect(o.status, unittest.equals('foo')); |
| 1023 unittest.expect(o.supportsWorkProfile, unittest.isTrue); | 1023 unittest.expect(o.supportsWorkProfile, unittest.isTrue); |
| 1024 unittest.expect(o.type, unittest.equals('foo')); | 1024 unittest.expect(o.type, unittest.equals('foo')); |
| 1025 unittest.expect(o.unknownSourcesStatus, unittest.isTrue); | 1025 unittest.expect(o.unknownSourcesStatus, unittest.isTrue); |
| 1026 unittest.expect(o.userAgent, unittest.equals('foo')); | 1026 unittest.expect(o.userAgent, unittest.equals('foo')); |
| 1027 unittest.expect(o.wifiMacAddress, unittest.equals('foo')); | 1027 unittest.expect(o.wifiMacAddress, unittest.equals('foo')); |
| 1028 } | 1028 } |
| 1029 buildCounterMobileDevice--; | 1029 buildCounterMobileDevice--; |
| (...skipping 11 matching lines...) Expand all Loading... |
| 1041 } | 1041 } |
| 1042 | 1042 |
| 1043 checkMobileDeviceAction(api.MobileDeviceAction o) { | 1043 checkMobileDeviceAction(api.MobileDeviceAction o) { |
| 1044 buildCounterMobileDeviceAction++; | 1044 buildCounterMobileDeviceAction++; |
| 1045 if (buildCounterMobileDeviceAction < 3) { | 1045 if (buildCounterMobileDeviceAction < 3) { |
| 1046 unittest.expect(o.action, unittest.equals('foo')); | 1046 unittest.expect(o.action, unittest.equals('foo')); |
| 1047 } | 1047 } |
| 1048 buildCounterMobileDeviceAction--; | 1048 buildCounterMobileDeviceAction--; |
| 1049 } | 1049 } |
| 1050 | 1050 |
| 1051 buildUnnamed212() { | 1051 buildUnnamed935() { |
| 1052 var o = new core.List<api.MobileDevice>(); | 1052 var o = new core.List<api.MobileDevice>(); |
| 1053 o.add(buildMobileDevice()); | 1053 o.add(buildMobileDevice()); |
| 1054 o.add(buildMobileDevice()); | 1054 o.add(buildMobileDevice()); |
| 1055 return o; | 1055 return o; |
| 1056 } | 1056 } |
| 1057 | 1057 |
| 1058 checkUnnamed212(core.List<api.MobileDevice> o) { | 1058 checkUnnamed935(core.List<api.MobileDevice> o) { |
| 1059 unittest.expect(o, unittest.hasLength(2)); | 1059 unittest.expect(o, unittest.hasLength(2)); |
| 1060 checkMobileDevice(o[0]); | 1060 checkMobileDevice(o[0]); |
| 1061 checkMobileDevice(o[1]); | 1061 checkMobileDevice(o[1]); |
| 1062 } | 1062 } |
| 1063 | 1063 |
| 1064 core.int buildCounterMobileDevices = 0; | 1064 core.int buildCounterMobileDevices = 0; |
| 1065 buildMobileDevices() { | 1065 buildMobileDevices() { |
| 1066 var o = new api.MobileDevices(); | 1066 var o = new api.MobileDevices(); |
| 1067 buildCounterMobileDevices++; | 1067 buildCounterMobileDevices++; |
| 1068 if (buildCounterMobileDevices < 3) { | 1068 if (buildCounterMobileDevices < 3) { |
| 1069 o.etag = "foo"; | 1069 o.etag = "foo"; |
| 1070 o.kind = "foo"; | 1070 o.kind = "foo"; |
| 1071 o.mobiledevices = buildUnnamed212(); | 1071 o.mobiledevices = buildUnnamed935(); |
| 1072 o.nextPageToken = "foo"; | 1072 o.nextPageToken = "foo"; |
| 1073 } | 1073 } |
| 1074 buildCounterMobileDevices--; | 1074 buildCounterMobileDevices--; |
| 1075 return o; | 1075 return o; |
| 1076 } | 1076 } |
| 1077 | 1077 |
| 1078 checkMobileDevices(api.MobileDevices o) { | 1078 checkMobileDevices(api.MobileDevices o) { |
| 1079 buildCounterMobileDevices++; | 1079 buildCounterMobileDevices++; |
| 1080 if (buildCounterMobileDevices < 3) { | 1080 if (buildCounterMobileDevices < 3) { |
| 1081 unittest.expect(o.etag, unittest.equals('foo')); | 1081 unittest.expect(o.etag, unittest.equals('foo')); |
| 1082 unittest.expect(o.kind, unittest.equals('foo')); | 1082 unittest.expect(o.kind, unittest.equals('foo')); |
| 1083 checkUnnamed212(o.mobiledevices); | 1083 checkUnnamed935(o.mobiledevices); |
| 1084 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1084 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1085 } | 1085 } |
| 1086 buildCounterMobileDevices--; | 1086 buildCounterMobileDevices--; |
| 1087 } | 1087 } |
| 1088 | 1088 |
| 1089 core.int buildCounterNotification = 0; | 1089 core.int buildCounterNotification = 0; |
| 1090 buildNotification() { | 1090 buildNotification() { |
| 1091 var o = new api.Notification(); | 1091 var o = new api.Notification(); |
| 1092 buildCounterNotification++; | 1092 buildCounterNotification++; |
| 1093 if (buildCounterNotification < 3) { | 1093 if (buildCounterNotification < 3) { |
| (...skipping 18 matching lines...) Expand all Loading... |
| 1112 unittest.expect(o.fromAddress, unittest.equals('foo')); | 1112 unittest.expect(o.fromAddress, unittest.equals('foo')); |
| 1113 unittest.expect(o.isUnread, unittest.isTrue); | 1113 unittest.expect(o.isUnread, unittest.isTrue); |
| 1114 unittest.expect(o.kind, unittest.equals('foo')); | 1114 unittest.expect(o.kind, unittest.equals('foo')); |
| 1115 unittest.expect(o.notificationId, unittest.equals('foo')); | 1115 unittest.expect(o.notificationId, unittest.equals('foo')); |
| 1116 unittest.expect(o.sendTime, unittest.equals(core.DateTime.parse("2002-02-27T
14:01:02"))); | 1116 unittest.expect(o.sendTime, unittest.equals(core.DateTime.parse("2002-02-27T
14:01:02"))); |
| 1117 unittest.expect(o.subject, unittest.equals('foo')); | 1117 unittest.expect(o.subject, unittest.equals('foo')); |
| 1118 } | 1118 } |
| 1119 buildCounterNotification--; | 1119 buildCounterNotification--; |
| 1120 } | 1120 } |
| 1121 | 1121 |
| 1122 buildUnnamed213() { | 1122 buildUnnamed936() { |
| 1123 var o = new core.List<api.Notification>(); | 1123 var o = new core.List<api.Notification>(); |
| 1124 o.add(buildNotification()); | 1124 o.add(buildNotification()); |
| 1125 o.add(buildNotification()); | 1125 o.add(buildNotification()); |
| 1126 return o; | 1126 return o; |
| 1127 } | 1127 } |
| 1128 | 1128 |
| 1129 checkUnnamed213(core.List<api.Notification> o) { | 1129 checkUnnamed936(core.List<api.Notification> o) { |
| 1130 unittest.expect(o, unittest.hasLength(2)); | 1130 unittest.expect(o, unittest.hasLength(2)); |
| 1131 checkNotification(o[0]); | 1131 checkNotification(o[0]); |
| 1132 checkNotification(o[1]); | 1132 checkNotification(o[1]); |
| 1133 } | 1133 } |
| 1134 | 1134 |
| 1135 core.int buildCounterNotifications = 0; | 1135 core.int buildCounterNotifications = 0; |
| 1136 buildNotifications() { | 1136 buildNotifications() { |
| 1137 var o = new api.Notifications(); | 1137 var o = new api.Notifications(); |
| 1138 buildCounterNotifications++; | 1138 buildCounterNotifications++; |
| 1139 if (buildCounterNotifications < 3) { | 1139 if (buildCounterNotifications < 3) { |
| 1140 o.etag = "foo"; | 1140 o.etag = "foo"; |
| 1141 o.items = buildUnnamed213(); | 1141 o.items = buildUnnamed936(); |
| 1142 o.kind = "foo"; | 1142 o.kind = "foo"; |
| 1143 o.nextPageToken = "foo"; | 1143 o.nextPageToken = "foo"; |
| 1144 o.unreadNotificationsCount = 42; | 1144 o.unreadNotificationsCount = 42; |
| 1145 } | 1145 } |
| 1146 buildCounterNotifications--; | 1146 buildCounterNotifications--; |
| 1147 return o; | 1147 return o; |
| 1148 } | 1148 } |
| 1149 | 1149 |
| 1150 checkNotifications(api.Notifications o) { | 1150 checkNotifications(api.Notifications o) { |
| 1151 buildCounterNotifications++; | 1151 buildCounterNotifications++; |
| 1152 if (buildCounterNotifications < 3) { | 1152 if (buildCounterNotifications < 3) { |
| 1153 unittest.expect(o.etag, unittest.equals('foo')); | 1153 unittest.expect(o.etag, unittest.equals('foo')); |
| 1154 checkUnnamed213(o.items); | 1154 checkUnnamed936(o.items); |
| 1155 unittest.expect(o.kind, unittest.equals('foo')); | 1155 unittest.expect(o.kind, unittest.equals('foo')); |
| 1156 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1156 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1157 unittest.expect(o.unreadNotificationsCount, unittest.equals(42)); | 1157 unittest.expect(o.unreadNotificationsCount, unittest.equals(42)); |
| 1158 } | 1158 } |
| 1159 buildCounterNotifications--; | 1159 buildCounterNotifications--; |
| 1160 } | 1160 } |
| 1161 | 1161 |
| 1162 core.int buildCounterOrgUnit = 0; | 1162 core.int buildCounterOrgUnit = 0; |
| 1163 buildOrgUnit() { | 1163 buildOrgUnit() { |
| 1164 var o = new api.OrgUnit(); | 1164 var o = new api.OrgUnit(); |
| (...skipping 22 matching lines...) Expand all Loading... |
| 1187 unittest.expect(o.kind, unittest.equals('foo')); | 1187 unittest.expect(o.kind, unittest.equals('foo')); |
| 1188 unittest.expect(o.name, unittest.equals('foo')); | 1188 unittest.expect(o.name, unittest.equals('foo')); |
| 1189 unittest.expect(o.orgUnitId, unittest.equals('foo')); | 1189 unittest.expect(o.orgUnitId, unittest.equals('foo')); |
| 1190 unittest.expect(o.orgUnitPath, unittest.equals('foo')); | 1190 unittest.expect(o.orgUnitPath, unittest.equals('foo')); |
| 1191 unittest.expect(o.parentOrgUnitId, unittest.equals('foo')); | 1191 unittest.expect(o.parentOrgUnitId, unittest.equals('foo')); |
| 1192 unittest.expect(o.parentOrgUnitPath, unittest.equals('foo')); | 1192 unittest.expect(o.parentOrgUnitPath, unittest.equals('foo')); |
| 1193 } | 1193 } |
| 1194 buildCounterOrgUnit--; | 1194 buildCounterOrgUnit--; |
| 1195 } | 1195 } |
| 1196 | 1196 |
| 1197 buildUnnamed214() { | 1197 buildUnnamed937() { |
| 1198 var o = new core.List<api.OrgUnit>(); | 1198 var o = new core.List<api.OrgUnit>(); |
| 1199 o.add(buildOrgUnit()); | 1199 o.add(buildOrgUnit()); |
| 1200 o.add(buildOrgUnit()); | 1200 o.add(buildOrgUnit()); |
| 1201 return o; | 1201 return o; |
| 1202 } | 1202 } |
| 1203 | 1203 |
| 1204 checkUnnamed214(core.List<api.OrgUnit> o) { | 1204 checkUnnamed937(core.List<api.OrgUnit> o) { |
| 1205 unittest.expect(o, unittest.hasLength(2)); | 1205 unittest.expect(o, unittest.hasLength(2)); |
| 1206 checkOrgUnit(o[0]); | 1206 checkOrgUnit(o[0]); |
| 1207 checkOrgUnit(o[1]); | 1207 checkOrgUnit(o[1]); |
| 1208 } | 1208 } |
| 1209 | 1209 |
| 1210 core.int buildCounterOrgUnits = 0; | 1210 core.int buildCounterOrgUnits = 0; |
| 1211 buildOrgUnits() { | 1211 buildOrgUnits() { |
| 1212 var o = new api.OrgUnits(); | 1212 var o = new api.OrgUnits(); |
| 1213 buildCounterOrgUnits++; | 1213 buildCounterOrgUnits++; |
| 1214 if (buildCounterOrgUnits < 3) { | 1214 if (buildCounterOrgUnits < 3) { |
| 1215 o.etag = "foo"; | 1215 o.etag = "foo"; |
| 1216 o.kind = "foo"; | 1216 o.kind = "foo"; |
| 1217 o.organizationUnits = buildUnnamed214(); | 1217 o.organizationUnits = buildUnnamed937(); |
| 1218 } | 1218 } |
| 1219 buildCounterOrgUnits--; | 1219 buildCounterOrgUnits--; |
| 1220 return o; | 1220 return o; |
| 1221 } | 1221 } |
| 1222 | 1222 |
| 1223 checkOrgUnits(api.OrgUnits o) { | 1223 checkOrgUnits(api.OrgUnits o) { |
| 1224 buildCounterOrgUnits++; | 1224 buildCounterOrgUnits++; |
| 1225 if (buildCounterOrgUnits < 3) { | 1225 if (buildCounterOrgUnits < 3) { |
| 1226 unittest.expect(o.etag, unittest.equals('foo')); | 1226 unittest.expect(o.etag, unittest.equals('foo')); |
| 1227 unittest.expect(o.kind, unittest.equals('foo')); | 1227 unittest.expect(o.kind, unittest.equals('foo')); |
| 1228 checkUnnamed214(o.organizationUnits); | 1228 checkUnnamed937(o.organizationUnits); |
| 1229 } | 1229 } |
| 1230 buildCounterOrgUnits--; | 1230 buildCounterOrgUnits--; |
| 1231 } | 1231 } |
| 1232 | 1232 |
| 1233 buildUnnamed215() { | 1233 buildUnnamed938() { |
| 1234 var o = new core.List<api.Privilege>(); | 1234 var o = new core.List<api.Privilege>(); |
| 1235 o.add(buildPrivilege()); | 1235 o.add(buildPrivilege()); |
| 1236 o.add(buildPrivilege()); | 1236 o.add(buildPrivilege()); |
| 1237 return o; | 1237 return o; |
| 1238 } | 1238 } |
| 1239 | 1239 |
| 1240 checkUnnamed215(core.List<api.Privilege> o) { | 1240 checkUnnamed938(core.List<api.Privilege> o) { |
| 1241 unittest.expect(o, unittest.hasLength(2)); | 1241 unittest.expect(o, unittest.hasLength(2)); |
| 1242 checkPrivilege(o[0]); | 1242 checkPrivilege(o[0]); |
| 1243 checkPrivilege(o[1]); | 1243 checkPrivilege(o[1]); |
| 1244 } | 1244 } |
| 1245 | 1245 |
| 1246 core.int buildCounterPrivilege = 0; | 1246 core.int buildCounterPrivilege = 0; |
| 1247 buildPrivilege() { | 1247 buildPrivilege() { |
| 1248 var o = new api.Privilege(); | 1248 var o = new api.Privilege(); |
| 1249 buildCounterPrivilege++; | 1249 buildCounterPrivilege++; |
| 1250 if (buildCounterPrivilege < 3) { | 1250 if (buildCounterPrivilege < 3) { |
| 1251 o.childPrivileges = buildUnnamed215(); | 1251 o.childPrivileges = buildUnnamed938(); |
| 1252 o.etag = "foo"; | 1252 o.etag = "foo"; |
| 1253 o.isOuScopable = true; | 1253 o.isOuScopable = true; |
| 1254 o.kind = "foo"; | 1254 o.kind = "foo"; |
| 1255 o.privilegeName = "foo"; | 1255 o.privilegeName = "foo"; |
| 1256 o.serviceId = "foo"; | 1256 o.serviceId = "foo"; |
| 1257 o.serviceName = "foo"; | 1257 o.serviceName = "foo"; |
| 1258 } | 1258 } |
| 1259 buildCounterPrivilege--; | 1259 buildCounterPrivilege--; |
| 1260 return o; | 1260 return o; |
| 1261 } | 1261 } |
| 1262 | 1262 |
| 1263 checkPrivilege(api.Privilege o) { | 1263 checkPrivilege(api.Privilege o) { |
| 1264 buildCounterPrivilege++; | 1264 buildCounterPrivilege++; |
| 1265 if (buildCounterPrivilege < 3) { | 1265 if (buildCounterPrivilege < 3) { |
| 1266 checkUnnamed215(o.childPrivileges); | 1266 checkUnnamed938(o.childPrivileges); |
| 1267 unittest.expect(o.etag, unittest.equals('foo')); | 1267 unittest.expect(o.etag, unittest.equals('foo')); |
| 1268 unittest.expect(o.isOuScopable, unittest.isTrue); | 1268 unittest.expect(o.isOuScopable, unittest.isTrue); |
| 1269 unittest.expect(o.kind, unittest.equals('foo')); | 1269 unittest.expect(o.kind, unittest.equals('foo')); |
| 1270 unittest.expect(o.privilegeName, unittest.equals('foo')); | 1270 unittest.expect(o.privilegeName, unittest.equals('foo')); |
| 1271 unittest.expect(o.serviceId, unittest.equals('foo')); | 1271 unittest.expect(o.serviceId, unittest.equals('foo')); |
| 1272 unittest.expect(o.serviceName, unittest.equals('foo')); | 1272 unittest.expect(o.serviceName, unittest.equals('foo')); |
| 1273 } | 1273 } |
| 1274 buildCounterPrivilege--; | 1274 buildCounterPrivilege--; |
| 1275 } | 1275 } |
| 1276 | 1276 |
| 1277 buildUnnamed216() { | 1277 buildUnnamed939() { |
| 1278 var o = new core.List<api.Privilege>(); | 1278 var o = new core.List<api.Privilege>(); |
| 1279 o.add(buildPrivilege()); | 1279 o.add(buildPrivilege()); |
| 1280 o.add(buildPrivilege()); | 1280 o.add(buildPrivilege()); |
| 1281 return o; | 1281 return o; |
| 1282 } | 1282 } |
| 1283 | 1283 |
| 1284 checkUnnamed216(core.List<api.Privilege> o) { | 1284 checkUnnamed939(core.List<api.Privilege> o) { |
| 1285 unittest.expect(o, unittest.hasLength(2)); | 1285 unittest.expect(o, unittest.hasLength(2)); |
| 1286 checkPrivilege(o[0]); | 1286 checkPrivilege(o[0]); |
| 1287 checkPrivilege(o[1]); | 1287 checkPrivilege(o[1]); |
| 1288 } | 1288 } |
| 1289 | 1289 |
| 1290 core.int buildCounterPrivileges = 0; | 1290 core.int buildCounterPrivileges = 0; |
| 1291 buildPrivileges() { | 1291 buildPrivileges() { |
| 1292 var o = new api.Privileges(); | 1292 var o = new api.Privileges(); |
| 1293 buildCounterPrivileges++; | 1293 buildCounterPrivileges++; |
| 1294 if (buildCounterPrivileges < 3) { | 1294 if (buildCounterPrivileges < 3) { |
| 1295 o.etag = "foo"; | 1295 o.etag = "foo"; |
| 1296 o.items = buildUnnamed216(); | 1296 o.items = buildUnnamed939(); |
| 1297 o.kind = "foo"; | 1297 o.kind = "foo"; |
| 1298 } | 1298 } |
| 1299 buildCounterPrivileges--; | 1299 buildCounterPrivileges--; |
| 1300 return o; | 1300 return o; |
| 1301 } | 1301 } |
| 1302 | 1302 |
| 1303 checkPrivileges(api.Privileges o) { | 1303 checkPrivileges(api.Privileges o) { |
| 1304 buildCounterPrivileges++; | 1304 buildCounterPrivileges++; |
| 1305 if (buildCounterPrivileges < 3) { | 1305 if (buildCounterPrivileges < 3) { |
| 1306 unittest.expect(o.etag, unittest.equals('foo')); | 1306 unittest.expect(o.etag, unittest.equals('foo')); |
| 1307 checkUnnamed216(o.items); | 1307 checkUnnamed939(o.items); |
| 1308 unittest.expect(o.kind, unittest.equals('foo')); | 1308 unittest.expect(o.kind, unittest.equals('foo')); |
| 1309 } | 1309 } |
| 1310 buildCounterPrivileges--; | 1310 buildCounterPrivileges--; |
| 1311 } | 1311 } |
| 1312 | 1312 |
| 1313 core.int buildCounterRoleRolePrivileges = 0; | 1313 core.int buildCounterRoleRolePrivileges = 0; |
| 1314 buildRoleRolePrivileges() { | 1314 buildRoleRolePrivileges() { |
| 1315 var o = new api.RoleRolePrivileges(); | 1315 var o = new api.RoleRolePrivileges(); |
| 1316 buildCounterRoleRolePrivileges++; | 1316 buildCounterRoleRolePrivileges++; |
| 1317 if (buildCounterRoleRolePrivileges < 3) { | 1317 if (buildCounterRoleRolePrivileges < 3) { |
| 1318 o.privilegeName = "foo"; | 1318 o.privilegeName = "foo"; |
| 1319 o.serviceId = "foo"; | 1319 o.serviceId = "foo"; |
| 1320 } | 1320 } |
| 1321 buildCounterRoleRolePrivileges--; | 1321 buildCounterRoleRolePrivileges--; |
| 1322 return o; | 1322 return o; |
| 1323 } | 1323 } |
| 1324 | 1324 |
| 1325 checkRoleRolePrivileges(api.RoleRolePrivileges o) { | 1325 checkRoleRolePrivileges(api.RoleRolePrivileges o) { |
| 1326 buildCounterRoleRolePrivileges++; | 1326 buildCounterRoleRolePrivileges++; |
| 1327 if (buildCounterRoleRolePrivileges < 3) { | 1327 if (buildCounterRoleRolePrivileges < 3) { |
| 1328 unittest.expect(o.privilegeName, unittest.equals('foo')); | 1328 unittest.expect(o.privilegeName, unittest.equals('foo')); |
| 1329 unittest.expect(o.serviceId, unittest.equals('foo')); | 1329 unittest.expect(o.serviceId, unittest.equals('foo')); |
| 1330 } | 1330 } |
| 1331 buildCounterRoleRolePrivileges--; | 1331 buildCounterRoleRolePrivileges--; |
| 1332 } | 1332 } |
| 1333 | 1333 |
| 1334 buildUnnamed217() { | 1334 buildUnnamed940() { |
| 1335 var o = new core.List<api.RoleRolePrivileges>(); | 1335 var o = new core.List<api.RoleRolePrivileges>(); |
| 1336 o.add(buildRoleRolePrivileges()); | 1336 o.add(buildRoleRolePrivileges()); |
| 1337 o.add(buildRoleRolePrivileges()); | 1337 o.add(buildRoleRolePrivileges()); |
| 1338 return o; | 1338 return o; |
| 1339 } | 1339 } |
| 1340 | 1340 |
| 1341 checkUnnamed217(core.List<api.RoleRolePrivileges> o) { | 1341 checkUnnamed940(core.List<api.RoleRolePrivileges> o) { |
| 1342 unittest.expect(o, unittest.hasLength(2)); | 1342 unittest.expect(o, unittest.hasLength(2)); |
| 1343 checkRoleRolePrivileges(o[0]); | 1343 checkRoleRolePrivileges(o[0]); |
| 1344 checkRoleRolePrivileges(o[1]); | 1344 checkRoleRolePrivileges(o[1]); |
| 1345 } | 1345 } |
| 1346 | 1346 |
| 1347 core.int buildCounterRole = 0; | 1347 core.int buildCounterRole = 0; |
| 1348 buildRole() { | 1348 buildRole() { |
| 1349 var o = new api.Role(); | 1349 var o = new api.Role(); |
| 1350 buildCounterRole++; | 1350 buildCounterRole++; |
| 1351 if (buildCounterRole < 3) { | 1351 if (buildCounterRole < 3) { |
| 1352 o.etag = "foo"; | 1352 o.etag = "foo"; |
| 1353 o.isSuperAdminRole = true; | 1353 o.isSuperAdminRole = true; |
| 1354 o.isSystemRole = true; | 1354 o.isSystemRole = true; |
| 1355 o.kind = "foo"; | 1355 o.kind = "foo"; |
| 1356 o.roleDescription = "foo"; | 1356 o.roleDescription = "foo"; |
| 1357 o.roleId = "foo"; | 1357 o.roleId = "foo"; |
| 1358 o.roleName = "foo"; | 1358 o.roleName = "foo"; |
| 1359 o.rolePrivileges = buildUnnamed217(); | 1359 o.rolePrivileges = buildUnnamed940(); |
| 1360 } | 1360 } |
| 1361 buildCounterRole--; | 1361 buildCounterRole--; |
| 1362 return o; | 1362 return o; |
| 1363 } | 1363 } |
| 1364 | 1364 |
| 1365 checkRole(api.Role o) { | 1365 checkRole(api.Role o) { |
| 1366 buildCounterRole++; | 1366 buildCounterRole++; |
| 1367 if (buildCounterRole < 3) { | 1367 if (buildCounterRole < 3) { |
| 1368 unittest.expect(o.etag, unittest.equals('foo')); | 1368 unittest.expect(o.etag, unittest.equals('foo')); |
| 1369 unittest.expect(o.isSuperAdminRole, unittest.isTrue); | 1369 unittest.expect(o.isSuperAdminRole, unittest.isTrue); |
| 1370 unittest.expect(o.isSystemRole, unittest.isTrue); | 1370 unittest.expect(o.isSystemRole, unittest.isTrue); |
| 1371 unittest.expect(o.kind, unittest.equals('foo')); | 1371 unittest.expect(o.kind, unittest.equals('foo')); |
| 1372 unittest.expect(o.roleDescription, unittest.equals('foo')); | 1372 unittest.expect(o.roleDescription, unittest.equals('foo')); |
| 1373 unittest.expect(o.roleId, unittest.equals('foo')); | 1373 unittest.expect(o.roleId, unittest.equals('foo')); |
| 1374 unittest.expect(o.roleName, unittest.equals('foo')); | 1374 unittest.expect(o.roleName, unittest.equals('foo')); |
| 1375 checkUnnamed217(o.rolePrivileges); | 1375 checkUnnamed940(o.rolePrivileges); |
| 1376 } | 1376 } |
| 1377 buildCounterRole--; | 1377 buildCounterRole--; |
| 1378 } | 1378 } |
| 1379 | 1379 |
| 1380 core.int buildCounterRoleAssignment = 0; | 1380 core.int buildCounterRoleAssignment = 0; |
| 1381 buildRoleAssignment() { | 1381 buildRoleAssignment() { |
| 1382 var o = new api.RoleAssignment(); | 1382 var o = new api.RoleAssignment(); |
| 1383 buildCounterRoleAssignment++; | 1383 buildCounterRoleAssignment++; |
| 1384 if (buildCounterRoleAssignment < 3) { | 1384 if (buildCounterRoleAssignment < 3) { |
| 1385 o.assignedTo = "foo"; | 1385 o.assignedTo = "foo"; |
| (...skipping 15 matching lines...) Expand all Loading... |
| 1401 unittest.expect(o.etag, unittest.equals('foo')); | 1401 unittest.expect(o.etag, unittest.equals('foo')); |
| 1402 unittest.expect(o.kind, unittest.equals('foo')); | 1402 unittest.expect(o.kind, unittest.equals('foo')); |
| 1403 unittest.expect(o.orgUnitId, unittest.equals('foo')); | 1403 unittest.expect(o.orgUnitId, unittest.equals('foo')); |
| 1404 unittest.expect(o.roleAssignmentId, unittest.equals('foo')); | 1404 unittest.expect(o.roleAssignmentId, unittest.equals('foo')); |
| 1405 unittest.expect(o.roleId, unittest.equals('foo')); | 1405 unittest.expect(o.roleId, unittest.equals('foo')); |
| 1406 unittest.expect(o.scopeType, unittest.equals('foo')); | 1406 unittest.expect(o.scopeType, unittest.equals('foo')); |
| 1407 } | 1407 } |
| 1408 buildCounterRoleAssignment--; | 1408 buildCounterRoleAssignment--; |
| 1409 } | 1409 } |
| 1410 | 1410 |
| 1411 buildUnnamed218() { | 1411 buildUnnamed941() { |
| 1412 var o = new core.List<api.RoleAssignment>(); | 1412 var o = new core.List<api.RoleAssignment>(); |
| 1413 o.add(buildRoleAssignment()); | 1413 o.add(buildRoleAssignment()); |
| 1414 o.add(buildRoleAssignment()); | 1414 o.add(buildRoleAssignment()); |
| 1415 return o; | 1415 return o; |
| 1416 } | 1416 } |
| 1417 | 1417 |
| 1418 checkUnnamed218(core.List<api.RoleAssignment> o) { | 1418 checkUnnamed941(core.List<api.RoleAssignment> o) { |
| 1419 unittest.expect(o, unittest.hasLength(2)); | 1419 unittest.expect(o, unittest.hasLength(2)); |
| 1420 checkRoleAssignment(o[0]); | 1420 checkRoleAssignment(o[0]); |
| 1421 checkRoleAssignment(o[1]); | 1421 checkRoleAssignment(o[1]); |
| 1422 } | 1422 } |
| 1423 | 1423 |
| 1424 core.int buildCounterRoleAssignments = 0; | 1424 core.int buildCounterRoleAssignments = 0; |
| 1425 buildRoleAssignments() { | 1425 buildRoleAssignments() { |
| 1426 var o = new api.RoleAssignments(); | 1426 var o = new api.RoleAssignments(); |
| 1427 buildCounterRoleAssignments++; | 1427 buildCounterRoleAssignments++; |
| 1428 if (buildCounterRoleAssignments < 3) { | 1428 if (buildCounterRoleAssignments < 3) { |
| 1429 o.etag = "foo"; | 1429 o.etag = "foo"; |
| 1430 o.items = buildUnnamed218(); | 1430 o.items = buildUnnamed941(); |
| 1431 o.kind = "foo"; | 1431 o.kind = "foo"; |
| 1432 o.nextPageToken = "foo"; | 1432 o.nextPageToken = "foo"; |
| 1433 } | 1433 } |
| 1434 buildCounterRoleAssignments--; | 1434 buildCounterRoleAssignments--; |
| 1435 return o; | 1435 return o; |
| 1436 } | 1436 } |
| 1437 | 1437 |
| 1438 checkRoleAssignments(api.RoleAssignments o) { | 1438 checkRoleAssignments(api.RoleAssignments o) { |
| 1439 buildCounterRoleAssignments++; | 1439 buildCounterRoleAssignments++; |
| 1440 if (buildCounterRoleAssignments < 3) { | 1440 if (buildCounterRoleAssignments < 3) { |
| 1441 unittest.expect(o.etag, unittest.equals('foo')); | 1441 unittest.expect(o.etag, unittest.equals('foo')); |
| 1442 checkUnnamed218(o.items); | 1442 checkUnnamed941(o.items); |
| 1443 unittest.expect(o.kind, unittest.equals('foo')); | 1443 unittest.expect(o.kind, unittest.equals('foo')); |
| 1444 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1444 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1445 } | 1445 } |
| 1446 buildCounterRoleAssignments--; | 1446 buildCounterRoleAssignments--; |
| 1447 } | 1447 } |
| 1448 | 1448 |
| 1449 buildUnnamed219() { | 1449 buildUnnamed942() { |
| 1450 var o = new core.List<api.Role>(); | 1450 var o = new core.List<api.Role>(); |
| 1451 o.add(buildRole()); | 1451 o.add(buildRole()); |
| 1452 o.add(buildRole()); | 1452 o.add(buildRole()); |
| 1453 return o; | 1453 return o; |
| 1454 } | 1454 } |
| 1455 | 1455 |
| 1456 checkUnnamed219(core.List<api.Role> o) { | 1456 checkUnnamed942(core.List<api.Role> o) { |
| 1457 unittest.expect(o, unittest.hasLength(2)); | 1457 unittest.expect(o, unittest.hasLength(2)); |
| 1458 checkRole(o[0]); | 1458 checkRole(o[0]); |
| 1459 checkRole(o[1]); | 1459 checkRole(o[1]); |
| 1460 } | 1460 } |
| 1461 | 1461 |
| 1462 core.int buildCounterRoles = 0; | 1462 core.int buildCounterRoles = 0; |
| 1463 buildRoles() { | 1463 buildRoles() { |
| 1464 var o = new api.Roles(); | 1464 var o = new api.Roles(); |
| 1465 buildCounterRoles++; | 1465 buildCounterRoles++; |
| 1466 if (buildCounterRoles < 3) { | 1466 if (buildCounterRoles < 3) { |
| 1467 o.etag = "foo"; | 1467 o.etag = "foo"; |
| 1468 o.items = buildUnnamed219(); | 1468 o.items = buildUnnamed942(); |
| 1469 o.kind = "foo"; | 1469 o.kind = "foo"; |
| 1470 o.nextPageToken = "foo"; | 1470 o.nextPageToken = "foo"; |
| 1471 } | 1471 } |
| 1472 buildCounterRoles--; | 1472 buildCounterRoles--; |
| 1473 return o; | 1473 return o; |
| 1474 } | 1474 } |
| 1475 | 1475 |
| 1476 checkRoles(api.Roles o) { | 1476 checkRoles(api.Roles o) { |
| 1477 buildCounterRoles++; | 1477 buildCounterRoles++; |
| 1478 if (buildCounterRoles < 3) { | 1478 if (buildCounterRoles < 3) { |
| 1479 unittest.expect(o.etag, unittest.equals('foo')); | 1479 unittest.expect(o.etag, unittest.equals('foo')); |
| 1480 checkUnnamed219(o.items); | 1480 checkUnnamed942(o.items); |
| 1481 unittest.expect(o.kind, unittest.equals('foo')); | 1481 unittest.expect(o.kind, unittest.equals('foo')); |
| 1482 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1482 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1483 } | 1483 } |
| 1484 buildCounterRoles--; | 1484 buildCounterRoles--; |
| 1485 } | 1485 } |
| 1486 | 1486 |
| 1487 buildUnnamed220() { | 1487 buildUnnamed943() { |
| 1488 var o = new core.List<api.SchemaFieldSpec>(); | 1488 var o = new core.List<api.SchemaFieldSpec>(); |
| 1489 o.add(buildSchemaFieldSpec()); | 1489 o.add(buildSchemaFieldSpec()); |
| 1490 o.add(buildSchemaFieldSpec()); | 1490 o.add(buildSchemaFieldSpec()); |
| 1491 return o; | 1491 return o; |
| 1492 } | 1492 } |
| 1493 | 1493 |
| 1494 checkUnnamed220(core.List<api.SchemaFieldSpec> o) { | 1494 checkUnnamed943(core.List<api.SchemaFieldSpec> o) { |
| 1495 unittest.expect(o, unittest.hasLength(2)); | 1495 unittest.expect(o, unittest.hasLength(2)); |
| 1496 checkSchemaFieldSpec(o[0]); | 1496 checkSchemaFieldSpec(o[0]); |
| 1497 checkSchemaFieldSpec(o[1]); | 1497 checkSchemaFieldSpec(o[1]); |
| 1498 } | 1498 } |
| 1499 | 1499 |
| 1500 core.int buildCounterSchema = 0; | 1500 core.int buildCounterSchema = 0; |
| 1501 buildSchema() { | 1501 buildSchema() { |
| 1502 var o = new api.Schema(); | 1502 var o = new api.Schema(); |
| 1503 buildCounterSchema++; | 1503 buildCounterSchema++; |
| 1504 if (buildCounterSchema < 3) { | 1504 if (buildCounterSchema < 3) { |
| 1505 o.etag = "foo"; | 1505 o.etag = "foo"; |
| 1506 o.fields = buildUnnamed220(); | 1506 o.fields = buildUnnamed943(); |
| 1507 o.kind = "foo"; | 1507 o.kind = "foo"; |
| 1508 o.schemaId = "foo"; | 1508 o.schemaId = "foo"; |
| 1509 o.schemaName = "foo"; | 1509 o.schemaName = "foo"; |
| 1510 } | 1510 } |
| 1511 buildCounterSchema--; | 1511 buildCounterSchema--; |
| 1512 return o; | 1512 return o; |
| 1513 } | 1513 } |
| 1514 | 1514 |
| 1515 checkSchema(api.Schema o) { | 1515 checkSchema(api.Schema o) { |
| 1516 buildCounterSchema++; | 1516 buildCounterSchema++; |
| 1517 if (buildCounterSchema < 3) { | 1517 if (buildCounterSchema < 3) { |
| 1518 unittest.expect(o.etag, unittest.equals('foo')); | 1518 unittest.expect(o.etag, unittest.equals('foo')); |
| 1519 checkUnnamed220(o.fields); | 1519 checkUnnamed943(o.fields); |
| 1520 unittest.expect(o.kind, unittest.equals('foo')); | 1520 unittest.expect(o.kind, unittest.equals('foo')); |
| 1521 unittest.expect(o.schemaId, unittest.equals('foo')); | 1521 unittest.expect(o.schemaId, unittest.equals('foo')); |
| 1522 unittest.expect(o.schemaName, unittest.equals('foo')); | 1522 unittest.expect(o.schemaName, unittest.equals('foo')); |
| 1523 } | 1523 } |
| 1524 buildCounterSchema--; | 1524 buildCounterSchema--; |
| 1525 } | 1525 } |
| 1526 | 1526 |
| 1527 core.int buildCounterSchemaFieldSpecNumericIndexingSpec = 0; | 1527 core.int buildCounterSchemaFieldSpecNumericIndexingSpec = 0; |
| 1528 buildSchemaFieldSpecNumericIndexingSpec() { | 1528 buildSchemaFieldSpecNumericIndexingSpec() { |
| 1529 var o = new api.SchemaFieldSpecNumericIndexingSpec(); | 1529 var o = new api.SchemaFieldSpecNumericIndexingSpec(); |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1573 unittest.expect(o.fieldType, unittest.equals('foo')); | 1573 unittest.expect(o.fieldType, unittest.equals('foo')); |
| 1574 unittest.expect(o.indexed, unittest.isTrue); | 1574 unittest.expect(o.indexed, unittest.isTrue); |
| 1575 unittest.expect(o.kind, unittest.equals('foo')); | 1575 unittest.expect(o.kind, unittest.equals('foo')); |
| 1576 unittest.expect(o.multiValued, unittest.isTrue); | 1576 unittest.expect(o.multiValued, unittest.isTrue); |
| 1577 checkSchemaFieldSpecNumericIndexingSpec(o.numericIndexingSpec); | 1577 checkSchemaFieldSpecNumericIndexingSpec(o.numericIndexingSpec); |
| 1578 unittest.expect(o.readAccessType, unittest.equals('foo')); | 1578 unittest.expect(o.readAccessType, unittest.equals('foo')); |
| 1579 } | 1579 } |
| 1580 buildCounterSchemaFieldSpec--; | 1580 buildCounterSchemaFieldSpec--; |
| 1581 } | 1581 } |
| 1582 | 1582 |
| 1583 buildUnnamed221() { | 1583 buildUnnamed944() { |
| 1584 var o = new core.List<api.Schema>(); | 1584 var o = new core.List<api.Schema>(); |
| 1585 o.add(buildSchema()); | 1585 o.add(buildSchema()); |
| 1586 o.add(buildSchema()); | 1586 o.add(buildSchema()); |
| 1587 return o; | 1587 return o; |
| 1588 } | 1588 } |
| 1589 | 1589 |
| 1590 checkUnnamed221(core.List<api.Schema> o) { | 1590 checkUnnamed944(core.List<api.Schema> o) { |
| 1591 unittest.expect(o, unittest.hasLength(2)); | 1591 unittest.expect(o, unittest.hasLength(2)); |
| 1592 checkSchema(o[0]); | 1592 checkSchema(o[0]); |
| 1593 checkSchema(o[1]); | 1593 checkSchema(o[1]); |
| 1594 } | 1594 } |
| 1595 | 1595 |
| 1596 core.int buildCounterSchemas = 0; | 1596 core.int buildCounterSchemas = 0; |
| 1597 buildSchemas() { | 1597 buildSchemas() { |
| 1598 var o = new api.Schemas(); | 1598 var o = new api.Schemas(); |
| 1599 buildCounterSchemas++; | 1599 buildCounterSchemas++; |
| 1600 if (buildCounterSchemas < 3) { | 1600 if (buildCounterSchemas < 3) { |
| 1601 o.etag = "foo"; | 1601 o.etag = "foo"; |
| 1602 o.kind = "foo"; | 1602 o.kind = "foo"; |
| 1603 o.schemas = buildUnnamed221(); | 1603 o.schemas = buildUnnamed944(); |
| 1604 } | 1604 } |
| 1605 buildCounterSchemas--; | 1605 buildCounterSchemas--; |
| 1606 return o; | 1606 return o; |
| 1607 } | 1607 } |
| 1608 | 1608 |
| 1609 checkSchemas(api.Schemas o) { | 1609 checkSchemas(api.Schemas o) { |
| 1610 buildCounterSchemas++; | 1610 buildCounterSchemas++; |
| 1611 if (buildCounterSchemas < 3) { | 1611 if (buildCounterSchemas < 3) { |
| 1612 unittest.expect(o.etag, unittest.equals('foo')); | 1612 unittest.expect(o.etag, unittest.equals('foo')); |
| 1613 unittest.expect(o.kind, unittest.equals('foo')); | 1613 unittest.expect(o.kind, unittest.equals('foo')); |
| 1614 checkUnnamed221(o.schemas); | 1614 checkUnnamed944(o.schemas); |
| 1615 } | 1615 } |
| 1616 buildCounterSchemas--; | 1616 buildCounterSchemas--; |
| 1617 } | 1617 } |
| 1618 | 1618 |
| 1619 buildUnnamed222() { | 1619 buildUnnamed945() { |
| 1620 var o = new core.List<core.String>(); | 1620 var o = new core.List<core.String>(); |
| 1621 o.add("foo"); | 1621 o.add("foo"); |
| 1622 o.add("foo"); | 1622 o.add("foo"); |
| 1623 return o; | 1623 return o; |
| 1624 } | 1624 } |
| 1625 | 1625 |
| 1626 checkUnnamed222(core.List<core.String> o) { | 1626 checkUnnamed945(core.List<core.String> o) { |
| 1627 unittest.expect(o, unittest.hasLength(2)); | 1627 unittest.expect(o, unittest.hasLength(2)); |
| 1628 unittest.expect(o[0], unittest.equals('foo')); | 1628 unittest.expect(o[0], unittest.equals('foo')); |
| 1629 unittest.expect(o[1], unittest.equals('foo')); | 1629 unittest.expect(o[1], unittest.equals('foo')); |
| 1630 } | 1630 } |
| 1631 | 1631 |
| 1632 core.int buildCounterToken = 0; | 1632 core.int buildCounterToken = 0; |
| 1633 buildToken() { | 1633 buildToken() { |
| 1634 var o = new api.Token(); | 1634 var o = new api.Token(); |
| 1635 buildCounterToken++; | 1635 buildCounterToken++; |
| 1636 if (buildCounterToken < 3) { | 1636 if (buildCounterToken < 3) { |
| 1637 o.anonymous = true; | 1637 o.anonymous = true; |
| 1638 o.clientId = "foo"; | 1638 o.clientId = "foo"; |
| 1639 o.displayText = "foo"; | 1639 o.displayText = "foo"; |
| 1640 o.etag = "foo"; | 1640 o.etag = "foo"; |
| 1641 o.kind = "foo"; | 1641 o.kind = "foo"; |
| 1642 o.nativeApp = true; | 1642 o.nativeApp = true; |
| 1643 o.scopes = buildUnnamed222(); | 1643 o.scopes = buildUnnamed945(); |
| 1644 o.userKey = "foo"; | 1644 o.userKey = "foo"; |
| 1645 } | 1645 } |
| 1646 buildCounterToken--; | 1646 buildCounterToken--; |
| 1647 return o; | 1647 return o; |
| 1648 } | 1648 } |
| 1649 | 1649 |
| 1650 checkToken(api.Token o) { | 1650 checkToken(api.Token o) { |
| 1651 buildCounterToken++; | 1651 buildCounterToken++; |
| 1652 if (buildCounterToken < 3) { | 1652 if (buildCounterToken < 3) { |
| 1653 unittest.expect(o.anonymous, unittest.isTrue); | 1653 unittest.expect(o.anonymous, unittest.isTrue); |
| 1654 unittest.expect(o.clientId, unittest.equals('foo')); | 1654 unittest.expect(o.clientId, unittest.equals('foo')); |
| 1655 unittest.expect(o.displayText, unittest.equals('foo')); | 1655 unittest.expect(o.displayText, unittest.equals('foo')); |
| 1656 unittest.expect(o.etag, unittest.equals('foo')); | 1656 unittest.expect(o.etag, unittest.equals('foo')); |
| 1657 unittest.expect(o.kind, unittest.equals('foo')); | 1657 unittest.expect(o.kind, unittest.equals('foo')); |
| 1658 unittest.expect(o.nativeApp, unittest.isTrue); | 1658 unittest.expect(o.nativeApp, unittest.isTrue); |
| 1659 checkUnnamed222(o.scopes); | 1659 checkUnnamed945(o.scopes); |
| 1660 unittest.expect(o.userKey, unittest.equals('foo')); | 1660 unittest.expect(o.userKey, unittest.equals('foo')); |
| 1661 } | 1661 } |
| 1662 buildCounterToken--; | 1662 buildCounterToken--; |
| 1663 } | 1663 } |
| 1664 | 1664 |
| 1665 buildUnnamed223() { | 1665 buildUnnamed946() { |
| 1666 var o = new core.List<api.Token>(); | 1666 var o = new core.List<api.Token>(); |
| 1667 o.add(buildToken()); | 1667 o.add(buildToken()); |
| 1668 o.add(buildToken()); | 1668 o.add(buildToken()); |
| 1669 return o; | 1669 return o; |
| 1670 } | 1670 } |
| 1671 | 1671 |
| 1672 checkUnnamed223(core.List<api.Token> o) { | 1672 checkUnnamed946(core.List<api.Token> o) { |
| 1673 unittest.expect(o, unittest.hasLength(2)); | 1673 unittest.expect(o, unittest.hasLength(2)); |
| 1674 checkToken(o[0]); | 1674 checkToken(o[0]); |
| 1675 checkToken(o[1]); | 1675 checkToken(o[1]); |
| 1676 } | 1676 } |
| 1677 | 1677 |
| 1678 core.int buildCounterTokens = 0; | 1678 core.int buildCounterTokens = 0; |
| 1679 buildTokens() { | 1679 buildTokens() { |
| 1680 var o = new api.Tokens(); | 1680 var o = new api.Tokens(); |
| 1681 buildCounterTokens++; | 1681 buildCounterTokens++; |
| 1682 if (buildCounterTokens < 3) { | 1682 if (buildCounterTokens < 3) { |
| 1683 o.etag = "foo"; | 1683 o.etag = "foo"; |
| 1684 o.items = buildUnnamed223(); | 1684 o.items = buildUnnamed946(); |
| 1685 o.kind = "foo"; | 1685 o.kind = "foo"; |
| 1686 } | 1686 } |
| 1687 buildCounterTokens--; | 1687 buildCounterTokens--; |
| 1688 return o; | 1688 return o; |
| 1689 } | 1689 } |
| 1690 | 1690 |
| 1691 checkTokens(api.Tokens o) { | 1691 checkTokens(api.Tokens o) { |
| 1692 buildCounterTokens++; | 1692 buildCounterTokens++; |
| 1693 if (buildCounterTokens < 3) { | 1693 if (buildCounterTokens < 3) { |
| 1694 unittest.expect(o.etag, unittest.equals('foo')); | 1694 unittest.expect(o.etag, unittest.equals('foo')); |
| 1695 checkUnnamed223(o.items); | 1695 checkUnnamed946(o.items); |
| 1696 unittest.expect(o.kind, unittest.equals('foo')); | 1696 unittest.expect(o.kind, unittest.equals('foo')); |
| 1697 } | 1697 } |
| 1698 buildCounterTokens--; | 1698 buildCounterTokens--; |
| 1699 } | 1699 } |
| 1700 | 1700 |
| 1701 buildUnnamed224() { | 1701 buildUnnamed947() { |
| 1702 var o = new core.List<core.String>(); | 1702 var o = new core.List<core.String>(); |
| 1703 o.add("foo"); | 1703 o.add("foo"); |
| 1704 o.add("foo"); | 1704 o.add("foo"); |
| 1705 return o; | 1705 return o; |
| 1706 } | 1706 } |
| 1707 | 1707 |
| 1708 checkUnnamed224(core.List<core.String> o) { | 1708 checkUnnamed947(core.List<core.String> o) { |
| 1709 unittest.expect(o, unittest.hasLength(2)); | 1709 unittest.expect(o, unittest.hasLength(2)); |
| 1710 unittest.expect(o[0], unittest.equals('foo')); | 1710 unittest.expect(o[0], unittest.equals('foo')); |
| 1711 unittest.expect(o[1], unittest.equals('foo')); | 1711 unittest.expect(o[1], unittest.equals('foo')); |
| 1712 } | 1712 } |
| 1713 | 1713 |
| 1714 buildUnnamed225() { | 1714 buildUnnamed948() { |
| 1715 var o = new core.Map<core.String, api.UserCustomProperties>(); | 1715 var o = new core.Map<core.String, api.UserCustomProperties>(); |
| 1716 o["x"] = buildUserCustomProperties(); | 1716 o["x"] = buildUserCustomProperties(); |
| 1717 o["y"] = buildUserCustomProperties(); | 1717 o["y"] = buildUserCustomProperties(); |
| 1718 return o; | 1718 return o; |
| 1719 } | 1719 } |
| 1720 | 1720 |
| 1721 checkUnnamed225(core.Map<core.String, api.UserCustomProperties> o) { | 1721 checkUnnamed948(core.Map<core.String, api.UserCustomProperties> o) { |
| 1722 unittest.expect(o, unittest.hasLength(2)); | 1722 unittest.expect(o, unittest.hasLength(2)); |
| 1723 checkUserCustomProperties(o["x"]); | 1723 checkUserCustomProperties(o["x"]); |
| 1724 checkUserCustomProperties(o["y"]); | 1724 checkUserCustomProperties(o["y"]); |
| 1725 } | 1725 } |
| 1726 | 1726 |
| 1727 buildUnnamed226() { | 1727 buildUnnamed949() { |
| 1728 var o = new core.List<core.String>(); | 1728 var o = new core.List<core.String>(); |
| 1729 o.add("foo"); | 1729 o.add("foo"); |
| 1730 o.add("foo"); | 1730 o.add("foo"); |
| 1731 return o; | 1731 return o; |
| 1732 } | 1732 } |
| 1733 | 1733 |
| 1734 checkUnnamed226(core.List<core.String> o) { | 1734 checkUnnamed949(core.List<core.String> o) { |
| 1735 unittest.expect(o, unittest.hasLength(2)); | 1735 unittest.expect(o, unittest.hasLength(2)); |
| 1736 unittest.expect(o[0], unittest.equals('foo')); | 1736 unittest.expect(o[0], unittest.equals('foo')); |
| 1737 unittest.expect(o[1], unittest.equals('foo')); | 1737 unittest.expect(o[1], unittest.equals('foo')); |
| 1738 } | 1738 } |
| 1739 | 1739 |
| 1740 core.int buildCounterUser = 0; | 1740 core.int buildCounterUser = 0; |
| 1741 buildUser() { | 1741 buildUser() { |
| 1742 var o = new api.User(); | 1742 var o = new api.User(); |
| 1743 buildCounterUser++; | 1743 buildCounterUser++; |
| 1744 if (buildCounterUser < 3) { | 1744 if (buildCounterUser < 3) { |
| 1745 o.addresses = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1745 o.addresses = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 1746 o.agreedToTerms = true; | 1746 o.agreedToTerms = true; |
| 1747 o.aliases = buildUnnamed224(); | 1747 o.aliases = buildUnnamed947(); |
| 1748 o.changePasswordAtNextLogin = true; | 1748 o.changePasswordAtNextLogin = true; |
| 1749 o.creationTime = core.DateTime.parse("2002-02-27T14:01:02"); | 1749 o.creationTime = core.DateTime.parse("2002-02-27T14:01:02"); |
| 1750 o.customSchemas = buildUnnamed225(); | 1750 o.customSchemas = buildUnnamed948(); |
| 1751 o.customerId = "foo"; | 1751 o.customerId = "foo"; |
| 1752 o.deletionTime = core.DateTime.parse("2002-02-27T14:01:02"); | 1752 o.deletionTime = core.DateTime.parse("2002-02-27T14:01:02"); |
| 1753 o.emails = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1753 o.emails = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 1754 o.etag = "foo"; | 1754 o.etag = "foo"; |
| 1755 o.externalIds = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1755 o.externalIds = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 1756 o.hashFunction = "foo"; | 1756 o.hashFunction = "foo"; |
| 1757 o.id = "foo"; | 1757 o.id = "foo"; |
| 1758 o.ims = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1758 o.ims = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 1759 o.includeInGlobalAddressList = true; | 1759 o.includeInGlobalAddressList = true; |
| 1760 o.ipWhitelisted = true; | 1760 o.ipWhitelisted = true; |
| 1761 o.isAdmin = true; | 1761 o.isAdmin = true; |
| 1762 o.isDelegatedAdmin = true; | 1762 o.isDelegatedAdmin = true; |
| 1763 o.isMailboxSetup = true; | 1763 o.isMailboxSetup = true; |
| 1764 o.kind = "foo"; | 1764 o.kind = "foo"; |
| 1765 o.lastLoginTime = core.DateTime.parse("2002-02-27T14:01:02"); | 1765 o.lastLoginTime = core.DateTime.parse("2002-02-27T14:01:02"); |
| 1766 o.name = buildUserName(); | 1766 o.name = buildUserName(); |
| 1767 o.nonEditableAliases = buildUnnamed226(); | 1767 o.nonEditableAliases = buildUnnamed949(); |
| 1768 o.notes = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1768 o.notes = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 1769 o.orgUnitPath = "foo"; | 1769 o.orgUnitPath = "foo"; |
| 1770 o.organizations = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1770 o.organizations = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 1771 o.password = "foo"; | 1771 o.password = "foo"; |
| 1772 o.phones = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1772 o.phones = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 1773 o.primaryEmail = "foo"; | 1773 o.primaryEmail = "foo"; |
| 1774 o.relations = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1774 o.relations = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 1775 o.suspended = true; | 1775 o.suspended = true; |
| 1776 o.suspensionReason = "foo"; | 1776 o.suspensionReason = "foo"; |
| 1777 o.thumbnailPhotoEtag = "foo"; | 1777 o.thumbnailPhotoEtag = "foo"; |
| 1778 o.thumbnailPhotoUrl = "foo"; | 1778 o.thumbnailPhotoUrl = "foo"; |
| 1779 o.websites = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1779 o.websites = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 1780 } | 1780 } |
| 1781 buildCounterUser--; | 1781 buildCounterUser--; |
| 1782 return o; | 1782 return o; |
| 1783 } | 1783 } |
| 1784 | 1784 |
| 1785 checkUser(api.User o) { | 1785 checkUser(api.User o) { |
| 1786 buildCounterUser++; | 1786 buildCounterUser++; |
| 1787 if (buildCounterUser < 3) { | 1787 if (buildCounterUser < 3) { |
| 1788 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')); | 1788 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')); |
| 1789 unittest.expect(o.agreedToTerms, unittest.isTrue); | 1789 unittest.expect(o.agreedToTerms, unittest.isTrue); |
| 1790 checkUnnamed224(o.aliases); | 1790 checkUnnamed947(o.aliases); |
| 1791 unittest.expect(o.changePasswordAtNextLogin, unittest.isTrue); | 1791 unittest.expect(o.changePasswordAtNextLogin, unittest.isTrue); |
| 1792 unittest.expect(o.creationTime, unittest.equals(core.DateTime.parse("2002-02
-27T14:01:02"))); | 1792 unittest.expect(o.creationTime, unittest.equals(core.DateTime.parse("2002-02
-27T14:01:02"))); |
| 1793 checkUnnamed225(o.customSchemas); | 1793 checkUnnamed948(o.customSchemas); |
| 1794 unittest.expect(o.customerId, unittest.equals('foo')); | 1794 unittest.expect(o.customerId, unittest.equals('foo')); |
| 1795 unittest.expect(o.deletionTime, unittest.equals(core.DateTime.parse("2002-02
-27T14:01:02"))); | 1795 unittest.expect(o.deletionTime, unittest.equals(core.DateTime.parse("2002-02
-27T14:01:02"))); |
| 1796 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')); | 1796 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')); |
| 1797 unittest.expect(o.etag, unittest.equals('foo')); | 1797 unittest.expect(o.etag, unittest.equals('foo')); |
| 1798 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')); | 1798 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')); |
| 1799 unittest.expect(o.hashFunction, unittest.equals('foo')); | 1799 unittest.expect(o.hashFunction, unittest.equals('foo')); |
| 1800 unittest.expect(o.id, unittest.equals('foo')); | 1800 unittest.expect(o.id, unittest.equals('foo')); |
| 1801 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')); | 1801 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')); |
| 1802 unittest.expect(o.includeInGlobalAddressList, unittest.isTrue); | 1802 unittest.expect(o.includeInGlobalAddressList, unittest.isTrue); |
| 1803 unittest.expect(o.ipWhitelisted, unittest.isTrue); | 1803 unittest.expect(o.ipWhitelisted, unittest.isTrue); |
| 1804 unittest.expect(o.isAdmin, unittest.isTrue); | 1804 unittest.expect(o.isAdmin, unittest.isTrue); |
| 1805 unittest.expect(o.isDelegatedAdmin, unittest.isTrue); | 1805 unittest.expect(o.isDelegatedAdmin, unittest.isTrue); |
| 1806 unittest.expect(o.isMailboxSetup, unittest.isTrue); | 1806 unittest.expect(o.isMailboxSetup, unittest.isTrue); |
| 1807 unittest.expect(o.kind, unittest.equals('foo')); | 1807 unittest.expect(o.kind, unittest.equals('foo')); |
| 1808 unittest.expect(o.lastLoginTime, unittest.equals(core.DateTime.parse("2002-0
2-27T14:01:02"))); | 1808 unittest.expect(o.lastLoginTime, unittest.equals(core.DateTime.parse("2002-0
2-27T14:01:02"))); |
| 1809 checkUserName(o.name); | 1809 checkUserName(o.name); |
| 1810 checkUnnamed226(o.nonEditableAliases); | 1810 checkUnnamed949(o.nonEditableAliases); |
| 1811 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')); | 1811 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')); |
| 1812 unittest.expect(o.orgUnitPath, unittest.equals('foo')); | 1812 unittest.expect(o.orgUnitPath, unittest.equals('foo')); |
| 1813 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')); | 1813 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')); |
| 1814 unittest.expect(o.password, unittest.equals('foo')); | 1814 unittest.expect(o.password, unittest.equals('foo')); |
| 1815 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')); | 1815 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')); |
| 1816 unittest.expect(o.primaryEmail, unittest.equals('foo')); | 1816 unittest.expect(o.primaryEmail, unittest.equals('foo')); |
| 1817 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')); | 1817 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')); |
| 1818 unittest.expect(o.suspended, unittest.isTrue); | 1818 unittest.expect(o.suspended, unittest.isTrue); |
| 1819 unittest.expect(o.suspensionReason, unittest.equals('foo')); | 1819 unittest.expect(o.suspensionReason, unittest.equals('foo')); |
| 1820 unittest.expect(o.thumbnailPhotoEtag, unittest.equals('foo')); | 1820 unittest.expect(o.thumbnailPhotoEtag, unittest.equals('foo')); |
| (...skipping 356 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2177 buildCounterUserWebsite++; | 2177 buildCounterUserWebsite++; |
| 2178 if (buildCounterUserWebsite < 3) { | 2178 if (buildCounterUserWebsite < 3) { |
| 2179 unittest.expect(o.customType, unittest.equals('foo')); | 2179 unittest.expect(o.customType, unittest.equals('foo')); |
| 2180 unittest.expect(o.primary, unittest.isTrue); | 2180 unittest.expect(o.primary, unittest.isTrue); |
| 2181 unittest.expect(o.type, unittest.equals('foo')); | 2181 unittest.expect(o.type, unittest.equals('foo')); |
| 2182 unittest.expect(o.value, unittest.equals('foo')); | 2182 unittest.expect(o.value, unittest.equals('foo')); |
| 2183 } | 2183 } |
| 2184 buildCounterUserWebsite--; | 2184 buildCounterUserWebsite--; |
| 2185 } | 2185 } |
| 2186 | 2186 |
| 2187 buildUnnamed227() { | 2187 buildUnnamed950() { |
| 2188 var o = new core.List<api.User>(); | 2188 var o = new core.List<api.User>(); |
| 2189 o.add(buildUser()); | 2189 o.add(buildUser()); |
| 2190 o.add(buildUser()); | 2190 o.add(buildUser()); |
| 2191 return o; | 2191 return o; |
| 2192 } | 2192 } |
| 2193 | 2193 |
| 2194 checkUnnamed227(core.List<api.User> o) { | 2194 checkUnnamed950(core.List<api.User> o) { |
| 2195 unittest.expect(o, unittest.hasLength(2)); | 2195 unittest.expect(o, unittest.hasLength(2)); |
| 2196 checkUser(o[0]); | 2196 checkUser(o[0]); |
| 2197 checkUser(o[1]); | 2197 checkUser(o[1]); |
| 2198 } | 2198 } |
| 2199 | 2199 |
| 2200 core.int buildCounterUsers = 0; | 2200 core.int buildCounterUsers = 0; |
| 2201 buildUsers() { | 2201 buildUsers() { |
| 2202 var o = new api.Users(); | 2202 var o = new api.Users(); |
| 2203 buildCounterUsers++; | 2203 buildCounterUsers++; |
| 2204 if (buildCounterUsers < 3) { | 2204 if (buildCounterUsers < 3) { |
| 2205 o.etag = "foo"; | 2205 o.etag = "foo"; |
| 2206 o.kind = "foo"; | 2206 o.kind = "foo"; |
| 2207 o.nextPageToken = "foo"; | 2207 o.nextPageToken = "foo"; |
| 2208 o.triggerEvent = "foo"; | 2208 o.triggerEvent = "foo"; |
| 2209 o.users = buildUnnamed227(); | 2209 o.users = buildUnnamed950(); |
| 2210 } | 2210 } |
| 2211 buildCounterUsers--; | 2211 buildCounterUsers--; |
| 2212 return o; | 2212 return o; |
| 2213 } | 2213 } |
| 2214 | 2214 |
| 2215 checkUsers(api.Users o) { | 2215 checkUsers(api.Users o) { |
| 2216 buildCounterUsers++; | 2216 buildCounterUsers++; |
| 2217 if (buildCounterUsers < 3) { | 2217 if (buildCounterUsers < 3) { |
| 2218 unittest.expect(o.etag, unittest.equals('foo')); | 2218 unittest.expect(o.etag, unittest.equals('foo')); |
| 2219 unittest.expect(o.kind, unittest.equals('foo')); | 2219 unittest.expect(o.kind, unittest.equals('foo')); |
| 2220 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 2220 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 2221 unittest.expect(o.triggerEvent, unittest.equals('foo')); | 2221 unittest.expect(o.triggerEvent, unittest.equals('foo')); |
| 2222 checkUnnamed227(o.users); | 2222 checkUnnamed950(o.users); |
| 2223 } | 2223 } |
| 2224 buildCounterUsers--; | 2224 buildCounterUsers--; |
| 2225 } | 2225 } |
| 2226 | 2226 |
| 2227 core.int buildCounterVerificationCode = 0; | 2227 core.int buildCounterVerificationCode = 0; |
| 2228 buildVerificationCode() { | 2228 buildVerificationCode() { |
| 2229 var o = new api.VerificationCode(); | 2229 var o = new api.VerificationCode(); |
| 2230 buildCounterVerificationCode++; | 2230 buildCounterVerificationCode++; |
| 2231 if (buildCounterVerificationCode < 3) { | 2231 if (buildCounterVerificationCode < 3) { |
| 2232 o.etag = "foo"; | 2232 o.etag = "foo"; |
| 2233 o.kind = "foo"; | 2233 o.kind = "foo"; |
| 2234 o.userId = "foo"; | 2234 o.userId = "foo"; |
| 2235 o.verificationCode = "foo"; | 2235 o.verificationCode = "foo"; |
| 2236 } | 2236 } |
| 2237 buildCounterVerificationCode--; | 2237 buildCounterVerificationCode--; |
| 2238 return o; | 2238 return o; |
| 2239 } | 2239 } |
| 2240 | 2240 |
| 2241 checkVerificationCode(api.VerificationCode o) { | 2241 checkVerificationCode(api.VerificationCode o) { |
| 2242 buildCounterVerificationCode++; | 2242 buildCounterVerificationCode++; |
| 2243 if (buildCounterVerificationCode < 3) { | 2243 if (buildCounterVerificationCode < 3) { |
| 2244 unittest.expect(o.etag, unittest.equals('foo')); | 2244 unittest.expect(o.etag, unittest.equals('foo')); |
| 2245 unittest.expect(o.kind, unittest.equals('foo')); | 2245 unittest.expect(o.kind, unittest.equals('foo')); |
| 2246 unittest.expect(o.userId, unittest.equals('foo')); | 2246 unittest.expect(o.userId, unittest.equals('foo')); |
| 2247 unittest.expect(o.verificationCode, unittest.equals('foo')); | 2247 unittest.expect(o.verificationCode, unittest.equals('foo')); |
| 2248 } | 2248 } |
| 2249 buildCounterVerificationCode--; | 2249 buildCounterVerificationCode--; |
| 2250 } | 2250 } |
| 2251 | 2251 |
| 2252 buildUnnamed228() { | 2252 buildUnnamed951() { |
| 2253 var o = new core.List<api.VerificationCode>(); | 2253 var o = new core.List<api.VerificationCode>(); |
| 2254 o.add(buildVerificationCode()); | 2254 o.add(buildVerificationCode()); |
| 2255 o.add(buildVerificationCode()); | 2255 o.add(buildVerificationCode()); |
| 2256 return o; | 2256 return o; |
| 2257 } | 2257 } |
| 2258 | 2258 |
| 2259 checkUnnamed228(core.List<api.VerificationCode> o) { | 2259 checkUnnamed951(core.List<api.VerificationCode> o) { |
| 2260 unittest.expect(o, unittest.hasLength(2)); | 2260 unittest.expect(o, unittest.hasLength(2)); |
| 2261 checkVerificationCode(o[0]); | 2261 checkVerificationCode(o[0]); |
| 2262 checkVerificationCode(o[1]); | 2262 checkVerificationCode(o[1]); |
| 2263 } | 2263 } |
| 2264 | 2264 |
| 2265 core.int buildCounterVerificationCodes = 0; | 2265 core.int buildCounterVerificationCodes = 0; |
| 2266 buildVerificationCodes() { | 2266 buildVerificationCodes() { |
| 2267 var o = new api.VerificationCodes(); | 2267 var o = new api.VerificationCodes(); |
| 2268 buildCounterVerificationCodes++; | 2268 buildCounterVerificationCodes++; |
| 2269 if (buildCounterVerificationCodes < 3) { | 2269 if (buildCounterVerificationCodes < 3) { |
| 2270 o.etag = "foo"; | 2270 o.etag = "foo"; |
| 2271 o.items = buildUnnamed228(); | 2271 o.items = buildUnnamed951(); |
| 2272 o.kind = "foo"; | 2272 o.kind = "foo"; |
| 2273 } | 2273 } |
| 2274 buildCounterVerificationCodes--; | 2274 buildCounterVerificationCodes--; |
| 2275 return o; | 2275 return o; |
| 2276 } | 2276 } |
| 2277 | 2277 |
| 2278 checkVerificationCodes(api.VerificationCodes o) { | 2278 checkVerificationCodes(api.VerificationCodes o) { |
| 2279 buildCounterVerificationCodes++; | 2279 buildCounterVerificationCodes++; |
| 2280 if (buildCounterVerificationCodes < 3) { | 2280 if (buildCounterVerificationCodes < 3) { |
| 2281 unittest.expect(o.etag, unittest.equals('foo')); | 2281 unittest.expect(o.etag, unittest.equals('foo')); |
| 2282 checkUnnamed228(o.items); | 2282 checkUnnamed951(o.items); |
| 2283 unittest.expect(o.kind, unittest.equals('foo')); | 2283 unittest.expect(o.kind, unittest.equals('foo')); |
| 2284 } | 2284 } |
| 2285 buildCounterVerificationCodes--; | 2285 buildCounterVerificationCodes--; |
| 2286 } | 2286 } |
| 2287 | 2287 |
| 2288 buildUnnamed229() { | 2288 buildUnnamed952() { |
| 2289 var o = new core.List<core.String>(); | 2289 var o = new core.List<core.String>(); |
| 2290 o.add("foo"); | 2290 o.add("foo"); |
| 2291 o.add("foo"); | 2291 o.add("foo"); |
| 2292 return o; | 2292 return o; |
| 2293 } | 2293 } |
| 2294 | 2294 |
| 2295 checkUnnamed229(core.List<core.String> o) { | 2295 checkUnnamed952(core.List<core.String> o) { |
| 2296 unittest.expect(o, unittest.hasLength(2)); | 2296 unittest.expect(o, unittest.hasLength(2)); |
| 2297 unittest.expect(o[0], unittest.equals('foo')); | 2297 unittest.expect(o[0], unittest.equals('foo')); |
| 2298 unittest.expect(o[1], unittest.equals('foo')); | 2298 unittest.expect(o[1], unittest.equals('foo')); |
| 2299 } | 2299 } |
| 2300 | 2300 |
| 2301 buildUnnamed230() { | 2301 buildUnnamed953() { |
| 2302 var o = new core.List<core.String>(); | 2302 var o = new core.List<core.String>(); |
| 2303 o.add("foo"); | 2303 o.add("foo"); |
| 2304 o.add("foo"); | 2304 o.add("foo"); |
| 2305 return o; | 2305 return o; |
| 2306 } | 2306 } |
| 2307 | 2307 |
| 2308 checkUnnamed230(core.List<core.String> o) { | 2308 checkUnnamed953(core.List<core.String> o) { |
| 2309 unittest.expect(o, unittest.hasLength(2)); | 2309 unittest.expect(o, unittest.hasLength(2)); |
| 2310 unittest.expect(o[0], unittest.equals('foo')); | 2310 unittest.expect(o[0], unittest.equals('foo')); |
| 2311 unittest.expect(o[1], unittest.equals('foo')); | 2311 unittest.expect(o[1], unittest.equals('foo')); |
| 2312 } | 2312 } |
| 2313 | 2313 |
| 2314 buildUnnamed231() { | 2314 buildUnnamed954() { |
| 2315 var o = new core.List<core.String>(); | 2315 var o = new core.List<core.String>(); |
| 2316 o.add("foo"); | 2316 o.add("foo"); |
| 2317 o.add("foo"); | 2317 o.add("foo"); |
| 2318 return o; | 2318 return o; |
| 2319 } | 2319 } |
| 2320 | 2320 |
| 2321 checkUnnamed231(core.List<core.String> o) { | 2321 checkUnnamed954(core.List<core.String> o) { |
| 2322 unittest.expect(o, unittest.hasLength(2)); | 2322 unittest.expect(o, unittest.hasLength(2)); |
| 2323 unittest.expect(o[0], unittest.equals('foo')); | 2323 unittest.expect(o[0], unittest.equals('foo')); |
| 2324 unittest.expect(o[1], unittest.equals('foo')); | 2324 unittest.expect(o[1], unittest.equals('foo')); |
| 2325 } | 2325 } |
| 2326 | 2326 |
| 2327 buildUnnamed232() { | 2327 buildUnnamed955() { |
| 2328 var o = new core.List<core.String>(); | 2328 var o = new core.List<core.String>(); |
| 2329 o.add("foo"); | 2329 o.add("foo"); |
| 2330 o.add("foo"); | 2330 o.add("foo"); |
| 2331 return o; | 2331 return o; |
| 2332 } | 2332 } |
| 2333 | 2333 |
| 2334 checkUnnamed232(core.List<core.String> o) { | 2334 checkUnnamed955(core.List<core.String> o) { |
| 2335 unittest.expect(o, unittest.hasLength(2)); | 2335 unittest.expect(o, unittest.hasLength(2)); |
| 2336 unittest.expect(o[0], unittest.equals('foo')); | 2336 unittest.expect(o[0], unittest.equals('foo')); |
| 2337 unittest.expect(o[1], unittest.equals('foo')); | 2337 unittest.expect(o[1], unittest.equals('foo')); |
| 2338 } | 2338 } |
| 2339 | 2339 |
| 2340 | 2340 |
| 2341 main() { | 2341 main() { |
| 2342 unittest.group("obj-schema-Alias", () { | 2342 unittest.group("obj-schema-Alias", () { |
| 2343 unittest.test("to-json--from-json", () { | 2343 unittest.test("to-json--from-json", () { |
| 2344 var o = buildAlias(); | 2344 var o = buildAlias(); |
| (...skipping 2994 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5339 | 5339 |
| 5340 }); | 5340 }); |
| 5341 | 5341 |
| 5342 | 5342 |
| 5343 unittest.group("resource-OrgunitsResourceApi", () { | 5343 unittest.group("resource-OrgunitsResourceApi", () { |
| 5344 unittest.test("method--delete", () { | 5344 unittest.test("method--delete", () { |
| 5345 | 5345 |
| 5346 var mock = new HttpServerMock(); | 5346 var mock = new HttpServerMock(); |
| 5347 api.OrgunitsResourceApi res = new api.AdminApi(mock).orgunits; | 5347 api.OrgunitsResourceApi res = new api.AdminApi(mock).orgunits; |
| 5348 var arg_customerId = "foo"; | 5348 var arg_customerId = "foo"; |
| 5349 var arg_orgUnitPath = buildUnnamed229(); | 5349 var arg_orgUnitPath = buildUnnamed952(); |
| 5350 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 5350 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 5351 var path = (req.url).path; | 5351 var path = (req.url).path; |
| 5352 var pathOffset = 0; | 5352 var pathOffset = 0; |
| 5353 var index; | 5353 var index; |
| 5354 var subPart; | 5354 var subPart; |
| 5355 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 5355 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 5356 pathOffset += 1; | 5356 pathOffset += 1; |
| 5357 unittest.expect(path.substring(pathOffset, pathOffset + 19), unittest.eq
uals("admin/directory/v1/")); | 5357 unittest.expect(path.substring(pathOffset, pathOffset + 19), unittest.eq
uals("admin/directory/v1/")); |
| 5358 pathOffset += 19; | 5358 pathOffset += 19; |
| 5359 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ
als("customer/")); | 5359 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ
als("customer/")); |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5393 return new async.Future.value(stringResponse(200, h, resp)); | 5393 return new async.Future.value(stringResponse(200, h, resp)); |
| 5394 }), true); | 5394 }), true); |
| 5395 res.delete(arg_customerId, arg_orgUnitPath).then(unittest.expectAsync((_)
{})); | 5395 res.delete(arg_customerId, arg_orgUnitPath).then(unittest.expectAsync((_)
{})); |
| 5396 }); | 5396 }); |
| 5397 | 5397 |
| 5398 unittest.test("method--get", () { | 5398 unittest.test("method--get", () { |
| 5399 | 5399 |
| 5400 var mock = new HttpServerMock(); | 5400 var mock = new HttpServerMock(); |
| 5401 api.OrgunitsResourceApi res = new api.AdminApi(mock).orgunits; | 5401 api.OrgunitsResourceApi res = new api.AdminApi(mock).orgunits; |
| 5402 var arg_customerId = "foo"; | 5402 var arg_customerId = "foo"; |
| 5403 var arg_orgUnitPath = buildUnnamed230(); | 5403 var arg_orgUnitPath = buildUnnamed953(); |
| 5404 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 5404 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 5405 var path = (req.url).path; | 5405 var path = (req.url).path; |
| 5406 var pathOffset = 0; | 5406 var pathOffset = 0; |
| 5407 var index; | 5407 var index; |
| 5408 var subPart; | 5408 var subPart; |
| 5409 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 5409 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 5410 pathOffset += 1; | 5410 pathOffset += 1; |
| 5411 unittest.expect(path.substring(pathOffset, pathOffset + 19), unittest.eq
uals("admin/directory/v1/")); | 5411 unittest.expect(path.substring(pathOffset, pathOffset + 19), unittest.eq
uals("admin/directory/v1/")); |
| 5412 pathOffset += 19; | 5412 pathOffset += 19; |
| 5413 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ
als("customer/")); | 5413 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ
als("customer/")); |
| (...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5564 checkOrgUnits(response); | 5564 checkOrgUnits(response); |
| 5565 }))); | 5565 }))); |
| 5566 }); | 5566 }); |
| 5567 | 5567 |
| 5568 unittest.test("method--patch", () { | 5568 unittest.test("method--patch", () { |
| 5569 | 5569 |
| 5570 var mock = new HttpServerMock(); | 5570 var mock = new HttpServerMock(); |
| 5571 api.OrgunitsResourceApi res = new api.AdminApi(mock).orgunits; | 5571 api.OrgunitsResourceApi res = new api.AdminApi(mock).orgunits; |
| 5572 var arg_request = buildOrgUnit(); | 5572 var arg_request = buildOrgUnit(); |
| 5573 var arg_customerId = "foo"; | 5573 var arg_customerId = "foo"; |
| 5574 var arg_orgUnitPath = buildUnnamed231(); | 5574 var arg_orgUnitPath = buildUnnamed954(); |
| 5575 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 5575 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 5576 var obj = new api.OrgUnit.fromJson(json); | 5576 var obj = new api.OrgUnit.fromJson(json); |
| 5577 checkOrgUnit(obj); | 5577 checkOrgUnit(obj); |
| 5578 | 5578 |
| 5579 var path = (req.url).path; | 5579 var path = (req.url).path; |
| 5580 var pathOffset = 0; | 5580 var pathOffset = 0; |
| 5581 var index; | 5581 var index; |
| 5582 var subPart; | 5582 var subPart; |
| 5583 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 5583 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 5584 pathOffset += 1; | 5584 pathOffset += 1; |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5624 checkOrgUnit(response); | 5624 checkOrgUnit(response); |
| 5625 }))); | 5625 }))); |
| 5626 }); | 5626 }); |
| 5627 | 5627 |
| 5628 unittest.test("method--update", () { | 5628 unittest.test("method--update", () { |
| 5629 | 5629 |
| 5630 var mock = new HttpServerMock(); | 5630 var mock = new HttpServerMock(); |
| 5631 api.OrgunitsResourceApi res = new api.AdminApi(mock).orgunits; | 5631 api.OrgunitsResourceApi res = new api.AdminApi(mock).orgunits; |
| 5632 var arg_request = buildOrgUnit(); | 5632 var arg_request = buildOrgUnit(); |
| 5633 var arg_customerId = "foo"; | 5633 var arg_customerId = "foo"; |
| 5634 var arg_orgUnitPath = buildUnnamed232(); | 5634 var arg_orgUnitPath = buildUnnamed955(); |
| 5635 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 5635 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 5636 var obj = new api.OrgUnit.fromJson(json); | 5636 var obj = new api.OrgUnit.fromJson(json); |
| 5637 checkOrgUnit(obj); | 5637 checkOrgUnit(obj); |
| 5638 | 5638 |
| 5639 var path = (req.url).path; | 5639 var path = (req.url).path; |
| 5640 var pathOffset = 0; | 5640 var pathOffset = 0; |
| 5641 var index; | 5641 var index; |
| 5642 var subPart; | 5642 var subPart; |
| 5643 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 5643 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 5644 pathOffset += 1; | 5644 pathOffset += 1; |
| (...skipping 2674 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 8319 res.list(arg_userKey).then(unittest.expectAsync(((api.VerificationCodes re
sponse) { | 8319 res.list(arg_userKey).then(unittest.expectAsync(((api.VerificationCodes re
sponse) { |
| 8320 checkVerificationCodes(response); | 8320 checkVerificationCodes(response); |
| 8321 }))); | 8321 }))); |
| 8322 }); | 8322 }); |
| 8323 | 8323 |
| 8324 }); | 8324 }); |
| 8325 | 8325 |
| 8326 | 8326 |
| 8327 } | 8327 } |
| 8328 | 8328 |
| OLD | NEW |