| OLD | NEW |
| 1 library googleapis.deploymentmanager.v2.test; | 1 library googleapis.deploymentmanager.v2.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:test/test.dart' as unittest; | 10 import 'package:test/test.dart' as unittest; |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 44 } | 44 } |
| 45 } | 45 } |
| 46 } | 46 } |
| 47 | 47 |
| 48 http.StreamedResponse stringResponse( | 48 http.StreamedResponse stringResponse( |
| 49 core.int status, core.Map<core.String, core.String> headers, core.String bod
y) { | 49 core.int status, core.Map<core.String, core.String> headers, core.String bod
y) { |
| 50 var stream = new async.Stream.fromIterable([convert.UTF8.encode(body)]); | 50 var stream = new async.Stream.fromIterable([convert.UTF8.encode(body)]); |
| 51 return new http.StreamedResponse(stream, status, headers: headers); | 51 return new http.StreamedResponse(stream, status, headers: headers); |
| 52 } | 52 } |
| 53 | 53 |
| 54 buildUnnamed2056() { | 54 buildUnnamed2142() { |
| 55 var o = new core.List<api.AuditLogConfig>(); | 55 var o = new core.List<api.AuditLogConfig>(); |
| 56 o.add(buildAuditLogConfig()); | 56 o.add(buildAuditLogConfig()); |
| 57 o.add(buildAuditLogConfig()); | 57 o.add(buildAuditLogConfig()); |
| 58 return o; | 58 return o; |
| 59 } | 59 } |
| 60 | 60 |
| 61 checkUnnamed2056(core.List<api.AuditLogConfig> o) { | 61 checkUnnamed2142(core.List<api.AuditLogConfig> o) { |
| 62 unittest.expect(o, unittest.hasLength(2)); | 62 unittest.expect(o, unittest.hasLength(2)); |
| 63 checkAuditLogConfig(o[0]); | 63 checkAuditLogConfig(o[0]); |
| 64 checkAuditLogConfig(o[1]); | 64 checkAuditLogConfig(o[1]); |
| 65 } | 65 } |
| 66 | 66 |
| 67 buildUnnamed2057() { | 67 buildUnnamed2143() { |
| 68 var o = new core.List<core.String>(); | 68 var o = new core.List<core.String>(); |
| 69 o.add("foo"); | 69 o.add("foo"); |
| 70 o.add("foo"); | 70 o.add("foo"); |
| 71 return o; | 71 return o; |
| 72 } | 72 } |
| 73 | 73 |
| 74 checkUnnamed2057(core.List<core.String> o) { | 74 checkUnnamed2143(core.List<core.String> o) { |
| 75 unittest.expect(o, unittest.hasLength(2)); | 75 unittest.expect(o, unittest.hasLength(2)); |
| 76 unittest.expect(o[0], unittest.equals('foo')); | 76 unittest.expect(o[0], unittest.equals('foo')); |
| 77 unittest.expect(o[1], unittest.equals('foo')); | 77 unittest.expect(o[1], unittest.equals('foo')); |
| 78 } | 78 } |
| 79 | 79 |
| 80 core.int buildCounterAuditConfig = 0; | 80 core.int buildCounterAuditConfig = 0; |
| 81 buildAuditConfig() { | 81 buildAuditConfig() { |
| 82 var o = new api.AuditConfig(); | 82 var o = new api.AuditConfig(); |
| 83 buildCounterAuditConfig++; | 83 buildCounterAuditConfig++; |
| 84 if (buildCounterAuditConfig < 3) { | 84 if (buildCounterAuditConfig < 3) { |
| 85 o.auditLogConfigs = buildUnnamed2056(); | 85 o.auditLogConfigs = buildUnnamed2142(); |
| 86 o.exemptedMembers = buildUnnamed2057(); | 86 o.exemptedMembers = buildUnnamed2143(); |
| 87 o.service = "foo"; | 87 o.service = "foo"; |
| 88 } | 88 } |
| 89 buildCounterAuditConfig--; | 89 buildCounterAuditConfig--; |
| 90 return o; | 90 return o; |
| 91 } | 91 } |
| 92 | 92 |
| 93 checkAuditConfig(api.AuditConfig o) { | 93 checkAuditConfig(api.AuditConfig o) { |
| 94 buildCounterAuditConfig++; | 94 buildCounterAuditConfig++; |
| 95 if (buildCounterAuditConfig < 3) { | 95 if (buildCounterAuditConfig < 3) { |
| 96 checkUnnamed2056(o.auditLogConfigs); | 96 checkUnnamed2142(o.auditLogConfigs); |
| 97 checkUnnamed2057(o.exemptedMembers); | 97 checkUnnamed2143(o.exemptedMembers); |
| 98 unittest.expect(o.service, unittest.equals('foo')); | 98 unittest.expect(o.service, unittest.equals('foo')); |
| 99 } | 99 } |
| 100 buildCounterAuditConfig--; | 100 buildCounterAuditConfig--; |
| 101 } | 101 } |
| 102 | 102 |
| 103 buildUnnamed2058() { | 103 buildUnnamed2144() { |
| 104 var o = new core.List<core.String>(); | 104 var o = new core.List<core.String>(); |
| 105 o.add("foo"); | 105 o.add("foo"); |
| 106 o.add("foo"); | 106 o.add("foo"); |
| 107 return o; | 107 return o; |
| 108 } | 108 } |
| 109 | 109 |
| 110 checkUnnamed2058(core.List<core.String> o) { | 110 checkUnnamed2144(core.List<core.String> o) { |
| 111 unittest.expect(o, unittest.hasLength(2)); | 111 unittest.expect(o, unittest.hasLength(2)); |
| 112 unittest.expect(o[0], unittest.equals('foo')); | 112 unittest.expect(o[0], unittest.equals('foo')); |
| 113 unittest.expect(o[1], unittest.equals('foo')); | 113 unittest.expect(o[1], unittest.equals('foo')); |
| 114 } | 114 } |
| 115 | 115 |
| 116 core.int buildCounterAuditLogConfig = 0; | 116 core.int buildCounterAuditLogConfig = 0; |
| 117 buildAuditLogConfig() { | 117 buildAuditLogConfig() { |
| 118 var o = new api.AuditLogConfig(); | 118 var o = new api.AuditLogConfig(); |
| 119 buildCounterAuditLogConfig++; | 119 buildCounterAuditLogConfig++; |
| 120 if (buildCounterAuditLogConfig < 3) { | 120 if (buildCounterAuditLogConfig < 3) { |
| 121 o.exemptedMembers = buildUnnamed2058(); | 121 o.exemptedMembers = buildUnnamed2144(); |
| 122 o.logType = "foo"; | 122 o.logType = "foo"; |
| 123 } | 123 } |
| 124 buildCounterAuditLogConfig--; | 124 buildCounterAuditLogConfig--; |
| 125 return o; | 125 return o; |
| 126 } | 126 } |
| 127 | 127 |
| 128 checkAuditLogConfig(api.AuditLogConfig o) { | 128 checkAuditLogConfig(api.AuditLogConfig o) { |
| 129 buildCounterAuditLogConfig++; | 129 buildCounterAuditLogConfig++; |
| 130 if (buildCounterAuditLogConfig < 3) { | 130 if (buildCounterAuditLogConfig < 3) { |
| 131 checkUnnamed2058(o.exemptedMembers); | 131 checkUnnamed2144(o.exemptedMembers); |
| 132 unittest.expect(o.logType, unittest.equals('foo')); | 132 unittest.expect(o.logType, unittest.equals('foo')); |
| 133 } | 133 } |
| 134 buildCounterAuditLogConfig--; | 134 buildCounterAuditLogConfig--; |
| 135 } | 135 } |
| 136 | 136 |
| 137 buildUnnamed2059() { | 137 buildUnnamed2145() { |
| 138 var o = new core.List<core.String>(); | 138 var o = new core.List<core.String>(); |
| 139 o.add("foo"); | 139 o.add("foo"); |
| 140 o.add("foo"); | 140 o.add("foo"); |
| 141 return o; | 141 return o; |
| 142 } | 142 } |
| 143 | 143 |
| 144 checkUnnamed2059(core.List<core.String> o) { | 144 checkUnnamed2145(core.List<core.String> o) { |
| 145 unittest.expect(o, unittest.hasLength(2)); | 145 unittest.expect(o, unittest.hasLength(2)); |
| 146 unittest.expect(o[0], unittest.equals('foo')); | 146 unittest.expect(o[0], unittest.equals('foo')); |
| 147 unittest.expect(o[1], unittest.equals('foo')); | 147 unittest.expect(o[1], unittest.equals('foo')); |
| 148 } | 148 } |
| 149 | 149 |
| 150 core.int buildCounterBinding = 0; | 150 core.int buildCounterBinding = 0; |
| 151 buildBinding() { | 151 buildBinding() { |
| 152 var o = new api.Binding(); | 152 var o = new api.Binding(); |
| 153 buildCounterBinding++; | 153 buildCounterBinding++; |
| 154 if (buildCounterBinding < 3) { | 154 if (buildCounterBinding < 3) { |
| 155 o.members = buildUnnamed2059(); | 155 o.condition = buildExpr(); |
| 156 o.members = buildUnnamed2145(); |
| 156 o.role = "foo"; | 157 o.role = "foo"; |
| 157 } | 158 } |
| 158 buildCounterBinding--; | 159 buildCounterBinding--; |
| 159 return o; | 160 return o; |
| 160 } | 161 } |
| 161 | 162 |
| 162 checkBinding(api.Binding o) { | 163 checkBinding(api.Binding o) { |
| 163 buildCounterBinding++; | 164 buildCounterBinding++; |
| 164 if (buildCounterBinding < 3) { | 165 if (buildCounterBinding < 3) { |
| 165 checkUnnamed2059(o.members); | 166 checkExpr(o.condition); |
| 167 checkUnnamed2145(o.members); |
| 166 unittest.expect(o.role, unittest.equals('foo')); | 168 unittest.expect(o.role, unittest.equals('foo')); |
| 167 } | 169 } |
| 168 buildCounterBinding--; | 170 buildCounterBinding--; |
| 169 } | 171 } |
| 170 | 172 |
| 171 buildUnnamed2060() { | 173 buildUnnamed2146() { |
| 172 var o = new core.List<core.String>(); | 174 var o = new core.List<core.String>(); |
| 173 o.add("foo"); | 175 o.add("foo"); |
| 174 o.add("foo"); | 176 o.add("foo"); |
| 175 return o; | 177 return o; |
| 176 } | 178 } |
| 177 | 179 |
| 178 checkUnnamed2060(core.List<core.String> o) { | 180 checkUnnamed2146(core.List<core.String> o) { |
| 179 unittest.expect(o, unittest.hasLength(2)); | 181 unittest.expect(o, unittest.hasLength(2)); |
| 180 unittest.expect(o[0], unittest.equals('foo')); | 182 unittest.expect(o[0], unittest.equals('foo')); |
| 181 unittest.expect(o[1], unittest.equals('foo')); | 183 unittest.expect(o[1], unittest.equals('foo')); |
| 182 } | 184 } |
| 183 | 185 |
| 184 core.int buildCounterCondition = 0; | 186 core.int buildCounterCondition = 0; |
| 185 buildCondition() { | 187 buildCondition() { |
| 186 var o = new api.Condition(); | 188 var o = new api.Condition(); |
| 187 buildCounterCondition++; | 189 buildCounterCondition++; |
| 188 if (buildCounterCondition < 3) { | 190 if (buildCounterCondition < 3) { |
| 189 o.iam = "foo"; | 191 o.iam = "foo"; |
| 190 o.op = "foo"; | 192 o.op = "foo"; |
| 191 o.svc = "foo"; | 193 o.svc = "foo"; |
| 192 o.sys = "foo"; | 194 o.sys = "foo"; |
| 193 o.value = "foo"; | 195 o.value = "foo"; |
| 194 o.values = buildUnnamed2060(); | 196 o.values = buildUnnamed2146(); |
| 195 } | 197 } |
| 196 buildCounterCondition--; | 198 buildCounterCondition--; |
| 197 return o; | 199 return o; |
| 198 } | 200 } |
| 199 | 201 |
| 200 checkCondition(api.Condition o) { | 202 checkCondition(api.Condition o) { |
| 201 buildCounterCondition++; | 203 buildCounterCondition++; |
| 202 if (buildCounterCondition < 3) { | 204 if (buildCounterCondition < 3) { |
| 203 unittest.expect(o.iam, unittest.equals('foo')); | 205 unittest.expect(o.iam, unittest.equals('foo')); |
| 204 unittest.expect(o.op, unittest.equals('foo')); | 206 unittest.expect(o.op, unittest.equals('foo')); |
| 205 unittest.expect(o.svc, unittest.equals('foo')); | 207 unittest.expect(o.svc, unittest.equals('foo')); |
| 206 unittest.expect(o.sys, unittest.equals('foo')); | 208 unittest.expect(o.sys, unittest.equals('foo')); |
| 207 unittest.expect(o.value, unittest.equals('foo')); | 209 unittest.expect(o.value, unittest.equals('foo')); |
| 208 checkUnnamed2060(o.values); | 210 checkUnnamed2146(o.values); |
| 209 } | 211 } |
| 210 buildCounterCondition--; | 212 buildCounterCondition--; |
| 211 } | 213 } |
| 212 | 214 |
| 213 core.int buildCounterConfigFile = 0; | 215 core.int buildCounterConfigFile = 0; |
| 214 buildConfigFile() { | 216 buildConfigFile() { |
| 215 var o = new api.ConfigFile(); | 217 var o = new api.ConfigFile(); |
| 216 buildCounterConfigFile++; | 218 buildCounterConfigFile++; |
| 217 if (buildCounterConfigFile < 3) { | 219 if (buildCounterConfigFile < 3) { |
| 218 o.content = "foo"; | 220 o.content = "foo"; |
| 219 } | 221 } |
| 220 buildCounterConfigFile--; | 222 buildCounterConfigFile--; |
| 221 return o; | 223 return o; |
| 222 } | 224 } |
| 223 | 225 |
| 224 checkConfigFile(api.ConfigFile o) { | 226 checkConfigFile(api.ConfigFile o) { |
| 225 buildCounterConfigFile++; | 227 buildCounterConfigFile++; |
| 226 if (buildCounterConfigFile < 3) { | 228 if (buildCounterConfigFile < 3) { |
| 227 unittest.expect(o.content, unittest.equals('foo')); | 229 unittest.expect(o.content, unittest.equals('foo')); |
| 228 } | 230 } |
| 229 buildCounterConfigFile--; | 231 buildCounterConfigFile--; |
| 230 } | 232 } |
| 231 | 233 |
| 232 buildUnnamed2061() { | 234 buildUnnamed2147() { |
| 233 var o = new core.List<api.DeploymentLabelEntry>(); | 235 var o = new core.List<api.DeploymentLabelEntry>(); |
| 234 o.add(buildDeploymentLabelEntry()); | 236 o.add(buildDeploymentLabelEntry()); |
| 235 o.add(buildDeploymentLabelEntry()); | 237 o.add(buildDeploymentLabelEntry()); |
| 236 return o; | 238 return o; |
| 237 } | 239 } |
| 238 | 240 |
| 239 checkUnnamed2061(core.List<api.DeploymentLabelEntry> o) { | 241 checkUnnamed2147(core.List<api.DeploymentLabelEntry> o) { |
| 240 unittest.expect(o, unittest.hasLength(2)); | 242 unittest.expect(o, unittest.hasLength(2)); |
| 241 checkDeploymentLabelEntry(o[0]); | 243 checkDeploymentLabelEntry(o[0]); |
| 242 checkDeploymentLabelEntry(o[1]); | 244 checkDeploymentLabelEntry(o[1]); |
| 243 } | 245 } |
| 244 | 246 |
| 245 core.int buildCounterDeployment = 0; | 247 core.int buildCounterDeployment = 0; |
| 246 buildDeployment() { | 248 buildDeployment() { |
| 247 var o = new api.Deployment(); | 249 var o = new api.Deployment(); |
| 248 buildCounterDeployment++; | 250 buildCounterDeployment++; |
| 249 if (buildCounterDeployment < 3) { | 251 if (buildCounterDeployment < 3) { |
| 250 o.description = "foo"; | 252 o.description = "foo"; |
| 251 o.fingerprint = "foo"; | 253 o.fingerprint = "foo"; |
| 252 o.id = "foo"; | 254 o.id = "foo"; |
| 253 o.insertTime = "foo"; | 255 o.insertTime = "foo"; |
| 254 o.labels = buildUnnamed2061(); | 256 o.labels = buildUnnamed2147(); |
| 255 o.manifest = "foo"; | 257 o.manifest = "foo"; |
| 256 o.name = "foo"; | 258 o.name = "foo"; |
| 257 o.operation = buildOperation(); | 259 o.operation = buildOperation(); |
| 258 o.selfLink = "foo"; | 260 o.selfLink = "foo"; |
| 259 o.target = buildTargetConfiguration(); | 261 o.target = buildTargetConfiguration(); |
| 260 o.update = buildDeploymentUpdate(); | 262 o.update = buildDeploymentUpdate(); |
| 261 } | 263 } |
| 262 buildCounterDeployment--; | 264 buildCounterDeployment--; |
| 263 return o; | 265 return o; |
| 264 } | 266 } |
| 265 | 267 |
| 266 checkDeployment(api.Deployment o) { | 268 checkDeployment(api.Deployment o) { |
| 267 buildCounterDeployment++; | 269 buildCounterDeployment++; |
| 268 if (buildCounterDeployment < 3) { | 270 if (buildCounterDeployment < 3) { |
| 269 unittest.expect(o.description, unittest.equals('foo')); | 271 unittest.expect(o.description, unittest.equals('foo')); |
| 270 unittest.expect(o.fingerprint, unittest.equals('foo')); | 272 unittest.expect(o.fingerprint, unittest.equals('foo')); |
| 271 unittest.expect(o.id, unittest.equals('foo')); | 273 unittest.expect(o.id, unittest.equals('foo')); |
| 272 unittest.expect(o.insertTime, unittest.equals('foo')); | 274 unittest.expect(o.insertTime, unittest.equals('foo')); |
| 273 checkUnnamed2061(o.labels); | 275 checkUnnamed2147(o.labels); |
| 274 unittest.expect(o.manifest, unittest.equals('foo')); | 276 unittest.expect(o.manifest, unittest.equals('foo')); |
| 275 unittest.expect(o.name, unittest.equals('foo')); | 277 unittest.expect(o.name, unittest.equals('foo')); |
| 276 checkOperation(o.operation); | 278 checkOperation(o.operation); |
| 277 unittest.expect(o.selfLink, unittest.equals('foo')); | 279 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 278 checkTargetConfiguration(o.target); | 280 checkTargetConfiguration(o.target); |
| 279 checkDeploymentUpdate(o.update); | 281 checkDeploymentUpdate(o.update); |
| 280 } | 282 } |
| 281 buildCounterDeployment--; | 283 buildCounterDeployment--; |
| 282 } | 284 } |
| 283 | 285 |
| (...skipping 11 matching lines...) Expand all Loading... |
| 295 | 297 |
| 296 checkDeploymentLabelEntry(api.DeploymentLabelEntry o) { | 298 checkDeploymentLabelEntry(api.DeploymentLabelEntry o) { |
| 297 buildCounterDeploymentLabelEntry++; | 299 buildCounterDeploymentLabelEntry++; |
| 298 if (buildCounterDeploymentLabelEntry < 3) { | 300 if (buildCounterDeploymentLabelEntry < 3) { |
| 299 unittest.expect(o.key, unittest.equals('foo')); | 301 unittest.expect(o.key, unittest.equals('foo')); |
| 300 unittest.expect(o.value, unittest.equals('foo')); | 302 unittest.expect(o.value, unittest.equals('foo')); |
| 301 } | 303 } |
| 302 buildCounterDeploymentLabelEntry--; | 304 buildCounterDeploymentLabelEntry--; |
| 303 } | 305 } |
| 304 | 306 |
| 305 buildUnnamed2062() { | 307 buildUnnamed2148() { |
| 306 var o = new core.List<api.DeploymentUpdateLabelEntry>(); | 308 var o = new core.List<api.DeploymentUpdateLabelEntry>(); |
| 307 o.add(buildDeploymentUpdateLabelEntry()); | 309 o.add(buildDeploymentUpdateLabelEntry()); |
| 308 o.add(buildDeploymentUpdateLabelEntry()); | 310 o.add(buildDeploymentUpdateLabelEntry()); |
| 309 return o; | 311 return o; |
| 310 } | 312 } |
| 311 | 313 |
| 312 checkUnnamed2062(core.List<api.DeploymentUpdateLabelEntry> o) { | 314 checkUnnamed2148(core.List<api.DeploymentUpdateLabelEntry> o) { |
| 313 unittest.expect(o, unittest.hasLength(2)); | 315 unittest.expect(o, unittest.hasLength(2)); |
| 314 checkDeploymentUpdateLabelEntry(o[0]); | 316 checkDeploymentUpdateLabelEntry(o[0]); |
| 315 checkDeploymentUpdateLabelEntry(o[1]); | 317 checkDeploymentUpdateLabelEntry(o[1]); |
| 316 } | 318 } |
| 317 | 319 |
| 318 core.int buildCounterDeploymentUpdate = 0; | 320 core.int buildCounterDeploymentUpdate = 0; |
| 319 buildDeploymentUpdate() { | 321 buildDeploymentUpdate() { |
| 320 var o = new api.DeploymentUpdate(); | 322 var o = new api.DeploymentUpdate(); |
| 321 buildCounterDeploymentUpdate++; | 323 buildCounterDeploymentUpdate++; |
| 322 if (buildCounterDeploymentUpdate < 3) { | 324 if (buildCounterDeploymentUpdate < 3) { |
| 323 o.description = "foo"; | 325 o.description = "foo"; |
| 324 o.labels = buildUnnamed2062(); | 326 o.labels = buildUnnamed2148(); |
| 325 o.manifest = "foo"; | 327 o.manifest = "foo"; |
| 326 } | 328 } |
| 327 buildCounterDeploymentUpdate--; | 329 buildCounterDeploymentUpdate--; |
| 328 return o; | 330 return o; |
| 329 } | 331 } |
| 330 | 332 |
| 331 checkDeploymentUpdate(api.DeploymentUpdate o) { | 333 checkDeploymentUpdate(api.DeploymentUpdate o) { |
| 332 buildCounterDeploymentUpdate++; | 334 buildCounterDeploymentUpdate++; |
| 333 if (buildCounterDeploymentUpdate < 3) { | 335 if (buildCounterDeploymentUpdate < 3) { |
| 334 unittest.expect(o.description, unittest.equals('foo')); | 336 unittest.expect(o.description, unittest.equals('foo')); |
| 335 checkUnnamed2062(o.labels); | 337 checkUnnamed2148(o.labels); |
| 336 unittest.expect(o.manifest, unittest.equals('foo')); | 338 unittest.expect(o.manifest, unittest.equals('foo')); |
| 337 } | 339 } |
| 338 buildCounterDeploymentUpdate--; | 340 buildCounterDeploymentUpdate--; |
| 339 } | 341 } |
| 340 | 342 |
| 341 core.int buildCounterDeploymentUpdateLabelEntry = 0; | 343 core.int buildCounterDeploymentUpdateLabelEntry = 0; |
| 342 buildDeploymentUpdateLabelEntry() { | 344 buildDeploymentUpdateLabelEntry() { |
| 343 var o = new api.DeploymentUpdateLabelEntry(); | 345 var o = new api.DeploymentUpdateLabelEntry(); |
| 344 buildCounterDeploymentUpdateLabelEntry++; | 346 buildCounterDeploymentUpdateLabelEntry++; |
| 345 if (buildCounterDeploymentUpdateLabelEntry < 3) { | 347 if (buildCounterDeploymentUpdateLabelEntry < 3) { |
| (...skipping 25 matching lines...) Expand all Loading... |
| 371 } | 373 } |
| 372 | 374 |
| 373 checkDeploymentsCancelPreviewRequest(api.DeploymentsCancelPreviewRequest o) { | 375 checkDeploymentsCancelPreviewRequest(api.DeploymentsCancelPreviewRequest o) { |
| 374 buildCounterDeploymentsCancelPreviewRequest++; | 376 buildCounterDeploymentsCancelPreviewRequest++; |
| 375 if (buildCounterDeploymentsCancelPreviewRequest < 3) { | 377 if (buildCounterDeploymentsCancelPreviewRequest < 3) { |
| 376 unittest.expect(o.fingerprint, unittest.equals('foo')); | 378 unittest.expect(o.fingerprint, unittest.equals('foo')); |
| 377 } | 379 } |
| 378 buildCounterDeploymentsCancelPreviewRequest--; | 380 buildCounterDeploymentsCancelPreviewRequest--; |
| 379 } | 381 } |
| 380 | 382 |
| 381 buildUnnamed2063() { | 383 buildUnnamed2149() { |
| 382 var o = new core.List<api.Deployment>(); | 384 var o = new core.List<api.Deployment>(); |
| 383 o.add(buildDeployment()); | 385 o.add(buildDeployment()); |
| 384 o.add(buildDeployment()); | 386 o.add(buildDeployment()); |
| 385 return o; | 387 return o; |
| 386 } | 388 } |
| 387 | 389 |
| 388 checkUnnamed2063(core.List<api.Deployment> o) { | 390 checkUnnamed2149(core.List<api.Deployment> o) { |
| 389 unittest.expect(o, unittest.hasLength(2)); | 391 unittest.expect(o, unittest.hasLength(2)); |
| 390 checkDeployment(o[0]); | 392 checkDeployment(o[0]); |
| 391 checkDeployment(o[1]); | 393 checkDeployment(o[1]); |
| 392 } | 394 } |
| 393 | 395 |
| 394 core.int buildCounterDeploymentsListResponse = 0; | 396 core.int buildCounterDeploymentsListResponse = 0; |
| 395 buildDeploymentsListResponse() { | 397 buildDeploymentsListResponse() { |
| 396 var o = new api.DeploymentsListResponse(); | 398 var o = new api.DeploymentsListResponse(); |
| 397 buildCounterDeploymentsListResponse++; | 399 buildCounterDeploymentsListResponse++; |
| 398 if (buildCounterDeploymentsListResponse < 3) { | 400 if (buildCounterDeploymentsListResponse < 3) { |
| 399 o.deployments = buildUnnamed2063(); | 401 o.deployments = buildUnnamed2149(); |
| 400 o.nextPageToken = "foo"; | 402 o.nextPageToken = "foo"; |
| 401 } | 403 } |
| 402 buildCounterDeploymentsListResponse--; | 404 buildCounterDeploymentsListResponse--; |
| 403 return o; | 405 return o; |
| 404 } | 406 } |
| 405 | 407 |
| 406 checkDeploymentsListResponse(api.DeploymentsListResponse o) { | 408 checkDeploymentsListResponse(api.DeploymentsListResponse o) { |
| 407 buildCounterDeploymentsListResponse++; | 409 buildCounterDeploymentsListResponse++; |
| 408 if (buildCounterDeploymentsListResponse < 3) { | 410 if (buildCounterDeploymentsListResponse < 3) { |
| 409 checkUnnamed2063(o.deployments); | 411 checkUnnamed2149(o.deployments); |
| 410 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 412 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 411 } | 413 } |
| 412 buildCounterDeploymentsListResponse--; | 414 buildCounterDeploymentsListResponse--; |
| 413 } | 415 } |
| 414 | 416 |
| 415 core.int buildCounterDeploymentsStopRequest = 0; | 417 core.int buildCounterDeploymentsStopRequest = 0; |
| 416 buildDeploymentsStopRequest() { | 418 buildDeploymentsStopRequest() { |
| 417 var o = new api.DeploymentsStopRequest(); | 419 var o = new api.DeploymentsStopRequest(); |
| 418 buildCounterDeploymentsStopRequest++; | 420 buildCounterDeploymentsStopRequest++; |
| 419 if (buildCounterDeploymentsStopRequest < 3) { | 421 if (buildCounterDeploymentsStopRequest < 3) { |
| 420 o.fingerprint = "foo"; | 422 o.fingerprint = "foo"; |
| 421 } | 423 } |
| 422 buildCounterDeploymentsStopRequest--; | 424 buildCounterDeploymentsStopRequest--; |
| 423 return o; | 425 return o; |
| 424 } | 426 } |
| 425 | 427 |
| 426 checkDeploymentsStopRequest(api.DeploymentsStopRequest o) { | 428 checkDeploymentsStopRequest(api.DeploymentsStopRequest o) { |
| 427 buildCounterDeploymentsStopRequest++; | 429 buildCounterDeploymentsStopRequest++; |
| 428 if (buildCounterDeploymentsStopRequest < 3) { | 430 if (buildCounterDeploymentsStopRequest < 3) { |
| 429 unittest.expect(o.fingerprint, unittest.equals('foo')); | 431 unittest.expect(o.fingerprint, unittest.equals('foo')); |
| 430 } | 432 } |
| 431 buildCounterDeploymentsStopRequest--; | 433 buildCounterDeploymentsStopRequest--; |
| 432 } | 434 } |
| 433 | 435 |
| 436 core.int buildCounterExpr = 0; |
| 437 buildExpr() { |
| 438 var o = new api.Expr(); |
| 439 buildCounterExpr++; |
| 440 if (buildCounterExpr < 3) { |
| 441 o.description = "foo"; |
| 442 o.expression = "foo"; |
| 443 o.location = "foo"; |
| 444 o.title = "foo"; |
| 445 } |
| 446 buildCounterExpr--; |
| 447 return o; |
| 448 } |
| 449 |
| 450 checkExpr(api.Expr o) { |
| 451 buildCounterExpr++; |
| 452 if (buildCounterExpr < 3) { |
| 453 unittest.expect(o.description, unittest.equals('foo')); |
| 454 unittest.expect(o.expression, unittest.equals('foo')); |
| 455 unittest.expect(o.location, unittest.equals('foo')); |
| 456 unittest.expect(o.title, unittest.equals('foo')); |
| 457 } |
| 458 buildCounterExpr--; |
| 459 } |
| 460 |
| 434 core.int buildCounterImportFile = 0; | 461 core.int buildCounterImportFile = 0; |
| 435 buildImportFile() { | 462 buildImportFile() { |
| 436 var o = new api.ImportFile(); | 463 var o = new api.ImportFile(); |
| 437 buildCounterImportFile++; | 464 buildCounterImportFile++; |
| 438 if (buildCounterImportFile < 3) { | 465 if (buildCounterImportFile < 3) { |
| 439 o.content = "foo"; | 466 o.content = "foo"; |
| 440 o.name = "foo"; | 467 o.name = "foo"; |
| 441 } | 468 } |
| 442 buildCounterImportFile--; | 469 buildCounterImportFile--; |
| 443 return o; | 470 return o; |
| 444 } | 471 } |
| 445 | 472 |
| 446 checkImportFile(api.ImportFile o) { | 473 checkImportFile(api.ImportFile o) { |
| 447 buildCounterImportFile++; | 474 buildCounterImportFile++; |
| 448 if (buildCounterImportFile < 3) { | 475 if (buildCounterImportFile < 3) { |
| 449 unittest.expect(o.content, unittest.equals('foo')); | 476 unittest.expect(o.content, unittest.equals('foo')); |
| 450 unittest.expect(o.name, unittest.equals('foo')); | 477 unittest.expect(o.name, unittest.equals('foo')); |
| 451 } | 478 } |
| 452 buildCounterImportFile--; | 479 buildCounterImportFile--; |
| 453 } | 480 } |
| 454 | 481 |
| 455 core.int buildCounterLogConfig = 0; | 482 core.int buildCounterLogConfig = 0; |
| 456 buildLogConfig() { | 483 buildLogConfig() { |
| 457 var o = new api.LogConfig(); | 484 var o = new api.LogConfig(); |
| 458 buildCounterLogConfig++; | 485 buildCounterLogConfig++; |
| 459 if (buildCounterLogConfig < 3) { | 486 if (buildCounterLogConfig < 3) { |
| 487 o.cloudAudit = buildLogConfigCloudAuditOptions(); |
| 460 o.counter = buildLogConfigCounterOptions(); | 488 o.counter = buildLogConfigCounterOptions(); |
| 461 } | 489 } |
| 462 buildCounterLogConfig--; | 490 buildCounterLogConfig--; |
| 463 return o; | 491 return o; |
| 464 } | 492 } |
| 465 | 493 |
| 466 checkLogConfig(api.LogConfig o) { | 494 checkLogConfig(api.LogConfig o) { |
| 467 buildCounterLogConfig++; | 495 buildCounterLogConfig++; |
| 468 if (buildCounterLogConfig < 3) { | 496 if (buildCounterLogConfig < 3) { |
| 497 checkLogConfigCloudAuditOptions(o.cloudAudit); |
| 469 checkLogConfigCounterOptions(o.counter); | 498 checkLogConfigCounterOptions(o.counter); |
| 470 } | 499 } |
| 471 buildCounterLogConfig--; | 500 buildCounterLogConfig--; |
| 472 } | 501 } |
| 473 | 502 |
| 503 core.int buildCounterLogConfigCloudAuditOptions = 0; |
| 504 buildLogConfigCloudAuditOptions() { |
| 505 var o = new api.LogConfigCloudAuditOptions(); |
| 506 buildCounterLogConfigCloudAuditOptions++; |
| 507 if (buildCounterLogConfigCloudAuditOptions < 3) { |
| 508 o.logName = "foo"; |
| 509 } |
| 510 buildCounterLogConfigCloudAuditOptions--; |
| 511 return o; |
| 512 } |
| 513 |
| 514 checkLogConfigCloudAuditOptions(api.LogConfigCloudAuditOptions o) { |
| 515 buildCounterLogConfigCloudAuditOptions++; |
| 516 if (buildCounterLogConfigCloudAuditOptions < 3) { |
| 517 unittest.expect(o.logName, unittest.equals('foo')); |
| 518 } |
| 519 buildCounterLogConfigCloudAuditOptions--; |
| 520 } |
| 521 |
| 474 core.int buildCounterLogConfigCounterOptions = 0; | 522 core.int buildCounterLogConfigCounterOptions = 0; |
| 475 buildLogConfigCounterOptions() { | 523 buildLogConfigCounterOptions() { |
| 476 var o = new api.LogConfigCounterOptions(); | 524 var o = new api.LogConfigCounterOptions(); |
| 477 buildCounterLogConfigCounterOptions++; | 525 buildCounterLogConfigCounterOptions++; |
| 478 if (buildCounterLogConfigCounterOptions < 3) { | 526 if (buildCounterLogConfigCounterOptions < 3) { |
| 479 o.field = "foo"; | 527 o.field = "foo"; |
| 480 o.metric = "foo"; | 528 o.metric = "foo"; |
| 481 } | 529 } |
| 482 buildCounterLogConfigCounterOptions--; | 530 buildCounterLogConfigCounterOptions--; |
| 483 return o; | 531 return o; |
| 484 } | 532 } |
| 485 | 533 |
| 486 checkLogConfigCounterOptions(api.LogConfigCounterOptions o) { | 534 checkLogConfigCounterOptions(api.LogConfigCounterOptions o) { |
| 487 buildCounterLogConfigCounterOptions++; | 535 buildCounterLogConfigCounterOptions++; |
| 488 if (buildCounterLogConfigCounterOptions < 3) { | 536 if (buildCounterLogConfigCounterOptions < 3) { |
| 489 unittest.expect(o.field, unittest.equals('foo')); | 537 unittest.expect(o.field, unittest.equals('foo')); |
| 490 unittest.expect(o.metric, unittest.equals('foo')); | 538 unittest.expect(o.metric, unittest.equals('foo')); |
| 491 } | 539 } |
| 492 buildCounterLogConfigCounterOptions--; | 540 buildCounterLogConfigCounterOptions--; |
| 493 } | 541 } |
| 494 | 542 |
| 495 buildUnnamed2064() { | 543 buildUnnamed2150() { |
| 496 var o = new core.List<api.ImportFile>(); | 544 var o = new core.List<api.ImportFile>(); |
| 497 o.add(buildImportFile()); | 545 o.add(buildImportFile()); |
| 498 o.add(buildImportFile()); | 546 o.add(buildImportFile()); |
| 499 return o; | 547 return o; |
| 500 } | 548 } |
| 501 | 549 |
| 502 checkUnnamed2064(core.List<api.ImportFile> o) { | 550 checkUnnamed2150(core.List<api.ImportFile> o) { |
| 503 unittest.expect(o, unittest.hasLength(2)); | 551 unittest.expect(o, unittest.hasLength(2)); |
| 504 checkImportFile(o[0]); | 552 checkImportFile(o[0]); |
| 505 checkImportFile(o[1]); | 553 checkImportFile(o[1]); |
| 506 } | 554 } |
| 507 | 555 |
| 508 core.int buildCounterManifest = 0; | 556 core.int buildCounterManifest = 0; |
| 509 buildManifest() { | 557 buildManifest() { |
| 510 var o = new api.Manifest(); | 558 var o = new api.Manifest(); |
| 511 buildCounterManifest++; | 559 buildCounterManifest++; |
| 512 if (buildCounterManifest < 3) { | 560 if (buildCounterManifest < 3) { |
| 513 o.config = buildConfigFile(); | 561 o.config = buildConfigFile(); |
| 514 o.expandedConfig = "foo"; | 562 o.expandedConfig = "foo"; |
| 515 o.id = "foo"; | 563 o.id = "foo"; |
| 516 o.imports = buildUnnamed2064(); | 564 o.imports = buildUnnamed2150(); |
| 517 o.insertTime = "foo"; | 565 o.insertTime = "foo"; |
| 518 o.layout = "foo"; | 566 o.layout = "foo"; |
| 519 o.name = "foo"; | 567 o.name = "foo"; |
| 520 o.selfLink = "foo"; | 568 o.selfLink = "foo"; |
| 521 } | 569 } |
| 522 buildCounterManifest--; | 570 buildCounterManifest--; |
| 523 return o; | 571 return o; |
| 524 } | 572 } |
| 525 | 573 |
| 526 checkManifest(api.Manifest o) { | 574 checkManifest(api.Manifest o) { |
| 527 buildCounterManifest++; | 575 buildCounterManifest++; |
| 528 if (buildCounterManifest < 3) { | 576 if (buildCounterManifest < 3) { |
| 529 checkConfigFile(o.config); | 577 checkConfigFile(o.config); |
| 530 unittest.expect(o.expandedConfig, unittest.equals('foo')); | 578 unittest.expect(o.expandedConfig, unittest.equals('foo')); |
| 531 unittest.expect(o.id, unittest.equals('foo')); | 579 unittest.expect(o.id, unittest.equals('foo')); |
| 532 checkUnnamed2064(o.imports); | 580 checkUnnamed2150(o.imports); |
| 533 unittest.expect(o.insertTime, unittest.equals('foo')); | 581 unittest.expect(o.insertTime, unittest.equals('foo')); |
| 534 unittest.expect(o.layout, unittest.equals('foo')); | 582 unittest.expect(o.layout, unittest.equals('foo')); |
| 535 unittest.expect(o.name, unittest.equals('foo')); | 583 unittest.expect(o.name, unittest.equals('foo')); |
| 536 unittest.expect(o.selfLink, unittest.equals('foo')); | 584 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 537 } | 585 } |
| 538 buildCounterManifest--; | 586 buildCounterManifest--; |
| 539 } | 587 } |
| 540 | 588 |
| 541 buildUnnamed2065() { | 589 buildUnnamed2151() { |
| 542 var o = new core.List<api.Manifest>(); | 590 var o = new core.List<api.Manifest>(); |
| 543 o.add(buildManifest()); | 591 o.add(buildManifest()); |
| 544 o.add(buildManifest()); | 592 o.add(buildManifest()); |
| 545 return o; | 593 return o; |
| 546 } | 594 } |
| 547 | 595 |
| 548 checkUnnamed2065(core.List<api.Manifest> o) { | 596 checkUnnamed2151(core.List<api.Manifest> o) { |
| 549 unittest.expect(o, unittest.hasLength(2)); | 597 unittest.expect(o, unittest.hasLength(2)); |
| 550 checkManifest(o[0]); | 598 checkManifest(o[0]); |
| 551 checkManifest(o[1]); | 599 checkManifest(o[1]); |
| 552 } | 600 } |
| 553 | 601 |
| 554 core.int buildCounterManifestsListResponse = 0; | 602 core.int buildCounterManifestsListResponse = 0; |
| 555 buildManifestsListResponse() { | 603 buildManifestsListResponse() { |
| 556 var o = new api.ManifestsListResponse(); | 604 var o = new api.ManifestsListResponse(); |
| 557 buildCounterManifestsListResponse++; | 605 buildCounterManifestsListResponse++; |
| 558 if (buildCounterManifestsListResponse < 3) { | 606 if (buildCounterManifestsListResponse < 3) { |
| 559 o.manifests = buildUnnamed2065(); | 607 o.manifests = buildUnnamed2151(); |
| 560 o.nextPageToken = "foo"; | 608 o.nextPageToken = "foo"; |
| 561 } | 609 } |
| 562 buildCounterManifestsListResponse--; | 610 buildCounterManifestsListResponse--; |
| 563 return o; | 611 return o; |
| 564 } | 612 } |
| 565 | 613 |
| 566 checkManifestsListResponse(api.ManifestsListResponse o) { | 614 checkManifestsListResponse(api.ManifestsListResponse o) { |
| 567 buildCounterManifestsListResponse++; | 615 buildCounterManifestsListResponse++; |
| 568 if (buildCounterManifestsListResponse < 3) { | 616 if (buildCounterManifestsListResponse < 3) { |
| 569 checkUnnamed2065(o.manifests); | 617 checkUnnamed2151(o.manifests); |
| 570 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 618 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 571 } | 619 } |
| 572 buildCounterManifestsListResponse--; | 620 buildCounterManifestsListResponse--; |
| 573 } | 621 } |
| 574 | 622 |
| 575 core.int buildCounterOperationErrorErrors = 0; | 623 core.int buildCounterOperationErrorErrors = 0; |
| 576 buildOperationErrorErrors() { | 624 buildOperationErrorErrors() { |
| 577 var o = new api.OperationErrorErrors(); | 625 var o = new api.OperationErrorErrors(); |
| 578 buildCounterOperationErrorErrors++; | 626 buildCounterOperationErrorErrors++; |
| 579 if (buildCounterOperationErrorErrors < 3) { | 627 if (buildCounterOperationErrorErrors < 3) { |
| 580 o.code = "foo"; | 628 o.code = "foo"; |
| 581 o.location = "foo"; | 629 o.location = "foo"; |
| 582 o.message = "foo"; | 630 o.message = "foo"; |
| 583 } | 631 } |
| 584 buildCounterOperationErrorErrors--; | 632 buildCounterOperationErrorErrors--; |
| 585 return o; | 633 return o; |
| 586 } | 634 } |
| 587 | 635 |
| 588 checkOperationErrorErrors(api.OperationErrorErrors o) { | 636 checkOperationErrorErrors(api.OperationErrorErrors o) { |
| 589 buildCounterOperationErrorErrors++; | 637 buildCounterOperationErrorErrors++; |
| 590 if (buildCounterOperationErrorErrors < 3) { | 638 if (buildCounterOperationErrorErrors < 3) { |
| 591 unittest.expect(o.code, unittest.equals('foo')); | 639 unittest.expect(o.code, unittest.equals('foo')); |
| 592 unittest.expect(o.location, unittest.equals('foo')); | 640 unittest.expect(o.location, unittest.equals('foo')); |
| 593 unittest.expect(o.message, unittest.equals('foo')); | 641 unittest.expect(o.message, unittest.equals('foo')); |
| 594 } | 642 } |
| 595 buildCounterOperationErrorErrors--; | 643 buildCounterOperationErrorErrors--; |
| 596 } | 644 } |
| 597 | 645 |
| 598 buildUnnamed2066() { | 646 buildUnnamed2152() { |
| 599 var o = new core.List<api.OperationErrorErrors>(); | 647 var o = new core.List<api.OperationErrorErrors>(); |
| 600 o.add(buildOperationErrorErrors()); | 648 o.add(buildOperationErrorErrors()); |
| 601 o.add(buildOperationErrorErrors()); | 649 o.add(buildOperationErrorErrors()); |
| 602 return o; | 650 return o; |
| 603 } | 651 } |
| 604 | 652 |
| 605 checkUnnamed2066(core.List<api.OperationErrorErrors> o) { | 653 checkUnnamed2152(core.List<api.OperationErrorErrors> o) { |
| 606 unittest.expect(o, unittest.hasLength(2)); | 654 unittest.expect(o, unittest.hasLength(2)); |
| 607 checkOperationErrorErrors(o[0]); | 655 checkOperationErrorErrors(o[0]); |
| 608 checkOperationErrorErrors(o[1]); | 656 checkOperationErrorErrors(o[1]); |
| 609 } | 657 } |
| 610 | 658 |
| 611 core.int buildCounterOperationError = 0; | 659 core.int buildCounterOperationError = 0; |
| 612 buildOperationError() { | 660 buildOperationError() { |
| 613 var o = new api.OperationError(); | 661 var o = new api.OperationError(); |
| 614 buildCounterOperationError++; | 662 buildCounterOperationError++; |
| 615 if (buildCounterOperationError < 3) { | 663 if (buildCounterOperationError < 3) { |
| 616 o.errors = buildUnnamed2066(); | 664 o.errors = buildUnnamed2152(); |
| 617 } | 665 } |
| 618 buildCounterOperationError--; | 666 buildCounterOperationError--; |
| 619 return o; | 667 return o; |
| 620 } | 668 } |
| 621 | 669 |
| 622 checkOperationError(api.OperationError o) { | 670 checkOperationError(api.OperationError o) { |
| 623 buildCounterOperationError++; | 671 buildCounterOperationError++; |
| 624 if (buildCounterOperationError < 3) { | 672 if (buildCounterOperationError < 3) { |
| 625 checkUnnamed2066(o.errors); | 673 checkUnnamed2152(o.errors); |
| 626 } | 674 } |
| 627 buildCounterOperationError--; | 675 buildCounterOperationError--; |
| 628 } | 676 } |
| 629 | 677 |
| 630 core.int buildCounterOperationWarningsData = 0; | 678 core.int buildCounterOperationWarningsData = 0; |
| 631 buildOperationWarningsData() { | 679 buildOperationWarningsData() { |
| 632 var o = new api.OperationWarningsData(); | 680 var o = new api.OperationWarningsData(); |
| 633 buildCounterOperationWarningsData++; | 681 buildCounterOperationWarningsData++; |
| 634 if (buildCounterOperationWarningsData < 3) { | 682 if (buildCounterOperationWarningsData < 3) { |
| 635 o.key = "foo"; | 683 o.key = "foo"; |
| 636 o.value = "foo"; | 684 o.value = "foo"; |
| 637 } | 685 } |
| 638 buildCounterOperationWarningsData--; | 686 buildCounterOperationWarningsData--; |
| 639 return o; | 687 return o; |
| 640 } | 688 } |
| 641 | 689 |
| 642 checkOperationWarningsData(api.OperationWarningsData o) { | 690 checkOperationWarningsData(api.OperationWarningsData o) { |
| 643 buildCounterOperationWarningsData++; | 691 buildCounterOperationWarningsData++; |
| 644 if (buildCounterOperationWarningsData < 3) { | 692 if (buildCounterOperationWarningsData < 3) { |
| 645 unittest.expect(o.key, unittest.equals('foo')); | 693 unittest.expect(o.key, unittest.equals('foo')); |
| 646 unittest.expect(o.value, unittest.equals('foo')); | 694 unittest.expect(o.value, unittest.equals('foo')); |
| 647 } | 695 } |
| 648 buildCounterOperationWarningsData--; | 696 buildCounterOperationWarningsData--; |
| 649 } | 697 } |
| 650 | 698 |
| 651 buildUnnamed2067() { | 699 buildUnnamed2153() { |
| 652 var o = new core.List<api.OperationWarningsData>(); | 700 var o = new core.List<api.OperationWarningsData>(); |
| 653 o.add(buildOperationWarningsData()); | 701 o.add(buildOperationWarningsData()); |
| 654 o.add(buildOperationWarningsData()); | 702 o.add(buildOperationWarningsData()); |
| 655 return o; | 703 return o; |
| 656 } | 704 } |
| 657 | 705 |
| 658 checkUnnamed2067(core.List<api.OperationWarningsData> o) { | 706 checkUnnamed2153(core.List<api.OperationWarningsData> o) { |
| 659 unittest.expect(o, unittest.hasLength(2)); | 707 unittest.expect(o, unittest.hasLength(2)); |
| 660 checkOperationWarningsData(o[0]); | 708 checkOperationWarningsData(o[0]); |
| 661 checkOperationWarningsData(o[1]); | 709 checkOperationWarningsData(o[1]); |
| 662 } | 710 } |
| 663 | 711 |
| 664 core.int buildCounterOperationWarnings = 0; | 712 core.int buildCounterOperationWarnings = 0; |
| 665 buildOperationWarnings() { | 713 buildOperationWarnings() { |
| 666 var o = new api.OperationWarnings(); | 714 var o = new api.OperationWarnings(); |
| 667 buildCounterOperationWarnings++; | 715 buildCounterOperationWarnings++; |
| 668 if (buildCounterOperationWarnings < 3) { | 716 if (buildCounterOperationWarnings < 3) { |
| 669 o.code = "foo"; | 717 o.code = "foo"; |
| 670 o.data = buildUnnamed2067(); | 718 o.data = buildUnnamed2153(); |
| 671 o.message = "foo"; | 719 o.message = "foo"; |
| 672 } | 720 } |
| 673 buildCounterOperationWarnings--; | 721 buildCounterOperationWarnings--; |
| 674 return o; | 722 return o; |
| 675 } | 723 } |
| 676 | 724 |
| 677 checkOperationWarnings(api.OperationWarnings o) { | 725 checkOperationWarnings(api.OperationWarnings o) { |
| 678 buildCounterOperationWarnings++; | 726 buildCounterOperationWarnings++; |
| 679 if (buildCounterOperationWarnings < 3) { | 727 if (buildCounterOperationWarnings < 3) { |
| 680 unittest.expect(o.code, unittest.equals('foo')); | 728 unittest.expect(o.code, unittest.equals('foo')); |
| 681 checkUnnamed2067(o.data); | 729 checkUnnamed2153(o.data); |
| 682 unittest.expect(o.message, unittest.equals('foo')); | 730 unittest.expect(o.message, unittest.equals('foo')); |
| 683 } | 731 } |
| 684 buildCounterOperationWarnings--; | 732 buildCounterOperationWarnings--; |
| 685 } | 733 } |
| 686 | 734 |
| 687 buildUnnamed2068() { | 735 buildUnnamed2154() { |
| 688 var o = new core.List<api.OperationWarnings>(); | 736 var o = new core.List<api.OperationWarnings>(); |
| 689 o.add(buildOperationWarnings()); | 737 o.add(buildOperationWarnings()); |
| 690 o.add(buildOperationWarnings()); | 738 o.add(buildOperationWarnings()); |
| 691 return o; | 739 return o; |
| 692 } | 740 } |
| 693 | 741 |
| 694 checkUnnamed2068(core.List<api.OperationWarnings> o) { | 742 checkUnnamed2154(core.List<api.OperationWarnings> o) { |
| 695 unittest.expect(o, unittest.hasLength(2)); | 743 unittest.expect(o, unittest.hasLength(2)); |
| 696 checkOperationWarnings(o[0]); | 744 checkOperationWarnings(o[0]); |
| 697 checkOperationWarnings(o[1]); | 745 checkOperationWarnings(o[1]); |
| 698 } | 746 } |
| 699 | 747 |
| 700 core.int buildCounterOperation = 0; | 748 core.int buildCounterOperation = 0; |
| 701 buildOperation() { | 749 buildOperation() { |
| 702 var o = new api.Operation(); | 750 var o = new api.Operation(); |
| 703 buildCounterOperation++; | 751 buildCounterOperation++; |
| 704 if (buildCounterOperation < 3) { | 752 if (buildCounterOperation < 3) { |
| (...skipping 11 matching lines...) Expand all Loading... |
| 716 o.operationType = "foo"; | 764 o.operationType = "foo"; |
| 717 o.progress = 42; | 765 o.progress = 42; |
| 718 o.region = "foo"; | 766 o.region = "foo"; |
| 719 o.selfLink = "foo"; | 767 o.selfLink = "foo"; |
| 720 o.startTime = "foo"; | 768 o.startTime = "foo"; |
| 721 o.status = "foo"; | 769 o.status = "foo"; |
| 722 o.statusMessage = "foo"; | 770 o.statusMessage = "foo"; |
| 723 o.targetId = "foo"; | 771 o.targetId = "foo"; |
| 724 o.targetLink = "foo"; | 772 o.targetLink = "foo"; |
| 725 o.user = "foo"; | 773 o.user = "foo"; |
| 726 o.warnings = buildUnnamed2068(); | 774 o.warnings = buildUnnamed2154(); |
| 727 o.zone = "foo"; | 775 o.zone = "foo"; |
| 728 } | 776 } |
| 729 buildCounterOperation--; | 777 buildCounterOperation--; |
| 730 return o; | 778 return o; |
| 731 } | 779 } |
| 732 | 780 |
| 733 checkOperation(api.Operation o) { | 781 checkOperation(api.Operation o) { |
| 734 buildCounterOperation++; | 782 buildCounterOperation++; |
| 735 if (buildCounterOperation < 3) { | 783 if (buildCounterOperation < 3) { |
| 736 unittest.expect(o.clientOperationId, unittest.equals('foo')); | 784 unittest.expect(o.clientOperationId, unittest.equals('foo')); |
| (...skipping 10 matching lines...) Expand all Loading... |
| 747 unittest.expect(o.operationType, unittest.equals('foo')); | 795 unittest.expect(o.operationType, unittest.equals('foo')); |
| 748 unittest.expect(o.progress, unittest.equals(42)); | 796 unittest.expect(o.progress, unittest.equals(42)); |
| 749 unittest.expect(o.region, unittest.equals('foo')); | 797 unittest.expect(o.region, unittest.equals('foo')); |
| 750 unittest.expect(o.selfLink, unittest.equals('foo')); | 798 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 751 unittest.expect(o.startTime, unittest.equals('foo')); | 799 unittest.expect(o.startTime, unittest.equals('foo')); |
| 752 unittest.expect(o.status, unittest.equals('foo')); | 800 unittest.expect(o.status, unittest.equals('foo')); |
| 753 unittest.expect(o.statusMessage, unittest.equals('foo')); | 801 unittest.expect(o.statusMessage, unittest.equals('foo')); |
| 754 unittest.expect(o.targetId, unittest.equals('foo')); | 802 unittest.expect(o.targetId, unittest.equals('foo')); |
| 755 unittest.expect(o.targetLink, unittest.equals('foo')); | 803 unittest.expect(o.targetLink, unittest.equals('foo')); |
| 756 unittest.expect(o.user, unittest.equals('foo')); | 804 unittest.expect(o.user, unittest.equals('foo')); |
| 757 checkUnnamed2068(o.warnings); | 805 checkUnnamed2154(o.warnings); |
| 758 unittest.expect(o.zone, unittest.equals('foo')); | 806 unittest.expect(o.zone, unittest.equals('foo')); |
| 759 } | 807 } |
| 760 buildCounterOperation--; | 808 buildCounterOperation--; |
| 761 } | 809 } |
| 762 | 810 |
| 763 buildUnnamed2069() { | 811 buildUnnamed2155() { |
| 764 var o = new core.List<api.Operation>(); | 812 var o = new core.List<api.Operation>(); |
| 765 o.add(buildOperation()); | 813 o.add(buildOperation()); |
| 766 o.add(buildOperation()); | 814 o.add(buildOperation()); |
| 767 return o; | 815 return o; |
| 768 } | 816 } |
| 769 | 817 |
| 770 checkUnnamed2069(core.List<api.Operation> o) { | 818 checkUnnamed2155(core.List<api.Operation> o) { |
| 771 unittest.expect(o, unittest.hasLength(2)); | 819 unittest.expect(o, unittest.hasLength(2)); |
| 772 checkOperation(o[0]); | 820 checkOperation(o[0]); |
| 773 checkOperation(o[1]); | 821 checkOperation(o[1]); |
| 774 } | 822 } |
| 775 | 823 |
| 776 core.int buildCounterOperationsListResponse = 0; | 824 core.int buildCounterOperationsListResponse = 0; |
| 777 buildOperationsListResponse() { | 825 buildOperationsListResponse() { |
| 778 var o = new api.OperationsListResponse(); | 826 var o = new api.OperationsListResponse(); |
| 779 buildCounterOperationsListResponse++; | 827 buildCounterOperationsListResponse++; |
| 780 if (buildCounterOperationsListResponse < 3) { | 828 if (buildCounterOperationsListResponse < 3) { |
| 781 o.nextPageToken = "foo"; | 829 o.nextPageToken = "foo"; |
| 782 o.operations = buildUnnamed2069(); | 830 o.operations = buildUnnamed2155(); |
| 783 } | 831 } |
| 784 buildCounterOperationsListResponse--; | 832 buildCounterOperationsListResponse--; |
| 785 return o; | 833 return o; |
| 786 } | 834 } |
| 787 | 835 |
| 788 checkOperationsListResponse(api.OperationsListResponse o) { | 836 checkOperationsListResponse(api.OperationsListResponse o) { |
| 789 buildCounterOperationsListResponse++; | 837 buildCounterOperationsListResponse++; |
| 790 if (buildCounterOperationsListResponse < 3) { | 838 if (buildCounterOperationsListResponse < 3) { |
| 791 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 839 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 792 checkUnnamed2069(o.operations); | 840 checkUnnamed2155(o.operations); |
| 793 } | 841 } |
| 794 buildCounterOperationsListResponse--; | 842 buildCounterOperationsListResponse--; |
| 795 } | 843 } |
| 796 | 844 |
| 797 buildUnnamed2070() { | 845 buildUnnamed2156() { |
| 798 var o = new core.List<api.AuditConfig>(); | 846 var o = new core.List<api.AuditConfig>(); |
| 799 o.add(buildAuditConfig()); | 847 o.add(buildAuditConfig()); |
| 800 o.add(buildAuditConfig()); | 848 o.add(buildAuditConfig()); |
| 801 return o; | 849 return o; |
| 802 } | 850 } |
| 803 | 851 |
| 804 checkUnnamed2070(core.List<api.AuditConfig> o) { | 852 checkUnnamed2156(core.List<api.AuditConfig> o) { |
| 805 unittest.expect(o, unittest.hasLength(2)); | 853 unittest.expect(o, unittest.hasLength(2)); |
| 806 checkAuditConfig(o[0]); | 854 checkAuditConfig(o[0]); |
| 807 checkAuditConfig(o[1]); | 855 checkAuditConfig(o[1]); |
| 808 } | 856 } |
| 809 | 857 |
| 810 buildUnnamed2071() { | 858 buildUnnamed2157() { |
| 811 var o = new core.List<api.Binding>(); | 859 var o = new core.List<api.Binding>(); |
| 812 o.add(buildBinding()); | 860 o.add(buildBinding()); |
| 813 o.add(buildBinding()); | 861 o.add(buildBinding()); |
| 814 return o; | 862 return o; |
| 815 } | 863 } |
| 816 | 864 |
| 817 checkUnnamed2071(core.List<api.Binding> o) { | 865 checkUnnamed2157(core.List<api.Binding> o) { |
| 818 unittest.expect(o, unittest.hasLength(2)); | 866 unittest.expect(o, unittest.hasLength(2)); |
| 819 checkBinding(o[0]); | 867 checkBinding(o[0]); |
| 820 checkBinding(o[1]); | 868 checkBinding(o[1]); |
| 821 } | 869 } |
| 822 | 870 |
| 823 buildUnnamed2072() { | 871 buildUnnamed2158() { |
| 824 var o = new core.List<api.Rule>(); | 872 var o = new core.List<api.Rule>(); |
| 825 o.add(buildRule()); | 873 o.add(buildRule()); |
| 826 o.add(buildRule()); | 874 o.add(buildRule()); |
| 827 return o; | 875 return o; |
| 828 } | 876 } |
| 829 | 877 |
| 830 checkUnnamed2072(core.List<api.Rule> o) { | 878 checkUnnamed2158(core.List<api.Rule> o) { |
| 831 unittest.expect(o, unittest.hasLength(2)); | 879 unittest.expect(o, unittest.hasLength(2)); |
| 832 checkRule(o[0]); | 880 checkRule(o[0]); |
| 833 checkRule(o[1]); | 881 checkRule(o[1]); |
| 834 } | 882 } |
| 835 | 883 |
| 836 core.int buildCounterPolicy = 0; | 884 core.int buildCounterPolicy = 0; |
| 837 buildPolicy() { | 885 buildPolicy() { |
| 838 var o = new api.Policy(); | 886 var o = new api.Policy(); |
| 839 buildCounterPolicy++; | 887 buildCounterPolicy++; |
| 840 if (buildCounterPolicy < 3) { | 888 if (buildCounterPolicy < 3) { |
| 841 o.auditConfigs = buildUnnamed2070(); | 889 o.auditConfigs = buildUnnamed2156(); |
| 842 o.bindings = buildUnnamed2071(); | 890 o.bindings = buildUnnamed2157(); |
| 843 o.etag = "foo"; | 891 o.etag = "foo"; |
| 844 o.iamOwned = true; | 892 o.iamOwned = true; |
| 845 o.rules = buildUnnamed2072(); | 893 o.rules = buildUnnamed2158(); |
| 846 o.version = 42; | 894 o.version = 42; |
| 847 } | 895 } |
| 848 buildCounterPolicy--; | 896 buildCounterPolicy--; |
| 849 return o; | 897 return o; |
| 850 } | 898 } |
| 851 | 899 |
| 852 checkPolicy(api.Policy o) { | 900 checkPolicy(api.Policy o) { |
| 853 buildCounterPolicy++; | 901 buildCounterPolicy++; |
| 854 if (buildCounterPolicy < 3) { | 902 if (buildCounterPolicy < 3) { |
| 855 checkUnnamed2070(o.auditConfigs); | 903 checkUnnamed2156(o.auditConfigs); |
| 856 checkUnnamed2071(o.bindings); | 904 checkUnnamed2157(o.bindings); |
| 857 unittest.expect(o.etag, unittest.equals('foo')); | 905 unittest.expect(o.etag, unittest.equals('foo')); |
| 858 unittest.expect(o.iamOwned, unittest.isTrue); | 906 unittest.expect(o.iamOwned, unittest.isTrue); |
| 859 checkUnnamed2072(o.rules); | 907 checkUnnamed2158(o.rules); |
| 860 unittest.expect(o.version, unittest.equals(42)); | 908 unittest.expect(o.version, unittest.equals(42)); |
| 861 } | 909 } |
| 862 buildCounterPolicy--; | 910 buildCounterPolicy--; |
| 863 } | 911 } |
| 864 | 912 |
| 865 core.int buildCounterResourceWarningsData = 0; | 913 core.int buildCounterResourceWarningsData = 0; |
| 866 buildResourceWarningsData() { | 914 buildResourceWarningsData() { |
| 867 var o = new api.ResourceWarningsData(); | 915 var o = new api.ResourceWarningsData(); |
| 868 buildCounterResourceWarningsData++; | 916 buildCounterResourceWarningsData++; |
| 869 if (buildCounterResourceWarningsData < 3) { | 917 if (buildCounterResourceWarningsData < 3) { |
| 870 o.key = "foo"; | 918 o.key = "foo"; |
| 871 o.value = "foo"; | 919 o.value = "foo"; |
| 872 } | 920 } |
| 873 buildCounterResourceWarningsData--; | 921 buildCounterResourceWarningsData--; |
| 874 return o; | 922 return o; |
| 875 } | 923 } |
| 876 | 924 |
| 877 checkResourceWarningsData(api.ResourceWarningsData o) { | 925 checkResourceWarningsData(api.ResourceWarningsData o) { |
| 878 buildCounterResourceWarningsData++; | 926 buildCounterResourceWarningsData++; |
| 879 if (buildCounterResourceWarningsData < 3) { | 927 if (buildCounterResourceWarningsData < 3) { |
| 880 unittest.expect(o.key, unittest.equals('foo')); | 928 unittest.expect(o.key, unittest.equals('foo')); |
| 881 unittest.expect(o.value, unittest.equals('foo')); | 929 unittest.expect(o.value, unittest.equals('foo')); |
| 882 } | 930 } |
| 883 buildCounterResourceWarningsData--; | 931 buildCounterResourceWarningsData--; |
| 884 } | 932 } |
| 885 | 933 |
| 886 buildUnnamed2073() { | 934 buildUnnamed2159() { |
| 887 var o = new core.List<api.ResourceWarningsData>(); | 935 var o = new core.List<api.ResourceWarningsData>(); |
| 888 o.add(buildResourceWarningsData()); | 936 o.add(buildResourceWarningsData()); |
| 889 o.add(buildResourceWarningsData()); | 937 o.add(buildResourceWarningsData()); |
| 890 return o; | 938 return o; |
| 891 } | 939 } |
| 892 | 940 |
| 893 checkUnnamed2073(core.List<api.ResourceWarningsData> o) { | 941 checkUnnamed2159(core.List<api.ResourceWarningsData> o) { |
| 894 unittest.expect(o, unittest.hasLength(2)); | 942 unittest.expect(o, unittest.hasLength(2)); |
| 895 checkResourceWarningsData(o[0]); | 943 checkResourceWarningsData(o[0]); |
| 896 checkResourceWarningsData(o[1]); | 944 checkResourceWarningsData(o[1]); |
| 897 } | 945 } |
| 898 | 946 |
| 899 core.int buildCounterResourceWarnings = 0; | 947 core.int buildCounterResourceWarnings = 0; |
| 900 buildResourceWarnings() { | 948 buildResourceWarnings() { |
| 901 var o = new api.ResourceWarnings(); | 949 var o = new api.ResourceWarnings(); |
| 902 buildCounterResourceWarnings++; | 950 buildCounterResourceWarnings++; |
| 903 if (buildCounterResourceWarnings < 3) { | 951 if (buildCounterResourceWarnings < 3) { |
| 904 o.code = "foo"; | 952 o.code = "foo"; |
| 905 o.data = buildUnnamed2073(); | 953 o.data = buildUnnamed2159(); |
| 906 o.message = "foo"; | 954 o.message = "foo"; |
| 907 } | 955 } |
| 908 buildCounterResourceWarnings--; | 956 buildCounterResourceWarnings--; |
| 909 return o; | 957 return o; |
| 910 } | 958 } |
| 911 | 959 |
| 912 checkResourceWarnings(api.ResourceWarnings o) { | 960 checkResourceWarnings(api.ResourceWarnings o) { |
| 913 buildCounterResourceWarnings++; | 961 buildCounterResourceWarnings++; |
| 914 if (buildCounterResourceWarnings < 3) { | 962 if (buildCounterResourceWarnings < 3) { |
| 915 unittest.expect(o.code, unittest.equals('foo')); | 963 unittest.expect(o.code, unittest.equals('foo')); |
| 916 checkUnnamed2073(o.data); | 964 checkUnnamed2159(o.data); |
| 917 unittest.expect(o.message, unittest.equals('foo')); | 965 unittest.expect(o.message, unittest.equals('foo')); |
| 918 } | 966 } |
| 919 buildCounterResourceWarnings--; | 967 buildCounterResourceWarnings--; |
| 920 } | 968 } |
| 921 | 969 |
| 922 buildUnnamed2074() { | 970 buildUnnamed2160() { |
| 923 var o = new core.List<api.ResourceWarnings>(); | 971 var o = new core.List<api.ResourceWarnings>(); |
| 924 o.add(buildResourceWarnings()); | 972 o.add(buildResourceWarnings()); |
| 925 o.add(buildResourceWarnings()); | 973 o.add(buildResourceWarnings()); |
| 926 return o; | 974 return o; |
| 927 } | 975 } |
| 928 | 976 |
| 929 checkUnnamed2074(core.List<api.ResourceWarnings> o) { | 977 checkUnnamed2160(core.List<api.ResourceWarnings> o) { |
| 930 unittest.expect(o, unittest.hasLength(2)); | 978 unittest.expect(o, unittest.hasLength(2)); |
| 931 checkResourceWarnings(o[0]); | 979 checkResourceWarnings(o[0]); |
| 932 checkResourceWarnings(o[1]); | 980 checkResourceWarnings(o[1]); |
| 933 } | 981 } |
| 934 | 982 |
| 935 core.int buildCounterResource = 0; | 983 core.int buildCounterResource = 0; |
| 936 buildResource() { | 984 buildResource() { |
| 937 var o = new api.Resource(); | 985 var o = new api.Resource(); |
| 938 buildCounterResource++; | 986 buildCounterResource++; |
| 939 if (buildCounterResource < 3) { | 987 if (buildCounterResource < 3) { |
| 940 o.accessControl = buildResourceAccessControl(); | 988 o.accessControl = buildResourceAccessControl(); |
| 941 o.finalProperties = "foo"; | 989 o.finalProperties = "foo"; |
| 942 o.id = "foo"; | 990 o.id = "foo"; |
| 943 o.insertTime = "foo"; | 991 o.insertTime = "foo"; |
| 944 o.manifest = "foo"; | 992 o.manifest = "foo"; |
| 945 o.name = "foo"; | 993 o.name = "foo"; |
| 946 o.properties = "foo"; | 994 o.properties = "foo"; |
| 947 o.type = "foo"; | 995 o.type = "foo"; |
| 948 o.update = buildResourceUpdate(); | 996 o.update = buildResourceUpdate(); |
| 949 o.updateTime = "foo"; | 997 o.updateTime = "foo"; |
| 950 o.url = "foo"; | 998 o.url = "foo"; |
| 951 o.warnings = buildUnnamed2074(); | 999 o.warnings = buildUnnamed2160(); |
| 952 } | 1000 } |
| 953 buildCounterResource--; | 1001 buildCounterResource--; |
| 954 return o; | 1002 return o; |
| 955 } | 1003 } |
| 956 | 1004 |
| 957 checkResource(api.Resource o) { | 1005 checkResource(api.Resource o) { |
| 958 buildCounterResource++; | 1006 buildCounterResource++; |
| 959 if (buildCounterResource < 3) { | 1007 if (buildCounterResource < 3) { |
| 960 checkResourceAccessControl(o.accessControl); | 1008 checkResourceAccessControl(o.accessControl); |
| 961 unittest.expect(o.finalProperties, unittest.equals('foo')); | 1009 unittest.expect(o.finalProperties, unittest.equals('foo')); |
| 962 unittest.expect(o.id, unittest.equals('foo')); | 1010 unittest.expect(o.id, unittest.equals('foo')); |
| 963 unittest.expect(o.insertTime, unittest.equals('foo')); | 1011 unittest.expect(o.insertTime, unittest.equals('foo')); |
| 964 unittest.expect(o.manifest, unittest.equals('foo')); | 1012 unittest.expect(o.manifest, unittest.equals('foo')); |
| 965 unittest.expect(o.name, unittest.equals('foo')); | 1013 unittest.expect(o.name, unittest.equals('foo')); |
| 966 unittest.expect(o.properties, unittest.equals('foo')); | 1014 unittest.expect(o.properties, unittest.equals('foo')); |
| 967 unittest.expect(o.type, unittest.equals('foo')); | 1015 unittest.expect(o.type, unittest.equals('foo')); |
| 968 checkResourceUpdate(o.update); | 1016 checkResourceUpdate(o.update); |
| 969 unittest.expect(o.updateTime, unittest.equals('foo')); | 1017 unittest.expect(o.updateTime, unittest.equals('foo')); |
| 970 unittest.expect(o.url, unittest.equals('foo')); | 1018 unittest.expect(o.url, unittest.equals('foo')); |
| 971 checkUnnamed2074(o.warnings); | 1019 checkUnnamed2160(o.warnings); |
| 972 } | 1020 } |
| 973 buildCounterResource--; | 1021 buildCounterResource--; |
| 974 } | 1022 } |
| 975 | 1023 |
| 976 core.int buildCounterResourceAccessControl = 0; | 1024 core.int buildCounterResourceAccessControl = 0; |
| 977 buildResourceAccessControl() { | 1025 buildResourceAccessControl() { |
| 978 var o = new api.ResourceAccessControl(); | 1026 var o = new api.ResourceAccessControl(); |
| 979 buildCounterResourceAccessControl++; | 1027 buildCounterResourceAccessControl++; |
| 980 if (buildCounterResourceAccessControl < 3) { | 1028 if (buildCounterResourceAccessControl < 3) { |
| 981 o.gcpIamPolicy = "foo"; | 1029 o.gcpIamPolicy = "foo"; |
| (...skipping 26 matching lines...) Expand all Loading... |
| 1008 checkResourceUpdateErrorErrors(api.ResourceUpdateErrorErrors o) { | 1056 checkResourceUpdateErrorErrors(api.ResourceUpdateErrorErrors o) { |
| 1009 buildCounterResourceUpdateErrorErrors++; | 1057 buildCounterResourceUpdateErrorErrors++; |
| 1010 if (buildCounterResourceUpdateErrorErrors < 3) { | 1058 if (buildCounterResourceUpdateErrorErrors < 3) { |
| 1011 unittest.expect(o.code, unittest.equals('foo')); | 1059 unittest.expect(o.code, unittest.equals('foo')); |
| 1012 unittest.expect(o.location, unittest.equals('foo')); | 1060 unittest.expect(o.location, unittest.equals('foo')); |
| 1013 unittest.expect(o.message, unittest.equals('foo')); | 1061 unittest.expect(o.message, unittest.equals('foo')); |
| 1014 } | 1062 } |
| 1015 buildCounterResourceUpdateErrorErrors--; | 1063 buildCounterResourceUpdateErrorErrors--; |
| 1016 } | 1064 } |
| 1017 | 1065 |
| 1018 buildUnnamed2075() { | 1066 buildUnnamed2161() { |
| 1019 var o = new core.List<api.ResourceUpdateErrorErrors>(); | 1067 var o = new core.List<api.ResourceUpdateErrorErrors>(); |
| 1020 o.add(buildResourceUpdateErrorErrors()); | 1068 o.add(buildResourceUpdateErrorErrors()); |
| 1021 o.add(buildResourceUpdateErrorErrors()); | 1069 o.add(buildResourceUpdateErrorErrors()); |
| 1022 return o; | 1070 return o; |
| 1023 } | 1071 } |
| 1024 | 1072 |
| 1025 checkUnnamed2075(core.List<api.ResourceUpdateErrorErrors> o) { | 1073 checkUnnamed2161(core.List<api.ResourceUpdateErrorErrors> o) { |
| 1026 unittest.expect(o, unittest.hasLength(2)); | 1074 unittest.expect(o, unittest.hasLength(2)); |
| 1027 checkResourceUpdateErrorErrors(o[0]); | 1075 checkResourceUpdateErrorErrors(o[0]); |
| 1028 checkResourceUpdateErrorErrors(o[1]); | 1076 checkResourceUpdateErrorErrors(o[1]); |
| 1029 } | 1077 } |
| 1030 | 1078 |
| 1031 core.int buildCounterResourceUpdateError = 0; | 1079 core.int buildCounterResourceUpdateError = 0; |
| 1032 buildResourceUpdateError() { | 1080 buildResourceUpdateError() { |
| 1033 var o = new api.ResourceUpdateError(); | 1081 var o = new api.ResourceUpdateError(); |
| 1034 buildCounterResourceUpdateError++; | 1082 buildCounterResourceUpdateError++; |
| 1035 if (buildCounterResourceUpdateError < 3) { | 1083 if (buildCounterResourceUpdateError < 3) { |
| 1036 o.errors = buildUnnamed2075(); | 1084 o.errors = buildUnnamed2161(); |
| 1037 } | 1085 } |
| 1038 buildCounterResourceUpdateError--; | 1086 buildCounterResourceUpdateError--; |
| 1039 return o; | 1087 return o; |
| 1040 } | 1088 } |
| 1041 | 1089 |
| 1042 checkResourceUpdateError(api.ResourceUpdateError o) { | 1090 checkResourceUpdateError(api.ResourceUpdateError o) { |
| 1043 buildCounterResourceUpdateError++; | 1091 buildCounterResourceUpdateError++; |
| 1044 if (buildCounterResourceUpdateError < 3) { | 1092 if (buildCounterResourceUpdateError < 3) { |
| 1045 checkUnnamed2075(o.errors); | 1093 checkUnnamed2161(o.errors); |
| 1046 } | 1094 } |
| 1047 buildCounterResourceUpdateError--; | 1095 buildCounterResourceUpdateError--; |
| 1048 } | 1096 } |
| 1049 | 1097 |
| 1050 core.int buildCounterResourceUpdateWarningsData = 0; | 1098 core.int buildCounterResourceUpdateWarningsData = 0; |
| 1051 buildResourceUpdateWarningsData() { | 1099 buildResourceUpdateWarningsData() { |
| 1052 var o = new api.ResourceUpdateWarningsData(); | 1100 var o = new api.ResourceUpdateWarningsData(); |
| 1053 buildCounterResourceUpdateWarningsData++; | 1101 buildCounterResourceUpdateWarningsData++; |
| 1054 if (buildCounterResourceUpdateWarningsData < 3) { | 1102 if (buildCounterResourceUpdateWarningsData < 3) { |
| 1055 o.key = "foo"; | 1103 o.key = "foo"; |
| 1056 o.value = "foo"; | 1104 o.value = "foo"; |
| 1057 } | 1105 } |
| 1058 buildCounterResourceUpdateWarningsData--; | 1106 buildCounterResourceUpdateWarningsData--; |
| 1059 return o; | 1107 return o; |
| 1060 } | 1108 } |
| 1061 | 1109 |
| 1062 checkResourceUpdateWarningsData(api.ResourceUpdateWarningsData o) { | 1110 checkResourceUpdateWarningsData(api.ResourceUpdateWarningsData o) { |
| 1063 buildCounterResourceUpdateWarningsData++; | 1111 buildCounterResourceUpdateWarningsData++; |
| 1064 if (buildCounterResourceUpdateWarningsData < 3) { | 1112 if (buildCounterResourceUpdateWarningsData < 3) { |
| 1065 unittest.expect(o.key, unittest.equals('foo')); | 1113 unittest.expect(o.key, unittest.equals('foo')); |
| 1066 unittest.expect(o.value, unittest.equals('foo')); | 1114 unittest.expect(o.value, unittest.equals('foo')); |
| 1067 } | 1115 } |
| 1068 buildCounterResourceUpdateWarningsData--; | 1116 buildCounterResourceUpdateWarningsData--; |
| 1069 } | 1117 } |
| 1070 | 1118 |
| 1071 buildUnnamed2076() { | 1119 buildUnnamed2162() { |
| 1072 var o = new core.List<api.ResourceUpdateWarningsData>(); | 1120 var o = new core.List<api.ResourceUpdateWarningsData>(); |
| 1073 o.add(buildResourceUpdateWarningsData()); | 1121 o.add(buildResourceUpdateWarningsData()); |
| 1074 o.add(buildResourceUpdateWarningsData()); | 1122 o.add(buildResourceUpdateWarningsData()); |
| 1075 return o; | 1123 return o; |
| 1076 } | 1124 } |
| 1077 | 1125 |
| 1078 checkUnnamed2076(core.List<api.ResourceUpdateWarningsData> o) { | 1126 checkUnnamed2162(core.List<api.ResourceUpdateWarningsData> o) { |
| 1079 unittest.expect(o, unittest.hasLength(2)); | 1127 unittest.expect(o, unittest.hasLength(2)); |
| 1080 checkResourceUpdateWarningsData(o[0]); | 1128 checkResourceUpdateWarningsData(o[0]); |
| 1081 checkResourceUpdateWarningsData(o[1]); | 1129 checkResourceUpdateWarningsData(o[1]); |
| 1082 } | 1130 } |
| 1083 | 1131 |
| 1084 core.int buildCounterResourceUpdateWarnings = 0; | 1132 core.int buildCounterResourceUpdateWarnings = 0; |
| 1085 buildResourceUpdateWarnings() { | 1133 buildResourceUpdateWarnings() { |
| 1086 var o = new api.ResourceUpdateWarnings(); | 1134 var o = new api.ResourceUpdateWarnings(); |
| 1087 buildCounterResourceUpdateWarnings++; | 1135 buildCounterResourceUpdateWarnings++; |
| 1088 if (buildCounterResourceUpdateWarnings < 3) { | 1136 if (buildCounterResourceUpdateWarnings < 3) { |
| 1089 o.code = "foo"; | 1137 o.code = "foo"; |
| 1090 o.data = buildUnnamed2076(); | 1138 o.data = buildUnnamed2162(); |
| 1091 o.message = "foo"; | 1139 o.message = "foo"; |
| 1092 } | 1140 } |
| 1093 buildCounterResourceUpdateWarnings--; | 1141 buildCounterResourceUpdateWarnings--; |
| 1094 return o; | 1142 return o; |
| 1095 } | 1143 } |
| 1096 | 1144 |
| 1097 checkResourceUpdateWarnings(api.ResourceUpdateWarnings o) { | 1145 checkResourceUpdateWarnings(api.ResourceUpdateWarnings o) { |
| 1098 buildCounterResourceUpdateWarnings++; | 1146 buildCounterResourceUpdateWarnings++; |
| 1099 if (buildCounterResourceUpdateWarnings < 3) { | 1147 if (buildCounterResourceUpdateWarnings < 3) { |
| 1100 unittest.expect(o.code, unittest.equals('foo')); | 1148 unittest.expect(o.code, unittest.equals('foo')); |
| 1101 checkUnnamed2076(o.data); | 1149 checkUnnamed2162(o.data); |
| 1102 unittest.expect(o.message, unittest.equals('foo')); | 1150 unittest.expect(o.message, unittest.equals('foo')); |
| 1103 } | 1151 } |
| 1104 buildCounterResourceUpdateWarnings--; | 1152 buildCounterResourceUpdateWarnings--; |
| 1105 } | 1153 } |
| 1106 | 1154 |
| 1107 buildUnnamed2077() { | 1155 buildUnnamed2163() { |
| 1108 var o = new core.List<api.ResourceUpdateWarnings>(); | 1156 var o = new core.List<api.ResourceUpdateWarnings>(); |
| 1109 o.add(buildResourceUpdateWarnings()); | 1157 o.add(buildResourceUpdateWarnings()); |
| 1110 o.add(buildResourceUpdateWarnings()); | 1158 o.add(buildResourceUpdateWarnings()); |
| 1111 return o; | 1159 return o; |
| 1112 } | 1160 } |
| 1113 | 1161 |
| 1114 checkUnnamed2077(core.List<api.ResourceUpdateWarnings> o) { | 1162 checkUnnamed2163(core.List<api.ResourceUpdateWarnings> o) { |
| 1115 unittest.expect(o, unittest.hasLength(2)); | 1163 unittest.expect(o, unittest.hasLength(2)); |
| 1116 checkResourceUpdateWarnings(o[0]); | 1164 checkResourceUpdateWarnings(o[0]); |
| 1117 checkResourceUpdateWarnings(o[1]); | 1165 checkResourceUpdateWarnings(o[1]); |
| 1118 } | 1166 } |
| 1119 | 1167 |
| 1120 core.int buildCounterResourceUpdate = 0; | 1168 core.int buildCounterResourceUpdate = 0; |
| 1121 buildResourceUpdate() { | 1169 buildResourceUpdate() { |
| 1122 var o = new api.ResourceUpdate(); | 1170 var o = new api.ResourceUpdate(); |
| 1123 buildCounterResourceUpdate++; | 1171 buildCounterResourceUpdate++; |
| 1124 if (buildCounterResourceUpdate < 3) { | 1172 if (buildCounterResourceUpdate < 3) { |
| 1125 o.accessControl = buildResourceAccessControl(); | 1173 o.accessControl = buildResourceAccessControl(); |
| 1126 o.error = buildResourceUpdateError(); | 1174 o.error = buildResourceUpdateError(); |
| 1127 o.finalProperties = "foo"; | 1175 o.finalProperties = "foo"; |
| 1128 o.intent = "foo"; | 1176 o.intent = "foo"; |
| 1129 o.manifest = "foo"; | 1177 o.manifest = "foo"; |
| 1130 o.properties = "foo"; | 1178 o.properties = "foo"; |
| 1131 o.state = "foo"; | 1179 o.state = "foo"; |
| 1132 o.warnings = buildUnnamed2077(); | 1180 o.warnings = buildUnnamed2163(); |
| 1133 } | 1181 } |
| 1134 buildCounterResourceUpdate--; | 1182 buildCounterResourceUpdate--; |
| 1135 return o; | 1183 return o; |
| 1136 } | 1184 } |
| 1137 | 1185 |
| 1138 checkResourceUpdate(api.ResourceUpdate o) { | 1186 checkResourceUpdate(api.ResourceUpdate o) { |
| 1139 buildCounterResourceUpdate++; | 1187 buildCounterResourceUpdate++; |
| 1140 if (buildCounterResourceUpdate < 3) { | 1188 if (buildCounterResourceUpdate < 3) { |
| 1141 checkResourceAccessControl(o.accessControl); | 1189 checkResourceAccessControl(o.accessControl); |
| 1142 checkResourceUpdateError(o.error); | 1190 checkResourceUpdateError(o.error); |
| 1143 unittest.expect(o.finalProperties, unittest.equals('foo')); | 1191 unittest.expect(o.finalProperties, unittest.equals('foo')); |
| 1144 unittest.expect(o.intent, unittest.equals('foo')); | 1192 unittest.expect(o.intent, unittest.equals('foo')); |
| 1145 unittest.expect(o.manifest, unittest.equals('foo')); | 1193 unittest.expect(o.manifest, unittest.equals('foo')); |
| 1146 unittest.expect(o.properties, unittest.equals('foo')); | 1194 unittest.expect(o.properties, unittest.equals('foo')); |
| 1147 unittest.expect(o.state, unittest.equals('foo')); | 1195 unittest.expect(o.state, unittest.equals('foo')); |
| 1148 checkUnnamed2077(o.warnings); | 1196 checkUnnamed2163(o.warnings); |
| 1149 } | 1197 } |
| 1150 buildCounterResourceUpdate--; | 1198 buildCounterResourceUpdate--; |
| 1151 } | 1199 } |
| 1152 | 1200 |
| 1153 buildUnnamed2078() { | 1201 buildUnnamed2164() { |
| 1154 var o = new core.List<api.Resource>(); | 1202 var o = new core.List<api.Resource>(); |
| 1155 o.add(buildResource()); | 1203 o.add(buildResource()); |
| 1156 o.add(buildResource()); | 1204 o.add(buildResource()); |
| 1157 return o; | 1205 return o; |
| 1158 } | 1206 } |
| 1159 | 1207 |
| 1160 checkUnnamed2078(core.List<api.Resource> o) { | 1208 checkUnnamed2164(core.List<api.Resource> o) { |
| 1161 unittest.expect(o, unittest.hasLength(2)); | 1209 unittest.expect(o, unittest.hasLength(2)); |
| 1162 checkResource(o[0]); | 1210 checkResource(o[0]); |
| 1163 checkResource(o[1]); | 1211 checkResource(o[1]); |
| 1164 } | 1212 } |
| 1165 | 1213 |
| 1166 core.int buildCounterResourcesListResponse = 0; | 1214 core.int buildCounterResourcesListResponse = 0; |
| 1167 buildResourcesListResponse() { | 1215 buildResourcesListResponse() { |
| 1168 var o = new api.ResourcesListResponse(); | 1216 var o = new api.ResourcesListResponse(); |
| 1169 buildCounterResourcesListResponse++; | 1217 buildCounterResourcesListResponse++; |
| 1170 if (buildCounterResourcesListResponse < 3) { | 1218 if (buildCounterResourcesListResponse < 3) { |
| 1171 o.nextPageToken = "foo"; | 1219 o.nextPageToken = "foo"; |
| 1172 o.resources = buildUnnamed2078(); | 1220 o.resources = buildUnnamed2164(); |
| 1173 } | 1221 } |
| 1174 buildCounterResourcesListResponse--; | 1222 buildCounterResourcesListResponse--; |
| 1175 return o; | 1223 return o; |
| 1176 } | 1224 } |
| 1177 | 1225 |
| 1178 checkResourcesListResponse(api.ResourcesListResponse o) { | 1226 checkResourcesListResponse(api.ResourcesListResponse o) { |
| 1179 buildCounterResourcesListResponse++; | 1227 buildCounterResourcesListResponse++; |
| 1180 if (buildCounterResourcesListResponse < 3) { | 1228 if (buildCounterResourcesListResponse < 3) { |
| 1181 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1229 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1182 checkUnnamed2078(o.resources); | 1230 checkUnnamed2164(o.resources); |
| 1183 } | 1231 } |
| 1184 buildCounterResourcesListResponse--; | 1232 buildCounterResourcesListResponse--; |
| 1185 } | 1233 } |
| 1186 | 1234 |
| 1187 buildUnnamed2079() { | 1235 buildUnnamed2165() { |
| 1188 var o = new core.List<api.Condition>(); | 1236 var o = new core.List<api.Condition>(); |
| 1189 o.add(buildCondition()); | 1237 o.add(buildCondition()); |
| 1190 o.add(buildCondition()); | 1238 o.add(buildCondition()); |
| 1191 return o; | 1239 return o; |
| 1192 } | 1240 } |
| 1193 | 1241 |
| 1194 checkUnnamed2079(core.List<api.Condition> o) { | 1242 checkUnnamed2165(core.List<api.Condition> o) { |
| 1195 unittest.expect(o, unittest.hasLength(2)); | 1243 unittest.expect(o, unittest.hasLength(2)); |
| 1196 checkCondition(o[0]); | 1244 checkCondition(o[0]); |
| 1197 checkCondition(o[1]); | 1245 checkCondition(o[1]); |
| 1198 } | 1246 } |
| 1199 | 1247 |
| 1200 buildUnnamed2080() { | 1248 buildUnnamed2166() { |
| 1201 var o = new core.List<core.String>(); | 1249 var o = new core.List<core.String>(); |
| 1202 o.add("foo"); | 1250 o.add("foo"); |
| 1203 o.add("foo"); | 1251 o.add("foo"); |
| 1204 return o; | 1252 return o; |
| 1205 } | 1253 } |
| 1206 | 1254 |
| 1207 checkUnnamed2080(core.List<core.String> o) { | 1255 checkUnnamed2166(core.List<core.String> o) { |
| 1208 unittest.expect(o, unittest.hasLength(2)); | 1256 unittest.expect(o, unittest.hasLength(2)); |
| 1209 unittest.expect(o[0], unittest.equals('foo')); | 1257 unittest.expect(o[0], unittest.equals('foo')); |
| 1210 unittest.expect(o[1], unittest.equals('foo')); | 1258 unittest.expect(o[1], unittest.equals('foo')); |
| 1211 } | 1259 } |
| 1212 | 1260 |
| 1213 buildUnnamed2081() { | 1261 buildUnnamed2167() { |
| 1214 var o = new core.List<api.LogConfig>(); | 1262 var o = new core.List<api.LogConfig>(); |
| 1215 o.add(buildLogConfig()); | 1263 o.add(buildLogConfig()); |
| 1216 o.add(buildLogConfig()); | 1264 o.add(buildLogConfig()); |
| 1217 return o; | 1265 return o; |
| 1218 } | 1266 } |
| 1219 | 1267 |
| 1220 checkUnnamed2081(core.List<api.LogConfig> o) { | 1268 checkUnnamed2167(core.List<api.LogConfig> o) { |
| 1221 unittest.expect(o, unittest.hasLength(2)); | 1269 unittest.expect(o, unittest.hasLength(2)); |
| 1222 checkLogConfig(o[0]); | 1270 checkLogConfig(o[0]); |
| 1223 checkLogConfig(o[1]); | 1271 checkLogConfig(o[1]); |
| 1224 } | 1272 } |
| 1225 | 1273 |
| 1226 buildUnnamed2082() { | 1274 buildUnnamed2168() { |
| 1227 var o = new core.List<core.String>(); | 1275 var o = new core.List<core.String>(); |
| 1228 o.add("foo"); | 1276 o.add("foo"); |
| 1229 o.add("foo"); | 1277 o.add("foo"); |
| 1230 return o; | 1278 return o; |
| 1231 } | 1279 } |
| 1232 | 1280 |
| 1233 checkUnnamed2082(core.List<core.String> o) { | 1281 checkUnnamed2168(core.List<core.String> o) { |
| 1234 unittest.expect(o, unittest.hasLength(2)); | 1282 unittest.expect(o, unittest.hasLength(2)); |
| 1235 unittest.expect(o[0], unittest.equals('foo')); | 1283 unittest.expect(o[0], unittest.equals('foo')); |
| 1236 unittest.expect(o[1], unittest.equals('foo')); | 1284 unittest.expect(o[1], unittest.equals('foo')); |
| 1237 } | 1285 } |
| 1238 | 1286 |
| 1239 buildUnnamed2083() { | 1287 buildUnnamed2169() { |
| 1240 var o = new core.List<core.String>(); | 1288 var o = new core.List<core.String>(); |
| 1241 o.add("foo"); | 1289 o.add("foo"); |
| 1242 o.add("foo"); | 1290 o.add("foo"); |
| 1243 return o; | 1291 return o; |
| 1244 } | 1292 } |
| 1245 | 1293 |
| 1246 checkUnnamed2083(core.List<core.String> o) { | 1294 checkUnnamed2169(core.List<core.String> o) { |
| 1247 unittest.expect(o, unittest.hasLength(2)); | 1295 unittest.expect(o, unittest.hasLength(2)); |
| 1248 unittest.expect(o[0], unittest.equals('foo')); | 1296 unittest.expect(o[0], unittest.equals('foo')); |
| 1249 unittest.expect(o[1], unittest.equals('foo')); | 1297 unittest.expect(o[1], unittest.equals('foo')); |
| 1250 } | 1298 } |
| 1251 | 1299 |
| 1252 core.int buildCounterRule = 0; | 1300 core.int buildCounterRule = 0; |
| 1253 buildRule() { | 1301 buildRule() { |
| 1254 var o = new api.Rule(); | 1302 var o = new api.Rule(); |
| 1255 buildCounterRule++; | 1303 buildCounterRule++; |
| 1256 if (buildCounterRule < 3) { | 1304 if (buildCounterRule < 3) { |
| 1257 o.action = "foo"; | 1305 o.action = "foo"; |
| 1258 o.conditions = buildUnnamed2079(); | 1306 o.conditions = buildUnnamed2165(); |
| 1259 o.description = "foo"; | 1307 o.description = "foo"; |
| 1260 o.ins = buildUnnamed2080(); | 1308 o.ins = buildUnnamed2166(); |
| 1261 o.logConfigs = buildUnnamed2081(); | 1309 o.logConfigs = buildUnnamed2167(); |
| 1262 o.notIns = buildUnnamed2082(); | 1310 o.notIns = buildUnnamed2168(); |
| 1263 o.permissions = buildUnnamed2083(); | 1311 o.permissions = buildUnnamed2169(); |
| 1264 } | 1312 } |
| 1265 buildCounterRule--; | 1313 buildCounterRule--; |
| 1266 return o; | 1314 return o; |
| 1267 } | 1315 } |
| 1268 | 1316 |
| 1269 checkRule(api.Rule o) { | 1317 checkRule(api.Rule o) { |
| 1270 buildCounterRule++; | 1318 buildCounterRule++; |
| 1271 if (buildCounterRule < 3) { | 1319 if (buildCounterRule < 3) { |
| 1272 unittest.expect(o.action, unittest.equals('foo')); | 1320 unittest.expect(o.action, unittest.equals('foo')); |
| 1273 checkUnnamed2079(o.conditions); | 1321 checkUnnamed2165(o.conditions); |
| 1274 unittest.expect(o.description, unittest.equals('foo')); | 1322 unittest.expect(o.description, unittest.equals('foo')); |
| 1275 checkUnnamed2080(o.ins); | 1323 checkUnnamed2166(o.ins); |
| 1276 checkUnnamed2081(o.logConfigs); | 1324 checkUnnamed2167(o.logConfigs); |
| 1277 checkUnnamed2082(o.notIns); | 1325 checkUnnamed2168(o.notIns); |
| 1278 checkUnnamed2083(o.permissions); | 1326 checkUnnamed2169(o.permissions); |
| 1279 } | 1327 } |
| 1280 buildCounterRule--; | 1328 buildCounterRule--; |
| 1281 } | 1329 } |
| 1282 | 1330 |
| 1283 buildUnnamed2084() { | 1331 buildUnnamed2170() { |
| 1284 var o = new core.List<api.ImportFile>(); | 1332 var o = new core.List<api.ImportFile>(); |
| 1285 o.add(buildImportFile()); | 1333 o.add(buildImportFile()); |
| 1286 o.add(buildImportFile()); | 1334 o.add(buildImportFile()); |
| 1287 return o; | 1335 return o; |
| 1288 } | 1336 } |
| 1289 | 1337 |
| 1290 checkUnnamed2084(core.List<api.ImportFile> o) { | 1338 checkUnnamed2170(core.List<api.ImportFile> o) { |
| 1291 unittest.expect(o, unittest.hasLength(2)); | 1339 unittest.expect(o, unittest.hasLength(2)); |
| 1292 checkImportFile(o[0]); | 1340 checkImportFile(o[0]); |
| 1293 checkImportFile(o[1]); | 1341 checkImportFile(o[1]); |
| 1294 } | 1342 } |
| 1295 | 1343 |
| 1296 core.int buildCounterTargetConfiguration = 0; | 1344 core.int buildCounterTargetConfiguration = 0; |
| 1297 buildTargetConfiguration() { | 1345 buildTargetConfiguration() { |
| 1298 var o = new api.TargetConfiguration(); | 1346 var o = new api.TargetConfiguration(); |
| 1299 buildCounterTargetConfiguration++; | 1347 buildCounterTargetConfiguration++; |
| 1300 if (buildCounterTargetConfiguration < 3) { | 1348 if (buildCounterTargetConfiguration < 3) { |
| 1301 o.config = buildConfigFile(); | 1349 o.config = buildConfigFile(); |
| 1302 o.imports = buildUnnamed2084(); | 1350 o.imports = buildUnnamed2170(); |
| 1303 } | 1351 } |
| 1304 buildCounterTargetConfiguration--; | 1352 buildCounterTargetConfiguration--; |
| 1305 return o; | 1353 return o; |
| 1306 } | 1354 } |
| 1307 | 1355 |
| 1308 checkTargetConfiguration(api.TargetConfiguration o) { | 1356 checkTargetConfiguration(api.TargetConfiguration o) { |
| 1309 buildCounterTargetConfiguration++; | 1357 buildCounterTargetConfiguration++; |
| 1310 if (buildCounterTargetConfiguration < 3) { | 1358 if (buildCounterTargetConfiguration < 3) { |
| 1311 checkConfigFile(o.config); | 1359 checkConfigFile(o.config); |
| 1312 checkUnnamed2084(o.imports); | 1360 checkUnnamed2170(o.imports); |
| 1313 } | 1361 } |
| 1314 buildCounterTargetConfiguration--; | 1362 buildCounterTargetConfiguration--; |
| 1315 } | 1363 } |
| 1316 | 1364 |
| 1317 buildUnnamed2085() { | 1365 buildUnnamed2171() { |
| 1318 var o = new core.List<core.String>(); | 1366 var o = new core.List<core.String>(); |
| 1319 o.add("foo"); | 1367 o.add("foo"); |
| 1320 o.add("foo"); | 1368 o.add("foo"); |
| 1321 return o; | 1369 return o; |
| 1322 } | 1370 } |
| 1323 | 1371 |
| 1324 checkUnnamed2085(core.List<core.String> o) { | 1372 checkUnnamed2171(core.List<core.String> o) { |
| 1325 unittest.expect(o, unittest.hasLength(2)); | 1373 unittest.expect(o, unittest.hasLength(2)); |
| 1326 unittest.expect(o[0], unittest.equals('foo')); | 1374 unittest.expect(o[0], unittest.equals('foo')); |
| 1327 unittest.expect(o[1], unittest.equals('foo')); | 1375 unittest.expect(o[1], unittest.equals('foo')); |
| 1328 } | 1376 } |
| 1329 | 1377 |
| 1330 core.int buildCounterTestPermissionsRequest = 0; | 1378 core.int buildCounterTestPermissionsRequest = 0; |
| 1331 buildTestPermissionsRequest() { | 1379 buildTestPermissionsRequest() { |
| 1332 var o = new api.TestPermissionsRequest(); | 1380 var o = new api.TestPermissionsRequest(); |
| 1333 buildCounterTestPermissionsRequest++; | 1381 buildCounterTestPermissionsRequest++; |
| 1334 if (buildCounterTestPermissionsRequest < 3) { | 1382 if (buildCounterTestPermissionsRequest < 3) { |
| 1335 o.permissions = buildUnnamed2085(); | 1383 o.permissions = buildUnnamed2171(); |
| 1336 } | 1384 } |
| 1337 buildCounterTestPermissionsRequest--; | 1385 buildCounterTestPermissionsRequest--; |
| 1338 return o; | 1386 return o; |
| 1339 } | 1387 } |
| 1340 | 1388 |
| 1341 checkTestPermissionsRequest(api.TestPermissionsRequest o) { | 1389 checkTestPermissionsRequest(api.TestPermissionsRequest o) { |
| 1342 buildCounterTestPermissionsRequest++; | 1390 buildCounterTestPermissionsRequest++; |
| 1343 if (buildCounterTestPermissionsRequest < 3) { | 1391 if (buildCounterTestPermissionsRequest < 3) { |
| 1344 checkUnnamed2085(o.permissions); | 1392 checkUnnamed2171(o.permissions); |
| 1345 } | 1393 } |
| 1346 buildCounterTestPermissionsRequest--; | 1394 buildCounterTestPermissionsRequest--; |
| 1347 } | 1395 } |
| 1348 | 1396 |
| 1349 buildUnnamed2086() { | 1397 buildUnnamed2172() { |
| 1350 var o = new core.List<core.String>(); | 1398 var o = new core.List<core.String>(); |
| 1351 o.add("foo"); | 1399 o.add("foo"); |
| 1352 o.add("foo"); | 1400 o.add("foo"); |
| 1353 return o; | 1401 return o; |
| 1354 } | 1402 } |
| 1355 | 1403 |
| 1356 checkUnnamed2086(core.List<core.String> o) { | 1404 checkUnnamed2172(core.List<core.String> o) { |
| 1357 unittest.expect(o, unittest.hasLength(2)); | 1405 unittest.expect(o, unittest.hasLength(2)); |
| 1358 unittest.expect(o[0], unittest.equals('foo')); | 1406 unittest.expect(o[0], unittest.equals('foo')); |
| 1359 unittest.expect(o[1], unittest.equals('foo')); | 1407 unittest.expect(o[1], unittest.equals('foo')); |
| 1360 } | 1408 } |
| 1361 | 1409 |
| 1362 core.int buildCounterTestPermissionsResponse = 0; | 1410 core.int buildCounterTestPermissionsResponse = 0; |
| 1363 buildTestPermissionsResponse() { | 1411 buildTestPermissionsResponse() { |
| 1364 var o = new api.TestPermissionsResponse(); | 1412 var o = new api.TestPermissionsResponse(); |
| 1365 buildCounterTestPermissionsResponse++; | 1413 buildCounterTestPermissionsResponse++; |
| 1366 if (buildCounterTestPermissionsResponse < 3) { | 1414 if (buildCounterTestPermissionsResponse < 3) { |
| 1367 o.permissions = buildUnnamed2086(); | 1415 o.permissions = buildUnnamed2172(); |
| 1368 } | 1416 } |
| 1369 buildCounterTestPermissionsResponse--; | 1417 buildCounterTestPermissionsResponse--; |
| 1370 return o; | 1418 return o; |
| 1371 } | 1419 } |
| 1372 | 1420 |
| 1373 checkTestPermissionsResponse(api.TestPermissionsResponse o) { | 1421 checkTestPermissionsResponse(api.TestPermissionsResponse o) { |
| 1374 buildCounterTestPermissionsResponse++; | 1422 buildCounterTestPermissionsResponse++; |
| 1375 if (buildCounterTestPermissionsResponse < 3) { | 1423 if (buildCounterTestPermissionsResponse < 3) { |
| 1376 checkUnnamed2086(o.permissions); | 1424 checkUnnamed2172(o.permissions); |
| 1377 } | 1425 } |
| 1378 buildCounterTestPermissionsResponse--; | 1426 buildCounterTestPermissionsResponse--; |
| 1379 } | 1427 } |
| 1380 | 1428 |
| 1381 core.int buildCounterType = 0; | 1429 core.int buildCounterType = 0; |
| 1382 buildType() { | 1430 buildType() { |
| 1383 var o = new api.Type(); | 1431 var o = new api.Type(); |
| 1384 buildCounterType++; | 1432 buildCounterType++; |
| 1385 if (buildCounterType < 3) { | 1433 if (buildCounterType < 3) { |
| 1386 o.id = "foo"; | 1434 o.id = "foo"; |
| (...skipping 11 matching lines...) Expand all Loading... |
| 1398 if (buildCounterType < 3) { | 1446 if (buildCounterType < 3) { |
| 1399 unittest.expect(o.id, unittest.equals('foo')); | 1447 unittest.expect(o.id, unittest.equals('foo')); |
| 1400 unittest.expect(o.insertTime, unittest.equals('foo')); | 1448 unittest.expect(o.insertTime, unittest.equals('foo')); |
| 1401 unittest.expect(o.name, unittest.equals('foo')); | 1449 unittest.expect(o.name, unittest.equals('foo')); |
| 1402 checkOperation(o.operation); | 1450 checkOperation(o.operation); |
| 1403 unittest.expect(o.selfLink, unittest.equals('foo')); | 1451 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 1404 } | 1452 } |
| 1405 buildCounterType--; | 1453 buildCounterType--; |
| 1406 } | 1454 } |
| 1407 | 1455 |
| 1408 buildUnnamed2087() { | 1456 buildUnnamed2173() { |
| 1409 var o = new core.List<api.Type>(); | 1457 var o = new core.List<api.Type>(); |
| 1410 o.add(buildType()); | 1458 o.add(buildType()); |
| 1411 o.add(buildType()); | 1459 o.add(buildType()); |
| 1412 return o; | 1460 return o; |
| 1413 } | 1461 } |
| 1414 | 1462 |
| 1415 checkUnnamed2087(core.List<api.Type> o) { | 1463 checkUnnamed2173(core.List<api.Type> o) { |
| 1416 unittest.expect(o, unittest.hasLength(2)); | 1464 unittest.expect(o, unittest.hasLength(2)); |
| 1417 checkType(o[0]); | 1465 checkType(o[0]); |
| 1418 checkType(o[1]); | 1466 checkType(o[1]); |
| 1419 } | 1467 } |
| 1420 | 1468 |
| 1421 core.int buildCounterTypesListResponse = 0; | 1469 core.int buildCounterTypesListResponse = 0; |
| 1422 buildTypesListResponse() { | 1470 buildTypesListResponse() { |
| 1423 var o = new api.TypesListResponse(); | 1471 var o = new api.TypesListResponse(); |
| 1424 buildCounterTypesListResponse++; | 1472 buildCounterTypesListResponse++; |
| 1425 if (buildCounterTypesListResponse < 3) { | 1473 if (buildCounterTypesListResponse < 3) { |
| 1426 o.nextPageToken = "foo"; | 1474 o.nextPageToken = "foo"; |
| 1427 o.types = buildUnnamed2087(); | 1475 o.types = buildUnnamed2173(); |
| 1428 } | 1476 } |
| 1429 buildCounterTypesListResponse--; | 1477 buildCounterTypesListResponse--; |
| 1430 return o; | 1478 return o; |
| 1431 } | 1479 } |
| 1432 | 1480 |
| 1433 checkTypesListResponse(api.TypesListResponse o) { | 1481 checkTypesListResponse(api.TypesListResponse o) { |
| 1434 buildCounterTypesListResponse++; | 1482 buildCounterTypesListResponse++; |
| 1435 if (buildCounterTypesListResponse < 3) { | 1483 if (buildCounterTypesListResponse < 3) { |
| 1436 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1484 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1437 checkUnnamed2087(o.types); | 1485 checkUnnamed2173(o.types); |
| 1438 } | 1486 } |
| 1439 buildCounterTypesListResponse--; | 1487 buildCounterTypesListResponse--; |
| 1440 } | 1488 } |
| 1441 | 1489 |
| 1442 | 1490 |
| 1443 main() { | 1491 main() { |
| 1444 unittest.group("obj-schema-AuditConfig", () { | 1492 unittest.group("obj-schema-AuditConfig", () { |
| 1445 unittest.test("to-json--from-json", () { | 1493 unittest.test("to-json--from-json", () { |
| 1446 var o = buildAuditConfig(); | 1494 var o = buildAuditConfig(); |
| 1447 var od = new api.AuditConfig.fromJson(o.toJson()); | 1495 var od = new api.AuditConfig.fromJson(o.toJson()); |
| (...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1542 | 1590 |
| 1543 unittest.group("obj-schema-DeploymentsStopRequest", () { | 1591 unittest.group("obj-schema-DeploymentsStopRequest", () { |
| 1544 unittest.test("to-json--from-json", () { | 1592 unittest.test("to-json--from-json", () { |
| 1545 var o = buildDeploymentsStopRequest(); | 1593 var o = buildDeploymentsStopRequest(); |
| 1546 var od = new api.DeploymentsStopRequest.fromJson(o.toJson()); | 1594 var od = new api.DeploymentsStopRequest.fromJson(o.toJson()); |
| 1547 checkDeploymentsStopRequest(od); | 1595 checkDeploymentsStopRequest(od); |
| 1548 }); | 1596 }); |
| 1549 }); | 1597 }); |
| 1550 | 1598 |
| 1551 | 1599 |
| 1600 unittest.group("obj-schema-Expr", () { |
| 1601 unittest.test("to-json--from-json", () { |
| 1602 var o = buildExpr(); |
| 1603 var od = new api.Expr.fromJson(o.toJson()); |
| 1604 checkExpr(od); |
| 1605 }); |
| 1606 }); |
| 1607 |
| 1608 |
| 1552 unittest.group("obj-schema-ImportFile", () { | 1609 unittest.group("obj-schema-ImportFile", () { |
| 1553 unittest.test("to-json--from-json", () { | 1610 unittest.test("to-json--from-json", () { |
| 1554 var o = buildImportFile(); | 1611 var o = buildImportFile(); |
| 1555 var od = new api.ImportFile.fromJson(o.toJson()); | 1612 var od = new api.ImportFile.fromJson(o.toJson()); |
| 1556 checkImportFile(od); | 1613 checkImportFile(od); |
| 1557 }); | 1614 }); |
| 1558 }); | 1615 }); |
| 1559 | 1616 |
| 1560 | 1617 |
| 1561 unittest.group("obj-schema-LogConfig", () { | 1618 unittest.group("obj-schema-LogConfig", () { |
| 1562 unittest.test("to-json--from-json", () { | 1619 unittest.test("to-json--from-json", () { |
| 1563 var o = buildLogConfig(); | 1620 var o = buildLogConfig(); |
| 1564 var od = new api.LogConfig.fromJson(o.toJson()); | 1621 var od = new api.LogConfig.fromJson(o.toJson()); |
| 1565 checkLogConfig(od); | 1622 checkLogConfig(od); |
| 1566 }); | 1623 }); |
| 1567 }); | 1624 }); |
| 1568 | 1625 |
| 1569 | 1626 |
| 1627 unittest.group("obj-schema-LogConfigCloudAuditOptions", () { |
| 1628 unittest.test("to-json--from-json", () { |
| 1629 var o = buildLogConfigCloudAuditOptions(); |
| 1630 var od = new api.LogConfigCloudAuditOptions.fromJson(o.toJson()); |
| 1631 checkLogConfigCloudAuditOptions(od); |
| 1632 }); |
| 1633 }); |
| 1634 |
| 1635 |
| 1570 unittest.group("obj-schema-LogConfigCounterOptions", () { | 1636 unittest.group("obj-schema-LogConfigCounterOptions", () { |
| 1571 unittest.test("to-json--from-json", () { | 1637 unittest.test("to-json--from-json", () { |
| 1572 var o = buildLogConfigCounterOptions(); | 1638 var o = buildLogConfigCounterOptions(); |
| 1573 var od = new api.LogConfigCounterOptions.fromJson(o.toJson()); | 1639 var od = new api.LogConfigCounterOptions.fromJson(o.toJson()); |
| 1574 checkLogConfigCounterOptions(od); | 1640 checkLogConfigCounterOptions(od); |
| 1575 }); | 1641 }); |
| 1576 }); | 1642 }); |
| 1577 | 1643 |
| 1578 | 1644 |
| 1579 unittest.group("obj-schema-Manifest", () { | 1645 unittest.group("obj-schema-Manifest", () { |
| (...skipping 1092 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2672 res.list(arg_project, filter: arg_filter, maxResults: arg_maxResults, orde
rBy: arg_orderBy, pageToken: arg_pageToken).then(unittest.expectAsync1(((api.Typ
esListResponse response) { | 2738 res.list(arg_project, filter: arg_filter, maxResults: arg_maxResults, orde
rBy: arg_orderBy, pageToken: arg_pageToken).then(unittest.expectAsync1(((api.Typ
esListResponse response) { |
| 2673 checkTypesListResponse(response); | 2739 checkTypesListResponse(response); |
| 2674 }))); | 2740 }))); |
| 2675 }); | 2741 }); |
| 2676 | 2742 |
| 2677 }); | 2743 }); |
| 2678 | 2744 |
| 2679 | 2745 |
| 2680 } | 2746 } |
| 2681 | 2747 |
| OLD | NEW |