| 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:unittest/unittest.dart' as unittest; | 10 import 'package:unittest/unittest.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 headers, core.String body) { | 49 core.int status, core.Map headers, core.String body) { |
| 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 buildUnnamed1943() { | 54 buildUnnamed1940() { |
| 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 checkUnnamed1943(core.List<api.AuditLogConfig> o) { | 61 checkUnnamed1940(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 buildUnnamed1944() { | 67 buildUnnamed1941() { |
| 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 checkUnnamed1944(core.List<core.String> o) { | 74 checkUnnamed1941(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 = buildUnnamed1943(); | 85 o.auditLogConfigs = buildUnnamed1940(); |
| 86 o.exemptedMembers = buildUnnamed1944(); | 86 o.exemptedMembers = buildUnnamed1941(); |
| 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 checkUnnamed1943(o.auditLogConfigs); | 96 checkUnnamed1940(o.auditLogConfigs); |
| 97 checkUnnamed1944(o.exemptedMembers); | 97 checkUnnamed1941(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 buildUnnamed1945() { | 103 buildUnnamed1942() { |
| 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 checkUnnamed1945(core.List<core.String> o) { | 110 checkUnnamed1942(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 = buildUnnamed1945(); | 121 o.exemptedMembers = buildUnnamed1942(); |
| 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 checkUnnamed1945(o.exemptedMembers); | 131 checkUnnamed1942(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 buildUnnamed1946() { | 137 buildUnnamed1943() { |
| 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 checkUnnamed1946(core.List<core.String> o) { | 144 checkUnnamed1943(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 = buildUnnamed1946(); | 155 o.members = buildUnnamed1943(); |
| 156 o.role = "foo"; | 156 o.role = "foo"; |
| 157 } | 157 } |
| 158 buildCounterBinding--; | 158 buildCounterBinding--; |
| 159 return o; | 159 return o; |
| 160 } | 160 } |
| 161 | 161 |
| 162 checkBinding(api.Binding o) { | 162 checkBinding(api.Binding o) { |
| 163 buildCounterBinding++; | 163 buildCounterBinding++; |
| 164 if (buildCounterBinding < 3) { | 164 if (buildCounterBinding < 3) { |
| 165 checkUnnamed1946(o.members); | 165 checkUnnamed1943(o.members); |
| 166 unittest.expect(o.role, unittest.equals('foo')); | 166 unittest.expect(o.role, unittest.equals('foo')); |
| 167 } | 167 } |
| 168 buildCounterBinding--; | 168 buildCounterBinding--; |
| 169 } | 169 } |
| 170 | 170 |
| 171 buildUnnamed1947() { | 171 buildUnnamed1944() { |
| 172 var o = new core.List<core.String>(); | 172 var o = new core.List<core.String>(); |
| 173 o.add("foo"); | 173 o.add("foo"); |
| 174 o.add("foo"); | 174 o.add("foo"); |
| 175 return o; | 175 return o; |
| 176 } | 176 } |
| 177 | 177 |
| 178 checkUnnamed1947(core.List<core.String> o) { | 178 checkUnnamed1944(core.List<core.String> o) { |
| 179 unittest.expect(o, unittest.hasLength(2)); | 179 unittest.expect(o, unittest.hasLength(2)); |
| 180 unittest.expect(o[0], unittest.equals('foo')); | 180 unittest.expect(o[0], unittest.equals('foo')); |
| 181 unittest.expect(o[1], unittest.equals('foo')); | 181 unittest.expect(o[1], unittest.equals('foo')); |
| 182 } | 182 } |
| 183 | 183 |
| 184 core.int buildCounterCondition = 0; | 184 core.int buildCounterCondition = 0; |
| 185 buildCondition() { | 185 buildCondition() { |
| 186 var o = new api.Condition(); | 186 var o = new api.Condition(); |
| 187 buildCounterCondition++; | 187 buildCounterCondition++; |
| 188 if (buildCounterCondition < 3) { | 188 if (buildCounterCondition < 3) { |
| 189 o.iam = "foo"; | 189 o.iam = "foo"; |
| 190 o.op = "foo"; | 190 o.op = "foo"; |
| 191 o.svc = "foo"; | 191 o.svc = "foo"; |
| 192 o.sys = "foo"; | 192 o.sys = "foo"; |
| 193 o.value = "foo"; | 193 o.value = "foo"; |
| 194 o.values = buildUnnamed1947(); | 194 o.values = buildUnnamed1944(); |
| 195 } | 195 } |
| 196 buildCounterCondition--; | 196 buildCounterCondition--; |
| 197 return o; | 197 return o; |
| 198 } | 198 } |
| 199 | 199 |
| 200 checkCondition(api.Condition o) { | 200 checkCondition(api.Condition o) { |
| 201 buildCounterCondition++; | 201 buildCounterCondition++; |
| 202 if (buildCounterCondition < 3) { | 202 if (buildCounterCondition < 3) { |
| 203 unittest.expect(o.iam, unittest.equals('foo')); | 203 unittest.expect(o.iam, unittest.equals('foo')); |
| 204 unittest.expect(o.op, unittest.equals('foo')); | 204 unittest.expect(o.op, unittest.equals('foo')); |
| 205 unittest.expect(o.svc, unittest.equals('foo')); | 205 unittest.expect(o.svc, unittest.equals('foo')); |
| 206 unittest.expect(o.sys, unittest.equals('foo')); | 206 unittest.expect(o.sys, unittest.equals('foo')); |
| 207 unittest.expect(o.value, unittest.equals('foo')); | 207 unittest.expect(o.value, unittest.equals('foo')); |
| 208 checkUnnamed1947(o.values); | 208 checkUnnamed1944(o.values); |
| 209 } | 209 } |
| 210 buildCounterCondition--; | 210 buildCounterCondition--; |
| 211 } | 211 } |
| 212 | 212 |
| 213 core.int buildCounterConfigFile = 0; | 213 core.int buildCounterConfigFile = 0; |
| 214 buildConfigFile() { | 214 buildConfigFile() { |
| 215 var o = new api.ConfigFile(); | 215 var o = new api.ConfigFile(); |
| 216 buildCounterConfigFile++; | 216 buildCounterConfigFile++; |
| 217 if (buildCounterConfigFile < 3) { | 217 if (buildCounterConfigFile < 3) { |
| 218 o.content = "foo"; | 218 o.content = "foo"; |
| 219 } | 219 } |
| 220 buildCounterConfigFile--; | 220 buildCounterConfigFile--; |
| 221 return o; | 221 return o; |
| 222 } | 222 } |
| 223 | 223 |
| 224 checkConfigFile(api.ConfigFile o) { | 224 checkConfigFile(api.ConfigFile o) { |
| 225 buildCounterConfigFile++; | 225 buildCounterConfigFile++; |
| 226 if (buildCounterConfigFile < 3) { | 226 if (buildCounterConfigFile < 3) { |
| 227 unittest.expect(o.content, unittest.equals('foo')); | 227 unittest.expect(o.content, unittest.equals('foo')); |
| 228 } | 228 } |
| 229 buildCounterConfigFile--; | 229 buildCounterConfigFile--; |
| 230 } | 230 } |
| 231 | 231 |
| 232 buildUnnamed1948() { | 232 buildUnnamed1945() { |
| 233 var o = new core.List<api.DeploymentLabelEntry>(); | 233 var o = new core.List<api.DeploymentLabelEntry>(); |
| 234 o.add(buildDeploymentLabelEntry()); | 234 o.add(buildDeploymentLabelEntry()); |
| 235 o.add(buildDeploymentLabelEntry()); | 235 o.add(buildDeploymentLabelEntry()); |
| 236 return o; | 236 return o; |
| 237 } | 237 } |
| 238 | 238 |
| 239 checkUnnamed1948(core.List<api.DeploymentLabelEntry> o) { | 239 checkUnnamed1945(core.List<api.DeploymentLabelEntry> o) { |
| 240 unittest.expect(o, unittest.hasLength(2)); | 240 unittest.expect(o, unittest.hasLength(2)); |
| 241 checkDeploymentLabelEntry(o[0]); | 241 checkDeploymentLabelEntry(o[0]); |
| 242 checkDeploymentLabelEntry(o[1]); | 242 checkDeploymentLabelEntry(o[1]); |
| 243 } | 243 } |
| 244 | 244 |
| 245 core.int buildCounterDeployment = 0; | 245 core.int buildCounterDeployment = 0; |
| 246 buildDeployment() { | 246 buildDeployment() { |
| 247 var o = new api.Deployment(); | 247 var o = new api.Deployment(); |
| 248 buildCounterDeployment++; | 248 buildCounterDeployment++; |
| 249 if (buildCounterDeployment < 3) { | 249 if (buildCounterDeployment < 3) { |
| 250 o.description = "foo"; | 250 o.description = "foo"; |
| 251 o.fingerprint = "foo"; | 251 o.fingerprint = "foo"; |
| 252 o.id = "foo"; | 252 o.id = "foo"; |
| 253 o.insertTime = "foo"; | 253 o.insertTime = "foo"; |
| 254 o.labels = buildUnnamed1948(); | 254 o.labels = buildUnnamed1945(); |
| 255 o.manifest = "foo"; | 255 o.manifest = "foo"; |
| 256 o.name = "foo"; | 256 o.name = "foo"; |
| 257 o.operation = buildOperation(); | 257 o.operation = buildOperation(); |
| 258 o.selfLink = "foo"; | 258 o.selfLink = "foo"; |
| 259 o.target = buildTargetConfiguration(); | 259 o.target = buildTargetConfiguration(); |
| 260 o.update = buildDeploymentUpdate(); | 260 o.update = buildDeploymentUpdate(); |
| 261 } | 261 } |
| 262 buildCounterDeployment--; | 262 buildCounterDeployment--; |
| 263 return o; | 263 return o; |
| 264 } | 264 } |
| 265 | 265 |
| 266 checkDeployment(api.Deployment o) { | 266 checkDeployment(api.Deployment o) { |
| 267 buildCounterDeployment++; | 267 buildCounterDeployment++; |
| 268 if (buildCounterDeployment < 3) { | 268 if (buildCounterDeployment < 3) { |
| 269 unittest.expect(o.description, unittest.equals('foo')); | 269 unittest.expect(o.description, unittest.equals('foo')); |
| 270 unittest.expect(o.fingerprint, unittest.equals('foo')); | 270 unittest.expect(o.fingerprint, unittest.equals('foo')); |
| 271 unittest.expect(o.id, unittest.equals('foo')); | 271 unittest.expect(o.id, unittest.equals('foo')); |
| 272 unittest.expect(o.insertTime, unittest.equals('foo')); | 272 unittest.expect(o.insertTime, unittest.equals('foo')); |
| 273 checkUnnamed1948(o.labels); | 273 checkUnnamed1945(o.labels); |
| 274 unittest.expect(o.manifest, unittest.equals('foo')); | 274 unittest.expect(o.manifest, unittest.equals('foo')); |
| 275 unittest.expect(o.name, unittest.equals('foo')); | 275 unittest.expect(o.name, unittest.equals('foo')); |
| 276 checkOperation(o.operation); | 276 checkOperation(o.operation); |
| 277 unittest.expect(o.selfLink, unittest.equals('foo')); | 277 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 278 checkTargetConfiguration(o.target); | 278 checkTargetConfiguration(o.target); |
| 279 checkDeploymentUpdate(o.update); | 279 checkDeploymentUpdate(o.update); |
| 280 } | 280 } |
| 281 buildCounterDeployment--; | 281 buildCounterDeployment--; |
| 282 } | 282 } |
| 283 | 283 |
| (...skipping 11 matching lines...) Expand all Loading... |
| 295 | 295 |
| 296 checkDeploymentLabelEntry(api.DeploymentLabelEntry o) { | 296 checkDeploymentLabelEntry(api.DeploymentLabelEntry o) { |
| 297 buildCounterDeploymentLabelEntry++; | 297 buildCounterDeploymentLabelEntry++; |
| 298 if (buildCounterDeploymentLabelEntry < 3) { | 298 if (buildCounterDeploymentLabelEntry < 3) { |
| 299 unittest.expect(o.key, unittest.equals('foo')); | 299 unittest.expect(o.key, unittest.equals('foo')); |
| 300 unittest.expect(o.value, unittest.equals('foo')); | 300 unittest.expect(o.value, unittest.equals('foo')); |
| 301 } | 301 } |
| 302 buildCounterDeploymentLabelEntry--; | 302 buildCounterDeploymentLabelEntry--; |
| 303 } | 303 } |
| 304 | 304 |
| 305 buildUnnamed1949() { | 305 buildUnnamed1946() { |
| 306 var o = new core.List<api.DeploymentUpdateLabelEntry>(); | 306 var o = new core.List<api.DeploymentUpdateLabelEntry>(); |
| 307 o.add(buildDeploymentUpdateLabelEntry()); | 307 o.add(buildDeploymentUpdateLabelEntry()); |
| 308 o.add(buildDeploymentUpdateLabelEntry()); | 308 o.add(buildDeploymentUpdateLabelEntry()); |
| 309 return o; | 309 return o; |
| 310 } | 310 } |
| 311 | 311 |
| 312 checkUnnamed1949(core.List<api.DeploymentUpdateLabelEntry> o) { | 312 checkUnnamed1946(core.List<api.DeploymentUpdateLabelEntry> o) { |
| 313 unittest.expect(o, unittest.hasLength(2)); | 313 unittest.expect(o, unittest.hasLength(2)); |
| 314 checkDeploymentUpdateLabelEntry(o[0]); | 314 checkDeploymentUpdateLabelEntry(o[0]); |
| 315 checkDeploymentUpdateLabelEntry(o[1]); | 315 checkDeploymentUpdateLabelEntry(o[1]); |
| 316 } | 316 } |
| 317 | 317 |
| 318 core.int buildCounterDeploymentUpdate = 0; | 318 core.int buildCounterDeploymentUpdate = 0; |
| 319 buildDeploymentUpdate() { | 319 buildDeploymentUpdate() { |
| 320 var o = new api.DeploymentUpdate(); | 320 var o = new api.DeploymentUpdate(); |
| 321 buildCounterDeploymentUpdate++; | 321 buildCounterDeploymentUpdate++; |
| 322 if (buildCounterDeploymentUpdate < 3) { | 322 if (buildCounterDeploymentUpdate < 3) { |
| 323 o.labels = buildUnnamed1949(); | 323 o.labels = buildUnnamed1946(); |
| 324 o.manifest = "foo"; | 324 o.manifest = "foo"; |
| 325 } | 325 } |
| 326 buildCounterDeploymentUpdate--; | 326 buildCounterDeploymentUpdate--; |
| 327 return o; | 327 return o; |
| 328 } | 328 } |
| 329 | 329 |
| 330 checkDeploymentUpdate(api.DeploymentUpdate o) { | 330 checkDeploymentUpdate(api.DeploymentUpdate o) { |
| 331 buildCounterDeploymentUpdate++; | 331 buildCounterDeploymentUpdate++; |
| 332 if (buildCounterDeploymentUpdate < 3) { | 332 if (buildCounterDeploymentUpdate < 3) { |
| 333 checkUnnamed1949(o.labels); | 333 checkUnnamed1946(o.labels); |
| 334 unittest.expect(o.manifest, unittest.equals('foo')); | 334 unittest.expect(o.manifest, unittest.equals('foo')); |
| 335 } | 335 } |
| 336 buildCounterDeploymentUpdate--; | 336 buildCounterDeploymentUpdate--; |
| 337 } | 337 } |
| 338 | 338 |
| 339 core.int buildCounterDeploymentUpdateLabelEntry = 0; | 339 core.int buildCounterDeploymentUpdateLabelEntry = 0; |
| 340 buildDeploymentUpdateLabelEntry() { | 340 buildDeploymentUpdateLabelEntry() { |
| 341 var o = new api.DeploymentUpdateLabelEntry(); | 341 var o = new api.DeploymentUpdateLabelEntry(); |
| 342 buildCounterDeploymentUpdateLabelEntry++; | 342 buildCounterDeploymentUpdateLabelEntry++; |
| 343 if (buildCounterDeploymentUpdateLabelEntry < 3) { | 343 if (buildCounterDeploymentUpdateLabelEntry < 3) { |
| (...skipping 25 matching lines...) Expand all Loading... |
| 369 } | 369 } |
| 370 | 370 |
| 371 checkDeploymentsCancelPreviewRequest(api.DeploymentsCancelPreviewRequest o) { | 371 checkDeploymentsCancelPreviewRequest(api.DeploymentsCancelPreviewRequest o) { |
| 372 buildCounterDeploymentsCancelPreviewRequest++; | 372 buildCounterDeploymentsCancelPreviewRequest++; |
| 373 if (buildCounterDeploymentsCancelPreviewRequest < 3) { | 373 if (buildCounterDeploymentsCancelPreviewRequest < 3) { |
| 374 unittest.expect(o.fingerprint, unittest.equals('foo')); | 374 unittest.expect(o.fingerprint, unittest.equals('foo')); |
| 375 } | 375 } |
| 376 buildCounterDeploymentsCancelPreviewRequest--; | 376 buildCounterDeploymentsCancelPreviewRequest--; |
| 377 } | 377 } |
| 378 | 378 |
| 379 buildUnnamed1950() { | 379 buildUnnamed1947() { |
| 380 var o = new core.List<api.Deployment>(); | 380 var o = new core.List<api.Deployment>(); |
| 381 o.add(buildDeployment()); | 381 o.add(buildDeployment()); |
| 382 o.add(buildDeployment()); | 382 o.add(buildDeployment()); |
| 383 return o; | 383 return o; |
| 384 } | 384 } |
| 385 | 385 |
| 386 checkUnnamed1950(core.List<api.Deployment> o) { | 386 checkUnnamed1947(core.List<api.Deployment> o) { |
| 387 unittest.expect(o, unittest.hasLength(2)); | 387 unittest.expect(o, unittest.hasLength(2)); |
| 388 checkDeployment(o[0]); | 388 checkDeployment(o[0]); |
| 389 checkDeployment(o[1]); | 389 checkDeployment(o[1]); |
| 390 } | 390 } |
| 391 | 391 |
| 392 core.int buildCounterDeploymentsListResponse = 0; | 392 core.int buildCounterDeploymentsListResponse = 0; |
| 393 buildDeploymentsListResponse() { | 393 buildDeploymentsListResponse() { |
| 394 var o = new api.DeploymentsListResponse(); | 394 var o = new api.DeploymentsListResponse(); |
| 395 buildCounterDeploymentsListResponse++; | 395 buildCounterDeploymentsListResponse++; |
| 396 if (buildCounterDeploymentsListResponse < 3) { | 396 if (buildCounterDeploymentsListResponse < 3) { |
| 397 o.deployments = buildUnnamed1950(); | 397 o.deployments = buildUnnamed1947(); |
| 398 o.nextPageToken = "foo"; | 398 o.nextPageToken = "foo"; |
| 399 } | 399 } |
| 400 buildCounterDeploymentsListResponse--; | 400 buildCounterDeploymentsListResponse--; |
| 401 return o; | 401 return o; |
| 402 } | 402 } |
| 403 | 403 |
| 404 checkDeploymentsListResponse(api.DeploymentsListResponse o) { | 404 checkDeploymentsListResponse(api.DeploymentsListResponse o) { |
| 405 buildCounterDeploymentsListResponse++; | 405 buildCounterDeploymentsListResponse++; |
| 406 if (buildCounterDeploymentsListResponse < 3) { | 406 if (buildCounterDeploymentsListResponse < 3) { |
| 407 checkUnnamed1950(o.deployments); | 407 checkUnnamed1947(o.deployments); |
| 408 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 408 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 409 } | 409 } |
| 410 buildCounterDeploymentsListResponse--; | 410 buildCounterDeploymentsListResponse--; |
| 411 } | 411 } |
| 412 | 412 |
| 413 core.int buildCounterDeploymentsStopRequest = 0; | 413 core.int buildCounterDeploymentsStopRequest = 0; |
| 414 buildDeploymentsStopRequest() { | 414 buildDeploymentsStopRequest() { |
| 415 var o = new api.DeploymentsStopRequest(); | 415 var o = new api.DeploymentsStopRequest(); |
| 416 buildCounterDeploymentsStopRequest++; | 416 buildCounterDeploymentsStopRequest++; |
| 417 if (buildCounterDeploymentsStopRequest < 3) { | 417 if (buildCounterDeploymentsStopRequest < 3) { |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 483 | 483 |
| 484 checkLogConfigCounterOptions(api.LogConfigCounterOptions o) { | 484 checkLogConfigCounterOptions(api.LogConfigCounterOptions o) { |
| 485 buildCounterLogConfigCounterOptions++; | 485 buildCounterLogConfigCounterOptions++; |
| 486 if (buildCounterLogConfigCounterOptions < 3) { | 486 if (buildCounterLogConfigCounterOptions < 3) { |
| 487 unittest.expect(o.field, unittest.equals('foo')); | 487 unittest.expect(o.field, unittest.equals('foo')); |
| 488 unittest.expect(o.metric, unittest.equals('foo')); | 488 unittest.expect(o.metric, unittest.equals('foo')); |
| 489 } | 489 } |
| 490 buildCounterLogConfigCounterOptions--; | 490 buildCounterLogConfigCounterOptions--; |
| 491 } | 491 } |
| 492 | 492 |
| 493 buildUnnamed1951() { | 493 buildUnnamed1948() { |
| 494 var o = new core.List<api.ImportFile>(); | 494 var o = new core.List<api.ImportFile>(); |
| 495 o.add(buildImportFile()); | 495 o.add(buildImportFile()); |
| 496 o.add(buildImportFile()); | 496 o.add(buildImportFile()); |
| 497 return o; | 497 return o; |
| 498 } | 498 } |
| 499 | 499 |
| 500 checkUnnamed1951(core.List<api.ImportFile> o) { | 500 checkUnnamed1948(core.List<api.ImportFile> o) { |
| 501 unittest.expect(o, unittest.hasLength(2)); | 501 unittest.expect(o, unittest.hasLength(2)); |
| 502 checkImportFile(o[0]); | 502 checkImportFile(o[0]); |
| 503 checkImportFile(o[1]); | 503 checkImportFile(o[1]); |
| 504 } | 504 } |
| 505 | 505 |
| 506 core.int buildCounterManifest = 0; | 506 core.int buildCounterManifest = 0; |
| 507 buildManifest() { | 507 buildManifest() { |
| 508 var o = new api.Manifest(); | 508 var o = new api.Manifest(); |
| 509 buildCounterManifest++; | 509 buildCounterManifest++; |
| 510 if (buildCounterManifest < 3) { | 510 if (buildCounterManifest < 3) { |
| 511 o.config = buildConfigFile(); | 511 o.config = buildConfigFile(); |
| 512 o.expandedConfig = "foo"; | 512 o.expandedConfig = "foo"; |
| 513 o.id = "foo"; | 513 o.id = "foo"; |
| 514 o.imports = buildUnnamed1951(); | 514 o.imports = buildUnnamed1948(); |
| 515 o.insertTime = "foo"; | 515 o.insertTime = "foo"; |
| 516 o.layout = "foo"; | 516 o.layout = "foo"; |
| 517 o.name = "foo"; | 517 o.name = "foo"; |
| 518 o.selfLink = "foo"; | 518 o.selfLink = "foo"; |
| 519 } | 519 } |
| 520 buildCounterManifest--; | 520 buildCounterManifest--; |
| 521 return o; | 521 return o; |
| 522 } | 522 } |
| 523 | 523 |
| 524 checkManifest(api.Manifest o) { | 524 checkManifest(api.Manifest o) { |
| 525 buildCounterManifest++; | 525 buildCounterManifest++; |
| 526 if (buildCounterManifest < 3) { | 526 if (buildCounterManifest < 3) { |
| 527 checkConfigFile(o.config); | 527 checkConfigFile(o.config); |
| 528 unittest.expect(o.expandedConfig, unittest.equals('foo')); | 528 unittest.expect(o.expandedConfig, unittest.equals('foo')); |
| 529 unittest.expect(o.id, unittest.equals('foo')); | 529 unittest.expect(o.id, unittest.equals('foo')); |
| 530 checkUnnamed1951(o.imports); | 530 checkUnnamed1948(o.imports); |
| 531 unittest.expect(o.insertTime, unittest.equals('foo')); | 531 unittest.expect(o.insertTime, unittest.equals('foo')); |
| 532 unittest.expect(o.layout, unittest.equals('foo')); | 532 unittest.expect(o.layout, unittest.equals('foo')); |
| 533 unittest.expect(o.name, unittest.equals('foo')); | 533 unittest.expect(o.name, unittest.equals('foo')); |
| 534 unittest.expect(o.selfLink, unittest.equals('foo')); | 534 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 535 } | 535 } |
| 536 buildCounterManifest--; | 536 buildCounterManifest--; |
| 537 } | 537 } |
| 538 | 538 |
| 539 buildUnnamed1952() { | 539 buildUnnamed1949() { |
| 540 var o = new core.List<api.Manifest>(); | 540 var o = new core.List<api.Manifest>(); |
| 541 o.add(buildManifest()); | 541 o.add(buildManifest()); |
| 542 o.add(buildManifest()); | 542 o.add(buildManifest()); |
| 543 return o; | 543 return o; |
| 544 } | 544 } |
| 545 | 545 |
| 546 checkUnnamed1952(core.List<api.Manifest> o) { | 546 checkUnnamed1949(core.List<api.Manifest> o) { |
| 547 unittest.expect(o, unittest.hasLength(2)); | 547 unittest.expect(o, unittest.hasLength(2)); |
| 548 checkManifest(o[0]); | 548 checkManifest(o[0]); |
| 549 checkManifest(o[1]); | 549 checkManifest(o[1]); |
| 550 } | 550 } |
| 551 | 551 |
| 552 core.int buildCounterManifestsListResponse = 0; | 552 core.int buildCounterManifestsListResponse = 0; |
| 553 buildManifestsListResponse() { | 553 buildManifestsListResponse() { |
| 554 var o = new api.ManifestsListResponse(); | 554 var o = new api.ManifestsListResponse(); |
| 555 buildCounterManifestsListResponse++; | 555 buildCounterManifestsListResponse++; |
| 556 if (buildCounterManifestsListResponse < 3) { | 556 if (buildCounterManifestsListResponse < 3) { |
| 557 o.manifests = buildUnnamed1952(); | 557 o.manifests = buildUnnamed1949(); |
| 558 o.nextPageToken = "foo"; | 558 o.nextPageToken = "foo"; |
| 559 } | 559 } |
| 560 buildCounterManifestsListResponse--; | 560 buildCounterManifestsListResponse--; |
| 561 return o; | 561 return o; |
| 562 } | 562 } |
| 563 | 563 |
| 564 checkManifestsListResponse(api.ManifestsListResponse o) { | 564 checkManifestsListResponse(api.ManifestsListResponse o) { |
| 565 buildCounterManifestsListResponse++; | 565 buildCounterManifestsListResponse++; |
| 566 if (buildCounterManifestsListResponse < 3) { | 566 if (buildCounterManifestsListResponse < 3) { |
| 567 checkUnnamed1952(o.manifests); | 567 checkUnnamed1949(o.manifests); |
| 568 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 568 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 569 } | 569 } |
| 570 buildCounterManifestsListResponse--; | 570 buildCounterManifestsListResponse--; |
| 571 } | 571 } |
| 572 | 572 |
| 573 core.int buildCounterOperationErrorErrors = 0; | 573 core.int buildCounterOperationErrorErrors = 0; |
| 574 buildOperationErrorErrors() { | 574 buildOperationErrorErrors() { |
| 575 var o = new api.OperationErrorErrors(); | 575 var o = new api.OperationErrorErrors(); |
| 576 buildCounterOperationErrorErrors++; | 576 buildCounterOperationErrorErrors++; |
| 577 if (buildCounterOperationErrorErrors < 3) { | 577 if (buildCounterOperationErrorErrors < 3) { |
| 578 o.code = "foo"; | 578 o.code = "foo"; |
| 579 o.location = "foo"; | 579 o.location = "foo"; |
| 580 o.message = "foo"; | 580 o.message = "foo"; |
| 581 } | 581 } |
| 582 buildCounterOperationErrorErrors--; | 582 buildCounterOperationErrorErrors--; |
| 583 return o; | 583 return o; |
| 584 } | 584 } |
| 585 | 585 |
| 586 checkOperationErrorErrors(api.OperationErrorErrors o) { | 586 checkOperationErrorErrors(api.OperationErrorErrors o) { |
| 587 buildCounterOperationErrorErrors++; | 587 buildCounterOperationErrorErrors++; |
| 588 if (buildCounterOperationErrorErrors < 3) { | 588 if (buildCounterOperationErrorErrors < 3) { |
| 589 unittest.expect(o.code, unittest.equals('foo')); | 589 unittest.expect(o.code, unittest.equals('foo')); |
| 590 unittest.expect(o.location, unittest.equals('foo')); | 590 unittest.expect(o.location, unittest.equals('foo')); |
| 591 unittest.expect(o.message, unittest.equals('foo')); | 591 unittest.expect(o.message, unittest.equals('foo')); |
| 592 } | 592 } |
| 593 buildCounterOperationErrorErrors--; | 593 buildCounterOperationErrorErrors--; |
| 594 } | 594 } |
| 595 | 595 |
| 596 buildUnnamed1953() { | 596 buildUnnamed1950() { |
| 597 var o = new core.List<api.OperationErrorErrors>(); | 597 var o = new core.List<api.OperationErrorErrors>(); |
| 598 o.add(buildOperationErrorErrors()); | 598 o.add(buildOperationErrorErrors()); |
| 599 o.add(buildOperationErrorErrors()); | 599 o.add(buildOperationErrorErrors()); |
| 600 return o; | 600 return o; |
| 601 } | 601 } |
| 602 | 602 |
| 603 checkUnnamed1953(core.List<api.OperationErrorErrors> o) { | 603 checkUnnamed1950(core.List<api.OperationErrorErrors> o) { |
| 604 unittest.expect(o, unittest.hasLength(2)); | 604 unittest.expect(o, unittest.hasLength(2)); |
| 605 checkOperationErrorErrors(o[0]); | 605 checkOperationErrorErrors(o[0]); |
| 606 checkOperationErrorErrors(o[1]); | 606 checkOperationErrorErrors(o[1]); |
| 607 } | 607 } |
| 608 | 608 |
| 609 core.int buildCounterOperationError = 0; | 609 core.int buildCounterOperationError = 0; |
| 610 buildOperationError() { | 610 buildOperationError() { |
| 611 var o = new api.OperationError(); | 611 var o = new api.OperationError(); |
| 612 buildCounterOperationError++; | 612 buildCounterOperationError++; |
| 613 if (buildCounterOperationError < 3) { | 613 if (buildCounterOperationError < 3) { |
| 614 o.errors = buildUnnamed1953(); | 614 o.errors = buildUnnamed1950(); |
| 615 } | 615 } |
| 616 buildCounterOperationError--; | 616 buildCounterOperationError--; |
| 617 return o; | 617 return o; |
| 618 } | 618 } |
| 619 | 619 |
| 620 checkOperationError(api.OperationError o) { | 620 checkOperationError(api.OperationError o) { |
| 621 buildCounterOperationError++; | 621 buildCounterOperationError++; |
| 622 if (buildCounterOperationError < 3) { | 622 if (buildCounterOperationError < 3) { |
| 623 checkUnnamed1953(o.errors); | 623 checkUnnamed1950(o.errors); |
| 624 } | 624 } |
| 625 buildCounterOperationError--; | 625 buildCounterOperationError--; |
| 626 } | 626 } |
| 627 | 627 |
| 628 core.int buildCounterOperationWarningsData = 0; | 628 core.int buildCounterOperationWarningsData = 0; |
| 629 buildOperationWarningsData() { | 629 buildOperationWarningsData() { |
| 630 var o = new api.OperationWarningsData(); | 630 var o = new api.OperationWarningsData(); |
| 631 buildCounterOperationWarningsData++; | 631 buildCounterOperationWarningsData++; |
| 632 if (buildCounterOperationWarningsData < 3) { | 632 if (buildCounterOperationWarningsData < 3) { |
| 633 o.key = "foo"; | 633 o.key = "foo"; |
| 634 o.value = "foo"; | 634 o.value = "foo"; |
| 635 } | 635 } |
| 636 buildCounterOperationWarningsData--; | 636 buildCounterOperationWarningsData--; |
| 637 return o; | 637 return o; |
| 638 } | 638 } |
| 639 | 639 |
| 640 checkOperationWarningsData(api.OperationWarningsData o) { | 640 checkOperationWarningsData(api.OperationWarningsData o) { |
| 641 buildCounterOperationWarningsData++; | 641 buildCounterOperationWarningsData++; |
| 642 if (buildCounterOperationWarningsData < 3) { | 642 if (buildCounterOperationWarningsData < 3) { |
| 643 unittest.expect(o.key, unittest.equals('foo')); | 643 unittest.expect(o.key, unittest.equals('foo')); |
| 644 unittest.expect(o.value, unittest.equals('foo')); | 644 unittest.expect(o.value, unittest.equals('foo')); |
| 645 } | 645 } |
| 646 buildCounterOperationWarningsData--; | 646 buildCounterOperationWarningsData--; |
| 647 } | 647 } |
| 648 | 648 |
| 649 buildUnnamed1954() { | 649 buildUnnamed1951() { |
| 650 var o = new core.List<api.OperationWarningsData>(); | 650 var o = new core.List<api.OperationWarningsData>(); |
| 651 o.add(buildOperationWarningsData()); | 651 o.add(buildOperationWarningsData()); |
| 652 o.add(buildOperationWarningsData()); | 652 o.add(buildOperationWarningsData()); |
| 653 return o; | 653 return o; |
| 654 } | 654 } |
| 655 | 655 |
| 656 checkUnnamed1954(core.List<api.OperationWarningsData> o) { | 656 checkUnnamed1951(core.List<api.OperationWarningsData> o) { |
| 657 unittest.expect(o, unittest.hasLength(2)); | 657 unittest.expect(o, unittest.hasLength(2)); |
| 658 checkOperationWarningsData(o[0]); | 658 checkOperationWarningsData(o[0]); |
| 659 checkOperationWarningsData(o[1]); | 659 checkOperationWarningsData(o[1]); |
| 660 } | 660 } |
| 661 | 661 |
| 662 core.int buildCounterOperationWarnings = 0; | 662 core.int buildCounterOperationWarnings = 0; |
| 663 buildOperationWarnings() { | 663 buildOperationWarnings() { |
| 664 var o = new api.OperationWarnings(); | 664 var o = new api.OperationWarnings(); |
| 665 buildCounterOperationWarnings++; | 665 buildCounterOperationWarnings++; |
| 666 if (buildCounterOperationWarnings < 3) { | 666 if (buildCounterOperationWarnings < 3) { |
| 667 o.code = "foo"; | 667 o.code = "foo"; |
| 668 o.data = buildUnnamed1954(); | 668 o.data = buildUnnamed1951(); |
| 669 o.message = "foo"; | 669 o.message = "foo"; |
| 670 } | 670 } |
| 671 buildCounterOperationWarnings--; | 671 buildCounterOperationWarnings--; |
| 672 return o; | 672 return o; |
| 673 } | 673 } |
| 674 | 674 |
| 675 checkOperationWarnings(api.OperationWarnings o) { | 675 checkOperationWarnings(api.OperationWarnings o) { |
| 676 buildCounterOperationWarnings++; | 676 buildCounterOperationWarnings++; |
| 677 if (buildCounterOperationWarnings < 3) { | 677 if (buildCounterOperationWarnings < 3) { |
| 678 unittest.expect(o.code, unittest.equals('foo')); | 678 unittest.expect(o.code, unittest.equals('foo')); |
| 679 checkUnnamed1954(o.data); | 679 checkUnnamed1951(o.data); |
| 680 unittest.expect(o.message, unittest.equals('foo')); | 680 unittest.expect(o.message, unittest.equals('foo')); |
| 681 } | 681 } |
| 682 buildCounterOperationWarnings--; | 682 buildCounterOperationWarnings--; |
| 683 } | 683 } |
| 684 | 684 |
| 685 buildUnnamed1955() { | 685 buildUnnamed1952() { |
| 686 var o = new core.List<api.OperationWarnings>(); | 686 var o = new core.List<api.OperationWarnings>(); |
| 687 o.add(buildOperationWarnings()); | 687 o.add(buildOperationWarnings()); |
| 688 o.add(buildOperationWarnings()); | 688 o.add(buildOperationWarnings()); |
| 689 return o; | 689 return o; |
| 690 } | 690 } |
| 691 | 691 |
| 692 checkUnnamed1955(core.List<api.OperationWarnings> o) { | 692 checkUnnamed1952(core.List<api.OperationWarnings> o) { |
| 693 unittest.expect(o, unittest.hasLength(2)); | 693 unittest.expect(o, unittest.hasLength(2)); |
| 694 checkOperationWarnings(o[0]); | 694 checkOperationWarnings(o[0]); |
| 695 checkOperationWarnings(o[1]); | 695 checkOperationWarnings(o[1]); |
| 696 } | 696 } |
| 697 | 697 |
| 698 core.int buildCounterOperation = 0; | 698 core.int buildCounterOperation = 0; |
| 699 buildOperation() { | 699 buildOperation() { |
| 700 var o = new api.Operation(); | 700 var o = new api.Operation(); |
| 701 buildCounterOperation++; | 701 buildCounterOperation++; |
| 702 if (buildCounterOperation < 3) { | 702 if (buildCounterOperation < 3) { |
| (...skipping 11 matching lines...) Expand all Loading... |
| 714 o.operationType = "foo"; | 714 o.operationType = "foo"; |
| 715 o.progress = 42; | 715 o.progress = 42; |
| 716 o.region = "foo"; | 716 o.region = "foo"; |
| 717 o.selfLink = "foo"; | 717 o.selfLink = "foo"; |
| 718 o.startTime = "foo"; | 718 o.startTime = "foo"; |
| 719 o.status = "foo"; | 719 o.status = "foo"; |
| 720 o.statusMessage = "foo"; | 720 o.statusMessage = "foo"; |
| 721 o.targetId = "foo"; | 721 o.targetId = "foo"; |
| 722 o.targetLink = "foo"; | 722 o.targetLink = "foo"; |
| 723 o.user = "foo"; | 723 o.user = "foo"; |
| 724 o.warnings = buildUnnamed1955(); | 724 o.warnings = buildUnnamed1952(); |
| 725 o.zone = "foo"; | 725 o.zone = "foo"; |
| 726 } | 726 } |
| 727 buildCounterOperation--; | 727 buildCounterOperation--; |
| 728 return o; | 728 return o; |
| 729 } | 729 } |
| 730 | 730 |
| 731 checkOperation(api.Operation o) { | 731 checkOperation(api.Operation o) { |
| 732 buildCounterOperation++; | 732 buildCounterOperation++; |
| 733 if (buildCounterOperation < 3) { | 733 if (buildCounterOperation < 3) { |
| 734 unittest.expect(o.clientOperationId, unittest.equals('foo')); | 734 unittest.expect(o.clientOperationId, unittest.equals('foo')); |
| (...skipping 10 matching lines...) Expand all Loading... |
| 745 unittest.expect(o.operationType, unittest.equals('foo')); | 745 unittest.expect(o.operationType, unittest.equals('foo')); |
| 746 unittest.expect(o.progress, unittest.equals(42)); | 746 unittest.expect(o.progress, unittest.equals(42)); |
| 747 unittest.expect(o.region, unittest.equals('foo')); | 747 unittest.expect(o.region, unittest.equals('foo')); |
| 748 unittest.expect(o.selfLink, unittest.equals('foo')); | 748 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 749 unittest.expect(o.startTime, unittest.equals('foo')); | 749 unittest.expect(o.startTime, unittest.equals('foo')); |
| 750 unittest.expect(o.status, unittest.equals('foo')); | 750 unittest.expect(o.status, unittest.equals('foo')); |
| 751 unittest.expect(o.statusMessage, unittest.equals('foo')); | 751 unittest.expect(o.statusMessage, unittest.equals('foo')); |
| 752 unittest.expect(o.targetId, unittest.equals('foo')); | 752 unittest.expect(o.targetId, unittest.equals('foo')); |
| 753 unittest.expect(o.targetLink, unittest.equals('foo')); | 753 unittest.expect(o.targetLink, unittest.equals('foo')); |
| 754 unittest.expect(o.user, unittest.equals('foo')); | 754 unittest.expect(o.user, unittest.equals('foo')); |
| 755 checkUnnamed1955(o.warnings); | 755 checkUnnamed1952(o.warnings); |
| 756 unittest.expect(o.zone, unittest.equals('foo')); | 756 unittest.expect(o.zone, unittest.equals('foo')); |
| 757 } | 757 } |
| 758 buildCounterOperation--; | 758 buildCounterOperation--; |
| 759 } | 759 } |
| 760 | 760 |
| 761 buildUnnamed1956() { | 761 buildUnnamed1953() { |
| 762 var o = new core.List<api.Operation>(); | 762 var o = new core.List<api.Operation>(); |
| 763 o.add(buildOperation()); | 763 o.add(buildOperation()); |
| 764 o.add(buildOperation()); | 764 o.add(buildOperation()); |
| 765 return o; | 765 return o; |
| 766 } | 766 } |
| 767 | 767 |
| 768 checkUnnamed1956(core.List<api.Operation> o) { | 768 checkUnnamed1953(core.List<api.Operation> o) { |
| 769 unittest.expect(o, unittest.hasLength(2)); | 769 unittest.expect(o, unittest.hasLength(2)); |
| 770 checkOperation(o[0]); | 770 checkOperation(o[0]); |
| 771 checkOperation(o[1]); | 771 checkOperation(o[1]); |
| 772 } | 772 } |
| 773 | 773 |
| 774 core.int buildCounterOperationsListResponse = 0; | 774 core.int buildCounterOperationsListResponse = 0; |
| 775 buildOperationsListResponse() { | 775 buildOperationsListResponse() { |
| 776 var o = new api.OperationsListResponse(); | 776 var o = new api.OperationsListResponse(); |
| 777 buildCounterOperationsListResponse++; | 777 buildCounterOperationsListResponse++; |
| 778 if (buildCounterOperationsListResponse < 3) { | 778 if (buildCounterOperationsListResponse < 3) { |
| 779 o.nextPageToken = "foo"; | 779 o.nextPageToken = "foo"; |
| 780 o.operations = buildUnnamed1956(); | 780 o.operations = buildUnnamed1953(); |
| 781 } | 781 } |
| 782 buildCounterOperationsListResponse--; | 782 buildCounterOperationsListResponse--; |
| 783 return o; | 783 return o; |
| 784 } | 784 } |
| 785 | 785 |
| 786 checkOperationsListResponse(api.OperationsListResponse o) { | 786 checkOperationsListResponse(api.OperationsListResponse o) { |
| 787 buildCounterOperationsListResponse++; | 787 buildCounterOperationsListResponse++; |
| 788 if (buildCounterOperationsListResponse < 3) { | 788 if (buildCounterOperationsListResponse < 3) { |
| 789 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 789 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 790 checkUnnamed1956(o.operations); | 790 checkUnnamed1953(o.operations); |
| 791 } | 791 } |
| 792 buildCounterOperationsListResponse--; | 792 buildCounterOperationsListResponse--; |
| 793 } | 793 } |
| 794 | 794 |
| 795 buildUnnamed1957() { | 795 buildUnnamed1954() { |
| 796 var o = new core.List<api.AuditConfig>(); | 796 var o = new core.List<api.AuditConfig>(); |
| 797 o.add(buildAuditConfig()); | 797 o.add(buildAuditConfig()); |
| 798 o.add(buildAuditConfig()); | 798 o.add(buildAuditConfig()); |
| 799 return o; | 799 return o; |
| 800 } | 800 } |
| 801 | 801 |
| 802 checkUnnamed1957(core.List<api.AuditConfig> o) { | 802 checkUnnamed1954(core.List<api.AuditConfig> o) { |
| 803 unittest.expect(o, unittest.hasLength(2)); | 803 unittest.expect(o, unittest.hasLength(2)); |
| 804 checkAuditConfig(o[0]); | 804 checkAuditConfig(o[0]); |
| 805 checkAuditConfig(o[1]); | 805 checkAuditConfig(o[1]); |
| 806 } | 806 } |
| 807 | 807 |
| 808 buildUnnamed1958() { | 808 buildUnnamed1955() { |
| 809 var o = new core.List<api.Binding>(); | 809 var o = new core.List<api.Binding>(); |
| 810 o.add(buildBinding()); | 810 o.add(buildBinding()); |
| 811 o.add(buildBinding()); | 811 o.add(buildBinding()); |
| 812 return o; | 812 return o; |
| 813 } | 813 } |
| 814 | 814 |
| 815 checkUnnamed1958(core.List<api.Binding> o) { | 815 checkUnnamed1955(core.List<api.Binding> o) { |
| 816 unittest.expect(o, unittest.hasLength(2)); | 816 unittest.expect(o, unittest.hasLength(2)); |
| 817 checkBinding(o[0]); | 817 checkBinding(o[0]); |
| 818 checkBinding(o[1]); | 818 checkBinding(o[1]); |
| 819 } | 819 } |
| 820 | 820 |
| 821 buildUnnamed1959() { | 821 buildUnnamed1956() { |
| 822 var o = new core.List<api.Rule>(); | 822 var o = new core.List<api.Rule>(); |
| 823 o.add(buildRule()); | 823 o.add(buildRule()); |
| 824 o.add(buildRule()); | 824 o.add(buildRule()); |
| 825 return o; | 825 return o; |
| 826 } | 826 } |
| 827 | 827 |
| 828 checkUnnamed1959(core.List<api.Rule> o) { | 828 checkUnnamed1956(core.List<api.Rule> o) { |
| 829 unittest.expect(o, unittest.hasLength(2)); | 829 unittest.expect(o, unittest.hasLength(2)); |
| 830 checkRule(o[0]); | 830 checkRule(o[0]); |
| 831 checkRule(o[1]); | 831 checkRule(o[1]); |
| 832 } | 832 } |
| 833 | 833 |
| 834 core.int buildCounterPolicy = 0; | 834 core.int buildCounterPolicy = 0; |
| 835 buildPolicy() { | 835 buildPolicy() { |
| 836 var o = new api.Policy(); | 836 var o = new api.Policy(); |
| 837 buildCounterPolicy++; | 837 buildCounterPolicy++; |
| 838 if (buildCounterPolicy < 3) { | 838 if (buildCounterPolicy < 3) { |
| 839 o.auditConfigs = buildUnnamed1957(); | 839 o.auditConfigs = buildUnnamed1954(); |
| 840 o.bindings = buildUnnamed1958(); | 840 o.bindings = buildUnnamed1955(); |
| 841 o.etag = "foo"; | 841 o.etag = "foo"; |
| 842 o.iamOwned = true; | 842 o.iamOwned = true; |
| 843 o.rules = buildUnnamed1959(); | 843 o.rules = buildUnnamed1956(); |
| 844 o.version = 42; | 844 o.version = 42; |
| 845 } | 845 } |
| 846 buildCounterPolicy--; | 846 buildCounterPolicy--; |
| 847 return o; | 847 return o; |
| 848 } | 848 } |
| 849 | 849 |
| 850 checkPolicy(api.Policy o) { | 850 checkPolicy(api.Policy o) { |
| 851 buildCounterPolicy++; | 851 buildCounterPolicy++; |
| 852 if (buildCounterPolicy < 3) { | 852 if (buildCounterPolicy < 3) { |
| 853 checkUnnamed1957(o.auditConfigs); | 853 checkUnnamed1954(o.auditConfigs); |
| 854 checkUnnamed1958(o.bindings); | 854 checkUnnamed1955(o.bindings); |
| 855 unittest.expect(o.etag, unittest.equals('foo')); | 855 unittest.expect(o.etag, unittest.equals('foo')); |
| 856 unittest.expect(o.iamOwned, unittest.isTrue); | 856 unittest.expect(o.iamOwned, unittest.isTrue); |
| 857 checkUnnamed1959(o.rules); | 857 checkUnnamed1956(o.rules); |
| 858 unittest.expect(o.version, unittest.equals(42)); | 858 unittest.expect(o.version, unittest.equals(42)); |
| 859 } | 859 } |
| 860 buildCounterPolicy--; | 860 buildCounterPolicy--; |
| 861 } | 861 } |
| 862 | 862 |
| 863 core.int buildCounterResourceWarningsData = 0; | 863 core.int buildCounterResourceWarningsData = 0; |
| 864 buildResourceWarningsData() { | 864 buildResourceWarningsData() { |
| 865 var o = new api.ResourceWarningsData(); | 865 var o = new api.ResourceWarningsData(); |
| 866 buildCounterResourceWarningsData++; | 866 buildCounterResourceWarningsData++; |
| 867 if (buildCounterResourceWarningsData < 3) { | 867 if (buildCounterResourceWarningsData < 3) { |
| 868 o.key = "foo"; | 868 o.key = "foo"; |
| 869 o.value = "foo"; | 869 o.value = "foo"; |
| 870 } | 870 } |
| 871 buildCounterResourceWarningsData--; | 871 buildCounterResourceWarningsData--; |
| 872 return o; | 872 return o; |
| 873 } | 873 } |
| 874 | 874 |
| 875 checkResourceWarningsData(api.ResourceWarningsData o) { | 875 checkResourceWarningsData(api.ResourceWarningsData o) { |
| 876 buildCounterResourceWarningsData++; | 876 buildCounterResourceWarningsData++; |
| 877 if (buildCounterResourceWarningsData < 3) { | 877 if (buildCounterResourceWarningsData < 3) { |
| 878 unittest.expect(o.key, unittest.equals('foo')); | 878 unittest.expect(o.key, unittest.equals('foo')); |
| 879 unittest.expect(o.value, unittest.equals('foo')); | 879 unittest.expect(o.value, unittest.equals('foo')); |
| 880 } | 880 } |
| 881 buildCounterResourceWarningsData--; | 881 buildCounterResourceWarningsData--; |
| 882 } | 882 } |
| 883 | 883 |
| 884 buildUnnamed1960() { | 884 buildUnnamed1957() { |
| 885 var o = new core.List<api.ResourceWarningsData>(); | 885 var o = new core.List<api.ResourceWarningsData>(); |
| 886 o.add(buildResourceWarningsData()); | 886 o.add(buildResourceWarningsData()); |
| 887 o.add(buildResourceWarningsData()); | 887 o.add(buildResourceWarningsData()); |
| 888 return o; | 888 return o; |
| 889 } | 889 } |
| 890 | 890 |
| 891 checkUnnamed1960(core.List<api.ResourceWarningsData> o) { | 891 checkUnnamed1957(core.List<api.ResourceWarningsData> o) { |
| 892 unittest.expect(o, unittest.hasLength(2)); | 892 unittest.expect(o, unittest.hasLength(2)); |
| 893 checkResourceWarningsData(o[0]); | 893 checkResourceWarningsData(o[0]); |
| 894 checkResourceWarningsData(o[1]); | 894 checkResourceWarningsData(o[1]); |
| 895 } | 895 } |
| 896 | 896 |
| 897 core.int buildCounterResourceWarnings = 0; | 897 core.int buildCounterResourceWarnings = 0; |
| 898 buildResourceWarnings() { | 898 buildResourceWarnings() { |
| 899 var o = new api.ResourceWarnings(); | 899 var o = new api.ResourceWarnings(); |
| 900 buildCounterResourceWarnings++; | 900 buildCounterResourceWarnings++; |
| 901 if (buildCounterResourceWarnings < 3) { | 901 if (buildCounterResourceWarnings < 3) { |
| 902 o.code = "foo"; | 902 o.code = "foo"; |
| 903 o.data = buildUnnamed1960(); | 903 o.data = buildUnnamed1957(); |
| 904 o.message = "foo"; | 904 o.message = "foo"; |
| 905 } | 905 } |
| 906 buildCounterResourceWarnings--; | 906 buildCounterResourceWarnings--; |
| 907 return o; | 907 return o; |
| 908 } | 908 } |
| 909 | 909 |
| 910 checkResourceWarnings(api.ResourceWarnings o) { | 910 checkResourceWarnings(api.ResourceWarnings o) { |
| 911 buildCounterResourceWarnings++; | 911 buildCounterResourceWarnings++; |
| 912 if (buildCounterResourceWarnings < 3) { | 912 if (buildCounterResourceWarnings < 3) { |
| 913 unittest.expect(o.code, unittest.equals('foo')); | 913 unittest.expect(o.code, unittest.equals('foo')); |
| 914 checkUnnamed1960(o.data); | 914 checkUnnamed1957(o.data); |
| 915 unittest.expect(o.message, unittest.equals('foo')); | 915 unittest.expect(o.message, unittest.equals('foo')); |
| 916 } | 916 } |
| 917 buildCounterResourceWarnings--; | 917 buildCounterResourceWarnings--; |
| 918 } | 918 } |
| 919 | 919 |
| 920 buildUnnamed1961() { | 920 buildUnnamed1958() { |
| 921 var o = new core.List<api.ResourceWarnings>(); | 921 var o = new core.List<api.ResourceWarnings>(); |
| 922 o.add(buildResourceWarnings()); | 922 o.add(buildResourceWarnings()); |
| 923 o.add(buildResourceWarnings()); | 923 o.add(buildResourceWarnings()); |
| 924 return o; | 924 return o; |
| 925 } | 925 } |
| 926 | 926 |
| 927 checkUnnamed1961(core.List<api.ResourceWarnings> o) { | 927 checkUnnamed1958(core.List<api.ResourceWarnings> o) { |
| 928 unittest.expect(o, unittest.hasLength(2)); | 928 unittest.expect(o, unittest.hasLength(2)); |
| 929 checkResourceWarnings(o[0]); | 929 checkResourceWarnings(o[0]); |
| 930 checkResourceWarnings(o[1]); | 930 checkResourceWarnings(o[1]); |
| 931 } | 931 } |
| 932 | 932 |
| 933 core.int buildCounterResource = 0; | 933 core.int buildCounterResource = 0; |
| 934 buildResource() { | 934 buildResource() { |
| 935 var o = new api.Resource(); | 935 var o = new api.Resource(); |
| 936 buildCounterResource++; | 936 buildCounterResource++; |
| 937 if (buildCounterResource < 3) { | 937 if (buildCounterResource < 3) { |
| 938 o.accessControl = buildResourceAccessControl(); | 938 o.accessControl = buildResourceAccessControl(); |
| 939 o.finalProperties = "foo"; | 939 o.finalProperties = "foo"; |
| 940 o.id = "foo"; | 940 o.id = "foo"; |
| 941 o.insertTime = "foo"; | 941 o.insertTime = "foo"; |
| 942 o.manifest = "foo"; | 942 o.manifest = "foo"; |
| 943 o.name = "foo"; | 943 o.name = "foo"; |
| 944 o.properties = "foo"; | 944 o.properties = "foo"; |
| 945 o.type = "foo"; | 945 o.type = "foo"; |
| 946 o.update = buildResourceUpdate(); | 946 o.update = buildResourceUpdate(); |
| 947 o.updateTime = "foo"; | 947 o.updateTime = "foo"; |
| 948 o.url = "foo"; | 948 o.url = "foo"; |
| 949 o.warnings = buildUnnamed1961(); | 949 o.warnings = buildUnnamed1958(); |
| 950 } | 950 } |
| 951 buildCounterResource--; | 951 buildCounterResource--; |
| 952 return o; | 952 return o; |
| 953 } | 953 } |
| 954 | 954 |
| 955 checkResource(api.Resource o) { | 955 checkResource(api.Resource o) { |
| 956 buildCounterResource++; | 956 buildCounterResource++; |
| 957 if (buildCounterResource < 3) { | 957 if (buildCounterResource < 3) { |
| 958 checkResourceAccessControl(o.accessControl); | 958 checkResourceAccessControl(o.accessControl); |
| 959 unittest.expect(o.finalProperties, unittest.equals('foo')); | 959 unittest.expect(o.finalProperties, unittest.equals('foo')); |
| 960 unittest.expect(o.id, unittest.equals('foo')); | 960 unittest.expect(o.id, unittest.equals('foo')); |
| 961 unittest.expect(o.insertTime, unittest.equals('foo')); | 961 unittest.expect(o.insertTime, unittest.equals('foo')); |
| 962 unittest.expect(o.manifest, unittest.equals('foo')); | 962 unittest.expect(o.manifest, unittest.equals('foo')); |
| 963 unittest.expect(o.name, unittest.equals('foo')); | 963 unittest.expect(o.name, unittest.equals('foo')); |
| 964 unittest.expect(o.properties, unittest.equals('foo')); | 964 unittest.expect(o.properties, unittest.equals('foo')); |
| 965 unittest.expect(o.type, unittest.equals('foo')); | 965 unittest.expect(o.type, unittest.equals('foo')); |
| 966 checkResourceUpdate(o.update); | 966 checkResourceUpdate(o.update); |
| 967 unittest.expect(o.updateTime, unittest.equals('foo')); | 967 unittest.expect(o.updateTime, unittest.equals('foo')); |
| 968 unittest.expect(o.url, unittest.equals('foo')); | 968 unittest.expect(o.url, unittest.equals('foo')); |
| 969 checkUnnamed1961(o.warnings); | 969 checkUnnamed1958(o.warnings); |
| 970 } | 970 } |
| 971 buildCounterResource--; | 971 buildCounterResource--; |
| 972 } | 972 } |
| 973 | 973 |
| 974 core.int buildCounterResourceAccessControl = 0; | 974 core.int buildCounterResourceAccessControl = 0; |
| 975 buildResourceAccessControl() { | 975 buildResourceAccessControl() { |
| 976 var o = new api.ResourceAccessControl(); | 976 var o = new api.ResourceAccessControl(); |
| 977 buildCounterResourceAccessControl++; | 977 buildCounterResourceAccessControl++; |
| 978 if (buildCounterResourceAccessControl < 3) { | 978 if (buildCounterResourceAccessControl < 3) { |
| 979 o.gcpIamPolicy = "foo"; | 979 o.gcpIamPolicy = "foo"; |
| (...skipping 26 matching lines...) Expand all Loading... |
| 1006 checkResourceUpdateErrorErrors(api.ResourceUpdateErrorErrors o) { | 1006 checkResourceUpdateErrorErrors(api.ResourceUpdateErrorErrors o) { |
| 1007 buildCounterResourceUpdateErrorErrors++; | 1007 buildCounterResourceUpdateErrorErrors++; |
| 1008 if (buildCounterResourceUpdateErrorErrors < 3) { | 1008 if (buildCounterResourceUpdateErrorErrors < 3) { |
| 1009 unittest.expect(o.code, unittest.equals('foo')); | 1009 unittest.expect(o.code, unittest.equals('foo')); |
| 1010 unittest.expect(o.location, unittest.equals('foo')); | 1010 unittest.expect(o.location, unittest.equals('foo')); |
| 1011 unittest.expect(o.message, unittest.equals('foo')); | 1011 unittest.expect(o.message, unittest.equals('foo')); |
| 1012 } | 1012 } |
| 1013 buildCounterResourceUpdateErrorErrors--; | 1013 buildCounterResourceUpdateErrorErrors--; |
| 1014 } | 1014 } |
| 1015 | 1015 |
| 1016 buildUnnamed1962() { | 1016 buildUnnamed1959() { |
| 1017 var o = new core.List<api.ResourceUpdateErrorErrors>(); | 1017 var o = new core.List<api.ResourceUpdateErrorErrors>(); |
| 1018 o.add(buildResourceUpdateErrorErrors()); | 1018 o.add(buildResourceUpdateErrorErrors()); |
| 1019 o.add(buildResourceUpdateErrorErrors()); | 1019 o.add(buildResourceUpdateErrorErrors()); |
| 1020 return o; | 1020 return o; |
| 1021 } | 1021 } |
| 1022 | 1022 |
| 1023 checkUnnamed1962(core.List<api.ResourceUpdateErrorErrors> o) { | 1023 checkUnnamed1959(core.List<api.ResourceUpdateErrorErrors> o) { |
| 1024 unittest.expect(o, unittest.hasLength(2)); | 1024 unittest.expect(o, unittest.hasLength(2)); |
| 1025 checkResourceUpdateErrorErrors(o[0]); | 1025 checkResourceUpdateErrorErrors(o[0]); |
| 1026 checkResourceUpdateErrorErrors(o[1]); | 1026 checkResourceUpdateErrorErrors(o[1]); |
| 1027 } | 1027 } |
| 1028 | 1028 |
| 1029 core.int buildCounterResourceUpdateError = 0; | 1029 core.int buildCounterResourceUpdateError = 0; |
| 1030 buildResourceUpdateError() { | 1030 buildResourceUpdateError() { |
| 1031 var o = new api.ResourceUpdateError(); | 1031 var o = new api.ResourceUpdateError(); |
| 1032 buildCounterResourceUpdateError++; | 1032 buildCounterResourceUpdateError++; |
| 1033 if (buildCounterResourceUpdateError < 3) { | 1033 if (buildCounterResourceUpdateError < 3) { |
| 1034 o.errors = buildUnnamed1962(); | 1034 o.errors = buildUnnamed1959(); |
| 1035 } | 1035 } |
| 1036 buildCounterResourceUpdateError--; | 1036 buildCounterResourceUpdateError--; |
| 1037 return o; | 1037 return o; |
| 1038 } | 1038 } |
| 1039 | 1039 |
| 1040 checkResourceUpdateError(api.ResourceUpdateError o) { | 1040 checkResourceUpdateError(api.ResourceUpdateError o) { |
| 1041 buildCounterResourceUpdateError++; | 1041 buildCounterResourceUpdateError++; |
| 1042 if (buildCounterResourceUpdateError < 3) { | 1042 if (buildCounterResourceUpdateError < 3) { |
| 1043 checkUnnamed1962(o.errors); | 1043 checkUnnamed1959(o.errors); |
| 1044 } | 1044 } |
| 1045 buildCounterResourceUpdateError--; | 1045 buildCounterResourceUpdateError--; |
| 1046 } | 1046 } |
| 1047 | 1047 |
| 1048 core.int buildCounterResourceUpdateWarningsData = 0; | 1048 core.int buildCounterResourceUpdateWarningsData = 0; |
| 1049 buildResourceUpdateWarningsData() { | 1049 buildResourceUpdateWarningsData() { |
| 1050 var o = new api.ResourceUpdateWarningsData(); | 1050 var o = new api.ResourceUpdateWarningsData(); |
| 1051 buildCounterResourceUpdateWarningsData++; | 1051 buildCounterResourceUpdateWarningsData++; |
| 1052 if (buildCounterResourceUpdateWarningsData < 3) { | 1052 if (buildCounterResourceUpdateWarningsData < 3) { |
| 1053 o.key = "foo"; | 1053 o.key = "foo"; |
| 1054 o.value = "foo"; | 1054 o.value = "foo"; |
| 1055 } | 1055 } |
| 1056 buildCounterResourceUpdateWarningsData--; | 1056 buildCounterResourceUpdateWarningsData--; |
| 1057 return o; | 1057 return o; |
| 1058 } | 1058 } |
| 1059 | 1059 |
| 1060 checkResourceUpdateWarningsData(api.ResourceUpdateWarningsData o) { | 1060 checkResourceUpdateWarningsData(api.ResourceUpdateWarningsData o) { |
| 1061 buildCounterResourceUpdateWarningsData++; | 1061 buildCounterResourceUpdateWarningsData++; |
| 1062 if (buildCounterResourceUpdateWarningsData < 3) { | 1062 if (buildCounterResourceUpdateWarningsData < 3) { |
| 1063 unittest.expect(o.key, unittest.equals('foo')); | 1063 unittest.expect(o.key, unittest.equals('foo')); |
| 1064 unittest.expect(o.value, unittest.equals('foo')); | 1064 unittest.expect(o.value, unittest.equals('foo')); |
| 1065 } | 1065 } |
| 1066 buildCounterResourceUpdateWarningsData--; | 1066 buildCounterResourceUpdateWarningsData--; |
| 1067 } | 1067 } |
| 1068 | 1068 |
| 1069 buildUnnamed1963() { | 1069 buildUnnamed1960() { |
| 1070 var o = new core.List<api.ResourceUpdateWarningsData>(); | 1070 var o = new core.List<api.ResourceUpdateWarningsData>(); |
| 1071 o.add(buildResourceUpdateWarningsData()); | 1071 o.add(buildResourceUpdateWarningsData()); |
| 1072 o.add(buildResourceUpdateWarningsData()); | 1072 o.add(buildResourceUpdateWarningsData()); |
| 1073 return o; | 1073 return o; |
| 1074 } | 1074 } |
| 1075 | 1075 |
| 1076 checkUnnamed1963(core.List<api.ResourceUpdateWarningsData> o) { | 1076 checkUnnamed1960(core.List<api.ResourceUpdateWarningsData> o) { |
| 1077 unittest.expect(o, unittest.hasLength(2)); | 1077 unittest.expect(o, unittest.hasLength(2)); |
| 1078 checkResourceUpdateWarningsData(o[0]); | 1078 checkResourceUpdateWarningsData(o[0]); |
| 1079 checkResourceUpdateWarningsData(o[1]); | 1079 checkResourceUpdateWarningsData(o[1]); |
| 1080 } | 1080 } |
| 1081 | 1081 |
| 1082 core.int buildCounterResourceUpdateWarnings = 0; | 1082 core.int buildCounterResourceUpdateWarnings = 0; |
| 1083 buildResourceUpdateWarnings() { | 1083 buildResourceUpdateWarnings() { |
| 1084 var o = new api.ResourceUpdateWarnings(); | 1084 var o = new api.ResourceUpdateWarnings(); |
| 1085 buildCounterResourceUpdateWarnings++; | 1085 buildCounterResourceUpdateWarnings++; |
| 1086 if (buildCounterResourceUpdateWarnings < 3) { | 1086 if (buildCounterResourceUpdateWarnings < 3) { |
| 1087 o.code = "foo"; | 1087 o.code = "foo"; |
| 1088 o.data = buildUnnamed1963(); | 1088 o.data = buildUnnamed1960(); |
| 1089 o.message = "foo"; | 1089 o.message = "foo"; |
| 1090 } | 1090 } |
| 1091 buildCounterResourceUpdateWarnings--; | 1091 buildCounterResourceUpdateWarnings--; |
| 1092 return o; | 1092 return o; |
| 1093 } | 1093 } |
| 1094 | 1094 |
| 1095 checkResourceUpdateWarnings(api.ResourceUpdateWarnings o) { | 1095 checkResourceUpdateWarnings(api.ResourceUpdateWarnings o) { |
| 1096 buildCounterResourceUpdateWarnings++; | 1096 buildCounterResourceUpdateWarnings++; |
| 1097 if (buildCounterResourceUpdateWarnings < 3) { | 1097 if (buildCounterResourceUpdateWarnings < 3) { |
| 1098 unittest.expect(o.code, unittest.equals('foo')); | 1098 unittest.expect(o.code, unittest.equals('foo')); |
| 1099 checkUnnamed1963(o.data); | 1099 checkUnnamed1960(o.data); |
| 1100 unittest.expect(o.message, unittest.equals('foo')); | 1100 unittest.expect(o.message, unittest.equals('foo')); |
| 1101 } | 1101 } |
| 1102 buildCounterResourceUpdateWarnings--; | 1102 buildCounterResourceUpdateWarnings--; |
| 1103 } | 1103 } |
| 1104 | 1104 |
| 1105 buildUnnamed1964() { | 1105 buildUnnamed1961() { |
| 1106 var o = new core.List<api.ResourceUpdateWarnings>(); | 1106 var o = new core.List<api.ResourceUpdateWarnings>(); |
| 1107 o.add(buildResourceUpdateWarnings()); | 1107 o.add(buildResourceUpdateWarnings()); |
| 1108 o.add(buildResourceUpdateWarnings()); | 1108 o.add(buildResourceUpdateWarnings()); |
| 1109 return o; | 1109 return o; |
| 1110 } | 1110 } |
| 1111 | 1111 |
| 1112 checkUnnamed1964(core.List<api.ResourceUpdateWarnings> o) { | 1112 checkUnnamed1961(core.List<api.ResourceUpdateWarnings> o) { |
| 1113 unittest.expect(o, unittest.hasLength(2)); | 1113 unittest.expect(o, unittest.hasLength(2)); |
| 1114 checkResourceUpdateWarnings(o[0]); | 1114 checkResourceUpdateWarnings(o[0]); |
| 1115 checkResourceUpdateWarnings(o[1]); | 1115 checkResourceUpdateWarnings(o[1]); |
| 1116 } | 1116 } |
| 1117 | 1117 |
| 1118 core.int buildCounterResourceUpdate = 0; | 1118 core.int buildCounterResourceUpdate = 0; |
| 1119 buildResourceUpdate() { | 1119 buildResourceUpdate() { |
| 1120 var o = new api.ResourceUpdate(); | 1120 var o = new api.ResourceUpdate(); |
| 1121 buildCounterResourceUpdate++; | 1121 buildCounterResourceUpdate++; |
| 1122 if (buildCounterResourceUpdate < 3) { | 1122 if (buildCounterResourceUpdate < 3) { |
| 1123 o.accessControl = buildResourceAccessControl(); | 1123 o.accessControl = buildResourceAccessControl(); |
| 1124 o.error = buildResourceUpdateError(); | 1124 o.error = buildResourceUpdateError(); |
| 1125 o.finalProperties = "foo"; | 1125 o.finalProperties = "foo"; |
| 1126 o.intent = "foo"; | 1126 o.intent = "foo"; |
| 1127 o.manifest = "foo"; | 1127 o.manifest = "foo"; |
| 1128 o.properties = "foo"; | 1128 o.properties = "foo"; |
| 1129 o.state = "foo"; | 1129 o.state = "foo"; |
| 1130 o.warnings = buildUnnamed1964(); | 1130 o.warnings = buildUnnamed1961(); |
| 1131 } | 1131 } |
| 1132 buildCounterResourceUpdate--; | 1132 buildCounterResourceUpdate--; |
| 1133 return o; | 1133 return o; |
| 1134 } | 1134 } |
| 1135 | 1135 |
| 1136 checkResourceUpdate(api.ResourceUpdate o) { | 1136 checkResourceUpdate(api.ResourceUpdate o) { |
| 1137 buildCounterResourceUpdate++; | 1137 buildCounterResourceUpdate++; |
| 1138 if (buildCounterResourceUpdate < 3) { | 1138 if (buildCounterResourceUpdate < 3) { |
| 1139 checkResourceAccessControl(o.accessControl); | 1139 checkResourceAccessControl(o.accessControl); |
| 1140 checkResourceUpdateError(o.error); | 1140 checkResourceUpdateError(o.error); |
| 1141 unittest.expect(o.finalProperties, unittest.equals('foo')); | 1141 unittest.expect(o.finalProperties, unittest.equals('foo')); |
| 1142 unittest.expect(o.intent, unittest.equals('foo')); | 1142 unittest.expect(o.intent, unittest.equals('foo')); |
| 1143 unittest.expect(o.manifest, unittest.equals('foo')); | 1143 unittest.expect(o.manifest, unittest.equals('foo')); |
| 1144 unittest.expect(o.properties, unittest.equals('foo')); | 1144 unittest.expect(o.properties, unittest.equals('foo')); |
| 1145 unittest.expect(o.state, unittest.equals('foo')); | 1145 unittest.expect(o.state, unittest.equals('foo')); |
| 1146 checkUnnamed1964(o.warnings); | 1146 checkUnnamed1961(o.warnings); |
| 1147 } | 1147 } |
| 1148 buildCounterResourceUpdate--; | 1148 buildCounterResourceUpdate--; |
| 1149 } | 1149 } |
| 1150 | 1150 |
| 1151 buildUnnamed1965() { | 1151 buildUnnamed1962() { |
| 1152 var o = new core.List<api.Resource>(); | 1152 var o = new core.List<api.Resource>(); |
| 1153 o.add(buildResource()); | 1153 o.add(buildResource()); |
| 1154 o.add(buildResource()); | 1154 o.add(buildResource()); |
| 1155 return o; | 1155 return o; |
| 1156 } | 1156 } |
| 1157 | 1157 |
| 1158 checkUnnamed1965(core.List<api.Resource> o) { | 1158 checkUnnamed1962(core.List<api.Resource> o) { |
| 1159 unittest.expect(o, unittest.hasLength(2)); | 1159 unittest.expect(o, unittest.hasLength(2)); |
| 1160 checkResource(o[0]); | 1160 checkResource(o[0]); |
| 1161 checkResource(o[1]); | 1161 checkResource(o[1]); |
| 1162 } | 1162 } |
| 1163 | 1163 |
| 1164 core.int buildCounterResourcesListResponse = 0; | 1164 core.int buildCounterResourcesListResponse = 0; |
| 1165 buildResourcesListResponse() { | 1165 buildResourcesListResponse() { |
| 1166 var o = new api.ResourcesListResponse(); | 1166 var o = new api.ResourcesListResponse(); |
| 1167 buildCounterResourcesListResponse++; | 1167 buildCounterResourcesListResponse++; |
| 1168 if (buildCounterResourcesListResponse < 3) { | 1168 if (buildCounterResourcesListResponse < 3) { |
| 1169 o.nextPageToken = "foo"; | 1169 o.nextPageToken = "foo"; |
| 1170 o.resources = buildUnnamed1965(); | 1170 o.resources = buildUnnamed1962(); |
| 1171 } | 1171 } |
| 1172 buildCounterResourcesListResponse--; | 1172 buildCounterResourcesListResponse--; |
| 1173 return o; | 1173 return o; |
| 1174 } | 1174 } |
| 1175 | 1175 |
| 1176 checkResourcesListResponse(api.ResourcesListResponse o) { | 1176 checkResourcesListResponse(api.ResourcesListResponse o) { |
| 1177 buildCounterResourcesListResponse++; | 1177 buildCounterResourcesListResponse++; |
| 1178 if (buildCounterResourcesListResponse < 3) { | 1178 if (buildCounterResourcesListResponse < 3) { |
| 1179 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1179 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1180 checkUnnamed1965(o.resources); | 1180 checkUnnamed1962(o.resources); |
| 1181 } | 1181 } |
| 1182 buildCounterResourcesListResponse--; | 1182 buildCounterResourcesListResponse--; |
| 1183 } | 1183 } |
| 1184 | 1184 |
| 1185 buildUnnamed1966() { | 1185 buildUnnamed1963() { |
| 1186 var o = new core.List<api.Condition>(); | 1186 var o = new core.List<api.Condition>(); |
| 1187 o.add(buildCondition()); | 1187 o.add(buildCondition()); |
| 1188 o.add(buildCondition()); | 1188 o.add(buildCondition()); |
| 1189 return o; | 1189 return o; |
| 1190 } | 1190 } |
| 1191 | 1191 |
| 1192 checkUnnamed1966(core.List<api.Condition> o) { | 1192 checkUnnamed1963(core.List<api.Condition> o) { |
| 1193 unittest.expect(o, unittest.hasLength(2)); | 1193 unittest.expect(o, unittest.hasLength(2)); |
| 1194 checkCondition(o[0]); | 1194 checkCondition(o[0]); |
| 1195 checkCondition(o[1]); | 1195 checkCondition(o[1]); |
| 1196 } | 1196 } |
| 1197 | 1197 |
| 1198 buildUnnamed1964() { |
| 1199 var o = new core.List<core.String>(); |
| 1200 o.add("foo"); |
| 1201 o.add("foo"); |
| 1202 return o; |
| 1203 } |
| 1204 |
| 1205 checkUnnamed1964(core.List<core.String> o) { |
| 1206 unittest.expect(o, unittest.hasLength(2)); |
| 1207 unittest.expect(o[0], unittest.equals('foo')); |
| 1208 unittest.expect(o[1], unittest.equals('foo')); |
| 1209 } |
| 1210 |
| 1211 buildUnnamed1965() { |
| 1212 var o = new core.List<api.LogConfig>(); |
| 1213 o.add(buildLogConfig()); |
| 1214 o.add(buildLogConfig()); |
| 1215 return o; |
| 1216 } |
| 1217 |
| 1218 checkUnnamed1965(core.List<api.LogConfig> o) { |
| 1219 unittest.expect(o, unittest.hasLength(2)); |
| 1220 checkLogConfig(o[0]); |
| 1221 checkLogConfig(o[1]); |
| 1222 } |
| 1223 |
| 1224 buildUnnamed1966() { |
| 1225 var o = new core.List<core.String>(); |
| 1226 o.add("foo"); |
| 1227 o.add("foo"); |
| 1228 return o; |
| 1229 } |
| 1230 |
| 1231 checkUnnamed1966(core.List<core.String> o) { |
| 1232 unittest.expect(o, unittest.hasLength(2)); |
| 1233 unittest.expect(o[0], unittest.equals('foo')); |
| 1234 unittest.expect(o[1], unittest.equals('foo')); |
| 1235 } |
| 1236 |
| 1198 buildUnnamed1967() { | 1237 buildUnnamed1967() { |
| 1199 var o = new core.List<core.String>(); | 1238 var o = new core.List<core.String>(); |
| 1200 o.add("foo"); | 1239 o.add("foo"); |
| 1201 o.add("foo"); | 1240 o.add("foo"); |
| 1202 return o; | 1241 return o; |
| 1203 } | 1242 } |
| 1204 | 1243 |
| 1205 checkUnnamed1967(core.List<core.String> o) { | 1244 checkUnnamed1967(core.List<core.String> o) { |
| 1206 unittest.expect(o, unittest.hasLength(2)); | 1245 unittest.expect(o, unittest.hasLength(2)); |
| 1207 unittest.expect(o[0], unittest.equals('foo')); | 1246 unittest.expect(o[0], unittest.equals('foo')); |
| 1208 unittest.expect(o[1], unittest.equals('foo')); | 1247 unittest.expect(o[1], unittest.equals('foo')); |
| 1209 } | |
| 1210 | |
| 1211 buildUnnamed1968() { | |
| 1212 var o = new core.List<api.LogConfig>(); | |
| 1213 o.add(buildLogConfig()); | |
| 1214 o.add(buildLogConfig()); | |
| 1215 return o; | |
| 1216 } | |
| 1217 | |
| 1218 checkUnnamed1968(core.List<api.LogConfig> o) { | |
| 1219 unittest.expect(o, unittest.hasLength(2)); | |
| 1220 checkLogConfig(o[0]); | |
| 1221 checkLogConfig(o[1]); | |
| 1222 } | |
| 1223 | |
| 1224 buildUnnamed1969() { | |
| 1225 var o = new core.List<core.String>(); | |
| 1226 o.add("foo"); | |
| 1227 o.add("foo"); | |
| 1228 return o; | |
| 1229 } | |
| 1230 | |
| 1231 checkUnnamed1969(core.List<core.String> o) { | |
| 1232 unittest.expect(o, unittest.hasLength(2)); | |
| 1233 unittest.expect(o[0], unittest.equals('foo')); | |
| 1234 unittest.expect(o[1], unittest.equals('foo')); | |
| 1235 } | |
| 1236 | |
| 1237 buildUnnamed1970() { | |
| 1238 var o = new core.List<core.String>(); | |
| 1239 o.add("foo"); | |
| 1240 o.add("foo"); | |
| 1241 return o; | |
| 1242 } | |
| 1243 | |
| 1244 checkUnnamed1970(core.List<core.String> o) { | |
| 1245 unittest.expect(o, unittest.hasLength(2)); | |
| 1246 unittest.expect(o[0], unittest.equals('foo')); | |
| 1247 unittest.expect(o[1], unittest.equals('foo')); | |
| 1248 } | 1248 } |
| 1249 | 1249 |
| 1250 core.int buildCounterRule = 0; | 1250 core.int buildCounterRule = 0; |
| 1251 buildRule() { | 1251 buildRule() { |
| 1252 var o = new api.Rule(); | 1252 var o = new api.Rule(); |
| 1253 buildCounterRule++; | 1253 buildCounterRule++; |
| 1254 if (buildCounterRule < 3) { | 1254 if (buildCounterRule < 3) { |
| 1255 o.action = "foo"; | 1255 o.action = "foo"; |
| 1256 o.conditions = buildUnnamed1966(); | 1256 o.conditions = buildUnnamed1963(); |
| 1257 o.description = "foo"; | 1257 o.description = "foo"; |
| 1258 o.ins = buildUnnamed1967(); | 1258 o.ins = buildUnnamed1964(); |
| 1259 o.logConfigs = buildUnnamed1968(); | 1259 o.logConfigs = buildUnnamed1965(); |
| 1260 o.notIns = buildUnnamed1969(); | 1260 o.notIns = buildUnnamed1966(); |
| 1261 o.permissions = buildUnnamed1970(); | 1261 o.permissions = buildUnnamed1967(); |
| 1262 } | 1262 } |
| 1263 buildCounterRule--; | 1263 buildCounterRule--; |
| 1264 return o; | 1264 return o; |
| 1265 } | 1265 } |
| 1266 | 1266 |
| 1267 checkRule(api.Rule o) { | 1267 checkRule(api.Rule o) { |
| 1268 buildCounterRule++; | 1268 buildCounterRule++; |
| 1269 if (buildCounterRule < 3) { | 1269 if (buildCounterRule < 3) { |
| 1270 unittest.expect(o.action, unittest.equals('foo')); | 1270 unittest.expect(o.action, unittest.equals('foo')); |
| 1271 checkUnnamed1966(o.conditions); | 1271 checkUnnamed1963(o.conditions); |
| 1272 unittest.expect(o.description, unittest.equals('foo')); | 1272 unittest.expect(o.description, unittest.equals('foo')); |
| 1273 checkUnnamed1967(o.ins); | 1273 checkUnnamed1964(o.ins); |
| 1274 checkUnnamed1968(o.logConfigs); | 1274 checkUnnamed1965(o.logConfigs); |
| 1275 checkUnnamed1969(o.notIns); | 1275 checkUnnamed1966(o.notIns); |
| 1276 checkUnnamed1970(o.permissions); | 1276 checkUnnamed1967(o.permissions); |
| 1277 } | 1277 } |
| 1278 buildCounterRule--; | 1278 buildCounterRule--; |
| 1279 } | 1279 } |
| 1280 | 1280 |
| 1281 buildUnnamed1971() { | 1281 buildUnnamed1968() { |
| 1282 var o = new core.List<api.ImportFile>(); | 1282 var o = new core.List<api.ImportFile>(); |
| 1283 o.add(buildImportFile()); | 1283 o.add(buildImportFile()); |
| 1284 o.add(buildImportFile()); | 1284 o.add(buildImportFile()); |
| 1285 return o; | 1285 return o; |
| 1286 } | 1286 } |
| 1287 | 1287 |
| 1288 checkUnnamed1971(core.List<api.ImportFile> o) { | 1288 checkUnnamed1968(core.List<api.ImportFile> o) { |
| 1289 unittest.expect(o, unittest.hasLength(2)); | 1289 unittest.expect(o, unittest.hasLength(2)); |
| 1290 checkImportFile(o[0]); | 1290 checkImportFile(o[0]); |
| 1291 checkImportFile(o[1]); | 1291 checkImportFile(o[1]); |
| 1292 } | 1292 } |
| 1293 | 1293 |
| 1294 core.int buildCounterTargetConfiguration = 0; | 1294 core.int buildCounterTargetConfiguration = 0; |
| 1295 buildTargetConfiguration() { | 1295 buildTargetConfiguration() { |
| 1296 var o = new api.TargetConfiguration(); | 1296 var o = new api.TargetConfiguration(); |
| 1297 buildCounterTargetConfiguration++; | 1297 buildCounterTargetConfiguration++; |
| 1298 if (buildCounterTargetConfiguration < 3) { | 1298 if (buildCounterTargetConfiguration < 3) { |
| 1299 o.config = buildConfigFile(); | 1299 o.config = buildConfigFile(); |
| 1300 o.imports = buildUnnamed1971(); | 1300 o.imports = buildUnnamed1968(); |
| 1301 } | 1301 } |
| 1302 buildCounterTargetConfiguration--; | 1302 buildCounterTargetConfiguration--; |
| 1303 return o; | 1303 return o; |
| 1304 } | 1304 } |
| 1305 | 1305 |
| 1306 checkTargetConfiguration(api.TargetConfiguration o) { | 1306 checkTargetConfiguration(api.TargetConfiguration o) { |
| 1307 buildCounterTargetConfiguration++; | 1307 buildCounterTargetConfiguration++; |
| 1308 if (buildCounterTargetConfiguration < 3) { | 1308 if (buildCounterTargetConfiguration < 3) { |
| 1309 checkConfigFile(o.config); | 1309 checkConfigFile(o.config); |
| 1310 checkUnnamed1971(o.imports); | 1310 checkUnnamed1968(o.imports); |
| 1311 } | 1311 } |
| 1312 buildCounterTargetConfiguration--; | 1312 buildCounterTargetConfiguration--; |
| 1313 } | 1313 } |
| 1314 | 1314 |
| 1315 buildUnnamed1972() { | 1315 buildUnnamed1969() { |
| 1316 var o = new core.List<core.String>(); | 1316 var o = new core.List<core.String>(); |
| 1317 o.add("foo"); | 1317 o.add("foo"); |
| 1318 o.add("foo"); | 1318 o.add("foo"); |
| 1319 return o; | 1319 return o; |
| 1320 } | 1320 } |
| 1321 | 1321 |
| 1322 checkUnnamed1972(core.List<core.String> o) { | 1322 checkUnnamed1969(core.List<core.String> o) { |
| 1323 unittest.expect(o, unittest.hasLength(2)); | 1323 unittest.expect(o, unittest.hasLength(2)); |
| 1324 unittest.expect(o[0], unittest.equals('foo')); | 1324 unittest.expect(o[0], unittest.equals('foo')); |
| 1325 unittest.expect(o[1], unittest.equals('foo')); | 1325 unittest.expect(o[1], unittest.equals('foo')); |
| 1326 } | 1326 } |
| 1327 | 1327 |
| 1328 core.int buildCounterTestPermissionsRequest = 0; | 1328 core.int buildCounterTestPermissionsRequest = 0; |
| 1329 buildTestPermissionsRequest() { | 1329 buildTestPermissionsRequest() { |
| 1330 var o = new api.TestPermissionsRequest(); | 1330 var o = new api.TestPermissionsRequest(); |
| 1331 buildCounterTestPermissionsRequest++; | 1331 buildCounterTestPermissionsRequest++; |
| 1332 if (buildCounterTestPermissionsRequest < 3) { | 1332 if (buildCounterTestPermissionsRequest < 3) { |
| 1333 o.permissions = buildUnnamed1972(); | 1333 o.permissions = buildUnnamed1969(); |
| 1334 } | 1334 } |
| 1335 buildCounterTestPermissionsRequest--; | 1335 buildCounterTestPermissionsRequest--; |
| 1336 return o; | 1336 return o; |
| 1337 } | 1337 } |
| 1338 | 1338 |
| 1339 checkTestPermissionsRequest(api.TestPermissionsRequest o) { | 1339 checkTestPermissionsRequest(api.TestPermissionsRequest o) { |
| 1340 buildCounterTestPermissionsRequest++; | 1340 buildCounterTestPermissionsRequest++; |
| 1341 if (buildCounterTestPermissionsRequest < 3) { | 1341 if (buildCounterTestPermissionsRequest < 3) { |
| 1342 checkUnnamed1972(o.permissions); | 1342 checkUnnamed1969(o.permissions); |
| 1343 } | 1343 } |
| 1344 buildCounterTestPermissionsRequest--; | 1344 buildCounterTestPermissionsRequest--; |
| 1345 } | 1345 } |
| 1346 | 1346 |
| 1347 buildUnnamed1973() { | 1347 buildUnnamed1970() { |
| 1348 var o = new core.List<core.String>(); | 1348 var o = new core.List<core.String>(); |
| 1349 o.add("foo"); | 1349 o.add("foo"); |
| 1350 o.add("foo"); | 1350 o.add("foo"); |
| 1351 return o; | 1351 return o; |
| 1352 } | 1352 } |
| 1353 | 1353 |
| 1354 checkUnnamed1973(core.List<core.String> o) { | 1354 checkUnnamed1970(core.List<core.String> o) { |
| 1355 unittest.expect(o, unittest.hasLength(2)); | 1355 unittest.expect(o, unittest.hasLength(2)); |
| 1356 unittest.expect(o[0], unittest.equals('foo')); | 1356 unittest.expect(o[0], unittest.equals('foo')); |
| 1357 unittest.expect(o[1], unittest.equals('foo')); | 1357 unittest.expect(o[1], unittest.equals('foo')); |
| 1358 } | 1358 } |
| 1359 | 1359 |
| 1360 core.int buildCounterTestPermissionsResponse = 0; | 1360 core.int buildCounterTestPermissionsResponse = 0; |
| 1361 buildTestPermissionsResponse() { | 1361 buildTestPermissionsResponse() { |
| 1362 var o = new api.TestPermissionsResponse(); | 1362 var o = new api.TestPermissionsResponse(); |
| 1363 buildCounterTestPermissionsResponse++; | 1363 buildCounterTestPermissionsResponse++; |
| 1364 if (buildCounterTestPermissionsResponse < 3) { | 1364 if (buildCounterTestPermissionsResponse < 3) { |
| 1365 o.permissions = buildUnnamed1973(); | 1365 o.permissions = buildUnnamed1970(); |
| 1366 } | 1366 } |
| 1367 buildCounterTestPermissionsResponse--; | 1367 buildCounterTestPermissionsResponse--; |
| 1368 return o; | 1368 return o; |
| 1369 } | 1369 } |
| 1370 | 1370 |
| 1371 checkTestPermissionsResponse(api.TestPermissionsResponse o) { | 1371 checkTestPermissionsResponse(api.TestPermissionsResponse o) { |
| 1372 buildCounterTestPermissionsResponse++; | 1372 buildCounterTestPermissionsResponse++; |
| 1373 if (buildCounterTestPermissionsResponse < 3) { | 1373 if (buildCounterTestPermissionsResponse < 3) { |
| 1374 checkUnnamed1973(o.permissions); | 1374 checkUnnamed1970(o.permissions); |
| 1375 } | 1375 } |
| 1376 buildCounterTestPermissionsResponse--; | 1376 buildCounterTestPermissionsResponse--; |
| 1377 } | 1377 } |
| 1378 | 1378 |
| 1379 core.int buildCounterType = 0; | 1379 core.int buildCounterType = 0; |
| 1380 buildType() { | 1380 buildType() { |
| 1381 var o = new api.Type(); | 1381 var o = new api.Type(); |
| 1382 buildCounterType++; | 1382 buildCounterType++; |
| 1383 if (buildCounterType < 3) { | 1383 if (buildCounterType < 3) { |
| 1384 o.id = "foo"; | 1384 o.id = "foo"; |
| (...skipping 11 matching lines...) Expand all Loading... |
| 1396 if (buildCounterType < 3) { | 1396 if (buildCounterType < 3) { |
| 1397 unittest.expect(o.id, unittest.equals('foo')); | 1397 unittest.expect(o.id, unittest.equals('foo')); |
| 1398 unittest.expect(o.insertTime, unittest.equals('foo')); | 1398 unittest.expect(o.insertTime, unittest.equals('foo')); |
| 1399 unittest.expect(o.name, unittest.equals('foo')); | 1399 unittest.expect(o.name, unittest.equals('foo')); |
| 1400 checkOperation(o.operation); | 1400 checkOperation(o.operation); |
| 1401 unittest.expect(o.selfLink, unittest.equals('foo')); | 1401 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 1402 } | 1402 } |
| 1403 buildCounterType--; | 1403 buildCounterType--; |
| 1404 } | 1404 } |
| 1405 | 1405 |
| 1406 buildUnnamed1974() { | 1406 buildUnnamed1971() { |
| 1407 var o = new core.List<api.Type>(); | 1407 var o = new core.List<api.Type>(); |
| 1408 o.add(buildType()); | 1408 o.add(buildType()); |
| 1409 o.add(buildType()); | 1409 o.add(buildType()); |
| 1410 return o; | 1410 return o; |
| 1411 } | 1411 } |
| 1412 | 1412 |
| 1413 checkUnnamed1974(core.List<api.Type> o) { | 1413 checkUnnamed1971(core.List<api.Type> o) { |
| 1414 unittest.expect(o, unittest.hasLength(2)); | 1414 unittest.expect(o, unittest.hasLength(2)); |
| 1415 checkType(o[0]); | 1415 checkType(o[0]); |
| 1416 checkType(o[1]); | 1416 checkType(o[1]); |
| 1417 } | 1417 } |
| 1418 | 1418 |
| 1419 core.int buildCounterTypesListResponse = 0; | 1419 core.int buildCounterTypesListResponse = 0; |
| 1420 buildTypesListResponse() { | 1420 buildTypesListResponse() { |
| 1421 var o = new api.TypesListResponse(); | 1421 var o = new api.TypesListResponse(); |
| 1422 buildCounterTypesListResponse++; | 1422 buildCounterTypesListResponse++; |
| 1423 if (buildCounterTypesListResponse < 3) { | 1423 if (buildCounterTypesListResponse < 3) { |
| 1424 o.nextPageToken = "foo"; | 1424 o.nextPageToken = "foo"; |
| 1425 o.types = buildUnnamed1974(); | 1425 o.types = buildUnnamed1971(); |
| 1426 } | 1426 } |
| 1427 buildCounterTypesListResponse--; | 1427 buildCounterTypesListResponse--; |
| 1428 return o; | 1428 return o; |
| 1429 } | 1429 } |
| 1430 | 1430 |
| 1431 checkTypesListResponse(api.TypesListResponse o) { | 1431 checkTypesListResponse(api.TypesListResponse o) { |
| 1432 buildCounterTypesListResponse++; | 1432 buildCounterTypesListResponse++; |
| 1433 if (buildCounterTypesListResponse < 3) { | 1433 if (buildCounterTypesListResponse < 3) { |
| 1434 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1434 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1435 checkUnnamed1974(o.types); | 1435 checkUnnamed1971(o.types); |
| 1436 } | 1436 } |
| 1437 buildCounterTypesListResponse--; | 1437 buildCounterTypesListResponse--; |
| 1438 } | 1438 } |
| 1439 | 1439 |
| 1440 | 1440 |
| 1441 main() { | 1441 main() { |
| 1442 unittest.group("obj-schema-AuditConfig", () { | 1442 unittest.group("obj-schema-AuditConfig", () { |
| 1443 unittest.test("to-json--from-json", () { | 1443 unittest.test("to-json--from-json", () { |
| 1444 var o = buildAuditConfig(); | 1444 var o = buildAuditConfig(); |
| 1445 var od = new api.AuditConfig.fromJson(o.toJson()); | 1445 var od = new api.AuditConfig.fromJson(o.toJson()); |
| (...skipping 1224 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2670 res.list(arg_project, filter: arg_filter, maxResults: arg_maxResults, orde
rBy: arg_orderBy, pageToken: arg_pageToken).then(unittest.expectAsync(((api.Type
sListResponse response) { | 2670 res.list(arg_project, filter: arg_filter, maxResults: arg_maxResults, orde
rBy: arg_orderBy, pageToken: arg_pageToken).then(unittest.expectAsync(((api.Type
sListResponse response) { |
| 2671 checkTypesListResponse(response); | 2671 checkTypesListResponse(response); |
| 2672 }))); | 2672 }))); |
| 2673 }); | 2673 }); |
| 2674 | 2674 |
| 2675 }); | 2675 }); |
| 2676 | 2676 |
| 2677 | 2677 |
| 2678 } | 2678 } |
| 2679 | 2679 |
| OLD | NEW |