| 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 buildUnnamed708() { | 81 buildUnnamed729() { |
| 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 checkUnnamed708(core.List<core.Object> o) { | 88 checkUnnamed729(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 = buildUnnamed708(); | 99 o.aliases = buildUnnamed729(); |
| 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 checkUnnamed708(o.aliases); | 110 checkUnnamed729(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 buildUnnamed709() { | 148 buildUnnamed730() { |
| 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 checkUnnamed709(core.List<api.Asp> o) { | 155 checkUnnamed730(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 = buildUnnamed709(); | 167 o.items = buildUnnamed730(); |
| 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 checkUnnamed709(o.items); | 178 checkUnnamed730(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 buildUnnamed710() { | 215 buildUnnamed731() { |
| 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 checkUnnamed710(core.List<api.CalendarResource> o) { | 222 checkUnnamed731(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 = buildUnnamed710(); | 234 o.items = buildUnnamed731(); |
| 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 checkUnnamed710(o.items); | 246 checkUnnamed731(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 buildUnnamed711() { | 253 buildUnnamed732() { |
| 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 checkUnnamed711(core.Map<core.String, core.String> o) { | 260 checkUnnamed732(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 = buildUnnamed711(); | 275 o.params = buildUnnamed732(); |
| 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 checkUnnamed711(o.params); | 293 checkUnnamed732(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 buildUnnamed712() { | 324 buildUnnamed733() { |
| 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 checkUnnamed712(core.List<api.ChromeOsDeviceActiveTimeRanges> o) { | 331 checkUnnamed733(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 buildUnnamed713() { | 358 buildUnnamed734() { |
| 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 checkUnnamed713(core.List<api.ChromeOsDeviceRecentUsers> o) { | 365 checkUnnamed734(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 = buildUnnamed712(); | 376 o.activeTimeRanges = buildUnnamed733(); |
| 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 = buildUnnamed713(); | 396 o.recentUsers = buildUnnamed734(); |
| 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 checkUnnamed712(o.activeTimeRanges); | 409 checkUnnamed733(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 checkUnnamed713(o.recentUsers); | 429 checkUnnamed734(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 core.int buildCounterChromeOsDeviceAction = 0; | 438 core.int buildCounterChromeOsDeviceAction = 0; |
| 439 buildChromeOsDeviceAction() { | 439 buildChromeOsDeviceAction() { |
| 440 var o = new api.ChromeOsDeviceAction(); | 440 var o = new api.ChromeOsDeviceAction(); |
| 441 buildCounterChromeOsDeviceAction++; | 441 buildCounterChromeOsDeviceAction++; |
| 442 if (buildCounterChromeOsDeviceAction < 3) { | 442 if (buildCounterChromeOsDeviceAction < 3) { |
| 443 o.action = "foo"; | 443 o.action = "foo"; |
| 444 o.deprovisionReason = "foo"; | 444 o.deprovisionReason = "foo"; |
| 445 } | 445 } |
| 446 buildCounterChromeOsDeviceAction--; | 446 buildCounterChromeOsDeviceAction--; |
| 447 return o; | 447 return o; |
| 448 } | 448 } |
| 449 | 449 |
| 450 checkChromeOsDeviceAction(api.ChromeOsDeviceAction o) { | 450 checkChromeOsDeviceAction(api.ChromeOsDeviceAction o) { |
| 451 buildCounterChromeOsDeviceAction++; | 451 buildCounterChromeOsDeviceAction++; |
| 452 if (buildCounterChromeOsDeviceAction < 3) { | 452 if (buildCounterChromeOsDeviceAction < 3) { |
| 453 unittest.expect(o.action, unittest.equals('foo')); | 453 unittest.expect(o.action, unittest.equals('foo')); |
| 454 unittest.expect(o.deprovisionReason, unittest.equals('foo')); | 454 unittest.expect(o.deprovisionReason, unittest.equals('foo')); |
| 455 } | 455 } |
| 456 buildCounterChromeOsDeviceAction--; | 456 buildCounterChromeOsDeviceAction--; |
| 457 } | 457 } |
| 458 | 458 |
| 459 buildUnnamed714() { | 459 buildUnnamed735() { |
| 460 var o = new core.List<api.ChromeOsDevice>(); | 460 var o = new core.List<api.ChromeOsDevice>(); |
| 461 o.add(buildChromeOsDevice()); | 461 o.add(buildChromeOsDevice()); |
| 462 o.add(buildChromeOsDevice()); | 462 o.add(buildChromeOsDevice()); |
| 463 return o; | 463 return o; |
| 464 } | 464 } |
| 465 | 465 |
| 466 checkUnnamed714(core.List<api.ChromeOsDevice> o) { | 466 checkUnnamed735(core.List<api.ChromeOsDevice> o) { |
| 467 unittest.expect(o, unittest.hasLength(2)); | 467 unittest.expect(o, unittest.hasLength(2)); |
| 468 checkChromeOsDevice(o[0]); | 468 checkChromeOsDevice(o[0]); |
| 469 checkChromeOsDevice(o[1]); | 469 checkChromeOsDevice(o[1]); |
| 470 } | 470 } |
| 471 | 471 |
| 472 core.int buildCounterChromeOsDevices = 0; | 472 core.int buildCounterChromeOsDevices = 0; |
| 473 buildChromeOsDevices() { | 473 buildChromeOsDevices() { |
| 474 var o = new api.ChromeOsDevices(); | 474 var o = new api.ChromeOsDevices(); |
| 475 buildCounterChromeOsDevices++; | 475 buildCounterChromeOsDevices++; |
| 476 if (buildCounterChromeOsDevices < 3) { | 476 if (buildCounterChromeOsDevices < 3) { |
| 477 o.chromeosdevices = buildUnnamed714(); | 477 o.chromeosdevices = buildUnnamed735(); |
| 478 o.etag = "foo"; | 478 o.etag = "foo"; |
| 479 o.kind = "foo"; | 479 o.kind = "foo"; |
| 480 o.nextPageToken = "foo"; | 480 o.nextPageToken = "foo"; |
| 481 } | 481 } |
| 482 buildCounterChromeOsDevices--; | 482 buildCounterChromeOsDevices--; |
| 483 return o; | 483 return o; |
| 484 } | 484 } |
| 485 | 485 |
| 486 checkChromeOsDevices(api.ChromeOsDevices o) { | 486 checkChromeOsDevices(api.ChromeOsDevices o) { |
| 487 buildCounterChromeOsDevices++; | 487 buildCounterChromeOsDevices++; |
| 488 if (buildCounterChromeOsDevices < 3) { | 488 if (buildCounterChromeOsDevices < 3) { |
| 489 checkUnnamed714(o.chromeosdevices); | 489 checkUnnamed735(o.chromeosdevices); |
| 490 unittest.expect(o.etag, unittest.equals('foo')); | 490 unittest.expect(o.etag, unittest.equals('foo')); |
| 491 unittest.expect(o.kind, unittest.equals('foo')); | 491 unittest.expect(o.kind, unittest.equals('foo')); |
| 492 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 492 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 493 } | 493 } |
| 494 buildCounterChromeOsDevices--; | 494 buildCounterChromeOsDevices--; |
| 495 } | 495 } |
| 496 | 496 |
| 497 core.int buildCounterCustomer = 0; | 497 core.int buildCounterCustomer = 0; |
| 498 buildCustomer() { | 498 buildCustomer() { |
| 499 var o = new api.Customer(); | 499 var o = new api.Customer(); |
| (...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 586 unittest.expect(o.creationTime, unittest.equals('foo')); | 586 unittest.expect(o.creationTime, unittest.equals('foo')); |
| 587 unittest.expect(o.domainAliasName, unittest.equals('foo')); | 587 unittest.expect(o.domainAliasName, unittest.equals('foo')); |
| 588 unittest.expect(o.etag, unittest.equals('foo')); | 588 unittest.expect(o.etag, unittest.equals('foo')); |
| 589 unittest.expect(o.kind, unittest.equals('foo')); | 589 unittest.expect(o.kind, unittest.equals('foo')); |
| 590 unittest.expect(o.parentDomainName, unittest.equals('foo')); | 590 unittest.expect(o.parentDomainName, unittest.equals('foo')); |
| 591 unittest.expect(o.verified, unittest.isTrue); | 591 unittest.expect(o.verified, unittest.isTrue); |
| 592 } | 592 } |
| 593 buildCounterDomainAlias--; | 593 buildCounterDomainAlias--; |
| 594 } | 594 } |
| 595 | 595 |
| 596 buildUnnamed715() { | 596 buildUnnamed736() { |
| 597 var o = new core.List<api.DomainAlias>(); | 597 var o = new core.List<api.DomainAlias>(); |
| 598 o.add(buildDomainAlias()); | 598 o.add(buildDomainAlias()); |
| 599 o.add(buildDomainAlias()); | 599 o.add(buildDomainAlias()); |
| 600 return o; | 600 return o; |
| 601 } | 601 } |
| 602 | 602 |
| 603 checkUnnamed715(core.List<api.DomainAlias> o) { | 603 checkUnnamed736(core.List<api.DomainAlias> o) { |
| 604 unittest.expect(o, unittest.hasLength(2)); | 604 unittest.expect(o, unittest.hasLength(2)); |
| 605 checkDomainAlias(o[0]); | 605 checkDomainAlias(o[0]); |
| 606 checkDomainAlias(o[1]); | 606 checkDomainAlias(o[1]); |
| 607 } | 607 } |
| 608 | 608 |
| 609 core.int buildCounterDomainAliases = 0; | 609 core.int buildCounterDomainAliases = 0; |
| 610 buildDomainAliases() { | 610 buildDomainAliases() { |
| 611 var o = new api.DomainAliases(); | 611 var o = new api.DomainAliases(); |
| 612 buildCounterDomainAliases++; | 612 buildCounterDomainAliases++; |
| 613 if (buildCounterDomainAliases < 3) { | 613 if (buildCounterDomainAliases < 3) { |
| 614 o.domainAliases = buildUnnamed715(); | 614 o.domainAliases = buildUnnamed736(); |
| 615 o.etag = "foo"; | 615 o.etag = "foo"; |
| 616 o.kind = "foo"; | 616 o.kind = "foo"; |
| 617 } | 617 } |
| 618 buildCounterDomainAliases--; | 618 buildCounterDomainAliases--; |
| 619 return o; | 619 return o; |
| 620 } | 620 } |
| 621 | 621 |
| 622 checkDomainAliases(api.DomainAliases o) { | 622 checkDomainAliases(api.DomainAliases o) { |
| 623 buildCounterDomainAliases++; | 623 buildCounterDomainAliases++; |
| 624 if (buildCounterDomainAliases < 3) { | 624 if (buildCounterDomainAliases < 3) { |
| 625 checkUnnamed715(o.domainAliases); | 625 checkUnnamed736(o.domainAliases); |
| 626 unittest.expect(o.etag, unittest.equals('foo')); | 626 unittest.expect(o.etag, unittest.equals('foo')); |
| 627 unittest.expect(o.kind, unittest.equals('foo')); | 627 unittest.expect(o.kind, unittest.equals('foo')); |
| 628 } | 628 } |
| 629 buildCounterDomainAliases--; | 629 buildCounterDomainAliases--; |
| 630 } | 630 } |
| 631 | 631 |
| 632 buildUnnamed716() { | 632 buildUnnamed737() { |
| 633 var o = new core.List<api.DomainAlias>(); | 633 var o = new core.List<api.DomainAlias>(); |
| 634 o.add(buildDomainAlias()); | 634 o.add(buildDomainAlias()); |
| 635 o.add(buildDomainAlias()); | 635 o.add(buildDomainAlias()); |
| 636 return o; | 636 return o; |
| 637 } | 637 } |
| 638 | 638 |
| 639 checkUnnamed716(core.List<api.DomainAlias> o) { | 639 checkUnnamed737(core.List<api.DomainAlias> o) { |
| 640 unittest.expect(o, unittest.hasLength(2)); | 640 unittest.expect(o, unittest.hasLength(2)); |
| 641 checkDomainAlias(o[0]); | 641 checkDomainAlias(o[0]); |
| 642 checkDomainAlias(o[1]); | 642 checkDomainAlias(o[1]); |
| 643 } | 643 } |
| 644 | 644 |
| 645 core.int buildCounterDomains = 0; | 645 core.int buildCounterDomains = 0; |
| 646 buildDomains() { | 646 buildDomains() { |
| 647 var o = new api.Domains(); | 647 var o = new api.Domains(); |
| 648 buildCounterDomains++; | 648 buildCounterDomains++; |
| 649 if (buildCounterDomains < 3) { | 649 if (buildCounterDomains < 3) { |
| 650 o.creationTime = "foo"; | 650 o.creationTime = "foo"; |
| 651 o.domainAliases = buildUnnamed716(); | 651 o.domainAliases = buildUnnamed737(); |
| 652 o.domainName = "foo"; | 652 o.domainName = "foo"; |
| 653 o.etag = "foo"; | 653 o.etag = "foo"; |
| 654 o.isPrimary = true; | 654 o.isPrimary = true; |
| 655 o.kind = "foo"; | 655 o.kind = "foo"; |
| 656 o.verified = true; | 656 o.verified = true; |
| 657 } | 657 } |
| 658 buildCounterDomains--; | 658 buildCounterDomains--; |
| 659 return o; | 659 return o; |
| 660 } | 660 } |
| 661 | 661 |
| 662 checkDomains(api.Domains o) { | 662 checkDomains(api.Domains o) { |
| 663 buildCounterDomains++; | 663 buildCounterDomains++; |
| 664 if (buildCounterDomains < 3) { | 664 if (buildCounterDomains < 3) { |
| 665 unittest.expect(o.creationTime, unittest.equals('foo')); | 665 unittest.expect(o.creationTime, unittest.equals('foo')); |
| 666 checkUnnamed716(o.domainAliases); | 666 checkUnnamed737(o.domainAliases); |
| 667 unittest.expect(o.domainName, unittest.equals('foo')); | 667 unittest.expect(o.domainName, unittest.equals('foo')); |
| 668 unittest.expect(o.etag, unittest.equals('foo')); | 668 unittest.expect(o.etag, unittest.equals('foo')); |
| 669 unittest.expect(o.isPrimary, unittest.isTrue); | 669 unittest.expect(o.isPrimary, unittest.isTrue); |
| 670 unittest.expect(o.kind, unittest.equals('foo')); | 670 unittest.expect(o.kind, unittest.equals('foo')); |
| 671 unittest.expect(o.verified, unittest.isTrue); | 671 unittest.expect(o.verified, unittest.isTrue); |
| 672 } | 672 } |
| 673 buildCounterDomains--; | 673 buildCounterDomains--; |
| 674 } | 674 } |
| 675 | 675 |
| 676 buildUnnamed717() { | 676 buildUnnamed738() { |
| 677 var o = new core.List<api.Domains>(); | 677 var o = new core.List<api.Domains>(); |
| 678 o.add(buildDomains()); | 678 o.add(buildDomains()); |
| 679 o.add(buildDomains()); | 679 o.add(buildDomains()); |
| 680 return o; | 680 return o; |
| 681 } | 681 } |
| 682 | 682 |
| 683 checkUnnamed717(core.List<api.Domains> o) { | 683 checkUnnamed738(core.List<api.Domains> o) { |
| 684 unittest.expect(o, unittest.hasLength(2)); | 684 unittest.expect(o, unittest.hasLength(2)); |
| 685 checkDomains(o[0]); | 685 checkDomains(o[0]); |
| 686 checkDomains(o[1]); | 686 checkDomains(o[1]); |
| 687 } | 687 } |
| 688 | 688 |
| 689 core.int buildCounterDomains2 = 0; | 689 core.int buildCounterDomains2 = 0; |
| 690 buildDomains2() { | 690 buildDomains2() { |
| 691 var o = new api.Domains2(); | 691 var o = new api.Domains2(); |
| 692 buildCounterDomains2++; | 692 buildCounterDomains2++; |
| 693 if (buildCounterDomains2 < 3) { | 693 if (buildCounterDomains2 < 3) { |
| 694 o.domains = buildUnnamed717(); | 694 o.domains = buildUnnamed738(); |
| 695 o.etag = "foo"; | 695 o.etag = "foo"; |
| 696 o.kind = "foo"; | 696 o.kind = "foo"; |
| 697 } | 697 } |
| 698 buildCounterDomains2--; | 698 buildCounterDomains2--; |
| 699 return o; | 699 return o; |
| 700 } | 700 } |
| 701 | 701 |
| 702 checkDomains2(api.Domains2 o) { | 702 checkDomains2(api.Domains2 o) { |
| 703 buildCounterDomains2++; | 703 buildCounterDomains2++; |
| 704 if (buildCounterDomains2 < 3) { | 704 if (buildCounterDomains2 < 3) { |
| 705 checkUnnamed717(o.domains); | 705 checkUnnamed738(o.domains); |
| 706 unittest.expect(o.etag, unittest.equals('foo')); | 706 unittest.expect(o.etag, unittest.equals('foo')); |
| 707 unittest.expect(o.kind, unittest.equals('foo')); | 707 unittest.expect(o.kind, unittest.equals('foo')); |
| 708 } | 708 } |
| 709 buildCounterDomains2--; | 709 buildCounterDomains2--; |
| 710 } | 710 } |
| 711 | 711 |
| 712 buildUnnamed718() { | 712 buildUnnamed739() { |
| 713 var o = new core.List<core.String>(); | 713 var o = new core.List<core.String>(); |
| 714 o.add("foo"); | 714 o.add("foo"); |
| 715 o.add("foo"); | 715 o.add("foo"); |
| 716 return o; | 716 return o; |
| 717 } | 717 } |
| 718 | 718 |
| 719 checkUnnamed718(core.List<core.String> o) { | 719 checkUnnamed739(core.List<core.String> o) { |
| 720 unittest.expect(o, unittest.hasLength(2)); | 720 unittest.expect(o, unittest.hasLength(2)); |
| 721 unittest.expect(o[0], unittest.equals('foo')); | 721 unittest.expect(o[0], unittest.equals('foo')); |
| 722 unittest.expect(o[1], unittest.equals('foo')); | 722 unittest.expect(o[1], unittest.equals('foo')); |
| 723 } | 723 } |
| 724 | 724 |
| 725 buildUnnamed719() { | 725 buildUnnamed740() { |
| 726 var o = new core.List<core.String>(); | 726 var o = new core.List<core.String>(); |
| 727 o.add("foo"); | 727 o.add("foo"); |
| 728 o.add("foo"); | 728 o.add("foo"); |
| 729 return o; | 729 return o; |
| 730 } | 730 } |
| 731 | 731 |
| 732 checkUnnamed719(core.List<core.String> o) { | 732 checkUnnamed740(core.List<core.String> o) { |
| 733 unittest.expect(o, unittest.hasLength(2)); | 733 unittest.expect(o, unittest.hasLength(2)); |
| 734 unittest.expect(o[0], unittest.equals('foo')); | 734 unittest.expect(o[0], unittest.equals('foo')); |
| 735 unittest.expect(o[1], unittest.equals('foo')); | 735 unittest.expect(o[1], unittest.equals('foo')); |
| 736 } | 736 } |
| 737 | 737 |
| 738 core.int buildCounterGroup = 0; | 738 core.int buildCounterGroup = 0; |
| 739 buildGroup() { | 739 buildGroup() { |
| 740 var o = new api.Group(); | 740 var o = new api.Group(); |
| 741 buildCounterGroup++; | 741 buildCounterGroup++; |
| 742 if (buildCounterGroup < 3) { | 742 if (buildCounterGroup < 3) { |
| 743 o.adminCreated = true; | 743 o.adminCreated = true; |
| 744 o.aliases = buildUnnamed718(); | 744 o.aliases = buildUnnamed739(); |
| 745 o.description = "foo"; | 745 o.description = "foo"; |
| 746 o.directMembersCount = "foo"; | 746 o.directMembersCount = "foo"; |
| 747 o.email = "foo"; | 747 o.email = "foo"; |
| 748 o.etag = "foo"; | 748 o.etag = "foo"; |
| 749 o.id = "foo"; | 749 o.id = "foo"; |
| 750 o.kind = "foo"; | 750 o.kind = "foo"; |
| 751 o.name = "foo"; | 751 o.name = "foo"; |
| 752 o.nonEditableAliases = buildUnnamed719(); | 752 o.nonEditableAliases = buildUnnamed740(); |
| 753 } | 753 } |
| 754 buildCounterGroup--; | 754 buildCounterGroup--; |
| 755 return o; | 755 return o; |
| 756 } | 756 } |
| 757 | 757 |
| 758 checkGroup(api.Group o) { | 758 checkGroup(api.Group o) { |
| 759 buildCounterGroup++; | 759 buildCounterGroup++; |
| 760 if (buildCounterGroup < 3) { | 760 if (buildCounterGroup < 3) { |
| 761 unittest.expect(o.adminCreated, unittest.isTrue); | 761 unittest.expect(o.adminCreated, unittest.isTrue); |
| 762 checkUnnamed718(o.aliases); | 762 checkUnnamed739(o.aliases); |
| 763 unittest.expect(o.description, unittest.equals('foo')); | 763 unittest.expect(o.description, unittest.equals('foo')); |
| 764 unittest.expect(o.directMembersCount, unittest.equals('foo')); | 764 unittest.expect(o.directMembersCount, unittest.equals('foo')); |
| 765 unittest.expect(o.email, unittest.equals('foo')); | 765 unittest.expect(o.email, unittest.equals('foo')); |
| 766 unittest.expect(o.etag, unittest.equals('foo')); | 766 unittest.expect(o.etag, unittest.equals('foo')); |
| 767 unittest.expect(o.id, unittest.equals('foo')); | 767 unittest.expect(o.id, unittest.equals('foo')); |
| 768 unittest.expect(o.kind, unittest.equals('foo')); | 768 unittest.expect(o.kind, unittest.equals('foo')); |
| 769 unittest.expect(o.name, unittest.equals('foo')); | 769 unittest.expect(o.name, unittest.equals('foo')); |
| 770 checkUnnamed719(o.nonEditableAliases); | 770 checkUnnamed740(o.nonEditableAliases); |
| 771 } | 771 } |
| 772 buildCounterGroup--; | 772 buildCounterGroup--; |
| 773 } | 773 } |
| 774 | 774 |
| 775 buildUnnamed720() { | 775 buildUnnamed741() { |
| 776 var o = new core.List<api.Group>(); | 776 var o = new core.List<api.Group>(); |
| 777 o.add(buildGroup()); | 777 o.add(buildGroup()); |
| 778 o.add(buildGroup()); | 778 o.add(buildGroup()); |
| 779 return o; | 779 return o; |
| 780 } | 780 } |
| 781 | 781 |
| 782 checkUnnamed720(core.List<api.Group> o) { | 782 checkUnnamed741(core.List<api.Group> o) { |
| 783 unittest.expect(o, unittest.hasLength(2)); | 783 unittest.expect(o, unittest.hasLength(2)); |
| 784 checkGroup(o[0]); | 784 checkGroup(o[0]); |
| 785 checkGroup(o[1]); | 785 checkGroup(o[1]); |
| 786 } | 786 } |
| 787 | 787 |
| 788 core.int buildCounterGroups = 0; | 788 core.int buildCounterGroups = 0; |
| 789 buildGroups() { | 789 buildGroups() { |
| 790 var o = new api.Groups(); | 790 var o = new api.Groups(); |
| 791 buildCounterGroups++; | 791 buildCounterGroups++; |
| 792 if (buildCounterGroups < 3) { | 792 if (buildCounterGroups < 3) { |
| 793 o.etag = "foo"; | 793 o.etag = "foo"; |
| 794 o.groups = buildUnnamed720(); | 794 o.groups = buildUnnamed741(); |
| 795 o.kind = "foo"; | 795 o.kind = "foo"; |
| 796 o.nextPageToken = "foo"; | 796 o.nextPageToken = "foo"; |
| 797 } | 797 } |
| 798 buildCounterGroups--; | 798 buildCounterGroups--; |
| 799 return o; | 799 return o; |
| 800 } | 800 } |
| 801 | 801 |
| 802 checkGroups(api.Groups o) { | 802 checkGroups(api.Groups o) { |
| 803 buildCounterGroups++; | 803 buildCounterGroups++; |
| 804 if (buildCounterGroups < 3) { | 804 if (buildCounterGroups < 3) { |
| 805 unittest.expect(o.etag, unittest.equals('foo')); | 805 unittest.expect(o.etag, unittest.equals('foo')); |
| 806 checkUnnamed720(o.groups); | 806 checkUnnamed741(o.groups); |
| 807 unittest.expect(o.kind, unittest.equals('foo')); | 807 unittest.expect(o.kind, unittest.equals('foo')); |
| 808 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 808 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 809 } | 809 } |
| 810 buildCounterGroups--; | 810 buildCounterGroups--; |
| 811 } | 811 } |
| 812 | 812 |
| 813 core.int buildCounterMember = 0; | 813 core.int buildCounterMember = 0; |
| 814 buildMember() { | 814 buildMember() { |
| 815 var o = new api.Member(); | 815 var o = new api.Member(); |
| 816 buildCounterMember++; | 816 buildCounterMember++; |
| (...skipping 17 matching lines...) Expand all Loading... |
| 834 unittest.expect(o.etag, unittest.equals('foo')); | 834 unittest.expect(o.etag, unittest.equals('foo')); |
| 835 unittest.expect(o.id, unittest.equals('foo')); | 835 unittest.expect(o.id, unittest.equals('foo')); |
| 836 unittest.expect(o.kind, unittest.equals('foo')); | 836 unittest.expect(o.kind, unittest.equals('foo')); |
| 837 unittest.expect(o.role, unittest.equals('foo')); | 837 unittest.expect(o.role, unittest.equals('foo')); |
| 838 unittest.expect(o.status, unittest.equals('foo')); | 838 unittest.expect(o.status, unittest.equals('foo')); |
| 839 unittest.expect(o.type, unittest.equals('foo')); | 839 unittest.expect(o.type, unittest.equals('foo')); |
| 840 } | 840 } |
| 841 buildCounterMember--; | 841 buildCounterMember--; |
| 842 } | 842 } |
| 843 | 843 |
| 844 buildUnnamed721() { | 844 buildUnnamed742() { |
| 845 var o = new core.List<api.Member>(); | 845 var o = new core.List<api.Member>(); |
| 846 o.add(buildMember()); | 846 o.add(buildMember()); |
| 847 o.add(buildMember()); | 847 o.add(buildMember()); |
| 848 return o; | 848 return o; |
| 849 } | 849 } |
| 850 | 850 |
| 851 checkUnnamed721(core.List<api.Member> o) { | 851 checkUnnamed742(core.List<api.Member> o) { |
| 852 unittest.expect(o, unittest.hasLength(2)); | 852 unittest.expect(o, unittest.hasLength(2)); |
| 853 checkMember(o[0]); | 853 checkMember(o[0]); |
| 854 checkMember(o[1]); | 854 checkMember(o[1]); |
| 855 } | 855 } |
| 856 | 856 |
| 857 core.int buildCounterMembers = 0; | 857 core.int buildCounterMembers = 0; |
| 858 buildMembers() { | 858 buildMembers() { |
| 859 var o = new api.Members(); | 859 var o = new api.Members(); |
| 860 buildCounterMembers++; | 860 buildCounterMembers++; |
| 861 if (buildCounterMembers < 3) { | 861 if (buildCounterMembers < 3) { |
| 862 o.etag = "foo"; | 862 o.etag = "foo"; |
| 863 o.kind = "foo"; | 863 o.kind = "foo"; |
| 864 o.members = buildUnnamed721(); | 864 o.members = buildUnnamed742(); |
| 865 o.nextPageToken = "foo"; | 865 o.nextPageToken = "foo"; |
| 866 } | 866 } |
| 867 buildCounterMembers--; | 867 buildCounterMembers--; |
| 868 return o; | 868 return o; |
| 869 } | 869 } |
| 870 | 870 |
| 871 checkMembers(api.Members o) { | 871 checkMembers(api.Members o) { |
| 872 buildCounterMembers++; | 872 buildCounterMembers++; |
| 873 if (buildCounterMembers < 3) { | 873 if (buildCounterMembers < 3) { |
| 874 unittest.expect(o.etag, unittest.equals('foo')); | 874 unittest.expect(o.etag, unittest.equals('foo')); |
| 875 unittest.expect(o.kind, unittest.equals('foo')); | 875 unittest.expect(o.kind, unittest.equals('foo')); |
| 876 checkUnnamed721(o.members); | 876 checkUnnamed742(o.members); |
| 877 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 877 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 878 } | 878 } |
| 879 buildCounterMembers--; | 879 buildCounterMembers--; |
| 880 } | 880 } |
| 881 | 881 |
| 882 buildUnnamed722() { | 882 buildUnnamed743() { |
| 883 var o = new core.List<core.String>(); | 883 var o = new core.List<core.String>(); |
| 884 o.add("foo"); | 884 o.add("foo"); |
| 885 o.add("foo"); | 885 o.add("foo"); |
| 886 return o; | 886 return o; |
| 887 } | 887 } |
| 888 | 888 |
| 889 checkUnnamed722(core.List<core.String> o) { | 889 checkUnnamed743(core.List<core.String> o) { |
| 890 unittest.expect(o, unittest.hasLength(2)); | 890 unittest.expect(o, unittest.hasLength(2)); |
| 891 unittest.expect(o[0], unittest.equals('foo')); | 891 unittest.expect(o[0], unittest.equals('foo')); |
| 892 unittest.expect(o[1], unittest.equals('foo')); | 892 unittest.expect(o[1], unittest.equals('foo')); |
| 893 } | 893 } |
| 894 | 894 |
| 895 core.int buildCounterMobileDeviceApplications = 0; | 895 core.int buildCounterMobileDeviceApplications = 0; |
| 896 buildMobileDeviceApplications() { | 896 buildMobileDeviceApplications() { |
| 897 var o = new api.MobileDeviceApplications(); | 897 var o = new api.MobileDeviceApplications(); |
| 898 buildCounterMobileDeviceApplications++; | 898 buildCounterMobileDeviceApplications++; |
| 899 if (buildCounterMobileDeviceApplications < 3) { | 899 if (buildCounterMobileDeviceApplications < 3) { |
| 900 o.displayName = "foo"; | 900 o.displayName = "foo"; |
| 901 o.packageName = "foo"; | 901 o.packageName = "foo"; |
| 902 o.permission = buildUnnamed722(); | 902 o.permission = buildUnnamed743(); |
| 903 o.versionCode = 42; | 903 o.versionCode = 42; |
| 904 o.versionName = "foo"; | 904 o.versionName = "foo"; |
| 905 } | 905 } |
| 906 buildCounterMobileDeviceApplications--; | 906 buildCounterMobileDeviceApplications--; |
| 907 return o; | 907 return o; |
| 908 } | 908 } |
| 909 | 909 |
| 910 checkMobileDeviceApplications(api.MobileDeviceApplications o) { | 910 checkMobileDeviceApplications(api.MobileDeviceApplications o) { |
| 911 buildCounterMobileDeviceApplications++; | 911 buildCounterMobileDeviceApplications++; |
| 912 if (buildCounterMobileDeviceApplications < 3) { | 912 if (buildCounterMobileDeviceApplications < 3) { |
| 913 unittest.expect(o.displayName, unittest.equals('foo')); | 913 unittest.expect(o.displayName, unittest.equals('foo')); |
| 914 unittest.expect(o.packageName, unittest.equals('foo')); | 914 unittest.expect(o.packageName, unittest.equals('foo')); |
| 915 checkUnnamed722(o.permission); | 915 checkUnnamed743(o.permission); |
| 916 unittest.expect(o.versionCode, unittest.equals(42)); | 916 unittest.expect(o.versionCode, unittest.equals(42)); |
| 917 unittest.expect(o.versionName, unittest.equals('foo')); | 917 unittest.expect(o.versionName, unittest.equals('foo')); |
| 918 } | 918 } |
| 919 buildCounterMobileDeviceApplications--; | 919 buildCounterMobileDeviceApplications--; |
| 920 } | 920 } |
| 921 | 921 |
| 922 buildUnnamed723() { | 922 buildUnnamed744() { |
| 923 var o = new core.List<api.MobileDeviceApplications>(); | 923 var o = new core.List<api.MobileDeviceApplications>(); |
| 924 o.add(buildMobileDeviceApplications()); | 924 o.add(buildMobileDeviceApplications()); |
| 925 o.add(buildMobileDeviceApplications()); | 925 o.add(buildMobileDeviceApplications()); |
| 926 return o; | 926 return o; |
| 927 } | 927 } |
| 928 | 928 |
| 929 checkUnnamed723(core.List<api.MobileDeviceApplications> o) { | 929 checkUnnamed744(core.List<api.MobileDeviceApplications> o) { |
| 930 unittest.expect(o, unittest.hasLength(2)); | 930 unittest.expect(o, unittest.hasLength(2)); |
| 931 checkMobileDeviceApplications(o[0]); | 931 checkMobileDeviceApplications(o[0]); |
| 932 checkMobileDeviceApplications(o[1]); | 932 checkMobileDeviceApplications(o[1]); |
| 933 } | 933 } |
| 934 | 934 |
| 935 buildUnnamed724() { | 935 buildUnnamed745() { |
| 936 var o = new core.List<core.String>(); | 936 var o = new core.List<core.String>(); |
| 937 o.add("foo"); | 937 o.add("foo"); |
| 938 o.add("foo"); | 938 o.add("foo"); |
| 939 return o; | 939 return o; |
| 940 } | 940 } |
| 941 | 941 |
| 942 checkUnnamed724(core.List<core.String> o) { | 942 checkUnnamed745(core.List<core.String> o) { |
| 943 unittest.expect(o, unittest.hasLength(2)); | 943 unittest.expect(o, unittest.hasLength(2)); |
| 944 unittest.expect(o[0], unittest.equals('foo')); | 944 unittest.expect(o[0], unittest.equals('foo')); |
| 945 unittest.expect(o[1], unittest.equals('foo')); | 945 unittest.expect(o[1], unittest.equals('foo')); |
| 946 } | 946 } |
| 947 | 947 |
| 948 buildUnnamed725() { | 948 buildUnnamed746() { |
| 949 var o = new core.List<core.String>(); | 949 var o = new core.List<core.String>(); |
| 950 o.add("foo"); | 950 o.add("foo"); |
| 951 o.add("foo"); | 951 o.add("foo"); |
| 952 return o; | 952 return o; |
| 953 } | 953 } |
| 954 | 954 |
| 955 checkUnnamed725(core.List<core.String> o) { | 955 checkUnnamed746(core.List<core.String> o) { |
| 956 unittest.expect(o, unittest.hasLength(2)); | 956 unittest.expect(o, unittest.hasLength(2)); |
| 957 unittest.expect(o[0], unittest.equals('foo')); | 957 unittest.expect(o[0], unittest.equals('foo')); |
| 958 unittest.expect(o[1], unittest.equals('foo')); | 958 unittest.expect(o[1], unittest.equals('foo')); |
| 959 } | 959 } |
| 960 | 960 |
| 961 buildUnnamed726() { | 961 buildUnnamed747() { |
| 962 var o = new core.List<core.String>(); | 962 var o = new core.List<core.String>(); |
| 963 o.add("foo"); | 963 o.add("foo"); |
| 964 o.add("foo"); | 964 o.add("foo"); |
| 965 return o; | 965 return o; |
| 966 } | 966 } |
| 967 | 967 |
| 968 checkUnnamed726(core.List<core.String> o) { | 968 checkUnnamed747(core.List<core.String> o) { |
| 969 unittest.expect(o, unittest.hasLength(2)); | 969 unittest.expect(o, unittest.hasLength(2)); |
| 970 unittest.expect(o[0], unittest.equals('foo')); | 970 unittest.expect(o[0], unittest.equals('foo')); |
| 971 unittest.expect(o[1], unittest.equals('foo')); | 971 unittest.expect(o[1], unittest.equals('foo')); |
| 972 } | 972 } |
| 973 | 973 |
| 974 core.int buildCounterMobileDevice = 0; | 974 core.int buildCounterMobileDevice = 0; |
| 975 buildMobileDevice() { | 975 buildMobileDevice() { |
| 976 var o = new api.MobileDevice(); | 976 var o = new api.MobileDevice(); |
| 977 buildCounterMobileDevice++; | 977 buildCounterMobileDevice++; |
| 978 if (buildCounterMobileDevice < 3) { | 978 if (buildCounterMobileDevice < 3) { |
| 979 o.adbStatus = true; | 979 o.adbStatus = true; |
| 980 o.applications = buildUnnamed723(); | 980 o.applications = buildUnnamed744(); |
| 981 o.basebandVersion = "foo"; | 981 o.basebandVersion = "foo"; |
| 982 o.bootloaderVersion = "foo"; | 982 o.bootloaderVersion = "foo"; |
| 983 o.brand = "foo"; | 983 o.brand = "foo"; |
| 984 o.buildNumber = "foo"; | 984 o.buildNumber = "foo"; |
| 985 o.defaultLanguage = "foo"; | 985 o.defaultLanguage = "foo"; |
| 986 o.developerOptionsStatus = true; | 986 o.developerOptionsStatus = true; |
| 987 o.deviceCompromisedStatus = "foo"; | 987 o.deviceCompromisedStatus = "foo"; |
| 988 o.deviceId = "foo"; | 988 o.deviceId = "foo"; |
| 989 o.devicePasswordStatus = "foo"; | 989 o.devicePasswordStatus = "foo"; |
| 990 o.email = buildUnnamed724(); | 990 o.email = buildUnnamed745(); |
| 991 o.encryptionStatus = "foo"; | 991 o.encryptionStatus = "foo"; |
| 992 o.etag = "foo"; | 992 o.etag = "foo"; |
| 993 o.firstSync = core.DateTime.parse("2002-02-27T14:01:02"); | 993 o.firstSync = core.DateTime.parse("2002-02-27T14:01:02"); |
| 994 o.hardware = "foo"; | 994 o.hardware = "foo"; |
| 995 o.hardwareId = "foo"; | 995 o.hardwareId = "foo"; |
| 996 o.imei = "foo"; | 996 o.imei = "foo"; |
| 997 o.kernelVersion = "foo"; | 997 o.kernelVersion = "foo"; |
| 998 o.kind = "foo"; | 998 o.kind = "foo"; |
| 999 o.lastSync = core.DateTime.parse("2002-02-27T14:01:02"); | 999 o.lastSync = core.DateTime.parse("2002-02-27T14:01:02"); |
| 1000 o.managedAccountIsOnOwnerProfile = true; | 1000 o.managedAccountIsOnOwnerProfile = true; |
| 1001 o.manufacturer = "foo"; | 1001 o.manufacturer = "foo"; |
| 1002 o.meid = "foo"; | 1002 o.meid = "foo"; |
| 1003 o.model = "foo"; | 1003 o.model = "foo"; |
| 1004 o.name = buildUnnamed725(); | 1004 o.name = buildUnnamed746(); |
| 1005 o.networkOperator = "foo"; | 1005 o.networkOperator = "foo"; |
| 1006 o.os = "foo"; | 1006 o.os = "foo"; |
| 1007 o.otherAccountsInfo = buildUnnamed726(); | 1007 o.otherAccountsInfo = buildUnnamed747(); |
| 1008 o.privilege = "foo"; | 1008 o.privilege = "foo"; |
| 1009 o.releaseVersion = "foo"; | 1009 o.releaseVersion = "foo"; |
| 1010 o.resourceId = "foo"; | 1010 o.resourceId = "foo"; |
| 1011 o.securityPatchLevel = "foo"; | 1011 o.securityPatchLevel = "foo"; |
| 1012 o.serialNumber = "foo"; | 1012 o.serialNumber = "foo"; |
| 1013 o.status = "foo"; | 1013 o.status = "foo"; |
| 1014 o.supportsWorkProfile = true; | 1014 o.supportsWorkProfile = true; |
| 1015 o.type = "foo"; | 1015 o.type = "foo"; |
| 1016 o.unknownSourcesStatus = true; | 1016 o.unknownSourcesStatus = true; |
| 1017 o.userAgent = "foo"; | 1017 o.userAgent = "foo"; |
| 1018 o.wifiMacAddress = "foo"; | 1018 o.wifiMacAddress = "foo"; |
| 1019 } | 1019 } |
| 1020 buildCounterMobileDevice--; | 1020 buildCounterMobileDevice--; |
| 1021 return o; | 1021 return o; |
| 1022 } | 1022 } |
| 1023 | 1023 |
| 1024 checkMobileDevice(api.MobileDevice o) { | 1024 checkMobileDevice(api.MobileDevice o) { |
| 1025 buildCounterMobileDevice++; | 1025 buildCounterMobileDevice++; |
| 1026 if (buildCounterMobileDevice < 3) { | 1026 if (buildCounterMobileDevice < 3) { |
| 1027 unittest.expect(o.adbStatus, unittest.isTrue); | 1027 unittest.expect(o.adbStatus, unittest.isTrue); |
| 1028 checkUnnamed723(o.applications); | 1028 checkUnnamed744(o.applications); |
| 1029 unittest.expect(o.basebandVersion, unittest.equals('foo')); | 1029 unittest.expect(o.basebandVersion, unittest.equals('foo')); |
| 1030 unittest.expect(o.bootloaderVersion, unittest.equals('foo')); | 1030 unittest.expect(o.bootloaderVersion, unittest.equals('foo')); |
| 1031 unittest.expect(o.brand, unittest.equals('foo')); | 1031 unittest.expect(o.brand, unittest.equals('foo')); |
| 1032 unittest.expect(o.buildNumber, unittest.equals('foo')); | 1032 unittest.expect(o.buildNumber, unittest.equals('foo')); |
| 1033 unittest.expect(o.defaultLanguage, unittest.equals('foo')); | 1033 unittest.expect(o.defaultLanguage, unittest.equals('foo')); |
| 1034 unittest.expect(o.developerOptionsStatus, unittest.isTrue); | 1034 unittest.expect(o.developerOptionsStatus, unittest.isTrue); |
| 1035 unittest.expect(o.deviceCompromisedStatus, unittest.equals('foo')); | 1035 unittest.expect(o.deviceCompromisedStatus, unittest.equals('foo')); |
| 1036 unittest.expect(o.deviceId, unittest.equals('foo')); | 1036 unittest.expect(o.deviceId, unittest.equals('foo')); |
| 1037 unittest.expect(o.devicePasswordStatus, unittest.equals('foo')); | 1037 unittest.expect(o.devicePasswordStatus, unittest.equals('foo')); |
| 1038 checkUnnamed724(o.email); | 1038 checkUnnamed745(o.email); |
| 1039 unittest.expect(o.encryptionStatus, unittest.equals('foo')); | 1039 unittest.expect(o.encryptionStatus, unittest.equals('foo')); |
| 1040 unittest.expect(o.etag, unittest.equals('foo')); | 1040 unittest.expect(o.etag, unittest.equals('foo')); |
| 1041 unittest.expect(o.firstSync, unittest.equals(core.DateTime.parse("2002-02-27
T14:01:02"))); | 1041 unittest.expect(o.firstSync, unittest.equals(core.DateTime.parse("2002-02-27
T14:01:02"))); |
| 1042 unittest.expect(o.hardware, unittest.equals('foo')); | 1042 unittest.expect(o.hardware, unittest.equals('foo')); |
| 1043 unittest.expect(o.hardwareId, unittest.equals('foo')); | 1043 unittest.expect(o.hardwareId, unittest.equals('foo')); |
| 1044 unittest.expect(o.imei, unittest.equals('foo')); | 1044 unittest.expect(o.imei, unittest.equals('foo')); |
| 1045 unittest.expect(o.kernelVersion, unittest.equals('foo')); | 1045 unittest.expect(o.kernelVersion, unittest.equals('foo')); |
| 1046 unittest.expect(o.kind, unittest.equals('foo')); | 1046 unittest.expect(o.kind, unittest.equals('foo')); |
| 1047 unittest.expect(o.lastSync, unittest.equals(core.DateTime.parse("2002-02-27T
14:01:02"))); | 1047 unittest.expect(o.lastSync, unittest.equals(core.DateTime.parse("2002-02-27T
14:01:02"))); |
| 1048 unittest.expect(o.managedAccountIsOnOwnerProfile, unittest.isTrue); | 1048 unittest.expect(o.managedAccountIsOnOwnerProfile, unittest.isTrue); |
| 1049 unittest.expect(o.manufacturer, unittest.equals('foo')); | 1049 unittest.expect(o.manufacturer, unittest.equals('foo')); |
| 1050 unittest.expect(o.meid, unittest.equals('foo')); | 1050 unittest.expect(o.meid, unittest.equals('foo')); |
| 1051 unittest.expect(o.model, unittest.equals('foo')); | 1051 unittest.expect(o.model, unittest.equals('foo')); |
| 1052 checkUnnamed725(o.name); | 1052 checkUnnamed746(o.name); |
| 1053 unittest.expect(o.networkOperator, unittest.equals('foo')); | 1053 unittest.expect(o.networkOperator, unittest.equals('foo')); |
| 1054 unittest.expect(o.os, unittest.equals('foo')); | 1054 unittest.expect(o.os, unittest.equals('foo')); |
| 1055 checkUnnamed726(o.otherAccountsInfo); | 1055 checkUnnamed747(o.otherAccountsInfo); |
| 1056 unittest.expect(o.privilege, unittest.equals('foo')); | 1056 unittest.expect(o.privilege, unittest.equals('foo')); |
| 1057 unittest.expect(o.releaseVersion, unittest.equals('foo')); | 1057 unittest.expect(o.releaseVersion, unittest.equals('foo')); |
| 1058 unittest.expect(o.resourceId, unittest.equals('foo')); | 1058 unittest.expect(o.resourceId, unittest.equals('foo')); |
| 1059 unittest.expect(o.securityPatchLevel, unittest.equals('foo')); | 1059 unittest.expect(o.securityPatchLevel, unittest.equals('foo')); |
| 1060 unittest.expect(o.serialNumber, unittest.equals('foo')); | 1060 unittest.expect(o.serialNumber, unittest.equals('foo')); |
| 1061 unittest.expect(o.status, unittest.equals('foo')); | 1061 unittest.expect(o.status, unittest.equals('foo')); |
| 1062 unittest.expect(o.supportsWorkProfile, unittest.isTrue); | 1062 unittest.expect(o.supportsWorkProfile, unittest.isTrue); |
| 1063 unittest.expect(o.type, unittest.equals('foo')); | 1063 unittest.expect(o.type, unittest.equals('foo')); |
| 1064 unittest.expect(o.unknownSourcesStatus, unittest.isTrue); | 1064 unittest.expect(o.unknownSourcesStatus, unittest.isTrue); |
| 1065 unittest.expect(o.userAgent, unittest.equals('foo')); | 1065 unittest.expect(o.userAgent, unittest.equals('foo')); |
| (...skipping 14 matching lines...) Expand all Loading... |
| 1080 } | 1080 } |
| 1081 | 1081 |
| 1082 checkMobileDeviceAction(api.MobileDeviceAction o) { | 1082 checkMobileDeviceAction(api.MobileDeviceAction o) { |
| 1083 buildCounterMobileDeviceAction++; | 1083 buildCounterMobileDeviceAction++; |
| 1084 if (buildCounterMobileDeviceAction < 3) { | 1084 if (buildCounterMobileDeviceAction < 3) { |
| 1085 unittest.expect(o.action, unittest.equals('foo')); | 1085 unittest.expect(o.action, unittest.equals('foo')); |
| 1086 } | 1086 } |
| 1087 buildCounterMobileDeviceAction--; | 1087 buildCounterMobileDeviceAction--; |
| 1088 } | 1088 } |
| 1089 | 1089 |
| 1090 buildUnnamed727() { | 1090 buildUnnamed748() { |
| 1091 var o = new core.List<api.MobileDevice>(); | 1091 var o = new core.List<api.MobileDevice>(); |
| 1092 o.add(buildMobileDevice()); | 1092 o.add(buildMobileDevice()); |
| 1093 o.add(buildMobileDevice()); | 1093 o.add(buildMobileDevice()); |
| 1094 return o; | 1094 return o; |
| 1095 } | 1095 } |
| 1096 | 1096 |
| 1097 checkUnnamed727(core.List<api.MobileDevice> o) { | 1097 checkUnnamed748(core.List<api.MobileDevice> o) { |
| 1098 unittest.expect(o, unittest.hasLength(2)); | 1098 unittest.expect(o, unittest.hasLength(2)); |
| 1099 checkMobileDevice(o[0]); | 1099 checkMobileDevice(o[0]); |
| 1100 checkMobileDevice(o[1]); | 1100 checkMobileDevice(o[1]); |
| 1101 } | 1101 } |
| 1102 | 1102 |
| 1103 core.int buildCounterMobileDevices = 0; | 1103 core.int buildCounterMobileDevices = 0; |
| 1104 buildMobileDevices() { | 1104 buildMobileDevices() { |
| 1105 var o = new api.MobileDevices(); | 1105 var o = new api.MobileDevices(); |
| 1106 buildCounterMobileDevices++; | 1106 buildCounterMobileDevices++; |
| 1107 if (buildCounterMobileDevices < 3) { | 1107 if (buildCounterMobileDevices < 3) { |
| 1108 o.etag = "foo"; | 1108 o.etag = "foo"; |
| 1109 o.kind = "foo"; | 1109 o.kind = "foo"; |
| 1110 o.mobiledevices = buildUnnamed727(); | 1110 o.mobiledevices = buildUnnamed748(); |
| 1111 o.nextPageToken = "foo"; | 1111 o.nextPageToken = "foo"; |
| 1112 } | 1112 } |
| 1113 buildCounterMobileDevices--; | 1113 buildCounterMobileDevices--; |
| 1114 return o; | 1114 return o; |
| 1115 } | 1115 } |
| 1116 | 1116 |
| 1117 checkMobileDevices(api.MobileDevices o) { | 1117 checkMobileDevices(api.MobileDevices o) { |
| 1118 buildCounterMobileDevices++; | 1118 buildCounterMobileDevices++; |
| 1119 if (buildCounterMobileDevices < 3) { | 1119 if (buildCounterMobileDevices < 3) { |
| 1120 unittest.expect(o.etag, unittest.equals('foo')); | 1120 unittest.expect(o.etag, unittest.equals('foo')); |
| 1121 unittest.expect(o.kind, unittest.equals('foo')); | 1121 unittest.expect(o.kind, unittest.equals('foo')); |
| 1122 checkUnnamed727(o.mobiledevices); | 1122 checkUnnamed748(o.mobiledevices); |
| 1123 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1123 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1124 } | 1124 } |
| 1125 buildCounterMobileDevices--; | 1125 buildCounterMobileDevices--; |
| 1126 } | 1126 } |
| 1127 | 1127 |
| 1128 core.int buildCounterNotification = 0; | 1128 core.int buildCounterNotification = 0; |
| 1129 buildNotification() { | 1129 buildNotification() { |
| 1130 var o = new api.Notification(); | 1130 var o = new api.Notification(); |
| 1131 buildCounterNotification++; | 1131 buildCounterNotification++; |
| 1132 if (buildCounterNotification < 3) { | 1132 if (buildCounterNotification < 3) { |
| (...skipping 18 matching lines...) Expand all Loading... |
| 1151 unittest.expect(o.fromAddress, unittest.equals('foo')); | 1151 unittest.expect(o.fromAddress, unittest.equals('foo')); |
| 1152 unittest.expect(o.isUnread, unittest.isTrue); | 1152 unittest.expect(o.isUnread, unittest.isTrue); |
| 1153 unittest.expect(o.kind, unittest.equals('foo')); | 1153 unittest.expect(o.kind, unittest.equals('foo')); |
| 1154 unittest.expect(o.notificationId, unittest.equals('foo')); | 1154 unittest.expect(o.notificationId, unittest.equals('foo')); |
| 1155 unittest.expect(o.sendTime, unittest.equals(core.DateTime.parse("2002-02-27T
14:01:02"))); | 1155 unittest.expect(o.sendTime, unittest.equals(core.DateTime.parse("2002-02-27T
14:01:02"))); |
| 1156 unittest.expect(o.subject, unittest.equals('foo')); | 1156 unittest.expect(o.subject, unittest.equals('foo')); |
| 1157 } | 1157 } |
| 1158 buildCounterNotification--; | 1158 buildCounterNotification--; |
| 1159 } | 1159 } |
| 1160 | 1160 |
| 1161 buildUnnamed728() { | 1161 buildUnnamed749() { |
| 1162 var o = new core.List<api.Notification>(); | 1162 var o = new core.List<api.Notification>(); |
| 1163 o.add(buildNotification()); | 1163 o.add(buildNotification()); |
| 1164 o.add(buildNotification()); | 1164 o.add(buildNotification()); |
| 1165 return o; | 1165 return o; |
| 1166 } | 1166 } |
| 1167 | 1167 |
| 1168 checkUnnamed728(core.List<api.Notification> o) { | 1168 checkUnnamed749(core.List<api.Notification> o) { |
| 1169 unittest.expect(o, unittest.hasLength(2)); | 1169 unittest.expect(o, unittest.hasLength(2)); |
| 1170 checkNotification(o[0]); | 1170 checkNotification(o[0]); |
| 1171 checkNotification(o[1]); | 1171 checkNotification(o[1]); |
| 1172 } | 1172 } |
| 1173 | 1173 |
| 1174 core.int buildCounterNotifications = 0; | 1174 core.int buildCounterNotifications = 0; |
| 1175 buildNotifications() { | 1175 buildNotifications() { |
| 1176 var o = new api.Notifications(); | 1176 var o = new api.Notifications(); |
| 1177 buildCounterNotifications++; | 1177 buildCounterNotifications++; |
| 1178 if (buildCounterNotifications < 3) { | 1178 if (buildCounterNotifications < 3) { |
| 1179 o.etag = "foo"; | 1179 o.etag = "foo"; |
| 1180 o.items = buildUnnamed728(); | 1180 o.items = buildUnnamed749(); |
| 1181 o.kind = "foo"; | 1181 o.kind = "foo"; |
| 1182 o.nextPageToken = "foo"; | 1182 o.nextPageToken = "foo"; |
| 1183 o.unreadNotificationsCount = 42; | 1183 o.unreadNotificationsCount = 42; |
| 1184 } | 1184 } |
| 1185 buildCounterNotifications--; | 1185 buildCounterNotifications--; |
| 1186 return o; | 1186 return o; |
| 1187 } | 1187 } |
| 1188 | 1188 |
| 1189 checkNotifications(api.Notifications o) { | 1189 checkNotifications(api.Notifications o) { |
| 1190 buildCounterNotifications++; | 1190 buildCounterNotifications++; |
| 1191 if (buildCounterNotifications < 3) { | 1191 if (buildCounterNotifications < 3) { |
| 1192 unittest.expect(o.etag, unittest.equals('foo')); | 1192 unittest.expect(o.etag, unittest.equals('foo')); |
| 1193 checkUnnamed728(o.items); | 1193 checkUnnamed749(o.items); |
| 1194 unittest.expect(o.kind, unittest.equals('foo')); | 1194 unittest.expect(o.kind, unittest.equals('foo')); |
| 1195 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1195 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1196 unittest.expect(o.unreadNotificationsCount, unittest.equals(42)); | 1196 unittest.expect(o.unreadNotificationsCount, unittest.equals(42)); |
| 1197 } | 1197 } |
| 1198 buildCounterNotifications--; | 1198 buildCounterNotifications--; |
| 1199 } | 1199 } |
| 1200 | 1200 |
| 1201 core.int buildCounterOrgUnit = 0; | 1201 core.int buildCounterOrgUnit = 0; |
| 1202 buildOrgUnit() { | 1202 buildOrgUnit() { |
| 1203 var o = new api.OrgUnit(); | 1203 var o = new api.OrgUnit(); |
| (...skipping 22 matching lines...) Expand all Loading... |
| 1226 unittest.expect(o.kind, unittest.equals('foo')); | 1226 unittest.expect(o.kind, unittest.equals('foo')); |
| 1227 unittest.expect(o.name, unittest.equals('foo')); | 1227 unittest.expect(o.name, unittest.equals('foo')); |
| 1228 unittest.expect(o.orgUnitId, unittest.equals('foo')); | 1228 unittest.expect(o.orgUnitId, unittest.equals('foo')); |
| 1229 unittest.expect(o.orgUnitPath, unittest.equals('foo')); | 1229 unittest.expect(o.orgUnitPath, unittest.equals('foo')); |
| 1230 unittest.expect(o.parentOrgUnitId, unittest.equals('foo')); | 1230 unittest.expect(o.parentOrgUnitId, unittest.equals('foo')); |
| 1231 unittest.expect(o.parentOrgUnitPath, unittest.equals('foo')); | 1231 unittest.expect(o.parentOrgUnitPath, unittest.equals('foo')); |
| 1232 } | 1232 } |
| 1233 buildCounterOrgUnit--; | 1233 buildCounterOrgUnit--; |
| 1234 } | 1234 } |
| 1235 | 1235 |
| 1236 buildUnnamed729() { | 1236 buildUnnamed750() { |
| 1237 var o = new core.List<api.OrgUnit>(); | 1237 var o = new core.List<api.OrgUnit>(); |
| 1238 o.add(buildOrgUnit()); | 1238 o.add(buildOrgUnit()); |
| 1239 o.add(buildOrgUnit()); | 1239 o.add(buildOrgUnit()); |
| 1240 return o; | 1240 return o; |
| 1241 } | 1241 } |
| 1242 | 1242 |
| 1243 checkUnnamed729(core.List<api.OrgUnit> o) { | 1243 checkUnnamed750(core.List<api.OrgUnit> o) { |
| 1244 unittest.expect(o, unittest.hasLength(2)); | 1244 unittest.expect(o, unittest.hasLength(2)); |
| 1245 checkOrgUnit(o[0]); | 1245 checkOrgUnit(o[0]); |
| 1246 checkOrgUnit(o[1]); | 1246 checkOrgUnit(o[1]); |
| 1247 } | 1247 } |
| 1248 | 1248 |
| 1249 core.int buildCounterOrgUnits = 0; | 1249 core.int buildCounterOrgUnits = 0; |
| 1250 buildOrgUnits() { | 1250 buildOrgUnits() { |
| 1251 var o = new api.OrgUnits(); | 1251 var o = new api.OrgUnits(); |
| 1252 buildCounterOrgUnits++; | 1252 buildCounterOrgUnits++; |
| 1253 if (buildCounterOrgUnits < 3) { | 1253 if (buildCounterOrgUnits < 3) { |
| 1254 o.etag = "foo"; | 1254 o.etag = "foo"; |
| 1255 o.kind = "foo"; | 1255 o.kind = "foo"; |
| 1256 o.organizationUnits = buildUnnamed729(); | 1256 o.organizationUnits = buildUnnamed750(); |
| 1257 } | 1257 } |
| 1258 buildCounterOrgUnits--; | 1258 buildCounterOrgUnits--; |
| 1259 return o; | 1259 return o; |
| 1260 } | 1260 } |
| 1261 | 1261 |
| 1262 checkOrgUnits(api.OrgUnits o) { | 1262 checkOrgUnits(api.OrgUnits o) { |
| 1263 buildCounterOrgUnits++; | 1263 buildCounterOrgUnits++; |
| 1264 if (buildCounterOrgUnits < 3) { | 1264 if (buildCounterOrgUnits < 3) { |
| 1265 unittest.expect(o.etag, unittest.equals('foo')); | 1265 unittest.expect(o.etag, unittest.equals('foo')); |
| 1266 unittest.expect(o.kind, unittest.equals('foo')); | 1266 unittest.expect(o.kind, unittest.equals('foo')); |
| 1267 checkUnnamed729(o.organizationUnits); | 1267 checkUnnamed750(o.organizationUnits); |
| 1268 } | 1268 } |
| 1269 buildCounterOrgUnits--; | 1269 buildCounterOrgUnits--; |
| 1270 } | 1270 } |
| 1271 | 1271 |
| 1272 buildUnnamed730() { | 1272 buildUnnamed751() { |
| 1273 var o = new core.List<api.Privilege>(); | 1273 var o = new core.List<api.Privilege>(); |
| 1274 o.add(buildPrivilege()); | 1274 o.add(buildPrivilege()); |
| 1275 o.add(buildPrivilege()); | 1275 o.add(buildPrivilege()); |
| 1276 return o; | 1276 return o; |
| 1277 } | 1277 } |
| 1278 | 1278 |
| 1279 checkUnnamed730(core.List<api.Privilege> o) { | 1279 checkUnnamed751(core.List<api.Privilege> o) { |
| 1280 unittest.expect(o, unittest.hasLength(2)); | 1280 unittest.expect(o, unittest.hasLength(2)); |
| 1281 checkPrivilege(o[0]); | 1281 checkPrivilege(o[0]); |
| 1282 checkPrivilege(o[1]); | 1282 checkPrivilege(o[1]); |
| 1283 } | 1283 } |
| 1284 | 1284 |
| 1285 core.int buildCounterPrivilege = 0; | 1285 core.int buildCounterPrivilege = 0; |
| 1286 buildPrivilege() { | 1286 buildPrivilege() { |
| 1287 var o = new api.Privilege(); | 1287 var o = new api.Privilege(); |
| 1288 buildCounterPrivilege++; | 1288 buildCounterPrivilege++; |
| 1289 if (buildCounterPrivilege < 3) { | 1289 if (buildCounterPrivilege < 3) { |
| 1290 o.childPrivileges = buildUnnamed730(); | 1290 o.childPrivileges = buildUnnamed751(); |
| 1291 o.etag = "foo"; | 1291 o.etag = "foo"; |
| 1292 o.isOuScopable = true; | 1292 o.isOuScopable = true; |
| 1293 o.kind = "foo"; | 1293 o.kind = "foo"; |
| 1294 o.privilegeName = "foo"; | 1294 o.privilegeName = "foo"; |
| 1295 o.serviceId = "foo"; | 1295 o.serviceId = "foo"; |
| 1296 o.serviceName = "foo"; | 1296 o.serviceName = "foo"; |
| 1297 } | 1297 } |
| 1298 buildCounterPrivilege--; | 1298 buildCounterPrivilege--; |
| 1299 return o; | 1299 return o; |
| 1300 } | 1300 } |
| 1301 | 1301 |
| 1302 checkPrivilege(api.Privilege o) { | 1302 checkPrivilege(api.Privilege o) { |
| 1303 buildCounterPrivilege++; | 1303 buildCounterPrivilege++; |
| 1304 if (buildCounterPrivilege < 3) { | 1304 if (buildCounterPrivilege < 3) { |
| 1305 checkUnnamed730(o.childPrivileges); | 1305 checkUnnamed751(o.childPrivileges); |
| 1306 unittest.expect(o.etag, unittest.equals('foo')); | 1306 unittest.expect(o.etag, unittest.equals('foo')); |
| 1307 unittest.expect(o.isOuScopable, unittest.isTrue); | 1307 unittest.expect(o.isOuScopable, unittest.isTrue); |
| 1308 unittest.expect(o.kind, unittest.equals('foo')); | 1308 unittest.expect(o.kind, unittest.equals('foo')); |
| 1309 unittest.expect(o.privilegeName, unittest.equals('foo')); | 1309 unittest.expect(o.privilegeName, unittest.equals('foo')); |
| 1310 unittest.expect(o.serviceId, unittest.equals('foo')); | 1310 unittest.expect(o.serviceId, unittest.equals('foo')); |
| 1311 unittest.expect(o.serviceName, unittest.equals('foo')); | 1311 unittest.expect(o.serviceName, unittest.equals('foo')); |
| 1312 } | 1312 } |
| 1313 buildCounterPrivilege--; | 1313 buildCounterPrivilege--; |
| 1314 } | 1314 } |
| 1315 | 1315 |
| 1316 buildUnnamed731() { | 1316 buildUnnamed752() { |
| 1317 var o = new core.List<api.Privilege>(); | 1317 var o = new core.List<api.Privilege>(); |
| 1318 o.add(buildPrivilege()); | 1318 o.add(buildPrivilege()); |
| 1319 o.add(buildPrivilege()); | 1319 o.add(buildPrivilege()); |
| 1320 return o; | 1320 return o; |
| 1321 } | 1321 } |
| 1322 | 1322 |
| 1323 checkUnnamed731(core.List<api.Privilege> o) { | 1323 checkUnnamed752(core.List<api.Privilege> o) { |
| 1324 unittest.expect(o, unittest.hasLength(2)); | 1324 unittest.expect(o, unittest.hasLength(2)); |
| 1325 checkPrivilege(o[0]); | 1325 checkPrivilege(o[0]); |
| 1326 checkPrivilege(o[1]); | 1326 checkPrivilege(o[1]); |
| 1327 } | 1327 } |
| 1328 | 1328 |
| 1329 core.int buildCounterPrivileges = 0; | 1329 core.int buildCounterPrivileges = 0; |
| 1330 buildPrivileges() { | 1330 buildPrivileges() { |
| 1331 var o = new api.Privileges(); | 1331 var o = new api.Privileges(); |
| 1332 buildCounterPrivileges++; | 1332 buildCounterPrivileges++; |
| 1333 if (buildCounterPrivileges < 3) { | 1333 if (buildCounterPrivileges < 3) { |
| 1334 o.etag = "foo"; | 1334 o.etag = "foo"; |
| 1335 o.items = buildUnnamed731(); | 1335 o.items = buildUnnamed752(); |
| 1336 o.kind = "foo"; | 1336 o.kind = "foo"; |
| 1337 } | 1337 } |
| 1338 buildCounterPrivileges--; | 1338 buildCounterPrivileges--; |
| 1339 return o; | 1339 return o; |
| 1340 } | 1340 } |
| 1341 | 1341 |
| 1342 checkPrivileges(api.Privileges o) { | 1342 checkPrivileges(api.Privileges o) { |
| 1343 buildCounterPrivileges++; | 1343 buildCounterPrivileges++; |
| 1344 if (buildCounterPrivileges < 3) { | 1344 if (buildCounterPrivileges < 3) { |
| 1345 unittest.expect(o.etag, unittest.equals('foo')); | 1345 unittest.expect(o.etag, unittest.equals('foo')); |
| 1346 checkUnnamed731(o.items); | 1346 checkUnnamed752(o.items); |
| 1347 unittest.expect(o.kind, unittest.equals('foo')); | 1347 unittest.expect(o.kind, unittest.equals('foo')); |
| 1348 } | 1348 } |
| 1349 buildCounterPrivileges--; | 1349 buildCounterPrivileges--; |
| 1350 } | 1350 } |
| 1351 | 1351 |
| 1352 core.int buildCounterRoleRolePrivileges = 0; | 1352 core.int buildCounterRoleRolePrivileges = 0; |
| 1353 buildRoleRolePrivileges() { | 1353 buildRoleRolePrivileges() { |
| 1354 var o = new api.RoleRolePrivileges(); | 1354 var o = new api.RoleRolePrivileges(); |
| 1355 buildCounterRoleRolePrivileges++; | 1355 buildCounterRoleRolePrivileges++; |
| 1356 if (buildCounterRoleRolePrivileges < 3) { | 1356 if (buildCounterRoleRolePrivileges < 3) { |
| 1357 o.privilegeName = "foo"; | 1357 o.privilegeName = "foo"; |
| 1358 o.serviceId = "foo"; | 1358 o.serviceId = "foo"; |
| 1359 } | 1359 } |
| 1360 buildCounterRoleRolePrivileges--; | 1360 buildCounterRoleRolePrivileges--; |
| 1361 return o; | 1361 return o; |
| 1362 } | 1362 } |
| 1363 | 1363 |
| 1364 checkRoleRolePrivileges(api.RoleRolePrivileges o) { | 1364 checkRoleRolePrivileges(api.RoleRolePrivileges o) { |
| 1365 buildCounterRoleRolePrivileges++; | 1365 buildCounterRoleRolePrivileges++; |
| 1366 if (buildCounterRoleRolePrivileges < 3) { | 1366 if (buildCounterRoleRolePrivileges < 3) { |
| 1367 unittest.expect(o.privilegeName, unittest.equals('foo')); | 1367 unittest.expect(o.privilegeName, unittest.equals('foo')); |
| 1368 unittest.expect(o.serviceId, unittest.equals('foo')); | 1368 unittest.expect(o.serviceId, unittest.equals('foo')); |
| 1369 } | 1369 } |
| 1370 buildCounterRoleRolePrivileges--; | 1370 buildCounterRoleRolePrivileges--; |
| 1371 } | 1371 } |
| 1372 | 1372 |
| 1373 buildUnnamed732() { | 1373 buildUnnamed753() { |
| 1374 var o = new core.List<api.RoleRolePrivileges>(); | 1374 var o = new core.List<api.RoleRolePrivileges>(); |
| 1375 o.add(buildRoleRolePrivileges()); | 1375 o.add(buildRoleRolePrivileges()); |
| 1376 o.add(buildRoleRolePrivileges()); | 1376 o.add(buildRoleRolePrivileges()); |
| 1377 return o; | 1377 return o; |
| 1378 } | 1378 } |
| 1379 | 1379 |
| 1380 checkUnnamed732(core.List<api.RoleRolePrivileges> o) { | 1380 checkUnnamed753(core.List<api.RoleRolePrivileges> o) { |
| 1381 unittest.expect(o, unittest.hasLength(2)); | 1381 unittest.expect(o, unittest.hasLength(2)); |
| 1382 checkRoleRolePrivileges(o[0]); | 1382 checkRoleRolePrivileges(o[0]); |
| 1383 checkRoleRolePrivileges(o[1]); | 1383 checkRoleRolePrivileges(o[1]); |
| 1384 } | 1384 } |
| 1385 | 1385 |
| 1386 core.int buildCounterRole = 0; | 1386 core.int buildCounterRole = 0; |
| 1387 buildRole() { | 1387 buildRole() { |
| 1388 var o = new api.Role(); | 1388 var o = new api.Role(); |
| 1389 buildCounterRole++; | 1389 buildCounterRole++; |
| 1390 if (buildCounterRole < 3) { | 1390 if (buildCounterRole < 3) { |
| 1391 o.etag = "foo"; | 1391 o.etag = "foo"; |
| 1392 o.isSuperAdminRole = true; | 1392 o.isSuperAdminRole = true; |
| 1393 o.isSystemRole = true; | 1393 o.isSystemRole = true; |
| 1394 o.kind = "foo"; | 1394 o.kind = "foo"; |
| 1395 o.roleDescription = "foo"; | 1395 o.roleDescription = "foo"; |
| 1396 o.roleId = "foo"; | 1396 o.roleId = "foo"; |
| 1397 o.roleName = "foo"; | 1397 o.roleName = "foo"; |
| 1398 o.rolePrivileges = buildUnnamed732(); | 1398 o.rolePrivileges = buildUnnamed753(); |
| 1399 } | 1399 } |
| 1400 buildCounterRole--; | 1400 buildCounterRole--; |
| 1401 return o; | 1401 return o; |
| 1402 } | 1402 } |
| 1403 | 1403 |
| 1404 checkRole(api.Role o) { | 1404 checkRole(api.Role o) { |
| 1405 buildCounterRole++; | 1405 buildCounterRole++; |
| 1406 if (buildCounterRole < 3) { | 1406 if (buildCounterRole < 3) { |
| 1407 unittest.expect(o.etag, unittest.equals('foo')); | 1407 unittest.expect(o.etag, unittest.equals('foo')); |
| 1408 unittest.expect(o.isSuperAdminRole, unittest.isTrue); | 1408 unittest.expect(o.isSuperAdminRole, unittest.isTrue); |
| 1409 unittest.expect(o.isSystemRole, unittest.isTrue); | 1409 unittest.expect(o.isSystemRole, unittest.isTrue); |
| 1410 unittest.expect(o.kind, unittest.equals('foo')); | 1410 unittest.expect(o.kind, unittest.equals('foo')); |
| 1411 unittest.expect(o.roleDescription, unittest.equals('foo')); | 1411 unittest.expect(o.roleDescription, unittest.equals('foo')); |
| 1412 unittest.expect(o.roleId, unittest.equals('foo')); | 1412 unittest.expect(o.roleId, unittest.equals('foo')); |
| 1413 unittest.expect(o.roleName, unittest.equals('foo')); | 1413 unittest.expect(o.roleName, unittest.equals('foo')); |
| 1414 checkUnnamed732(o.rolePrivileges); | 1414 checkUnnamed753(o.rolePrivileges); |
| 1415 } | 1415 } |
| 1416 buildCounterRole--; | 1416 buildCounterRole--; |
| 1417 } | 1417 } |
| 1418 | 1418 |
| 1419 core.int buildCounterRoleAssignment = 0; | 1419 core.int buildCounterRoleAssignment = 0; |
| 1420 buildRoleAssignment() { | 1420 buildRoleAssignment() { |
| 1421 var o = new api.RoleAssignment(); | 1421 var o = new api.RoleAssignment(); |
| 1422 buildCounterRoleAssignment++; | 1422 buildCounterRoleAssignment++; |
| 1423 if (buildCounterRoleAssignment < 3) { | 1423 if (buildCounterRoleAssignment < 3) { |
| 1424 o.assignedTo = "foo"; | 1424 o.assignedTo = "foo"; |
| (...skipping 15 matching lines...) Expand all Loading... |
| 1440 unittest.expect(o.etag, unittest.equals('foo')); | 1440 unittest.expect(o.etag, unittest.equals('foo')); |
| 1441 unittest.expect(o.kind, unittest.equals('foo')); | 1441 unittest.expect(o.kind, unittest.equals('foo')); |
| 1442 unittest.expect(o.orgUnitId, unittest.equals('foo')); | 1442 unittest.expect(o.orgUnitId, unittest.equals('foo')); |
| 1443 unittest.expect(o.roleAssignmentId, unittest.equals('foo')); | 1443 unittest.expect(o.roleAssignmentId, unittest.equals('foo')); |
| 1444 unittest.expect(o.roleId, unittest.equals('foo')); | 1444 unittest.expect(o.roleId, unittest.equals('foo')); |
| 1445 unittest.expect(o.scopeType, unittest.equals('foo')); | 1445 unittest.expect(o.scopeType, unittest.equals('foo')); |
| 1446 } | 1446 } |
| 1447 buildCounterRoleAssignment--; | 1447 buildCounterRoleAssignment--; |
| 1448 } | 1448 } |
| 1449 | 1449 |
| 1450 buildUnnamed733() { | 1450 buildUnnamed754() { |
| 1451 var o = new core.List<api.RoleAssignment>(); | 1451 var o = new core.List<api.RoleAssignment>(); |
| 1452 o.add(buildRoleAssignment()); | 1452 o.add(buildRoleAssignment()); |
| 1453 o.add(buildRoleAssignment()); | 1453 o.add(buildRoleAssignment()); |
| 1454 return o; | 1454 return o; |
| 1455 } | 1455 } |
| 1456 | 1456 |
| 1457 checkUnnamed733(core.List<api.RoleAssignment> o) { | 1457 checkUnnamed754(core.List<api.RoleAssignment> o) { |
| 1458 unittest.expect(o, unittest.hasLength(2)); | 1458 unittest.expect(o, unittest.hasLength(2)); |
| 1459 checkRoleAssignment(o[0]); | 1459 checkRoleAssignment(o[0]); |
| 1460 checkRoleAssignment(o[1]); | 1460 checkRoleAssignment(o[1]); |
| 1461 } | 1461 } |
| 1462 | 1462 |
| 1463 core.int buildCounterRoleAssignments = 0; | 1463 core.int buildCounterRoleAssignments = 0; |
| 1464 buildRoleAssignments() { | 1464 buildRoleAssignments() { |
| 1465 var o = new api.RoleAssignments(); | 1465 var o = new api.RoleAssignments(); |
| 1466 buildCounterRoleAssignments++; | 1466 buildCounterRoleAssignments++; |
| 1467 if (buildCounterRoleAssignments < 3) { | 1467 if (buildCounterRoleAssignments < 3) { |
| 1468 o.etag = "foo"; | 1468 o.etag = "foo"; |
| 1469 o.items = buildUnnamed733(); | 1469 o.items = buildUnnamed754(); |
| 1470 o.kind = "foo"; | 1470 o.kind = "foo"; |
| 1471 o.nextPageToken = "foo"; | 1471 o.nextPageToken = "foo"; |
| 1472 } | 1472 } |
| 1473 buildCounterRoleAssignments--; | 1473 buildCounterRoleAssignments--; |
| 1474 return o; | 1474 return o; |
| 1475 } | 1475 } |
| 1476 | 1476 |
| 1477 checkRoleAssignments(api.RoleAssignments o) { | 1477 checkRoleAssignments(api.RoleAssignments o) { |
| 1478 buildCounterRoleAssignments++; | 1478 buildCounterRoleAssignments++; |
| 1479 if (buildCounterRoleAssignments < 3) { | 1479 if (buildCounterRoleAssignments < 3) { |
| 1480 unittest.expect(o.etag, unittest.equals('foo')); | 1480 unittest.expect(o.etag, unittest.equals('foo')); |
| 1481 checkUnnamed733(o.items); | 1481 checkUnnamed754(o.items); |
| 1482 unittest.expect(o.kind, unittest.equals('foo')); | 1482 unittest.expect(o.kind, unittest.equals('foo')); |
| 1483 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1483 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1484 } | 1484 } |
| 1485 buildCounterRoleAssignments--; | 1485 buildCounterRoleAssignments--; |
| 1486 } | 1486 } |
| 1487 | 1487 |
| 1488 buildUnnamed734() { | 1488 buildUnnamed755() { |
| 1489 var o = new core.List<api.Role>(); | 1489 var o = new core.List<api.Role>(); |
| 1490 o.add(buildRole()); | 1490 o.add(buildRole()); |
| 1491 o.add(buildRole()); | 1491 o.add(buildRole()); |
| 1492 return o; | 1492 return o; |
| 1493 } | 1493 } |
| 1494 | 1494 |
| 1495 checkUnnamed734(core.List<api.Role> o) { | 1495 checkUnnamed755(core.List<api.Role> o) { |
| 1496 unittest.expect(o, unittest.hasLength(2)); | 1496 unittest.expect(o, unittest.hasLength(2)); |
| 1497 checkRole(o[0]); | 1497 checkRole(o[0]); |
| 1498 checkRole(o[1]); | 1498 checkRole(o[1]); |
| 1499 } | 1499 } |
| 1500 | 1500 |
| 1501 core.int buildCounterRoles = 0; | 1501 core.int buildCounterRoles = 0; |
| 1502 buildRoles() { | 1502 buildRoles() { |
| 1503 var o = new api.Roles(); | 1503 var o = new api.Roles(); |
| 1504 buildCounterRoles++; | 1504 buildCounterRoles++; |
| 1505 if (buildCounterRoles < 3) { | 1505 if (buildCounterRoles < 3) { |
| 1506 o.etag = "foo"; | 1506 o.etag = "foo"; |
| 1507 o.items = buildUnnamed734(); | 1507 o.items = buildUnnamed755(); |
| 1508 o.kind = "foo"; | 1508 o.kind = "foo"; |
| 1509 o.nextPageToken = "foo"; | 1509 o.nextPageToken = "foo"; |
| 1510 } | 1510 } |
| 1511 buildCounterRoles--; | 1511 buildCounterRoles--; |
| 1512 return o; | 1512 return o; |
| 1513 } | 1513 } |
| 1514 | 1514 |
| 1515 checkRoles(api.Roles o) { | 1515 checkRoles(api.Roles o) { |
| 1516 buildCounterRoles++; | 1516 buildCounterRoles++; |
| 1517 if (buildCounterRoles < 3) { | 1517 if (buildCounterRoles < 3) { |
| 1518 unittest.expect(o.etag, unittest.equals('foo')); | 1518 unittest.expect(o.etag, unittest.equals('foo')); |
| 1519 checkUnnamed734(o.items); | 1519 checkUnnamed755(o.items); |
| 1520 unittest.expect(o.kind, unittest.equals('foo')); | 1520 unittest.expect(o.kind, unittest.equals('foo')); |
| 1521 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1521 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1522 } | 1522 } |
| 1523 buildCounterRoles--; | 1523 buildCounterRoles--; |
| 1524 } | 1524 } |
| 1525 | 1525 |
| 1526 buildUnnamed735() { | 1526 buildUnnamed756() { |
| 1527 var o = new core.List<api.SchemaFieldSpec>(); | 1527 var o = new core.List<api.SchemaFieldSpec>(); |
| 1528 o.add(buildSchemaFieldSpec()); | 1528 o.add(buildSchemaFieldSpec()); |
| 1529 o.add(buildSchemaFieldSpec()); | 1529 o.add(buildSchemaFieldSpec()); |
| 1530 return o; | 1530 return o; |
| 1531 } | 1531 } |
| 1532 | 1532 |
| 1533 checkUnnamed735(core.List<api.SchemaFieldSpec> o) { | 1533 checkUnnamed756(core.List<api.SchemaFieldSpec> o) { |
| 1534 unittest.expect(o, unittest.hasLength(2)); | 1534 unittest.expect(o, unittest.hasLength(2)); |
| 1535 checkSchemaFieldSpec(o[0]); | 1535 checkSchemaFieldSpec(o[0]); |
| 1536 checkSchemaFieldSpec(o[1]); | 1536 checkSchemaFieldSpec(o[1]); |
| 1537 } | 1537 } |
| 1538 | 1538 |
| 1539 core.int buildCounterSchema = 0; | 1539 core.int buildCounterSchema = 0; |
| 1540 buildSchema() { | 1540 buildSchema() { |
| 1541 var o = new api.Schema(); | 1541 var o = new api.Schema(); |
| 1542 buildCounterSchema++; | 1542 buildCounterSchema++; |
| 1543 if (buildCounterSchema < 3) { | 1543 if (buildCounterSchema < 3) { |
| 1544 o.etag = "foo"; | 1544 o.etag = "foo"; |
| 1545 o.fields = buildUnnamed735(); | 1545 o.fields = buildUnnamed756(); |
| 1546 o.kind = "foo"; | 1546 o.kind = "foo"; |
| 1547 o.schemaId = "foo"; | 1547 o.schemaId = "foo"; |
| 1548 o.schemaName = "foo"; | 1548 o.schemaName = "foo"; |
| 1549 } | 1549 } |
| 1550 buildCounterSchema--; | 1550 buildCounterSchema--; |
| 1551 return o; | 1551 return o; |
| 1552 } | 1552 } |
| 1553 | 1553 |
| 1554 checkSchema(api.Schema o) { | 1554 checkSchema(api.Schema o) { |
| 1555 buildCounterSchema++; | 1555 buildCounterSchema++; |
| 1556 if (buildCounterSchema < 3) { | 1556 if (buildCounterSchema < 3) { |
| 1557 unittest.expect(o.etag, unittest.equals('foo')); | 1557 unittest.expect(o.etag, unittest.equals('foo')); |
| 1558 checkUnnamed735(o.fields); | 1558 checkUnnamed756(o.fields); |
| 1559 unittest.expect(o.kind, unittest.equals('foo')); | 1559 unittest.expect(o.kind, unittest.equals('foo')); |
| 1560 unittest.expect(o.schemaId, unittest.equals('foo')); | 1560 unittest.expect(o.schemaId, unittest.equals('foo')); |
| 1561 unittest.expect(o.schemaName, unittest.equals('foo')); | 1561 unittest.expect(o.schemaName, unittest.equals('foo')); |
| 1562 } | 1562 } |
| 1563 buildCounterSchema--; | 1563 buildCounterSchema--; |
| 1564 } | 1564 } |
| 1565 | 1565 |
| 1566 core.int buildCounterSchemaFieldSpecNumericIndexingSpec = 0; | 1566 core.int buildCounterSchemaFieldSpecNumericIndexingSpec = 0; |
| 1567 buildSchemaFieldSpecNumericIndexingSpec() { | 1567 buildSchemaFieldSpecNumericIndexingSpec() { |
| 1568 var o = new api.SchemaFieldSpecNumericIndexingSpec(); | 1568 var o = new api.SchemaFieldSpecNumericIndexingSpec(); |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1612 unittest.expect(o.fieldType, unittest.equals('foo')); | 1612 unittest.expect(o.fieldType, unittest.equals('foo')); |
| 1613 unittest.expect(o.indexed, unittest.isTrue); | 1613 unittest.expect(o.indexed, unittest.isTrue); |
| 1614 unittest.expect(o.kind, unittest.equals('foo')); | 1614 unittest.expect(o.kind, unittest.equals('foo')); |
| 1615 unittest.expect(o.multiValued, unittest.isTrue); | 1615 unittest.expect(o.multiValued, unittest.isTrue); |
| 1616 checkSchemaFieldSpecNumericIndexingSpec(o.numericIndexingSpec); | 1616 checkSchemaFieldSpecNumericIndexingSpec(o.numericIndexingSpec); |
| 1617 unittest.expect(o.readAccessType, unittest.equals('foo')); | 1617 unittest.expect(o.readAccessType, unittest.equals('foo')); |
| 1618 } | 1618 } |
| 1619 buildCounterSchemaFieldSpec--; | 1619 buildCounterSchemaFieldSpec--; |
| 1620 } | 1620 } |
| 1621 | 1621 |
| 1622 buildUnnamed736() { | 1622 buildUnnamed757() { |
| 1623 var o = new core.List<api.Schema>(); | 1623 var o = new core.List<api.Schema>(); |
| 1624 o.add(buildSchema()); | 1624 o.add(buildSchema()); |
| 1625 o.add(buildSchema()); | 1625 o.add(buildSchema()); |
| 1626 return o; | 1626 return o; |
| 1627 } | 1627 } |
| 1628 | 1628 |
| 1629 checkUnnamed736(core.List<api.Schema> o) { | 1629 checkUnnamed757(core.List<api.Schema> o) { |
| 1630 unittest.expect(o, unittest.hasLength(2)); | 1630 unittest.expect(o, unittest.hasLength(2)); |
| 1631 checkSchema(o[0]); | 1631 checkSchema(o[0]); |
| 1632 checkSchema(o[1]); | 1632 checkSchema(o[1]); |
| 1633 } | 1633 } |
| 1634 | 1634 |
| 1635 core.int buildCounterSchemas = 0; | 1635 core.int buildCounterSchemas = 0; |
| 1636 buildSchemas() { | 1636 buildSchemas() { |
| 1637 var o = new api.Schemas(); | 1637 var o = new api.Schemas(); |
| 1638 buildCounterSchemas++; | 1638 buildCounterSchemas++; |
| 1639 if (buildCounterSchemas < 3) { | 1639 if (buildCounterSchemas < 3) { |
| 1640 o.etag = "foo"; | 1640 o.etag = "foo"; |
| 1641 o.kind = "foo"; | 1641 o.kind = "foo"; |
| 1642 o.schemas = buildUnnamed736(); | 1642 o.schemas = buildUnnamed757(); |
| 1643 } | 1643 } |
| 1644 buildCounterSchemas--; | 1644 buildCounterSchemas--; |
| 1645 return o; | 1645 return o; |
| 1646 } | 1646 } |
| 1647 | 1647 |
| 1648 checkSchemas(api.Schemas o) { | 1648 checkSchemas(api.Schemas o) { |
| 1649 buildCounterSchemas++; | 1649 buildCounterSchemas++; |
| 1650 if (buildCounterSchemas < 3) { | 1650 if (buildCounterSchemas < 3) { |
| 1651 unittest.expect(o.etag, unittest.equals('foo')); | 1651 unittest.expect(o.etag, unittest.equals('foo')); |
| 1652 unittest.expect(o.kind, unittest.equals('foo')); | 1652 unittest.expect(o.kind, unittest.equals('foo')); |
| 1653 checkUnnamed736(o.schemas); | 1653 checkUnnamed757(o.schemas); |
| 1654 } | 1654 } |
| 1655 buildCounterSchemas--; | 1655 buildCounterSchemas--; |
| 1656 } | 1656 } |
| 1657 | 1657 |
| 1658 buildUnnamed737() { | 1658 buildUnnamed758() { |
| 1659 var o = new core.List<core.String>(); | 1659 var o = new core.List<core.String>(); |
| 1660 o.add("foo"); | 1660 o.add("foo"); |
| 1661 o.add("foo"); | 1661 o.add("foo"); |
| 1662 return o; | 1662 return o; |
| 1663 } | 1663 } |
| 1664 | 1664 |
| 1665 checkUnnamed737(core.List<core.String> o) { | 1665 checkUnnamed758(core.List<core.String> o) { |
| 1666 unittest.expect(o, unittest.hasLength(2)); | 1666 unittest.expect(o, unittest.hasLength(2)); |
| 1667 unittest.expect(o[0], unittest.equals('foo')); | 1667 unittest.expect(o[0], unittest.equals('foo')); |
| 1668 unittest.expect(o[1], unittest.equals('foo')); | 1668 unittest.expect(o[1], unittest.equals('foo')); |
| 1669 } | 1669 } |
| 1670 | 1670 |
| 1671 core.int buildCounterToken = 0; | 1671 core.int buildCounterToken = 0; |
| 1672 buildToken() { | 1672 buildToken() { |
| 1673 var o = new api.Token(); | 1673 var o = new api.Token(); |
| 1674 buildCounterToken++; | 1674 buildCounterToken++; |
| 1675 if (buildCounterToken < 3) { | 1675 if (buildCounterToken < 3) { |
| 1676 o.anonymous = true; | 1676 o.anonymous = true; |
| 1677 o.clientId = "foo"; | 1677 o.clientId = "foo"; |
| 1678 o.displayText = "foo"; | 1678 o.displayText = "foo"; |
| 1679 o.etag = "foo"; | 1679 o.etag = "foo"; |
| 1680 o.kind = "foo"; | 1680 o.kind = "foo"; |
| 1681 o.nativeApp = true; | 1681 o.nativeApp = true; |
| 1682 o.scopes = buildUnnamed737(); | 1682 o.scopes = buildUnnamed758(); |
| 1683 o.userKey = "foo"; | 1683 o.userKey = "foo"; |
| 1684 } | 1684 } |
| 1685 buildCounterToken--; | 1685 buildCounterToken--; |
| 1686 return o; | 1686 return o; |
| 1687 } | 1687 } |
| 1688 | 1688 |
| 1689 checkToken(api.Token o) { | 1689 checkToken(api.Token o) { |
| 1690 buildCounterToken++; | 1690 buildCounterToken++; |
| 1691 if (buildCounterToken < 3) { | 1691 if (buildCounterToken < 3) { |
| 1692 unittest.expect(o.anonymous, unittest.isTrue); | 1692 unittest.expect(o.anonymous, unittest.isTrue); |
| 1693 unittest.expect(o.clientId, unittest.equals('foo')); | 1693 unittest.expect(o.clientId, unittest.equals('foo')); |
| 1694 unittest.expect(o.displayText, unittest.equals('foo')); | 1694 unittest.expect(o.displayText, unittest.equals('foo')); |
| 1695 unittest.expect(o.etag, unittest.equals('foo')); | 1695 unittest.expect(o.etag, unittest.equals('foo')); |
| 1696 unittest.expect(o.kind, unittest.equals('foo')); | 1696 unittest.expect(o.kind, unittest.equals('foo')); |
| 1697 unittest.expect(o.nativeApp, unittest.isTrue); | 1697 unittest.expect(o.nativeApp, unittest.isTrue); |
| 1698 checkUnnamed737(o.scopes); | 1698 checkUnnamed758(o.scopes); |
| 1699 unittest.expect(o.userKey, unittest.equals('foo')); | 1699 unittest.expect(o.userKey, unittest.equals('foo')); |
| 1700 } | 1700 } |
| 1701 buildCounterToken--; | 1701 buildCounterToken--; |
| 1702 } | 1702 } |
| 1703 | 1703 |
| 1704 buildUnnamed738() { | 1704 buildUnnamed759() { |
| 1705 var o = new core.List<api.Token>(); | 1705 var o = new core.List<api.Token>(); |
| 1706 o.add(buildToken()); | 1706 o.add(buildToken()); |
| 1707 o.add(buildToken()); | 1707 o.add(buildToken()); |
| 1708 return o; | 1708 return o; |
| 1709 } | 1709 } |
| 1710 | 1710 |
| 1711 checkUnnamed738(core.List<api.Token> o) { | 1711 checkUnnamed759(core.List<api.Token> o) { |
| 1712 unittest.expect(o, unittest.hasLength(2)); | 1712 unittest.expect(o, unittest.hasLength(2)); |
| 1713 checkToken(o[0]); | 1713 checkToken(o[0]); |
| 1714 checkToken(o[1]); | 1714 checkToken(o[1]); |
| 1715 } | 1715 } |
| 1716 | 1716 |
| 1717 core.int buildCounterTokens = 0; | 1717 core.int buildCounterTokens = 0; |
| 1718 buildTokens() { | 1718 buildTokens() { |
| 1719 var o = new api.Tokens(); | 1719 var o = new api.Tokens(); |
| 1720 buildCounterTokens++; | 1720 buildCounterTokens++; |
| 1721 if (buildCounterTokens < 3) { | 1721 if (buildCounterTokens < 3) { |
| 1722 o.etag = "foo"; | 1722 o.etag = "foo"; |
| 1723 o.items = buildUnnamed738(); | 1723 o.items = buildUnnamed759(); |
| 1724 o.kind = "foo"; | 1724 o.kind = "foo"; |
| 1725 } | 1725 } |
| 1726 buildCounterTokens--; | 1726 buildCounterTokens--; |
| 1727 return o; | 1727 return o; |
| 1728 } | 1728 } |
| 1729 | 1729 |
| 1730 checkTokens(api.Tokens o) { | 1730 checkTokens(api.Tokens o) { |
| 1731 buildCounterTokens++; | 1731 buildCounterTokens++; |
| 1732 if (buildCounterTokens < 3) { | 1732 if (buildCounterTokens < 3) { |
| 1733 unittest.expect(o.etag, unittest.equals('foo')); | 1733 unittest.expect(o.etag, unittest.equals('foo')); |
| 1734 checkUnnamed738(o.items); | 1734 checkUnnamed759(o.items); |
| 1735 unittest.expect(o.kind, unittest.equals('foo')); | 1735 unittest.expect(o.kind, unittest.equals('foo')); |
| 1736 } | 1736 } |
| 1737 buildCounterTokens--; | 1737 buildCounterTokens--; |
| 1738 } | 1738 } |
| 1739 | 1739 |
| 1740 buildUnnamed739() { | 1740 buildUnnamed760() { |
| 1741 var o = new core.List<core.String>(); | 1741 var o = new core.List<core.String>(); |
| 1742 o.add("foo"); | 1742 o.add("foo"); |
| 1743 o.add("foo"); | 1743 o.add("foo"); |
| 1744 return o; | 1744 return o; |
| 1745 } | 1745 } |
| 1746 | 1746 |
| 1747 checkUnnamed739(core.List<core.String> o) { | 1747 checkUnnamed760(core.List<core.String> o) { |
| 1748 unittest.expect(o, unittest.hasLength(2)); | 1748 unittest.expect(o, unittest.hasLength(2)); |
| 1749 unittest.expect(o[0], unittest.equals('foo')); | 1749 unittest.expect(o[0], unittest.equals('foo')); |
| 1750 unittest.expect(o[1], unittest.equals('foo')); | 1750 unittest.expect(o[1], unittest.equals('foo')); |
| 1751 } | 1751 } |
| 1752 | 1752 |
| 1753 buildUnnamed740() { | 1753 buildUnnamed761() { |
| 1754 var o = new core.Map<core.String, api.UserCustomProperties>(); | 1754 var o = new core.Map<core.String, api.UserCustomProperties>(); |
| 1755 o["x"] = buildUserCustomProperties(); | 1755 o["x"] = buildUserCustomProperties(); |
| 1756 o["y"] = buildUserCustomProperties(); | 1756 o["y"] = buildUserCustomProperties(); |
| 1757 return o; | 1757 return o; |
| 1758 } | 1758 } |
| 1759 | 1759 |
| 1760 checkUnnamed740(core.Map<core.String, api.UserCustomProperties> o) { | 1760 checkUnnamed761(core.Map<core.String, api.UserCustomProperties> o) { |
| 1761 unittest.expect(o, unittest.hasLength(2)); | 1761 unittest.expect(o, unittest.hasLength(2)); |
| 1762 checkUserCustomProperties(o["x"]); | 1762 checkUserCustomProperties(o["x"]); |
| 1763 checkUserCustomProperties(o["y"]); | 1763 checkUserCustomProperties(o["y"]); |
| 1764 } | 1764 } |
| 1765 | 1765 |
| 1766 buildUnnamed741() { | 1766 buildUnnamed762() { |
| 1767 var o = new core.List<core.String>(); | 1767 var o = new core.List<core.String>(); |
| 1768 o.add("foo"); | 1768 o.add("foo"); |
| 1769 o.add("foo"); | 1769 o.add("foo"); |
| 1770 return o; | 1770 return o; |
| 1771 } | 1771 } |
| 1772 | 1772 |
| 1773 checkUnnamed741(core.List<core.String> o) { | 1773 checkUnnamed762(core.List<core.String> o) { |
| 1774 unittest.expect(o, unittest.hasLength(2)); | 1774 unittest.expect(o, unittest.hasLength(2)); |
| 1775 unittest.expect(o[0], unittest.equals('foo')); | 1775 unittest.expect(o[0], unittest.equals('foo')); |
| 1776 unittest.expect(o[1], unittest.equals('foo')); | 1776 unittest.expect(o[1], unittest.equals('foo')); |
| 1777 } | 1777 } |
| 1778 | 1778 |
| 1779 core.int buildCounterUser = 0; | 1779 core.int buildCounterUser = 0; |
| 1780 buildUser() { | 1780 buildUser() { |
| 1781 var o = new api.User(); | 1781 var o = new api.User(); |
| 1782 buildCounterUser++; | 1782 buildCounterUser++; |
| 1783 if (buildCounterUser < 3) { | 1783 if (buildCounterUser < 3) { |
| 1784 o.addresses = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1784 o.addresses = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 1785 o.agreedToTerms = true; | 1785 o.agreedToTerms = true; |
| 1786 o.aliases = buildUnnamed739(); | 1786 o.aliases = buildUnnamed760(); |
| 1787 o.changePasswordAtNextLogin = true; | 1787 o.changePasswordAtNextLogin = true; |
| 1788 o.creationTime = core.DateTime.parse("2002-02-27T14:01:02"); | 1788 o.creationTime = core.DateTime.parse("2002-02-27T14:01:02"); |
| 1789 o.customSchemas = buildUnnamed740(); | 1789 o.customSchemas = buildUnnamed761(); |
| 1790 o.customerId = "foo"; | 1790 o.customerId = "foo"; |
| 1791 o.deletionTime = core.DateTime.parse("2002-02-27T14:01:02"); | 1791 o.deletionTime = core.DateTime.parse("2002-02-27T14:01:02"); |
| 1792 o.emails = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1792 o.emails = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 1793 o.etag = "foo"; | 1793 o.etag = "foo"; |
| 1794 o.externalIds = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1794 o.externalIds = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 1795 o.hashFunction = "foo"; | 1795 o.hashFunction = "foo"; |
| 1796 o.id = "foo"; | 1796 o.id = "foo"; |
| 1797 o.ims = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1797 o.ims = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 1798 o.includeInGlobalAddressList = true; | 1798 o.includeInGlobalAddressList = true; |
| 1799 o.ipWhitelisted = true; | 1799 o.ipWhitelisted = true; |
| 1800 o.isAdmin = true; | 1800 o.isAdmin = true; |
| 1801 o.isDelegatedAdmin = true; | 1801 o.isDelegatedAdmin = true; |
| 1802 o.isEnforcedIn2Sv = true; | 1802 o.isEnforcedIn2Sv = true; |
| 1803 o.isEnrolledIn2Sv = true; | 1803 o.isEnrolledIn2Sv = true; |
| 1804 o.isMailboxSetup = true; | 1804 o.isMailboxSetup = true; |
| 1805 o.kind = "foo"; | 1805 o.kind = "foo"; |
| 1806 o.lastLoginTime = core.DateTime.parse("2002-02-27T14:01:02"); | 1806 o.lastLoginTime = core.DateTime.parse("2002-02-27T14:01:02"); |
| 1807 o.name = buildUserName(); | 1807 o.name = buildUserName(); |
| 1808 o.nonEditableAliases = buildUnnamed741(); | 1808 o.nonEditableAliases = buildUnnamed762(); |
| 1809 o.notes = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1809 o.notes = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 1810 o.orgUnitPath = "foo"; | 1810 o.orgUnitPath = "foo"; |
| 1811 o.organizations = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1811 o.organizations = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 1812 o.password = "foo"; | 1812 o.password = "foo"; |
| 1813 o.phones = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1813 o.phones = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 1814 o.posixAccounts = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 1814 o.primaryEmail = "foo"; | 1815 o.primaryEmail = "foo"; |
| 1815 o.relations = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1816 o.relations = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 1817 o.sshPublicKeys = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 1816 o.suspended = true; | 1818 o.suspended = true; |
| 1817 o.suspensionReason = "foo"; | 1819 o.suspensionReason = "foo"; |
| 1818 o.thumbnailPhotoEtag = "foo"; | 1820 o.thumbnailPhotoEtag = "foo"; |
| 1819 o.thumbnailPhotoUrl = "foo"; | 1821 o.thumbnailPhotoUrl = "foo"; |
| 1820 o.websites = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1822 o.websites = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 1821 } | 1823 } |
| 1822 buildCounterUser--; | 1824 buildCounterUser--; |
| 1823 return o; | 1825 return o; |
| 1824 } | 1826 } |
| 1825 | 1827 |
| 1826 checkUser(api.User o) { | 1828 checkUser(api.User o) { |
| 1827 buildCounterUser++; | 1829 buildCounterUser++; |
| 1828 if (buildCounterUser < 3) { | 1830 if (buildCounterUser < 3) { |
| 1829 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')); | 1831 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')); |
| 1830 unittest.expect(o.agreedToTerms, unittest.isTrue); | 1832 unittest.expect(o.agreedToTerms, unittest.isTrue); |
| 1831 checkUnnamed739(o.aliases); | 1833 checkUnnamed760(o.aliases); |
| 1832 unittest.expect(o.changePasswordAtNextLogin, unittest.isTrue); | 1834 unittest.expect(o.changePasswordAtNextLogin, unittest.isTrue); |
| 1833 unittest.expect(o.creationTime, unittest.equals(core.DateTime.parse("2002-02
-27T14:01:02"))); | 1835 unittest.expect(o.creationTime, unittest.equals(core.DateTime.parse("2002-02
-27T14:01:02"))); |
| 1834 checkUnnamed740(o.customSchemas); | 1836 checkUnnamed761(o.customSchemas); |
| 1835 unittest.expect(o.customerId, unittest.equals('foo')); | 1837 unittest.expect(o.customerId, unittest.equals('foo')); |
| 1836 unittest.expect(o.deletionTime, unittest.equals(core.DateTime.parse("2002-02
-27T14:01:02"))); | 1838 unittest.expect(o.deletionTime, unittest.equals(core.DateTime.parse("2002-02
-27T14:01:02"))); |
| 1837 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')); | 1839 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')); |
| 1838 unittest.expect(o.etag, unittest.equals('foo')); | 1840 unittest.expect(o.etag, unittest.equals('foo')); |
| 1839 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')); | 1841 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')); |
| 1840 unittest.expect(o.hashFunction, unittest.equals('foo')); | 1842 unittest.expect(o.hashFunction, unittest.equals('foo')); |
| 1841 unittest.expect(o.id, unittest.equals('foo')); | 1843 unittest.expect(o.id, unittest.equals('foo')); |
| 1842 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')); | 1844 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')); |
| 1843 unittest.expect(o.includeInGlobalAddressList, unittest.isTrue); | 1845 unittest.expect(o.includeInGlobalAddressList, unittest.isTrue); |
| 1844 unittest.expect(o.ipWhitelisted, unittest.isTrue); | 1846 unittest.expect(o.ipWhitelisted, unittest.isTrue); |
| 1845 unittest.expect(o.isAdmin, unittest.isTrue); | 1847 unittest.expect(o.isAdmin, unittest.isTrue); |
| 1846 unittest.expect(o.isDelegatedAdmin, unittest.isTrue); | 1848 unittest.expect(o.isDelegatedAdmin, unittest.isTrue); |
| 1847 unittest.expect(o.isEnforcedIn2Sv, unittest.isTrue); | 1849 unittest.expect(o.isEnforcedIn2Sv, unittest.isTrue); |
| 1848 unittest.expect(o.isEnrolledIn2Sv, unittest.isTrue); | 1850 unittest.expect(o.isEnrolledIn2Sv, unittest.isTrue); |
| 1849 unittest.expect(o.isMailboxSetup, unittest.isTrue); | 1851 unittest.expect(o.isMailboxSetup, unittest.isTrue); |
| 1850 unittest.expect(o.kind, unittest.equals('foo')); | 1852 unittest.expect(o.kind, unittest.equals('foo')); |
| 1851 unittest.expect(o.lastLoginTime, unittest.equals(core.DateTime.parse("2002-0
2-27T14:01:02"))); | 1853 unittest.expect(o.lastLoginTime, unittest.equals(core.DateTime.parse("2002-0
2-27T14:01:02"))); |
| 1852 checkUserName(o.name); | 1854 checkUserName(o.name); |
| 1853 checkUnnamed741(o.nonEditableAliases); | 1855 checkUnnamed762(o.nonEditableAliases); |
| 1854 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')); | 1856 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')); |
| 1855 unittest.expect(o.orgUnitPath, unittest.equals('foo')); | 1857 unittest.expect(o.orgUnitPath, unittest.equals('foo')); |
| 1856 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')); | 1858 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')); |
| 1857 unittest.expect(o.password, unittest.equals('foo')); | 1859 unittest.expect(o.password, unittest.equals('foo')); |
| 1858 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')); | 1860 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')); |
| 1861 var casted10 = (o.posixAccounts) as core.Map; unittest.expect(casted10, unit
test.hasLength(3)); unittest.expect(casted10["list"], unittest.equals([1, 2, 3])
); unittest.expect(casted10["bool"], unittest.equals(true)); unittest.expect(cas
ted10["string"], unittest.equals('foo')); |
| 1859 unittest.expect(o.primaryEmail, unittest.equals('foo')); | 1862 unittest.expect(o.primaryEmail, unittest.equals('foo')); |
| 1860 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')); | 1863 var casted11 = (o.relations) as core.Map; unittest.expect(casted11, unittest
.hasLength(3)); unittest.expect(casted11["list"], unittest.equals([1, 2, 3])); u
nittest.expect(casted11["bool"], unittest.equals(true)); unittest.expect(casted1
1["string"], unittest.equals('foo')); |
| 1864 var casted12 = (o.sshPublicKeys) as core.Map; unittest.expect(casted12, unit
test.hasLength(3)); unittest.expect(casted12["list"], unittest.equals([1, 2, 3])
); unittest.expect(casted12["bool"], unittest.equals(true)); unittest.expect(cas
ted12["string"], unittest.equals('foo')); |
| 1861 unittest.expect(o.suspended, unittest.isTrue); | 1865 unittest.expect(o.suspended, unittest.isTrue); |
| 1862 unittest.expect(o.suspensionReason, unittest.equals('foo')); | 1866 unittest.expect(o.suspensionReason, unittest.equals('foo')); |
| 1863 unittest.expect(o.thumbnailPhotoEtag, unittest.equals('foo')); | 1867 unittest.expect(o.thumbnailPhotoEtag, unittest.equals('foo')); |
| 1864 unittest.expect(o.thumbnailPhotoUrl, unittest.equals('foo')); | 1868 unittest.expect(o.thumbnailPhotoUrl, unittest.equals('foo')); |
| 1865 var casted11 = (o.websites) as core.Map; unittest.expect(casted11, unittest.
hasLength(3)); unittest.expect(casted11["list"], unittest.equals([1, 2, 3])); un
ittest.expect(casted11["bool"], unittest.equals(true)); unittest.expect(casted11
["string"], unittest.equals('foo')); | 1869 var casted13 = (o.websites) as core.Map; unittest.expect(casted13, unittest.
hasLength(3)); unittest.expect(casted13["list"], unittest.equals([1, 2, 3])); un
ittest.expect(casted13["bool"], unittest.equals(true)); unittest.expect(casted13
["string"], unittest.equals('foo')); |
| 1866 } | 1870 } |
| 1867 buildCounterUser--; | 1871 buildCounterUser--; |
| 1868 } | 1872 } |
| 1869 | 1873 |
| 1870 core.int buildCounterUserAbout = 0; | 1874 core.int buildCounterUserAbout = 0; |
| 1871 buildUserAbout() { | 1875 buildUserAbout() { |
| 1872 var o = new api.UserAbout(); | 1876 var o = new api.UserAbout(); |
| 1873 buildCounterUserAbout++; | 1877 buildCounterUserAbout++; |
| 1874 if (buildCounterUserAbout < 3) { | 1878 if (buildCounterUserAbout < 3) { |
| 1875 o.contentType = "foo"; | 1879 o.contentType = "foo"; |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1933 | 1937 |
| 1934 buildUserCustomProperties() { | 1938 buildUserCustomProperties() { |
| 1935 var o = new api.UserCustomProperties(); | 1939 var o = new api.UserCustomProperties(); |
| 1936 o["a"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1940 o["a"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 1937 o["b"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1941 o["b"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 1938 return o; | 1942 return o; |
| 1939 } | 1943 } |
| 1940 | 1944 |
| 1941 checkUserCustomProperties(api.UserCustomProperties o) { | 1945 checkUserCustomProperties(api.UserCustomProperties o) { |
| 1942 unittest.expect(o, unittest.hasLength(2)); | 1946 unittest.expect(o, unittest.hasLength(2)); |
| 1943 var casted12 = (o["a"]) as core.Map; unittest.expect(casted12, unittest.hasLen
gth(3)); unittest.expect(casted12["list"], unittest.equals([1, 2, 3])); unittest
.expect(casted12["bool"], unittest.equals(true)); unittest.expect(casted12["stri
ng"], unittest.equals('foo')); | 1947 var casted14 = (o["a"]) as core.Map; unittest.expect(casted14, unittest.hasLen
gth(3)); unittest.expect(casted14["list"], unittest.equals([1, 2, 3])); unittest
.expect(casted14["bool"], unittest.equals(true)); unittest.expect(casted14["stri
ng"], unittest.equals('foo')); |
| 1944 var casted13 = (o["b"]) as core.Map; unittest.expect(casted13, unittest.hasLen
gth(3)); unittest.expect(casted13["list"], unittest.equals([1, 2, 3])); unittest
.expect(casted13["bool"], unittest.equals(true)); unittest.expect(casted13["stri
ng"], unittest.equals('foo')); | 1948 var casted15 = (o["b"]) as core.Map; unittest.expect(casted15, unittest.hasLen
gth(3)); unittest.expect(casted15["list"], unittest.equals([1, 2, 3])); unittest
.expect(casted15["bool"], unittest.equals(true)); unittest.expect(casted15["stri
ng"], unittest.equals('foo')); |
| 1945 } | 1949 } |
| 1946 | 1950 |
| 1947 core.int buildCounterUserEmail = 0; | 1951 core.int buildCounterUserEmail = 0; |
| 1948 buildUserEmail() { | 1952 buildUserEmail() { |
| 1949 var o = new api.UserEmail(); | 1953 var o = new api.UserEmail(); |
| 1950 buildCounterUserEmail++; | 1954 buildCounterUserEmail++; |
| 1951 if (buildCounterUserEmail < 3) { | 1955 if (buildCounterUserEmail < 3) { |
| 1952 o.address = "foo"; | 1956 o.address = "foo"; |
| 1953 o.customType = "foo"; | 1957 o.customType = "foo"; |
| 1954 o.primary = true; | 1958 o.primary = true; |
| (...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2153 unittest.expect(o.id, unittest.equals('foo')); | 2157 unittest.expect(o.id, unittest.equals('foo')); |
| 2154 unittest.expect(o.kind, unittest.equals('foo')); | 2158 unittest.expect(o.kind, unittest.equals('foo')); |
| 2155 unittest.expect(o.mimeType, unittest.equals('foo')); | 2159 unittest.expect(o.mimeType, unittest.equals('foo')); |
| 2156 unittest.expect(o.photoData, unittest.equals('foo')); | 2160 unittest.expect(o.photoData, unittest.equals('foo')); |
| 2157 unittest.expect(o.primaryEmail, unittest.equals('foo')); | 2161 unittest.expect(o.primaryEmail, unittest.equals('foo')); |
| 2158 unittest.expect(o.width, unittest.equals(42)); | 2162 unittest.expect(o.width, unittest.equals(42)); |
| 2159 } | 2163 } |
| 2160 buildCounterUserPhoto--; | 2164 buildCounterUserPhoto--; |
| 2161 } | 2165 } |
| 2162 | 2166 |
| 2167 core.int buildCounterUserPosixAccount = 0; |
| 2168 buildUserPosixAccount() { |
| 2169 var o = new api.UserPosixAccount(); |
| 2170 buildCounterUserPosixAccount++; |
| 2171 if (buildCounterUserPosixAccount < 3) { |
| 2172 o.gecos = "foo"; |
| 2173 o.gid = 42; |
| 2174 o.homeDirectory = "foo"; |
| 2175 o.primary = true; |
| 2176 o.shell = "foo"; |
| 2177 o.systemId = "foo"; |
| 2178 o.uid = 42; |
| 2179 o.username = "foo"; |
| 2180 } |
| 2181 buildCounterUserPosixAccount--; |
| 2182 return o; |
| 2183 } |
| 2184 |
| 2185 checkUserPosixAccount(api.UserPosixAccount o) { |
| 2186 buildCounterUserPosixAccount++; |
| 2187 if (buildCounterUserPosixAccount < 3) { |
| 2188 unittest.expect(o.gecos, unittest.equals('foo')); |
| 2189 unittest.expect(o.gid, unittest.equals(42)); |
| 2190 unittest.expect(o.homeDirectory, unittest.equals('foo')); |
| 2191 unittest.expect(o.primary, unittest.isTrue); |
| 2192 unittest.expect(o.shell, unittest.equals('foo')); |
| 2193 unittest.expect(o.systemId, unittest.equals('foo')); |
| 2194 unittest.expect(o.uid, unittest.equals(42)); |
| 2195 unittest.expect(o.username, unittest.equals('foo')); |
| 2196 } |
| 2197 buildCounterUserPosixAccount--; |
| 2198 } |
| 2199 |
| 2163 core.int buildCounterUserRelation = 0; | 2200 core.int buildCounterUserRelation = 0; |
| 2164 buildUserRelation() { | 2201 buildUserRelation() { |
| 2165 var o = new api.UserRelation(); | 2202 var o = new api.UserRelation(); |
| 2166 buildCounterUserRelation++; | 2203 buildCounterUserRelation++; |
| 2167 if (buildCounterUserRelation < 3) { | 2204 if (buildCounterUserRelation < 3) { |
| 2168 o.customType = "foo"; | 2205 o.customType = "foo"; |
| 2169 o.type = "foo"; | 2206 o.type = "foo"; |
| 2170 o.value = "foo"; | 2207 o.value = "foo"; |
| 2171 } | 2208 } |
| 2172 buildCounterUserRelation--; | 2209 buildCounterUserRelation--; |
| 2173 return o; | 2210 return o; |
| 2174 } | 2211 } |
| 2175 | 2212 |
| 2176 checkUserRelation(api.UserRelation o) { | 2213 checkUserRelation(api.UserRelation o) { |
| 2177 buildCounterUserRelation++; | 2214 buildCounterUserRelation++; |
| 2178 if (buildCounterUserRelation < 3) { | 2215 if (buildCounterUserRelation < 3) { |
| 2179 unittest.expect(o.customType, unittest.equals('foo')); | 2216 unittest.expect(o.customType, unittest.equals('foo')); |
| 2180 unittest.expect(o.type, unittest.equals('foo')); | 2217 unittest.expect(o.type, unittest.equals('foo')); |
| 2181 unittest.expect(o.value, unittest.equals('foo')); | 2218 unittest.expect(o.value, unittest.equals('foo')); |
| 2182 } | 2219 } |
| 2183 buildCounterUserRelation--; | 2220 buildCounterUserRelation--; |
| 2184 } | 2221 } |
| 2185 | 2222 |
| 2223 core.int buildCounterUserSshPublicKey = 0; |
| 2224 buildUserSshPublicKey() { |
| 2225 var o = new api.UserSshPublicKey(); |
| 2226 buildCounterUserSshPublicKey++; |
| 2227 if (buildCounterUserSshPublicKey < 3) { |
| 2228 o.expirationTimeUsec = "foo"; |
| 2229 o.fingerprint = "foo"; |
| 2230 o.key = "foo"; |
| 2231 } |
| 2232 buildCounterUserSshPublicKey--; |
| 2233 return o; |
| 2234 } |
| 2235 |
| 2236 checkUserSshPublicKey(api.UserSshPublicKey o) { |
| 2237 buildCounterUserSshPublicKey++; |
| 2238 if (buildCounterUserSshPublicKey < 3) { |
| 2239 unittest.expect(o.expirationTimeUsec, unittest.equals('foo')); |
| 2240 unittest.expect(o.fingerprint, unittest.equals('foo')); |
| 2241 unittest.expect(o.key, unittest.equals('foo')); |
| 2242 } |
| 2243 buildCounterUserSshPublicKey--; |
| 2244 } |
| 2245 |
| 2186 core.int buildCounterUserUndelete = 0; | 2246 core.int buildCounterUserUndelete = 0; |
| 2187 buildUserUndelete() { | 2247 buildUserUndelete() { |
| 2188 var o = new api.UserUndelete(); | 2248 var o = new api.UserUndelete(); |
| 2189 buildCounterUserUndelete++; | 2249 buildCounterUserUndelete++; |
| 2190 if (buildCounterUserUndelete < 3) { | 2250 if (buildCounterUserUndelete < 3) { |
| 2191 o.orgUnitPath = "foo"; | 2251 o.orgUnitPath = "foo"; |
| 2192 } | 2252 } |
| 2193 buildCounterUserUndelete--; | 2253 buildCounterUserUndelete--; |
| 2194 return o; | 2254 return o; |
| 2195 } | 2255 } |
| (...skipping 24 matching lines...) Expand all Loading... |
| 2220 buildCounterUserWebsite++; | 2280 buildCounterUserWebsite++; |
| 2221 if (buildCounterUserWebsite < 3) { | 2281 if (buildCounterUserWebsite < 3) { |
| 2222 unittest.expect(o.customType, unittest.equals('foo')); | 2282 unittest.expect(o.customType, unittest.equals('foo')); |
| 2223 unittest.expect(o.primary, unittest.isTrue); | 2283 unittest.expect(o.primary, unittest.isTrue); |
| 2224 unittest.expect(o.type, unittest.equals('foo')); | 2284 unittest.expect(o.type, unittest.equals('foo')); |
| 2225 unittest.expect(o.value, unittest.equals('foo')); | 2285 unittest.expect(o.value, unittest.equals('foo')); |
| 2226 } | 2286 } |
| 2227 buildCounterUserWebsite--; | 2287 buildCounterUserWebsite--; |
| 2228 } | 2288 } |
| 2229 | 2289 |
| 2230 buildUnnamed742() { | 2290 buildUnnamed763() { |
| 2231 var o = new core.List<api.User>(); | 2291 var o = new core.List<api.User>(); |
| 2232 o.add(buildUser()); | 2292 o.add(buildUser()); |
| 2233 o.add(buildUser()); | 2293 o.add(buildUser()); |
| 2234 return o; | 2294 return o; |
| 2235 } | 2295 } |
| 2236 | 2296 |
| 2237 checkUnnamed742(core.List<api.User> o) { | 2297 checkUnnamed763(core.List<api.User> o) { |
| 2238 unittest.expect(o, unittest.hasLength(2)); | 2298 unittest.expect(o, unittest.hasLength(2)); |
| 2239 checkUser(o[0]); | 2299 checkUser(o[0]); |
| 2240 checkUser(o[1]); | 2300 checkUser(o[1]); |
| 2241 } | 2301 } |
| 2242 | 2302 |
| 2243 core.int buildCounterUsers = 0; | 2303 core.int buildCounterUsers = 0; |
| 2244 buildUsers() { | 2304 buildUsers() { |
| 2245 var o = new api.Users(); | 2305 var o = new api.Users(); |
| 2246 buildCounterUsers++; | 2306 buildCounterUsers++; |
| 2247 if (buildCounterUsers < 3) { | 2307 if (buildCounterUsers < 3) { |
| 2248 o.etag = "foo"; | 2308 o.etag = "foo"; |
| 2249 o.kind = "foo"; | 2309 o.kind = "foo"; |
| 2250 o.nextPageToken = "foo"; | 2310 o.nextPageToken = "foo"; |
| 2251 o.triggerEvent = "foo"; | 2311 o.triggerEvent = "foo"; |
| 2252 o.users = buildUnnamed742(); | 2312 o.users = buildUnnamed763(); |
| 2253 } | 2313 } |
| 2254 buildCounterUsers--; | 2314 buildCounterUsers--; |
| 2255 return o; | 2315 return o; |
| 2256 } | 2316 } |
| 2257 | 2317 |
| 2258 checkUsers(api.Users o) { | 2318 checkUsers(api.Users o) { |
| 2259 buildCounterUsers++; | 2319 buildCounterUsers++; |
| 2260 if (buildCounterUsers < 3) { | 2320 if (buildCounterUsers < 3) { |
| 2261 unittest.expect(o.etag, unittest.equals('foo')); | 2321 unittest.expect(o.etag, unittest.equals('foo')); |
| 2262 unittest.expect(o.kind, unittest.equals('foo')); | 2322 unittest.expect(o.kind, unittest.equals('foo')); |
| 2263 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 2323 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 2264 unittest.expect(o.triggerEvent, unittest.equals('foo')); | 2324 unittest.expect(o.triggerEvent, unittest.equals('foo')); |
| 2265 checkUnnamed742(o.users); | 2325 checkUnnamed763(o.users); |
| 2266 } | 2326 } |
| 2267 buildCounterUsers--; | 2327 buildCounterUsers--; |
| 2268 } | 2328 } |
| 2269 | 2329 |
| 2270 core.int buildCounterVerificationCode = 0; | 2330 core.int buildCounterVerificationCode = 0; |
| 2271 buildVerificationCode() { | 2331 buildVerificationCode() { |
| 2272 var o = new api.VerificationCode(); | 2332 var o = new api.VerificationCode(); |
| 2273 buildCounterVerificationCode++; | 2333 buildCounterVerificationCode++; |
| 2274 if (buildCounterVerificationCode < 3) { | 2334 if (buildCounterVerificationCode < 3) { |
| 2275 o.etag = "foo"; | 2335 o.etag = "foo"; |
| 2276 o.kind = "foo"; | 2336 o.kind = "foo"; |
| 2277 o.userId = "foo"; | 2337 o.userId = "foo"; |
| 2278 o.verificationCode = "foo"; | 2338 o.verificationCode = "foo"; |
| 2279 } | 2339 } |
| 2280 buildCounterVerificationCode--; | 2340 buildCounterVerificationCode--; |
| 2281 return o; | 2341 return o; |
| 2282 } | 2342 } |
| 2283 | 2343 |
| 2284 checkVerificationCode(api.VerificationCode o) { | 2344 checkVerificationCode(api.VerificationCode o) { |
| 2285 buildCounterVerificationCode++; | 2345 buildCounterVerificationCode++; |
| 2286 if (buildCounterVerificationCode < 3) { | 2346 if (buildCounterVerificationCode < 3) { |
| 2287 unittest.expect(o.etag, unittest.equals('foo')); | 2347 unittest.expect(o.etag, unittest.equals('foo')); |
| 2288 unittest.expect(o.kind, unittest.equals('foo')); | 2348 unittest.expect(o.kind, unittest.equals('foo')); |
| 2289 unittest.expect(o.userId, unittest.equals('foo')); | 2349 unittest.expect(o.userId, unittest.equals('foo')); |
| 2290 unittest.expect(o.verificationCode, unittest.equals('foo')); | 2350 unittest.expect(o.verificationCode, unittest.equals('foo')); |
| 2291 } | 2351 } |
| 2292 buildCounterVerificationCode--; | 2352 buildCounterVerificationCode--; |
| 2293 } | 2353 } |
| 2294 | 2354 |
| 2295 buildUnnamed743() { | 2355 buildUnnamed764() { |
| 2296 var o = new core.List<api.VerificationCode>(); | 2356 var o = new core.List<api.VerificationCode>(); |
| 2297 o.add(buildVerificationCode()); | 2357 o.add(buildVerificationCode()); |
| 2298 o.add(buildVerificationCode()); | 2358 o.add(buildVerificationCode()); |
| 2299 return o; | 2359 return o; |
| 2300 } | 2360 } |
| 2301 | 2361 |
| 2302 checkUnnamed743(core.List<api.VerificationCode> o) { | 2362 checkUnnamed764(core.List<api.VerificationCode> o) { |
| 2303 unittest.expect(o, unittest.hasLength(2)); | 2363 unittest.expect(o, unittest.hasLength(2)); |
| 2304 checkVerificationCode(o[0]); | 2364 checkVerificationCode(o[0]); |
| 2305 checkVerificationCode(o[1]); | 2365 checkVerificationCode(o[1]); |
| 2306 } | 2366 } |
| 2307 | 2367 |
| 2308 core.int buildCounterVerificationCodes = 0; | 2368 core.int buildCounterVerificationCodes = 0; |
| 2309 buildVerificationCodes() { | 2369 buildVerificationCodes() { |
| 2310 var o = new api.VerificationCodes(); | 2370 var o = new api.VerificationCodes(); |
| 2311 buildCounterVerificationCodes++; | 2371 buildCounterVerificationCodes++; |
| 2312 if (buildCounterVerificationCodes < 3) { | 2372 if (buildCounterVerificationCodes < 3) { |
| 2313 o.etag = "foo"; | 2373 o.etag = "foo"; |
| 2314 o.items = buildUnnamed743(); | 2374 o.items = buildUnnamed764(); |
| 2315 o.kind = "foo"; | 2375 o.kind = "foo"; |
| 2316 } | 2376 } |
| 2317 buildCounterVerificationCodes--; | 2377 buildCounterVerificationCodes--; |
| 2318 return o; | 2378 return o; |
| 2319 } | 2379 } |
| 2320 | 2380 |
| 2321 checkVerificationCodes(api.VerificationCodes o) { | 2381 checkVerificationCodes(api.VerificationCodes o) { |
| 2322 buildCounterVerificationCodes++; | 2382 buildCounterVerificationCodes++; |
| 2323 if (buildCounterVerificationCodes < 3) { | 2383 if (buildCounterVerificationCodes < 3) { |
| 2324 unittest.expect(o.etag, unittest.equals('foo')); | 2384 unittest.expect(o.etag, unittest.equals('foo')); |
| 2325 checkUnnamed743(o.items); | 2385 checkUnnamed764(o.items); |
| 2326 unittest.expect(o.kind, unittest.equals('foo')); | 2386 unittest.expect(o.kind, unittest.equals('foo')); |
| 2327 } | 2387 } |
| 2328 buildCounterVerificationCodes--; | 2388 buildCounterVerificationCodes--; |
| 2329 } | 2389 } |
| 2330 | 2390 |
| 2331 buildUnnamed744() { | 2391 buildUnnamed765() { |
| 2332 var o = new core.List<core.String>(); | 2392 var o = new core.List<core.String>(); |
| 2333 o.add("foo"); | 2393 o.add("foo"); |
| 2334 o.add("foo"); | 2394 o.add("foo"); |
| 2335 return o; | 2395 return o; |
| 2336 } | 2396 } |
| 2337 | 2397 |
| 2338 checkUnnamed744(core.List<core.String> o) { | 2398 checkUnnamed765(core.List<core.String> o) { |
| 2339 unittest.expect(o, unittest.hasLength(2)); | 2399 unittest.expect(o, unittest.hasLength(2)); |
| 2340 unittest.expect(o[0], unittest.equals('foo')); | 2400 unittest.expect(o[0], unittest.equals('foo')); |
| 2341 unittest.expect(o[1], unittest.equals('foo')); | 2401 unittest.expect(o[1], unittest.equals('foo')); |
| 2342 } | 2402 } |
| 2343 | 2403 |
| 2344 buildUnnamed745() { | 2404 buildUnnamed766() { |
| 2345 var o = new core.List<core.String>(); | 2405 var o = new core.List<core.String>(); |
| 2346 o.add("foo"); | 2406 o.add("foo"); |
| 2347 o.add("foo"); | 2407 o.add("foo"); |
| 2348 return o; | 2408 return o; |
| 2349 } | 2409 } |
| 2350 | 2410 |
| 2351 checkUnnamed745(core.List<core.String> o) { | 2411 checkUnnamed766(core.List<core.String> o) { |
| 2352 unittest.expect(o, unittest.hasLength(2)); | 2412 unittest.expect(o, unittest.hasLength(2)); |
| 2353 unittest.expect(o[0], unittest.equals('foo')); | 2413 unittest.expect(o[0], unittest.equals('foo')); |
| 2354 unittest.expect(o[1], unittest.equals('foo')); | 2414 unittest.expect(o[1], unittest.equals('foo')); |
| 2355 } | 2415 } |
| 2356 | 2416 |
| 2357 buildUnnamed746() { | 2417 buildUnnamed767() { |
| 2358 var o = new core.List<core.String>(); | 2418 var o = new core.List<core.String>(); |
| 2359 o.add("foo"); | 2419 o.add("foo"); |
| 2360 o.add("foo"); | 2420 o.add("foo"); |
| 2361 return o; | 2421 return o; |
| 2362 } | 2422 } |
| 2363 | 2423 |
| 2364 checkUnnamed746(core.List<core.String> o) { | 2424 checkUnnamed767(core.List<core.String> o) { |
| 2365 unittest.expect(o, unittest.hasLength(2)); | 2425 unittest.expect(o, unittest.hasLength(2)); |
| 2366 unittest.expect(o[0], unittest.equals('foo')); | 2426 unittest.expect(o[0], unittest.equals('foo')); |
| 2367 unittest.expect(o[1], unittest.equals('foo')); | 2427 unittest.expect(o[1], unittest.equals('foo')); |
| 2368 } | 2428 } |
| 2369 | 2429 |
| 2370 buildUnnamed747() { | 2430 buildUnnamed768() { |
| 2371 var o = new core.List<core.String>(); | 2431 var o = new core.List<core.String>(); |
| 2372 o.add("foo"); | 2432 o.add("foo"); |
| 2373 o.add("foo"); | 2433 o.add("foo"); |
| 2374 return o; | 2434 return o; |
| 2375 } | 2435 } |
| 2376 | 2436 |
| 2377 checkUnnamed747(core.List<core.String> o) { | 2437 checkUnnamed768(core.List<core.String> o) { |
| 2378 unittest.expect(o, unittest.hasLength(2)); | 2438 unittest.expect(o, unittest.hasLength(2)); |
| 2379 unittest.expect(o[0], unittest.equals('foo')); | 2439 unittest.expect(o[0], unittest.equals('foo')); |
| 2380 unittest.expect(o[1], unittest.equals('foo')); | 2440 unittest.expect(o[1], unittest.equals('foo')); |
| 2381 } | 2441 } |
| 2382 | 2442 |
| 2383 | 2443 |
| 2384 main() { | 2444 main() { |
| 2385 unittest.group("obj-schema-Alias", () { | 2445 unittest.group("obj-schema-Alias", () { |
| 2386 unittest.test("to-json--from-json", () { | 2446 unittest.test("to-json--from-json", () { |
| 2387 var o = buildAlias(); | 2447 var o = buildAlias(); |
| (...skipping 482 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2870 | 2930 |
| 2871 unittest.group("obj-schema-UserPhoto", () { | 2931 unittest.group("obj-schema-UserPhoto", () { |
| 2872 unittest.test("to-json--from-json", () { | 2932 unittest.test("to-json--from-json", () { |
| 2873 var o = buildUserPhoto(); | 2933 var o = buildUserPhoto(); |
| 2874 var od = new api.UserPhoto.fromJson(o.toJson()); | 2934 var od = new api.UserPhoto.fromJson(o.toJson()); |
| 2875 checkUserPhoto(od); | 2935 checkUserPhoto(od); |
| 2876 }); | 2936 }); |
| 2877 }); | 2937 }); |
| 2878 | 2938 |
| 2879 | 2939 |
| 2940 unittest.group("obj-schema-UserPosixAccount", () { |
| 2941 unittest.test("to-json--from-json", () { |
| 2942 var o = buildUserPosixAccount(); |
| 2943 var od = new api.UserPosixAccount.fromJson(o.toJson()); |
| 2944 checkUserPosixAccount(od); |
| 2945 }); |
| 2946 }); |
| 2947 |
| 2948 |
| 2880 unittest.group("obj-schema-UserRelation", () { | 2949 unittest.group("obj-schema-UserRelation", () { |
| 2881 unittest.test("to-json--from-json", () { | 2950 unittest.test("to-json--from-json", () { |
| 2882 var o = buildUserRelation(); | 2951 var o = buildUserRelation(); |
| 2883 var od = new api.UserRelation.fromJson(o.toJson()); | 2952 var od = new api.UserRelation.fromJson(o.toJson()); |
| 2884 checkUserRelation(od); | 2953 checkUserRelation(od); |
| 2885 }); | 2954 }); |
| 2886 }); | 2955 }); |
| 2887 | 2956 |
| 2888 | 2957 |
| 2958 unittest.group("obj-schema-UserSshPublicKey", () { |
| 2959 unittest.test("to-json--from-json", () { |
| 2960 var o = buildUserSshPublicKey(); |
| 2961 var od = new api.UserSshPublicKey.fromJson(o.toJson()); |
| 2962 checkUserSshPublicKey(od); |
| 2963 }); |
| 2964 }); |
| 2965 |
| 2966 |
| 2889 unittest.group("obj-schema-UserUndelete", () { | 2967 unittest.group("obj-schema-UserUndelete", () { |
| 2890 unittest.test("to-json--from-json", () { | 2968 unittest.test("to-json--from-json", () { |
| 2891 var o = buildUserUndelete(); | 2969 var o = buildUserUndelete(); |
| 2892 var od = new api.UserUndelete.fromJson(o.toJson()); | 2970 var od = new api.UserUndelete.fromJson(o.toJson()); |
| 2893 checkUserUndelete(od); | 2971 checkUserUndelete(od); |
| 2894 }); | 2972 }); |
| 2895 }); | 2973 }); |
| 2896 | 2974 |
| 2897 | 2975 |
| 2898 unittest.group("obj-schema-UserWebsite", () { | 2976 unittest.group("obj-schema-UserWebsite", () { |
| (...skipping 2555 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5454 | 5532 |
| 5455 }); | 5533 }); |
| 5456 | 5534 |
| 5457 | 5535 |
| 5458 unittest.group("resource-OrgunitsResourceApi", () { | 5536 unittest.group("resource-OrgunitsResourceApi", () { |
| 5459 unittest.test("method--delete", () { | 5537 unittest.test("method--delete", () { |
| 5460 | 5538 |
| 5461 var mock = new HttpServerMock(); | 5539 var mock = new HttpServerMock(); |
| 5462 api.OrgunitsResourceApi res = new api.AdminApi(mock).orgunits; | 5540 api.OrgunitsResourceApi res = new api.AdminApi(mock).orgunits; |
| 5463 var arg_customerId = "foo"; | 5541 var arg_customerId = "foo"; |
| 5464 var arg_orgUnitPath = buildUnnamed744(); | 5542 var arg_orgUnitPath = buildUnnamed765(); |
| 5465 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 5543 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 5466 var path = (req.url).path; | 5544 var path = (req.url).path; |
| 5467 var pathOffset = 0; | 5545 var pathOffset = 0; |
| 5468 var index; | 5546 var index; |
| 5469 var subPart; | 5547 var subPart; |
| 5470 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 5548 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 5471 pathOffset += 1; | 5549 pathOffset += 1; |
| 5472 unittest.expect(path.substring(pathOffset, pathOffset + 19), unittest.eq
uals("admin/directory/v1/")); | 5550 unittest.expect(path.substring(pathOffset, pathOffset + 19), unittest.eq
uals("admin/directory/v1/")); |
| 5473 pathOffset += 19; | 5551 pathOffset += 19; |
| 5474 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ
als("customer/")); | 5552 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ
als("customer/")); |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5508 return new async.Future.value(stringResponse(200, h, resp)); | 5586 return new async.Future.value(stringResponse(200, h, resp)); |
| 5509 }), true); | 5587 }), true); |
| 5510 res.delete(arg_customerId, arg_orgUnitPath).then(unittest.expectAsync((_)
{})); | 5588 res.delete(arg_customerId, arg_orgUnitPath).then(unittest.expectAsync((_)
{})); |
| 5511 }); | 5589 }); |
| 5512 | 5590 |
| 5513 unittest.test("method--get", () { | 5591 unittest.test("method--get", () { |
| 5514 | 5592 |
| 5515 var mock = new HttpServerMock(); | 5593 var mock = new HttpServerMock(); |
| 5516 api.OrgunitsResourceApi res = new api.AdminApi(mock).orgunits; | 5594 api.OrgunitsResourceApi res = new api.AdminApi(mock).orgunits; |
| 5517 var arg_customerId = "foo"; | 5595 var arg_customerId = "foo"; |
| 5518 var arg_orgUnitPath = buildUnnamed745(); | 5596 var arg_orgUnitPath = buildUnnamed766(); |
| 5519 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 5597 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 5520 var path = (req.url).path; | 5598 var path = (req.url).path; |
| 5521 var pathOffset = 0; | 5599 var pathOffset = 0; |
| 5522 var index; | 5600 var index; |
| 5523 var subPart; | 5601 var subPart; |
| 5524 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 5602 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 5525 pathOffset += 1; | 5603 pathOffset += 1; |
| 5526 unittest.expect(path.substring(pathOffset, pathOffset + 19), unittest.eq
uals("admin/directory/v1/")); | 5604 unittest.expect(path.substring(pathOffset, pathOffset + 19), unittest.eq
uals("admin/directory/v1/")); |
| 5527 pathOffset += 19; | 5605 pathOffset += 19; |
| 5528 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ
als("customer/")); | 5606 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ
als("customer/")); |
| (...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5679 checkOrgUnits(response); | 5757 checkOrgUnits(response); |
| 5680 }))); | 5758 }))); |
| 5681 }); | 5759 }); |
| 5682 | 5760 |
| 5683 unittest.test("method--patch", () { | 5761 unittest.test("method--patch", () { |
| 5684 | 5762 |
| 5685 var mock = new HttpServerMock(); | 5763 var mock = new HttpServerMock(); |
| 5686 api.OrgunitsResourceApi res = new api.AdminApi(mock).orgunits; | 5764 api.OrgunitsResourceApi res = new api.AdminApi(mock).orgunits; |
| 5687 var arg_request = buildOrgUnit(); | 5765 var arg_request = buildOrgUnit(); |
| 5688 var arg_customerId = "foo"; | 5766 var arg_customerId = "foo"; |
| 5689 var arg_orgUnitPath = buildUnnamed746(); | 5767 var arg_orgUnitPath = buildUnnamed767(); |
| 5690 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 5768 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 5691 var obj = new api.OrgUnit.fromJson(json); | 5769 var obj = new api.OrgUnit.fromJson(json); |
| 5692 checkOrgUnit(obj); | 5770 checkOrgUnit(obj); |
| 5693 | 5771 |
| 5694 var path = (req.url).path; | 5772 var path = (req.url).path; |
| 5695 var pathOffset = 0; | 5773 var pathOffset = 0; |
| 5696 var index; | 5774 var index; |
| 5697 var subPart; | 5775 var subPart; |
| 5698 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 5776 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 5699 pathOffset += 1; | 5777 pathOffset += 1; |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5739 checkOrgUnit(response); | 5817 checkOrgUnit(response); |
| 5740 }))); | 5818 }))); |
| 5741 }); | 5819 }); |
| 5742 | 5820 |
| 5743 unittest.test("method--update", () { | 5821 unittest.test("method--update", () { |
| 5744 | 5822 |
| 5745 var mock = new HttpServerMock(); | 5823 var mock = new HttpServerMock(); |
| 5746 api.OrgunitsResourceApi res = new api.AdminApi(mock).orgunits; | 5824 api.OrgunitsResourceApi res = new api.AdminApi(mock).orgunits; |
| 5747 var arg_request = buildOrgUnit(); | 5825 var arg_request = buildOrgUnit(); |
| 5748 var arg_customerId = "foo"; | 5826 var arg_customerId = "foo"; |
| 5749 var arg_orgUnitPath = buildUnnamed747(); | 5827 var arg_orgUnitPath = buildUnnamed768(); |
| 5750 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 5828 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 5751 var obj = new api.OrgUnit.fromJson(json); | 5829 var obj = new api.OrgUnit.fromJson(json); |
| 5752 checkOrgUnit(obj); | 5830 checkOrgUnit(obj); |
| 5753 | 5831 |
| 5754 var path = (req.url).path; | 5832 var path = (req.url).path; |
| 5755 var pathOffset = 0; | 5833 var pathOffset = 0; |
| 5756 var index; | 5834 var index; |
| 5757 var subPart; | 5835 var subPart; |
| 5758 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 5836 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 5759 pathOffset += 1; | 5837 pathOffset += 1; |
| (...skipping 2674 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 8434 res.list(arg_userKey).then(unittest.expectAsync(((api.VerificationCodes re
sponse) { | 8512 res.list(arg_userKey).then(unittest.expectAsync(((api.VerificationCodes re
sponse) { |
| 8435 checkVerificationCodes(response); | 8513 checkVerificationCodes(response); |
| 8436 }))); | 8514 }))); |
| 8437 }); | 8515 }); |
| 8438 | 8516 |
| 8439 }); | 8517 }); |
| 8440 | 8518 |
| 8441 | 8519 |
| 8442 } | 8520 } |
| 8443 | 8521 |
| OLD | NEW |