OLD | NEW |
1 library googleapis.servicecontrol.v1.test; | 1 library googleapis.servicecontrol.v1.test; |
2 | 2 |
3 import "dart:core" as core; | 3 import "dart:core" as core; |
4 import "dart:collection" as collection; | 4 import "dart:collection" as collection; |
5 import "dart:async" as async; | 5 import "dart:async" as async; |
6 import "dart:convert" as convert; | 6 import "dart:convert" as convert; |
7 | 7 |
8 import 'package:http/http.dart' as http; | 8 import 'package:http/http.dart' as http; |
9 import 'package:http/testing.dart' as http_testing; | 9 import 'package:http/testing.dart' as http_testing; |
10 import 'package:unittest/unittest.dart' as unittest; | 10 import 'package:unittest/unittest.dart' as unittest; |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 checkAllocateQuotaRequest(api.AllocateQuotaRequest o) { | 67 checkAllocateQuotaRequest(api.AllocateQuotaRequest o) { |
68 buildCounterAllocateQuotaRequest++; | 68 buildCounterAllocateQuotaRequest++; |
69 if (buildCounterAllocateQuotaRequest < 3) { | 69 if (buildCounterAllocateQuotaRequest < 3) { |
70 checkQuotaOperation(o.allocateOperation); | 70 checkQuotaOperation(o.allocateOperation); |
71 unittest.expect(o.allocationMode, unittest.equals('foo')); | 71 unittest.expect(o.allocationMode, unittest.equals('foo')); |
72 unittest.expect(o.serviceConfigId, unittest.equals('foo')); | 72 unittest.expect(o.serviceConfigId, unittest.equals('foo')); |
73 } | 73 } |
74 buildCounterAllocateQuotaRequest--; | 74 buildCounterAllocateQuotaRequest--; |
75 } | 75 } |
76 | 76 |
77 buildUnnamed1654() { | 77 buildUnnamed1421() { |
78 var o = new core.List<api.QuotaError>(); | 78 var o = new core.List<api.QuotaError>(); |
79 o.add(buildQuotaError()); | 79 o.add(buildQuotaError()); |
80 o.add(buildQuotaError()); | 80 o.add(buildQuotaError()); |
81 return o; | 81 return o; |
82 } | 82 } |
83 | 83 |
84 checkUnnamed1654(core.List<api.QuotaError> o) { | 84 checkUnnamed1421(core.List<api.QuotaError> o) { |
85 unittest.expect(o, unittest.hasLength(2)); | 85 unittest.expect(o, unittest.hasLength(2)); |
86 checkQuotaError(o[0]); | 86 checkQuotaError(o[0]); |
87 checkQuotaError(o[1]); | 87 checkQuotaError(o[1]); |
88 } | 88 } |
89 | 89 |
90 buildUnnamed1655() { | 90 buildUnnamed1422() { |
91 var o = new core.List<api.MetricValueSet>(); | 91 var o = new core.List<api.MetricValueSet>(); |
92 o.add(buildMetricValueSet()); | 92 o.add(buildMetricValueSet()); |
93 o.add(buildMetricValueSet()); | 93 o.add(buildMetricValueSet()); |
94 return o; | 94 return o; |
95 } | 95 } |
96 | 96 |
97 checkUnnamed1655(core.List<api.MetricValueSet> o) { | 97 checkUnnamed1422(core.List<api.MetricValueSet> o) { |
98 unittest.expect(o, unittest.hasLength(2)); | 98 unittest.expect(o, unittest.hasLength(2)); |
99 checkMetricValueSet(o[0]); | 99 checkMetricValueSet(o[0]); |
100 checkMetricValueSet(o[1]); | 100 checkMetricValueSet(o[1]); |
101 } | 101 } |
102 | 102 |
103 core.int buildCounterAllocateQuotaResponse = 0; | 103 core.int buildCounterAllocateQuotaResponse = 0; |
104 buildAllocateQuotaResponse() { | 104 buildAllocateQuotaResponse() { |
105 var o = new api.AllocateQuotaResponse(); | 105 var o = new api.AllocateQuotaResponse(); |
106 buildCounterAllocateQuotaResponse++; | 106 buildCounterAllocateQuotaResponse++; |
107 if (buildCounterAllocateQuotaResponse < 3) { | 107 if (buildCounterAllocateQuotaResponse < 3) { |
108 o.allocateErrors = buildUnnamed1654(); | 108 o.allocateErrors = buildUnnamed1421(); |
109 o.operationId = "foo"; | 109 o.operationId = "foo"; |
110 o.quotaMetrics = buildUnnamed1655(); | 110 o.quotaMetrics = buildUnnamed1422(); |
111 o.serviceConfigId = "foo"; | 111 o.serviceConfigId = "foo"; |
112 } | 112 } |
113 buildCounterAllocateQuotaResponse--; | 113 buildCounterAllocateQuotaResponse--; |
114 return o; | 114 return o; |
115 } | 115 } |
116 | 116 |
117 checkAllocateQuotaResponse(api.AllocateQuotaResponse o) { | 117 checkAllocateQuotaResponse(api.AllocateQuotaResponse o) { |
118 buildCounterAllocateQuotaResponse++; | 118 buildCounterAllocateQuotaResponse++; |
119 if (buildCounterAllocateQuotaResponse < 3) { | 119 if (buildCounterAllocateQuotaResponse < 3) { |
120 checkUnnamed1654(o.allocateErrors); | 120 checkUnnamed1421(o.allocateErrors); |
121 unittest.expect(o.operationId, unittest.equals('foo')); | 121 unittest.expect(o.operationId, unittest.equals('foo')); |
122 checkUnnamed1655(o.quotaMetrics); | 122 checkUnnamed1422(o.quotaMetrics); |
123 unittest.expect(o.serviceConfigId, unittest.equals('foo')); | 123 unittest.expect(o.serviceConfigId, unittest.equals('foo')); |
124 } | 124 } |
125 buildCounterAllocateQuotaResponse--; | 125 buildCounterAllocateQuotaResponse--; |
126 } | 126 } |
127 | 127 |
128 buildUnnamed1656() { | 128 buildUnnamed1423() { |
129 var o = new core.List<api.AuthorizationInfo>(); | 129 var o = new core.List<api.AuthorizationInfo>(); |
130 o.add(buildAuthorizationInfo()); | 130 o.add(buildAuthorizationInfo()); |
131 o.add(buildAuthorizationInfo()); | 131 o.add(buildAuthorizationInfo()); |
132 return o; | 132 return o; |
133 } | 133 } |
134 | 134 |
135 checkUnnamed1656(core.List<api.AuthorizationInfo> o) { | 135 checkUnnamed1423(core.List<api.AuthorizationInfo> o) { |
136 unittest.expect(o, unittest.hasLength(2)); | 136 unittest.expect(o, unittest.hasLength(2)); |
137 checkAuthorizationInfo(o[0]); | 137 checkAuthorizationInfo(o[0]); |
138 checkAuthorizationInfo(o[1]); | 138 checkAuthorizationInfo(o[1]); |
139 } | 139 } |
140 | 140 |
141 buildUnnamed1657() { | 141 buildUnnamed1424() { |
142 var o = new core.Map<core.String, core.Object>(); | 142 var o = new core.Map<core.String, core.Object>(); |
143 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 143 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
144 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 144 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
145 return o; | 145 return o; |
146 } | 146 } |
147 | 147 |
148 checkUnnamed1657(core.Map<core.String, core.Object> o) { | 148 checkUnnamed1424(core.Map<core.String, core.Object> o) { |
149 unittest.expect(o, unittest.hasLength(2)); | 149 unittest.expect(o, unittest.hasLength(2)); |
150 var casted1 = (o["x"]) as core.Map; unittest.expect(casted1, unittest.hasLengt
h(3)); unittest.expect(casted1["list"], unittest.equals([1, 2, 3])); unittest.ex
pect(casted1["bool"], unittest.equals(true)); unittest.expect(casted1["string"],
unittest.equals('foo')); | 150 var casted1 = (o["x"]) as core.Map; unittest.expect(casted1, unittest.hasLengt
h(3)); unittest.expect(casted1["list"], unittest.equals([1, 2, 3])); unittest.ex
pect(casted1["bool"], unittest.equals(true)); unittest.expect(casted1["string"],
unittest.equals('foo')); |
151 var casted2 = (o["y"]) as core.Map; unittest.expect(casted2, unittest.hasLengt
h(3)); unittest.expect(casted2["list"], unittest.equals([1, 2, 3])); unittest.ex
pect(casted2["bool"], unittest.equals(true)); unittest.expect(casted2["string"],
unittest.equals('foo')); | 151 var casted2 = (o["y"]) as core.Map; unittest.expect(casted2, unittest.hasLengt
h(3)); unittest.expect(casted2["list"], unittest.equals([1, 2, 3])); unittest.ex
pect(casted2["bool"], unittest.equals(true)); unittest.expect(casted2["string"],
unittest.equals('foo')); |
152 } | 152 } |
153 | 153 |
154 buildUnnamed1658() { | 154 buildUnnamed1425() { |
155 var o = new core.Map<core.String, core.Object>(); | 155 var o = new core.Map<core.String, core.Object>(); |
156 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 156 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
157 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 157 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
158 return o; | 158 return o; |
159 } | 159 } |
160 | 160 |
161 checkUnnamed1658(core.Map<core.String, core.Object> o) { | 161 checkUnnamed1425(core.Map<core.String, core.Object> o) { |
162 unittest.expect(o, unittest.hasLength(2)); | 162 unittest.expect(o, unittest.hasLength(2)); |
163 var casted3 = (o["x"]) as core.Map; unittest.expect(casted3, unittest.hasLengt
h(3)); unittest.expect(casted3["list"], unittest.equals([1, 2, 3])); unittest.ex
pect(casted3["bool"], unittest.equals(true)); unittest.expect(casted3["string"],
unittest.equals('foo')); | 163 var casted3 = (o["x"]) as core.Map; unittest.expect(casted3, unittest.hasLengt
h(3)); unittest.expect(casted3["list"], unittest.equals([1, 2, 3])); unittest.ex
pect(casted3["bool"], unittest.equals(true)); unittest.expect(casted3["string"],
unittest.equals('foo')); |
164 var casted4 = (o["y"]) as core.Map; unittest.expect(casted4, unittest.hasLengt
h(3)); unittest.expect(casted4["list"], unittest.equals([1, 2, 3])); unittest.ex
pect(casted4["bool"], unittest.equals(true)); unittest.expect(casted4["string"],
unittest.equals('foo')); | 164 var casted4 = (o["y"]) as core.Map; unittest.expect(casted4, unittest.hasLengt
h(3)); unittest.expect(casted4["list"], unittest.equals([1, 2, 3])); unittest.ex
pect(casted4["bool"], unittest.equals(true)); unittest.expect(casted4["string"],
unittest.equals('foo')); |
165 } | 165 } |
166 | 166 |
167 buildUnnamed1659() { | 167 buildUnnamed1426() { |
168 var o = new core.Map<core.String, core.Object>(); | 168 var o = new core.Map<core.String, core.Object>(); |
169 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 169 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
170 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 170 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
171 return o; | 171 return o; |
172 } | 172 } |
173 | 173 |
174 checkUnnamed1659(core.Map<core.String, core.Object> o) { | 174 checkUnnamed1426(core.Map<core.String, core.Object> o) { |
175 unittest.expect(o, unittest.hasLength(2)); | 175 unittest.expect(o, unittest.hasLength(2)); |
176 var casted5 = (o["x"]) as core.Map; unittest.expect(casted5, unittest.hasLengt
h(3)); unittest.expect(casted5["list"], unittest.equals([1, 2, 3])); unittest.ex
pect(casted5["bool"], unittest.equals(true)); unittest.expect(casted5["string"],
unittest.equals('foo')); | 176 var casted5 = (o["x"]) as core.Map; unittest.expect(casted5, unittest.hasLengt
h(3)); unittest.expect(casted5["list"], unittest.equals([1, 2, 3])); unittest.ex
pect(casted5["bool"], unittest.equals(true)); unittest.expect(casted5["string"],
unittest.equals('foo')); |
177 var casted6 = (o["y"]) as core.Map; unittest.expect(casted6, unittest.hasLengt
h(3)); unittest.expect(casted6["list"], unittest.equals([1, 2, 3])); unittest.ex
pect(casted6["bool"], unittest.equals(true)); unittest.expect(casted6["string"],
unittest.equals('foo')); | 177 var casted6 = (o["y"]) as core.Map; unittest.expect(casted6, unittest.hasLengt
h(3)); unittest.expect(casted6["list"], unittest.equals([1, 2, 3])); unittest.ex
pect(casted6["bool"], unittest.equals(true)); unittest.expect(casted6["string"],
unittest.equals('foo')); |
178 } | 178 } |
179 | 179 |
180 core.int buildCounterAuditLog = 0; | 180 core.int buildCounterAuditLog = 0; |
181 buildAuditLog() { | 181 buildAuditLog() { |
182 var o = new api.AuditLog(); | 182 var o = new api.AuditLog(); |
183 buildCounterAuditLog++; | 183 buildCounterAuditLog++; |
184 if (buildCounterAuditLog < 3) { | 184 if (buildCounterAuditLog < 3) { |
185 o.authenticationInfo = buildAuthenticationInfo(); | 185 o.authenticationInfo = buildAuthenticationInfo(); |
186 o.authorizationInfo = buildUnnamed1656(); | 186 o.authorizationInfo = buildUnnamed1423(); |
187 o.methodName = "foo"; | 187 o.methodName = "foo"; |
188 o.numResponseItems = "foo"; | 188 o.numResponseItems = "foo"; |
189 o.request = buildUnnamed1657(); | 189 o.request = buildUnnamed1424(); |
190 o.requestMetadata = buildRequestMetadata(); | 190 o.requestMetadata = buildRequestMetadata(); |
191 o.resourceName = "foo"; | 191 o.resourceName = "foo"; |
192 o.response = buildUnnamed1658(); | 192 o.response = buildUnnamed1425(); |
193 o.serviceData = buildUnnamed1659(); | 193 o.serviceData = buildUnnamed1426(); |
194 o.serviceName = "foo"; | 194 o.serviceName = "foo"; |
195 o.status = buildStatus(); | 195 o.status = buildStatus(); |
196 } | 196 } |
197 buildCounterAuditLog--; | 197 buildCounterAuditLog--; |
198 return o; | 198 return o; |
199 } | 199 } |
200 | 200 |
201 checkAuditLog(api.AuditLog o) { | 201 checkAuditLog(api.AuditLog o) { |
202 buildCounterAuditLog++; | 202 buildCounterAuditLog++; |
203 if (buildCounterAuditLog < 3) { | 203 if (buildCounterAuditLog < 3) { |
204 checkAuthenticationInfo(o.authenticationInfo); | 204 checkAuthenticationInfo(o.authenticationInfo); |
205 checkUnnamed1656(o.authorizationInfo); | 205 checkUnnamed1423(o.authorizationInfo); |
206 unittest.expect(o.methodName, unittest.equals('foo')); | 206 unittest.expect(o.methodName, unittest.equals('foo')); |
207 unittest.expect(o.numResponseItems, unittest.equals('foo')); | 207 unittest.expect(o.numResponseItems, unittest.equals('foo')); |
208 checkUnnamed1657(o.request); | 208 checkUnnamed1424(o.request); |
209 checkRequestMetadata(o.requestMetadata); | 209 checkRequestMetadata(o.requestMetadata); |
210 unittest.expect(o.resourceName, unittest.equals('foo')); | 210 unittest.expect(o.resourceName, unittest.equals('foo')); |
211 checkUnnamed1658(o.response); | 211 checkUnnamed1425(o.response); |
212 checkUnnamed1659(o.serviceData); | 212 checkUnnamed1426(o.serviceData); |
213 unittest.expect(o.serviceName, unittest.equals('foo')); | 213 unittest.expect(o.serviceName, unittest.equals('foo')); |
214 checkStatus(o.status); | 214 checkStatus(o.status); |
215 } | 215 } |
216 buildCounterAuditLog--; | 216 buildCounterAuditLog--; |
217 } | 217 } |
218 | 218 |
219 core.int buildCounterAuthenticationInfo = 0; | 219 core.int buildCounterAuthenticationInfo = 0; |
220 buildAuthenticationInfo() { | 220 buildAuthenticationInfo() { |
221 var o = new api.AuthenticationInfo(); | 221 var o = new api.AuthenticationInfo(); |
222 buildCounterAuthenticationInfo++; | 222 buildCounterAuthenticationInfo++; |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
274 | 274 |
275 checkCheckError(api.CheckError o) { | 275 checkCheckError(api.CheckError o) { |
276 buildCounterCheckError++; | 276 buildCounterCheckError++; |
277 if (buildCounterCheckError < 3) { | 277 if (buildCounterCheckError < 3) { |
278 unittest.expect(o.code, unittest.equals('foo')); | 278 unittest.expect(o.code, unittest.equals('foo')); |
279 unittest.expect(o.detail, unittest.equals('foo')); | 279 unittest.expect(o.detail, unittest.equals('foo')); |
280 } | 280 } |
281 buildCounterCheckError--; | 281 buildCounterCheckError--; |
282 } | 282 } |
283 | 283 |
284 buildUnnamed1660() { | 284 buildUnnamed1427() { |
285 var o = new core.List<core.String>(); | 285 var o = new core.List<core.String>(); |
286 o.add("foo"); | 286 o.add("foo"); |
287 o.add("foo"); | 287 o.add("foo"); |
288 return o; | 288 return o; |
289 } | 289 } |
290 | 290 |
291 checkUnnamed1660(core.List<core.String> o) { | 291 checkUnnamed1427(core.List<core.String> o) { |
292 unittest.expect(o, unittest.hasLength(2)); | 292 unittest.expect(o, unittest.hasLength(2)); |
293 unittest.expect(o[0], unittest.equals('foo')); | 293 unittest.expect(o[0], unittest.equals('foo')); |
294 unittest.expect(o[1], unittest.equals('foo')); | 294 unittest.expect(o[1], unittest.equals('foo')); |
295 } | 295 } |
296 | 296 |
297 core.int buildCounterCheckInfo = 0; | 297 core.int buildCounterCheckInfo = 0; |
298 buildCheckInfo() { | 298 buildCheckInfo() { |
299 var o = new api.CheckInfo(); | 299 var o = new api.CheckInfo(); |
300 buildCounterCheckInfo++; | 300 buildCounterCheckInfo++; |
301 if (buildCounterCheckInfo < 3) { | 301 if (buildCounterCheckInfo < 3) { |
302 o.unusedArguments = buildUnnamed1660(); | 302 o.unusedArguments = buildUnnamed1427(); |
303 } | 303 } |
304 buildCounterCheckInfo--; | 304 buildCounterCheckInfo--; |
305 return o; | 305 return o; |
306 } | 306 } |
307 | 307 |
308 checkCheckInfo(api.CheckInfo o) { | 308 checkCheckInfo(api.CheckInfo o) { |
309 buildCounterCheckInfo++; | 309 buildCounterCheckInfo++; |
310 if (buildCounterCheckInfo < 3) { | 310 if (buildCounterCheckInfo < 3) { |
311 checkUnnamed1660(o.unusedArguments); | 311 checkUnnamed1427(o.unusedArguments); |
312 } | 312 } |
313 buildCounterCheckInfo--; | 313 buildCounterCheckInfo--; |
314 } | 314 } |
315 | 315 |
316 core.int buildCounterCheckRequest = 0; | 316 core.int buildCounterCheckRequest = 0; |
317 buildCheckRequest() { | 317 buildCheckRequest() { |
318 var o = new api.CheckRequest(); | 318 var o = new api.CheckRequest(); |
319 buildCounterCheckRequest++; | 319 buildCounterCheckRequest++; |
320 if (buildCounterCheckRequest < 3) { | 320 if (buildCounterCheckRequest < 3) { |
321 o.operation = buildOperation(); | 321 o.operation = buildOperation(); |
322 o.requestProjectSettings = true; | 322 o.requestProjectSettings = true; |
323 o.serviceConfigId = "foo"; | 323 o.serviceConfigId = "foo"; |
324 o.skipActivationCheck = true; | 324 o.skipActivationCheck = true; |
325 } | 325 } |
326 buildCounterCheckRequest--; | 326 buildCounterCheckRequest--; |
327 return o; | 327 return o; |
328 } | 328 } |
329 | 329 |
330 checkCheckRequest(api.CheckRequest o) { | 330 checkCheckRequest(api.CheckRequest o) { |
331 buildCounterCheckRequest++; | 331 buildCounterCheckRequest++; |
332 if (buildCounterCheckRequest < 3) { | 332 if (buildCounterCheckRequest < 3) { |
333 checkOperation(o.operation); | 333 checkOperation(o.operation); |
334 unittest.expect(o.requestProjectSettings, unittest.isTrue); | 334 unittest.expect(o.requestProjectSettings, unittest.isTrue); |
335 unittest.expect(o.serviceConfigId, unittest.equals('foo')); | 335 unittest.expect(o.serviceConfigId, unittest.equals('foo')); |
336 unittest.expect(o.skipActivationCheck, unittest.isTrue); | 336 unittest.expect(o.skipActivationCheck, unittest.isTrue); |
337 } | 337 } |
338 buildCounterCheckRequest--; | 338 buildCounterCheckRequest--; |
339 } | 339 } |
340 | 340 |
341 buildUnnamed1661() { | 341 buildUnnamed1428() { |
342 var o = new core.List<api.CheckError>(); | 342 var o = new core.List<api.CheckError>(); |
343 o.add(buildCheckError()); | 343 o.add(buildCheckError()); |
344 o.add(buildCheckError()); | 344 o.add(buildCheckError()); |
345 return o; | 345 return o; |
346 } | 346 } |
347 | 347 |
348 checkUnnamed1661(core.List<api.CheckError> o) { | 348 checkUnnamed1428(core.List<api.CheckError> o) { |
349 unittest.expect(o, unittest.hasLength(2)); | 349 unittest.expect(o, unittest.hasLength(2)); |
350 checkCheckError(o[0]); | 350 checkCheckError(o[0]); |
351 checkCheckError(o[1]); | 351 checkCheckError(o[1]); |
352 } | 352 } |
353 | 353 |
354 core.int buildCounterCheckResponse = 0; | 354 core.int buildCounterCheckResponse = 0; |
355 buildCheckResponse() { | 355 buildCheckResponse() { |
356 var o = new api.CheckResponse(); | 356 var o = new api.CheckResponse(); |
357 buildCounterCheckResponse++; | 357 buildCounterCheckResponse++; |
358 if (buildCounterCheckResponse < 3) { | 358 if (buildCounterCheckResponse < 3) { |
359 o.checkErrors = buildUnnamed1661(); | 359 o.checkErrors = buildUnnamed1428(); |
360 o.checkInfo = buildCheckInfo(); | 360 o.checkInfo = buildCheckInfo(); |
361 o.operationId = "foo"; | 361 o.operationId = "foo"; |
362 o.quotaInfo = buildQuotaInfo(); | 362 o.quotaInfo = buildQuotaInfo(); |
363 o.serviceConfigId = "foo"; | 363 o.serviceConfigId = "foo"; |
364 } | 364 } |
365 buildCounterCheckResponse--; | 365 buildCounterCheckResponse--; |
366 return o; | 366 return o; |
367 } | 367 } |
368 | 368 |
369 checkCheckResponse(api.CheckResponse o) { | 369 checkCheckResponse(api.CheckResponse o) { |
370 buildCounterCheckResponse++; | 370 buildCounterCheckResponse++; |
371 if (buildCounterCheckResponse < 3) { | 371 if (buildCounterCheckResponse < 3) { |
372 checkUnnamed1661(o.checkErrors); | 372 checkUnnamed1428(o.checkErrors); |
373 checkCheckInfo(o.checkInfo); | 373 checkCheckInfo(o.checkInfo); |
374 unittest.expect(o.operationId, unittest.equals('foo')); | 374 unittest.expect(o.operationId, unittest.equals('foo')); |
375 checkQuotaInfo(o.quotaInfo); | 375 checkQuotaInfo(o.quotaInfo); |
376 unittest.expect(o.serviceConfigId, unittest.equals('foo')); | 376 unittest.expect(o.serviceConfigId, unittest.equals('foo')); |
377 } | 377 } |
378 buildCounterCheckResponse--; | 378 buildCounterCheckResponse--; |
379 } | 379 } |
380 | 380 |
381 buildUnnamed1662() { | 381 buildUnnamed1429() { |
382 var o = new core.List<core.String>(); | 382 var o = new core.List<core.String>(); |
383 o.add("foo"); | 383 o.add("foo"); |
384 o.add("foo"); | 384 o.add("foo"); |
385 return o; | 385 return o; |
386 } | 386 } |
387 | 387 |
388 checkUnnamed1662(core.List<core.String> o) { | 388 checkUnnamed1429(core.List<core.String> o) { |
389 unittest.expect(o, unittest.hasLength(2)); | 389 unittest.expect(o, unittest.hasLength(2)); |
390 unittest.expect(o[0], unittest.equals('foo')); | 390 unittest.expect(o[0], unittest.equals('foo')); |
391 unittest.expect(o[1], unittest.equals('foo')); | 391 unittest.expect(o[1], unittest.equals('foo')); |
392 } | 392 } |
393 | 393 |
394 core.int buildCounterDistribution = 0; | 394 core.int buildCounterDistribution = 0; |
395 buildDistribution() { | 395 buildDistribution() { |
396 var o = new api.Distribution(); | 396 var o = new api.Distribution(); |
397 buildCounterDistribution++; | 397 buildCounterDistribution++; |
398 if (buildCounterDistribution < 3) { | 398 if (buildCounterDistribution < 3) { |
399 o.bucketCounts = buildUnnamed1662(); | 399 o.bucketCounts = buildUnnamed1429(); |
400 o.count = "foo"; | 400 o.count = "foo"; |
401 o.explicitBuckets = buildExplicitBuckets(); | 401 o.explicitBuckets = buildExplicitBuckets(); |
402 o.exponentialBuckets = buildExponentialBuckets(); | 402 o.exponentialBuckets = buildExponentialBuckets(); |
403 o.linearBuckets = buildLinearBuckets(); | 403 o.linearBuckets = buildLinearBuckets(); |
404 o.maximum = 42.0; | 404 o.maximum = 42.0; |
405 o.mean = 42.0; | 405 o.mean = 42.0; |
406 o.minimum = 42.0; | 406 o.minimum = 42.0; |
407 o.sumOfSquaredDeviation = 42.0; | 407 o.sumOfSquaredDeviation = 42.0; |
408 } | 408 } |
409 buildCounterDistribution--; | 409 buildCounterDistribution--; |
410 return o; | 410 return o; |
411 } | 411 } |
412 | 412 |
413 checkDistribution(api.Distribution o) { | 413 checkDistribution(api.Distribution o) { |
414 buildCounterDistribution++; | 414 buildCounterDistribution++; |
415 if (buildCounterDistribution < 3) { | 415 if (buildCounterDistribution < 3) { |
416 checkUnnamed1662(o.bucketCounts); | 416 checkUnnamed1429(o.bucketCounts); |
417 unittest.expect(o.count, unittest.equals('foo')); | 417 unittest.expect(o.count, unittest.equals('foo')); |
418 checkExplicitBuckets(o.explicitBuckets); | 418 checkExplicitBuckets(o.explicitBuckets); |
419 checkExponentialBuckets(o.exponentialBuckets); | 419 checkExponentialBuckets(o.exponentialBuckets); |
420 checkLinearBuckets(o.linearBuckets); | 420 checkLinearBuckets(o.linearBuckets); |
421 unittest.expect(o.maximum, unittest.equals(42.0)); | 421 unittest.expect(o.maximum, unittest.equals(42.0)); |
422 unittest.expect(o.mean, unittest.equals(42.0)); | 422 unittest.expect(o.mean, unittest.equals(42.0)); |
423 unittest.expect(o.minimum, unittest.equals(42.0)); | 423 unittest.expect(o.minimum, unittest.equals(42.0)); |
424 unittest.expect(o.sumOfSquaredDeviation, unittest.equals(42.0)); | 424 unittest.expect(o.sumOfSquaredDeviation, unittest.equals(42.0)); |
425 } | 425 } |
426 buildCounterDistribution--; | 426 buildCounterDistribution--; |
(...skipping 13 matching lines...) Expand all Loading... |
440 | 440 |
441 checkEndReconciliationRequest(api.EndReconciliationRequest o) { | 441 checkEndReconciliationRequest(api.EndReconciliationRequest o) { |
442 buildCounterEndReconciliationRequest++; | 442 buildCounterEndReconciliationRequest++; |
443 if (buildCounterEndReconciliationRequest < 3) { | 443 if (buildCounterEndReconciliationRequest < 3) { |
444 checkQuotaOperation(o.reconciliationOperation); | 444 checkQuotaOperation(o.reconciliationOperation); |
445 unittest.expect(o.serviceConfigId, unittest.equals('foo')); | 445 unittest.expect(o.serviceConfigId, unittest.equals('foo')); |
446 } | 446 } |
447 buildCounterEndReconciliationRequest--; | 447 buildCounterEndReconciliationRequest--; |
448 } | 448 } |
449 | 449 |
450 buildUnnamed1663() { | 450 buildUnnamed1430() { |
451 var o = new core.List<api.MetricValueSet>(); | 451 var o = new core.List<api.MetricValueSet>(); |
452 o.add(buildMetricValueSet()); | 452 o.add(buildMetricValueSet()); |
453 o.add(buildMetricValueSet()); | 453 o.add(buildMetricValueSet()); |
454 return o; | 454 return o; |
455 } | 455 } |
456 | 456 |
457 checkUnnamed1663(core.List<api.MetricValueSet> o) { | 457 checkUnnamed1430(core.List<api.MetricValueSet> o) { |
458 unittest.expect(o, unittest.hasLength(2)); | 458 unittest.expect(o, unittest.hasLength(2)); |
459 checkMetricValueSet(o[0]); | 459 checkMetricValueSet(o[0]); |
460 checkMetricValueSet(o[1]); | 460 checkMetricValueSet(o[1]); |
461 } | 461 } |
462 | 462 |
463 buildUnnamed1664() { | 463 buildUnnamed1431() { |
464 var o = new core.List<api.QuotaError>(); | 464 var o = new core.List<api.QuotaError>(); |
465 o.add(buildQuotaError()); | 465 o.add(buildQuotaError()); |
466 o.add(buildQuotaError()); | 466 o.add(buildQuotaError()); |
467 return o; | 467 return o; |
468 } | 468 } |
469 | 469 |
470 checkUnnamed1664(core.List<api.QuotaError> o) { | 470 checkUnnamed1431(core.List<api.QuotaError> o) { |
471 unittest.expect(o, unittest.hasLength(2)); | 471 unittest.expect(o, unittest.hasLength(2)); |
472 checkQuotaError(o[0]); | 472 checkQuotaError(o[0]); |
473 checkQuotaError(o[1]); | 473 checkQuotaError(o[1]); |
474 } | 474 } |
475 | 475 |
476 core.int buildCounterEndReconciliationResponse = 0; | 476 core.int buildCounterEndReconciliationResponse = 0; |
477 buildEndReconciliationResponse() { | 477 buildEndReconciliationResponse() { |
478 var o = new api.EndReconciliationResponse(); | 478 var o = new api.EndReconciliationResponse(); |
479 buildCounterEndReconciliationResponse++; | 479 buildCounterEndReconciliationResponse++; |
480 if (buildCounterEndReconciliationResponse < 3) { | 480 if (buildCounterEndReconciliationResponse < 3) { |
481 o.operationId = "foo"; | 481 o.operationId = "foo"; |
482 o.quotaMetrics = buildUnnamed1663(); | 482 o.quotaMetrics = buildUnnamed1430(); |
483 o.reconciliationErrors = buildUnnamed1664(); | 483 o.reconciliationErrors = buildUnnamed1431(); |
484 o.serviceConfigId = "foo"; | 484 o.serviceConfigId = "foo"; |
485 } | 485 } |
486 buildCounterEndReconciliationResponse--; | 486 buildCounterEndReconciliationResponse--; |
487 return o; | 487 return o; |
488 } | 488 } |
489 | 489 |
490 checkEndReconciliationResponse(api.EndReconciliationResponse o) { | 490 checkEndReconciliationResponse(api.EndReconciliationResponse o) { |
491 buildCounterEndReconciliationResponse++; | 491 buildCounterEndReconciliationResponse++; |
492 if (buildCounterEndReconciliationResponse < 3) { | 492 if (buildCounterEndReconciliationResponse < 3) { |
493 unittest.expect(o.operationId, unittest.equals('foo')); | 493 unittest.expect(o.operationId, unittest.equals('foo')); |
494 checkUnnamed1663(o.quotaMetrics); | 494 checkUnnamed1430(o.quotaMetrics); |
495 checkUnnamed1664(o.reconciliationErrors); | 495 checkUnnamed1431(o.reconciliationErrors); |
496 unittest.expect(o.serviceConfigId, unittest.equals('foo')); | 496 unittest.expect(o.serviceConfigId, unittest.equals('foo')); |
497 } | 497 } |
498 buildCounterEndReconciliationResponse--; | 498 buildCounterEndReconciliationResponse--; |
499 } | 499 } |
500 | 500 |
501 buildUnnamed1665() { | 501 buildUnnamed1432() { |
502 var o = new core.List<core.double>(); | 502 var o = new core.List<core.double>(); |
503 o.add(42.0); | 503 o.add(42.0); |
504 o.add(42.0); | 504 o.add(42.0); |
505 return o; | 505 return o; |
506 } | 506 } |
507 | 507 |
508 checkUnnamed1665(core.List<core.double> o) { | 508 checkUnnamed1432(core.List<core.double> o) { |
509 unittest.expect(o, unittest.hasLength(2)); | 509 unittest.expect(o, unittest.hasLength(2)); |
510 unittest.expect(o[0], unittest.equals(42.0)); | 510 unittest.expect(o[0], unittest.equals(42.0)); |
511 unittest.expect(o[1], unittest.equals(42.0)); | 511 unittest.expect(o[1], unittest.equals(42.0)); |
512 } | 512 } |
513 | 513 |
514 core.int buildCounterExplicitBuckets = 0; | 514 core.int buildCounterExplicitBuckets = 0; |
515 buildExplicitBuckets() { | 515 buildExplicitBuckets() { |
516 var o = new api.ExplicitBuckets(); | 516 var o = new api.ExplicitBuckets(); |
517 buildCounterExplicitBuckets++; | 517 buildCounterExplicitBuckets++; |
518 if (buildCounterExplicitBuckets < 3) { | 518 if (buildCounterExplicitBuckets < 3) { |
519 o.bounds = buildUnnamed1665(); | 519 o.bounds = buildUnnamed1432(); |
520 } | 520 } |
521 buildCounterExplicitBuckets--; | 521 buildCounterExplicitBuckets--; |
522 return o; | 522 return o; |
523 } | 523 } |
524 | 524 |
525 checkExplicitBuckets(api.ExplicitBuckets o) { | 525 checkExplicitBuckets(api.ExplicitBuckets o) { |
526 buildCounterExplicitBuckets++; | 526 buildCounterExplicitBuckets++; |
527 if (buildCounterExplicitBuckets < 3) { | 527 if (buildCounterExplicitBuckets < 3) { |
528 checkUnnamed1665(o.bounds); | 528 checkUnnamed1432(o.bounds); |
529 } | 529 } |
530 buildCounterExplicitBuckets--; | 530 buildCounterExplicitBuckets--; |
531 } | 531 } |
532 | 532 |
533 core.int buildCounterExponentialBuckets = 0; | 533 core.int buildCounterExponentialBuckets = 0; |
534 buildExponentialBuckets() { | 534 buildExponentialBuckets() { |
535 var o = new api.ExponentialBuckets(); | 535 var o = new api.ExponentialBuckets(); |
536 buildCounterExponentialBuckets++; | 536 buildCounterExponentialBuckets++; |
537 if (buildCounterExponentialBuckets < 3) { | 537 if (buildCounterExponentialBuckets < 3) { |
538 o.growthFactor = 42.0; | 538 o.growthFactor = 42.0; |
(...skipping 30 matching lines...) Expand all Loading... |
569 checkLinearBuckets(api.LinearBuckets o) { | 569 checkLinearBuckets(api.LinearBuckets o) { |
570 buildCounterLinearBuckets++; | 570 buildCounterLinearBuckets++; |
571 if (buildCounterLinearBuckets < 3) { | 571 if (buildCounterLinearBuckets < 3) { |
572 unittest.expect(o.numFiniteBuckets, unittest.equals(42)); | 572 unittest.expect(o.numFiniteBuckets, unittest.equals(42)); |
573 unittest.expect(o.offset, unittest.equals(42.0)); | 573 unittest.expect(o.offset, unittest.equals(42.0)); |
574 unittest.expect(o.width, unittest.equals(42.0)); | 574 unittest.expect(o.width, unittest.equals(42.0)); |
575 } | 575 } |
576 buildCounterLinearBuckets--; | 576 buildCounterLinearBuckets--; |
577 } | 577 } |
578 | 578 |
579 buildUnnamed1666() { | 579 buildUnnamed1433() { |
580 var o = new core.Map<core.String, core.String>(); | 580 var o = new core.Map<core.String, core.String>(); |
581 o["x"] = "foo"; | 581 o["x"] = "foo"; |
582 o["y"] = "foo"; | 582 o["y"] = "foo"; |
583 return o; | 583 return o; |
584 } | 584 } |
585 | 585 |
586 checkUnnamed1666(core.Map<core.String, core.String> o) { | 586 checkUnnamed1433(core.Map<core.String, core.String> o) { |
587 unittest.expect(o, unittest.hasLength(2)); | 587 unittest.expect(o, unittest.hasLength(2)); |
588 unittest.expect(o["x"], unittest.equals('foo')); | 588 unittest.expect(o["x"], unittest.equals('foo')); |
589 unittest.expect(o["y"], unittest.equals('foo')); | 589 unittest.expect(o["y"], unittest.equals('foo')); |
590 } | 590 } |
591 | 591 |
592 buildUnnamed1667() { | 592 buildUnnamed1434() { |
593 var o = new core.Map<core.String, core.Object>(); | 593 var o = new core.Map<core.String, core.Object>(); |
594 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 594 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
595 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 595 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
596 return o; | 596 return o; |
597 } | 597 } |
598 | 598 |
599 checkUnnamed1667(core.Map<core.String, core.Object> o) { | 599 checkUnnamed1434(core.Map<core.String, core.Object> o) { |
600 unittest.expect(o, unittest.hasLength(2)); | 600 unittest.expect(o, unittest.hasLength(2)); |
601 var casted7 = (o["x"]) as core.Map; unittest.expect(casted7, unittest.hasLengt
h(3)); unittest.expect(casted7["list"], unittest.equals([1, 2, 3])); unittest.ex
pect(casted7["bool"], unittest.equals(true)); unittest.expect(casted7["string"],
unittest.equals('foo')); | 601 var casted7 = (o["x"]) as core.Map; unittest.expect(casted7, unittest.hasLengt
h(3)); unittest.expect(casted7["list"], unittest.equals([1, 2, 3])); unittest.ex
pect(casted7["bool"], unittest.equals(true)); unittest.expect(casted7["string"],
unittest.equals('foo')); |
602 var casted8 = (o["y"]) as core.Map; unittest.expect(casted8, unittest.hasLengt
h(3)); unittest.expect(casted8["list"], unittest.equals([1, 2, 3])); unittest.ex
pect(casted8["bool"], unittest.equals(true)); unittest.expect(casted8["string"],
unittest.equals('foo')); | 602 var casted8 = (o["y"]) as core.Map; unittest.expect(casted8, unittest.hasLengt
h(3)); unittest.expect(casted8["list"], unittest.equals([1, 2, 3])); unittest.ex
pect(casted8["bool"], unittest.equals(true)); unittest.expect(casted8["string"],
unittest.equals('foo')); |
603 } | 603 } |
604 | 604 |
605 buildUnnamed1668() { | 605 buildUnnamed1435() { |
606 var o = new core.Map<core.String, core.Object>(); | 606 var o = new core.Map<core.String, core.Object>(); |
607 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 607 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
608 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 608 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
609 return o; | 609 return o; |
610 } | 610 } |
611 | 611 |
612 checkUnnamed1668(core.Map<core.String, core.Object> o) { | 612 checkUnnamed1435(core.Map<core.String, core.Object> o) { |
613 unittest.expect(o, unittest.hasLength(2)); | 613 unittest.expect(o, unittest.hasLength(2)); |
614 var casted9 = (o["x"]) as core.Map; unittest.expect(casted9, unittest.hasLengt
h(3)); unittest.expect(casted9["list"], unittest.equals([1, 2, 3])); unittest.ex
pect(casted9["bool"], unittest.equals(true)); unittest.expect(casted9["string"],
unittest.equals('foo')); | 614 var casted9 = (o["x"]) as core.Map; unittest.expect(casted9, unittest.hasLengt
h(3)); unittest.expect(casted9["list"], unittest.equals([1, 2, 3])); unittest.ex
pect(casted9["bool"], unittest.equals(true)); unittest.expect(casted9["string"],
unittest.equals('foo')); |
615 var casted10 = (o["y"]) as core.Map; unittest.expect(casted10, unittest.hasLen
gth(3)); unittest.expect(casted10["list"], unittest.equals([1, 2, 3])); unittest
.expect(casted10["bool"], unittest.equals(true)); unittest.expect(casted10["stri
ng"], unittest.equals('foo')); | 615 var casted10 = (o["y"]) as core.Map; unittest.expect(casted10, unittest.hasLen
gth(3)); unittest.expect(casted10["list"], unittest.equals([1, 2, 3])); unittest
.expect(casted10["bool"], unittest.equals(true)); unittest.expect(casted10["stri
ng"], unittest.equals('foo')); |
616 } | 616 } |
617 | 617 |
618 core.int buildCounterLogEntry = 0; | 618 core.int buildCounterLogEntry = 0; |
619 buildLogEntry() { | 619 buildLogEntry() { |
620 var o = new api.LogEntry(); | 620 var o = new api.LogEntry(); |
621 buildCounterLogEntry++; | 621 buildCounterLogEntry++; |
622 if (buildCounterLogEntry < 3) { | 622 if (buildCounterLogEntry < 3) { |
623 o.insertId = "foo"; | 623 o.insertId = "foo"; |
624 o.labels = buildUnnamed1666(); | 624 o.labels = buildUnnamed1433(); |
625 o.name = "foo"; | 625 o.name = "foo"; |
626 o.protoPayload = buildUnnamed1667(); | 626 o.protoPayload = buildUnnamed1434(); |
627 o.severity = "foo"; | 627 o.severity = "foo"; |
628 o.structPayload = buildUnnamed1668(); | 628 o.structPayload = buildUnnamed1435(); |
629 o.textPayload = "foo"; | 629 o.textPayload = "foo"; |
630 o.timestamp = "foo"; | 630 o.timestamp = "foo"; |
631 } | 631 } |
632 buildCounterLogEntry--; | 632 buildCounterLogEntry--; |
633 return o; | 633 return o; |
634 } | 634 } |
635 | 635 |
636 checkLogEntry(api.LogEntry o) { | 636 checkLogEntry(api.LogEntry o) { |
637 buildCounterLogEntry++; | 637 buildCounterLogEntry++; |
638 if (buildCounterLogEntry < 3) { | 638 if (buildCounterLogEntry < 3) { |
639 unittest.expect(o.insertId, unittest.equals('foo')); | 639 unittest.expect(o.insertId, unittest.equals('foo')); |
640 checkUnnamed1666(o.labels); | 640 checkUnnamed1433(o.labels); |
641 unittest.expect(o.name, unittest.equals('foo')); | 641 unittest.expect(o.name, unittest.equals('foo')); |
642 checkUnnamed1667(o.protoPayload); | 642 checkUnnamed1434(o.protoPayload); |
643 unittest.expect(o.severity, unittest.equals('foo')); | 643 unittest.expect(o.severity, unittest.equals('foo')); |
644 checkUnnamed1668(o.structPayload); | 644 checkUnnamed1435(o.structPayload); |
645 unittest.expect(o.textPayload, unittest.equals('foo')); | 645 unittest.expect(o.textPayload, unittest.equals('foo')); |
646 unittest.expect(o.timestamp, unittest.equals('foo')); | 646 unittest.expect(o.timestamp, unittest.equals('foo')); |
647 } | 647 } |
648 buildCounterLogEntry--; | 648 buildCounterLogEntry--; |
649 } | 649 } |
650 | 650 |
651 buildUnnamed1669() { | 651 buildUnnamed1436() { |
652 var o = new core.Map<core.String, core.String>(); | 652 var o = new core.Map<core.String, core.String>(); |
653 o["x"] = "foo"; | 653 o["x"] = "foo"; |
654 o["y"] = "foo"; | 654 o["y"] = "foo"; |
655 return o; | 655 return o; |
656 } | 656 } |
657 | 657 |
658 checkUnnamed1669(core.Map<core.String, core.String> o) { | 658 checkUnnamed1436(core.Map<core.String, core.String> o) { |
659 unittest.expect(o, unittest.hasLength(2)); | 659 unittest.expect(o, unittest.hasLength(2)); |
660 unittest.expect(o["x"], unittest.equals('foo')); | 660 unittest.expect(o["x"], unittest.equals('foo')); |
661 unittest.expect(o["y"], unittest.equals('foo')); | 661 unittest.expect(o["y"], unittest.equals('foo')); |
662 } | 662 } |
663 | 663 |
664 core.int buildCounterMetricValue = 0; | 664 core.int buildCounterMetricValue = 0; |
665 buildMetricValue() { | 665 buildMetricValue() { |
666 var o = new api.MetricValue(); | 666 var o = new api.MetricValue(); |
667 buildCounterMetricValue++; | 667 buildCounterMetricValue++; |
668 if (buildCounterMetricValue < 3) { | 668 if (buildCounterMetricValue < 3) { |
669 o.boolValue = true; | 669 o.boolValue = true; |
670 o.distributionValue = buildDistribution(); | 670 o.distributionValue = buildDistribution(); |
671 o.doubleValue = 42.0; | 671 o.doubleValue = 42.0; |
672 o.endTime = "foo"; | 672 o.endTime = "foo"; |
673 o.int64Value = "foo"; | 673 o.int64Value = "foo"; |
674 o.labels = buildUnnamed1669(); | 674 o.labels = buildUnnamed1436(); |
675 o.moneyValue = buildMoney(); | 675 o.moneyValue = buildMoney(); |
676 o.startTime = "foo"; | 676 o.startTime = "foo"; |
677 o.stringValue = "foo"; | 677 o.stringValue = "foo"; |
678 } | 678 } |
679 buildCounterMetricValue--; | 679 buildCounterMetricValue--; |
680 return o; | 680 return o; |
681 } | 681 } |
682 | 682 |
683 checkMetricValue(api.MetricValue o) { | 683 checkMetricValue(api.MetricValue o) { |
684 buildCounterMetricValue++; | 684 buildCounterMetricValue++; |
685 if (buildCounterMetricValue < 3) { | 685 if (buildCounterMetricValue < 3) { |
686 unittest.expect(o.boolValue, unittest.isTrue); | 686 unittest.expect(o.boolValue, unittest.isTrue); |
687 checkDistribution(o.distributionValue); | 687 checkDistribution(o.distributionValue); |
688 unittest.expect(o.doubleValue, unittest.equals(42.0)); | 688 unittest.expect(o.doubleValue, unittest.equals(42.0)); |
689 unittest.expect(o.endTime, unittest.equals('foo')); | 689 unittest.expect(o.endTime, unittest.equals('foo')); |
690 unittest.expect(o.int64Value, unittest.equals('foo')); | 690 unittest.expect(o.int64Value, unittest.equals('foo')); |
691 checkUnnamed1669(o.labels); | 691 checkUnnamed1436(o.labels); |
692 checkMoney(o.moneyValue); | 692 checkMoney(o.moneyValue); |
693 unittest.expect(o.startTime, unittest.equals('foo')); | 693 unittest.expect(o.startTime, unittest.equals('foo')); |
694 unittest.expect(o.stringValue, unittest.equals('foo')); | 694 unittest.expect(o.stringValue, unittest.equals('foo')); |
695 } | 695 } |
696 buildCounterMetricValue--; | 696 buildCounterMetricValue--; |
697 } | 697 } |
698 | 698 |
699 buildUnnamed1670() { | 699 buildUnnamed1437() { |
700 var o = new core.List<api.MetricValue>(); | 700 var o = new core.List<api.MetricValue>(); |
701 o.add(buildMetricValue()); | 701 o.add(buildMetricValue()); |
702 o.add(buildMetricValue()); | 702 o.add(buildMetricValue()); |
703 return o; | 703 return o; |
704 } | 704 } |
705 | 705 |
706 checkUnnamed1670(core.List<api.MetricValue> o) { | 706 checkUnnamed1437(core.List<api.MetricValue> o) { |
707 unittest.expect(o, unittest.hasLength(2)); | 707 unittest.expect(o, unittest.hasLength(2)); |
708 checkMetricValue(o[0]); | 708 checkMetricValue(o[0]); |
709 checkMetricValue(o[1]); | 709 checkMetricValue(o[1]); |
710 } | 710 } |
711 | 711 |
712 core.int buildCounterMetricValueSet = 0; | 712 core.int buildCounterMetricValueSet = 0; |
713 buildMetricValueSet() { | 713 buildMetricValueSet() { |
714 var o = new api.MetricValueSet(); | 714 var o = new api.MetricValueSet(); |
715 buildCounterMetricValueSet++; | 715 buildCounterMetricValueSet++; |
716 if (buildCounterMetricValueSet < 3) { | 716 if (buildCounterMetricValueSet < 3) { |
717 o.metricName = "foo"; | 717 o.metricName = "foo"; |
718 o.metricValues = buildUnnamed1670(); | 718 o.metricValues = buildUnnamed1437(); |
719 } | 719 } |
720 buildCounterMetricValueSet--; | 720 buildCounterMetricValueSet--; |
721 return o; | 721 return o; |
722 } | 722 } |
723 | 723 |
724 checkMetricValueSet(api.MetricValueSet o) { | 724 checkMetricValueSet(api.MetricValueSet o) { |
725 buildCounterMetricValueSet++; | 725 buildCounterMetricValueSet++; |
726 if (buildCounterMetricValueSet < 3) { | 726 if (buildCounterMetricValueSet < 3) { |
727 unittest.expect(o.metricName, unittest.equals('foo')); | 727 unittest.expect(o.metricName, unittest.equals('foo')); |
728 checkUnnamed1670(o.metricValues); | 728 checkUnnamed1437(o.metricValues); |
729 } | 729 } |
730 buildCounterMetricValueSet--; | 730 buildCounterMetricValueSet--; |
731 } | 731 } |
732 | 732 |
733 core.int buildCounterMoney = 0; | 733 core.int buildCounterMoney = 0; |
734 buildMoney() { | 734 buildMoney() { |
735 var o = new api.Money(); | 735 var o = new api.Money(); |
736 buildCounterMoney++; | 736 buildCounterMoney++; |
737 if (buildCounterMoney < 3) { | 737 if (buildCounterMoney < 3) { |
738 o.currencyCode = "foo"; | 738 o.currencyCode = "foo"; |
739 o.nanos = 42; | 739 o.nanos = 42; |
740 o.units = "foo"; | 740 o.units = "foo"; |
741 } | 741 } |
742 buildCounterMoney--; | 742 buildCounterMoney--; |
743 return o; | 743 return o; |
744 } | 744 } |
745 | 745 |
746 checkMoney(api.Money o) { | 746 checkMoney(api.Money o) { |
747 buildCounterMoney++; | 747 buildCounterMoney++; |
748 if (buildCounterMoney < 3) { | 748 if (buildCounterMoney < 3) { |
749 unittest.expect(o.currencyCode, unittest.equals('foo')); | 749 unittest.expect(o.currencyCode, unittest.equals('foo')); |
750 unittest.expect(o.nanos, unittest.equals(42)); | 750 unittest.expect(o.nanos, unittest.equals(42)); |
751 unittest.expect(o.units, unittest.equals('foo')); | 751 unittest.expect(o.units, unittest.equals('foo')); |
752 } | 752 } |
753 buildCounterMoney--; | 753 buildCounterMoney--; |
754 } | 754 } |
755 | 755 |
756 buildUnnamed1671() { | 756 buildUnnamed1438() { |
757 var o = new core.Map<core.String, core.String>(); | 757 var o = new core.Map<core.String, core.String>(); |
758 o["x"] = "foo"; | 758 o["x"] = "foo"; |
759 o["y"] = "foo"; | 759 o["y"] = "foo"; |
760 return o; | 760 return o; |
761 } | 761 } |
762 | 762 |
763 checkUnnamed1671(core.Map<core.String, core.String> o) { | 763 checkUnnamed1438(core.Map<core.String, core.String> o) { |
764 unittest.expect(o, unittest.hasLength(2)); | 764 unittest.expect(o, unittest.hasLength(2)); |
765 unittest.expect(o["x"], unittest.equals('foo')); | 765 unittest.expect(o["x"], unittest.equals('foo')); |
766 unittest.expect(o["y"], unittest.equals('foo')); | 766 unittest.expect(o["y"], unittest.equals('foo')); |
767 } | 767 } |
768 | 768 |
769 buildUnnamed1672() { | 769 buildUnnamed1439() { |
770 var o = new core.List<api.LogEntry>(); | 770 var o = new core.List<api.LogEntry>(); |
771 o.add(buildLogEntry()); | 771 o.add(buildLogEntry()); |
772 o.add(buildLogEntry()); | 772 o.add(buildLogEntry()); |
773 return o; | 773 return o; |
774 } | 774 } |
775 | 775 |
776 checkUnnamed1672(core.List<api.LogEntry> o) { | 776 checkUnnamed1439(core.List<api.LogEntry> o) { |
777 unittest.expect(o, unittest.hasLength(2)); | 777 unittest.expect(o, unittest.hasLength(2)); |
778 checkLogEntry(o[0]); | 778 checkLogEntry(o[0]); |
779 checkLogEntry(o[1]); | 779 checkLogEntry(o[1]); |
780 } | 780 } |
781 | 781 |
782 buildUnnamed1673() { | 782 buildUnnamed1440() { |
783 var o = new core.List<api.MetricValueSet>(); | 783 var o = new core.List<api.MetricValueSet>(); |
784 o.add(buildMetricValueSet()); | 784 o.add(buildMetricValueSet()); |
785 o.add(buildMetricValueSet()); | 785 o.add(buildMetricValueSet()); |
786 return o; | 786 return o; |
787 } | 787 } |
788 | 788 |
789 checkUnnamed1673(core.List<api.MetricValueSet> o) { | 789 checkUnnamed1440(core.List<api.MetricValueSet> o) { |
790 unittest.expect(o, unittest.hasLength(2)); | 790 unittest.expect(o, unittest.hasLength(2)); |
791 checkMetricValueSet(o[0]); | 791 checkMetricValueSet(o[0]); |
792 checkMetricValueSet(o[1]); | 792 checkMetricValueSet(o[1]); |
793 } | 793 } |
794 | 794 |
795 buildUnnamed1674() { | 795 buildUnnamed1441() { |
796 var o = new core.Map<core.String, core.String>(); | 796 var o = new core.Map<core.String, core.String>(); |
797 o["x"] = "foo"; | 797 o["x"] = "foo"; |
798 o["y"] = "foo"; | 798 o["y"] = "foo"; |
799 return o; | 799 return o; |
800 } | 800 } |
801 | 801 |
802 checkUnnamed1674(core.Map<core.String, core.String> o) { | 802 checkUnnamed1441(core.Map<core.String, core.String> o) { |
803 unittest.expect(o, unittest.hasLength(2)); | 803 unittest.expect(o, unittest.hasLength(2)); |
804 unittest.expect(o["x"], unittest.equals('foo')); | 804 unittest.expect(o["x"], unittest.equals('foo')); |
805 unittest.expect(o["y"], unittest.equals('foo')); | 805 unittest.expect(o["y"], unittest.equals('foo')); |
806 } | 806 } |
807 | 807 |
808 core.int buildCounterOperation = 0; | 808 core.int buildCounterOperation = 0; |
809 buildOperation() { | 809 buildOperation() { |
810 var o = new api.Operation(); | 810 var o = new api.Operation(); |
811 buildCounterOperation++; | 811 buildCounterOperation++; |
812 if (buildCounterOperation < 3) { | 812 if (buildCounterOperation < 3) { |
813 o.consumerId = "foo"; | 813 o.consumerId = "foo"; |
814 o.endTime = "foo"; | 814 o.endTime = "foo"; |
815 o.importance = "foo"; | 815 o.importance = "foo"; |
816 o.labels = buildUnnamed1671(); | 816 o.labels = buildUnnamed1438(); |
817 o.logEntries = buildUnnamed1672(); | 817 o.logEntries = buildUnnamed1439(); |
818 o.metricValueSets = buildUnnamed1673(); | 818 o.metricValueSets = buildUnnamed1440(); |
819 o.operationId = "foo"; | 819 o.operationId = "foo"; |
820 o.operationName = "foo"; | 820 o.operationName = "foo"; |
821 o.quotaProperties = buildQuotaProperties(); | 821 o.quotaProperties = buildQuotaProperties(); |
822 o.resourceContainer = "foo"; | 822 o.resourceContainer = "foo"; |
823 o.startTime = "foo"; | 823 o.startTime = "foo"; |
824 o.userLabels = buildUnnamed1674(); | 824 o.userLabels = buildUnnamed1441(); |
825 } | 825 } |
826 buildCounterOperation--; | 826 buildCounterOperation--; |
827 return o; | 827 return o; |
828 } | 828 } |
829 | 829 |
830 checkOperation(api.Operation o) { | 830 checkOperation(api.Operation o) { |
831 buildCounterOperation++; | 831 buildCounterOperation++; |
832 if (buildCounterOperation < 3) { | 832 if (buildCounterOperation < 3) { |
833 unittest.expect(o.consumerId, unittest.equals('foo')); | 833 unittest.expect(o.consumerId, unittest.equals('foo')); |
834 unittest.expect(o.endTime, unittest.equals('foo')); | 834 unittest.expect(o.endTime, unittest.equals('foo')); |
835 unittest.expect(o.importance, unittest.equals('foo')); | 835 unittest.expect(o.importance, unittest.equals('foo')); |
836 checkUnnamed1671(o.labels); | 836 checkUnnamed1438(o.labels); |
837 checkUnnamed1672(o.logEntries); | 837 checkUnnamed1439(o.logEntries); |
838 checkUnnamed1673(o.metricValueSets); | 838 checkUnnamed1440(o.metricValueSets); |
839 unittest.expect(o.operationId, unittest.equals('foo')); | 839 unittest.expect(o.operationId, unittest.equals('foo')); |
840 unittest.expect(o.operationName, unittest.equals('foo')); | 840 unittest.expect(o.operationName, unittest.equals('foo')); |
841 checkQuotaProperties(o.quotaProperties); | 841 checkQuotaProperties(o.quotaProperties); |
842 unittest.expect(o.resourceContainer, unittest.equals('foo')); | 842 unittest.expect(o.resourceContainer, unittest.equals('foo')); |
843 unittest.expect(o.startTime, unittest.equals('foo')); | 843 unittest.expect(o.startTime, unittest.equals('foo')); |
844 checkUnnamed1674(o.userLabels); | 844 checkUnnamed1441(o.userLabels); |
845 } | 845 } |
846 buildCounterOperation--; | 846 buildCounterOperation--; |
847 } | 847 } |
848 | 848 |
849 core.int buildCounterQuotaError = 0; | 849 core.int buildCounterQuotaError = 0; |
850 buildQuotaError() { | 850 buildQuotaError() { |
851 var o = new api.QuotaError(); | 851 var o = new api.QuotaError(); |
852 buildCounterQuotaError++; | 852 buildCounterQuotaError++; |
853 if (buildCounterQuotaError < 3) { | 853 if (buildCounterQuotaError < 3) { |
854 o.code = "foo"; | 854 o.code = "foo"; |
855 o.description = "foo"; | 855 o.description = "foo"; |
856 o.subject = "foo"; | 856 o.subject = "foo"; |
857 } | 857 } |
858 buildCounterQuotaError--; | 858 buildCounterQuotaError--; |
859 return o; | 859 return o; |
860 } | 860 } |
861 | 861 |
862 checkQuotaError(api.QuotaError o) { | 862 checkQuotaError(api.QuotaError o) { |
863 buildCounterQuotaError++; | 863 buildCounterQuotaError++; |
864 if (buildCounterQuotaError < 3) { | 864 if (buildCounterQuotaError < 3) { |
865 unittest.expect(o.code, unittest.equals('foo')); | 865 unittest.expect(o.code, unittest.equals('foo')); |
866 unittest.expect(o.description, unittest.equals('foo')); | 866 unittest.expect(o.description, unittest.equals('foo')); |
867 unittest.expect(o.subject, unittest.equals('foo')); | 867 unittest.expect(o.subject, unittest.equals('foo')); |
868 } | 868 } |
869 buildCounterQuotaError--; | 869 buildCounterQuotaError--; |
870 } | 870 } |
871 | 871 |
872 buildUnnamed1675() { | 872 buildUnnamed1442() { |
873 var o = new core.List<core.String>(); | 873 var o = new core.List<core.String>(); |
874 o.add("foo"); | 874 o.add("foo"); |
875 o.add("foo"); | 875 o.add("foo"); |
876 return o; | 876 return o; |
877 } | 877 } |
878 | 878 |
879 checkUnnamed1675(core.List<core.String> o) { | 879 checkUnnamed1442(core.List<core.String> o) { |
880 unittest.expect(o, unittest.hasLength(2)); | 880 unittest.expect(o, unittest.hasLength(2)); |
881 unittest.expect(o[0], unittest.equals('foo')); | 881 unittest.expect(o[0], unittest.equals('foo')); |
882 unittest.expect(o[1], unittest.equals('foo')); | 882 unittest.expect(o[1], unittest.equals('foo')); |
883 } | 883 } |
884 | 884 |
885 buildUnnamed1676() { | 885 buildUnnamed1443() { |
886 var o = new core.Map<core.String, core.int>(); | 886 var o = new core.Map<core.String, core.int>(); |
887 o["x"] = 42; | 887 o["x"] = 42; |
888 o["y"] = 42; | 888 o["y"] = 42; |
889 return o; | 889 return o; |
890 } | 890 } |
891 | 891 |
892 checkUnnamed1676(core.Map<core.String, core.int> o) { | 892 checkUnnamed1443(core.Map<core.String, core.int> o) { |
893 unittest.expect(o, unittest.hasLength(2)); | 893 unittest.expect(o, unittest.hasLength(2)); |
894 unittest.expect(o["x"], unittest.equals(42)); | 894 unittest.expect(o["x"], unittest.equals(42)); |
895 unittest.expect(o["y"], unittest.equals(42)); | 895 unittest.expect(o["y"], unittest.equals(42)); |
896 } | 896 } |
897 | 897 |
898 buildUnnamed1677() { | 898 buildUnnamed1444() { |
899 var o = new core.List<api.MetricValueSet>(); | 899 var o = new core.List<api.MetricValueSet>(); |
900 o.add(buildMetricValueSet()); | 900 o.add(buildMetricValueSet()); |
901 o.add(buildMetricValueSet()); | 901 o.add(buildMetricValueSet()); |
902 return o; | 902 return o; |
903 } | 903 } |
904 | 904 |
905 checkUnnamed1677(core.List<api.MetricValueSet> o) { | 905 checkUnnamed1444(core.List<api.MetricValueSet> o) { |
906 unittest.expect(o, unittest.hasLength(2)); | 906 unittest.expect(o, unittest.hasLength(2)); |
907 checkMetricValueSet(o[0]); | 907 checkMetricValueSet(o[0]); |
908 checkMetricValueSet(o[1]); | 908 checkMetricValueSet(o[1]); |
909 } | 909 } |
910 | 910 |
911 core.int buildCounterQuotaInfo = 0; | 911 core.int buildCounterQuotaInfo = 0; |
912 buildQuotaInfo() { | 912 buildQuotaInfo() { |
913 var o = new api.QuotaInfo(); | 913 var o = new api.QuotaInfo(); |
914 buildCounterQuotaInfo++; | 914 buildCounterQuotaInfo++; |
915 if (buildCounterQuotaInfo < 3) { | 915 if (buildCounterQuotaInfo < 3) { |
916 o.limitExceeded = buildUnnamed1675(); | 916 o.limitExceeded = buildUnnamed1442(); |
917 o.quotaConsumed = buildUnnamed1676(); | 917 o.quotaConsumed = buildUnnamed1443(); |
918 o.quotaMetrics = buildUnnamed1677(); | 918 o.quotaMetrics = buildUnnamed1444(); |
919 } | 919 } |
920 buildCounterQuotaInfo--; | 920 buildCounterQuotaInfo--; |
921 return o; | 921 return o; |
922 } | 922 } |
923 | 923 |
924 checkQuotaInfo(api.QuotaInfo o) { | 924 checkQuotaInfo(api.QuotaInfo o) { |
925 buildCounterQuotaInfo++; | 925 buildCounterQuotaInfo++; |
926 if (buildCounterQuotaInfo < 3) { | 926 if (buildCounterQuotaInfo < 3) { |
927 checkUnnamed1675(o.limitExceeded); | 927 checkUnnamed1442(o.limitExceeded); |
928 checkUnnamed1676(o.quotaConsumed); | 928 checkUnnamed1443(o.quotaConsumed); |
929 checkUnnamed1677(o.quotaMetrics); | 929 checkUnnamed1444(o.quotaMetrics); |
930 } | 930 } |
931 buildCounterQuotaInfo--; | 931 buildCounterQuotaInfo--; |
932 } | 932 } |
933 | 933 |
934 buildUnnamed1678() { | 934 buildUnnamed1445() { |
935 var o = new core.Map<core.String, core.String>(); | 935 var o = new core.Map<core.String, core.String>(); |
936 o["x"] = "foo"; | 936 o["x"] = "foo"; |
937 o["y"] = "foo"; | 937 o["y"] = "foo"; |
938 return o; | 938 return o; |
939 } | 939 } |
940 | 940 |
941 checkUnnamed1678(core.Map<core.String, core.String> o) { | 941 checkUnnamed1445(core.Map<core.String, core.String> o) { |
942 unittest.expect(o, unittest.hasLength(2)); | 942 unittest.expect(o, unittest.hasLength(2)); |
943 unittest.expect(o["x"], unittest.equals('foo')); | 943 unittest.expect(o["x"], unittest.equals('foo')); |
944 unittest.expect(o["y"], unittest.equals('foo')); | 944 unittest.expect(o["y"], unittest.equals('foo')); |
945 } | 945 } |
946 | 946 |
947 buildUnnamed1679() { | 947 buildUnnamed1446() { |
948 var o = new core.List<api.MetricValueSet>(); | 948 var o = new core.List<api.MetricValueSet>(); |
949 o.add(buildMetricValueSet()); | 949 o.add(buildMetricValueSet()); |
950 o.add(buildMetricValueSet()); | 950 o.add(buildMetricValueSet()); |
951 return o; | 951 return o; |
952 } | 952 } |
953 | 953 |
954 checkUnnamed1679(core.List<api.MetricValueSet> o) { | 954 checkUnnamed1446(core.List<api.MetricValueSet> o) { |
955 unittest.expect(o, unittest.hasLength(2)); | 955 unittest.expect(o, unittest.hasLength(2)); |
956 checkMetricValueSet(o[0]); | 956 checkMetricValueSet(o[0]); |
957 checkMetricValueSet(o[1]); | 957 checkMetricValueSet(o[1]); |
958 } | 958 } |
959 | 959 |
960 core.int buildCounterQuotaOperation = 0; | 960 core.int buildCounterQuotaOperation = 0; |
961 buildQuotaOperation() { | 961 buildQuotaOperation() { |
962 var o = new api.QuotaOperation(); | 962 var o = new api.QuotaOperation(); |
963 buildCounterQuotaOperation++; | 963 buildCounterQuotaOperation++; |
964 if (buildCounterQuotaOperation < 3) { | 964 if (buildCounterQuotaOperation < 3) { |
965 o.consumerId = "foo"; | 965 o.consumerId = "foo"; |
966 o.labels = buildUnnamed1678(); | 966 o.labels = buildUnnamed1445(); |
967 o.methodName = "foo"; | 967 o.methodName = "foo"; |
968 o.operationId = "foo"; | 968 o.operationId = "foo"; |
969 o.quotaMetrics = buildUnnamed1679(); | 969 o.quotaMetrics = buildUnnamed1446(); |
970 o.quotaMode = "foo"; | 970 o.quotaMode = "foo"; |
971 } | 971 } |
972 buildCounterQuotaOperation--; | 972 buildCounterQuotaOperation--; |
973 return o; | 973 return o; |
974 } | 974 } |
975 | 975 |
976 checkQuotaOperation(api.QuotaOperation o) { | 976 checkQuotaOperation(api.QuotaOperation o) { |
977 buildCounterQuotaOperation++; | 977 buildCounterQuotaOperation++; |
978 if (buildCounterQuotaOperation < 3) { | 978 if (buildCounterQuotaOperation < 3) { |
979 unittest.expect(o.consumerId, unittest.equals('foo')); | 979 unittest.expect(o.consumerId, unittest.equals('foo')); |
980 checkUnnamed1678(o.labels); | 980 checkUnnamed1445(o.labels); |
981 unittest.expect(o.methodName, unittest.equals('foo')); | 981 unittest.expect(o.methodName, unittest.equals('foo')); |
982 unittest.expect(o.operationId, unittest.equals('foo')); | 982 unittest.expect(o.operationId, unittest.equals('foo')); |
983 checkUnnamed1679(o.quotaMetrics); | 983 checkUnnamed1446(o.quotaMetrics); |
984 unittest.expect(o.quotaMode, unittest.equals('foo')); | 984 unittest.expect(o.quotaMode, unittest.equals('foo')); |
985 } | 985 } |
986 buildCounterQuotaOperation--; | 986 buildCounterQuotaOperation--; |
987 } | 987 } |
988 | 988 |
989 buildUnnamed1680() { | 989 buildUnnamed1447() { |
990 var o = new core.Map<core.String, core.String>(); | 990 var o = new core.Map<core.String, core.String>(); |
991 o["x"] = "foo"; | 991 o["x"] = "foo"; |
992 o["y"] = "foo"; | 992 o["y"] = "foo"; |
993 return o; | 993 return o; |
994 } | 994 } |
995 | 995 |
996 checkUnnamed1680(core.Map<core.String, core.String> o) { | 996 checkUnnamed1447(core.Map<core.String, core.String> o) { |
997 unittest.expect(o, unittest.hasLength(2)); | 997 unittest.expect(o, unittest.hasLength(2)); |
998 unittest.expect(o["x"], unittest.equals('foo')); | 998 unittest.expect(o["x"], unittest.equals('foo')); |
999 unittest.expect(o["y"], unittest.equals('foo')); | 999 unittest.expect(o["y"], unittest.equals('foo')); |
1000 } | 1000 } |
1001 | 1001 |
1002 core.int buildCounterQuotaProperties = 0; | 1002 core.int buildCounterQuotaProperties = 0; |
1003 buildQuotaProperties() { | 1003 buildQuotaProperties() { |
1004 var o = new api.QuotaProperties(); | 1004 var o = new api.QuotaProperties(); |
1005 buildCounterQuotaProperties++; | 1005 buildCounterQuotaProperties++; |
1006 if (buildCounterQuotaProperties < 3) { | 1006 if (buildCounterQuotaProperties < 3) { |
1007 o.limitByIds = buildUnnamed1680(); | 1007 o.limitByIds = buildUnnamed1447(); |
1008 o.quotaMode = "foo"; | 1008 o.quotaMode = "foo"; |
1009 } | 1009 } |
1010 buildCounterQuotaProperties--; | 1010 buildCounterQuotaProperties--; |
1011 return o; | 1011 return o; |
1012 } | 1012 } |
1013 | 1013 |
1014 checkQuotaProperties(api.QuotaProperties o) { | 1014 checkQuotaProperties(api.QuotaProperties o) { |
1015 buildCounterQuotaProperties++; | 1015 buildCounterQuotaProperties++; |
1016 if (buildCounterQuotaProperties < 3) { | 1016 if (buildCounterQuotaProperties < 3) { |
1017 checkUnnamed1680(o.limitByIds); | 1017 checkUnnamed1447(o.limitByIds); |
1018 unittest.expect(o.quotaMode, unittest.equals('foo')); | 1018 unittest.expect(o.quotaMode, unittest.equals('foo')); |
1019 } | 1019 } |
1020 buildCounterQuotaProperties--; | 1020 buildCounterQuotaProperties--; |
1021 } | 1021 } |
1022 | 1022 |
1023 core.int buildCounterReleaseQuotaRequest = 0; | 1023 core.int buildCounterReleaseQuotaRequest = 0; |
1024 buildReleaseQuotaRequest() { | 1024 buildReleaseQuotaRequest() { |
1025 var o = new api.ReleaseQuotaRequest(); | 1025 var o = new api.ReleaseQuotaRequest(); |
1026 buildCounterReleaseQuotaRequest++; | 1026 buildCounterReleaseQuotaRequest++; |
1027 if (buildCounterReleaseQuotaRequest < 3) { | 1027 if (buildCounterReleaseQuotaRequest < 3) { |
1028 o.releaseOperation = buildQuotaOperation(); | 1028 o.releaseOperation = buildQuotaOperation(); |
1029 o.serviceConfigId = "foo"; | 1029 o.serviceConfigId = "foo"; |
1030 } | 1030 } |
1031 buildCounterReleaseQuotaRequest--; | 1031 buildCounterReleaseQuotaRequest--; |
1032 return o; | 1032 return o; |
1033 } | 1033 } |
1034 | 1034 |
1035 checkReleaseQuotaRequest(api.ReleaseQuotaRequest o) { | 1035 checkReleaseQuotaRequest(api.ReleaseQuotaRequest o) { |
1036 buildCounterReleaseQuotaRequest++; | 1036 buildCounterReleaseQuotaRequest++; |
1037 if (buildCounterReleaseQuotaRequest < 3) { | 1037 if (buildCounterReleaseQuotaRequest < 3) { |
1038 checkQuotaOperation(o.releaseOperation); | 1038 checkQuotaOperation(o.releaseOperation); |
1039 unittest.expect(o.serviceConfigId, unittest.equals('foo')); | 1039 unittest.expect(o.serviceConfigId, unittest.equals('foo')); |
1040 } | 1040 } |
1041 buildCounterReleaseQuotaRequest--; | 1041 buildCounterReleaseQuotaRequest--; |
1042 } | 1042 } |
1043 | 1043 |
1044 buildUnnamed1681() { | 1044 buildUnnamed1448() { |
1045 var o = new core.List<api.MetricValueSet>(); | 1045 var o = new core.List<api.MetricValueSet>(); |
1046 o.add(buildMetricValueSet()); | 1046 o.add(buildMetricValueSet()); |
1047 o.add(buildMetricValueSet()); | 1047 o.add(buildMetricValueSet()); |
1048 return o; | 1048 return o; |
1049 } | 1049 } |
1050 | 1050 |
1051 checkUnnamed1681(core.List<api.MetricValueSet> o) { | 1051 checkUnnamed1448(core.List<api.MetricValueSet> o) { |
1052 unittest.expect(o, unittest.hasLength(2)); | 1052 unittest.expect(o, unittest.hasLength(2)); |
1053 checkMetricValueSet(o[0]); | 1053 checkMetricValueSet(o[0]); |
1054 checkMetricValueSet(o[1]); | 1054 checkMetricValueSet(o[1]); |
1055 } | 1055 } |
1056 | 1056 |
1057 buildUnnamed1682() { | 1057 buildUnnamed1449() { |
1058 var o = new core.List<api.QuotaError>(); | 1058 var o = new core.List<api.QuotaError>(); |
1059 o.add(buildQuotaError()); | 1059 o.add(buildQuotaError()); |
1060 o.add(buildQuotaError()); | 1060 o.add(buildQuotaError()); |
1061 return o; | 1061 return o; |
1062 } | 1062 } |
1063 | 1063 |
1064 checkUnnamed1682(core.List<api.QuotaError> o) { | 1064 checkUnnamed1449(core.List<api.QuotaError> o) { |
1065 unittest.expect(o, unittest.hasLength(2)); | 1065 unittest.expect(o, unittest.hasLength(2)); |
1066 checkQuotaError(o[0]); | 1066 checkQuotaError(o[0]); |
1067 checkQuotaError(o[1]); | 1067 checkQuotaError(o[1]); |
1068 } | 1068 } |
1069 | 1069 |
1070 core.int buildCounterReleaseQuotaResponse = 0; | 1070 core.int buildCounterReleaseQuotaResponse = 0; |
1071 buildReleaseQuotaResponse() { | 1071 buildReleaseQuotaResponse() { |
1072 var o = new api.ReleaseQuotaResponse(); | 1072 var o = new api.ReleaseQuotaResponse(); |
1073 buildCounterReleaseQuotaResponse++; | 1073 buildCounterReleaseQuotaResponse++; |
1074 if (buildCounterReleaseQuotaResponse < 3) { | 1074 if (buildCounterReleaseQuotaResponse < 3) { |
1075 o.operationId = "foo"; | 1075 o.operationId = "foo"; |
1076 o.quotaMetrics = buildUnnamed1681(); | 1076 o.quotaMetrics = buildUnnamed1448(); |
1077 o.releaseErrors = buildUnnamed1682(); | 1077 o.releaseErrors = buildUnnamed1449(); |
1078 o.serviceConfigId = "foo"; | 1078 o.serviceConfigId = "foo"; |
1079 } | 1079 } |
1080 buildCounterReleaseQuotaResponse--; | 1080 buildCounterReleaseQuotaResponse--; |
1081 return o; | 1081 return o; |
1082 } | 1082 } |
1083 | 1083 |
1084 checkReleaseQuotaResponse(api.ReleaseQuotaResponse o) { | 1084 checkReleaseQuotaResponse(api.ReleaseQuotaResponse o) { |
1085 buildCounterReleaseQuotaResponse++; | 1085 buildCounterReleaseQuotaResponse++; |
1086 if (buildCounterReleaseQuotaResponse < 3) { | 1086 if (buildCounterReleaseQuotaResponse < 3) { |
1087 unittest.expect(o.operationId, unittest.equals('foo')); | 1087 unittest.expect(o.operationId, unittest.equals('foo')); |
1088 checkUnnamed1681(o.quotaMetrics); | 1088 checkUnnamed1448(o.quotaMetrics); |
1089 checkUnnamed1682(o.releaseErrors); | 1089 checkUnnamed1449(o.releaseErrors); |
1090 unittest.expect(o.serviceConfigId, unittest.equals('foo')); | 1090 unittest.expect(o.serviceConfigId, unittest.equals('foo')); |
1091 } | 1091 } |
1092 buildCounterReleaseQuotaResponse--; | 1092 buildCounterReleaseQuotaResponse--; |
1093 } | 1093 } |
1094 | 1094 |
1095 core.int buildCounterReportError = 0; | 1095 core.int buildCounterReportError = 0; |
1096 buildReportError() { | 1096 buildReportError() { |
1097 var o = new api.ReportError(); | 1097 var o = new api.ReportError(); |
1098 buildCounterReportError++; | 1098 buildCounterReportError++; |
1099 if (buildCounterReportError < 3) { | 1099 if (buildCounterReportError < 3) { |
(...skipping 27 matching lines...) Expand all Loading... |
1127 | 1127 |
1128 checkReportInfo(api.ReportInfo o) { | 1128 checkReportInfo(api.ReportInfo o) { |
1129 buildCounterReportInfo++; | 1129 buildCounterReportInfo++; |
1130 if (buildCounterReportInfo < 3) { | 1130 if (buildCounterReportInfo < 3) { |
1131 unittest.expect(o.operationId, unittest.equals('foo')); | 1131 unittest.expect(o.operationId, unittest.equals('foo')); |
1132 checkQuotaInfo(o.quotaInfo); | 1132 checkQuotaInfo(o.quotaInfo); |
1133 } | 1133 } |
1134 buildCounterReportInfo--; | 1134 buildCounterReportInfo--; |
1135 } | 1135 } |
1136 | 1136 |
1137 buildUnnamed1683() { | 1137 buildUnnamed1450() { |
1138 var o = new core.List<api.Operation>(); | 1138 var o = new core.List<api.Operation>(); |
1139 o.add(buildOperation()); | 1139 o.add(buildOperation()); |
1140 o.add(buildOperation()); | 1140 o.add(buildOperation()); |
1141 return o; | 1141 return o; |
1142 } | 1142 } |
1143 | 1143 |
1144 checkUnnamed1683(core.List<api.Operation> o) { | 1144 checkUnnamed1450(core.List<api.Operation> o) { |
1145 unittest.expect(o, unittest.hasLength(2)); | 1145 unittest.expect(o, unittest.hasLength(2)); |
1146 checkOperation(o[0]); | 1146 checkOperation(o[0]); |
1147 checkOperation(o[1]); | 1147 checkOperation(o[1]); |
1148 } | 1148 } |
1149 | 1149 |
1150 core.int buildCounterReportRequest = 0; | 1150 core.int buildCounterReportRequest = 0; |
1151 buildReportRequest() { | 1151 buildReportRequest() { |
1152 var o = new api.ReportRequest(); | 1152 var o = new api.ReportRequest(); |
1153 buildCounterReportRequest++; | 1153 buildCounterReportRequest++; |
1154 if (buildCounterReportRequest < 3) { | 1154 if (buildCounterReportRequest < 3) { |
1155 o.operations = buildUnnamed1683(); | 1155 o.operations = buildUnnamed1450(); |
1156 o.serviceConfigId = "foo"; | 1156 o.serviceConfigId = "foo"; |
1157 } | 1157 } |
1158 buildCounterReportRequest--; | 1158 buildCounterReportRequest--; |
1159 return o; | 1159 return o; |
1160 } | 1160 } |
1161 | 1161 |
1162 checkReportRequest(api.ReportRequest o) { | 1162 checkReportRequest(api.ReportRequest o) { |
1163 buildCounterReportRequest++; | 1163 buildCounterReportRequest++; |
1164 if (buildCounterReportRequest < 3) { | 1164 if (buildCounterReportRequest < 3) { |
1165 checkUnnamed1683(o.operations); | 1165 checkUnnamed1450(o.operations); |
1166 unittest.expect(o.serviceConfigId, unittest.equals('foo')); | 1166 unittest.expect(o.serviceConfigId, unittest.equals('foo')); |
1167 } | 1167 } |
1168 buildCounterReportRequest--; | 1168 buildCounterReportRequest--; |
1169 } | 1169 } |
1170 | 1170 |
1171 buildUnnamed1684() { | 1171 buildUnnamed1451() { |
1172 var o = new core.List<api.ReportError>(); | 1172 var o = new core.List<api.ReportError>(); |
1173 o.add(buildReportError()); | 1173 o.add(buildReportError()); |
1174 o.add(buildReportError()); | 1174 o.add(buildReportError()); |
1175 return o; | 1175 return o; |
1176 } | 1176 } |
1177 | 1177 |
1178 checkUnnamed1684(core.List<api.ReportError> o) { | 1178 checkUnnamed1451(core.List<api.ReportError> o) { |
1179 unittest.expect(o, unittest.hasLength(2)); | 1179 unittest.expect(o, unittest.hasLength(2)); |
1180 checkReportError(o[0]); | 1180 checkReportError(o[0]); |
1181 checkReportError(o[1]); | 1181 checkReportError(o[1]); |
1182 } | 1182 } |
1183 | 1183 |
1184 buildUnnamed1685() { | 1184 buildUnnamed1452() { |
1185 var o = new core.List<api.ReportInfo>(); | 1185 var o = new core.List<api.ReportInfo>(); |
1186 o.add(buildReportInfo()); | 1186 o.add(buildReportInfo()); |
1187 o.add(buildReportInfo()); | 1187 o.add(buildReportInfo()); |
1188 return o; | 1188 return o; |
1189 } | 1189 } |
1190 | 1190 |
1191 checkUnnamed1685(core.List<api.ReportInfo> o) { | 1191 checkUnnamed1452(core.List<api.ReportInfo> o) { |
1192 unittest.expect(o, unittest.hasLength(2)); | 1192 unittest.expect(o, unittest.hasLength(2)); |
1193 checkReportInfo(o[0]); | 1193 checkReportInfo(o[0]); |
1194 checkReportInfo(o[1]); | 1194 checkReportInfo(o[1]); |
1195 } | 1195 } |
1196 | 1196 |
1197 core.int buildCounterReportResponse = 0; | 1197 core.int buildCounterReportResponse = 0; |
1198 buildReportResponse() { | 1198 buildReportResponse() { |
1199 var o = new api.ReportResponse(); | 1199 var o = new api.ReportResponse(); |
1200 buildCounterReportResponse++; | 1200 buildCounterReportResponse++; |
1201 if (buildCounterReportResponse < 3) { | 1201 if (buildCounterReportResponse < 3) { |
1202 o.reportErrors = buildUnnamed1684(); | 1202 o.reportErrors = buildUnnamed1451(); |
1203 o.reportInfos = buildUnnamed1685(); | 1203 o.reportInfos = buildUnnamed1452(); |
1204 o.serviceConfigId = "foo"; | 1204 o.serviceConfigId = "foo"; |
1205 } | 1205 } |
1206 buildCounterReportResponse--; | 1206 buildCounterReportResponse--; |
1207 return o; | 1207 return o; |
1208 } | 1208 } |
1209 | 1209 |
1210 checkReportResponse(api.ReportResponse o) { | 1210 checkReportResponse(api.ReportResponse o) { |
1211 buildCounterReportResponse++; | 1211 buildCounterReportResponse++; |
1212 if (buildCounterReportResponse < 3) { | 1212 if (buildCounterReportResponse < 3) { |
1213 checkUnnamed1684(o.reportErrors); | 1213 checkUnnamed1451(o.reportErrors); |
1214 checkUnnamed1685(o.reportInfos); | 1214 checkUnnamed1452(o.reportInfos); |
1215 unittest.expect(o.serviceConfigId, unittest.equals('foo')); | 1215 unittest.expect(o.serviceConfigId, unittest.equals('foo')); |
1216 } | 1216 } |
1217 buildCounterReportResponse--; | 1217 buildCounterReportResponse--; |
1218 } | 1218 } |
1219 | 1219 |
1220 core.int buildCounterRequestMetadata = 0; | 1220 core.int buildCounterRequestMetadata = 0; |
1221 buildRequestMetadata() { | 1221 buildRequestMetadata() { |
1222 var o = new api.RequestMetadata(); | 1222 var o = new api.RequestMetadata(); |
1223 buildCounterRequestMetadata++; | 1223 buildCounterRequestMetadata++; |
1224 if (buildCounterRequestMetadata < 3) { | 1224 if (buildCounterRequestMetadata < 3) { |
(...skipping 27 matching lines...) Expand all Loading... |
1252 | 1252 |
1253 checkStartReconciliationRequest(api.StartReconciliationRequest o) { | 1253 checkStartReconciliationRequest(api.StartReconciliationRequest o) { |
1254 buildCounterStartReconciliationRequest++; | 1254 buildCounterStartReconciliationRequest++; |
1255 if (buildCounterStartReconciliationRequest < 3) { | 1255 if (buildCounterStartReconciliationRequest < 3) { |
1256 checkQuotaOperation(o.reconciliationOperation); | 1256 checkQuotaOperation(o.reconciliationOperation); |
1257 unittest.expect(o.serviceConfigId, unittest.equals('foo')); | 1257 unittest.expect(o.serviceConfigId, unittest.equals('foo')); |
1258 } | 1258 } |
1259 buildCounterStartReconciliationRequest--; | 1259 buildCounterStartReconciliationRequest--; |
1260 } | 1260 } |
1261 | 1261 |
1262 buildUnnamed1686() { | 1262 buildUnnamed1453() { |
1263 var o = new core.List<api.MetricValueSet>(); | 1263 var o = new core.List<api.MetricValueSet>(); |
1264 o.add(buildMetricValueSet()); | 1264 o.add(buildMetricValueSet()); |
1265 o.add(buildMetricValueSet()); | 1265 o.add(buildMetricValueSet()); |
1266 return o; | 1266 return o; |
1267 } | 1267 } |
1268 | 1268 |
1269 checkUnnamed1686(core.List<api.MetricValueSet> o) { | 1269 checkUnnamed1453(core.List<api.MetricValueSet> o) { |
1270 unittest.expect(o, unittest.hasLength(2)); | 1270 unittest.expect(o, unittest.hasLength(2)); |
1271 checkMetricValueSet(o[0]); | 1271 checkMetricValueSet(o[0]); |
1272 checkMetricValueSet(o[1]); | 1272 checkMetricValueSet(o[1]); |
1273 } | 1273 } |
1274 | 1274 |
1275 buildUnnamed1687() { | 1275 buildUnnamed1454() { |
1276 var o = new core.List<api.QuotaError>(); | 1276 var o = new core.List<api.QuotaError>(); |
1277 o.add(buildQuotaError()); | 1277 o.add(buildQuotaError()); |
1278 o.add(buildQuotaError()); | 1278 o.add(buildQuotaError()); |
1279 return o; | 1279 return o; |
1280 } | 1280 } |
1281 | 1281 |
1282 checkUnnamed1687(core.List<api.QuotaError> o) { | 1282 checkUnnamed1454(core.List<api.QuotaError> o) { |
1283 unittest.expect(o, unittest.hasLength(2)); | 1283 unittest.expect(o, unittest.hasLength(2)); |
1284 checkQuotaError(o[0]); | 1284 checkQuotaError(o[0]); |
1285 checkQuotaError(o[1]); | 1285 checkQuotaError(o[1]); |
1286 } | 1286 } |
1287 | 1287 |
1288 core.int buildCounterStartReconciliationResponse = 0; | 1288 core.int buildCounterStartReconciliationResponse = 0; |
1289 buildStartReconciliationResponse() { | 1289 buildStartReconciliationResponse() { |
1290 var o = new api.StartReconciliationResponse(); | 1290 var o = new api.StartReconciliationResponse(); |
1291 buildCounterStartReconciliationResponse++; | 1291 buildCounterStartReconciliationResponse++; |
1292 if (buildCounterStartReconciliationResponse < 3) { | 1292 if (buildCounterStartReconciliationResponse < 3) { |
1293 o.operationId = "foo"; | 1293 o.operationId = "foo"; |
1294 o.quotaMetrics = buildUnnamed1686(); | 1294 o.quotaMetrics = buildUnnamed1453(); |
1295 o.reconciliationErrors = buildUnnamed1687(); | 1295 o.reconciliationErrors = buildUnnamed1454(); |
1296 o.serviceConfigId = "foo"; | 1296 o.serviceConfigId = "foo"; |
1297 } | 1297 } |
1298 buildCounterStartReconciliationResponse--; | 1298 buildCounterStartReconciliationResponse--; |
1299 return o; | 1299 return o; |
1300 } | 1300 } |
1301 | 1301 |
1302 checkStartReconciliationResponse(api.StartReconciliationResponse o) { | 1302 checkStartReconciliationResponse(api.StartReconciliationResponse o) { |
1303 buildCounterStartReconciliationResponse++; | 1303 buildCounterStartReconciliationResponse++; |
1304 if (buildCounterStartReconciliationResponse < 3) { | 1304 if (buildCounterStartReconciliationResponse < 3) { |
1305 unittest.expect(o.operationId, unittest.equals('foo')); | 1305 unittest.expect(o.operationId, unittest.equals('foo')); |
1306 checkUnnamed1686(o.quotaMetrics); | 1306 checkUnnamed1453(o.quotaMetrics); |
1307 checkUnnamed1687(o.reconciliationErrors); | 1307 checkUnnamed1454(o.reconciliationErrors); |
1308 unittest.expect(o.serviceConfigId, unittest.equals('foo')); | 1308 unittest.expect(o.serviceConfigId, unittest.equals('foo')); |
1309 } | 1309 } |
1310 buildCounterStartReconciliationResponse--; | 1310 buildCounterStartReconciliationResponse--; |
1311 } | 1311 } |
1312 | 1312 |
1313 buildUnnamed1688() { | 1313 buildUnnamed1455() { |
1314 var o = new core.Map<core.String, core.Object>(); | 1314 var o = new core.Map<core.String, core.Object>(); |
1315 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1315 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
1316 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1316 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
1317 return o; | 1317 return o; |
1318 } | 1318 } |
1319 | 1319 |
1320 checkUnnamed1688(core.Map<core.String, core.Object> o) { | 1320 checkUnnamed1455(core.Map<core.String, core.Object> o) { |
1321 unittest.expect(o, unittest.hasLength(2)); | 1321 unittest.expect(o, unittest.hasLength(2)); |
1322 var casted11 = (o["x"]) as core.Map; unittest.expect(casted11, unittest.hasLen
gth(3)); unittest.expect(casted11["list"], unittest.equals([1, 2, 3])); unittest
.expect(casted11["bool"], unittest.equals(true)); unittest.expect(casted11["stri
ng"], unittest.equals('foo')); | 1322 var casted11 = (o["x"]) as core.Map; unittest.expect(casted11, unittest.hasLen
gth(3)); unittest.expect(casted11["list"], unittest.equals([1, 2, 3])); unittest
.expect(casted11["bool"], unittest.equals(true)); unittest.expect(casted11["stri
ng"], unittest.equals('foo')); |
1323 var casted12 = (o["y"]) as core.Map; unittest.expect(casted12, unittest.hasLen
gth(3)); unittest.expect(casted12["list"], unittest.equals([1, 2, 3])); unittest
.expect(casted12["bool"], unittest.equals(true)); unittest.expect(casted12["stri
ng"], unittest.equals('foo')); | 1323 var casted12 = (o["y"]) as core.Map; unittest.expect(casted12, unittest.hasLen
gth(3)); unittest.expect(casted12["list"], unittest.equals([1, 2, 3])); unittest
.expect(casted12["bool"], unittest.equals(true)); unittest.expect(casted12["stri
ng"], unittest.equals('foo')); |
1324 } | 1324 } |
1325 | 1325 |
1326 buildUnnamed1689() { | 1326 buildUnnamed1456() { |
1327 var o = new core.List<core.Map<core.String, core.Object>>(); | 1327 var o = new core.List<core.Map<core.String, core.Object>>(); |
1328 o.add(buildUnnamed1688()); | 1328 o.add(buildUnnamed1455()); |
1329 o.add(buildUnnamed1688()); | 1329 o.add(buildUnnamed1455()); |
1330 return o; | 1330 return o; |
1331 } | 1331 } |
1332 | 1332 |
1333 checkUnnamed1689(core.List<core.Map<core.String, core.Object>> o) { | 1333 checkUnnamed1456(core.List<core.Map<core.String, core.Object>> o) { |
1334 unittest.expect(o, unittest.hasLength(2)); | 1334 unittest.expect(o, unittest.hasLength(2)); |
1335 checkUnnamed1688(o[0]); | 1335 checkUnnamed1455(o[0]); |
1336 checkUnnamed1688(o[1]); | 1336 checkUnnamed1455(o[1]); |
1337 } | 1337 } |
1338 | 1338 |
1339 core.int buildCounterStatus = 0; | 1339 core.int buildCounterStatus = 0; |
1340 buildStatus() { | 1340 buildStatus() { |
1341 var o = new api.Status(); | 1341 var o = new api.Status(); |
1342 buildCounterStatus++; | 1342 buildCounterStatus++; |
1343 if (buildCounterStatus < 3) { | 1343 if (buildCounterStatus < 3) { |
1344 o.code = 42; | 1344 o.code = 42; |
1345 o.details = buildUnnamed1689(); | 1345 o.details = buildUnnamed1456(); |
1346 o.message = "foo"; | 1346 o.message = "foo"; |
1347 } | 1347 } |
1348 buildCounterStatus--; | 1348 buildCounterStatus--; |
1349 return o; | 1349 return o; |
1350 } | 1350 } |
1351 | 1351 |
1352 checkStatus(api.Status o) { | 1352 checkStatus(api.Status o) { |
1353 buildCounterStatus++; | 1353 buildCounterStatus++; |
1354 if (buildCounterStatus < 3) { | 1354 if (buildCounterStatus < 3) { |
1355 unittest.expect(o.code, unittest.equals(42)); | 1355 unittest.expect(o.code, unittest.equals(42)); |
1356 checkUnnamed1689(o.details); | 1356 checkUnnamed1456(o.details); |
1357 unittest.expect(o.message, unittest.equals('foo')); | 1357 unittest.expect(o.message, unittest.equals('foo')); |
1358 } | 1358 } |
1359 buildCounterStatus--; | 1359 buildCounterStatus--; |
1360 } | 1360 } |
1361 | 1361 |
1362 | 1362 |
1363 main() { | 1363 main() { |
1364 unittest.group("obj-schema-AllocateQuotaRequest", () { | 1364 unittest.group("obj-schema-AllocateQuotaRequest", () { |
1365 unittest.test("to-json--from-json", () { | 1365 unittest.test("to-json--from-json", () { |
1366 var o = buildAllocateQuotaRequest(); | 1366 var o = buildAllocateQuotaRequest(); |
(...skipping 629 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1996 res.startReconciliation(arg_request, arg_serviceName).then(unittest.expect
Async(((api.StartReconciliationResponse response) { | 1996 res.startReconciliation(arg_request, arg_serviceName).then(unittest.expect
Async(((api.StartReconciliationResponse response) { |
1997 checkStartReconciliationResponse(response); | 1997 checkStartReconciliationResponse(response); |
1998 }))); | 1998 }))); |
1999 }); | 1999 }); |
2000 | 2000 |
2001 }); | 2001 }); |
2002 | 2002 |
2003 | 2003 |
2004 } | 2004 } |
2005 | 2005 |
OLD | NEW |