| OLD | NEW |
| 1 library googleapis.compute.v1.test; | 1 library googleapis.compute.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 23 matching lines...) Expand all Loading... |
| 34 buildCounterAccessConfig++; | 34 buildCounterAccessConfig++; |
| 35 if (buildCounterAccessConfig < 3) { | 35 if (buildCounterAccessConfig < 3) { |
| 36 unittest.expect(o.kind, unittest.equals('foo')); | 36 unittest.expect(o.kind, unittest.equals('foo')); |
| 37 unittest.expect(o.name, unittest.equals('foo')); | 37 unittest.expect(o.name, unittest.equals('foo')); |
| 38 unittest.expect(o.natIP, unittest.equals('foo')); | 38 unittest.expect(o.natIP, unittest.equals('foo')); |
| 39 unittest.expect(o.type, unittest.equals('foo')); | 39 unittest.expect(o.type, unittest.equals('foo')); |
| 40 } | 40 } |
| 41 buildCounterAccessConfig--; | 41 buildCounterAccessConfig--; |
| 42 } | 42 } |
| 43 | 43 |
| 44 buildUnnamed848() { | 44 buildUnnamed822() { |
| 45 var o = new core.List<core.String>(); | 45 var o = new core.List<core.String>(); |
| 46 o.add("foo"); | 46 o.add("foo"); |
| 47 o.add("foo"); | 47 o.add("foo"); |
| 48 return o; | 48 return o; |
| 49 } | 49 } |
| 50 | 50 |
| 51 checkUnnamed848(core.List<core.String> o) { | 51 checkUnnamed822(core.List<core.String> o) { |
| 52 unittest.expect(o, unittest.hasLength(2)); | 52 unittest.expect(o, unittest.hasLength(2)); |
| 53 unittest.expect(o[0], unittest.equals('foo')); | 53 unittest.expect(o[0], unittest.equals('foo')); |
| 54 unittest.expect(o[1], unittest.equals('foo')); | 54 unittest.expect(o[1], unittest.equals('foo')); |
| 55 } | 55 } |
| 56 | 56 |
| 57 core.int buildCounterAddress = 0; | 57 core.int buildCounterAddress = 0; |
| 58 buildAddress() { | 58 buildAddress() { |
| 59 var o = new api.Address(); | 59 var o = new api.Address(); |
| 60 buildCounterAddress++; | 60 buildCounterAddress++; |
| 61 if (buildCounterAddress < 3) { | 61 if (buildCounterAddress < 3) { |
| 62 o.address = "foo"; | 62 o.address = "foo"; |
| 63 o.creationTimestamp = "foo"; | 63 o.creationTimestamp = "foo"; |
| 64 o.description = "foo"; | 64 o.description = "foo"; |
| 65 o.id = "foo"; | 65 o.id = "foo"; |
| 66 o.kind = "foo"; | 66 o.kind = "foo"; |
| 67 o.name = "foo"; | 67 o.name = "foo"; |
| 68 o.region = "foo"; | 68 o.region = "foo"; |
| 69 o.selfLink = "foo"; | 69 o.selfLink = "foo"; |
| 70 o.status = "foo"; | 70 o.status = "foo"; |
| 71 o.users = buildUnnamed848(); | 71 o.users = buildUnnamed822(); |
| 72 } | 72 } |
| 73 buildCounterAddress--; | 73 buildCounterAddress--; |
| 74 return o; | 74 return o; |
| 75 } | 75 } |
| 76 | 76 |
| 77 checkAddress(api.Address o) { | 77 checkAddress(api.Address o) { |
| 78 buildCounterAddress++; | 78 buildCounterAddress++; |
| 79 if (buildCounterAddress < 3) { | 79 if (buildCounterAddress < 3) { |
| 80 unittest.expect(o.address, unittest.equals('foo')); | 80 unittest.expect(o.address, unittest.equals('foo')); |
| 81 unittest.expect(o.creationTimestamp, unittest.equals('foo')); | 81 unittest.expect(o.creationTimestamp, unittest.equals('foo')); |
| 82 unittest.expect(o.description, unittest.equals('foo')); | 82 unittest.expect(o.description, unittest.equals('foo')); |
| 83 unittest.expect(o.id, unittest.equals('foo')); | 83 unittest.expect(o.id, unittest.equals('foo')); |
| 84 unittest.expect(o.kind, unittest.equals('foo')); | 84 unittest.expect(o.kind, unittest.equals('foo')); |
| 85 unittest.expect(o.name, unittest.equals('foo')); | 85 unittest.expect(o.name, unittest.equals('foo')); |
| 86 unittest.expect(o.region, unittest.equals('foo')); | 86 unittest.expect(o.region, unittest.equals('foo')); |
| 87 unittest.expect(o.selfLink, unittest.equals('foo')); | 87 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 88 unittest.expect(o.status, unittest.equals('foo')); | 88 unittest.expect(o.status, unittest.equals('foo')); |
| 89 checkUnnamed848(o.users); | 89 checkUnnamed822(o.users); |
| 90 } | 90 } |
| 91 buildCounterAddress--; | 91 buildCounterAddress--; |
| 92 } | 92 } |
| 93 | 93 |
| 94 buildUnnamed849() { | 94 buildUnnamed823() { |
| 95 var o = new core.Map<core.String, api.AddressesScopedList>(); | 95 var o = new core.Map<core.String, api.AddressesScopedList>(); |
| 96 o["x"] = buildAddressesScopedList(); | 96 o["x"] = buildAddressesScopedList(); |
| 97 o["y"] = buildAddressesScopedList(); | 97 o["y"] = buildAddressesScopedList(); |
| 98 return o; | 98 return o; |
| 99 } | 99 } |
| 100 | 100 |
| 101 checkUnnamed849(core.Map<core.String, api.AddressesScopedList> o) { | 101 checkUnnamed823(core.Map<core.String, api.AddressesScopedList> o) { |
| 102 unittest.expect(o, unittest.hasLength(2)); | 102 unittest.expect(o, unittest.hasLength(2)); |
| 103 checkAddressesScopedList(o["x"]); | 103 checkAddressesScopedList(o["x"]); |
| 104 checkAddressesScopedList(o["y"]); | 104 checkAddressesScopedList(o["y"]); |
| 105 } | 105 } |
| 106 | 106 |
| 107 core.int buildCounterAddressAggregatedList = 0; | 107 core.int buildCounterAddressAggregatedList = 0; |
| 108 buildAddressAggregatedList() { | 108 buildAddressAggregatedList() { |
| 109 var o = new api.AddressAggregatedList(); | 109 var o = new api.AddressAggregatedList(); |
| 110 buildCounterAddressAggregatedList++; | 110 buildCounterAddressAggregatedList++; |
| 111 if (buildCounterAddressAggregatedList < 3) { | 111 if (buildCounterAddressAggregatedList < 3) { |
| 112 o.id = "foo"; | 112 o.id = "foo"; |
| 113 o.items = buildUnnamed849(); | 113 o.items = buildUnnamed823(); |
| 114 o.kind = "foo"; | 114 o.kind = "foo"; |
| 115 o.nextPageToken = "foo"; | 115 o.nextPageToken = "foo"; |
| 116 o.selfLink = "foo"; | 116 o.selfLink = "foo"; |
| 117 } | 117 } |
| 118 buildCounterAddressAggregatedList--; | 118 buildCounterAddressAggregatedList--; |
| 119 return o; | 119 return o; |
| 120 } | 120 } |
| 121 | 121 |
| 122 checkAddressAggregatedList(api.AddressAggregatedList o) { | 122 checkAddressAggregatedList(api.AddressAggregatedList o) { |
| 123 buildCounterAddressAggregatedList++; | 123 buildCounterAddressAggregatedList++; |
| 124 if (buildCounterAddressAggregatedList < 3) { | 124 if (buildCounterAddressAggregatedList < 3) { |
| 125 unittest.expect(o.id, unittest.equals('foo')); | 125 unittest.expect(o.id, unittest.equals('foo')); |
| 126 checkUnnamed849(o.items); | 126 checkUnnamed823(o.items); |
| 127 unittest.expect(o.kind, unittest.equals('foo')); | 127 unittest.expect(o.kind, unittest.equals('foo')); |
| 128 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 128 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 129 unittest.expect(o.selfLink, unittest.equals('foo')); | 129 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 130 } | 130 } |
| 131 buildCounterAddressAggregatedList--; | 131 buildCounterAddressAggregatedList--; |
| 132 } | 132 } |
| 133 | 133 |
| 134 buildUnnamed850() { | 134 buildUnnamed824() { |
| 135 var o = new core.List<api.Address>(); | 135 var o = new core.List<api.Address>(); |
| 136 o.add(buildAddress()); | 136 o.add(buildAddress()); |
| 137 o.add(buildAddress()); | 137 o.add(buildAddress()); |
| 138 return o; | 138 return o; |
| 139 } | 139 } |
| 140 | 140 |
| 141 checkUnnamed850(core.List<api.Address> o) { | 141 checkUnnamed824(core.List<api.Address> o) { |
| 142 unittest.expect(o, unittest.hasLength(2)); | 142 unittest.expect(o, unittest.hasLength(2)); |
| 143 checkAddress(o[0]); | 143 checkAddress(o[0]); |
| 144 checkAddress(o[1]); | 144 checkAddress(o[1]); |
| 145 } | 145 } |
| 146 | 146 |
| 147 core.int buildCounterAddressList = 0; | 147 core.int buildCounterAddressList = 0; |
| 148 buildAddressList() { | 148 buildAddressList() { |
| 149 var o = new api.AddressList(); | 149 var o = new api.AddressList(); |
| 150 buildCounterAddressList++; | 150 buildCounterAddressList++; |
| 151 if (buildCounterAddressList < 3) { | 151 if (buildCounterAddressList < 3) { |
| 152 o.id = "foo"; | 152 o.id = "foo"; |
| 153 o.items = buildUnnamed850(); | 153 o.items = buildUnnamed824(); |
| 154 o.kind = "foo"; | 154 o.kind = "foo"; |
| 155 o.nextPageToken = "foo"; | 155 o.nextPageToken = "foo"; |
| 156 o.selfLink = "foo"; | 156 o.selfLink = "foo"; |
| 157 } | 157 } |
| 158 buildCounterAddressList--; | 158 buildCounterAddressList--; |
| 159 return o; | 159 return o; |
| 160 } | 160 } |
| 161 | 161 |
| 162 checkAddressList(api.AddressList o) { | 162 checkAddressList(api.AddressList o) { |
| 163 buildCounterAddressList++; | 163 buildCounterAddressList++; |
| 164 if (buildCounterAddressList < 3) { | 164 if (buildCounterAddressList < 3) { |
| 165 unittest.expect(o.id, unittest.equals('foo')); | 165 unittest.expect(o.id, unittest.equals('foo')); |
| 166 checkUnnamed850(o.items); | 166 checkUnnamed824(o.items); |
| 167 unittest.expect(o.kind, unittest.equals('foo')); | 167 unittest.expect(o.kind, unittest.equals('foo')); |
| 168 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 168 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 169 unittest.expect(o.selfLink, unittest.equals('foo')); | 169 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 170 } | 170 } |
| 171 buildCounterAddressList--; | 171 buildCounterAddressList--; |
| 172 } | 172 } |
| 173 | 173 |
| 174 buildUnnamed851() { | 174 buildUnnamed825() { |
| 175 var o = new core.List<api.Address>(); | 175 var o = new core.List<api.Address>(); |
| 176 o.add(buildAddress()); | 176 o.add(buildAddress()); |
| 177 o.add(buildAddress()); | 177 o.add(buildAddress()); |
| 178 return o; | 178 return o; |
| 179 } | 179 } |
| 180 | 180 |
| 181 checkUnnamed851(core.List<api.Address> o) { | 181 checkUnnamed825(core.List<api.Address> o) { |
| 182 unittest.expect(o, unittest.hasLength(2)); | 182 unittest.expect(o, unittest.hasLength(2)); |
| 183 checkAddress(o[0]); | 183 checkAddress(o[0]); |
| 184 checkAddress(o[1]); | 184 checkAddress(o[1]); |
| 185 } | 185 } |
| 186 | 186 |
| 187 core.int buildCounterAddressesScopedListWarningData = 0; | 187 core.int buildCounterAddressesScopedListWarningData = 0; |
| 188 buildAddressesScopedListWarningData() { | 188 buildAddressesScopedListWarningData() { |
| 189 var o = new api.AddressesScopedListWarningData(); | 189 var o = new api.AddressesScopedListWarningData(); |
| 190 buildCounterAddressesScopedListWarningData++; | 190 buildCounterAddressesScopedListWarningData++; |
| 191 if (buildCounterAddressesScopedListWarningData < 3) { | 191 if (buildCounterAddressesScopedListWarningData < 3) { |
| 192 o.key = "foo"; | 192 o.key = "foo"; |
| 193 o.value = "foo"; | 193 o.value = "foo"; |
| 194 } | 194 } |
| 195 buildCounterAddressesScopedListWarningData--; | 195 buildCounterAddressesScopedListWarningData--; |
| 196 return o; | 196 return o; |
| 197 } | 197 } |
| 198 | 198 |
| 199 checkAddressesScopedListWarningData(api.AddressesScopedListWarningData o) { | 199 checkAddressesScopedListWarningData(api.AddressesScopedListWarningData o) { |
| 200 buildCounterAddressesScopedListWarningData++; | 200 buildCounterAddressesScopedListWarningData++; |
| 201 if (buildCounterAddressesScopedListWarningData < 3) { | 201 if (buildCounterAddressesScopedListWarningData < 3) { |
| 202 unittest.expect(o.key, unittest.equals('foo')); | 202 unittest.expect(o.key, unittest.equals('foo')); |
| 203 unittest.expect(o.value, unittest.equals('foo')); | 203 unittest.expect(o.value, unittest.equals('foo')); |
| 204 } | 204 } |
| 205 buildCounterAddressesScopedListWarningData--; | 205 buildCounterAddressesScopedListWarningData--; |
| 206 } | 206 } |
| 207 | 207 |
| 208 buildUnnamed852() { | 208 buildUnnamed826() { |
| 209 var o = new core.List<api.AddressesScopedListWarningData>(); | 209 var o = new core.List<api.AddressesScopedListWarningData>(); |
| 210 o.add(buildAddressesScopedListWarningData()); | 210 o.add(buildAddressesScopedListWarningData()); |
| 211 o.add(buildAddressesScopedListWarningData()); | 211 o.add(buildAddressesScopedListWarningData()); |
| 212 return o; | 212 return o; |
| 213 } | 213 } |
| 214 | 214 |
| 215 checkUnnamed852(core.List<api.AddressesScopedListWarningData> o) { | 215 checkUnnamed826(core.List<api.AddressesScopedListWarningData> o) { |
| 216 unittest.expect(o, unittest.hasLength(2)); | 216 unittest.expect(o, unittest.hasLength(2)); |
| 217 checkAddressesScopedListWarningData(o[0]); | 217 checkAddressesScopedListWarningData(o[0]); |
| 218 checkAddressesScopedListWarningData(o[1]); | 218 checkAddressesScopedListWarningData(o[1]); |
| 219 } | 219 } |
| 220 | 220 |
| 221 core.int buildCounterAddressesScopedListWarning = 0; | 221 core.int buildCounterAddressesScopedListWarning = 0; |
| 222 buildAddressesScopedListWarning() { | 222 buildAddressesScopedListWarning() { |
| 223 var o = new api.AddressesScopedListWarning(); | 223 var o = new api.AddressesScopedListWarning(); |
| 224 buildCounterAddressesScopedListWarning++; | 224 buildCounterAddressesScopedListWarning++; |
| 225 if (buildCounterAddressesScopedListWarning < 3) { | 225 if (buildCounterAddressesScopedListWarning < 3) { |
| 226 o.code = "foo"; | 226 o.code = "foo"; |
| 227 o.data = buildUnnamed852(); | 227 o.data = buildUnnamed826(); |
| 228 o.message = "foo"; | 228 o.message = "foo"; |
| 229 } | 229 } |
| 230 buildCounterAddressesScopedListWarning--; | 230 buildCounterAddressesScopedListWarning--; |
| 231 return o; | 231 return o; |
| 232 } | 232 } |
| 233 | 233 |
| 234 checkAddressesScopedListWarning(api.AddressesScopedListWarning o) { | 234 checkAddressesScopedListWarning(api.AddressesScopedListWarning o) { |
| 235 buildCounterAddressesScopedListWarning++; | 235 buildCounterAddressesScopedListWarning++; |
| 236 if (buildCounterAddressesScopedListWarning < 3) { | 236 if (buildCounterAddressesScopedListWarning < 3) { |
| 237 unittest.expect(o.code, unittest.equals('foo')); | 237 unittest.expect(o.code, unittest.equals('foo')); |
| 238 checkUnnamed852(o.data); | 238 checkUnnamed826(o.data); |
| 239 unittest.expect(o.message, unittest.equals('foo')); | 239 unittest.expect(o.message, unittest.equals('foo')); |
| 240 } | 240 } |
| 241 buildCounterAddressesScopedListWarning--; | 241 buildCounterAddressesScopedListWarning--; |
| 242 } | 242 } |
| 243 | 243 |
| 244 core.int buildCounterAddressesScopedList = 0; | 244 core.int buildCounterAddressesScopedList = 0; |
| 245 buildAddressesScopedList() { | 245 buildAddressesScopedList() { |
| 246 var o = new api.AddressesScopedList(); | 246 var o = new api.AddressesScopedList(); |
| 247 buildCounterAddressesScopedList++; | 247 buildCounterAddressesScopedList++; |
| 248 if (buildCounterAddressesScopedList < 3) { | 248 if (buildCounterAddressesScopedList < 3) { |
| 249 o.addresses = buildUnnamed851(); | 249 o.addresses = buildUnnamed825(); |
| 250 o.warning = buildAddressesScopedListWarning(); | 250 o.warning = buildAddressesScopedListWarning(); |
| 251 } | 251 } |
| 252 buildCounterAddressesScopedList--; | 252 buildCounterAddressesScopedList--; |
| 253 return o; | 253 return o; |
| 254 } | 254 } |
| 255 | 255 |
| 256 checkAddressesScopedList(api.AddressesScopedList o) { | 256 checkAddressesScopedList(api.AddressesScopedList o) { |
| 257 buildCounterAddressesScopedList++; | 257 buildCounterAddressesScopedList++; |
| 258 if (buildCounterAddressesScopedList < 3) { | 258 if (buildCounterAddressesScopedList < 3) { |
| 259 checkUnnamed851(o.addresses); | 259 checkUnnamed825(o.addresses); |
| 260 checkAddressesScopedListWarning(o.warning); | 260 checkAddressesScopedListWarning(o.warning); |
| 261 } | 261 } |
| 262 buildCounterAddressesScopedList--; | 262 buildCounterAddressesScopedList--; |
| 263 } | 263 } |
| 264 | 264 |
| 265 buildUnnamed853() { | 265 buildUnnamed827() { |
| 266 var o = new core.List<core.String>(); | 266 var o = new core.List<core.String>(); |
| 267 o.add("foo"); | 267 o.add("foo"); |
| 268 o.add("foo"); | 268 o.add("foo"); |
| 269 return o; | 269 return o; |
| 270 } | 270 } |
| 271 | 271 |
| 272 checkUnnamed853(core.List<core.String> o) { | 272 checkUnnamed827(core.List<core.String> o) { |
| 273 unittest.expect(o, unittest.hasLength(2)); | 273 unittest.expect(o, unittest.hasLength(2)); |
| 274 unittest.expect(o[0], unittest.equals('foo')); | 274 unittest.expect(o[0], unittest.equals('foo')); |
| 275 unittest.expect(o[1], unittest.equals('foo')); | 275 unittest.expect(o[1], unittest.equals('foo')); |
| 276 } | 276 } |
| 277 | 277 |
| 278 core.int buildCounterAttachedDisk = 0; | 278 core.int buildCounterAttachedDisk = 0; |
| 279 buildAttachedDisk() { | 279 buildAttachedDisk() { |
| 280 var o = new api.AttachedDisk(); | 280 var o = new api.AttachedDisk(); |
| 281 buildCounterAttachedDisk++; | 281 buildCounterAttachedDisk++; |
| 282 if (buildCounterAttachedDisk < 3) { | 282 if (buildCounterAttachedDisk < 3) { |
| 283 o.autoDelete = true; | 283 o.autoDelete = true; |
| 284 o.boot = true; | 284 o.boot = true; |
| 285 o.deviceName = "foo"; | 285 o.deviceName = "foo"; |
| 286 o.index = 42; | 286 o.index = 42; |
| 287 o.initializeParams = buildAttachedDiskInitializeParams(); | 287 o.initializeParams = buildAttachedDiskInitializeParams(); |
| 288 o.kind = "foo"; | 288 o.kind = "foo"; |
| 289 o.licenses = buildUnnamed853(); | 289 o.licenses = buildUnnamed827(); |
| 290 o.mode = "foo"; | 290 o.mode = "foo"; |
| 291 o.source = "foo"; | 291 o.source = "foo"; |
| 292 o.type = "foo"; | 292 o.type = "foo"; |
| 293 } | 293 } |
| 294 buildCounterAttachedDisk--; | 294 buildCounterAttachedDisk--; |
| 295 return o; | 295 return o; |
| 296 } | 296 } |
| 297 | 297 |
| 298 checkAttachedDisk(api.AttachedDisk o) { | 298 checkAttachedDisk(api.AttachedDisk o) { |
| 299 buildCounterAttachedDisk++; | 299 buildCounterAttachedDisk++; |
| 300 if (buildCounterAttachedDisk < 3) { | 300 if (buildCounterAttachedDisk < 3) { |
| 301 unittest.expect(o.autoDelete, unittest.isTrue); | 301 unittest.expect(o.autoDelete, unittest.isTrue); |
| 302 unittest.expect(o.boot, unittest.isTrue); | 302 unittest.expect(o.boot, unittest.isTrue); |
| 303 unittest.expect(o.deviceName, unittest.equals('foo')); | 303 unittest.expect(o.deviceName, unittest.equals('foo')); |
| 304 unittest.expect(o.index, unittest.equals(42)); | 304 unittest.expect(o.index, unittest.equals(42)); |
| 305 checkAttachedDiskInitializeParams(o.initializeParams); | 305 checkAttachedDiskInitializeParams(o.initializeParams); |
| 306 unittest.expect(o.kind, unittest.equals('foo')); | 306 unittest.expect(o.kind, unittest.equals('foo')); |
| 307 checkUnnamed853(o.licenses); | 307 checkUnnamed827(o.licenses); |
| 308 unittest.expect(o.mode, unittest.equals('foo')); | 308 unittest.expect(o.mode, unittest.equals('foo')); |
| 309 unittest.expect(o.source, unittest.equals('foo')); | 309 unittest.expect(o.source, unittest.equals('foo')); |
| 310 unittest.expect(o.type, unittest.equals('foo')); | 310 unittest.expect(o.type, unittest.equals('foo')); |
| 311 } | 311 } |
| 312 buildCounterAttachedDisk--; | 312 buildCounterAttachedDisk--; |
| 313 } | 313 } |
| 314 | 314 |
| 315 core.int buildCounterAttachedDiskInitializeParams = 0; | 315 core.int buildCounterAttachedDiskInitializeParams = 0; |
| 316 buildAttachedDiskInitializeParams() { | 316 buildAttachedDiskInitializeParams() { |
| 317 var o = new api.AttachedDiskInitializeParams(); | 317 var o = new api.AttachedDiskInitializeParams(); |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 361 unittest.expect(o.capacityScaler, unittest.equals(42.0)); | 361 unittest.expect(o.capacityScaler, unittest.equals(42.0)); |
| 362 unittest.expect(o.description, unittest.equals('foo')); | 362 unittest.expect(o.description, unittest.equals('foo')); |
| 363 unittest.expect(o.group, unittest.equals('foo')); | 363 unittest.expect(o.group, unittest.equals('foo')); |
| 364 unittest.expect(o.maxRate, unittest.equals(42)); | 364 unittest.expect(o.maxRate, unittest.equals(42)); |
| 365 unittest.expect(o.maxRatePerInstance, unittest.equals(42.0)); | 365 unittest.expect(o.maxRatePerInstance, unittest.equals(42.0)); |
| 366 unittest.expect(o.maxUtilization, unittest.equals(42.0)); | 366 unittest.expect(o.maxUtilization, unittest.equals(42.0)); |
| 367 } | 367 } |
| 368 buildCounterBackend--; | 368 buildCounterBackend--; |
| 369 } | 369 } |
| 370 | 370 |
| 371 buildUnnamed854() { | 371 buildUnnamed828() { |
| 372 var o = new core.List<api.Backend>(); | 372 var o = new core.List<api.Backend>(); |
| 373 o.add(buildBackend()); | 373 o.add(buildBackend()); |
| 374 o.add(buildBackend()); | 374 o.add(buildBackend()); |
| 375 return o; | 375 return o; |
| 376 } | 376 } |
| 377 | 377 |
| 378 checkUnnamed854(core.List<api.Backend> o) { | 378 checkUnnamed828(core.List<api.Backend> o) { |
| 379 unittest.expect(o, unittest.hasLength(2)); | 379 unittest.expect(o, unittest.hasLength(2)); |
| 380 checkBackend(o[0]); | 380 checkBackend(o[0]); |
| 381 checkBackend(o[1]); | 381 checkBackend(o[1]); |
| 382 } | 382 } |
| 383 | 383 |
| 384 buildUnnamed855() { | 384 buildUnnamed829() { |
| 385 var o = new core.List<core.String>(); | 385 var o = new core.List<core.String>(); |
| 386 o.add("foo"); | 386 o.add("foo"); |
| 387 o.add("foo"); | 387 o.add("foo"); |
| 388 return o; | 388 return o; |
| 389 } | 389 } |
| 390 | 390 |
| 391 checkUnnamed855(core.List<core.String> o) { | 391 checkUnnamed829(core.List<core.String> o) { |
| 392 unittest.expect(o, unittest.hasLength(2)); | 392 unittest.expect(o, unittest.hasLength(2)); |
| 393 unittest.expect(o[0], unittest.equals('foo')); | 393 unittest.expect(o[0], unittest.equals('foo')); |
| 394 unittest.expect(o[1], unittest.equals('foo')); | 394 unittest.expect(o[1], unittest.equals('foo')); |
| 395 } | 395 } |
| 396 | 396 |
| 397 core.int buildCounterBackendService = 0; | 397 core.int buildCounterBackendService = 0; |
| 398 buildBackendService() { | 398 buildBackendService() { |
| 399 var o = new api.BackendService(); | 399 var o = new api.BackendService(); |
| 400 buildCounterBackendService++; | 400 buildCounterBackendService++; |
| 401 if (buildCounterBackendService < 3) { | 401 if (buildCounterBackendService < 3) { |
| 402 o.backends = buildUnnamed854(); | 402 o.backends = buildUnnamed828(); |
| 403 o.creationTimestamp = "foo"; | 403 o.creationTimestamp = "foo"; |
| 404 o.description = "foo"; | 404 o.description = "foo"; |
| 405 o.fingerprint = "foo"; | 405 o.fingerprint = "foo"; |
| 406 o.healthChecks = buildUnnamed855(); | 406 o.healthChecks = buildUnnamed829(); |
| 407 o.id = "foo"; | 407 o.id = "foo"; |
| 408 o.kind = "foo"; | 408 o.kind = "foo"; |
| 409 o.name = "foo"; | 409 o.name = "foo"; |
| 410 o.port = 42; | 410 o.port = 42; |
| 411 o.portName = "foo"; | 411 o.portName = "foo"; |
| 412 o.protocol = "foo"; | 412 o.protocol = "foo"; |
| 413 o.selfLink = "foo"; | 413 o.selfLink = "foo"; |
| 414 o.timeoutSec = 42; | 414 o.timeoutSec = 42; |
| 415 } | 415 } |
| 416 buildCounterBackendService--; | 416 buildCounterBackendService--; |
| 417 return o; | 417 return o; |
| 418 } | 418 } |
| 419 | 419 |
| 420 checkBackendService(api.BackendService o) { | 420 checkBackendService(api.BackendService o) { |
| 421 buildCounterBackendService++; | 421 buildCounterBackendService++; |
| 422 if (buildCounterBackendService < 3) { | 422 if (buildCounterBackendService < 3) { |
| 423 checkUnnamed854(o.backends); | 423 checkUnnamed828(o.backends); |
| 424 unittest.expect(o.creationTimestamp, unittest.equals('foo')); | 424 unittest.expect(o.creationTimestamp, unittest.equals('foo')); |
| 425 unittest.expect(o.description, unittest.equals('foo')); | 425 unittest.expect(o.description, unittest.equals('foo')); |
| 426 unittest.expect(o.fingerprint, unittest.equals('foo')); | 426 unittest.expect(o.fingerprint, unittest.equals('foo')); |
| 427 checkUnnamed855(o.healthChecks); | 427 checkUnnamed829(o.healthChecks); |
| 428 unittest.expect(o.id, unittest.equals('foo')); | 428 unittest.expect(o.id, unittest.equals('foo')); |
| 429 unittest.expect(o.kind, unittest.equals('foo')); | 429 unittest.expect(o.kind, unittest.equals('foo')); |
| 430 unittest.expect(o.name, unittest.equals('foo')); | 430 unittest.expect(o.name, unittest.equals('foo')); |
| 431 unittest.expect(o.port, unittest.equals(42)); | 431 unittest.expect(o.port, unittest.equals(42)); |
| 432 unittest.expect(o.portName, unittest.equals('foo')); | 432 unittest.expect(o.portName, unittest.equals('foo')); |
| 433 unittest.expect(o.protocol, unittest.equals('foo')); | 433 unittest.expect(o.protocol, unittest.equals('foo')); |
| 434 unittest.expect(o.selfLink, unittest.equals('foo')); | 434 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 435 unittest.expect(o.timeoutSec, unittest.equals(42)); | 435 unittest.expect(o.timeoutSec, unittest.equals(42)); |
| 436 } | 436 } |
| 437 buildCounterBackendService--; | 437 buildCounterBackendService--; |
| 438 } | 438 } |
| 439 | 439 |
| 440 buildUnnamed856() { | 440 buildUnnamed830() { |
| 441 var o = new core.List<api.HealthStatus>(); | 441 var o = new core.List<api.HealthStatus>(); |
| 442 o.add(buildHealthStatus()); | 442 o.add(buildHealthStatus()); |
| 443 o.add(buildHealthStatus()); | 443 o.add(buildHealthStatus()); |
| 444 return o; | 444 return o; |
| 445 } | 445 } |
| 446 | 446 |
| 447 checkUnnamed856(core.List<api.HealthStatus> o) { | 447 checkUnnamed830(core.List<api.HealthStatus> o) { |
| 448 unittest.expect(o, unittest.hasLength(2)); | 448 unittest.expect(o, unittest.hasLength(2)); |
| 449 checkHealthStatus(o[0]); | 449 checkHealthStatus(o[0]); |
| 450 checkHealthStatus(o[1]); | 450 checkHealthStatus(o[1]); |
| 451 } | 451 } |
| 452 | 452 |
| 453 core.int buildCounterBackendServiceGroupHealth = 0; | 453 core.int buildCounterBackendServiceGroupHealth = 0; |
| 454 buildBackendServiceGroupHealth() { | 454 buildBackendServiceGroupHealth() { |
| 455 var o = new api.BackendServiceGroupHealth(); | 455 var o = new api.BackendServiceGroupHealth(); |
| 456 buildCounterBackendServiceGroupHealth++; | 456 buildCounterBackendServiceGroupHealth++; |
| 457 if (buildCounterBackendServiceGroupHealth < 3) { | 457 if (buildCounterBackendServiceGroupHealth < 3) { |
| 458 o.healthStatus = buildUnnamed856(); | 458 o.healthStatus = buildUnnamed830(); |
| 459 o.kind = "foo"; | 459 o.kind = "foo"; |
| 460 } | 460 } |
| 461 buildCounterBackendServiceGroupHealth--; | 461 buildCounterBackendServiceGroupHealth--; |
| 462 return o; | 462 return o; |
| 463 } | 463 } |
| 464 | 464 |
| 465 checkBackendServiceGroupHealth(api.BackendServiceGroupHealth o) { | 465 checkBackendServiceGroupHealth(api.BackendServiceGroupHealth o) { |
| 466 buildCounterBackendServiceGroupHealth++; | 466 buildCounterBackendServiceGroupHealth++; |
| 467 if (buildCounterBackendServiceGroupHealth < 3) { | 467 if (buildCounterBackendServiceGroupHealth < 3) { |
| 468 checkUnnamed856(o.healthStatus); | 468 checkUnnamed830(o.healthStatus); |
| 469 unittest.expect(o.kind, unittest.equals('foo')); | 469 unittest.expect(o.kind, unittest.equals('foo')); |
| 470 } | 470 } |
| 471 buildCounterBackendServiceGroupHealth--; | 471 buildCounterBackendServiceGroupHealth--; |
| 472 } | 472 } |
| 473 | 473 |
| 474 buildUnnamed857() { | 474 buildUnnamed831() { |
| 475 var o = new core.List<api.BackendService>(); | 475 var o = new core.List<api.BackendService>(); |
| 476 o.add(buildBackendService()); | 476 o.add(buildBackendService()); |
| 477 o.add(buildBackendService()); | 477 o.add(buildBackendService()); |
| 478 return o; | 478 return o; |
| 479 } | 479 } |
| 480 | 480 |
| 481 checkUnnamed857(core.List<api.BackendService> o) { | 481 checkUnnamed831(core.List<api.BackendService> o) { |
| 482 unittest.expect(o, unittest.hasLength(2)); | 482 unittest.expect(o, unittest.hasLength(2)); |
| 483 checkBackendService(o[0]); | 483 checkBackendService(o[0]); |
| 484 checkBackendService(o[1]); | 484 checkBackendService(o[1]); |
| 485 } | 485 } |
| 486 | 486 |
| 487 core.int buildCounterBackendServiceList = 0; | 487 core.int buildCounterBackendServiceList = 0; |
| 488 buildBackendServiceList() { | 488 buildBackendServiceList() { |
| 489 var o = new api.BackendServiceList(); | 489 var o = new api.BackendServiceList(); |
| 490 buildCounterBackendServiceList++; | 490 buildCounterBackendServiceList++; |
| 491 if (buildCounterBackendServiceList < 3) { | 491 if (buildCounterBackendServiceList < 3) { |
| 492 o.id = "foo"; | 492 o.id = "foo"; |
| 493 o.items = buildUnnamed857(); | 493 o.items = buildUnnamed831(); |
| 494 o.kind = "foo"; | 494 o.kind = "foo"; |
| 495 o.nextPageToken = "foo"; | 495 o.nextPageToken = "foo"; |
| 496 o.selfLink = "foo"; | 496 o.selfLink = "foo"; |
| 497 } | 497 } |
| 498 buildCounterBackendServiceList--; | 498 buildCounterBackendServiceList--; |
| 499 return o; | 499 return o; |
| 500 } | 500 } |
| 501 | 501 |
| 502 checkBackendServiceList(api.BackendServiceList o) { | 502 checkBackendServiceList(api.BackendServiceList o) { |
| 503 buildCounterBackendServiceList++; | 503 buildCounterBackendServiceList++; |
| 504 if (buildCounterBackendServiceList < 3) { | 504 if (buildCounterBackendServiceList < 3) { |
| 505 unittest.expect(o.id, unittest.equals('foo')); | 505 unittest.expect(o.id, unittest.equals('foo')); |
| 506 checkUnnamed857(o.items); | 506 checkUnnamed831(o.items); |
| 507 unittest.expect(o.kind, unittest.equals('foo')); | 507 unittest.expect(o.kind, unittest.equals('foo')); |
| 508 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 508 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 509 unittest.expect(o.selfLink, unittest.equals('foo')); | 509 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 510 } | 510 } |
| 511 buildCounterBackendServiceList--; | 511 buildCounterBackendServiceList--; |
| 512 } | 512 } |
| 513 | 513 |
| 514 core.int buildCounterDeprecationStatus = 0; | 514 core.int buildCounterDeprecationStatus = 0; |
| 515 buildDeprecationStatus() { | 515 buildDeprecationStatus() { |
| 516 var o = new api.DeprecationStatus(); | 516 var o = new api.DeprecationStatus(); |
| (...skipping 14 matching lines...) Expand all Loading... |
| 531 if (buildCounterDeprecationStatus < 3) { | 531 if (buildCounterDeprecationStatus < 3) { |
| 532 unittest.expect(o.deleted, unittest.equals('foo')); | 532 unittest.expect(o.deleted, unittest.equals('foo')); |
| 533 unittest.expect(o.deprecated, unittest.equals('foo')); | 533 unittest.expect(o.deprecated, unittest.equals('foo')); |
| 534 unittest.expect(o.obsolete, unittest.equals('foo')); | 534 unittest.expect(o.obsolete, unittest.equals('foo')); |
| 535 unittest.expect(o.replacement, unittest.equals('foo')); | 535 unittest.expect(o.replacement, unittest.equals('foo')); |
| 536 unittest.expect(o.state, unittest.equals('foo')); | 536 unittest.expect(o.state, unittest.equals('foo')); |
| 537 } | 537 } |
| 538 buildCounterDeprecationStatus--; | 538 buildCounterDeprecationStatus--; |
| 539 } | 539 } |
| 540 | 540 |
| 541 buildUnnamed858() { | 541 buildUnnamed832() { |
| 542 var o = new core.List<core.String>(); | 542 var o = new core.List<core.String>(); |
| 543 o.add("foo"); | 543 o.add("foo"); |
| 544 o.add("foo"); | 544 o.add("foo"); |
| 545 return o; | 545 return o; |
| 546 } | 546 } |
| 547 | 547 |
| 548 checkUnnamed858(core.List<core.String> o) { | 548 checkUnnamed832(core.List<core.String> o) { |
| 549 unittest.expect(o, unittest.hasLength(2)); | 549 unittest.expect(o, unittest.hasLength(2)); |
| 550 unittest.expect(o[0], unittest.equals('foo')); | 550 unittest.expect(o[0], unittest.equals('foo')); |
| 551 unittest.expect(o[1], unittest.equals('foo')); | 551 unittest.expect(o[1], unittest.equals('foo')); |
| 552 } | 552 } |
| 553 | 553 |
| 554 core.int buildCounterDisk = 0; | 554 core.int buildCounterDisk = 0; |
| 555 buildDisk() { | 555 buildDisk() { |
| 556 var o = new api.Disk(); | 556 var o = new api.Disk(); |
| 557 buildCounterDisk++; | 557 buildCounterDisk++; |
| 558 if (buildCounterDisk < 3) { | 558 if (buildCounterDisk < 3) { |
| 559 o.creationTimestamp = "foo"; | 559 o.creationTimestamp = "foo"; |
| 560 o.description = "foo"; | 560 o.description = "foo"; |
| 561 o.id = "foo"; | 561 o.id = "foo"; |
| 562 o.kind = "foo"; | 562 o.kind = "foo"; |
| 563 o.licenses = buildUnnamed858(); | 563 o.licenses = buildUnnamed832(); |
| 564 o.name = "foo"; | 564 o.name = "foo"; |
| 565 o.options = "foo"; | 565 o.options = "foo"; |
| 566 o.selfLink = "foo"; | 566 o.selfLink = "foo"; |
| 567 o.sizeGb = "foo"; | 567 o.sizeGb = "foo"; |
| 568 o.sourceImage = "foo"; | 568 o.sourceImage = "foo"; |
| 569 o.sourceImageId = "foo"; | 569 o.sourceImageId = "foo"; |
| 570 o.sourceSnapshot = "foo"; | 570 o.sourceSnapshot = "foo"; |
| 571 o.sourceSnapshotId = "foo"; | 571 o.sourceSnapshotId = "foo"; |
| 572 o.status = "foo"; | 572 o.status = "foo"; |
| 573 o.type = "foo"; | 573 o.type = "foo"; |
| 574 o.zone = "foo"; | 574 o.zone = "foo"; |
| 575 } | 575 } |
| 576 buildCounterDisk--; | 576 buildCounterDisk--; |
| 577 return o; | 577 return o; |
| 578 } | 578 } |
| 579 | 579 |
| 580 checkDisk(api.Disk o) { | 580 checkDisk(api.Disk o) { |
| 581 buildCounterDisk++; | 581 buildCounterDisk++; |
| 582 if (buildCounterDisk < 3) { | 582 if (buildCounterDisk < 3) { |
| 583 unittest.expect(o.creationTimestamp, unittest.equals('foo')); | 583 unittest.expect(o.creationTimestamp, unittest.equals('foo')); |
| 584 unittest.expect(o.description, unittest.equals('foo')); | 584 unittest.expect(o.description, unittest.equals('foo')); |
| 585 unittest.expect(o.id, unittest.equals('foo')); | 585 unittest.expect(o.id, unittest.equals('foo')); |
| 586 unittest.expect(o.kind, unittest.equals('foo')); | 586 unittest.expect(o.kind, unittest.equals('foo')); |
| 587 checkUnnamed858(o.licenses); | 587 checkUnnamed832(o.licenses); |
| 588 unittest.expect(o.name, unittest.equals('foo')); | 588 unittest.expect(o.name, unittest.equals('foo')); |
| 589 unittest.expect(o.options, unittest.equals('foo')); | 589 unittest.expect(o.options, unittest.equals('foo')); |
| 590 unittest.expect(o.selfLink, unittest.equals('foo')); | 590 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 591 unittest.expect(o.sizeGb, unittest.equals('foo')); | 591 unittest.expect(o.sizeGb, unittest.equals('foo')); |
| 592 unittest.expect(o.sourceImage, unittest.equals('foo')); | 592 unittest.expect(o.sourceImage, unittest.equals('foo')); |
| 593 unittest.expect(o.sourceImageId, unittest.equals('foo')); | 593 unittest.expect(o.sourceImageId, unittest.equals('foo')); |
| 594 unittest.expect(o.sourceSnapshot, unittest.equals('foo')); | 594 unittest.expect(o.sourceSnapshot, unittest.equals('foo')); |
| 595 unittest.expect(o.sourceSnapshotId, unittest.equals('foo')); | 595 unittest.expect(o.sourceSnapshotId, unittest.equals('foo')); |
| 596 unittest.expect(o.status, unittest.equals('foo')); | 596 unittest.expect(o.status, unittest.equals('foo')); |
| 597 unittest.expect(o.type, unittest.equals('foo')); | 597 unittest.expect(o.type, unittest.equals('foo')); |
| 598 unittest.expect(o.zone, unittest.equals('foo')); | 598 unittest.expect(o.zone, unittest.equals('foo')); |
| 599 } | 599 } |
| 600 buildCounterDisk--; | 600 buildCounterDisk--; |
| 601 } | 601 } |
| 602 | 602 |
| 603 buildUnnamed859() { | 603 buildUnnamed833() { |
| 604 var o = new core.Map<core.String, api.DisksScopedList>(); | 604 var o = new core.Map<core.String, api.DisksScopedList>(); |
| 605 o["x"] = buildDisksScopedList(); | 605 o["x"] = buildDisksScopedList(); |
| 606 o["y"] = buildDisksScopedList(); | 606 o["y"] = buildDisksScopedList(); |
| 607 return o; | 607 return o; |
| 608 } | 608 } |
| 609 | 609 |
| 610 checkUnnamed859(core.Map<core.String, api.DisksScopedList> o) { | 610 checkUnnamed833(core.Map<core.String, api.DisksScopedList> o) { |
| 611 unittest.expect(o, unittest.hasLength(2)); | 611 unittest.expect(o, unittest.hasLength(2)); |
| 612 checkDisksScopedList(o["x"]); | 612 checkDisksScopedList(o["x"]); |
| 613 checkDisksScopedList(o["y"]); | 613 checkDisksScopedList(o["y"]); |
| 614 } | 614 } |
| 615 | 615 |
| 616 core.int buildCounterDiskAggregatedList = 0; | 616 core.int buildCounterDiskAggregatedList = 0; |
| 617 buildDiskAggregatedList() { | 617 buildDiskAggregatedList() { |
| 618 var o = new api.DiskAggregatedList(); | 618 var o = new api.DiskAggregatedList(); |
| 619 buildCounterDiskAggregatedList++; | 619 buildCounterDiskAggregatedList++; |
| 620 if (buildCounterDiskAggregatedList < 3) { | 620 if (buildCounterDiskAggregatedList < 3) { |
| 621 o.id = "foo"; | 621 o.id = "foo"; |
| 622 o.items = buildUnnamed859(); | 622 o.items = buildUnnamed833(); |
| 623 o.kind = "foo"; | 623 o.kind = "foo"; |
| 624 o.nextPageToken = "foo"; | 624 o.nextPageToken = "foo"; |
| 625 o.selfLink = "foo"; | 625 o.selfLink = "foo"; |
| 626 } | 626 } |
| 627 buildCounterDiskAggregatedList--; | 627 buildCounterDiskAggregatedList--; |
| 628 return o; | 628 return o; |
| 629 } | 629 } |
| 630 | 630 |
| 631 checkDiskAggregatedList(api.DiskAggregatedList o) { | 631 checkDiskAggregatedList(api.DiskAggregatedList o) { |
| 632 buildCounterDiskAggregatedList++; | 632 buildCounterDiskAggregatedList++; |
| 633 if (buildCounterDiskAggregatedList < 3) { | 633 if (buildCounterDiskAggregatedList < 3) { |
| 634 unittest.expect(o.id, unittest.equals('foo')); | 634 unittest.expect(o.id, unittest.equals('foo')); |
| 635 checkUnnamed859(o.items); | 635 checkUnnamed833(o.items); |
| 636 unittest.expect(o.kind, unittest.equals('foo')); | 636 unittest.expect(o.kind, unittest.equals('foo')); |
| 637 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 637 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 638 unittest.expect(o.selfLink, unittest.equals('foo')); | 638 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 639 } | 639 } |
| 640 buildCounterDiskAggregatedList--; | 640 buildCounterDiskAggregatedList--; |
| 641 } | 641 } |
| 642 | 642 |
| 643 buildUnnamed860() { | 643 buildUnnamed834() { |
| 644 var o = new core.List<api.Disk>(); | 644 var o = new core.List<api.Disk>(); |
| 645 o.add(buildDisk()); | 645 o.add(buildDisk()); |
| 646 o.add(buildDisk()); | 646 o.add(buildDisk()); |
| 647 return o; | 647 return o; |
| 648 } | 648 } |
| 649 | 649 |
| 650 checkUnnamed860(core.List<api.Disk> o) { | 650 checkUnnamed834(core.List<api.Disk> o) { |
| 651 unittest.expect(o, unittest.hasLength(2)); | 651 unittest.expect(o, unittest.hasLength(2)); |
| 652 checkDisk(o[0]); | 652 checkDisk(o[0]); |
| 653 checkDisk(o[1]); | 653 checkDisk(o[1]); |
| 654 } | 654 } |
| 655 | 655 |
| 656 core.int buildCounterDiskList = 0; | 656 core.int buildCounterDiskList = 0; |
| 657 buildDiskList() { | 657 buildDiskList() { |
| 658 var o = new api.DiskList(); | 658 var o = new api.DiskList(); |
| 659 buildCounterDiskList++; | 659 buildCounterDiskList++; |
| 660 if (buildCounterDiskList < 3) { | 660 if (buildCounterDiskList < 3) { |
| 661 o.id = "foo"; | 661 o.id = "foo"; |
| 662 o.items = buildUnnamed860(); | 662 o.items = buildUnnamed834(); |
| 663 o.kind = "foo"; | 663 o.kind = "foo"; |
| 664 o.nextPageToken = "foo"; | 664 o.nextPageToken = "foo"; |
| 665 o.selfLink = "foo"; | 665 o.selfLink = "foo"; |
| 666 } | 666 } |
| 667 buildCounterDiskList--; | 667 buildCounterDiskList--; |
| 668 return o; | 668 return o; |
| 669 } | 669 } |
| 670 | 670 |
| 671 checkDiskList(api.DiskList o) { | 671 checkDiskList(api.DiskList o) { |
| 672 buildCounterDiskList++; | 672 buildCounterDiskList++; |
| 673 if (buildCounterDiskList < 3) { | 673 if (buildCounterDiskList < 3) { |
| 674 unittest.expect(o.id, unittest.equals('foo')); | 674 unittest.expect(o.id, unittest.equals('foo')); |
| 675 checkUnnamed860(o.items); | 675 checkUnnamed834(o.items); |
| 676 unittest.expect(o.kind, unittest.equals('foo')); | 676 unittest.expect(o.kind, unittest.equals('foo')); |
| 677 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 677 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 678 unittest.expect(o.selfLink, unittest.equals('foo')); | 678 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 679 } | 679 } |
| 680 buildCounterDiskList--; | 680 buildCounterDiskList--; |
| 681 } | 681 } |
| 682 | 682 |
| 683 core.int buildCounterDiskType = 0; | 683 core.int buildCounterDiskType = 0; |
| 684 buildDiskType() { | 684 buildDiskType() { |
| 685 var o = new api.DiskType(); | 685 var o = new api.DiskType(); |
| (...skipping 24 matching lines...) Expand all Loading... |
| 710 unittest.expect(o.id, unittest.equals('foo')); | 710 unittest.expect(o.id, unittest.equals('foo')); |
| 711 unittest.expect(o.kind, unittest.equals('foo')); | 711 unittest.expect(o.kind, unittest.equals('foo')); |
| 712 unittest.expect(o.name, unittest.equals('foo')); | 712 unittest.expect(o.name, unittest.equals('foo')); |
| 713 unittest.expect(o.selfLink, unittest.equals('foo')); | 713 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 714 unittest.expect(o.validDiskSize, unittest.equals('foo')); | 714 unittest.expect(o.validDiskSize, unittest.equals('foo')); |
| 715 unittest.expect(o.zone, unittest.equals('foo')); | 715 unittest.expect(o.zone, unittest.equals('foo')); |
| 716 } | 716 } |
| 717 buildCounterDiskType--; | 717 buildCounterDiskType--; |
| 718 } | 718 } |
| 719 | 719 |
| 720 buildUnnamed861() { | 720 buildUnnamed835() { |
| 721 var o = new core.Map<core.String, api.DiskTypesScopedList>(); | 721 var o = new core.Map<core.String, api.DiskTypesScopedList>(); |
| 722 o["x"] = buildDiskTypesScopedList(); | 722 o["x"] = buildDiskTypesScopedList(); |
| 723 o["y"] = buildDiskTypesScopedList(); | 723 o["y"] = buildDiskTypesScopedList(); |
| 724 return o; | 724 return o; |
| 725 } | 725 } |
| 726 | 726 |
| 727 checkUnnamed861(core.Map<core.String, api.DiskTypesScopedList> o) { | 727 checkUnnamed835(core.Map<core.String, api.DiskTypesScopedList> o) { |
| 728 unittest.expect(o, unittest.hasLength(2)); | 728 unittest.expect(o, unittest.hasLength(2)); |
| 729 checkDiskTypesScopedList(o["x"]); | 729 checkDiskTypesScopedList(o["x"]); |
| 730 checkDiskTypesScopedList(o["y"]); | 730 checkDiskTypesScopedList(o["y"]); |
| 731 } | 731 } |
| 732 | 732 |
| 733 core.int buildCounterDiskTypeAggregatedList = 0; | 733 core.int buildCounterDiskTypeAggregatedList = 0; |
| 734 buildDiskTypeAggregatedList() { | 734 buildDiskTypeAggregatedList() { |
| 735 var o = new api.DiskTypeAggregatedList(); | 735 var o = new api.DiskTypeAggregatedList(); |
| 736 buildCounterDiskTypeAggregatedList++; | 736 buildCounterDiskTypeAggregatedList++; |
| 737 if (buildCounterDiskTypeAggregatedList < 3) { | 737 if (buildCounterDiskTypeAggregatedList < 3) { |
| 738 o.id = "foo"; | 738 o.id = "foo"; |
| 739 o.items = buildUnnamed861(); | 739 o.items = buildUnnamed835(); |
| 740 o.kind = "foo"; | 740 o.kind = "foo"; |
| 741 o.nextPageToken = "foo"; | 741 o.nextPageToken = "foo"; |
| 742 o.selfLink = "foo"; | 742 o.selfLink = "foo"; |
| 743 } | 743 } |
| 744 buildCounterDiskTypeAggregatedList--; | 744 buildCounterDiskTypeAggregatedList--; |
| 745 return o; | 745 return o; |
| 746 } | 746 } |
| 747 | 747 |
| 748 checkDiskTypeAggregatedList(api.DiskTypeAggregatedList o) { | 748 checkDiskTypeAggregatedList(api.DiskTypeAggregatedList o) { |
| 749 buildCounterDiskTypeAggregatedList++; | 749 buildCounterDiskTypeAggregatedList++; |
| 750 if (buildCounterDiskTypeAggregatedList < 3) { | 750 if (buildCounterDiskTypeAggregatedList < 3) { |
| 751 unittest.expect(o.id, unittest.equals('foo')); | 751 unittest.expect(o.id, unittest.equals('foo')); |
| 752 checkUnnamed861(o.items); | 752 checkUnnamed835(o.items); |
| 753 unittest.expect(o.kind, unittest.equals('foo')); | 753 unittest.expect(o.kind, unittest.equals('foo')); |
| 754 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 754 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 755 unittest.expect(o.selfLink, unittest.equals('foo')); | 755 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 756 } | 756 } |
| 757 buildCounterDiskTypeAggregatedList--; | 757 buildCounterDiskTypeAggregatedList--; |
| 758 } | 758 } |
| 759 | 759 |
| 760 buildUnnamed862() { | 760 buildUnnamed836() { |
| 761 var o = new core.List<api.DiskType>(); | 761 var o = new core.List<api.DiskType>(); |
| 762 o.add(buildDiskType()); | 762 o.add(buildDiskType()); |
| 763 o.add(buildDiskType()); | 763 o.add(buildDiskType()); |
| 764 return o; | 764 return o; |
| 765 } | 765 } |
| 766 | 766 |
| 767 checkUnnamed862(core.List<api.DiskType> o) { | 767 checkUnnamed836(core.List<api.DiskType> o) { |
| 768 unittest.expect(o, unittest.hasLength(2)); | 768 unittest.expect(o, unittest.hasLength(2)); |
| 769 checkDiskType(o[0]); | 769 checkDiskType(o[0]); |
| 770 checkDiskType(o[1]); | 770 checkDiskType(o[1]); |
| 771 } | 771 } |
| 772 | 772 |
| 773 core.int buildCounterDiskTypeList = 0; | 773 core.int buildCounterDiskTypeList = 0; |
| 774 buildDiskTypeList() { | 774 buildDiskTypeList() { |
| 775 var o = new api.DiskTypeList(); | 775 var o = new api.DiskTypeList(); |
| 776 buildCounterDiskTypeList++; | 776 buildCounterDiskTypeList++; |
| 777 if (buildCounterDiskTypeList < 3) { | 777 if (buildCounterDiskTypeList < 3) { |
| 778 o.id = "foo"; | 778 o.id = "foo"; |
| 779 o.items = buildUnnamed862(); | 779 o.items = buildUnnamed836(); |
| 780 o.kind = "foo"; | 780 o.kind = "foo"; |
| 781 o.nextPageToken = "foo"; | 781 o.nextPageToken = "foo"; |
| 782 o.selfLink = "foo"; | 782 o.selfLink = "foo"; |
| 783 } | 783 } |
| 784 buildCounterDiskTypeList--; | 784 buildCounterDiskTypeList--; |
| 785 return o; | 785 return o; |
| 786 } | 786 } |
| 787 | 787 |
| 788 checkDiskTypeList(api.DiskTypeList o) { | 788 checkDiskTypeList(api.DiskTypeList o) { |
| 789 buildCounterDiskTypeList++; | 789 buildCounterDiskTypeList++; |
| 790 if (buildCounterDiskTypeList < 3) { | 790 if (buildCounterDiskTypeList < 3) { |
| 791 unittest.expect(o.id, unittest.equals('foo')); | 791 unittest.expect(o.id, unittest.equals('foo')); |
| 792 checkUnnamed862(o.items); | 792 checkUnnamed836(o.items); |
| 793 unittest.expect(o.kind, unittest.equals('foo')); | 793 unittest.expect(o.kind, unittest.equals('foo')); |
| 794 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 794 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 795 unittest.expect(o.selfLink, unittest.equals('foo')); | 795 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 796 } | 796 } |
| 797 buildCounterDiskTypeList--; | 797 buildCounterDiskTypeList--; |
| 798 } | 798 } |
| 799 | 799 |
| 800 buildUnnamed863() { | 800 buildUnnamed837() { |
| 801 var o = new core.List<api.DiskType>(); | 801 var o = new core.List<api.DiskType>(); |
| 802 o.add(buildDiskType()); | 802 o.add(buildDiskType()); |
| 803 o.add(buildDiskType()); | 803 o.add(buildDiskType()); |
| 804 return o; | 804 return o; |
| 805 } | 805 } |
| 806 | 806 |
| 807 checkUnnamed863(core.List<api.DiskType> o) { | 807 checkUnnamed837(core.List<api.DiskType> o) { |
| 808 unittest.expect(o, unittest.hasLength(2)); | 808 unittest.expect(o, unittest.hasLength(2)); |
| 809 checkDiskType(o[0]); | 809 checkDiskType(o[0]); |
| 810 checkDiskType(o[1]); | 810 checkDiskType(o[1]); |
| 811 } | 811 } |
| 812 | 812 |
| 813 core.int buildCounterDiskTypesScopedListWarningData = 0; | 813 core.int buildCounterDiskTypesScopedListWarningData = 0; |
| 814 buildDiskTypesScopedListWarningData() { | 814 buildDiskTypesScopedListWarningData() { |
| 815 var o = new api.DiskTypesScopedListWarningData(); | 815 var o = new api.DiskTypesScopedListWarningData(); |
| 816 buildCounterDiskTypesScopedListWarningData++; | 816 buildCounterDiskTypesScopedListWarningData++; |
| 817 if (buildCounterDiskTypesScopedListWarningData < 3) { | 817 if (buildCounterDiskTypesScopedListWarningData < 3) { |
| 818 o.key = "foo"; | 818 o.key = "foo"; |
| 819 o.value = "foo"; | 819 o.value = "foo"; |
| 820 } | 820 } |
| 821 buildCounterDiskTypesScopedListWarningData--; | 821 buildCounterDiskTypesScopedListWarningData--; |
| 822 return o; | 822 return o; |
| 823 } | 823 } |
| 824 | 824 |
| 825 checkDiskTypesScopedListWarningData(api.DiskTypesScopedListWarningData o) { | 825 checkDiskTypesScopedListWarningData(api.DiskTypesScopedListWarningData o) { |
| 826 buildCounterDiskTypesScopedListWarningData++; | 826 buildCounterDiskTypesScopedListWarningData++; |
| 827 if (buildCounterDiskTypesScopedListWarningData < 3) { | 827 if (buildCounterDiskTypesScopedListWarningData < 3) { |
| 828 unittest.expect(o.key, unittest.equals('foo')); | 828 unittest.expect(o.key, unittest.equals('foo')); |
| 829 unittest.expect(o.value, unittest.equals('foo')); | 829 unittest.expect(o.value, unittest.equals('foo')); |
| 830 } | 830 } |
| 831 buildCounterDiskTypesScopedListWarningData--; | 831 buildCounterDiskTypesScopedListWarningData--; |
| 832 } | 832 } |
| 833 | 833 |
| 834 buildUnnamed864() { | 834 buildUnnamed838() { |
| 835 var o = new core.List<api.DiskTypesScopedListWarningData>(); | 835 var o = new core.List<api.DiskTypesScopedListWarningData>(); |
| 836 o.add(buildDiskTypesScopedListWarningData()); | 836 o.add(buildDiskTypesScopedListWarningData()); |
| 837 o.add(buildDiskTypesScopedListWarningData()); | 837 o.add(buildDiskTypesScopedListWarningData()); |
| 838 return o; | 838 return o; |
| 839 } | 839 } |
| 840 | 840 |
| 841 checkUnnamed864(core.List<api.DiskTypesScopedListWarningData> o) { | 841 checkUnnamed838(core.List<api.DiskTypesScopedListWarningData> o) { |
| 842 unittest.expect(o, unittest.hasLength(2)); | 842 unittest.expect(o, unittest.hasLength(2)); |
| 843 checkDiskTypesScopedListWarningData(o[0]); | 843 checkDiskTypesScopedListWarningData(o[0]); |
| 844 checkDiskTypesScopedListWarningData(o[1]); | 844 checkDiskTypesScopedListWarningData(o[1]); |
| 845 } | 845 } |
| 846 | 846 |
| 847 core.int buildCounterDiskTypesScopedListWarning = 0; | 847 core.int buildCounterDiskTypesScopedListWarning = 0; |
| 848 buildDiskTypesScopedListWarning() { | 848 buildDiskTypesScopedListWarning() { |
| 849 var o = new api.DiskTypesScopedListWarning(); | 849 var o = new api.DiskTypesScopedListWarning(); |
| 850 buildCounterDiskTypesScopedListWarning++; | 850 buildCounterDiskTypesScopedListWarning++; |
| 851 if (buildCounterDiskTypesScopedListWarning < 3) { | 851 if (buildCounterDiskTypesScopedListWarning < 3) { |
| 852 o.code = "foo"; | 852 o.code = "foo"; |
| 853 o.data = buildUnnamed864(); | 853 o.data = buildUnnamed838(); |
| 854 o.message = "foo"; | 854 o.message = "foo"; |
| 855 } | 855 } |
| 856 buildCounterDiskTypesScopedListWarning--; | 856 buildCounterDiskTypesScopedListWarning--; |
| 857 return o; | 857 return o; |
| 858 } | 858 } |
| 859 | 859 |
| 860 checkDiskTypesScopedListWarning(api.DiskTypesScopedListWarning o) { | 860 checkDiskTypesScopedListWarning(api.DiskTypesScopedListWarning o) { |
| 861 buildCounterDiskTypesScopedListWarning++; | 861 buildCounterDiskTypesScopedListWarning++; |
| 862 if (buildCounterDiskTypesScopedListWarning < 3) { | 862 if (buildCounterDiskTypesScopedListWarning < 3) { |
| 863 unittest.expect(o.code, unittest.equals('foo')); | 863 unittest.expect(o.code, unittest.equals('foo')); |
| 864 checkUnnamed864(o.data); | 864 checkUnnamed838(o.data); |
| 865 unittest.expect(o.message, unittest.equals('foo')); | 865 unittest.expect(o.message, unittest.equals('foo')); |
| 866 } | 866 } |
| 867 buildCounterDiskTypesScopedListWarning--; | 867 buildCounterDiskTypesScopedListWarning--; |
| 868 } | 868 } |
| 869 | 869 |
| 870 core.int buildCounterDiskTypesScopedList = 0; | 870 core.int buildCounterDiskTypesScopedList = 0; |
| 871 buildDiskTypesScopedList() { | 871 buildDiskTypesScopedList() { |
| 872 var o = new api.DiskTypesScopedList(); | 872 var o = new api.DiskTypesScopedList(); |
| 873 buildCounterDiskTypesScopedList++; | 873 buildCounterDiskTypesScopedList++; |
| 874 if (buildCounterDiskTypesScopedList < 3) { | 874 if (buildCounterDiskTypesScopedList < 3) { |
| 875 o.diskTypes = buildUnnamed863(); | 875 o.diskTypes = buildUnnamed837(); |
| 876 o.warning = buildDiskTypesScopedListWarning(); | 876 o.warning = buildDiskTypesScopedListWarning(); |
| 877 } | 877 } |
| 878 buildCounterDiskTypesScopedList--; | 878 buildCounterDiskTypesScopedList--; |
| 879 return o; | 879 return o; |
| 880 } | 880 } |
| 881 | 881 |
| 882 checkDiskTypesScopedList(api.DiskTypesScopedList o) { | 882 checkDiskTypesScopedList(api.DiskTypesScopedList o) { |
| 883 buildCounterDiskTypesScopedList++; | 883 buildCounterDiskTypesScopedList++; |
| 884 if (buildCounterDiskTypesScopedList < 3) { | 884 if (buildCounterDiskTypesScopedList < 3) { |
| 885 checkUnnamed863(o.diskTypes); | 885 checkUnnamed837(o.diskTypes); |
| 886 checkDiskTypesScopedListWarning(o.warning); | 886 checkDiskTypesScopedListWarning(o.warning); |
| 887 } | 887 } |
| 888 buildCounterDiskTypesScopedList--; | 888 buildCounterDiskTypesScopedList--; |
| 889 } | 889 } |
| 890 | 890 |
| 891 buildUnnamed865() { | 891 buildUnnamed839() { |
| 892 var o = new core.List<api.Disk>(); | 892 var o = new core.List<api.Disk>(); |
| 893 o.add(buildDisk()); | 893 o.add(buildDisk()); |
| 894 o.add(buildDisk()); | 894 o.add(buildDisk()); |
| 895 return o; | 895 return o; |
| 896 } | 896 } |
| 897 | 897 |
| 898 checkUnnamed865(core.List<api.Disk> o) { | 898 checkUnnamed839(core.List<api.Disk> o) { |
| 899 unittest.expect(o, unittest.hasLength(2)); | 899 unittest.expect(o, unittest.hasLength(2)); |
| 900 checkDisk(o[0]); | 900 checkDisk(o[0]); |
| 901 checkDisk(o[1]); | 901 checkDisk(o[1]); |
| 902 } | 902 } |
| 903 | 903 |
| 904 core.int buildCounterDisksScopedListWarningData = 0; | 904 core.int buildCounterDisksScopedListWarningData = 0; |
| 905 buildDisksScopedListWarningData() { | 905 buildDisksScopedListWarningData() { |
| 906 var o = new api.DisksScopedListWarningData(); | 906 var o = new api.DisksScopedListWarningData(); |
| 907 buildCounterDisksScopedListWarningData++; | 907 buildCounterDisksScopedListWarningData++; |
| 908 if (buildCounterDisksScopedListWarningData < 3) { | 908 if (buildCounterDisksScopedListWarningData < 3) { |
| 909 o.key = "foo"; | 909 o.key = "foo"; |
| 910 o.value = "foo"; | 910 o.value = "foo"; |
| 911 } | 911 } |
| 912 buildCounterDisksScopedListWarningData--; | 912 buildCounterDisksScopedListWarningData--; |
| 913 return o; | 913 return o; |
| 914 } | 914 } |
| 915 | 915 |
| 916 checkDisksScopedListWarningData(api.DisksScopedListWarningData o) { | 916 checkDisksScopedListWarningData(api.DisksScopedListWarningData o) { |
| 917 buildCounterDisksScopedListWarningData++; | 917 buildCounterDisksScopedListWarningData++; |
| 918 if (buildCounterDisksScopedListWarningData < 3) { | 918 if (buildCounterDisksScopedListWarningData < 3) { |
| 919 unittest.expect(o.key, unittest.equals('foo')); | 919 unittest.expect(o.key, unittest.equals('foo')); |
| 920 unittest.expect(o.value, unittest.equals('foo')); | 920 unittest.expect(o.value, unittest.equals('foo')); |
| 921 } | 921 } |
| 922 buildCounterDisksScopedListWarningData--; | 922 buildCounterDisksScopedListWarningData--; |
| 923 } | 923 } |
| 924 | 924 |
| 925 buildUnnamed866() { | 925 buildUnnamed840() { |
| 926 var o = new core.List<api.DisksScopedListWarningData>(); | 926 var o = new core.List<api.DisksScopedListWarningData>(); |
| 927 o.add(buildDisksScopedListWarningData()); | 927 o.add(buildDisksScopedListWarningData()); |
| 928 o.add(buildDisksScopedListWarningData()); | 928 o.add(buildDisksScopedListWarningData()); |
| 929 return o; | 929 return o; |
| 930 } | 930 } |
| 931 | 931 |
| 932 checkUnnamed866(core.List<api.DisksScopedListWarningData> o) { | 932 checkUnnamed840(core.List<api.DisksScopedListWarningData> o) { |
| 933 unittest.expect(o, unittest.hasLength(2)); | 933 unittest.expect(o, unittest.hasLength(2)); |
| 934 checkDisksScopedListWarningData(o[0]); | 934 checkDisksScopedListWarningData(o[0]); |
| 935 checkDisksScopedListWarningData(o[1]); | 935 checkDisksScopedListWarningData(o[1]); |
| 936 } | 936 } |
| 937 | 937 |
| 938 core.int buildCounterDisksScopedListWarning = 0; | 938 core.int buildCounterDisksScopedListWarning = 0; |
| 939 buildDisksScopedListWarning() { | 939 buildDisksScopedListWarning() { |
| 940 var o = new api.DisksScopedListWarning(); | 940 var o = new api.DisksScopedListWarning(); |
| 941 buildCounterDisksScopedListWarning++; | 941 buildCounterDisksScopedListWarning++; |
| 942 if (buildCounterDisksScopedListWarning < 3) { | 942 if (buildCounterDisksScopedListWarning < 3) { |
| 943 o.code = "foo"; | 943 o.code = "foo"; |
| 944 o.data = buildUnnamed866(); | 944 o.data = buildUnnamed840(); |
| 945 o.message = "foo"; | 945 o.message = "foo"; |
| 946 } | 946 } |
| 947 buildCounterDisksScopedListWarning--; | 947 buildCounterDisksScopedListWarning--; |
| 948 return o; | 948 return o; |
| 949 } | 949 } |
| 950 | 950 |
| 951 checkDisksScopedListWarning(api.DisksScopedListWarning o) { | 951 checkDisksScopedListWarning(api.DisksScopedListWarning o) { |
| 952 buildCounterDisksScopedListWarning++; | 952 buildCounterDisksScopedListWarning++; |
| 953 if (buildCounterDisksScopedListWarning < 3) { | 953 if (buildCounterDisksScopedListWarning < 3) { |
| 954 unittest.expect(o.code, unittest.equals('foo')); | 954 unittest.expect(o.code, unittest.equals('foo')); |
| 955 checkUnnamed866(o.data); | 955 checkUnnamed840(o.data); |
| 956 unittest.expect(o.message, unittest.equals('foo')); | 956 unittest.expect(o.message, unittest.equals('foo')); |
| 957 } | 957 } |
| 958 buildCounterDisksScopedListWarning--; | 958 buildCounterDisksScopedListWarning--; |
| 959 } | 959 } |
| 960 | 960 |
| 961 core.int buildCounterDisksScopedList = 0; | 961 core.int buildCounterDisksScopedList = 0; |
| 962 buildDisksScopedList() { | 962 buildDisksScopedList() { |
| 963 var o = new api.DisksScopedList(); | 963 var o = new api.DisksScopedList(); |
| 964 buildCounterDisksScopedList++; | 964 buildCounterDisksScopedList++; |
| 965 if (buildCounterDisksScopedList < 3) { | 965 if (buildCounterDisksScopedList < 3) { |
| 966 o.disks = buildUnnamed865(); | 966 o.disks = buildUnnamed839(); |
| 967 o.warning = buildDisksScopedListWarning(); | 967 o.warning = buildDisksScopedListWarning(); |
| 968 } | 968 } |
| 969 buildCounterDisksScopedList--; | 969 buildCounterDisksScopedList--; |
| 970 return o; | 970 return o; |
| 971 } | 971 } |
| 972 | 972 |
| 973 checkDisksScopedList(api.DisksScopedList o) { | 973 checkDisksScopedList(api.DisksScopedList o) { |
| 974 buildCounterDisksScopedList++; | 974 buildCounterDisksScopedList++; |
| 975 if (buildCounterDisksScopedList < 3) { | 975 if (buildCounterDisksScopedList < 3) { |
| 976 checkUnnamed865(o.disks); | 976 checkUnnamed839(o.disks); |
| 977 checkDisksScopedListWarning(o.warning); | 977 checkDisksScopedListWarning(o.warning); |
| 978 } | 978 } |
| 979 buildCounterDisksScopedList--; | 979 buildCounterDisksScopedList--; |
| 980 } | 980 } |
| 981 | 981 |
| 982 buildUnnamed867() { | 982 buildUnnamed841() { |
| 983 var o = new core.List<core.String>(); | 983 var o = new core.List<core.String>(); |
| 984 o.add("foo"); | 984 o.add("foo"); |
| 985 o.add("foo"); | 985 o.add("foo"); |
| 986 return o; | 986 return o; |
| 987 } | 987 } |
| 988 | 988 |
| 989 checkUnnamed867(core.List<core.String> o) { | 989 checkUnnamed841(core.List<core.String> o) { |
| 990 unittest.expect(o, unittest.hasLength(2)); | 990 unittest.expect(o, unittest.hasLength(2)); |
| 991 unittest.expect(o[0], unittest.equals('foo')); | 991 unittest.expect(o[0], unittest.equals('foo')); |
| 992 unittest.expect(o[1], unittest.equals('foo')); | 992 unittest.expect(o[1], unittest.equals('foo')); |
| 993 } | 993 } |
| 994 | 994 |
| 995 core.int buildCounterFirewallAllowed = 0; | 995 core.int buildCounterFirewallAllowed = 0; |
| 996 buildFirewallAllowed() { | 996 buildFirewallAllowed() { |
| 997 var o = new api.FirewallAllowed(); | 997 var o = new api.FirewallAllowed(); |
| 998 buildCounterFirewallAllowed++; | 998 buildCounterFirewallAllowed++; |
| 999 if (buildCounterFirewallAllowed < 3) { | 999 if (buildCounterFirewallAllowed < 3) { |
| 1000 o.IPProtocol = "foo"; | 1000 o.IPProtocol = "foo"; |
| 1001 o.ports = buildUnnamed867(); | 1001 o.ports = buildUnnamed841(); |
| 1002 } | 1002 } |
| 1003 buildCounterFirewallAllowed--; | 1003 buildCounterFirewallAllowed--; |
| 1004 return o; | 1004 return o; |
| 1005 } | 1005 } |
| 1006 | 1006 |
| 1007 checkFirewallAllowed(api.FirewallAllowed o) { | 1007 checkFirewallAllowed(api.FirewallAllowed o) { |
| 1008 buildCounterFirewallAllowed++; | 1008 buildCounterFirewallAllowed++; |
| 1009 if (buildCounterFirewallAllowed < 3) { | 1009 if (buildCounterFirewallAllowed < 3) { |
| 1010 unittest.expect(o.IPProtocol, unittest.equals('foo')); | 1010 unittest.expect(o.IPProtocol, unittest.equals('foo')); |
| 1011 checkUnnamed867(o.ports); | 1011 checkUnnamed841(o.ports); |
| 1012 } | 1012 } |
| 1013 buildCounterFirewallAllowed--; | 1013 buildCounterFirewallAllowed--; |
| 1014 } | 1014 } |
| 1015 | 1015 |
| 1016 buildUnnamed868() { | 1016 buildUnnamed842() { |
| 1017 var o = new core.List<api.FirewallAllowed>(); | 1017 var o = new core.List<api.FirewallAllowed>(); |
| 1018 o.add(buildFirewallAllowed()); | 1018 o.add(buildFirewallAllowed()); |
| 1019 o.add(buildFirewallAllowed()); | 1019 o.add(buildFirewallAllowed()); |
| 1020 return o; | 1020 return o; |
| 1021 } | 1021 } |
| 1022 | 1022 |
| 1023 checkUnnamed868(core.List<api.FirewallAllowed> o) { | 1023 checkUnnamed842(core.List<api.FirewallAllowed> o) { |
| 1024 unittest.expect(o, unittest.hasLength(2)); | 1024 unittest.expect(o, unittest.hasLength(2)); |
| 1025 checkFirewallAllowed(o[0]); | 1025 checkFirewallAllowed(o[0]); |
| 1026 checkFirewallAllowed(o[1]); | 1026 checkFirewallAllowed(o[1]); |
| 1027 } | 1027 } |
| 1028 | 1028 |
| 1029 buildUnnamed869() { | 1029 buildUnnamed843() { |
| 1030 var o = new core.List<core.String>(); | 1030 var o = new core.List<core.String>(); |
| 1031 o.add("foo"); | 1031 o.add("foo"); |
| 1032 o.add("foo"); | 1032 o.add("foo"); |
| 1033 return o; | 1033 return o; |
| 1034 } | 1034 } |
| 1035 | 1035 |
| 1036 checkUnnamed869(core.List<core.String> o) { | 1036 checkUnnamed843(core.List<core.String> o) { |
| 1037 unittest.expect(o, unittest.hasLength(2)); | 1037 unittest.expect(o, unittest.hasLength(2)); |
| 1038 unittest.expect(o[0], unittest.equals('foo')); | 1038 unittest.expect(o[0], unittest.equals('foo')); |
| 1039 unittest.expect(o[1], unittest.equals('foo')); | 1039 unittest.expect(o[1], unittest.equals('foo')); |
| 1040 } | 1040 } |
| 1041 | 1041 |
| 1042 buildUnnamed870() { | 1042 buildUnnamed844() { |
| 1043 var o = new core.List<core.String>(); | 1043 var o = new core.List<core.String>(); |
| 1044 o.add("foo"); | 1044 o.add("foo"); |
| 1045 o.add("foo"); | 1045 o.add("foo"); |
| 1046 return o; | 1046 return o; |
| 1047 } | 1047 } |
| 1048 | 1048 |
| 1049 checkUnnamed870(core.List<core.String> o) { | 1049 checkUnnamed844(core.List<core.String> o) { |
| 1050 unittest.expect(o, unittest.hasLength(2)); | 1050 unittest.expect(o, unittest.hasLength(2)); |
| 1051 unittest.expect(o[0], unittest.equals('foo')); | 1051 unittest.expect(o[0], unittest.equals('foo')); |
| 1052 unittest.expect(o[1], unittest.equals('foo')); | 1052 unittest.expect(o[1], unittest.equals('foo')); |
| 1053 } | 1053 } |
| 1054 | 1054 |
| 1055 buildUnnamed871() { | 1055 buildUnnamed845() { |
| 1056 var o = new core.List<core.String>(); | 1056 var o = new core.List<core.String>(); |
| 1057 o.add("foo"); | 1057 o.add("foo"); |
| 1058 o.add("foo"); | 1058 o.add("foo"); |
| 1059 return o; | 1059 return o; |
| 1060 } | 1060 } |
| 1061 | 1061 |
| 1062 checkUnnamed871(core.List<core.String> o) { | 1062 checkUnnamed845(core.List<core.String> o) { |
| 1063 unittest.expect(o, unittest.hasLength(2)); | 1063 unittest.expect(o, unittest.hasLength(2)); |
| 1064 unittest.expect(o[0], unittest.equals('foo')); | 1064 unittest.expect(o[0], unittest.equals('foo')); |
| 1065 unittest.expect(o[1], unittest.equals('foo')); | 1065 unittest.expect(o[1], unittest.equals('foo')); |
| 1066 } | 1066 } |
| 1067 | 1067 |
| 1068 core.int buildCounterFirewall = 0; | 1068 core.int buildCounterFirewall = 0; |
| 1069 buildFirewall() { | 1069 buildFirewall() { |
| 1070 var o = new api.Firewall(); | 1070 var o = new api.Firewall(); |
| 1071 buildCounterFirewall++; | 1071 buildCounterFirewall++; |
| 1072 if (buildCounterFirewall < 3) { | 1072 if (buildCounterFirewall < 3) { |
| 1073 o.allowed = buildUnnamed868(); | 1073 o.allowed = buildUnnamed842(); |
| 1074 o.creationTimestamp = "foo"; | 1074 o.creationTimestamp = "foo"; |
| 1075 o.description = "foo"; | 1075 o.description = "foo"; |
| 1076 o.id = "foo"; | 1076 o.id = "foo"; |
| 1077 o.kind = "foo"; | 1077 o.kind = "foo"; |
| 1078 o.name = "foo"; | 1078 o.name = "foo"; |
| 1079 o.network = "foo"; | 1079 o.network = "foo"; |
| 1080 o.selfLink = "foo"; | 1080 o.selfLink = "foo"; |
| 1081 o.sourceRanges = buildUnnamed869(); | 1081 o.sourceRanges = buildUnnamed843(); |
| 1082 o.sourceTags = buildUnnamed870(); | 1082 o.sourceTags = buildUnnamed844(); |
| 1083 o.targetTags = buildUnnamed871(); | 1083 o.targetTags = buildUnnamed845(); |
| 1084 } | 1084 } |
| 1085 buildCounterFirewall--; | 1085 buildCounterFirewall--; |
| 1086 return o; | 1086 return o; |
| 1087 } | 1087 } |
| 1088 | 1088 |
| 1089 checkFirewall(api.Firewall o) { | 1089 checkFirewall(api.Firewall o) { |
| 1090 buildCounterFirewall++; | 1090 buildCounterFirewall++; |
| 1091 if (buildCounterFirewall < 3) { | 1091 if (buildCounterFirewall < 3) { |
| 1092 checkUnnamed868(o.allowed); | 1092 checkUnnamed842(o.allowed); |
| 1093 unittest.expect(o.creationTimestamp, unittest.equals('foo')); | 1093 unittest.expect(o.creationTimestamp, unittest.equals('foo')); |
| 1094 unittest.expect(o.description, unittest.equals('foo')); | 1094 unittest.expect(o.description, unittest.equals('foo')); |
| 1095 unittest.expect(o.id, unittest.equals('foo')); | 1095 unittest.expect(o.id, unittest.equals('foo')); |
| 1096 unittest.expect(o.kind, unittest.equals('foo')); | 1096 unittest.expect(o.kind, unittest.equals('foo')); |
| 1097 unittest.expect(o.name, unittest.equals('foo')); | 1097 unittest.expect(o.name, unittest.equals('foo')); |
| 1098 unittest.expect(o.network, unittest.equals('foo')); | 1098 unittest.expect(o.network, unittest.equals('foo')); |
| 1099 unittest.expect(o.selfLink, unittest.equals('foo')); | 1099 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 1100 checkUnnamed869(o.sourceRanges); | 1100 checkUnnamed843(o.sourceRanges); |
| 1101 checkUnnamed870(o.sourceTags); | 1101 checkUnnamed844(o.sourceTags); |
| 1102 checkUnnamed871(o.targetTags); | 1102 checkUnnamed845(o.targetTags); |
| 1103 } | 1103 } |
| 1104 buildCounterFirewall--; | 1104 buildCounterFirewall--; |
| 1105 } | 1105 } |
| 1106 | 1106 |
| 1107 buildUnnamed872() { | 1107 buildUnnamed846() { |
| 1108 var o = new core.List<api.Firewall>(); | 1108 var o = new core.List<api.Firewall>(); |
| 1109 o.add(buildFirewall()); | 1109 o.add(buildFirewall()); |
| 1110 o.add(buildFirewall()); | 1110 o.add(buildFirewall()); |
| 1111 return o; | 1111 return o; |
| 1112 } | 1112 } |
| 1113 | 1113 |
| 1114 checkUnnamed872(core.List<api.Firewall> o) { | 1114 checkUnnamed846(core.List<api.Firewall> o) { |
| 1115 unittest.expect(o, unittest.hasLength(2)); | 1115 unittest.expect(o, unittest.hasLength(2)); |
| 1116 checkFirewall(o[0]); | 1116 checkFirewall(o[0]); |
| 1117 checkFirewall(o[1]); | 1117 checkFirewall(o[1]); |
| 1118 } | 1118 } |
| 1119 | 1119 |
| 1120 core.int buildCounterFirewallList = 0; | 1120 core.int buildCounterFirewallList = 0; |
| 1121 buildFirewallList() { | 1121 buildFirewallList() { |
| 1122 var o = new api.FirewallList(); | 1122 var o = new api.FirewallList(); |
| 1123 buildCounterFirewallList++; | 1123 buildCounterFirewallList++; |
| 1124 if (buildCounterFirewallList < 3) { | 1124 if (buildCounterFirewallList < 3) { |
| 1125 o.id = "foo"; | 1125 o.id = "foo"; |
| 1126 o.items = buildUnnamed872(); | 1126 o.items = buildUnnamed846(); |
| 1127 o.kind = "foo"; | 1127 o.kind = "foo"; |
| 1128 o.nextPageToken = "foo"; | 1128 o.nextPageToken = "foo"; |
| 1129 o.selfLink = "foo"; | 1129 o.selfLink = "foo"; |
| 1130 } | 1130 } |
| 1131 buildCounterFirewallList--; | 1131 buildCounterFirewallList--; |
| 1132 return o; | 1132 return o; |
| 1133 } | 1133 } |
| 1134 | 1134 |
| 1135 checkFirewallList(api.FirewallList o) { | 1135 checkFirewallList(api.FirewallList o) { |
| 1136 buildCounterFirewallList++; | 1136 buildCounterFirewallList++; |
| 1137 if (buildCounterFirewallList < 3) { | 1137 if (buildCounterFirewallList < 3) { |
| 1138 unittest.expect(o.id, unittest.equals('foo')); | 1138 unittest.expect(o.id, unittest.equals('foo')); |
| 1139 checkUnnamed872(o.items); | 1139 checkUnnamed846(o.items); |
| 1140 unittest.expect(o.kind, unittest.equals('foo')); | 1140 unittest.expect(o.kind, unittest.equals('foo')); |
| 1141 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1141 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1142 unittest.expect(o.selfLink, unittest.equals('foo')); | 1142 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 1143 } | 1143 } |
| 1144 buildCounterFirewallList--; | 1144 buildCounterFirewallList--; |
| 1145 } | 1145 } |
| 1146 | 1146 |
| 1147 core.int buildCounterForwardingRule = 0; | 1147 core.int buildCounterForwardingRule = 0; |
| 1148 buildForwardingRule() { | 1148 buildForwardingRule() { |
| 1149 var o = new api.ForwardingRule(); | 1149 var o = new api.ForwardingRule(); |
| (...skipping 26 matching lines...) Expand all Loading... |
| 1176 unittest.expect(o.kind, unittest.equals('foo')); | 1176 unittest.expect(o.kind, unittest.equals('foo')); |
| 1177 unittest.expect(o.name, unittest.equals('foo')); | 1177 unittest.expect(o.name, unittest.equals('foo')); |
| 1178 unittest.expect(o.portRange, unittest.equals('foo')); | 1178 unittest.expect(o.portRange, unittest.equals('foo')); |
| 1179 unittest.expect(o.region, unittest.equals('foo')); | 1179 unittest.expect(o.region, unittest.equals('foo')); |
| 1180 unittest.expect(o.selfLink, unittest.equals('foo')); | 1180 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 1181 unittest.expect(o.target, unittest.equals('foo')); | 1181 unittest.expect(o.target, unittest.equals('foo')); |
| 1182 } | 1182 } |
| 1183 buildCounterForwardingRule--; | 1183 buildCounterForwardingRule--; |
| 1184 } | 1184 } |
| 1185 | 1185 |
| 1186 buildUnnamed873() { | 1186 buildUnnamed847() { |
| 1187 var o = new core.Map<core.String, api.ForwardingRulesScopedList>(); | 1187 var o = new core.Map<core.String, api.ForwardingRulesScopedList>(); |
| 1188 o["x"] = buildForwardingRulesScopedList(); | 1188 o["x"] = buildForwardingRulesScopedList(); |
| 1189 o["y"] = buildForwardingRulesScopedList(); | 1189 o["y"] = buildForwardingRulesScopedList(); |
| 1190 return o; | 1190 return o; |
| 1191 } | 1191 } |
| 1192 | 1192 |
| 1193 checkUnnamed873(core.Map<core.String, api.ForwardingRulesScopedList> o) { | 1193 checkUnnamed847(core.Map<core.String, api.ForwardingRulesScopedList> o) { |
| 1194 unittest.expect(o, unittest.hasLength(2)); | 1194 unittest.expect(o, unittest.hasLength(2)); |
| 1195 checkForwardingRulesScopedList(o["x"]); | 1195 checkForwardingRulesScopedList(o["x"]); |
| 1196 checkForwardingRulesScopedList(o["y"]); | 1196 checkForwardingRulesScopedList(o["y"]); |
| 1197 } | 1197 } |
| 1198 | 1198 |
| 1199 core.int buildCounterForwardingRuleAggregatedList = 0; | 1199 core.int buildCounterForwardingRuleAggregatedList = 0; |
| 1200 buildForwardingRuleAggregatedList() { | 1200 buildForwardingRuleAggregatedList() { |
| 1201 var o = new api.ForwardingRuleAggregatedList(); | 1201 var o = new api.ForwardingRuleAggregatedList(); |
| 1202 buildCounterForwardingRuleAggregatedList++; | 1202 buildCounterForwardingRuleAggregatedList++; |
| 1203 if (buildCounterForwardingRuleAggregatedList < 3) { | 1203 if (buildCounterForwardingRuleAggregatedList < 3) { |
| 1204 o.id = "foo"; | 1204 o.id = "foo"; |
| 1205 o.items = buildUnnamed873(); | 1205 o.items = buildUnnamed847(); |
| 1206 o.kind = "foo"; | 1206 o.kind = "foo"; |
| 1207 o.nextPageToken = "foo"; | 1207 o.nextPageToken = "foo"; |
| 1208 o.selfLink = "foo"; | 1208 o.selfLink = "foo"; |
| 1209 } | 1209 } |
| 1210 buildCounterForwardingRuleAggregatedList--; | 1210 buildCounterForwardingRuleAggregatedList--; |
| 1211 return o; | 1211 return o; |
| 1212 } | 1212 } |
| 1213 | 1213 |
| 1214 checkForwardingRuleAggregatedList(api.ForwardingRuleAggregatedList o) { | 1214 checkForwardingRuleAggregatedList(api.ForwardingRuleAggregatedList o) { |
| 1215 buildCounterForwardingRuleAggregatedList++; | 1215 buildCounterForwardingRuleAggregatedList++; |
| 1216 if (buildCounterForwardingRuleAggregatedList < 3) { | 1216 if (buildCounterForwardingRuleAggregatedList < 3) { |
| 1217 unittest.expect(o.id, unittest.equals('foo')); | 1217 unittest.expect(o.id, unittest.equals('foo')); |
| 1218 checkUnnamed873(o.items); | 1218 checkUnnamed847(o.items); |
| 1219 unittest.expect(o.kind, unittest.equals('foo')); | 1219 unittest.expect(o.kind, unittest.equals('foo')); |
| 1220 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1220 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1221 unittest.expect(o.selfLink, unittest.equals('foo')); | 1221 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 1222 } | 1222 } |
| 1223 buildCounterForwardingRuleAggregatedList--; | 1223 buildCounterForwardingRuleAggregatedList--; |
| 1224 } | 1224 } |
| 1225 | 1225 |
| 1226 buildUnnamed874() { | 1226 buildUnnamed848() { |
| 1227 var o = new core.List<api.ForwardingRule>(); | 1227 var o = new core.List<api.ForwardingRule>(); |
| 1228 o.add(buildForwardingRule()); | 1228 o.add(buildForwardingRule()); |
| 1229 o.add(buildForwardingRule()); | 1229 o.add(buildForwardingRule()); |
| 1230 return o; | 1230 return o; |
| 1231 } | 1231 } |
| 1232 | 1232 |
| 1233 checkUnnamed874(core.List<api.ForwardingRule> o) { | 1233 checkUnnamed848(core.List<api.ForwardingRule> o) { |
| 1234 unittest.expect(o, unittest.hasLength(2)); | 1234 unittest.expect(o, unittest.hasLength(2)); |
| 1235 checkForwardingRule(o[0]); | 1235 checkForwardingRule(o[0]); |
| 1236 checkForwardingRule(o[1]); | 1236 checkForwardingRule(o[1]); |
| 1237 } | 1237 } |
| 1238 | 1238 |
| 1239 core.int buildCounterForwardingRuleList = 0; | 1239 core.int buildCounterForwardingRuleList = 0; |
| 1240 buildForwardingRuleList() { | 1240 buildForwardingRuleList() { |
| 1241 var o = new api.ForwardingRuleList(); | 1241 var o = new api.ForwardingRuleList(); |
| 1242 buildCounterForwardingRuleList++; | 1242 buildCounterForwardingRuleList++; |
| 1243 if (buildCounterForwardingRuleList < 3) { | 1243 if (buildCounterForwardingRuleList < 3) { |
| 1244 o.id = "foo"; | 1244 o.id = "foo"; |
| 1245 o.items = buildUnnamed874(); | 1245 o.items = buildUnnamed848(); |
| 1246 o.kind = "foo"; | 1246 o.kind = "foo"; |
| 1247 o.nextPageToken = "foo"; | 1247 o.nextPageToken = "foo"; |
| 1248 o.selfLink = "foo"; | 1248 o.selfLink = "foo"; |
| 1249 } | 1249 } |
| 1250 buildCounterForwardingRuleList--; | 1250 buildCounterForwardingRuleList--; |
| 1251 return o; | 1251 return o; |
| 1252 } | 1252 } |
| 1253 | 1253 |
| 1254 checkForwardingRuleList(api.ForwardingRuleList o) { | 1254 checkForwardingRuleList(api.ForwardingRuleList o) { |
| 1255 buildCounterForwardingRuleList++; | 1255 buildCounterForwardingRuleList++; |
| 1256 if (buildCounterForwardingRuleList < 3) { | 1256 if (buildCounterForwardingRuleList < 3) { |
| 1257 unittest.expect(o.id, unittest.equals('foo')); | 1257 unittest.expect(o.id, unittest.equals('foo')); |
| 1258 checkUnnamed874(o.items); | 1258 checkUnnamed848(o.items); |
| 1259 unittest.expect(o.kind, unittest.equals('foo')); | 1259 unittest.expect(o.kind, unittest.equals('foo')); |
| 1260 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1260 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1261 unittest.expect(o.selfLink, unittest.equals('foo')); | 1261 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 1262 } | 1262 } |
| 1263 buildCounterForwardingRuleList--; | 1263 buildCounterForwardingRuleList--; |
| 1264 } | 1264 } |
| 1265 | 1265 |
| 1266 buildUnnamed875() { | 1266 buildUnnamed849() { |
| 1267 var o = new core.List<api.ForwardingRule>(); | 1267 var o = new core.List<api.ForwardingRule>(); |
| 1268 o.add(buildForwardingRule()); | 1268 o.add(buildForwardingRule()); |
| 1269 o.add(buildForwardingRule()); | 1269 o.add(buildForwardingRule()); |
| 1270 return o; | 1270 return o; |
| 1271 } | 1271 } |
| 1272 | 1272 |
| 1273 checkUnnamed875(core.List<api.ForwardingRule> o) { | 1273 checkUnnamed849(core.List<api.ForwardingRule> o) { |
| 1274 unittest.expect(o, unittest.hasLength(2)); | 1274 unittest.expect(o, unittest.hasLength(2)); |
| 1275 checkForwardingRule(o[0]); | 1275 checkForwardingRule(o[0]); |
| 1276 checkForwardingRule(o[1]); | 1276 checkForwardingRule(o[1]); |
| 1277 } | 1277 } |
| 1278 | 1278 |
| 1279 core.int buildCounterForwardingRulesScopedListWarningData = 0; | 1279 core.int buildCounterForwardingRulesScopedListWarningData = 0; |
| 1280 buildForwardingRulesScopedListWarningData() { | 1280 buildForwardingRulesScopedListWarningData() { |
| 1281 var o = new api.ForwardingRulesScopedListWarningData(); | 1281 var o = new api.ForwardingRulesScopedListWarningData(); |
| 1282 buildCounterForwardingRulesScopedListWarningData++; | 1282 buildCounterForwardingRulesScopedListWarningData++; |
| 1283 if (buildCounterForwardingRulesScopedListWarningData < 3) { | 1283 if (buildCounterForwardingRulesScopedListWarningData < 3) { |
| 1284 o.key = "foo"; | 1284 o.key = "foo"; |
| 1285 o.value = "foo"; | 1285 o.value = "foo"; |
| 1286 } | 1286 } |
| 1287 buildCounterForwardingRulesScopedListWarningData--; | 1287 buildCounterForwardingRulesScopedListWarningData--; |
| 1288 return o; | 1288 return o; |
| 1289 } | 1289 } |
| 1290 | 1290 |
| 1291 checkForwardingRulesScopedListWarningData(api.ForwardingRulesScopedListWarningDa
ta o) { | 1291 checkForwardingRulesScopedListWarningData(api.ForwardingRulesScopedListWarningDa
ta o) { |
| 1292 buildCounterForwardingRulesScopedListWarningData++; | 1292 buildCounterForwardingRulesScopedListWarningData++; |
| 1293 if (buildCounterForwardingRulesScopedListWarningData < 3) { | 1293 if (buildCounterForwardingRulesScopedListWarningData < 3) { |
| 1294 unittest.expect(o.key, unittest.equals('foo')); | 1294 unittest.expect(o.key, unittest.equals('foo')); |
| 1295 unittest.expect(o.value, unittest.equals('foo')); | 1295 unittest.expect(o.value, unittest.equals('foo')); |
| 1296 } | 1296 } |
| 1297 buildCounterForwardingRulesScopedListWarningData--; | 1297 buildCounterForwardingRulesScopedListWarningData--; |
| 1298 } | 1298 } |
| 1299 | 1299 |
| 1300 buildUnnamed876() { | 1300 buildUnnamed850() { |
| 1301 var o = new core.List<api.ForwardingRulesScopedListWarningData>(); | 1301 var o = new core.List<api.ForwardingRulesScopedListWarningData>(); |
| 1302 o.add(buildForwardingRulesScopedListWarningData()); | 1302 o.add(buildForwardingRulesScopedListWarningData()); |
| 1303 o.add(buildForwardingRulesScopedListWarningData()); | 1303 o.add(buildForwardingRulesScopedListWarningData()); |
| 1304 return o; | 1304 return o; |
| 1305 } | 1305 } |
| 1306 | 1306 |
| 1307 checkUnnamed876(core.List<api.ForwardingRulesScopedListWarningData> o) { | 1307 checkUnnamed850(core.List<api.ForwardingRulesScopedListWarningData> o) { |
| 1308 unittest.expect(o, unittest.hasLength(2)); | 1308 unittest.expect(o, unittest.hasLength(2)); |
| 1309 checkForwardingRulesScopedListWarningData(o[0]); | 1309 checkForwardingRulesScopedListWarningData(o[0]); |
| 1310 checkForwardingRulesScopedListWarningData(o[1]); | 1310 checkForwardingRulesScopedListWarningData(o[1]); |
| 1311 } | 1311 } |
| 1312 | 1312 |
| 1313 core.int buildCounterForwardingRulesScopedListWarning = 0; | 1313 core.int buildCounterForwardingRulesScopedListWarning = 0; |
| 1314 buildForwardingRulesScopedListWarning() { | 1314 buildForwardingRulesScopedListWarning() { |
| 1315 var o = new api.ForwardingRulesScopedListWarning(); | 1315 var o = new api.ForwardingRulesScopedListWarning(); |
| 1316 buildCounterForwardingRulesScopedListWarning++; | 1316 buildCounterForwardingRulesScopedListWarning++; |
| 1317 if (buildCounterForwardingRulesScopedListWarning < 3) { | 1317 if (buildCounterForwardingRulesScopedListWarning < 3) { |
| 1318 o.code = "foo"; | 1318 o.code = "foo"; |
| 1319 o.data = buildUnnamed876(); | 1319 o.data = buildUnnamed850(); |
| 1320 o.message = "foo"; | 1320 o.message = "foo"; |
| 1321 } | 1321 } |
| 1322 buildCounterForwardingRulesScopedListWarning--; | 1322 buildCounterForwardingRulesScopedListWarning--; |
| 1323 return o; | 1323 return o; |
| 1324 } | 1324 } |
| 1325 | 1325 |
| 1326 checkForwardingRulesScopedListWarning(api.ForwardingRulesScopedListWarning o) { | 1326 checkForwardingRulesScopedListWarning(api.ForwardingRulesScopedListWarning o) { |
| 1327 buildCounterForwardingRulesScopedListWarning++; | 1327 buildCounterForwardingRulesScopedListWarning++; |
| 1328 if (buildCounterForwardingRulesScopedListWarning < 3) { | 1328 if (buildCounterForwardingRulesScopedListWarning < 3) { |
| 1329 unittest.expect(o.code, unittest.equals('foo')); | 1329 unittest.expect(o.code, unittest.equals('foo')); |
| 1330 checkUnnamed876(o.data); | 1330 checkUnnamed850(o.data); |
| 1331 unittest.expect(o.message, unittest.equals('foo')); | 1331 unittest.expect(o.message, unittest.equals('foo')); |
| 1332 } | 1332 } |
| 1333 buildCounterForwardingRulesScopedListWarning--; | 1333 buildCounterForwardingRulesScopedListWarning--; |
| 1334 } | 1334 } |
| 1335 | 1335 |
| 1336 core.int buildCounterForwardingRulesScopedList = 0; | 1336 core.int buildCounterForwardingRulesScopedList = 0; |
| 1337 buildForwardingRulesScopedList() { | 1337 buildForwardingRulesScopedList() { |
| 1338 var o = new api.ForwardingRulesScopedList(); | 1338 var o = new api.ForwardingRulesScopedList(); |
| 1339 buildCounterForwardingRulesScopedList++; | 1339 buildCounterForwardingRulesScopedList++; |
| 1340 if (buildCounterForwardingRulesScopedList < 3) { | 1340 if (buildCounterForwardingRulesScopedList < 3) { |
| 1341 o.forwardingRules = buildUnnamed875(); | 1341 o.forwardingRules = buildUnnamed849(); |
| 1342 o.warning = buildForwardingRulesScopedListWarning(); | 1342 o.warning = buildForwardingRulesScopedListWarning(); |
| 1343 } | 1343 } |
| 1344 buildCounterForwardingRulesScopedList--; | 1344 buildCounterForwardingRulesScopedList--; |
| 1345 return o; | 1345 return o; |
| 1346 } | 1346 } |
| 1347 | 1347 |
| 1348 checkForwardingRulesScopedList(api.ForwardingRulesScopedList o) { | 1348 checkForwardingRulesScopedList(api.ForwardingRulesScopedList o) { |
| 1349 buildCounterForwardingRulesScopedList++; | 1349 buildCounterForwardingRulesScopedList++; |
| 1350 if (buildCounterForwardingRulesScopedList < 3) { | 1350 if (buildCounterForwardingRulesScopedList < 3) { |
| 1351 checkUnnamed875(o.forwardingRules); | 1351 checkUnnamed849(o.forwardingRules); |
| 1352 checkForwardingRulesScopedListWarning(o.warning); | 1352 checkForwardingRulesScopedListWarning(o.warning); |
| 1353 } | 1353 } |
| 1354 buildCounterForwardingRulesScopedList--; | 1354 buildCounterForwardingRulesScopedList--; |
| 1355 } | 1355 } |
| 1356 | 1356 |
| 1357 core.int buildCounterHealthCheckReference = 0; | 1357 core.int buildCounterHealthCheckReference = 0; |
| 1358 buildHealthCheckReference() { | 1358 buildHealthCheckReference() { |
| 1359 var o = new api.HealthCheckReference(); | 1359 var o = new api.HealthCheckReference(); |
| 1360 buildCounterHealthCheckReference++; | 1360 buildCounterHealthCheckReference++; |
| 1361 if (buildCounterHealthCheckReference < 3) { | 1361 if (buildCounterHealthCheckReference < 3) { |
| (...skipping 29 matching lines...) Expand all Loading... |
| 1391 buildCounterHealthStatus++; | 1391 buildCounterHealthStatus++; |
| 1392 if (buildCounterHealthStatus < 3) { | 1392 if (buildCounterHealthStatus < 3) { |
| 1393 unittest.expect(o.healthState, unittest.equals('foo')); | 1393 unittest.expect(o.healthState, unittest.equals('foo')); |
| 1394 unittest.expect(o.instance, unittest.equals('foo')); | 1394 unittest.expect(o.instance, unittest.equals('foo')); |
| 1395 unittest.expect(o.ipAddress, unittest.equals('foo')); | 1395 unittest.expect(o.ipAddress, unittest.equals('foo')); |
| 1396 unittest.expect(o.port, unittest.equals(42)); | 1396 unittest.expect(o.port, unittest.equals(42)); |
| 1397 } | 1397 } |
| 1398 buildCounterHealthStatus--; | 1398 buildCounterHealthStatus--; |
| 1399 } | 1399 } |
| 1400 | 1400 |
| 1401 buildUnnamed877() { | 1401 buildUnnamed851() { |
| 1402 var o = new core.List<core.String>(); | 1402 var o = new core.List<core.String>(); |
| 1403 o.add("foo"); | 1403 o.add("foo"); |
| 1404 o.add("foo"); | 1404 o.add("foo"); |
| 1405 return o; | 1405 return o; |
| 1406 } | 1406 } |
| 1407 | 1407 |
| 1408 checkUnnamed877(core.List<core.String> o) { | 1408 checkUnnamed851(core.List<core.String> o) { |
| 1409 unittest.expect(o, unittest.hasLength(2)); | 1409 unittest.expect(o, unittest.hasLength(2)); |
| 1410 unittest.expect(o[0], unittest.equals('foo')); | 1410 unittest.expect(o[0], unittest.equals('foo')); |
| 1411 unittest.expect(o[1], unittest.equals('foo')); | 1411 unittest.expect(o[1], unittest.equals('foo')); |
| 1412 } | 1412 } |
| 1413 | 1413 |
| 1414 core.int buildCounterHostRule = 0; | 1414 core.int buildCounterHostRule = 0; |
| 1415 buildHostRule() { | 1415 buildHostRule() { |
| 1416 var o = new api.HostRule(); | 1416 var o = new api.HostRule(); |
| 1417 buildCounterHostRule++; | 1417 buildCounterHostRule++; |
| 1418 if (buildCounterHostRule < 3) { | 1418 if (buildCounterHostRule < 3) { |
| 1419 o.description = "foo"; | 1419 o.description = "foo"; |
| 1420 o.hosts = buildUnnamed877(); | 1420 o.hosts = buildUnnamed851(); |
| 1421 o.pathMatcher = "foo"; | 1421 o.pathMatcher = "foo"; |
| 1422 } | 1422 } |
| 1423 buildCounterHostRule--; | 1423 buildCounterHostRule--; |
| 1424 return o; | 1424 return o; |
| 1425 } | 1425 } |
| 1426 | 1426 |
| 1427 checkHostRule(api.HostRule o) { | 1427 checkHostRule(api.HostRule o) { |
| 1428 buildCounterHostRule++; | 1428 buildCounterHostRule++; |
| 1429 if (buildCounterHostRule < 3) { | 1429 if (buildCounterHostRule < 3) { |
| 1430 unittest.expect(o.description, unittest.equals('foo')); | 1430 unittest.expect(o.description, unittest.equals('foo')); |
| 1431 checkUnnamed877(o.hosts); | 1431 checkUnnamed851(o.hosts); |
| 1432 unittest.expect(o.pathMatcher, unittest.equals('foo')); | 1432 unittest.expect(o.pathMatcher, unittest.equals('foo')); |
| 1433 } | 1433 } |
| 1434 buildCounterHostRule--; | 1434 buildCounterHostRule--; |
| 1435 } | 1435 } |
| 1436 | 1436 |
| 1437 core.int buildCounterHttpHealthCheck = 0; | 1437 core.int buildCounterHttpHealthCheck = 0; |
| 1438 buildHttpHealthCheck() { | 1438 buildHttpHealthCheck() { |
| 1439 var o = new api.HttpHealthCheck(); | 1439 var o = new api.HttpHealthCheck(); |
| 1440 buildCounterHttpHealthCheck++; | 1440 buildCounterHttpHealthCheck++; |
| 1441 if (buildCounterHttpHealthCheck < 3) { | 1441 if (buildCounterHttpHealthCheck < 3) { |
| (...skipping 28 matching lines...) Expand all Loading... |
| 1470 unittest.expect(o.name, unittest.equals('foo')); | 1470 unittest.expect(o.name, unittest.equals('foo')); |
| 1471 unittest.expect(o.port, unittest.equals(42)); | 1471 unittest.expect(o.port, unittest.equals(42)); |
| 1472 unittest.expect(o.requestPath, unittest.equals('foo')); | 1472 unittest.expect(o.requestPath, unittest.equals('foo')); |
| 1473 unittest.expect(o.selfLink, unittest.equals('foo')); | 1473 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 1474 unittest.expect(o.timeoutSec, unittest.equals(42)); | 1474 unittest.expect(o.timeoutSec, unittest.equals(42)); |
| 1475 unittest.expect(o.unhealthyThreshold, unittest.equals(42)); | 1475 unittest.expect(o.unhealthyThreshold, unittest.equals(42)); |
| 1476 } | 1476 } |
| 1477 buildCounterHttpHealthCheck--; | 1477 buildCounterHttpHealthCheck--; |
| 1478 } | 1478 } |
| 1479 | 1479 |
| 1480 buildUnnamed878() { | 1480 buildUnnamed852() { |
| 1481 var o = new core.List<api.HttpHealthCheck>(); | 1481 var o = new core.List<api.HttpHealthCheck>(); |
| 1482 o.add(buildHttpHealthCheck()); | 1482 o.add(buildHttpHealthCheck()); |
| 1483 o.add(buildHttpHealthCheck()); | 1483 o.add(buildHttpHealthCheck()); |
| 1484 return o; | 1484 return o; |
| 1485 } | 1485 } |
| 1486 | 1486 |
| 1487 checkUnnamed878(core.List<api.HttpHealthCheck> o) { | 1487 checkUnnamed852(core.List<api.HttpHealthCheck> o) { |
| 1488 unittest.expect(o, unittest.hasLength(2)); | 1488 unittest.expect(o, unittest.hasLength(2)); |
| 1489 checkHttpHealthCheck(o[0]); | 1489 checkHttpHealthCheck(o[0]); |
| 1490 checkHttpHealthCheck(o[1]); | 1490 checkHttpHealthCheck(o[1]); |
| 1491 } | 1491 } |
| 1492 | 1492 |
| 1493 core.int buildCounterHttpHealthCheckList = 0; | 1493 core.int buildCounterHttpHealthCheckList = 0; |
| 1494 buildHttpHealthCheckList() { | 1494 buildHttpHealthCheckList() { |
| 1495 var o = new api.HttpHealthCheckList(); | 1495 var o = new api.HttpHealthCheckList(); |
| 1496 buildCounterHttpHealthCheckList++; | 1496 buildCounterHttpHealthCheckList++; |
| 1497 if (buildCounterHttpHealthCheckList < 3) { | 1497 if (buildCounterHttpHealthCheckList < 3) { |
| 1498 o.id = "foo"; | 1498 o.id = "foo"; |
| 1499 o.items = buildUnnamed878(); | 1499 o.items = buildUnnamed852(); |
| 1500 o.kind = "foo"; | 1500 o.kind = "foo"; |
| 1501 o.nextPageToken = "foo"; | 1501 o.nextPageToken = "foo"; |
| 1502 o.selfLink = "foo"; | 1502 o.selfLink = "foo"; |
| 1503 } | 1503 } |
| 1504 buildCounterHttpHealthCheckList--; | 1504 buildCounterHttpHealthCheckList--; |
| 1505 return o; | 1505 return o; |
| 1506 } | 1506 } |
| 1507 | 1507 |
| 1508 checkHttpHealthCheckList(api.HttpHealthCheckList o) { | 1508 checkHttpHealthCheckList(api.HttpHealthCheckList o) { |
| 1509 buildCounterHttpHealthCheckList++; | 1509 buildCounterHttpHealthCheckList++; |
| 1510 if (buildCounterHttpHealthCheckList < 3) { | 1510 if (buildCounterHttpHealthCheckList < 3) { |
| 1511 unittest.expect(o.id, unittest.equals('foo')); | 1511 unittest.expect(o.id, unittest.equals('foo')); |
| 1512 checkUnnamed878(o.items); | 1512 checkUnnamed852(o.items); |
| 1513 unittest.expect(o.kind, unittest.equals('foo')); | 1513 unittest.expect(o.kind, unittest.equals('foo')); |
| 1514 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1514 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1515 unittest.expect(o.selfLink, unittest.equals('foo')); | 1515 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 1516 } | 1516 } |
| 1517 buildCounterHttpHealthCheckList--; | 1517 buildCounterHttpHealthCheckList--; |
| 1518 } | 1518 } |
| 1519 | 1519 |
| 1520 buildUnnamed879() { | 1520 buildUnnamed853() { |
| 1521 var o = new core.List<core.String>(); | 1521 var o = new core.List<core.String>(); |
| 1522 o.add("foo"); | 1522 o.add("foo"); |
| 1523 o.add("foo"); | 1523 o.add("foo"); |
| 1524 return o; | 1524 return o; |
| 1525 } | 1525 } |
| 1526 | 1526 |
| 1527 checkUnnamed879(core.List<core.String> o) { | 1527 checkUnnamed853(core.List<core.String> o) { |
| 1528 unittest.expect(o, unittest.hasLength(2)); | 1528 unittest.expect(o, unittest.hasLength(2)); |
| 1529 unittest.expect(o[0], unittest.equals('foo')); | 1529 unittest.expect(o[0], unittest.equals('foo')); |
| 1530 unittest.expect(o[1], unittest.equals('foo')); | 1530 unittest.expect(o[1], unittest.equals('foo')); |
| 1531 } | 1531 } |
| 1532 | 1532 |
| 1533 core.int buildCounterImageRawDisk = 0; | 1533 core.int buildCounterImageRawDisk = 0; |
| 1534 buildImageRawDisk() { | 1534 buildImageRawDisk() { |
| 1535 var o = new api.ImageRawDisk(); | 1535 var o = new api.ImageRawDisk(); |
| 1536 buildCounterImageRawDisk++; | 1536 buildCounterImageRawDisk++; |
| 1537 if (buildCounterImageRawDisk < 3) { | 1537 if (buildCounterImageRawDisk < 3) { |
| (...skipping 20 matching lines...) Expand all Loading... |
| 1558 var o = new api.Image(); | 1558 var o = new api.Image(); |
| 1559 buildCounterImage++; | 1559 buildCounterImage++; |
| 1560 if (buildCounterImage < 3) { | 1560 if (buildCounterImage < 3) { |
| 1561 o.archiveSizeBytes = "foo"; | 1561 o.archiveSizeBytes = "foo"; |
| 1562 o.creationTimestamp = "foo"; | 1562 o.creationTimestamp = "foo"; |
| 1563 o.deprecated = buildDeprecationStatus(); | 1563 o.deprecated = buildDeprecationStatus(); |
| 1564 o.description = "foo"; | 1564 o.description = "foo"; |
| 1565 o.diskSizeGb = "foo"; | 1565 o.diskSizeGb = "foo"; |
| 1566 o.id = "foo"; | 1566 o.id = "foo"; |
| 1567 o.kind = "foo"; | 1567 o.kind = "foo"; |
| 1568 o.licenses = buildUnnamed879(); | 1568 o.licenses = buildUnnamed853(); |
| 1569 o.name = "foo"; | 1569 o.name = "foo"; |
| 1570 o.rawDisk = buildImageRawDisk(); | 1570 o.rawDisk = buildImageRawDisk(); |
| 1571 o.selfLink = "foo"; | 1571 o.selfLink = "foo"; |
| 1572 o.sourceDisk = "foo"; | 1572 o.sourceDisk = "foo"; |
| 1573 o.sourceDiskId = "foo"; | 1573 o.sourceDiskId = "foo"; |
| 1574 o.sourceType = "foo"; | 1574 o.sourceType = "foo"; |
| 1575 o.status = "foo"; | 1575 o.status = "foo"; |
| 1576 } | 1576 } |
| 1577 buildCounterImage--; | 1577 buildCounterImage--; |
| 1578 return o; | 1578 return o; |
| 1579 } | 1579 } |
| 1580 | 1580 |
| 1581 checkImage(api.Image o) { | 1581 checkImage(api.Image o) { |
| 1582 buildCounterImage++; | 1582 buildCounterImage++; |
| 1583 if (buildCounterImage < 3) { | 1583 if (buildCounterImage < 3) { |
| 1584 unittest.expect(o.archiveSizeBytes, unittest.equals('foo')); | 1584 unittest.expect(o.archiveSizeBytes, unittest.equals('foo')); |
| 1585 unittest.expect(o.creationTimestamp, unittest.equals('foo')); | 1585 unittest.expect(o.creationTimestamp, unittest.equals('foo')); |
| 1586 checkDeprecationStatus(o.deprecated); | 1586 checkDeprecationStatus(o.deprecated); |
| 1587 unittest.expect(o.description, unittest.equals('foo')); | 1587 unittest.expect(o.description, unittest.equals('foo')); |
| 1588 unittest.expect(o.diskSizeGb, unittest.equals('foo')); | 1588 unittest.expect(o.diskSizeGb, unittest.equals('foo')); |
| 1589 unittest.expect(o.id, unittest.equals('foo')); | 1589 unittest.expect(o.id, unittest.equals('foo')); |
| 1590 unittest.expect(o.kind, unittest.equals('foo')); | 1590 unittest.expect(o.kind, unittest.equals('foo')); |
| 1591 checkUnnamed879(o.licenses); | 1591 checkUnnamed853(o.licenses); |
| 1592 unittest.expect(o.name, unittest.equals('foo')); | 1592 unittest.expect(o.name, unittest.equals('foo')); |
| 1593 checkImageRawDisk(o.rawDisk); | 1593 checkImageRawDisk(o.rawDisk); |
| 1594 unittest.expect(o.selfLink, unittest.equals('foo')); | 1594 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 1595 unittest.expect(o.sourceDisk, unittest.equals('foo')); | 1595 unittest.expect(o.sourceDisk, unittest.equals('foo')); |
| 1596 unittest.expect(o.sourceDiskId, unittest.equals('foo')); | 1596 unittest.expect(o.sourceDiskId, unittest.equals('foo')); |
| 1597 unittest.expect(o.sourceType, unittest.equals('foo')); | 1597 unittest.expect(o.sourceType, unittest.equals('foo')); |
| 1598 unittest.expect(o.status, unittest.equals('foo')); | 1598 unittest.expect(o.status, unittest.equals('foo')); |
| 1599 } | 1599 } |
| 1600 buildCounterImage--; | 1600 buildCounterImage--; |
| 1601 } | 1601 } |
| 1602 | 1602 |
| 1603 buildUnnamed880() { | 1603 buildUnnamed854() { |
| 1604 var o = new core.List<api.Image>(); | 1604 var o = new core.List<api.Image>(); |
| 1605 o.add(buildImage()); | 1605 o.add(buildImage()); |
| 1606 o.add(buildImage()); | 1606 o.add(buildImage()); |
| 1607 return o; | 1607 return o; |
| 1608 } | 1608 } |
| 1609 | 1609 |
| 1610 checkUnnamed880(core.List<api.Image> o) { | 1610 checkUnnamed854(core.List<api.Image> o) { |
| 1611 unittest.expect(o, unittest.hasLength(2)); | 1611 unittest.expect(o, unittest.hasLength(2)); |
| 1612 checkImage(o[0]); | 1612 checkImage(o[0]); |
| 1613 checkImage(o[1]); | 1613 checkImage(o[1]); |
| 1614 } | 1614 } |
| 1615 | 1615 |
| 1616 core.int buildCounterImageList = 0; | 1616 core.int buildCounterImageList = 0; |
| 1617 buildImageList() { | 1617 buildImageList() { |
| 1618 var o = new api.ImageList(); | 1618 var o = new api.ImageList(); |
| 1619 buildCounterImageList++; | 1619 buildCounterImageList++; |
| 1620 if (buildCounterImageList < 3) { | 1620 if (buildCounterImageList < 3) { |
| 1621 o.id = "foo"; | 1621 o.id = "foo"; |
| 1622 o.items = buildUnnamed880(); | 1622 o.items = buildUnnamed854(); |
| 1623 o.kind = "foo"; | 1623 o.kind = "foo"; |
| 1624 o.nextPageToken = "foo"; | 1624 o.nextPageToken = "foo"; |
| 1625 o.selfLink = "foo"; | 1625 o.selfLink = "foo"; |
| 1626 } | 1626 } |
| 1627 buildCounterImageList--; | 1627 buildCounterImageList--; |
| 1628 return o; | 1628 return o; |
| 1629 } | 1629 } |
| 1630 | 1630 |
| 1631 checkImageList(api.ImageList o) { | 1631 checkImageList(api.ImageList o) { |
| 1632 buildCounterImageList++; | 1632 buildCounterImageList++; |
| 1633 if (buildCounterImageList < 3) { | 1633 if (buildCounterImageList < 3) { |
| 1634 unittest.expect(o.id, unittest.equals('foo')); | 1634 unittest.expect(o.id, unittest.equals('foo')); |
| 1635 checkUnnamed880(o.items); | 1635 checkUnnamed854(o.items); |
| 1636 unittest.expect(o.kind, unittest.equals('foo')); | 1636 unittest.expect(o.kind, unittest.equals('foo')); |
| 1637 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1637 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1638 unittest.expect(o.selfLink, unittest.equals('foo')); | 1638 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 1639 } | 1639 } |
| 1640 buildCounterImageList--; | 1640 buildCounterImageList--; |
| 1641 } | 1641 } |
| 1642 | 1642 |
| 1643 buildUnnamed881() { | 1643 buildUnnamed855() { |
| 1644 var o = new core.List<api.AttachedDisk>(); | 1644 var o = new core.List<api.AttachedDisk>(); |
| 1645 o.add(buildAttachedDisk()); | 1645 o.add(buildAttachedDisk()); |
| 1646 o.add(buildAttachedDisk()); | 1646 o.add(buildAttachedDisk()); |
| 1647 return o; | 1647 return o; |
| 1648 } | 1648 } |
| 1649 | 1649 |
| 1650 checkUnnamed881(core.List<api.AttachedDisk> o) { | 1650 checkUnnamed855(core.List<api.AttachedDisk> o) { |
| 1651 unittest.expect(o, unittest.hasLength(2)); | 1651 unittest.expect(o, unittest.hasLength(2)); |
| 1652 checkAttachedDisk(o[0]); | 1652 checkAttachedDisk(o[0]); |
| 1653 checkAttachedDisk(o[1]); | 1653 checkAttachedDisk(o[1]); |
| 1654 } | 1654 } |
| 1655 | 1655 |
| 1656 buildUnnamed882() { | 1656 buildUnnamed856() { |
| 1657 var o = new core.List<api.NetworkInterface>(); | 1657 var o = new core.List<api.NetworkInterface>(); |
| 1658 o.add(buildNetworkInterface()); | 1658 o.add(buildNetworkInterface()); |
| 1659 o.add(buildNetworkInterface()); | 1659 o.add(buildNetworkInterface()); |
| 1660 return o; | 1660 return o; |
| 1661 } | 1661 } |
| 1662 | 1662 |
| 1663 checkUnnamed882(core.List<api.NetworkInterface> o) { | 1663 checkUnnamed856(core.List<api.NetworkInterface> o) { |
| 1664 unittest.expect(o, unittest.hasLength(2)); | 1664 unittest.expect(o, unittest.hasLength(2)); |
| 1665 checkNetworkInterface(o[0]); | 1665 checkNetworkInterface(o[0]); |
| 1666 checkNetworkInterface(o[1]); | 1666 checkNetworkInterface(o[1]); |
| 1667 } | 1667 } |
| 1668 | 1668 |
| 1669 buildUnnamed883() { | 1669 buildUnnamed857() { |
| 1670 var o = new core.List<api.ServiceAccount>(); | 1670 var o = new core.List<api.ServiceAccount>(); |
| 1671 o.add(buildServiceAccount()); | 1671 o.add(buildServiceAccount()); |
| 1672 o.add(buildServiceAccount()); | 1672 o.add(buildServiceAccount()); |
| 1673 return o; | 1673 return o; |
| 1674 } | 1674 } |
| 1675 | 1675 |
| 1676 checkUnnamed883(core.List<api.ServiceAccount> o) { | 1676 checkUnnamed857(core.List<api.ServiceAccount> o) { |
| 1677 unittest.expect(o, unittest.hasLength(2)); | 1677 unittest.expect(o, unittest.hasLength(2)); |
| 1678 checkServiceAccount(o[0]); | 1678 checkServiceAccount(o[0]); |
| 1679 checkServiceAccount(o[1]); | 1679 checkServiceAccount(o[1]); |
| 1680 } | 1680 } |
| 1681 | 1681 |
| 1682 core.int buildCounterInstance = 0; | 1682 core.int buildCounterInstance = 0; |
| 1683 buildInstance() { | 1683 buildInstance() { |
| 1684 var o = new api.Instance(); | 1684 var o = new api.Instance(); |
| 1685 buildCounterInstance++; | 1685 buildCounterInstance++; |
| 1686 if (buildCounterInstance < 3) { | 1686 if (buildCounterInstance < 3) { |
| 1687 o.canIpForward = true; | 1687 o.canIpForward = true; |
| 1688 o.creationTimestamp = "foo"; | 1688 o.creationTimestamp = "foo"; |
| 1689 o.description = "foo"; | 1689 o.description = "foo"; |
| 1690 o.disks = buildUnnamed881(); | 1690 o.disks = buildUnnamed855(); |
| 1691 o.id = "foo"; | 1691 o.id = "foo"; |
| 1692 o.kind = "foo"; | 1692 o.kind = "foo"; |
| 1693 o.machineType = "foo"; | 1693 o.machineType = "foo"; |
| 1694 o.metadata = buildMetadata(); | 1694 o.metadata = buildMetadata(); |
| 1695 o.name = "foo"; | 1695 o.name = "foo"; |
| 1696 o.networkInterfaces = buildUnnamed882(); | 1696 o.networkInterfaces = buildUnnamed856(); |
| 1697 o.scheduling = buildScheduling(); | 1697 o.scheduling = buildScheduling(); |
| 1698 o.selfLink = "foo"; | 1698 o.selfLink = "foo"; |
| 1699 o.serviceAccounts = buildUnnamed883(); | 1699 o.serviceAccounts = buildUnnamed857(); |
| 1700 o.status = "foo"; | 1700 o.status = "foo"; |
| 1701 o.statusMessage = "foo"; | 1701 o.statusMessage = "foo"; |
| 1702 o.tags = buildTags(); | 1702 o.tags = buildTags(); |
| 1703 o.zone = "foo"; | 1703 o.zone = "foo"; |
| 1704 } | 1704 } |
| 1705 buildCounterInstance--; | 1705 buildCounterInstance--; |
| 1706 return o; | 1706 return o; |
| 1707 } | 1707 } |
| 1708 | 1708 |
| 1709 checkInstance(api.Instance o) { | 1709 checkInstance(api.Instance o) { |
| 1710 buildCounterInstance++; | 1710 buildCounterInstance++; |
| 1711 if (buildCounterInstance < 3) { | 1711 if (buildCounterInstance < 3) { |
| 1712 unittest.expect(o.canIpForward, unittest.isTrue); | 1712 unittest.expect(o.canIpForward, unittest.isTrue); |
| 1713 unittest.expect(o.creationTimestamp, unittest.equals('foo')); | 1713 unittest.expect(o.creationTimestamp, unittest.equals('foo')); |
| 1714 unittest.expect(o.description, unittest.equals('foo')); | 1714 unittest.expect(o.description, unittest.equals('foo')); |
| 1715 checkUnnamed881(o.disks); | 1715 checkUnnamed855(o.disks); |
| 1716 unittest.expect(o.id, unittest.equals('foo')); | 1716 unittest.expect(o.id, unittest.equals('foo')); |
| 1717 unittest.expect(o.kind, unittest.equals('foo')); | 1717 unittest.expect(o.kind, unittest.equals('foo')); |
| 1718 unittest.expect(o.machineType, unittest.equals('foo')); | 1718 unittest.expect(o.machineType, unittest.equals('foo')); |
| 1719 checkMetadata(o.metadata); | 1719 checkMetadata(o.metadata); |
| 1720 unittest.expect(o.name, unittest.equals('foo')); | 1720 unittest.expect(o.name, unittest.equals('foo')); |
| 1721 checkUnnamed882(o.networkInterfaces); | 1721 checkUnnamed856(o.networkInterfaces); |
| 1722 checkScheduling(o.scheduling); | 1722 checkScheduling(o.scheduling); |
| 1723 unittest.expect(o.selfLink, unittest.equals('foo')); | 1723 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 1724 checkUnnamed883(o.serviceAccounts); | 1724 checkUnnamed857(o.serviceAccounts); |
| 1725 unittest.expect(o.status, unittest.equals('foo')); | 1725 unittest.expect(o.status, unittest.equals('foo')); |
| 1726 unittest.expect(o.statusMessage, unittest.equals('foo')); | 1726 unittest.expect(o.statusMessage, unittest.equals('foo')); |
| 1727 checkTags(o.tags); | 1727 checkTags(o.tags); |
| 1728 unittest.expect(o.zone, unittest.equals('foo')); | 1728 unittest.expect(o.zone, unittest.equals('foo')); |
| 1729 } | 1729 } |
| 1730 buildCounterInstance--; | 1730 buildCounterInstance--; |
| 1731 } | 1731 } |
| 1732 | 1732 |
| 1733 buildUnnamed884() { | 1733 buildUnnamed858() { |
| 1734 var o = new core.Map<core.String, api.InstancesScopedList>(); | 1734 var o = new core.Map<core.String, api.InstancesScopedList>(); |
| 1735 o["x"] = buildInstancesScopedList(); | 1735 o["x"] = buildInstancesScopedList(); |
| 1736 o["y"] = buildInstancesScopedList(); | 1736 o["y"] = buildInstancesScopedList(); |
| 1737 return o; | 1737 return o; |
| 1738 } | 1738 } |
| 1739 | 1739 |
| 1740 checkUnnamed884(core.Map<core.String, api.InstancesScopedList> o) { | 1740 checkUnnamed858(core.Map<core.String, api.InstancesScopedList> o) { |
| 1741 unittest.expect(o, unittest.hasLength(2)); | 1741 unittest.expect(o, unittest.hasLength(2)); |
| 1742 checkInstancesScopedList(o["x"]); | 1742 checkInstancesScopedList(o["x"]); |
| 1743 checkInstancesScopedList(o["y"]); | 1743 checkInstancesScopedList(o["y"]); |
| 1744 } | 1744 } |
| 1745 | 1745 |
| 1746 core.int buildCounterInstanceAggregatedList = 0; | 1746 core.int buildCounterInstanceAggregatedList = 0; |
| 1747 buildInstanceAggregatedList() { | 1747 buildInstanceAggregatedList() { |
| 1748 var o = new api.InstanceAggregatedList(); | 1748 var o = new api.InstanceAggregatedList(); |
| 1749 buildCounterInstanceAggregatedList++; | 1749 buildCounterInstanceAggregatedList++; |
| 1750 if (buildCounterInstanceAggregatedList < 3) { | 1750 if (buildCounterInstanceAggregatedList < 3) { |
| 1751 o.id = "foo"; | 1751 o.id = "foo"; |
| 1752 o.items = buildUnnamed884(); | 1752 o.items = buildUnnamed858(); |
| 1753 o.kind = "foo"; | 1753 o.kind = "foo"; |
| 1754 o.nextPageToken = "foo"; | 1754 o.nextPageToken = "foo"; |
| 1755 o.selfLink = "foo"; | 1755 o.selfLink = "foo"; |
| 1756 } | 1756 } |
| 1757 buildCounterInstanceAggregatedList--; | 1757 buildCounterInstanceAggregatedList--; |
| 1758 return o; | 1758 return o; |
| 1759 } | 1759 } |
| 1760 | 1760 |
| 1761 checkInstanceAggregatedList(api.InstanceAggregatedList o) { | 1761 checkInstanceAggregatedList(api.InstanceAggregatedList o) { |
| 1762 buildCounterInstanceAggregatedList++; | 1762 buildCounterInstanceAggregatedList++; |
| 1763 if (buildCounterInstanceAggregatedList < 3) { | 1763 if (buildCounterInstanceAggregatedList < 3) { |
| 1764 unittest.expect(o.id, unittest.equals('foo')); | 1764 unittest.expect(o.id, unittest.equals('foo')); |
| 1765 checkUnnamed884(o.items); | 1765 checkUnnamed858(o.items); |
| 1766 unittest.expect(o.kind, unittest.equals('foo')); | 1766 unittest.expect(o.kind, unittest.equals('foo')); |
| 1767 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1767 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1768 unittest.expect(o.selfLink, unittest.equals('foo')); | 1768 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 1769 } | 1769 } |
| 1770 buildCounterInstanceAggregatedList--; | 1770 buildCounterInstanceAggregatedList--; |
| 1771 } | 1771 } |
| 1772 | 1772 |
| 1773 buildUnnamed885() { | 1773 buildUnnamed859() { |
| 1774 var o = new core.List<api.Instance>(); | 1774 var o = new core.List<api.Instance>(); |
| 1775 o.add(buildInstance()); | 1775 o.add(buildInstance()); |
| 1776 o.add(buildInstance()); | 1776 o.add(buildInstance()); |
| 1777 return o; | 1777 return o; |
| 1778 } | 1778 } |
| 1779 | 1779 |
| 1780 checkUnnamed885(core.List<api.Instance> o) { | 1780 checkUnnamed859(core.List<api.Instance> o) { |
| 1781 unittest.expect(o, unittest.hasLength(2)); | 1781 unittest.expect(o, unittest.hasLength(2)); |
| 1782 checkInstance(o[0]); | 1782 checkInstance(o[0]); |
| 1783 checkInstance(o[1]); | 1783 checkInstance(o[1]); |
| 1784 } | 1784 } |
| 1785 | 1785 |
| 1786 core.int buildCounterInstanceList = 0; | 1786 core.int buildCounterInstanceList = 0; |
| 1787 buildInstanceList() { | 1787 buildInstanceList() { |
| 1788 var o = new api.InstanceList(); | 1788 var o = new api.InstanceList(); |
| 1789 buildCounterInstanceList++; | 1789 buildCounterInstanceList++; |
| 1790 if (buildCounterInstanceList < 3) { | 1790 if (buildCounterInstanceList < 3) { |
| 1791 o.id = "foo"; | 1791 o.id = "foo"; |
| 1792 o.items = buildUnnamed885(); | 1792 o.items = buildUnnamed859(); |
| 1793 o.kind = "foo"; | 1793 o.kind = "foo"; |
| 1794 o.nextPageToken = "foo"; | 1794 o.nextPageToken = "foo"; |
| 1795 o.selfLink = "foo"; | 1795 o.selfLink = "foo"; |
| 1796 } | 1796 } |
| 1797 buildCounterInstanceList--; | 1797 buildCounterInstanceList--; |
| 1798 return o; | 1798 return o; |
| 1799 } | 1799 } |
| 1800 | 1800 |
| 1801 checkInstanceList(api.InstanceList o) { | 1801 checkInstanceList(api.InstanceList o) { |
| 1802 buildCounterInstanceList++; | 1802 buildCounterInstanceList++; |
| 1803 if (buildCounterInstanceList < 3) { | 1803 if (buildCounterInstanceList < 3) { |
| 1804 unittest.expect(o.id, unittest.equals('foo')); | 1804 unittest.expect(o.id, unittest.equals('foo')); |
| 1805 checkUnnamed885(o.items); | 1805 checkUnnamed859(o.items); |
| 1806 unittest.expect(o.kind, unittest.equals('foo')); | 1806 unittest.expect(o.kind, unittest.equals('foo')); |
| 1807 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1807 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1808 unittest.expect(o.selfLink, unittest.equals('foo')); | 1808 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 1809 } | 1809 } |
| 1810 buildCounterInstanceList--; | 1810 buildCounterInstanceList--; |
| 1811 } | 1811 } |
| 1812 | 1812 |
| 1813 buildUnnamed860() { |
| 1814 var o = new core.List<api.AttachedDisk>(); |
| 1815 o.add(buildAttachedDisk()); |
| 1816 o.add(buildAttachedDisk()); |
| 1817 return o; |
| 1818 } |
| 1819 |
| 1820 checkUnnamed860(core.List<api.AttachedDisk> o) { |
| 1821 unittest.expect(o, unittest.hasLength(2)); |
| 1822 checkAttachedDisk(o[0]); |
| 1823 checkAttachedDisk(o[1]); |
| 1824 } |
| 1825 |
| 1826 buildUnnamed861() { |
| 1827 var o = new core.List<api.NetworkInterface>(); |
| 1828 o.add(buildNetworkInterface()); |
| 1829 o.add(buildNetworkInterface()); |
| 1830 return o; |
| 1831 } |
| 1832 |
| 1833 checkUnnamed861(core.List<api.NetworkInterface> o) { |
| 1834 unittest.expect(o, unittest.hasLength(2)); |
| 1835 checkNetworkInterface(o[0]); |
| 1836 checkNetworkInterface(o[1]); |
| 1837 } |
| 1838 |
| 1839 buildUnnamed862() { |
| 1840 var o = new core.List<api.ServiceAccount>(); |
| 1841 o.add(buildServiceAccount()); |
| 1842 o.add(buildServiceAccount()); |
| 1843 return o; |
| 1844 } |
| 1845 |
| 1846 checkUnnamed862(core.List<api.ServiceAccount> o) { |
| 1847 unittest.expect(o, unittest.hasLength(2)); |
| 1848 checkServiceAccount(o[0]); |
| 1849 checkServiceAccount(o[1]); |
| 1850 } |
| 1851 |
| 1852 core.int buildCounterInstanceProperties = 0; |
| 1853 buildInstanceProperties() { |
| 1854 var o = new api.InstanceProperties(); |
| 1855 buildCounterInstanceProperties++; |
| 1856 if (buildCounterInstanceProperties < 3) { |
| 1857 o.canIpForward = true; |
| 1858 o.description = "foo"; |
| 1859 o.disks = buildUnnamed860(); |
| 1860 o.machineType = "foo"; |
| 1861 o.metadata = buildMetadata(); |
| 1862 o.networkInterfaces = buildUnnamed861(); |
| 1863 o.scheduling = buildScheduling(); |
| 1864 o.serviceAccounts = buildUnnamed862(); |
| 1865 o.tags = buildTags(); |
| 1866 } |
| 1867 buildCounterInstanceProperties--; |
| 1868 return o; |
| 1869 } |
| 1870 |
| 1871 checkInstanceProperties(api.InstanceProperties o) { |
| 1872 buildCounterInstanceProperties++; |
| 1873 if (buildCounterInstanceProperties < 3) { |
| 1874 unittest.expect(o.canIpForward, unittest.isTrue); |
| 1875 unittest.expect(o.description, unittest.equals('foo')); |
| 1876 checkUnnamed860(o.disks); |
| 1877 unittest.expect(o.machineType, unittest.equals('foo')); |
| 1878 checkMetadata(o.metadata); |
| 1879 checkUnnamed861(o.networkInterfaces); |
| 1880 checkScheduling(o.scheduling); |
| 1881 checkUnnamed862(o.serviceAccounts); |
| 1882 checkTags(o.tags); |
| 1883 } |
| 1884 buildCounterInstanceProperties--; |
| 1885 } |
| 1886 |
| 1813 core.int buildCounterInstanceReference = 0; | 1887 core.int buildCounterInstanceReference = 0; |
| 1814 buildInstanceReference() { | 1888 buildInstanceReference() { |
| 1815 var o = new api.InstanceReference(); | 1889 var o = new api.InstanceReference(); |
| 1816 buildCounterInstanceReference++; | 1890 buildCounterInstanceReference++; |
| 1817 if (buildCounterInstanceReference < 3) { | 1891 if (buildCounterInstanceReference < 3) { |
| 1818 o.instance = "foo"; | 1892 o.instance = "foo"; |
| 1819 } | 1893 } |
| 1820 buildCounterInstanceReference--; | 1894 buildCounterInstanceReference--; |
| 1821 return o; | 1895 return o; |
| 1822 } | 1896 } |
| 1823 | 1897 |
| 1824 checkInstanceReference(api.InstanceReference o) { | 1898 checkInstanceReference(api.InstanceReference o) { |
| 1825 buildCounterInstanceReference++; | 1899 buildCounterInstanceReference++; |
| 1826 if (buildCounterInstanceReference < 3) { | 1900 if (buildCounterInstanceReference < 3) { |
| 1827 unittest.expect(o.instance, unittest.equals('foo')); | 1901 unittest.expect(o.instance, unittest.equals('foo')); |
| 1828 } | 1902 } |
| 1829 buildCounterInstanceReference--; | 1903 buildCounterInstanceReference--; |
| 1830 } | 1904 } |
| 1831 | 1905 |
| 1832 buildUnnamed886() { | 1906 core.int buildCounterInstanceTemplate = 0; |
| 1907 buildInstanceTemplate() { |
| 1908 var o = new api.InstanceTemplate(); |
| 1909 buildCounterInstanceTemplate++; |
| 1910 if (buildCounterInstanceTemplate < 3) { |
| 1911 o.creationTimestamp = "foo"; |
| 1912 o.description = "foo"; |
| 1913 o.id = "foo"; |
| 1914 o.kind = "foo"; |
| 1915 o.name = "foo"; |
| 1916 o.properties = buildInstanceProperties(); |
| 1917 o.selfLink = "foo"; |
| 1918 } |
| 1919 buildCounterInstanceTemplate--; |
| 1920 return o; |
| 1921 } |
| 1922 |
| 1923 checkInstanceTemplate(api.InstanceTemplate o) { |
| 1924 buildCounterInstanceTemplate++; |
| 1925 if (buildCounterInstanceTemplate < 3) { |
| 1926 unittest.expect(o.creationTimestamp, unittest.equals('foo')); |
| 1927 unittest.expect(o.description, unittest.equals('foo')); |
| 1928 unittest.expect(o.id, unittest.equals('foo')); |
| 1929 unittest.expect(o.kind, unittest.equals('foo')); |
| 1930 unittest.expect(o.name, unittest.equals('foo')); |
| 1931 checkInstanceProperties(o.properties); |
| 1932 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 1933 } |
| 1934 buildCounterInstanceTemplate--; |
| 1935 } |
| 1936 |
| 1937 buildUnnamed863() { |
| 1938 var o = new core.List<api.InstanceTemplate>(); |
| 1939 o.add(buildInstanceTemplate()); |
| 1940 o.add(buildInstanceTemplate()); |
| 1941 return o; |
| 1942 } |
| 1943 |
| 1944 checkUnnamed863(core.List<api.InstanceTemplate> o) { |
| 1945 unittest.expect(o, unittest.hasLength(2)); |
| 1946 checkInstanceTemplate(o[0]); |
| 1947 checkInstanceTemplate(o[1]); |
| 1948 } |
| 1949 |
| 1950 core.int buildCounterInstanceTemplateList = 0; |
| 1951 buildInstanceTemplateList() { |
| 1952 var o = new api.InstanceTemplateList(); |
| 1953 buildCounterInstanceTemplateList++; |
| 1954 if (buildCounterInstanceTemplateList < 3) { |
| 1955 o.id = "foo"; |
| 1956 o.items = buildUnnamed863(); |
| 1957 o.kind = "foo"; |
| 1958 o.nextPageToken = "foo"; |
| 1959 o.selfLink = "foo"; |
| 1960 } |
| 1961 buildCounterInstanceTemplateList--; |
| 1962 return o; |
| 1963 } |
| 1964 |
| 1965 checkInstanceTemplateList(api.InstanceTemplateList o) { |
| 1966 buildCounterInstanceTemplateList++; |
| 1967 if (buildCounterInstanceTemplateList < 3) { |
| 1968 unittest.expect(o.id, unittest.equals('foo')); |
| 1969 checkUnnamed863(o.items); |
| 1970 unittest.expect(o.kind, unittest.equals('foo')); |
| 1971 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1972 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 1973 } |
| 1974 buildCounterInstanceTemplateList--; |
| 1975 } |
| 1976 |
| 1977 buildUnnamed864() { |
| 1833 var o = new core.List<api.Instance>(); | 1978 var o = new core.List<api.Instance>(); |
| 1834 o.add(buildInstance()); | 1979 o.add(buildInstance()); |
| 1835 o.add(buildInstance()); | 1980 o.add(buildInstance()); |
| 1836 return o; | 1981 return o; |
| 1837 } | 1982 } |
| 1838 | 1983 |
| 1839 checkUnnamed886(core.List<api.Instance> o) { | 1984 checkUnnamed864(core.List<api.Instance> o) { |
| 1840 unittest.expect(o, unittest.hasLength(2)); | 1985 unittest.expect(o, unittest.hasLength(2)); |
| 1841 checkInstance(o[0]); | 1986 checkInstance(o[0]); |
| 1842 checkInstance(o[1]); | 1987 checkInstance(o[1]); |
| 1843 } | 1988 } |
| 1844 | 1989 |
| 1845 core.int buildCounterInstancesScopedListWarningData = 0; | 1990 core.int buildCounterInstancesScopedListWarningData = 0; |
| 1846 buildInstancesScopedListWarningData() { | 1991 buildInstancesScopedListWarningData() { |
| 1847 var o = new api.InstancesScopedListWarningData(); | 1992 var o = new api.InstancesScopedListWarningData(); |
| 1848 buildCounterInstancesScopedListWarningData++; | 1993 buildCounterInstancesScopedListWarningData++; |
| 1849 if (buildCounterInstancesScopedListWarningData < 3) { | 1994 if (buildCounterInstancesScopedListWarningData < 3) { |
| 1850 o.key = "foo"; | 1995 o.key = "foo"; |
| 1851 o.value = "foo"; | 1996 o.value = "foo"; |
| 1852 } | 1997 } |
| 1853 buildCounterInstancesScopedListWarningData--; | 1998 buildCounterInstancesScopedListWarningData--; |
| 1854 return o; | 1999 return o; |
| 1855 } | 2000 } |
| 1856 | 2001 |
| 1857 checkInstancesScopedListWarningData(api.InstancesScopedListWarningData o) { | 2002 checkInstancesScopedListWarningData(api.InstancesScopedListWarningData o) { |
| 1858 buildCounterInstancesScopedListWarningData++; | 2003 buildCounterInstancesScopedListWarningData++; |
| 1859 if (buildCounterInstancesScopedListWarningData < 3) { | 2004 if (buildCounterInstancesScopedListWarningData < 3) { |
| 1860 unittest.expect(o.key, unittest.equals('foo')); | 2005 unittest.expect(o.key, unittest.equals('foo')); |
| 1861 unittest.expect(o.value, unittest.equals('foo')); | 2006 unittest.expect(o.value, unittest.equals('foo')); |
| 1862 } | 2007 } |
| 1863 buildCounterInstancesScopedListWarningData--; | 2008 buildCounterInstancesScopedListWarningData--; |
| 1864 } | 2009 } |
| 1865 | 2010 |
| 1866 buildUnnamed887() { | 2011 buildUnnamed865() { |
| 1867 var o = new core.List<api.InstancesScopedListWarningData>(); | 2012 var o = new core.List<api.InstancesScopedListWarningData>(); |
| 1868 o.add(buildInstancesScopedListWarningData()); | 2013 o.add(buildInstancesScopedListWarningData()); |
| 1869 o.add(buildInstancesScopedListWarningData()); | 2014 o.add(buildInstancesScopedListWarningData()); |
| 1870 return o; | 2015 return o; |
| 1871 } | 2016 } |
| 1872 | 2017 |
| 1873 checkUnnamed887(core.List<api.InstancesScopedListWarningData> o) { | 2018 checkUnnamed865(core.List<api.InstancesScopedListWarningData> o) { |
| 1874 unittest.expect(o, unittest.hasLength(2)); | 2019 unittest.expect(o, unittest.hasLength(2)); |
| 1875 checkInstancesScopedListWarningData(o[0]); | 2020 checkInstancesScopedListWarningData(o[0]); |
| 1876 checkInstancesScopedListWarningData(o[1]); | 2021 checkInstancesScopedListWarningData(o[1]); |
| 1877 } | 2022 } |
| 1878 | 2023 |
| 1879 core.int buildCounterInstancesScopedListWarning = 0; | 2024 core.int buildCounterInstancesScopedListWarning = 0; |
| 1880 buildInstancesScopedListWarning() { | 2025 buildInstancesScopedListWarning() { |
| 1881 var o = new api.InstancesScopedListWarning(); | 2026 var o = new api.InstancesScopedListWarning(); |
| 1882 buildCounterInstancesScopedListWarning++; | 2027 buildCounterInstancesScopedListWarning++; |
| 1883 if (buildCounterInstancesScopedListWarning < 3) { | 2028 if (buildCounterInstancesScopedListWarning < 3) { |
| 1884 o.code = "foo"; | 2029 o.code = "foo"; |
| 1885 o.data = buildUnnamed887(); | 2030 o.data = buildUnnamed865(); |
| 1886 o.message = "foo"; | 2031 o.message = "foo"; |
| 1887 } | 2032 } |
| 1888 buildCounterInstancesScopedListWarning--; | 2033 buildCounterInstancesScopedListWarning--; |
| 1889 return o; | 2034 return o; |
| 1890 } | 2035 } |
| 1891 | 2036 |
| 1892 checkInstancesScopedListWarning(api.InstancesScopedListWarning o) { | 2037 checkInstancesScopedListWarning(api.InstancesScopedListWarning o) { |
| 1893 buildCounterInstancesScopedListWarning++; | 2038 buildCounterInstancesScopedListWarning++; |
| 1894 if (buildCounterInstancesScopedListWarning < 3) { | 2039 if (buildCounterInstancesScopedListWarning < 3) { |
| 1895 unittest.expect(o.code, unittest.equals('foo')); | 2040 unittest.expect(o.code, unittest.equals('foo')); |
| 1896 checkUnnamed887(o.data); | 2041 checkUnnamed865(o.data); |
| 1897 unittest.expect(o.message, unittest.equals('foo')); | 2042 unittest.expect(o.message, unittest.equals('foo')); |
| 1898 } | 2043 } |
| 1899 buildCounterInstancesScopedListWarning--; | 2044 buildCounterInstancesScopedListWarning--; |
| 1900 } | 2045 } |
| 1901 | 2046 |
| 1902 core.int buildCounterInstancesScopedList = 0; | 2047 core.int buildCounterInstancesScopedList = 0; |
| 1903 buildInstancesScopedList() { | 2048 buildInstancesScopedList() { |
| 1904 var o = new api.InstancesScopedList(); | 2049 var o = new api.InstancesScopedList(); |
| 1905 buildCounterInstancesScopedList++; | 2050 buildCounterInstancesScopedList++; |
| 1906 if (buildCounterInstancesScopedList < 3) { | 2051 if (buildCounterInstancesScopedList < 3) { |
| 1907 o.instances = buildUnnamed886(); | 2052 o.instances = buildUnnamed864(); |
| 1908 o.warning = buildInstancesScopedListWarning(); | 2053 o.warning = buildInstancesScopedListWarning(); |
| 1909 } | 2054 } |
| 1910 buildCounterInstancesScopedList--; | 2055 buildCounterInstancesScopedList--; |
| 1911 return o; | 2056 return o; |
| 1912 } | 2057 } |
| 1913 | 2058 |
| 1914 checkInstancesScopedList(api.InstancesScopedList o) { | 2059 checkInstancesScopedList(api.InstancesScopedList o) { |
| 1915 buildCounterInstancesScopedList++; | 2060 buildCounterInstancesScopedList++; |
| 1916 if (buildCounterInstancesScopedList < 3) { | 2061 if (buildCounterInstancesScopedList < 3) { |
| 1917 checkUnnamed886(o.instances); | 2062 checkUnnamed864(o.instances); |
| 1918 checkInstancesScopedListWarning(o.warning); | 2063 checkInstancesScopedListWarning(o.warning); |
| 1919 } | 2064 } |
| 1920 buildCounterInstancesScopedList--; | 2065 buildCounterInstancesScopedList--; |
| 1921 } | 2066 } |
| 1922 | 2067 |
| 1923 core.int buildCounterLicense = 0; | 2068 core.int buildCounterLicense = 0; |
| 1924 buildLicense() { | 2069 buildLicense() { |
| 1925 var o = new api.License(); | 2070 var o = new api.License(); |
| 1926 buildCounterLicense++; | 2071 buildCounterLicense++; |
| 1927 if (buildCounterLicense < 3) { | 2072 if (buildCounterLicense < 3) { |
| (...skipping 29 matching lines...) Expand all Loading... |
| 1957 } | 2102 } |
| 1958 | 2103 |
| 1959 checkMachineTypeScratchDisks(api.MachineTypeScratchDisks o) { | 2104 checkMachineTypeScratchDisks(api.MachineTypeScratchDisks o) { |
| 1960 buildCounterMachineTypeScratchDisks++; | 2105 buildCounterMachineTypeScratchDisks++; |
| 1961 if (buildCounterMachineTypeScratchDisks < 3) { | 2106 if (buildCounterMachineTypeScratchDisks < 3) { |
| 1962 unittest.expect(o.diskGb, unittest.equals(42)); | 2107 unittest.expect(o.diskGb, unittest.equals(42)); |
| 1963 } | 2108 } |
| 1964 buildCounterMachineTypeScratchDisks--; | 2109 buildCounterMachineTypeScratchDisks--; |
| 1965 } | 2110 } |
| 1966 | 2111 |
| 1967 buildUnnamed888() { | 2112 buildUnnamed866() { |
| 1968 var o = new core.List<api.MachineTypeScratchDisks>(); | 2113 var o = new core.List<api.MachineTypeScratchDisks>(); |
| 1969 o.add(buildMachineTypeScratchDisks()); | 2114 o.add(buildMachineTypeScratchDisks()); |
| 1970 o.add(buildMachineTypeScratchDisks()); | 2115 o.add(buildMachineTypeScratchDisks()); |
| 1971 return o; | 2116 return o; |
| 1972 } | 2117 } |
| 1973 | 2118 |
| 1974 checkUnnamed888(core.List<api.MachineTypeScratchDisks> o) { | 2119 checkUnnamed866(core.List<api.MachineTypeScratchDisks> o) { |
| 1975 unittest.expect(o, unittest.hasLength(2)); | 2120 unittest.expect(o, unittest.hasLength(2)); |
| 1976 checkMachineTypeScratchDisks(o[0]); | 2121 checkMachineTypeScratchDisks(o[0]); |
| 1977 checkMachineTypeScratchDisks(o[1]); | 2122 checkMachineTypeScratchDisks(o[1]); |
| 1978 } | 2123 } |
| 1979 | 2124 |
| 1980 core.int buildCounterMachineType = 0; | 2125 core.int buildCounterMachineType = 0; |
| 1981 buildMachineType() { | 2126 buildMachineType() { |
| 1982 var o = new api.MachineType(); | 2127 var o = new api.MachineType(); |
| 1983 buildCounterMachineType++; | 2128 buildCounterMachineType++; |
| 1984 if (buildCounterMachineType < 3) { | 2129 if (buildCounterMachineType < 3) { |
| 1985 o.creationTimestamp = "foo"; | 2130 o.creationTimestamp = "foo"; |
| 1986 o.deprecated = buildDeprecationStatus(); | 2131 o.deprecated = buildDeprecationStatus(); |
| 1987 o.description = "foo"; | 2132 o.description = "foo"; |
| 1988 o.guestCpus = 42; | 2133 o.guestCpus = 42; |
| 1989 o.id = "foo"; | 2134 o.id = "foo"; |
| 1990 o.imageSpaceGb = 42; | 2135 o.imageSpaceGb = 42; |
| 1991 o.kind = "foo"; | 2136 o.kind = "foo"; |
| 1992 o.maximumPersistentDisks = 42; | 2137 o.maximumPersistentDisks = 42; |
| 1993 o.maximumPersistentDisksSizeGb = "foo"; | 2138 o.maximumPersistentDisksSizeGb = "foo"; |
| 1994 o.memoryMb = 42; | 2139 o.memoryMb = 42; |
| 1995 o.name = "foo"; | 2140 o.name = "foo"; |
| 1996 o.scratchDisks = buildUnnamed888(); | 2141 o.scratchDisks = buildUnnamed866(); |
| 1997 o.selfLink = "foo"; | 2142 o.selfLink = "foo"; |
| 1998 o.zone = "foo"; | 2143 o.zone = "foo"; |
| 1999 } | 2144 } |
| 2000 buildCounterMachineType--; | 2145 buildCounterMachineType--; |
| 2001 return o; | 2146 return o; |
| 2002 } | 2147 } |
| 2003 | 2148 |
| 2004 checkMachineType(api.MachineType o) { | 2149 checkMachineType(api.MachineType o) { |
| 2005 buildCounterMachineType++; | 2150 buildCounterMachineType++; |
| 2006 if (buildCounterMachineType < 3) { | 2151 if (buildCounterMachineType < 3) { |
| 2007 unittest.expect(o.creationTimestamp, unittest.equals('foo')); | 2152 unittest.expect(o.creationTimestamp, unittest.equals('foo')); |
| 2008 checkDeprecationStatus(o.deprecated); | 2153 checkDeprecationStatus(o.deprecated); |
| 2009 unittest.expect(o.description, unittest.equals('foo')); | 2154 unittest.expect(o.description, unittest.equals('foo')); |
| 2010 unittest.expect(o.guestCpus, unittest.equals(42)); | 2155 unittest.expect(o.guestCpus, unittest.equals(42)); |
| 2011 unittest.expect(o.id, unittest.equals('foo')); | 2156 unittest.expect(o.id, unittest.equals('foo')); |
| 2012 unittest.expect(o.imageSpaceGb, unittest.equals(42)); | 2157 unittest.expect(o.imageSpaceGb, unittest.equals(42)); |
| 2013 unittest.expect(o.kind, unittest.equals('foo')); | 2158 unittest.expect(o.kind, unittest.equals('foo')); |
| 2014 unittest.expect(o.maximumPersistentDisks, unittest.equals(42)); | 2159 unittest.expect(o.maximumPersistentDisks, unittest.equals(42)); |
| 2015 unittest.expect(o.maximumPersistentDisksSizeGb, unittest.equals('foo')); | 2160 unittest.expect(o.maximumPersistentDisksSizeGb, unittest.equals('foo')); |
| 2016 unittest.expect(o.memoryMb, unittest.equals(42)); | 2161 unittest.expect(o.memoryMb, unittest.equals(42)); |
| 2017 unittest.expect(o.name, unittest.equals('foo')); | 2162 unittest.expect(o.name, unittest.equals('foo')); |
| 2018 checkUnnamed888(o.scratchDisks); | 2163 checkUnnamed866(o.scratchDisks); |
| 2019 unittest.expect(o.selfLink, unittest.equals('foo')); | 2164 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 2020 unittest.expect(o.zone, unittest.equals('foo')); | 2165 unittest.expect(o.zone, unittest.equals('foo')); |
| 2021 } | 2166 } |
| 2022 buildCounterMachineType--; | 2167 buildCounterMachineType--; |
| 2023 } | 2168 } |
| 2024 | 2169 |
| 2025 buildUnnamed889() { | 2170 buildUnnamed867() { |
| 2026 var o = new core.Map<core.String, api.MachineTypesScopedList>(); | 2171 var o = new core.Map<core.String, api.MachineTypesScopedList>(); |
| 2027 o["x"] = buildMachineTypesScopedList(); | 2172 o["x"] = buildMachineTypesScopedList(); |
| 2028 o["y"] = buildMachineTypesScopedList(); | 2173 o["y"] = buildMachineTypesScopedList(); |
| 2029 return o; | 2174 return o; |
| 2030 } | 2175 } |
| 2031 | 2176 |
| 2032 checkUnnamed889(core.Map<core.String, api.MachineTypesScopedList> o) { | 2177 checkUnnamed867(core.Map<core.String, api.MachineTypesScopedList> o) { |
| 2033 unittest.expect(o, unittest.hasLength(2)); | 2178 unittest.expect(o, unittest.hasLength(2)); |
| 2034 checkMachineTypesScopedList(o["x"]); | 2179 checkMachineTypesScopedList(o["x"]); |
| 2035 checkMachineTypesScopedList(o["y"]); | 2180 checkMachineTypesScopedList(o["y"]); |
| 2036 } | 2181 } |
| 2037 | 2182 |
| 2038 core.int buildCounterMachineTypeAggregatedList = 0; | 2183 core.int buildCounterMachineTypeAggregatedList = 0; |
| 2039 buildMachineTypeAggregatedList() { | 2184 buildMachineTypeAggregatedList() { |
| 2040 var o = new api.MachineTypeAggregatedList(); | 2185 var o = new api.MachineTypeAggregatedList(); |
| 2041 buildCounterMachineTypeAggregatedList++; | 2186 buildCounterMachineTypeAggregatedList++; |
| 2042 if (buildCounterMachineTypeAggregatedList < 3) { | 2187 if (buildCounterMachineTypeAggregatedList < 3) { |
| 2043 o.id = "foo"; | 2188 o.id = "foo"; |
| 2044 o.items = buildUnnamed889(); | 2189 o.items = buildUnnamed867(); |
| 2045 o.kind = "foo"; | 2190 o.kind = "foo"; |
| 2046 o.nextPageToken = "foo"; | 2191 o.nextPageToken = "foo"; |
| 2047 o.selfLink = "foo"; | 2192 o.selfLink = "foo"; |
| 2048 } | 2193 } |
| 2049 buildCounterMachineTypeAggregatedList--; | 2194 buildCounterMachineTypeAggregatedList--; |
| 2050 return o; | 2195 return o; |
| 2051 } | 2196 } |
| 2052 | 2197 |
| 2053 checkMachineTypeAggregatedList(api.MachineTypeAggregatedList o) { | 2198 checkMachineTypeAggregatedList(api.MachineTypeAggregatedList o) { |
| 2054 buildCounterMachineTypeAggregatedList++; | 2199 buildCounterMachineTypeAggregatedList++; |
| 2055 if (buildCounterMachineTypeAggregatedList < 3) { | 2200 if (buildCounterMachineTypeAggregatedList < 3) { |
| 2056 unittest.expect(o.id, unittest.equals('foo')); | 2201 unittest.expect(o.id, unittest.equals('foo')); |
| 2057 checkUnnamed889(o.items); | 2202 checkUnnamed867(o.items); |
| 2058 unittest.expect(o.kind, unittest.equals('foo')); | 2203 unittest.expect(o.kind, unittest.equals('foo')); |
| 2059 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 2204 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 2060 unittest.expect(o.selfLink, unittest.equals('foo')); | 2205 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 2061 } | 2206 } |
| 2062 buildCounterMachineTypeAggregatedList--; | 2207 buildCounterMachineTypeAggregatedList--; |
| 2063 } | 2208 } |
| 2064 | 2209 |
| 2065 buildUnnamed890() { | 2210 buildUnnamed868() { |
| 2066 var o = new core.List<api.MachineType>(); | 2211 var o = new core.List<api.MachineType>(); |
| 2067 o.add(buildMachineType()); | 2212 o.add(buildMachineType()); |
| 2068 o.add(buildMachineType()); | 2213 o.add(buildMachineType()); |
| 2069 return o; | 2214 return o; |
| 2070 } | 2215 } |
| 2071 | 2216 |
| 2072 checkUnnamed890(core.List<api.MachineType> o) { | 2217 checkUnnamed868(core.List<api.MachineType> o) { |
| 2073 unittest.expect(o, unittest.hasLength(2)); | 2218 unittest.expect(o, unittest.hasLength(2)); |
| 2074 checkMachineType(o[0]); | 2219 checkMachineType(o[0]); |
| 2075 checkMachineType(o[1]); | 2220 checkMachineType(o[1]); |
| 2076 } | 2221 } |
| 2077 | 2222 |
| 2078 core.int buildCounterMachineTypeList = 0; | 2223 core.int buildCounterMachineTypeList = 0; |
| 2079 buildMachineTypeList() { | 2224 buildMachineTypeList() { |
| 2080 var o = new api.MachineTypeList(); | 2225 var o = new api.MachineTypeList(); |
| 2081 buildCounterMachineTypeList++; | 2226 buildCounterMachineTypeList++; |
| 2082 if (buildCounterMachineTypeList < 3) { | 2227 if (buildCounterMachineTypeList < 3) { |
| 2083 o.id = "foo"; | 2228 o.id = "foo"; |
| 2084 o.items = buildUnnamed890(); | 2229 o.items = buildUnnamed868(); |
| 2085 o.kind = "foo"; | 2230 o.kind = "foo"; |
| 2086 o.nextPageToken = "foo"; | 2231 o.nextPageToken = "foo"; |
| 2087 o.selfLink = "foo"; | 2232 o.selfLink = "foo"; |
| 2088 } | 2233 } |
| 2089 buildCounterMachineTypeList--; | 2234 buildCounterMachineTypeList--; |
| 2090 return o; | 2235 return o; |
| 2091 } | 2236 } |
| 2092 | 2237 |
| 2093 checkMachineTypeList(api.MachineTypeList o) { | 2238 checkMachineTypeList(api.MachineTypeList o) { |
| 2094 buildCounterMachineTypeList++; | 2239 buildCounterMachineTypeList++; |
| 2095 if (buildCounterMachineTypeList < 3) { | 2240 if (buildCounterMachineTypeList < 3) { |
| 2096 unittest.expect(o.id, unittest.equals('foo')); | 2241 unittest.expect(o.id, unittest.equals('foo')); |
| 2097 checkUnnamed890(o.items); | 2242 checkUnnamed868(o.items); |
| 2098 unittest.expect(o.kind, unittest.equals('foo')); | 2243 unittest.expect(o.kind, unittest.equals('foo')); |
| 2099 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 2244 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 2100 unittest.expect(o.selfLink, unittest.equals('foo')); | 2245 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 2101 } | 2246 } |
| 2102 buildCounterMachineTypeList--; | 2247 buildCounterMachineTypeList--; |
| 2103 } | 2248 } |
| 2104 | 2249 |
| 2105 buildUnnamed891() { | 2250 buildUnnamed869() { |
| 2106 var o = new core.List<api.MachineType>(); | 2251 var o = new core.List<api.MachineType>(); |
| 2107 o.add(buildMachineType()); | 2252 o.add(buildMachineType()); |
| 2108 o.add(buildMachineType()); | 2253 o.add(buildMachineType()); |
| 2109 return o; | 2254 return o; |
| 2110 } | 2255 } |
| 2111 | 2256 |
| 2112 checkUnnamed891(core.List<api.MachineType> o) { | 2257 checkUnnamed869(core.List<api.MachineType> o) { |
| 2113 unittest.expect(o, unittest.hasLength(2)); | 2258 unittest.expect(o, unittest.hasLength(2)); |
| 2114 checkMachineType(o[0]); | 2259 checkMachineType(o[0]); |
| 2115 checkMachineType(o[1]); | 2260 checkMachineType(o[1]); |
| 2116 } | 2261 } |
| 2117 | 2262 |
| 2118 core.int buildCounterMachineTypesScopedListWarningData = 0; | 2263 core.int buildCounterMachineTypesScopedListWarningData = 0; |
| 2119 buildMachineTypesScopedListWarningData() { | 2264 buildMachineTypesScopedListWarningData() { |
| 2120 var o = new api.MachineTypesScopedListWarningData(); | 2265 var o = new api.MachineTypesScopedListWarningData(); |
| 2121 buildCounterMachineTypesScopedListWarningData++; | 2266 buildCounterMachineTypesScopedListWarningData++; |
| 2122 if (buildCounterMachineTypesScopedListWarningData < 3) { | 2267 if (buildCounterMachineTypesScopedListWarningData < 3) { |
| 2123 o.key = "foo"; | 2268 o.key = "foo"; |
| 2124 o.value = "foo"; | 2269 o.value = "foo"; |
| 2125 } | 2270 } |
| 2126 buildCounterMachineTypesScopedListWarningData--; | 2271 buildCounterMachineTypesScopedListWarningData--; |
| 2127 return o; | 2272 return o; |
| 2128 } | 2273 } |
| 2129 | 2274 |
| 2130 checkMachineTypesScopedListWarningData(api.MachineTypesScopedListWarningData o)
{ | 2275 checkMachineTypesScopedListWarningData(api.MachineTypesScopedListWarningData o)
{ |
| 2131 buildCounterMachineTypesScopedListWarningData++; | 2276 buildCounterMachineTypesScopedListWarningData++; |
| 2132 if (buildCounterMachineTypesScopedListWarningData < 3) { | 2277 if (buildCounterMachineTypesScopedListWarningData < 3) { |
| 2133 unittest.expect(o.key, unittest.equals('foo')); | 2278 unittest.expect(o.key, unittest.equals('foo')); |
| 2134 unittest.expect(o.value, unittest.equals('foo')); | 2279 unittest.expect(o.value, unittest.equals('foo')); |
| 2135 } | 2280 } |
| 2136 buildCounterMachineTypesScopedListWarningData--; | 2281 buildCounterMachineTypesScopedListWarningData--; |
| 2137 } | 2282 } |
| 2138 | 2283 |
| 2139 buildUnnamed892() { | 2284 buildUnnamed870() { |
| 2140 var o = new core.List<api.MachineTypesScopedListWarningData>(); | 2285 var o = new core.List<api.MachineTypesScopedListWarningData>(); |
| 2141 o.add(buildMachineTypesScopedListWarningData()); | 2286 o.add(buildMachineTypesScopedListWarningData()); |
| 2142 o.add(buildMachineTypesScopedListWarningData()); | 2287 o.add(buildMachineTypesScopedListWarningData()); |
| 2143 return o; | 2288 return o; |
| 2144 } | 2289 } |
| 2145 | 2290 |
| 2146 checkUnnamed892(core.List<api.MachineTypesScopedListWarningData> o) { | 2291 checkUnnamed870(core.List<api.MachineTypesScopedListWarningData> o) { |
| 2147 unittest.expect(o, unittest.hasLength(2)); | 2292 unittest.expect(o, unittest.hasLength(2)); |
| 2148 checkMachineTypesScopedListWarningData(o[0]); | 2293 checkMachineTypesScopedListWarningData(o[0]); |
| 2149 checkMachineTypesScopedListWarningData(o[1]); | 2294 checkMachineTypesScopedListWarningData(o[1]); |
| 2150 } | 2295 } |
| 2151 | 2296 |
| 2152 core.int buildCounterMachineTypesScopedListWarning = 0; | 2297 core.int buildCounterMachineTypesScopedListWarning = 0; |
| 2153 buildMachineTypesScopedListWarning() { | 2298 buildMachineTypesScopedListWarning() { |
| 2154 var o = new api.MachineTypesScopedListWarning(); | 2299 var o = new api.MachineTypesScopedListWarning(); |
| 2155 buildCounterMachineTypesScopedListWarning++; | 2300 buildCounterMachineTypesScopedListWarning++; |
| 2156 if (buildCounterMachineTypesScopedListWarning < 3) { | 2301 if (buildCounterMachineTypesScopedListWarning < 3) { |
| 2157 o.code = "foo"; | 2302 o.code = "foo"; |
| 2158 o.data = buildUnnamed892(); | 2303 o.data = buildUnnamed870(); |
| 2159 o.message = "foo"; | 2304 o.message = "foo"; |
| 2160 } | 2305 } |
| 2161 buildCounterMachineTypesScopedListWarning--; | 2306 buildCounterMachineTypesScopedListWarning--; |
| 2162 return o; | 2307 return o; |
| 2163 } | 2308 } |
| 2164 | 2309 |
| 2165 checkMachineTypesScopedListWarning(api.MachineTypesScopedListWarning o) { | 2310 checkMachineTypesScopedListWarning(api.MachineTypesScopedListWarning o) { |
| 2166 buildCounterMachineTypesScopedListWarning++; | 2311 buildCounterMachineTypesScopedListWarning++; |
| 2167 if (buildCounterMachineTypesScopedListWarning < 3) { | 2312 if (buildCounterMachineTypesScopedListWarning < 3) { |
| 2168 unittest.expect(o.code, unittest.equals('foo')); | 2313 unittest.expect(o.code, unittest.equals('foo')); |
| 2169 checkUnnamed892(o.data); | 2314 checkUnnamed870(o.data); |
| 2170 unittest.expect(o.message, unittest.equals('foo')); | 2315 unittest.expect(o.message, unittest.equals('foo')); |
| 2171 } | 2316 } |
| 2172 buildCounterMachineTypesScopedListWarning--; | 2317 buildCounterMachineTypesScopedListWarning--; |
| 2173 } | 2318 } |
| 2174 | 2319 |
| 2175 core.int buildCounterMachineTypesScopedList = 0; | 2320 core.int buildCounterMachineTypesScopedList = 0; |
| 2176 buildMachineTypesScopedList() { | 2321 buildMachineTypesScopedList() { |
| 2177 var o = new api.MachineTypesScopedList(); | 2322 var o = new api.MachineTypesScopedList(); |
| 2178 buildCounterMachineTypesScopedList++; | 2323 buildCounterMachineTypesScopedList++; |
| 2179 if (buildCounterMachineTypesScopedList < 3) { | 2324 if (buildCounterMachineTypesScopedList < 3) { |
| 2180 o.machineTypes = buildUnnamed891(); | 2325 o.machineTypes = buildUnnamed869(); |
| 2181 o.warning = buildMachineTypesScopedListWarning(); | 2326 o.warning = buildMachineTypesScopedListWarning(); |
| 2182 } | 2327 } |
| 2183 buildCounterMachineTypesScopedList--; | 2328 buildCounterMachineTypesScopedList--; |
| 2184 return o; | 2329 return o; |
| 2185 } | 2330 } |
| 2186 | 2331 |
| 2187 checkMachineTypesScopedList(api.MachineTypesScopedList o) { | 2332 checkMachineTypesScopedList(api.MachineTypesScopedList o) { |
| 2188 buildCounterMachineTypesScopedList++; | 2333 buildCounterMachineTypesScopedList++; |
| 2189 if (buildCounterMachineTypesScopedList < 3) { | 2334 if (buildCounterMachineTypesScopedList < 3) { |
| 2190 checkUnnamed891(o.machineTypes); | 2335 checkUnnamed869(o.machineTypes); |
| 2191 checkMachineTypesScopedListWarning(o.warning); | 2336 checkMachineTypesScopedListWarning(o.warning); |
| 2192 } | 2337 } |
| 2193 buildCounterMachineTypesScopedList--; | 2338 buildCounterMachineTypesScopedList--; |
| 2194 } | 2339 } |
| 2195 | 2340 |
| 2196 core.int buildCounterMetadataItems = 0; | 2341 core.int buildCounterMetadataItems = 0; |
| 2197 buildMetadataItems() { | 2342 buildMetadataItems() { |
| 2198 var o = new api.MetadataItems(); | 2343 var o = new api.MetadataItems(); |
| 2199 buildCounterMetadataItems++; | 2344 buildCounterMetadataItems++; |
| 2200 if (buildCounterMetadataItems < 3) { | 2345 if (buildCounterMetadataItems < 3) { |
| 2201 o.key = "foo"; | 2346 o.key = "foo"; |
| 2202 o.value = "foo"; | 2347 o.value = "foo"; |
| 2203 } | 2348 } |
| 2204 buildCounterMetadataItems--; | 2349 buildCounterMetadataItems--; |
| 2205 return o; | 2350 return o; |
| 2206 } | 2351 } |
| 2207 | 2352 |
| 2208 checkMetadataItems(api.MetadataItems o) { | 2353 checkMetadataItems(api.MetadataItems o) { |
| 2209 buildCounterMetadataItems++; | 2354 buildCounterMetadataItems++; |
| 2210 if (buildCounterMetadataItems < 3) { | 2355 if (buildCounterMetadataItems < 3) { |
| 2211 unittest.expect(o.key, unittest.equals('foo')); | 2356 unittest.expect(o.key, unittest.equals('foo')); |
| 2212 unittest.expect(o.value, unittest.equals('foo')); | 2357 unittest.expect(o.value, unittest.equals('foo')); |
| 2213 } | 2358 } |
| 2214 buildCounterMetadataItems--; | 2359 buildCounterMetadataItems--; |
| 2215 } | 2360 } |
| 2216 | 2361 |
| 2217 buildUnnamed893() { | 2362 buildUnnamed871() { |
| 2218 var o = new core.List<api.MetadataItems>(); | 2363 var o = new core.List<api.MetadataItems>(); |
| 2219 o.add(buildMetadataItems()); | 2364 o.add(buildMetadataItems()); |
| 2220 o.add(buildMetadataItems()); | 2365 o.add(buildMetadataItems()); |
| 2221 return o; | 2366 return o; |
| 2222 } | 2367 } |
| 2223 | 2368 |
| 2224 checkUnnamed893(core.List<api.MetadataItems> o) { | 2369 checkUnnamed871(core.List<api.MetadataItems> o) { |
| 2225 unittest.expect(o, unittest.hasLength(2)); | 2370 unittest.expect(o, unittest.hasLength(2)); |
| 2226 checkMetadataItems(o[0]); | 2371 checkMetadataItems(o[0]); |
| 2227 checkMetadataItems(o[1]); | 2372 checkMetadataItems(o[1]); |
| 2228 } | 2373 } |
| 2229 | 2374 |
| 2230 core.int buildCounterMetadata = 0; | 2375 core.int buildCounterMetadata = 0; |
| 2231 buildMetadata() { | 2376 buildMetadata() { |
| 2232 var o = new api.Metadata(); | 2377 var o = new api.Metadata(); |
| 2233 buildCounterMetadata++; | 2378 buildCounterMetadata++; |
| 2234 if (buildCounterMetadata < 3) { | 2379 if (buildCounterMetadata < 3) { |
| 2235 o.fingerprint = "foo"; | 2380 o.fingerprint = "foo"; |
| 2236 o.items = buildUnnamed893(); | 2381 o.items = buildUnnamed871(); |
| 2237 o.kind = "foo"; | 2382 o.kind = "foo"; |
| 2238 } | 2383 } |
| 2239 buildCounterMetadata--; | 2384 buildCounterMetadata--; |
| 2240 return o; | 2385 return o; |
| 2241 } | 2386 } |
| 2242 | 2387 |
| 2243 checkMetadata(api.Metadata o) { | 2388 checkMetadata(api.Metadata o) { |
| 2244 buildCounterMetadata++; | 2389 buildCounterMetadata++; |
| 2245 if (buildCounterMetadata < 3) { | 2390 if (buildCounterMetadata < 3) { |
| 2246 unittest.expect(o.fingerprint, unittest.equals('foo')); | 2391 unittest.expect(o.fingerprint, unittest.equals('foo')); |
| 2247 checkUnnamed893(o.items); | 2392 checkUnnamed871(o.items); |
| 2248 unittest.expect(o.kind, unittest.equals('foo')); | 2393 unittest.expect(o.kind, unittest.equals('foo')); |
| 2249 } | 2394 } |
| 2250 buildCounterMetadata--; | 2395 buildCounterMetadata--; |
| 2251 } | 2396 } |
| 2252 | 2397 |
| 2253 core.int buildCounterNetwork = 0; | 2398 core.int buildCounterNetwork = 0; |
| 2254 buildNetwork() { | 2399 buildNetwork() { |
| 2255 var o = new api.Network(); | 2400 var o = new api.Network(); |
| 2256 buildCounterNetwork++; | 2401 buildCounterNetwork++; |
| 2257 if (buildCounterNetwork < 3) { | 2402 if (buildCounterNetwork < 3) { |
| (...skipping 18 matching lines...) Expand all Loading... |
| 2276 unittest.expect(o.description, unittest.equals('foo')); | 2421 unittest.expect(o.description, unittest.equals('foo')); |
| 2277 unittest.expect(o.gatewayIPv4, unittest.equals('foo')); | 2422 unittest.expect(o.gatewayIPv4, unittest.equals('foo')); |
| 2278 unittest.expect(o.id, unittest.equals('foo')); | 2423 unittest.expect(o.id, unittest.equals('foo')); |
| 2279 unittest.expect(o.kind, unittest.equals('foo')); | 2424 unittest.expect(o.kind, unittest.equals('foo')); |
| 2280 unittest.expect(o.name, unittest.equals('foo')); | 2425 unittest.expect(o.name, unittest.equals('foo')); |
| 2281 unittest.expect(o.selfLink, unittest.equals('foo')); | 2426 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 2282 } | 2427 } |
| 2283 buildCounterNetwork--; | 2428 buildCounterNetwork--; |
| 2284 } | 2429 } |
| 2285 | 2430 |
| 2286 buildUnnamed894() { | 2431 buildUnnamed872() { |
| 2287 var o = new core.List<api.AccessConfig>(); | 2432 var o = new core.List<api.AccessConfig>(); |
| 2288 o.add(buildAccessConfig()); | 2433 o.add(buildAccessConfig()); |
| 2289 o.add(buildAccessConfig()); | 2434 o.add(buildAccessConfig()); |
| 2290 return o; | 2435 return o; |
| 2291 } | 2436 } |
| 2292 | 2437 |
| 2293 checkUnnamed894(core.List<api.AccessConfig> o) { | 2438 checkUnnamed872(core.List<api.AccessConfig> o) { |
| 2294 unittest.expect(o, unittest.hasLength(2)); | 2439 unittest.expect(o, unittest.hasLength(2)); |
| 2295 checkAccessConfig(o[0]); | 2440 checkAccessConfig(o[0]); |
| 2296 checkAccessConfig(o[1]); | 2441 checkAccessConfig(o[1]); |
| 2297 } | 2442 } |
| 2298 | 2443 |
| 2299 core.int buildCounterNetworkInterface = 0; | 2444 core.int buildCounterNetworkInterface = 0; |
| 2300 buildNetworkInterface() { | 2445 buildNetworkInterface() { |
| 2301 var o = new api.NetworkInterface(); | 2446 var o = new api.NetworkInterface(); |
| 2302 buildCounterNetworkInterface++; | 2447 buildCounterNetworkInterface++; |
| 2303 if (buildCounterNetworkInterface < 3) { | 2448 if (buildCounterNetworkInterface < 3) { |
| 2304 o.accessConfigs = buildUnnamed894(); | 2449 o.accessConfigs = buildUnnamed872(); |
| 2305 o.name = "foo"; | 2450 o.name = "foo"; |
| 2306 o.network = "foo"; | 2451 o.network = "foo"; |
| 2307 o.networkIP = "foo"; | 2452 o.networkIP = "foo"; |
| 2308 } | 2453 } |
| 2309 buildCounterNetworkInterface--; | 2454 buildCounterNetworkInterface--; |
| 2310 return o; | 2455 return o; |
| 2311 } | 2456 } |
| 2312 | 2457 |
| 2313 checkNetworkInterface(api.NetworkInterface o) { | 2458 checkNetworkInterface(api.NetworkInterface o) { |
| 2314 buildCounterNetworkInterface++; | 2459 buildCounterNetworkInterface++; |
| 2315 if (buildCounterNetworkInterface < 3) { | 2460 if (buildCounterNetworkInterface < 3) { |
| 2316 checkUnnamed894(o.accessConfigs); | 2461 checkUnnamed872(o.accessConfigs); |
| 2317 unittest.expect(o.name, unittest.equals('foo')); | 2462 unittest.expect(o.name, unittest.equals('foo')); |
| 2318 unittest.expect(o.network, unittest.equals('foo')); | 2463 unittest.expect(o.network, unittest.equals('foo')); |
| 2319 unittest.expect(o.networkIP, unittest.equals('foo')); | 2464 unittest.expect(o.networkIP, unittest.equals('foo')); |
| 2320 } | 2465 } |
| 2321 buildCounterNetworkInterface--; | 2466 buildCounterNetworkInterface--; |
| 2322 } | 2467 } |
| 2323 | 2468 |
| 2324 buildUnnamed895() { | 2469 buildUnnamed873() { |
| 2325 var o = new core.List<api.Network>(); | 2470 var o = new core.List<api.Network>(); |
| 2326 o.add(buildNetwork()); | 2471 o.add(buildNetwork()); |
| 2327 o.add(buildNetwork()); | 2472 o.add(buildNetwork()); |
| 2328 return o; | 2473 return o; |
| 2329 } | 2474 } |
| 2330 | 2475 |
| 2331 checkUnnamed895(core.List<api.Network> o) { | 2476 checkUnnamed873(core.List<api.Network> o) { |
| 2332 unittest.expect(o, unittest.hasLength(2)); | 2477 unittest.expect(o, unittest.hasLength(2)); |
| 2333 checkNetwork(o[0]); | 2478 checkNetwork(o[0]); |
| 2334 checkNetwork(o[1]); | 2479 checkNetwork(o[1]); |
| 2335 } | 2480 } |
| 2336 | 2481 |
| 2337 core.int buildCounterNetworkList = 0; | 2482 core.int buildCounterNetworkList = 0; |
| 2338 buildNetworkList() { | 2483 buildNetworkList() { |
| 2339 var o = new api.NetworkList(); | 2484 var o = new api.NetworkList(); |
| 2340 buildCounterNetworkList++; | 2485 buildCounterNetworkList++; |
| 2341 if (buildCounterNetworkList < 3) { | 2486 if (buildCounterNetworkList < 3) { |
| 2342 o.id = "foo"; | 2487 o.id = "foo"; |
| 2343 o.items = buildUnnamed895(); | 2488 o.items = buildUnnamed873(); |
| 2344 o.kind = "foo"; | 2489 o.kind = "foo"; |
| 2345 o.nextPageToken = "foo"; | 2490 o.nextPageToken = "foo"; |
| 2346 o.selfLink = "foo"; | 2491 o.selfLink = "foo"; |
| 2347 } | 2492 } |
| 2348 buildCounterNetworkList--; | 2493 buildCounterNetworkList--; |
| 2349 return o; | 2494 return o; |
| 2350 } | 2495 } |
| 2351 | 2496 |
| 2352 checkNetworkList(api.NetworkList o) { | 2497 checkNetworkList(api.NetworkList o) { |
| 2353 buildCounterNetworkList++; | 2498 buildCounterNetworkList++; |
| 2354 if (buildCounterNetworkList < 3) { | 2499 if (buildCounterNetworkList < 3) { |
| 2355 unittest.expect(o.id, unittest.equals('foo')); | 2500 unittest.expect(o.id, unittest.equals('foo')); |
| 2356 checkUnnamed895(o.items); | 2501 checkUnnamed873(o.items); |
| 2357 unittest.expect(o.kind, unittest.equals('foo')); | 2502 unittest.expect(o.kind, unittest.equals('foo')); |
| 2358 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 2503 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 2359 unittest.expect(o.selfLink, unittest.equals('foo')); | 2504 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 2360 } | 2505 } |
| 2361 buildCounterNetworkList--; | 2506 buildCounterNetworkList--; |
| 2362 } | 2507 } |
| 2363 | 2508 |
| 2364 core.int buildCounterOperationErrorErrors = 0; | 2509 core.int buildCounterOperationErrorErrors = 0; |
| 2365 buildOperationErrorErrors() { | 2510 buildOperationErrorErrors() { |
| 2366 var o = new api.OperationErrorErrors(); | 2511 var o = new api.OperationErrorErrors(); |
| (...skipping 10 matching lines...) Expand all Loading... |
| 2377 checkOperationErrorErrors(api.OperationErrorErrors o) { | 2522 checkOperationErrorErrors(api.OperationErrorErrors o) { |
| 2378 buildCounterOperationErrorErrors++; | 2523 buildCounterOperationErrorErrors++; |
| 2379 if (buildCounterOperationErrorErrors < 3) { | 2524 if (buildCounterOperationErrorErrors < 3) { |
| 2380 unittest.expect(o.code, unittest.equals('foo')); | 2525 unittest.expect(o.code, unittest.equals('foo')); |
| 2381 unittest.expect(o.location, unittest.equals('foo')); | 2526 unittest.expect(o.location, unittest.equals('foo')); |
| 2382 unittest.expect(o.message, unittest.equals('foo')); | 2527 unittest.expect(o.message, unittest.equals('foo')); |
| 2383 } | 2528 } |
| 2384 buildCounterOperationErrorErrors--; | 2529 buildCounterOperationErrorErrors--; |
| 2385 } | 2530 } |
| 2386 | 2531 |
| 2387 buildUnnamed896() { | 2532 buildUnnamed874() { |
| 2388 var o = new core.List<api.OperationErrorErrors>(); | 2533 var o = new core.List<api.OperationErrorErrors>(); |
| 2389 o.add(buildOperationErrorErrors()); | 2534 o.add(buildOperationErrorErrors()); |
| 2390 o.add(buildOperationErrorErrors()); | 2535 o.add(buildOperationErrorErrors()); |
| 2391 return o; | 2536 return o; |
| 2392 } | 2537 } |
| 2393 | 2538 |
| 2394 checkUnnamed896(core.List<api.OperationErrorErrors> o) { | 2539 checkUnnamed874(core.List<api.OperationErrorErrors> o) { |
| 2395 unittest.expect(o, unittest.hasLength(2)); | 2540 unittest.expect(o, unittest.hasLength(2)); |
| 2396 checkOperationErrorErrors(o[0]); | 2541 checkOperationErrorErrors(o[0]); |
| 2397 checkOperationErrorErrors(o[1]); | 2542 checkOperationErrorErrors(o[1]); |
| 2398 } | 2543 } |
| 2399 | 2544 |
| 2400 core.int buildCounterOperationError = 0; | 2545 core.int buildCounterOperationError = 0; |
| 2401 buildOperationError() { | 2546 buildOperationError() { |
| 2402 var o = new api.OperationError(); | 2547 var o = new api.OperationError(); |
| 2403 buildCounterOperationError++; | 2548 buildCounterOperationError++; |
| 2404 if (buildCounterOperationError < 3) { | 2549 if (buildCounterOperationError < 3) { |
| 2405 o.errors = buildUnnamed896(); | 2550 o.errors = buildUnnamed874(); |
| 2406 } | 2551 } |
| 2407 buildCounterOperationError--; | 2552 buildCounterOperationError--; |
| 2408 return o; | 2553 return o; |
| 2409 } | 2554 } |
| 2410 | 2555 |
| 2411 checkOperationError(api.OperationError o) { | 2556 checkOperationError(api.OperationError o) { |
| 2412 buildCounterOperationError++; | 2557 buildCounterOperationError++; |
| 2413 if (buildCounterOperationError < 3) { | 2558 if (buildCounterOperationError < 3) { |
| 2414 checkUnnamed896(o.errors); | 2559 checkUnnamed874(o.errors); |
| 2415 } | 2560 } |
| 2416 buildCounterOperationError--; | 2561 buildCounterOperationError--; |
| 2417 } | 2562 } |
| 2418 | 2563 |
| 2419 core.int buildCounterOperationWarningsData = 0; | 2564 core.int buildCounterOperationWarningsData = 0; |
| 2420 buildOperationWarningsData() { | 2565 buildOperationWarningsData() { |
| 2421 var o = new api.OperationWarningsData(); | 2566 var o = new api.OperationWarningsData(); |
| 2422 buildCounterOperationWarningsData++; | 2567 buildCounterOperationWarningsData++; |
| 2423 if (buildCounterOperationWarningsData < 3) { | 2568 if (buildCounterOperationWarningsData < 3) { |
| 2424 o.key = "foo"; | 2569 o.key = "foo"; |
| 2425 o.value = "foo"; | 2570 o.value = "foo"; |
| 2426 } | 2571 } |
| 2427 buildCounterOperationWarningsData--; | 2572 buildCounterOperationWarningsData--; |
| 2428 return o; | 2573 return o; |
| 2429 } | 2574 } |
| 2430 | 2575 |
| 2431 checkOperationWarningsData(api.OperationWarningsData o) { | 2576 checkOperationWarningsData(api.OperationWarningsData o) { |
| 2432 buildCounterOperationWarningsData++; | 2577 buildCounterOperationWarningsData++; |
| 2433 if (buildCounterOperationWarningsData < 3) { | 2578 if (buildCounterOperationWarningsData < 3) { |
| 2434 unittest.expect(o.key, unittest.equals('foo')); | 2579 unittest.expect(o.key, unittest.equals('foo')); |
| 2435 unittest.expect(o.value, unittest.equals('foo')); | 2580 unittest.expect(o.value, unittest.equals('foo')); |
| 2436 } | 2581 } |
| 2437 buildCounterOperationWarningsData--; | 2582 buildCounterOperationWarningsData--; |
| 2438 } | 2583 } |
| 2439 | 2584 |
| 2440 buildUnnamed897() { | 2585 buildUnnamed875() { |
| 2441 var o = new core.List<api.OperationWarningsData>(); | 2586 var o = new core.List<api.OperationWarningsData>(); |
| 2442 o.add(buildOperationWarningsData()); | 2587 o.add(buildOperationWarningsData()); |
| 2443 o.add(buildOperationWarningsData()); | 2588 o.add(buildOperationWarningsData()); |
| 2444 return o; | 2589 return o; |
| 2445 } | 2590 } |
| 2446 | 2591 |
| 2447 checkUnnamed897(core.List<api.OperationWarningsData> o) { | 2592 checkUnnamed875(core.List<api.OperationWarningsData> o) { |
| 2448 unittest.expect(o, unittest.hasLength(2)); | 2593 unittest.expect(o, unittest.hasLength(2)); |
| 2449 checkOperationWarningsData(o[0]); | 2594 checkOperationWarningsData(o[0]); |
| 2450 checkOperationWarningsData(o[1]); | 2595 checkOperationWarningsData(o[1]); |
| 2451 } | 2596 } |
| 2452 | 2597 |
| 2453 core.int buildCounterOperationWarnings = 0; | 2598 core.int buildCounterOperationWarnings = 0; |
| 2454 buildOperationWarnings() { | 2599 buildOperationWarnings() { |
| 2455 var o = new api.OperationWarnings(); | 2600 var o = new api.OperationWarnings(); |
| 2456 buildCounterOperationWarnings++; | 2601 buildCounterOperationWarnings++; |
| 2457 if (buildCounterOperationWarnings < 3) { | 2602 if (buildCounterOperationWarnings < 3) { |
| 2458 o.code = "foo"; | 2603 o.code = "foo"; |
| 2459 o.data = buildUnnamed897(); | 2604 o.data = buildUnnamed875(); |
| 2460 o.message = "foo"; | 2605 o.message = "foo"; |
| 2461 } | 2606 } |
| 2462 buildCounterOperationWarnings--; | 2607 buildCounterOperationWarnings--; |
| 2463 return o; | 2608 return o; |
| 2464 } | 2609 } |
| 2465 | 2610 |
| 2466 checkOperationWarnings(api.OperationWarnings o) { | 2611 checkOperationWarnings(api.OperationWarnings o) { |
| 2467 buildCounterOperationWarnings++; | 2612 buildCounterOperationWarnings++; |
| 2468 if (buildCounterOperationWarnings < 3) { | 2613 if (buildCounterOperationWarnings < 3) { |
| 2469 unittest.expect(o.code, unittest.equals('foo')); | 2614 unittest.expect(o.code, unittest.equals('foo')); |
| 2470 checkUnnamed897(o.data); | 2615 checkUnnamed875(o.data); |
| 2471 unittest.expect(o.message, unittest.equals('foo')); | 2616 unittest.expect(o.message, unittest.equals('foo')); |
| 2472 } | 2617 } |
| 2473 buildCounterOperationWarnings--; | 2618 buildCounterOperationWarnings--; |
| 2474 } | 2619 } |
| 2475 | 2620 |
| 2476 buildUnnamed898() { | 2621 buildUnnamed876() { |
| 2477 var o = new core.List<api.OperationWarnings>(); | 2622 var o = new core.List<api.OperationWarnings>(); |
| 2478 o.add(buildOperationWarnings()); | 2623 o.add(buildOperationWarnings()); |
| 2479 o.add(buildOperationWarnings()); | 2624 o.add(buildOperationWarnings()); |
| 2480 return o; | 2625 return o; |
| 2481 } | 2626 } |
| 2482 | 2627 |
| 2483 checkUnnamed898(core.List<api.OperationWarnings> o) { | 2628 checkUnnamed876(core.List<api.OperationWarnings> o) { |
| 2484 unittest.expect(o, unittest.hasLength(2)); | 2629 unittest.expect(o, unittest.hasLength(2)); |
| 2485 checkOperationWarnings(o[0]); | 2630 checkOperationWarnings(o[0]); |
| 2486 checkOperationWarnings(o[1]); | 2631 checkOperationWarnings(o[1]); |
| 2487 } | 2632 } |
| 2488 | 2633 |
| 2489 core.int buildCounterOperation = 0; | 2634 core.int buildCounterOperation = 0; |
| 2490 buildOperation() { | 2635 buildOperation() { |
| 2491 var o = new api.Operation(); | 2636 var o = new api.Operation(); |
| 2492 buildCounterOperation++; | 2637 buildCounterOperation++; |
| 2493 if (buildCounterOperation < 3) { | 2638 if (buildCounterOperation < 3) { |
| (...skipping 10 matching lines...) Expand all Loading... |
| 2504 o.operationType = "foo"; | 2649 o.operationType = "foo"; |
| 2505 o.progress = 42; | 2650 o.progress = 42; |
| 2506 o.region = "foo"; | 2651 o.region = "foo"; |
| 2507 o.selfLink = "foo"; | 2652 o.selfLink = "foo"; |
| 2508 o.startTime = "foo"; | 2653 o.startTime = "foo"; |
| 2509 o.status = "foo"; | 2654 o.status = "foo"; |
| 2510 o.statusMessage = "foo"; | 2655 o.statusMessage = "foo"; |
| 2511 o.targetId = "foo"; | 2656 o.targetId = "foo"; |
| 2512 o.targetLink = "foo"; | 2657 o.targetLink = "foo"; |
| 2513 o.user = "foo"; | 2658 o.user = "foo"; |
| 2514 o.warnings = buildUnnamed898(); | 2659 o.warnings = buildUnnamed876(); |
| 2515 o.zone = "foo"; | 2660 o.zone = "foo"; |
| 2516 } | 2661 } |
| 2517 buildCounterOperation--; | 2662 buildCounterOperation--; |
| 2518 return o; | 2663 return o; |
| 2519 } | 2664 } |
| 2520 | 2665 |
| 2521 checkOperation(api.Operation o) { | 2666 checkOperation(api.Operation o) { |
| 2522 buildCounterOperation++; | 2667 buildCounterOperation++; |
| 2523 if (buildCounterOperation < 3) { | 2668 if (buildCounterOperation < 3) { |
| 2524 unittest.expect(o.clientOperationId, unittest.equals('foo')); | 2669 unittest.expect(o.clientOperationId, unittest.equals('foo')); |
| 2525 unittest.expect(o.creationTimestamp, unittest.equals('foo')); | 2670 unittest.expect(o.creationTimestamp, unittest.equals('foo')); |
| 2526 unittest.expect(o.endTime, unittest.equals('foo')); | 2671 unittest.expect(o.endTime, unittest.equals('foo')); |
| 2527 checkOperationError(o.error); | 2672 checkOperationError(o.error); |
| 2528 unittest.expect(o.httpErrorMessage, unittest.equals('foo')); | 2673 unittest.expect(o.httpErrorMessage, unittest.equals('foo')); |
| 2529 unittest.expect(o.httpErrorStatusCode, unittest.equals(42)); | 2674 unittest.expect(o.httpErrorStatusCode, unittest.equals(42)); |
| 2530 unittest.expect(o.id, unittest.equals('foo')); | 2675 unittest.expect(o.id, unittest.equals('foo')); |
| 2531 unittest.expect(o.insertTime, unittest.equals('foo')); | 2676 unittest.expect(o.insertTime, unittest.equals('foo')); |
| 2532 unittest.expect(o.kind, unittest.equals('foo')); | 2677 unittest.expect(o.kind, unittest.equals('foo')); |
| 2533 unittest.expect(o.name, unittest.equals('foo')); | 2678 unittest.expect(o.name, unittest.equals('foo')); |
| 2534 unittest.expect(o.operationType, unittest.equals('foo')); | 2679 unittest.expect(o.operationType, unittest.equals('foo')); |
| 2535 unittest.expect(o.progress, unittest.equals(42)); | 2680 unittest.expect(o.progress, unittest.equals(42)); |
| 2536 unittest.expect(o.region, unittest.equals('foo')); | 2681 unittest.expect(o.region, unittest.equals('foo')); |
| 2537 unittest.expect(o.selfLink, unittest.equals('foo')); | 2682 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 2538 unittest.expect(o.startTime, unittest.equals('foo')); | 2683 unittest.expect(o.startTime, unittest.equals('foo')); |
| 2539 unittest.expect(o.status, unittest.equals('foo')); | 2684 unittest.expect(o.status, unittest.equals('foo')); |
| 2540 unittest.expect(o.statusMessage, unittest.equals('foo')); | 2685 unittest.expect(o.statusMessage, unittest.equals('foo')); |
| 2541 unittest.expect(o.targetId, unittest.equals('foo')); | 2686 unittest.expect(o.targetId, unittest.equals('foo')); |
| 2542 unittest.expect(o.targetLink, unittest.equals('foo')); | 2687 unittest.expect(o.targetLink, unittest.equals('foo')); |
| 2543 unittest.expect(o.user, unittest.equals('foo')); | 2688 unittest.expect(o.user, unittest.equals('foo')); |
| 2544 checkUnnamed898(o.warnings); | 2689 checkUnnamed876(o.warnings); |
| 2545 unittest.expect(o.zone, unittest.equals('foo')); | 2690 unittest.expect(o.zone, unittest.equals('foo')); |
| 2546 } | 2691 } |
| 2547 buildCounterOperation--; | 2692 buildCounterOperation--; |
| 2548 } | 2693 } |
| 2549 | 2694 |
| 2550 buildUnnamed899() { | 2695 buildUnnamed877() { |
| 2551 var o = new core.Map<core.String, api.OperationsScopedList>(); | 2696 var o = new core.Map<core.String, api.OperationsScopedList>(); |
| 2552 o["x"] = buildOperationsScopedList(); | 2697 o["x"] = buildOperationsScopedList(); |
| 2553 o["y"] = buildOperationsScopedList(); | 2698 o["y"] = buildOperationsScopedList(); |
| 2554 return o; | 2699 return o; |
| 2555 } | 2700 } |
| 2556 | 2701 |
| 2557 checkUnnamed899(core.Map<core.String, api.OperationsScopedList> o) { | 2702 checkUnnamed877(core.Map<core.String, api.OperationsScopedList> o) { |
| 2558 unittest.expect(o, unittest.hasLength(2)); | 2703 unittest.expect(o, unittest.hasLength(2)); |
| 2559 checkOperationsScopedList(o["x"]); | 2704 checkOperationsScopedList(o["x"]); |
| 2560 checkOperationsScopedList(o["y"]); | 2705 checkOperationsScopedList(o["y"]); |
| 2561 } | 2706 } |
| 2562 | 2707 |
| 2563 core.int buildCounterOperationAggregatedList = 0; | 2708 core.int buildCounterOperationAggregatedList = 0; |
| 2564 buildOperationAggregatedList() { | 2709 buildOperationAggregatedList() { |
| 2565 var o = new api.OperationAggregatedList(); | 2710 var o = new api.OperationAggregatedList(); |
| 2566 buildCounterOperationAggregatedList++; | 2711 buildCounterOperationAggregatedList++; |
| 2567 if (buildCounterOperationAggregatedList < 3) { | 2712 if (buildCounterOperationAggregatedList < 3) { |
| 2568 o.id = "foo"; | 2713 o.id = "foo"; |
| 2569 o.items = buildUnnamed899(); | 2714 o.items = buildUnnamed877(); |
| 2570 o.kind = "foo"; | 2715 o.kind = "foo"; |
| 2571 o.nextPageToken = "foo"; | 2716 o.nextPageToken = "foo"; |
| 2572 o.selfLink = "foo"; | 2717 o.selfLink = "foo"; |
| 2573 } | 2718 } |
| 2574 buildCounterOperationAggregatedList--; | 2719 buildCounterOperationAggregatedList--; |
| 2575 return o; | 2720 return o; |
| 2576 } | 2721 } |
| 2577 | 2722 |
| 2578 checkOperationAggregatedList(api.OperationAggregatedList o) { | 2723 checkOperationAggregatedList(api.OperationAggregatedList o) { |
| 2579 buildCounterOperationAggregatedList++; | 2724 buildCounterOperationAggregatedList++; |
| 2580 if (buildCounterOperationAggregatedList < 3) { | 2725 if (buildCounterOperationAggregatedList < 3) { |
| 2581 unittest.expect(o.id, unittest.equals('foo')); | 2726 unittest.expect(o.id, unittest.equals('foo')); |
| 2582 checkUnnamed899(o.items); | 2727 checkUnnamed877(o.items); |
| 2583 unittest.expect(o.kind, unittest.equals('foo')); | 2728 unittest.expect(o.kind, unittest.equals('foo')); |
| 2584 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 2729 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 2585 unittest.expect(o.selfLink, unittest.equals('foo')); | 2730 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 2586 } | 2731 } |
| 2587 buildCounterOperationAggregatedList--; | 2732 buildCounterOperationAggregatedList--; |
| 2588 } | 2733 } |
| 2589 | 2734 |
| 2590 buildUnnamed900() { | 2735 buildUnnamed878() { |
| 2591 var o = new core.List<api.Operation>(); | 2736 var o = new core.List<api.Operation>(); |
| 2592 o.add(buildOperation()); | 2737 o.add(buildOperation()); |
| 2593 o.add(buildOperation()); | 2738 o.add(buildOperation()); |
| 2594 return o; | 2739 return o; |
| 2595 } | 2740 } |
| 2596 | 2741 |
| 2597 checkUnnamed900(core.List<api.Operation> o) { | 2742 checkUnnamed878(core.List<api.Operation> o) { |
| 2598 unittest.expect(o, unittest.hasLength(2)); | 2743 unittest.expect(o, unittest.hasLength(2)); |
| 2599 checkOperation(o[0]); | 2744 checkOperation(o[0]); |
| 2600 checkOperation(o[1]); | 2745 checkOperation(o[1]); |
| 2601 } | 2746 } |
| 2602 | 2747 |
| 2603 core.int buildCounterOperationList = 0; | 2748 core.int buildCounterOperationList = 0; |
| 2604 buildOperationList() { | 2749 buildOperationList() { |
| 2605 var o = new api.OperationList(); | 2750 var o = new api.OperationList(); |
| 2606 buildCounterOperationList++; | 2751 buildCounterOperationList++; |
| 2607 if (buildCounterOperationList < 3) { | 2752 if (buildCounterOperationList < 3) { |
| 2608 o.id = "foo"; | 2753 o.id = "foo"; |
| 2609 o.items = buildUnnamed900(); | 2754 o.items = buildUnnamed878(); |
| 2610 o.kind = "foo"; | 2755 o.kind = "foo"; |
| 2611 o.nextPageToken = "foo"; | 2756 o.nextPageToken = "foo"; |
| 2612 o.selfLink = "foo"; | 2757 o.selfLink = "foo"; |
| 2613 } | 2758 } |
| 2614 buildCounterOperationList--; | 2759 buildCounterOperationList--; |
| 2615 return o; | 2760 return o; |
| 2616 } | 2761 } |
| 2617 | 2762 |
| 2618 checkOperationList(api.OperationList o) { | 2763 checkOperationList(api.OperationList o) { |
| 2619 buildCounterOperationList++; | 2764 buildCounterOperationList++; |
| 2620 if (buildCounterOperationList < 3) { | 2765 if (buildCounterOperationList < 3) { |
| 2621 unittest.expect(o.id, unittest.equals('foo')); | 2766 unittest.expect(o.id, unittest.equals('foo')); |
| 2622 checkUnnamed900(o.items); | 2767 checkUnnamed878(o.items); |
| 2623 unittest.expect(o.kind, unittest.equals('foo')); | 2768 unittest.expect(o.kind, unittest.equals('foo')); |
| 2624 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 2769 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 2625 unittest.expect(o.selfLink, unittest.equals('foo')); | 2770 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 2626 } | 2771 } |
| 2627 buildCounterOperationList--; | 2772 buildCounterOperationList--; |
| 2628 } | 2773 } |
| 2629 | 2774 |
| 2630 buildUnnamed901() { | 2775 buildUnnamed879() { |
| 2631 var o = new core.List<api.Operation>(); | 2776 var o = new core.List<api.Operation>(); |
| 2632 o.add(buildOperation()); | 2777 o.add(buildOperation()); |
| 2633 o.add(buildOperation()); | 2778 o.add(buildOperation()); |
| 2634 return o; | 2779 return o; |
| 2635 } | 2780 } |
| 2636 | 2781 |
| 2637 checkUnnamed901(core.List<api.Operation> o) { | 2782 checkUnnamed879(core.List<api.Operation> o) { |
| 2638 unittest.expect(o, unittest.hasLength(2)); | 2783 unittest.expect(o, unittest.hasLength(2)); |
| 2639 checkOperation(o[0]); | 2784 checkOperation(o[0]); |
| 2640 checkOperation(o[1]); | 2785 checkOperation(o[1]); |
| 2641 } | 2786 } |
| 2642 | 2787 |
| 2643 core.int buildCounterOperationsScopedListWarningData = 0; | 2788 core.int buildCounterOperationsScopedListWarningData = 0; |
| 2644 buildOperationsScopedListWarningData() { | 2789 buildOperationsScopedListWarningData() { |
| 2645 var o = new api.OperationsScopedListWarningData(); | 2790 var o = new api.OperationsScopedListWarningData(); |
| 2646 buildCounterOperationsScopedListWarningData++; | 2791 buildCounterOperationsScopedListWarningData++; |
| 2647 if (buildCounterOperationsScopedListWarningData < 3) { | 2792 if (buildCounterOperationsScopedListWarningData < 3) { |
| 2648 o.key = "foo"; | 2793 o.key = "foo"; |
| 2649 o.value = "foo"; | 2794 o.value = "foo"; |
| 2650 } | 2795 } |
| 2651 buildCounterOperationsScopedListWarningData--; | 2796 buildCounterOperationsScopedListWarningData--; |
| 2652 return o; | 2797 return o; |
| 2653 } | 2798 } |
| 2654 | 2799 |
| 2655 checkOperationsScopedListWarningData(api.OperationsScopedListWarningData o) { | 2800 checkOperationsScopedListWarningData(api.OperationsScopedListWarningData o) { |
| 2656 buildCounterOperationsScopedListWarningData++; | 2801 buildCounterOperationsScopedListWarningData++; |
| 2657 if (buildCounterOperationsScopedListWarningData < 3) { | 2802 if (buildCounterOperationsScopedListWarningData < 3) { |
| 2658 unittest.expect(o.key, unittest.equals('foo')); | 2803 unittest.expect(o.key, unittest.equals('foo')); |
| 2659 unittest.expect(o.value, unittest.equals('foo')); | 2804 unittest.expect(o.value, unittest.equals('foo')); |
| 2660 } | 2805 } |
| 2661 buildCounterOperationsScopedListWarningData--; | 2806 buildCounterOperationsScopedListWarningData--; |
| 2662 } | 2807 } |
| 2663 | 2808 |
| 2664 buildUnnamed902() { | 2809 buildUnnamed880() { |
| 2665 var o = new core.List<api.OperationsScopedListWarningData>(); | 2810 var o = new core.List<api.OperationsScopedListWarningData>(); |
| 2666 o.add(buildOperationsScopedListWarningData()); | 2811 o.add(buildOperationsScopedListWarningData()); |
| 2667 o.add(buildOperationsScopedListWarningData()); | 2812 o.add(buildOperationsScopedListWarningData()); |
| 2668 return o; | 2813 return o; |
| 2669 } | 2814 } |
| 2670 | 2815 |
| 2671 checkUnnamed902(core.List<api.OperationsScopedListWarningData> o) { | 2816 checkUnnamed880(core.List<api.OperationsScopedListWarningData> o) { |
| 2672 unittest.expect(o, unittest.hasLength(2)); | 2817 unittest.expect(o, unittest.hasLength(2)); |
| 2673 checkOperationsScopedListWarningData(o[0]); | 2818 checkOperationsScopedListWarningData(o[0]); |
| 2674 checkOperationsScopedListWarningData(o[1]); | 2819 checkOperationsScopedListWarningData(o[1]); |
| 2675 } | 2820 } |
| 2676 | 2821 |
| 2677 core.int buildCounterOperationsScopedListWarning = 0; | 2822 core.int buildCounterOperationsScopedListWarning = 0; |
| 2678 buildOperationsScopedListWarning() { | 2823 buildOperationsScopedListWarning() { |
| 2679 var o = new api.OperationsScopedListWarning(); | 2824 var o = new api.OperationsScopedListWarning(); |
| 2680 buildCounterOperationsScopedListWarning++; | 2825 buildCounterOperationsScopedListWarning++; |
| 2681 if (buildCounterOperationsScopedListWarning < 3) { | 2826 if (buildCounterOperationsScopedListWarning < 3) { |
| 2682 o.code = "foo"; | 2827 o.code = "foo"; |
| 2683 o.data = buildUnnamed902(); | 2828 o.data = buildUnnamed880(); |
| 2684 o.message = "foo"; | 2829 o.message = "foo"; |
| 2685 } | 2830 } |
| 2686 buildCounterOperationsScopedListWarning--; | 2831 buildCounterOperationsScopedListWarning--; |
| 2687 return o; | 2832 return o; |
| 2688 } | 2833 } |
| 2689 | 2834 |
| 2690 checkOperationsScopedListWarning(api.OperationsScopedListWarning o) { | 2835 checkOperationsScopedListWarning(api.OperationsScopedListWarning o) { |
| 2691 buildCounterOperationsScopedListWarning++; | 2836 buildCounterOperationsScopedListWarning++; |
| 2692 if (buildCounterOperationsScopedListWarning < 3) { | 2837 if (buildCounterOperationsScopedListWarning < 3) { |
| 2693 unittest.expect(o.code, unittest.equals('foo')); | 2838 unittest.expect(o.code, unittest.equals('foo')); |
| 2694 checkUnnamed902(o.data); | 2839 checkUnnamed880(o.data); |
| 2695 unittest.expect(o.message, unittest.equals('foo')); | 2840 unittest.expect(o.message, unittest.equals('foo')); |
| 2696 } | 2841 } |
| 2697 buildCounterOperationsScopedListWarning--; | 2842 buildCounterOperationsScopedListWarning--; |
| 2698 } | 2843 } |
| 2699 | 2844 |
| 2700 core.int buildCounterOperationsScopedList = 0; | 2845 core.int buildCounterOperationsScopedList = 0; |
| 2701 buildOperationsScopedList() { | 2846 buildOperationsScopedList() { |
| 2702 var o = new api.OperationsScopedList(); | 2847 var o = new api.OperationsScopedList(); |
| 2703 buildCounterOperationsScopedList++; | 2848 buildCounterOperationsScopedList++; |
| 2704 if (buildCounterOperationsScopedList < 3) { | 2849 if (buildCounterOperationsScopedList < 3) { |
| 2705 o.operations = buildUnnamed901(); | 2850 o.operations = buildUnnamed879(); |
| 2706 o.warning = buildOperationsScopedListWarning(); | 2851 o.warning = buildOperationsScopedListWarning(); |
| 2707 } | 2852 } |
| 2708 buildCounterOperationsScopedList--; | 2853 buildCounterOperationsScopedList--; |
| 2709 return o; | 2854 return o; |
| 2710 } | 2855 } |
| 2711 | 2856 |
| 2712 checkOperationsScopedList(api.OperationsScopedList o) { | 2857 checkOperationsScopedList(api.OperationsScopedList o) { |
| 2713 buildCounterOperationsScopedList++; | 2858 buildCounterOperationsScopedList++; |
| 2714 if (buildCounterOperationsScopedList < 3) { | 2859 if (buildCounterOperationsScopedList < 3) { |
| 2715 checkUnnamed901(o.operations); | 2860 checkUnnamed879(o.operations); |
| 2716 checkOperationsScopedListWarning(o.warning); | 2861 checkOperationsScopedListWarning(o.warning); |
| 2717 } | 2862 } |
| 2718 buildCounterOperationsScopedList--; | 2863 buildCounterOperationsScopedList--; |
| 2719 } | 2864 } |
| 2720 | 2865 |
| 2721 buildUnnamed903() { | 2866 buildUnnamed881() { |
| 2722 var o = new core.List<api.PathRule>(); | 2867 var o = new core.List<api.PathRule>(); |
| 2723 o.add(buildPathRule()); | 2868 o.add(buildPathRule()); |
| 2724 o.add(buildPathRule()); | 2869 o.add(buildPathRule()); |
| 2725 return o; | 2870 return o; |
| 2726 } | 2871 } |
| 2727 | 2872 |
| 2728 checkUnnamed903(core.List<api.PathRule> o) { | 2873 checkUnnamed881(core.List<api.PathRule> o) { |
| 2729 unittest.expect(o, unittest.hasLength(2)); | 2874 unittest.expect(o, unittest.hasLength(2)); |
| 2730 checkPathRule(o[0]); | 2875 checkPathRule(o[0]); |
| 2731 checkPathRule(o[1]); | 2876 checkPathRule(o[1]); |
| 2732 } | 2877 } |
| 2733 | 2878 |
| 2734 core.int buildCounterPathMatcher = 0; | 2879 core.int buildCounterPathMatcher = 0; |
| 2735 buildPathMatcher() { | 2880 buildPathMatcher() { |
| 2736 var o = new api.PathMatcher(); | 2881 var o = new api.PathMatcher(); |
| 2737 buildCounterPathMatcher++; | 2882 buildCounterPathMatcher++; |
| 2738 if (buildCounterPathMatcher < 3) { | 2883 if (buildCounterPathMatcher < 3) { |
| 2739 o.defaultService = "foo"; | 2884 o.defaultService = "foo"; |
| 2740 o.description = "foo"; | 2885 o.description = "foo"; |
| 2741 o.name = "foo"; | 2886 o.name = "foo"; |
| 2742 o.pathRules = buildUnnamed903(); | 2887 o.pathRules = buildUnnamed881(); |
| 2743 } | 2888 } |
| 2744 buildCounterPathMatcher--; | 2889 buildCounterPathMatcher--; |
| 2745 return o; | 2890 return o; |
| 2746 } | 2891 } |
| 2747 | 2892 |
| 2748 checkPathMatcher(api.PathMatcher o) { | 2893 checkPathMatcher(api.PathMatcher o) { |
| 2749 buildCounterPathMatcher++; | 2894 buildCounterPathMatcher++; |
| 2750 if (buildCounterPathMatcher < 3) { | 2895 if (buildCounterPathMatcher < 3) { |
| 2751 unittest.expect(o.defaultService, unittest.equals('foo')); | 2896 unittest.expect(o.defaultService, unittest.equals('foo')); |
| 2752 unittest.expect(o.description, unittest.equals('foo')); | 2897 unittest.expect(o.description, unittest.equals('foo')); |
| 2753 unittest.expect(o.name, unittest.equals('foo')); | 2898 unittest.expect(o.name, unittest.equals('foo')); |
| 2754 checkUnnamed903(o.pathRules); | 2899 checkUnnamed881(o.pathRules); |
| 2755 } | 2900 } |
| 2756 buildCounterPathMatcher--; | 2901 buildCounterPathMatcher--; |
| 2757 } | 2902 } |
| 2758 | 2903 |
| 2759 buildUnnamed904() { | 2904 buildUnnamed882() { |
| 2760 var o = new core.List<core.String>(); | 2905 var o = new core.List<core.String>(); |
| 2761 o.add("foo"); | 2906 o.add("foo"); |
| 2762 o.add("foo"); | 2907 o.add("foo"); |
| 2763 return o; | 2908 return o; |
| 2764 } | 2909 } |
| 2765 | 2910 |
| 2766 checkUnnamed904(core.List<core.String> o) { | 2911 checkUnnamed882(core.List<core.String> o) { |
| 2767 unittest.expect(o, unittest.hasLength(2)); | 2912 unittest.expect(o, unittest.hasLength(2)); |
| 2768 unittest.expect(o[0], unittest.equals('foo')); | 2913 unittest.expect(o[0], unittest.equals('foo')); |
| 2769 unittest.expect(o[1], unittest.equals('foo')); | 2914 unittest.expect(o[1], unittest.equals('foo')); |
| 2770 } | 2915 } |
| 2771 | 2916 |
| 2772 core.int buildCounterPathRule = 0; | 2917 core.int buildCounterPathRule = 0; |
| 2773 buildPathRule() { | 2918 buildPathRule() { |
| 2774 var o = new api.PathRule(); | 2919 var o = new api.PathRule(); |
| 2775 buildCounterPathRule++; | 2920 buildCounterPathRule++; |
| 2776 if (buildCounterPathRule < 3) { | 2921 if (buildCounterPathRule < 3) { |
| 2777 o.paths = buildUnnamed904(); | 2922 o.paths = buildUnnamed882(); |
| 2778 o.service = "foo"; | 2923 o.service = "foo"; |
| 2779 } | 2924 } |
| 2780 buildCounterPathRule--; | 2925 buildCounterPathRule--; |
| 2781 return o; | 2926 return o; |
| 2782 } | 2927 } |
| 2783 | 2928 |
| 2784 checkPathRule(api.PathRule o) { | 2929 checkPathRule(api.PathRule o) { |
| 2785 buildCounterPathRule++; | 2930 buildCounterPathRule++; |
| 2786 if (buildCounterPathRule < 3) { | 2931 if (buildCounterPathRule < 3) { |
| 2787 checkUnnamed904(o.paths); | 2932 checkUnnamed882(o.paths); |
| 2788 unittest.expect(o.service, unittest.equals('foo')); | 2933 unittest.expect(o.service, unittest.equals('foo')); |
| 2789 } | 2934 } |
| 2790 buildCounterPathRule--; | 2935 buildCounterPathRule--; |
| 2791 } | 2936 } |
| 2792 | 2937 |
| 2793 buildUnnamed905() { | 2938 buildUnnamed883() { |
| 2794 var o = new core.List<api.Quota>(); | 2939 var o = new core.List<api.Quota>(); |
| 2795 o.add(buildQuota()); | 2940 o.add(buildQuota()); |
| 2796 o.add(buildQuota()); | 2941 o.add(buildQuota()); |
| 2797 return o; | 2942 return o; |
| 2798 } | 2943 } |
| 2799 | 2944 |
| 2800 checkUnnamed905(core.List<api.Quota> o) { | 2945 checkUnnamed883(core.List<api.Quota> o) { |
| 2801 unittest.expect(o, unittest.hasLength(2)); | 2946 unittest.expect(o, unittest.hasLength(2)); |
| 2802 checkQuota(o[0]); | 2947 checkQuota(o[0]); |
| 2803 checkQuota(o[1]); | 2948 checkQuota(o[1]); |
| 2804 } | 2949 } |
| 2805 | 2950 |
| 2806 core.int buildCounterProject = 0; | 2951 core.int buildCounterProject = 0; |
| 2807 buildProject() { | 2952 buildProject() { |
| 2808 var o = new api.Project(); | 2953 var o = new api.Project(); |
| 2809 buildCounterProject++; | 2954 buildCounterProject++; |
| 2810 if (buildCounterProject < 3) { | 2955 if (buildCounterProject < 3) { |
| 2811 o.commonInstanceMetadata = buildMetadata(); | 2956 o.commonInstanceMetadata = buildMetadata(); |
| 2812 o.creationTimestamp = "foo"; | 2957 o.creationTimestamp = "foo"; |
| 2813 o.description = "foo"; | 2958 o.description = "foo"; |
| 2814 o.id = "foo"; | 2959 o.id = "foo"; |
| 2815 o.kind = "foo"; | 2960 o.kind = "foo"; |
| 2816 o.name = "foo"; | 2961 o.name = "foo"; |
| 2817 o.quotas = buildUnnamed905(); | 2962 o.quotas = buildUnnamed883(); |
| 2818 o.selfLink = "foo"; | 2963 o.selfLink = "foo"; |
| 2819 o.usageExportLocation = buildUsageExportLocation(); | 2964 o.usageExportLocation = buildUsageExportLocation(); |
| 2820 } | 2965 } |
| 2821 buildCounterProject--; | 2966 buildCounterProject--; |
| 2822 return o; | 2967 return o; |
| 2823 } | 2968 } |
| 2824 | 2969 |
| 2825 checkProject(api.Project o) { | 2970 checkProject(api.Project o) { |
| 2826 buildCounterProject++; | 2971 buildCounterProject++; |
| 2827 if (buildCounterProject < 3) { | 2972 if (buildCounterProject < 3) { |
| 2828 checkMetadata(o.commonInstanceMetadata); | 2973 checkMetadata(o.commonInstanceMetadata); |
| 2829 unittest.expect(o.creationTimestamp, unittest.equals('foo')); | 2974 unittest.expect(o.creationTimestamp, unittest.equals('foo')); |
| 2830 unittest.expect(o.description, unittest.equals('foo')); | 2975 unittest.expect(o.description, unittest.equals('foo')); |
| 2831 unittest.expect(o.id, unittest.equals('foo')); | 2976 unittest.expect(o.id, unittest.equals('foo')); |
| 2832 unittest.expect(o.kind, unittest.equals('foo')); | 2977 unittest.expect(o.kind, unittest.equals('foo')); |
| 2833 unittest.expect(o.name, unittest.equals('foo')); | 2978 unittest.expect(o.name, unittest.equals('foo')); |
| 2834 checkUnnamed905(o.quotas); | 2979 checkUnnamed883(o.quotas); |
| 2835 unittest.expect(o.selfLink, unittest.equals('foo')); | 2980 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 2836 checkUsageExportLocation(o.usageExportLocation); | 2981 checkUsageExportLocation(o.usageExportLocation); |
| 2837 } | 2982 } |
| 2838 buildCounterProject--; | 2983 buildCounterProject--; |
| 2839 } | 2984 } |
| 2840 | 2985 |
| 2841 core.int buildCounterQuota = 0; | 2986 core.int buildCounterQuota = 0; |
| 2842 buildQuota() { | 2987 buildQuota() { |
| 2843 var o = new api.Quota(); | 2988 var o = new api.Quota(); |
| 2844 buildCounterQuota++; | 2989 buildCounterQuota++; |
| 2845 if (buildCounterQuota < 3) { | 2990 if (buildCounterQuota < 3) { |
| 2846 o.limit = 42.0; | 2991 o.limit = 42.0; |
| 2847 o.metric = "foo"; | 2992 o.metric = "foo"; |
| 2848 o.usage = 42.0; | 2993 o.usage = 42.0; |
| 2849 } | 2994 } |
| 2850 buildCounterQuota--; | 2995 buildCounterQuota--; |
| 2851 return o; | 2996 return o; |
| 2852 } | 2997 } |
| 2853 | 2998 |
| 2854 checkQuota(api.Quota o) { | 2999 checkQuota(api.Quota o) { |
| 2855 buildCounterQuota++; | 3000 buildCounterQuota++; |
| 2856 if (buildCounterQuota < 3) { | 3001 if (buildCounterQuota < 3) { |
| 2857 unittest.expect(o.limit, unittest.equals(42.0)); | 3002 unittest.expect(o.limit, unittest.equals(42.0)); |
| 2858 unittest.expect(o.metric, unittest.equals('foo')); | 3003 unittest.expect(o.metric, unittest.equals('foo')); |
| 2859 unittest.expect(o.usage, unittest.equals(42.0)); | 3004 unittest.expect(o.usage, unittest.equals(42.0)); |
| 2860 } | 3005 } |
| 2861 buildCounterQuota--; | 3006 buildCounterQuota--; |
| 2862 } | 3007 } |
| 2863 | 3008 |
| 2864 buildUnnamed906() { | 3009 buildUnnamed884() { |
| 2865 var o = new core.List<api.Quota>(); | 3010 var o = new core.List<api.Quota>(); |
| 2866 o.add(buildQuota()); | 3011 o.add(buildQuota()); |
| 2867 o.add(buildQuota()); | 3012 o.add(buildQuota()); |
| 2868 return o; | 3013 return o; |
| 2869 } | 3014 } |
| 2870 | 3015 |
| 2871 checkUnnamed906(core.List<api.Quota> o) { | 3016 checkUnnamed884(core.List<api.Quota> o) { |
| 2872 unittest.expect(o, unittest.hasLength(2)); | 3017 unittest.expect(o, unittest.hasLength(2)); |
| 2873 checkQuota(o[0]); | 3018 checkQuota(o[0]); |
| 2874 checkQuota(o[1]); | 3019 checkQuota(o[1]); |
| 2875 } | 3020 } |
| 2876 | 3021 |
| 2877 buildUnnamed907() { | 3022 buildUnnamed885() { |
| 2878 var o = new core.List<core.String>(); | 3023 var o = new core.List<core.String>(); |
| 2879 o.add("foo"); | 3024 o.add("foo"); |
| 2880 o.add("foo"); | 3025 o.add("foo"); |
| 2881 return o; | 3026 return o; |
| 2882 } | 3027 } |
| 2883 | 3028 |
| 2884 checkUnnamed907(core.List<core.String> o) { | 3029 checkUnnamed885(core.List<core.String> o) { |
| 2885 unittest.expect(o, unittest.hasLength(2)); | 3030 unittest.expect(o, unittest.hasLength(2)); |
| 2886 unittest.expect(o[0], unittest.equals('foo')); | 3031 unittest.expect(o[0], unittest.equals('foo')); |
| 2887 unittest.expect(o[1], unittest.equals('foo')); | 3032 unittest.expect(o[1], unittest.equals('foo')); |
| 2888 } | 3033 } |
| 2889 | 3034 |
| 2890 core.int buildCounterRegion = 0; | 3035 core.int buildCounterRegion = 0; |
| 2891 buildRegion() { | 3036 buildRegion() { |
| 2892 var o = new api.Region(); | 3037 var o = new api.Region(); |
| 2893 buildCounterRegion++; | 3038 buildCounterRegion++; |
| 2894 if (buildCounterRegion < 3) { | 3039 if (buildCounterRegion < 3) { |
| 2895 o.creationTimestamp = "foo"; | 3040 o.creationTimestamp = "foo"; |
| 2896 o.deprecated = buildDeprecationStatus(); | 3041 o.deprecated = buildDeprecationStatus(); |
| 2897 o.description = "foo"; | 3042 o.description = "foo"; |
| 2898 o.id = "foo"; | 3043 o.id = "foo"; |
| 2899 o.kind = "foo"; | 3044 o.kind = "foo"; |
| 2900 o.name = "foo"; | 3045 o.name = "foo"; |
| 2901 o.quotas = buildUnnamed906(); | 3046 o.quotas = buildUnnamed884(); |
| 2902 o.selfLink = "foo"; | 3047 o.selfLink = "foo"; |
| 2903 o.status = "foo"; | 3048 o.status = "foo"; |
| 2904 o.zones = buildUnnamed907(); | 3049 o.zones = buildUnnamed885(); |
| 2905 } | 3050 } |
| 2906 buildCounterRegion--; | 3051 buildCounterRegion--; |
| 2907 return o; | 3052 return o; |
| 2908 } | 3053 } |
| 2909 | 3054 |
| 2910 checkRegion(api.Region o) { | 3055 checkRegion(api.Region o) { |
| 2911 buildCounterRegion++; | 3056 buildCounterRegion++; |
| 2912 if (buildCounterRegion < 3) { | 3057 if (buildCounterRegion < 3) { |
| 2913 unittest.expect(o.creationTimestamp, unittest.equals('foo')); | 3058 unittest.expect(o.creationTimestamp, unittest.equals('foo')); |
| 2914 checkDeprecationStatus(o.deprecated); | 3059 checkDeprecationStatus(o.deprecated); |
| 2915 unittest.expect(o.description, unittest.equals('foo')); | 3060 unittest.expect(o.description, unittest.equals('foo')); |
| 2916 unittest.expect(o.id, unittest.equals('foo')); | 3061 unittest.expect(o.id, unittest.equals('foo')); |
| 2917 unittest.expect(o.kind, unittest.equals('foo')); | 3062 unittest.expect(o.kind, unittest.equals('foo')); |
| 2918 unittest.expect(o.name, unittest.equals('foo')); | 3063 unittest.expect(o.name, unittest.equals('foo')); |
| 2919 checkUnnamed906(o.quotas); | 3064 checkUnnamed884(o.quotas); |
| 2920 unittest.expect(o.selfLink, unittest.equals('foo')); | 3065 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 2921 unittest.expect(o.status, unittest.equals('foo')); | 3066 unittest.expect(o.status, unittest.equals('foo')); |
| 2922 checkUnnamed907(o.zones); | 3067 checkUnnamed885(o.zones); |
| 2923 } | 3068 } |
| 2924 buildCounterRegion--; | 3069 buildCounterRegion--; |
| 2925 } | 3070 } |
| 2926 | 3071 |
| 2927 buildUnnamed908() { | 3072 buildUnnamed886() { |
| 2928 var o = new core.List<api.Region>(); | 3073 var o = new core.List<api.Region>(); |
| 2929 o.add(buildRegion()); | 3074 o.add(buildRegion()); |
| 2930 o.add(buildRegion()); | 3075 o.add(buildRegion()); |
| 2931 return o; | 3076 return o; |
| 2932 } | 3077 } |
| 2933 | 3078 |
| 2934 checkUnnamed908(core.List<api.Region> o) { | 3079 checkUnnamed886(core.List<api.Region> o) { |
| 2935 unittest.expect(o, unittest.hasLength(2)); | 3080 unittest.expect(o, unittest.hasLength(2)); |
| 2936 checkRegion(o[0]); | 3081 checkRegion(o[0]); |
| 2937 checkRegion(o[1]); | 3082 checkRegion(o[1]); |
| 2938 } | 3083 } |
| 2939 | 3084 |
| 2940 core.int buildCounterRegionList = 0; | 3085 core.int buildCounterRegionList = 0; |
| 2941 buildRegionList() { | 3086 buildRegionList() { |
| 2942 var o = new api.RegionList(); | 3087 var o = new api.RegionList(); |
| 2943 buildCounterRegionList++; | 3088 buildCounterRegionList++; |
| 2944 if (buildCounterRegionList < 3) { | 3089 if (buildCounterRegionList < 3) { |
| 2945 o.id = "foo"; | 3090 o.id = "foo"; |
| 2946 o.items = buildUnnamed908(); | 3091 o.items = buildUnnamed886(); |
| 2947 o.kind = "foo"; | 3092 o.kind = "foo"; |
| 2948 o.nextPageToken = "foo"; | 3093 o.nextPageToken = "foo"; |
| 2949 o.selfLink = "foo"; | 3094 o.selfLink = "foo"; |
| 2950 } | 3095 } |
| 2951 buildCounterRegionList--; | 3096 buildCounterRegionList--; |
| 2952 return o; | 3097 return o; |
| 2953 } | 3098 } |
| 2954 | 3099 |
| 2955 checkRegionList(api.RegionList o) { | 3100 checkRegionList(api.RegionList o) { |
| 2956 buildCounterRegionList++; | 3101 buildCounterRegionList++; |
| 2957 if (buildCounterRegionList < 3) { | 3102 if (buildCounterRegionList < 3) { |
| 2958 unittest.expect(o.id, unittest.equals('foo')); | 3103 unittest.expect(o.id, unittest.equals('foo')); |
| 2959 checkUnnamed908(o.items); | 3104 checkUnnamed886(o.items); |
| 2960 unittest.expect(o.kind, unittest.equals('foo')); | 3105 unittest.expect(o.kind, unittest.equals('foo')); |
| 2961 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 3106 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 2962 unittest.expect(o.selfLink, unittest.equals('foo')); | 3107 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 2963 } | 3108 } |
| 2964 buildCounterRegionList--; | 3109 buildCounterRegionList--; |
| 2965 } | 3110 } |
| 2966 | 3111 |
| 2967 core.int buildCounterResourceGroupReference = 0; | 3112 core.int buildCounterResourceGroupReference = 0; |
| 2968 buildResourceGroupReference() { | 3113 buildResourceGroupReference() { |
| 2969 var o = new api.ResourceGroupReference(); | 3114 var o = new api.ResourceGroupReference(); |
| 2970 buildCounterResourceGroupReference++; | 3115 buildCounterResourceGroupReference++; |
| 2971 if (buildCounterResourceGroupReference < 3) { | 3116 if (buildCounterResourceGroupReference < 3) { |
| 2972 o.group = "foo"; | 3117 o.group = "foo"; |
| 2973 } | 3118 } |
| 2974 buildCounterResourceGroupReference--; | 3119 buildCounterResourceGroupReference--; |
| 2975 return o; | 3120 return o; |
| 2976 } | 3121 } |
| 2977 | 3122 |
| 2978 checkResourceGroupReference(api.ResourceGroupReference o) { | 3123 checkResourceGroupReference(api.ResourceGroupReference o) { |
| 2979 buildCounterResourceGroupReference++; | 3124 buildCounterResourceGroupReference++; |
| 2980 if (buildCounterResourceGroupReference < 3) { | 3125 if (buildCounterResourceGroupReference < 3) { |
| 2981 unittest.expect(o.group, unittest.equals('foo')); | 3126 unittest.expect(o.group, unittest.equals('foo')); |
| 2982 } | 3127 } |
| 2983 buildCounterResourceGroupReference--; | 3128 buildCounterResourceGroupReference--; |
| 2984 } | 3129 } |
| 2985 | 3130 |
| 2986 buildUnnamed909() { | 3131 buildUnnamed887() { |
| 2987 var o = new core.List<core.String>(); | 3132 var o = new core.List<core.String>(); |
| 2988 o.add("foo"); | 3133 o.add("foo"); |
| 2989 o.add("foo"); | 3134 o.add("foo"); |
| 2990 return o; | 3135 return o; |
| 2991 } | 3136 } |
| 2992 | 3137 |
| 2993 checkUnnamed909(core.List<core.String> o) { | 3138 checkUnnamed887(core.List<core.String> o) { |
| 2994 unittest.expect(o, unittest.hasLength(2)); | 3139 unittest.expect(o, unittest.hasLength(2)); |
| 2995 unittest.expect(o[0], unittest.equals('foo')); | 3140 unittest.expect(o[0], unittest.equals('foo')); |
| 2996 unittest.expect(o[1], unittest.equals('foo')); | 3141 unittest.expect(o[1], unittest.equals('foo')); |
| 2997 } | 3142 } |
| 2998 | 3143 |
| 2999 core.int buildCounterRouteWarningsData = 0; | 3144 core.int buildCounterRouteWarningsData = 0; |
| 3000 buildRouteWarningsData() { | 3145 buildRouteWarningsData() { |
| 3001 var o = new api.RouteWarningsData(); | 3146 var o = new api.RouteWarningsData(); |
| 3002 buildCounterRouteWarningsData++; | 3147 buildCounterRouteWarningsData++; |
| 3003 if (buildCounterRouteWarningsData < 3) { | 3148 if (buildCounterRouteWarningsData < 3) { |
| 3004 o.key = "foo"; | 3149 o.key = "foo"; |
| 3005 o.value = "foo"; | 3150 o.value = "foo"; |
| 3006 } | 3151 } |
| 3007 buildCounterRouteWarningsData--; | 3152 buildCounterRouteWarningsData--; |
| 3008 return o; | 3153 return o; |
| 3009 } | 3154 } |
| 3010 | 3155 |
| 3011 checkRouteWarningsData(api.RouteWarningsData o) { | 3156 checkRouteWarningsData(api.RouteWarningsData o) { |
| 3012 buildCounterRouteWarningsData++; | 3157 buildCounterRouteWarningsData++; |
| 3013 if (buildCounterRouteWarningsData < 3) { | 3158 if (buildCounterRouteWarningsData < 3) { |
| 3014 unittest.expect(o.key, unittest.equals('foo')); | 3159 unittest.expect(o.key, unittest.equals('foo')); |
| 3015 unittest.expect(o.value, unittest.equals('foo')); | 3160 unittest.expect(o.value, unittest.equals('foo')); |
| 3016 } | 3161 } |
| 3017 buildCounterRouteWarningsData--; | 3162 buildCounterRouteWarningsData--; |
| 3018 } | 3163 } |
| 3019 | 3164 |
| 3020 buildUnnamed910() { | 3165 buildUnnamed888() { |
| 3021 var o = new core.List<api.RouteWarningsData>(); | 3166 var o = new core.List<api.RouteWarningsData>(); |
| 3022 o.add(buildRouteWarningsData()); | 3167 o.add(buildRouteWarningsData()); |
| 3023 o.add(buildRouteWarningsData()); | 3168 o.add(buildRouteWarningsData()); |
| 3024 return o; | 3169 return o; |
| 3025 } | 3170 } |
| 3026 | 3171 |
| 3027 checkUnnamed910(core.List<api.RouteWarningsData> o) { | 3172 checkUnnamed888(core.List<api.RouteWarningsData> o) { |
| 3028 unittest.expect(o, unittest.hasLength(2)); | 3173 unittest.expect(o, unittest.hasLength(2)); |
| 3029 checkRouteWarningsData(o[0]); | 3174 checkRouteWarningsData(o[0]); |
| 3030 checkRouteWarningsData(o[1]); | 3175 checkRouteWarningsData(o[1]); |
| 3031 } | 3176 } |
| 3032 | 3177 |
| 3033 core.int buildCounterRouteWarnings = 0; | 3178 core.int buildCounterRouteWarnings = 0; |
| 3034 buildRouteWarnings() { | 3179 buildRouteWarnings() { |
| 3035 var o = new api.RouteWarnings(); | 3180 var o = new api.RouteWarnings(); |
| 3036 buildCounterRouteWarnings++; | 3181 buildCounterRouteWarnings++; |
| 3037 if (buildCounterRouteWarnings < 3) { | 3182 if (buildCounterRouteWarnings < 3) { |
| 3038 o.code = "foo"; | 3183 o.code = "foo"; |
| 3039 o.data = buildUnnamed910(); | 3184 o.data = buildUnnamed888(); |
| 3040 o.message = "foo"; | 3185 o.message = "foo"; |
| 3041 } | 3186 } |
| 3042 buildCounterRouteWarnings--; | 3187 buildCounterRouteWarnings--; |
| 3043 return o; | 3188 return o; |
| 3044 } | 3189 } |
| 3045 | 3190 |
| 3046 checkRouteWarnings(api.RouteWarnings o) { | 3191 checkRouteWarnings(api.RouteWarnings o) { |
| 3047 buildCounterRouteWarnings++; | 3192 buildCounterRouteWarnings++; |
| 3048 if (buildCounterRouteWarnings < 3) { | 3193 if (buildCounterRouteWarnings < 3) { |
| 3049 unittest.expect(o.code, unittest.equals('foo')); | 3194 unittest.expect(o.code, unittest.equals('foo')); |
| 3050 checkUnnamed910(o.data); | 3195 checkUnnamed888(o.data); |
| 3051 unittest.expect(o.message, unittest.equals('foo')); | 3196 unittest.expect(o.message, unittest.equals('foo')); |
| 3052 } | 3197 } |
| 3053 buildCounterRouteWarnings--; | 3198 buildCounterRouteWarnings--; |
| 3054 } | 3199 } |
| 3055 | 3200 |
| 3056 buildUnnamed911() { | 3201 buildUnnamed889() { |
| 3057 var o = new core.List<api.RouteWarnings>(); | 3202 var o = new core.List<api.RouteWarnings>(); |
| 3058 o.add(buildRouteWarnings()); | 3203 o.add(buildRouteWarnings()); |
| 3059 o.add(buildRouteWarnings()); | 3204 o.add(buildRouteWarnings()); |
| 3060 return o; | 3205 return o; |
| 3061 } | 3206 } |
| 3062 | 3207 |
| 3063 checkUnnamed911(core.List<api.RouteWarnings> o) { | 3208 checkUnnamed889(core.List<api.RouteWarnings> o) { |
| 3064 unittest.expect(o, unittest.hasLength(2)); | 3209 unittest.expect(o, unittest.hasLength(2)); |
| 3065 checkRouteWarnings(o[0]); | 3210 checkRouteWarnings(o[0]); |
| 3066 checkRouteWarnings(o[1]); | 3211 checkRouteWarnings(o[1]); |
| 3067 } | 3212 } |
| 3068 | 3213 |
| 3069 core.int buildCounterRoute = 0; | 3214 core.int buildCounterRoute = 0; |
| 3070 buildRoute() { | 3215 buildRoute() { |
| 3071 var o = new api.Route(); | 3216 var o = new api.Route(); |
| 3072 buildCounterRoute++; | 3217 buildCounterRoute++; |
| 3073 if (buildCounterRoute < 3) { | 3218 if (buildCounterRoute < 3) { |
| 3074 o.creationTimestamp = "foo"; | 3219 o.creationTimestamp = "foo"; |
| 3075 o.description = "foo"; | 3220 o.description = "foo"; |
| 3076 o.destRange = "foo"; | 3221 o.destRange = "foo"; |
| 3077 o.id = "foo"; | 3222 o.id = "foo"; |
| 3078 o.kind = "foo"; | 3223 o.kind = "foo"; |
| 3079 o.name = "foo"; | 3224 o.name = "foo"; |
| 3080 o.network = "foo"; | 3225 o.network = "foo"; |
| 3081 o.nextHopGateway = "foo"; | 3226 o.nextHopGateway = "foo"; |
| 3082 o.nextHopInstance = "foo"; | 3227 o.nextHopInstance = "foo"; |
| 3083 o.nextHopIp = "foo"; | 3228 o.nextHopIp = "foo"; |
| 3084 o.nextHopNetwork = "foo"; | 3229 o.nextHopNetwork = "foo"; |
| 3085 o.priority = 42; | 3230 o.priority = 42; |
| 3086 o.selfLink = "foo"; | 3231 o.selfLink = "foo"; |
| 3087 o.tags = buildUnnamed909(); | 3232 o.tags = buildUnnamed887(); |
| 3088 o.warnings = buildUnnamed911(); | 3233 o.warnings = buildUnnamed889(); |
| 3089 } | 3234 } |
| 3090 buildCounterRoute--; | 3235 buildCounterRoute--; |
| 3091 return o; | 3236 return o; |
| 3092 } | 3237 } |
| 3093 | 3238 |
| 3094 checkRoute(api.Route o) { | 3239 checkRoute(api.Route o) { |
| 3095 buildCounterRoute++; | 3240 buildCounterRoute++; |
| 3096 if (buildCounterRoute < 3) { | 3241 if (buildCounterRoute < 3) { |
| 3097 unittest.expect(o.creationTimestamp, unittest.equals('foo')); | 3242 unittest.expect(o.creationTimestamp, unittest.equals('foo')); |
| 3098 unittest.expect(o.description, unittest.equals('foo')); | 3243 unittest.expect(o.description, unittest.equals('foo')); |
| 3099 unittest.expect(o.destRange, unittest.equals('foo')); | 3244 unittest.expect(o.destRange, unittest.equals('foo')); |
| 3100 unittest.expect(o.id, unittest.equals('foo')); | 3245 unittest.expect(o.id, unittest.equals('foo')); |
| 3101 unittest.expect(o.kind, unittest.equals('foo')); | 3246 unittest.expect(o.kind, unittest.equals('foo')); |
| 3102 unittest.expect(o.name, unittest.equals('foo')); | 3247 unittest.expect(o.name, unittest.equals('foo')); |
| 3103 unittest.expect(o.network, unittest.equals('foo')); | 3248 unittest.expect(o.network, unittest.equals('foo')); |
| 3104 unittest.expect(o.nextHopGateway, unittest.equals('foo')); | 3249 unittest.expect(o.nextHopGateway, unittest.equals('foo')); |
| 3105 unittest.expect(o.nextHopInstance, unittest.equals('foo')); | 3250 unittest.expect(o.nextHopInstance, unittest.equals('foo')); |
| 3106 unittest.expect(o.nextHopIp, unittest.equals('foo')); | 3251 unittest.expect(o.nextHopIp, unittest.equals('foo')); |
| 3107 unittest.expect(o.nextHopNetwork, unittest.equals('foo')); | 3252 unittest.expect(o.nextHopNetwork, unittest.equals('foo')); |
| 3108 unittest.expect(o.priority, unittest.equals(42)); | 3253 unittest.expect(o.priority, unittest.equals(42)); |
| 3109 unittest.expect(o.selfLink, unittest.equals('foo')); | 3254 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 3110 checkUnnamed909(o.tags); | 3255 checkUnnamed887(o.tags); |
| 3111 checkUnnamed911(o.warnings); | 3256 checkUnnamed889(o.warnings); |
| 3112 } | 3257 } |
| 3113 buildCounterRoute--; | 3258 buildCounterRoute--; |
| 3114 } | 3259 } |
| 3115 | 3260 |
| 3116 buildUnnamed912() { | 3261 buildUnnamed890() { |
| 3117 var o = new core.List<api.Route>(); | 3262 var o = new core.List<api.Route>(); |
| 3118 o.add(buildRoute()); | 3263 o.add(buildRoute()); |
| 3119 o.add(buildRoute()); | 3264 o.add(buildRoute()); |
| 3120 return o; | 3265 return o; |
| 3121 } | 3266 } |
| 3122 | 3267 |
| 3123 checkUnnamed912(core.List<api.Route> o) { | 3268 checkUnnamed890(core.List<api.Route> o) { |
| 3124 unittest.expect(o, unittest.hasLength(2)); | 3269 unittest.expect(o, unittest.hasLength(2)); |
| 3125 checkRoute(o[0]); | 3270 checkRoute(o[0]); |
| 3126 checkRoute(o[1]); | 3271 checkRoute(o[1]); |
| 3127 } | 3272 } |
| 3128 | 3273 |
| 3129 core.int buildCounterRouteList = 0; | 3274 core.int buildCounterRouteList = 0; |
| 3130 buildRouteList() { | 3275 buildRouteList() { |
| 3131 var o = new api.RouteList(); | 3276 var o = new api.RouteList(); |
| 3132 buildCounterRouteList++; | 3277 buildCounterRouteList++; |
| 3133 if (buildCounterRouteList < 3) { | 3278 if (buildCounterRouteList < 3) { |
| 3134 o.id = "foo"; | 3279 o.id = "foo"; |
| 3135 o.items = buildUnnamed912(); | 3280 o.items = buildUnnamed890(); |
| 3136 o.kind = "foo"; | 3281 o.kind = "foo"; |
| 3137 o.nextPageToken = "foo"; | 3282 o.nextPageToken = "foo"; |
| 3138 o.selfLink = "foo"; | 3283 o.selfLink = "foo"; |
| 3139 } | 3284 } |
| 3140 buildCounterRouteList--; | 3285 buildCounterRouteList--; |
| 3141 return o; | 3286 return o; |
| 3142 } | 3287 } |
| 3143 | 3288 |
| 3144 checkRouteList(api.RouteList o) { | 3289 checkRouteList(api.RouteList o) { |
| 3145 buildCounterRouteList++; | 3290 buildCounterRouteList++; |
| 3146 if (buildCounterRouteList < 3) { | 3291 if (buildCounterRouteList < 3) { |
| 3147 unittest.expect(o.id, unittest.equals('foo')); | 3292 unittest.expect(o.id, unittest.equals('foo')); |
| 3148 checkUnnamed912(o.items); | 3293 checkUnnamed890(o.items); |
| 3149 unittest.expect(o.kind, unittest.equals('foo')); | 3294 unittest.expect(o.kind, unittest.equals('foo')); |
| 3150 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 3295 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 3151 unittest.expect(o.selfLink, unittest.equals('foo')); | 3296 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 3152 } | 3297 } |
| 3153 buildCounterRouteList--; | 3298 buildCounterRouteList--; |
| 3154 } | 3299 } |
| 3155 | 3300 |
| 3156 core.int buildCounterScheduling = 0; | 3301 core.int buildCounterScheduling = 0; |
| 3157 buildScheduling() { | 3302 buildScheduling() { |
| 3158 var o = new api.Scheduling(); | 3303 var o = new api.Scheduling(); |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3190 checkSerialPortOutput(api.SerialPortOutput o) { | 3335 checkSerialPortOutput(api.SerialPortOutput o) { |
| 3191 buildCounterSerialPortOutput++; | 3336 buildCounterSerialPortOutput++; |
| 3192 if (buildCounterSerialPortOutput < 3) { | 3337 if (buildCounterSerialPortOutput < 3) { |
| 3193 unittest.expect(o.contents, unittest.equals('foo')); | 3338 unittest.expect(o.contents, unittest.equals('foo')); |
| 3194 unittest.expect(o.kind, unittest.equals('foo')); | 3339 unittest.expect(o.kind, unittest.equals('foo')); |
| 3195 unittest.expect(o.selfLink, unittest.equals('foo')); | 3340 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 3196 } | 3341 } |
| 3197 buildCounterSerialPortOutput--; | 3342 buildCounterSerialPortOutput--; |
| 3198 } | 3343 } |
| 3199 | 3344 |
| 3200 buildUnnamed913() { | 3345 buildUnnamed891() { |
| 3201 var o = new core.List<core.String>(); | 3346 var o = new core.List<core.String>(); |
| 3202 o.add("foo"); | 3347 o.add("foo"); |
| 3203 o.add("foo"); | 3348 o.add("foo"); |
| 3204 return o; | 3349 return o; |
| 3205 } | 3350 } |
| 3206 | 3351 |
| 3207 checkUnnamed913(core.List<core.String> o) { | 3352 checkUnnamed891(core.List<core.String> o) { |
| 3208 unittest.expect(o, unittest.hasLength(2)); | 3353 unittest.expect(o, unittest.hasLength(2)); |
| 3209 unittest.expect(o[0], unittest.equals('foo')); | 3354 unittest.expect(o[0], unittest.equals('foo')); |
| 3210 unittest.expect(o[1], unittest.equals('foo')); | 3355 unittest.expect(o[1], unittest.equals('foo')); |
| 3211 } | 3356 } |
| 3212 | 3357 |
| 3213 core.int buildCounterServiceAccount = 0; | 3358 core.int buildCounterServiceAccount = 0; |
| 3214 buildServiceAccount() { | 3359 buildServiceAccount() { |
| 3215 var o = new api.ServiceAccount(); | 3360 var o = new api.ServiceAccount(); |
| 3216 buildCounterServiceAccount++; | 3361 buildCounterServiceAccount++; |
| 3217 if (buildCounterServiceAccount < 3) { | 3362 if (buildCounterServiceAccount < 3) { |
| 3218 o.email = "foo"; | 3363 o.email = "foo"; |
| 3219 o.scopes = buildUnnamed913(); | 3364 o.scopes = buildUnnamed891(); |
| 3220 } | 3365 } |
| 3221 buildCounterServiceAccount--; | 3366 buildCounterServiceAccount--; |
| 3222 return o; | 3367 return o; |
| 3223 } | 3368 } |
| 3224 | 3369 |
| 3225 checkServiceAccount(api.ServiceAccount o) { | 3370 checkServiceAccount(api.ServiceAccount o) { |
| 3226 buildCounterServiceAccount++; | 3371 buildCounterServiceAccount++; |
| 3227 if (buildCounterServiceAccount < 3) { | 3372 if (buildCounterServiceAccount < 3) { |
| 3228 unittest.expect(o.email, unittest.equals('foo')); | 3373 unittest.expect(o.email, unittest.equals('foo')); |
| 3229 checkUnnamed913(o.scopes); | 3374 checkUnnamed891(o.scopes); |
| 3230 } | 3375 } |
| 3231 buildCounterServiceAccount--; | 3376 buildCounterServiceAccount--; |
| 3232 } | 3377 } |
| 3233 | 3378 |
| 3234 buildUnnamed914() { | 3379 buildUnnamed892() { |
| 3235 var o = new core.List<core.String>(); | 3380 var o = new core.List<core.String>(); |
| 3236 o.add("foo"); | 3381 o.add("foo"); |
| 3237 o.add("foo"); | 3382 o.add("foo"); |
| 3238 return o; | 3383 return o; |
| 3239 } | 3384 } |
| 3240 | 3385 |
| 3241 checkUnnamed914(core.List<core.String> o) { | 3386 checkUnnamed892(core.List<core.String> o) { |
| 3242 unittest.expect(o, unittest.hasLength(2)); | 3387 unittest.expect(o, unittest.hasLength(2)); |
| 3243 unittest.expect(o[0], unittest.equals('foo')); | 3388 unittest.expect(o[0], unittest.equals('foo')); |
| 3244 unittest.expect(o[1], unittest.equals('foo')); | 3389 unittest.expect(o[1], unittest.equals('foo')); |
| 3245 } | 3390 } |
| 3246 | 3391 |
| 3247 core.int buildCounterSnapshot = 0; | 3392 core.int buildCounterSnapshot = 0; |
| 3248 buildSnapshot() { | 3393 buildSnapshot() { |
| 3249 var o = new api.Snapshot(); | 3394 var o = new api.Snapshot(); |
| 3250 buildCounterSnapshot++; | 3395 buildCounterSnapshot++; |
| 3251 if (buildCounterSnapshot < 3) { | 3396 if (buildCounterSnapshot < 3) { |
| 3252 o.creationTimestamp = "foo"; | 3397 o.creationTimestamp = "foo"; |
| 3253 o.description = "foo"; | 3398 o.description = "foo"; |
| 3254 o.diskSizeGb = "foo"; | 3399 o.diskSizeGb = "foo"; |
| 3255 o.id = "foo"; | 3400 o.id = "foo"; |
| 3256 o.kind = "foo"; | 3401 o.kind = "foo"; |
| 3257 o.licenses = buildUnnamed914(); | 3402 o.licenses = buildUnnamed892(); |
| 3258 o.name = "foo"; | 3403 o.name = "foo"; |
| 3259 o.selfLink = "foo"; | 3404 o.selfLink = "foo"; |
| 3260 o.sourceDisk = "foo"; | 3405 o.sourceDisk = "foo"; |
| 3261 o.sourceDiskId = "foo"; | 3406 o.sourceDiskId = "foo"; |
| 3262 o.status = "foo"; | 3407 o.status = "foo"; |
| 3263 o.storageBytes = "foo"; | 3408 o.storageBytes = "foo"; |
| 3264 o.storageBytesStatus = "foo"; | 3409 o.storageBytesStatus = "foo"; |
| 3265 } | 3410 } |
| 3266 buildCounterSnapshot--; | 3411 buildCounterSnapshot--; |
| 3267 return o; | 3412 return o; |
| 3268 } | 3413 } |
| 3269 | 3414 |
| 3270 checkSnapshot(api.Snapshot o) { | 3415 checkSnapshot(api.Snapshot o) { |
| 3271 buildCounterSnapshot++; | 3416 buildCounterSnapshot++; |
| 3272 if (buildCounterSnapshot < 3) { | 3417 if (buildCounterSnapshot < 3) { |
| 3273 unittest.expect(o.creationTimestamp, unittest.equals('foo')); | 3418 unittest.expect(o.creationTimestamp, unittest.equals('foo')); |
| 3274 unittest.expect(o.description, unittest.equals('foo')); | 3419 unittest.expect(o.description, unittest.equals('foo')); |
| 3275 unittest.expect(o.diskSizeGb, unittest.equals('foo')); | 3420 unittest.expect(o.diskSizeGb, unittest.equals('foo')); |
| 3276 unittest.expect(o.id, unittest.equals('foo')); | 3421 unittest.expect(o.id, unittest.equals('foo')); |
| 3277 unittest.expect(o.kind, unittest.equals('foo')); | 3422 unittest.expect(o.kind, unittest.equals('foo')); |
| 3278 checkUnnamed914(o.licenses); | 3423 checkUnnamed892(o.licenses); |
| 3279 unittest.expect(o.name, unittest.equals('foo')); | 3424 unittest.expect(o.name, unittest.equals('foo')); |
| 3280 unittest.expect(o.selfLink, unittest.equals('foo')); | 3425 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 3281 unittest.expect(o.sourceDisk, unittest.equals('foo')); | 3426 unittest.expect(o.sourceDisk, unittest.equals('foo')); |
| 3282 unittest.expect(o.sourceDiskId, unittest.equals('foo')); | 3427 unittest.expect(o.sourceDiskId, unittest.equals('foo')); |
| 3283 unittest.expect(o.status, unittest.equals('foo')); | 3428 unittest.expect(o.status, unittest.equals('foo')); |
| 3284 unittest.expect(o.storageBytes, unittest.equals('foo')); | 3429 unittest.expect(o.storageBytes, unittest.equals('foo')); |
| 3285 unittest.expect(o.storageBytesStatus, unittest.equals('foo')); | 3430 unittest.expect(o.storageBytesStatus, unittest.equals('foo')); |
| 3286 } | 3431 } |
| 3287 buildCounterSnapshot--; | 3432 buildCounterSnapshot--; |
| 3288 } | 3433 } |
| 3289 | 3434 |
| 3290 buildUnnamed915() { | 3435 buildUnnamed893() { |
| 3291 var o = new core.List<api.Snapshot>(); | 3436 var o = new core.List<api.Snapshot>(); |
| 3292 o.add(buildSnapshot()); | 3437 o.add(buildSnapshot()); |
| 3293 o.add(buildSnapshot()); | 3438 o.add(buildSnapshot()); |
| 3294 return o; | 3439 return o; |
| 3295 } | 3440 } |
| 3296 | 3441 |
| 3297 checkUnnamed915(core.List<api.Snapshot> o) { | 3442 checkUnnamed893(core.List<api.Snapshot> o) { |
| 3298 unittest.expect(o, unittest.hasLength(2)); | 3443 unittest.expect(o, unittest.hasLength(2)); |
| 3299 checkSnapshot(o[0]); | 3444 checkSnapshot(o[0]); |
| 3300 checkSnapshot(o[1]); | 3445 checkSnapshot(o[1]); |
| 3301 } | 3446 } |
| 3302 | 3447 |
| 3303 core.int buildCounterSnapshotList = 0; | 3448 core.int buildCounterSnapshotList = 0; |
| 3304 buildSnapshotList() { | 3449 buildSnapshotList() { |
| 3305 var o = new api.SnapshotList(); | 3450 var o = new api.SnapshotList(); |
| 3306 buildCounterSnapshotList++; | 3451 buildCounterSnapshotList++; |
| 3307 if (buildCounterSnapshotList < 3) { | 3452 if (buildCounterSnapshotList < 3) { |
| 3308 o.id = "foo"; | 3453 o.id = "foo"; |
| 3309 o.items = buildUnnamed915(); | 3454 o.items = buildUnnamed893(); |
| 3310 o.kind = "foo"; | 3455 o.kind = "foo"; |
| 3311 o.nextPageToken = "foo"; | 3456 o.nextPageToken = "foo"; |
| 3312 o.selfLink = "foo"; | 3457 o.selfLink = "foo"; |
| 3313 } | 3458 } |
| 3314 buildCounterSnapshotList--; | 3459 buildCounterSnapshotList--; |
| 3315 return o; | 3460 return o; |
| 3316 } | 3461 } |
| 3317 | 3462 |
| 3318 checkSnapshotList(api.SnapshotList o) { | 3463 checkSnapshotList(api.SnapshotList o) { |
| 3319 buildCounterSnapshotList++; | 3464 buildCounterSnapshotList++; |
| 3320 if (buildCounterSnapshotList < 3) { | 3465 if (buildCounterSnapshotList < 3) { |
| 3321 unittest.expect(o.id, unittest.equals('foo')); | 3466 unittest.expect(o.id, unittest.equals('foo')); |
| 3322 checkUnnamed915(o.items); | 3467 checkUnnamed893(o.items); |
| 3323 unittest.expect(o.kind, unittest.equals('foo')); | 3468 unittest.expect(o.kind, unittest.equals('foo')); |
| 3324 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 3469 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 3325 unittest.expect(o.selfLink, unittest.equals('foo')); | 3470 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 3326 } | 3471 } |
| 3327 buildCounterSnapshotList--; | 3472 buildCounterSnapshotList--; |
| 3328 } | 3473 } |
| 3329 | 3474 |
| 3330 buildUnnamed916() { | 3475 buildUnnamed894() { |
| 3331 var o = new core.List<core.String>(); | 3476 var o = new core.List<core.String>(); |
| 3332 o.add("foo"); | 3477 o.add("foo"); |
| 3333 o.add("foo"); | 3478 o.add("foo"); |
| 3334 return o; | 3479 return o; |
| 3335 } | 3480 } |
| 3336 | 3481 |
| 3337 checkUnnamed916(core.List<core.String> o) { | 3482 checkUnnamed894(core.List<core.String> o) { |
| 3338 unittest.expect(o, unittest.hasLength(2)); | 3483 unittest.expect(o, unittest.hasLength(2)); |
| 3339 unittest.expect(o[0], unittest.equals('foo')); | 3484 unittest.expect(o[0], unittest.equals('foo')); |
| 3340 unittest.expect(o[1], unittest.equals('foo')); | 3485 unittest.expect(o[1], unittest.equals('foo')); |
| 3341 } | 3486 } |
| 3342 | 3487 |
| 3343 core.int buildCounterTags = 0; | 3488 core.int buildCounterTags = 0; |
| 3344 buildTags() { | 3489 buildTags() { |
| 3345 var o = new api.Tags(); | 3490 var o = new api.Tags(); |
| 3346 buildCounterTags++; | 3491 buildCounterTags++; |
| 3347 if (buildCounterTags < 3) { | 3492 if (buildCounterTags < 3) { |
| 3348 o.fingerprint = "foo"; | 3493 o.fingerprint = "foo"; |
| 3349 o.items = buildUnnamed916(); | 3494 o.items = buildUnnamed894(); |
| 3350 } | 3495 } |
| 3351 buildCounterTags--; | 3496 buildCounterTags--; |
| 3352 return o; | 3497 return o; |
| 3353 } | 3498 } |
| 3354 | 3499 |
| 3355 checkTags(api.Tags o) { | 3500 checkTags(api.Tags o) { |
| 3356 buildCounterTags++; | 3501 buildCounterTags++; |
| 3357 if (buildCounterTags < 3) { | 3502 if (buildCounterTags < 3) { |
| 3358 unittest.expect(o.fingerprint, unittest.equals('foo')); | 3503 unittest.expect(o.fingerprint, unittest.equals('foo')); |
| 3359 checkUnnamed916(o.items); | 3504 checkUnnamed894(o.items); |
| 3360 } | 3505 } |
| 3361 buildCounterTags--; | 3506 buildCounterTags--; |
| 3362 } | 3507 } |
| 3363 | 3508 |
| 3364 core.int buildCounterTargetHttpProxy = 0; | 3509 core.int buildCounterTargetHttpProxy = 0; |
| 3365 buildTargetHttpProxy() { | 3510 buildTargetHttpProxy() { |
| 3366 var o = new api.TargetHttpProxy(); | 3511 var o = new api.TargetHttpProxy(); |
| 3367 buildCounterTargetHttpProxy++; | 3512 buildCounterTargetHttpProxy++; |
| 3368 if (buildCounterTargetHttpProxy < 3) { | 3513 if (buildCounterTargetHttpProxy < 3) { |
| 3369 o.creationTimestamp = "foo"; | 3514 o.creationTimestamp = "foo"; |
| (...skipping 15 matching lines...) Expand all Loading... |
| 3385 unittest.expect(o.description, unittest.equals('foo')); | 3530 unittest.expect(o.description, unittest.equals('foo')); |
| 3386 unittest.expect(o.id, unittest.equals('foo')); | 3531 unittest.expect(o.id, unittest.equals('foo')); |
| 3387 unittest.expect(o.kind, unittest.equals('foo')); | 3532 unittest.expect(o.kind, unittest.equals('foo')); |
| 3388 unittest.expect(o.name, unittest.equals('foo')); | 3533 unittest.expect(o.name, unittest.equals('foo')); |
| 3389 unittest.expect(o.selfLink, unittest.equals('foo')); | 3534 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 3390 unittest.expect(o.urlMap, unittest.equals('foo')); | 3535 unittest.expect(o.urlMap, unittest.equals('foo')); |
| 3391 } | 3536 } |
| 3392 buildCounterTargetHttpProxy--; | 3537 buildCounterTargetHttpProxy--; |
| 3393 } | 3538 } |
| 3394 | 3539 |
| 3395 buildUnnamed917() { | 3540 buildUnnamed895() { |
| 3396 var o = new core.List<api.TargetHttpProxy>(); | 3541 var o = new core.List<api.TargetHttpProxy>(); |
| 3397 o.add(buildTargetHttpProxy()); | 3542 o.add(buildTargetHttpProxy()); |
| 3398 o.add(buildTargetHttpProxy()); | 3543 o.add(buildTargetHttpProxy()); |
| 3399 return o; | 3544 return o; |
| 3400 } | 3545 } |
| 3401 | 3546 |
| 3402 checkUnnamed917(core.List<api.TargetHttpProxy> o) { | 3547 checkUnnamed895(core.List<api.TargetHttpProxy> o) { |
| 3403 unittest.expect(o, unittest.hasLength(2)); | 3548 unittest.expect(o, unittest.hasLength(2)); |
| 3404 checkTargetHttpProxy(o[0]); | 3549 checkTargetHttpProxy(o[0]); |
| 3405 checkTargetHttpProxy(o[1]); | 3550 checkTargetHttpProxy(o[1]); |
| 3406 } | 3551 } |
| 3407 | 3552 |
| 3408 core.int buildCounterTargetHttpProxyList = 0; | 3553 core.int buildCounterTargetHttpProxyList = 0; |
| 3409 buildTargetHttpProxyList() { | 3554 buildTargetHttpProxyList() { |
| 3410 var o = new api.TargetHttpProxyList(); | 3555 var o = new api.TargetHttpProxyList(); |
| 3411 buildCounterTargetHttpProxyList++; | 3556 buildCounterTargetHttpProxyList++; |
| 3412 if (buildCounterTargetHttpProxyList < 3) { | 3557 if (buildCounterTargetHttpProxyList < 3) { |
| 3413 o.id = "foo"; | 3558 o.id = "foo"; |
| 3414 o.items = buildUnnamed917(); | 3559 o.items = buildUnnamed895(); |
| 3415 o.kind = "foo"; | 3560 o.kind = "foo"; |
| 3416 o.nextPageToken = "foo"; | 3561 o.nextPageToken = "foo"; |
| 3417 o.selfLink = "foo"; | 3562 o.selfLink = "foo"; |
| 3418 } | 3563 } |
| 3419 buildCounterTargetHttpProxyList--; | 3564 buildCounterTargetHttpProxyList--; |
| 3420 return o; | 3565 return o; |
| 3421 } | 3566 } |
| 3422 | 3567 |
| 3423 checkTargetHttpProxyList(api.TargetHttpProxyList o) { | 3568 checkTargetHttpProxyList(api.TargetHttpProxyList o) { |
| 3424 buildCounterTargetHttpProxyList++; | 3569 buildCounterTargetHttpProxyList++; |
| 3425 if (buildCounterTargetHttpProxyList < 3) { | 3570 if (buildCounterTargetHttpProxyList < 3) { |
| 3426 unittest.expect(o.id, unittest.equals('foo')); | 3571 unittest.expect(o.id, unittest.equals('foo')); |
| 3427 checkUnnamed917(o.items); | 3572 checkUnnamed895(o.items); |
| 3428 unittest.expect(o.kind, unittest.equals('foo')); | 3573 unittest.expect(o.kind, unittest.equals('foo')); |
| 3429 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 3574 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 3430 unittest.expect(o.selfLink, unittest.equals('foo')); | 3575 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 3431 } | 3576 } |
| 3432 buildCounterTargetHttpProxyList--; | 3577 buildCounterTargetHttpProxyList--; |
| 3433 } | 3578 } |
| 3434 | 3579 |
| 3435 core.int buildCounterTargetInstance = 0; | 3580 core.int buildCounterTargetInstance = 0; |
| 3436 buildTargetInstance() { | 3581 buildTargetInstance() { |
| 3437 var o = new api.TargetInstance(); | 3582 var o = new api.TargetInstance(); |
| (...skipping 22 matching lines...) Expand all Loading... |
| 3460 unittest.expect(o.instance, unittest.equals('foo')); | 3605 unittest.expect(o.instance, unittest.equals('foo')); |
| 3461 unittest.expect(o.kind, unittest.equals('foo')); | 3606 unittest.expect(o.kind, unittest.equals('foo')); |
| 3462 unittest.expect(o.name, unittest.equals('foo')); | 3607 unittest.expect(o.name, unittest.equals('foo')); |
| 3463 unittest.expect(o.natPolicy, unittest.equals('foo')); | 3608 unittest.expect(o.natPolicy, unittest.equals('foo')); |
| 3464 unittest.expect(o.selfLink, unittest.equals('foo')); | 3609 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 3465 unittest.expect(o.zone, unittest.equals('foo')); | 3610 unittest.expect(o.zone, unittest.equals('foo')); |
| 3466 } | 3611 } |
| 3467 buildCounterTargetInstance--; | 3612 buildCounterTargetInstance--; |
| 3468 } | 3613 } |
| 3469 | 3614 |
| 3470 buildUnnamed918() { | 3615 buildUnnamed896() { |
| 3471 var o = new core.Map<core.String, api.TargetInstancesScopedList>(); | 3616 var o = new core.Map<core.String, api.TargetInstancesScopedList>(); |
| 3472 o["x"] = buildTargetInstancesScopedList(); | 3617 o["x"] = buildTargetInstancesScopedList(); |
| 3473 o["y"] = buildTargetInstancesScopedList(); | 3618 o["y"] = buildTargetInstancesScopedList(); |
| 3474 return o; | 3619 return o; |
| 3475 } | 3620 } |
| 3476 | 3621 |
| 3477 checkUnnamed918(core.Map<core.String, api.TargetInstancesScopedList> o) { | 3622 checkUnnamed896(core.Map<core.String, api.TargetInstancesScopedList> o) { |
| 3478 unittest.expect(o, unittest.hasLength(2)); | 3623 unittest.expect(o, unittest.hasLength(2)); |
| 3479 checkTargetInstancesScopedList(o["x"]); | 3624 checkTargetInstancesScopedList(o["x"]); |
| 3480 checkTargetInstancesScopedList(o["y"]); | 3625 checkTargetInstancesScopedList(o["y"]); |
| 3481 } | 3626 } |
| 3482 | 3627 |
| 3483 core.int buildCounterTargetInstanceAggregatedList = 0; | 3628 core.int buildCounterTargetInstanceAggregatedList = 0; |
| 3484 buildTargetInstanceAggregatedList() { | 3629 buildTargetInstanceAggregatedList() { |
| 3485 var o = new api.TargetInstanceAggregatedList(); | 3630 var o = new api.TargetInstanceAggregatedList(); |
| 3486 buildCounterTargetInstanceAggregatedList++; | 3631 buildCounterTargetInstanceAggregatedList++; |
| 3487 if (buildCounterTargetInstanceAggregatedList < 3) { | 3632 if (buildCounterTargetInstanceAggregatedList < 3) { |
| 3488 o.id = "foo"; | 3633 o.id = "foo"; |
| 3489 o.items = buildUnnamed918(); | 3634 o.items = buildUnnamed896(); |
| 3490 o.kind = "foo"; | 3635 o.kind = "foo"; |
| 3491 o.nextPageToken = "foo"; | 3636 o.nextPageToken = "foo"; |
| 3492 o.selfLink = "foo"; | 3637 o.selfLink = "foo"; |
| 3493 } | 3638 } |
| 3494 buildCounterTargetInstanceAggregatedList--; | 3639 buildCounterTargetInstanceAggregatedList--; |
| 3495 return o; | 3640 return o; |
| 3496 } | 3641 } |
| 3497 | 3642 |
| 3498 checkTargetInstanceAggregatedList(api.TargetInstanceAggregatedList o) { | 3643 checkTargetInstanceAggregatedList(api.TargetInstanceAggregatedList o) { |
| 3499 buildCounterTargetInstanceAggregatedList++; | 3644 buildCounterTargetInstanceAggregatedList++; |
| 3500 if (buildCounterTargetInstanceAggregatedList < 3) { | 3645 if (buildCounterTargetInstanceAggregatedList < 3) { |
| 3501 unittest.expect(o.id, unittest.equals('foo')); | 3646 unittest.expect(o.id, unittest.equals('foo')); |
| 3502 checkUnnamed918(o.items); | 3647 checkUnnamed896(o.items); |
| 3503 unittest.expect(o.kind, unittest.equals('foo')); | 3648 unittest.expect(o.kind, unittest.equals('foo')); |
| 3504 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 3649 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 3505 unittest.expect(o.selfLink, unittest.equals('foo')); | 3650 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 3506 } | 3651 } |
| 3507 buildCounterTargetInstanceAggregatedList--; | 3652 buildCounterTargetInstanceAggregatedList--; |
| 3508 } | 3653 } |
| 3509 | 3654 |
| 3510 buildUnnamed919() { | 3655 buildUnnamed897() { |
| 3511 var o = new core.List<api.TargetInstance>(); | 3656 var o = new core.List<api.TargetInstance>(); |
| 3512 o.add(buildTargetInstance()); | 3657 o.add(buildTargetInstance()); |
| 3513 o.add(buildTargetInstance()); | 3658 o.add(buildTargetInstance()); |
| 3514 return o; | 3659 return o; |
| 3515 } | 3660 } |
| 3516 | 3661 |
| 3517 checkUnnamed919(core.List<api.TargetInstance> o) { | 3662 checkUnnamed897(core.List<api.TargetInstance> o) { |
| 3518 unittest.expect(o, unittest.hasLength(2)); | 3663 unittest.expect(o, unittest.hasLength(2)); |
| 3519 checkTargetInstance(o[0]); | 3664 checkTargetInstance(o[0]); |
| 3520 checkTargetInstance(o[1]); | 3665 checkTargetInstance(o[1]); |
| 3521 } | 3666 } |
| 3522 | 3667 |
| 3523 core.int buildCounterTargetInstanceList = 0; | 3668 core.int buildCounterTargetInstanceList = 0; |
| 3524 buildTargetInstanceList() { | 3669 buildTargetInstanceList() { |
| 3525 var o = new api.TargetInstanceList(); | 3670 var o = new api.TargetInstanceList(); |
| 3526 buildCounterTargetInstanceList++; | 3671 buildCounterTargetInstanceList++; |
| 3527 if (buildCounterTargetInstanceList < 3) { | 3672 if (buildCounterTargetInstanceList < 3) { |
| 3528 o.id = "foo"; | 3673 o.id = "foo"; |
| 3529 o.items = buildUnnamed919(); | 3674 o.items = buildUnnamed897(); |
| 3530 o.kind = "foo"; | 3675 o.kind = "foo"; |
| 3531 o.nextPageToken = "foo"; | 3676 o.nextPageToken = "foo"; |
| 3532 o.selfLink = "foo"; | 3677 o.selfLink = "foo"; |
| 3533 } | 3678 } |
| 3534 buildCounterTargetInstanceList--; | 3679 buildCounterTargetInstanceList--; |
| 3535 return o; | 3680 return o; |
| 3536 } | 3681 } |
| 3537 | 3682 |
| 3538 checkTargetInstanceList(api.TargetInstanceList o) { | 3683 checkTargetInstanceList(api.TargetInstanceList o) { |
| 3539 buildCounterTargetInstanceList++; | 3684 buildCounterTargetInstanceList++; |
| 3540 if (buildCounterTargetInstanceList < 3) { | 3685 if (buildCounterTargetInstanceList < 3) { |
| 3541 unittest.expect(o.id, unittest.equals('foo')); | 3686 unittest.expect(o.id, unittest.equals('foo')); |
| 3542 checkUnnamed919(o.items); | 3687 checkUnnamed897(o.items); |
| 3543 unittest.expect(o.kind, unittest.equals('foo')); | 3688 unittest.expect(o.kind, unittest.equals('foo')); |
| 3544 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 3689 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 3545 unittest.expect(o.selfLink, unittest.equals('foo')); | 3690 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 3546 } | 3691 } |
| 3547 buildCounterTargetInstanceList--; | 3692 buildCounterTargetInstanceList--; |
| 3548 } | 3693 } |
| 3549 | 3694 |
| 3550 buildUnnamed920() { | 3695 buildUnnamed898() { |
| 3551 var o = new core.List<api.TargetInstance>(); | 3696 var o = new core.List<api.TargetInstance>(); |
| 3552 o.add(buildTargetInstance()); | 3697 o.add(buildTargetInstance()); |
| 3553 o.add(buildTargetInstance()); | 3698 o.add(buildTargetInstance()); |
| 3554 return o; | 3699 return o; |
| 3555 } | 3700 } |
| 3556 | 3701 |
| 3557 checkUnnamed920(core.List<api.TargetInstance> o) { | 3702 checkUnnamed898(core.List<api.TargetInstance> o) { |
| 3558 unittest.expect(o, unittest.hasLength(2)); | 3703 unittest.expect(o, unittest.hasLength(2)); |
| 3559 checkTargetInstance(o[0]); | 3704 checkTargetInstance(o[0]); |
| 3560 checkTargetInstance(o[1]); | 3705 checkTargetInstance(o[1]); |
| 3561 } | 3706 } |
| 3562 | 3707 |
| 3563 core.int buildCounterTargetInstancesScopedListWarningData = 0; | 3708 core.int buildCounterTargetInstancesScopedListWarningData = 0; |
| 3564 buildTargetInstancesScopedListWarningData() { | 3709 buildTargetInstancesScopedListWarningData() { |
| 3565 var o = new api.TargetInstancesScopedListWarningData(); | 3710 var o = new api.TargetInstancesScopedListWarningData(); |
| 3566 buildCounterTargetInstancesScopedListWarningData++; | 3711 buildCounterTargetInstancesScopedListWarningData++; |
| 3567 if (buildCounterTargetInstancesScopedListWarningData < 3) { | 3712 if (buildCounterTargetInstancesScopedListWarningData < 3) { |
| 3568 o.key = "foo"; | 3713 o.key = "foo"; |
| 3569 o.value = "foo"; | 3714 o.value = "foo"; |
| 3570 } | 3715 } |
| 3571 buildCounterTargetInstancesScopedListWarningData--; | 3716 buildCounterTargetInstancesScopedListWarningData--; |
| 3572 return o; | 3717 return o; |
| 3573 } | 3718 } |
| 3574 | 3719 |
| 3575 checkTargetInstancesScopedListWarningData(api.TargetInstancesScopedListWarningDa
ta o) { | 3720 checkTargetInstancesScopedListWarningData(api.TargetInstancesScopedListWarningDa
ta o) { |
| 3576 buildCounterTargetInstancesScopedListWarningData++; | 3721 buildCounterTargetInstancesScopedListWarningData++; |
| 3577 if (buildCounterTargetInstancesScopedListWarningData < 3) { | 3722 if (buildCounterTargetInstancesScopedListWarningData < 3) { |
| 3578 unittest.expect(o.key, unittest.equals('foo')); | 3723 unittest.expect(o.key, unittest.equals('foo')); |
| 3579 unittest.expect(o.value, unittest.equals('foo')); | 3724 unittest.expect(o.value, unittest.equals('foo')); |
| 3580 } | 3725 } |
| 3581 buildCounterTargetInstancesScopedListWarningData--; | 3726 buildCounterTargetInstancesScopedListWarningData--; |
| 3582 } | 3727 } |
| 3583 | 3728 |
| 3584 buildUnnamed921() { | 3729 buildUnnamed899() { |
| 3585 var o = new core.List<api.TargetInstancesScopedListWarningData>(); | 3730 var o = new core.List<api.TargetInstancesScopedListWarningData>(); |
| 3586 o.add(buildTargetInstancesScopedListWarningData()); | 3731 o.add(buildTargetInstancesScopedListWarningData()); |
| 3587 o.add(buildTargetInstancesScopedListWarningData()); | 3732 o.add(buildTargetInstancesScopedListWarningData()); |
| 3588 return o; | 3733 return o; |
| 3589 } | 3734 } |
| 3590 | 3735 |
| 3591 checkUnnamed921(core.List<api.TargetInstancesScopedListWarningData> o) { | 3736 checkUnnamed899(core.List<api.TargetInstancesScopedListWarningData> o) { |
| 3592 unittest.expect(o, unittest.hasLength(2)); | 3737 unittest.expect(o, unittest.hasLength(2)); |
| 3593 checkTargetInstancesScopedListWarningData(o[0]); | 3738 checkTargetInstancesScopedListWarningData(o[0]); |
| 3594 checkTargetInstancesScopedListWarningData(o[1]); | 3739 checkTargetInstancesScopedListWarningData(o[1]); |
| 3595 } | 3740 } |
| 3596 | 3741 |
| 3597 core.int buildCounterTargetInstancesScopedListWarning = 0; | 3742 core.int buildCounterTargetInstancesScopedListWarning = 0; |
| 3598 buildTargetInstancesScopedListWarning() { | 3743 buildTargetInstancesScopedListWarning() { |
| 3599 var o = new api.TargetInstancesScopedListWarning(); | 3744 var o = new api.TargetInstancesScopedListWarning(); |
| 3600 buildCounterTargetInstancesScopedListWarning++; | 3745 buildCounterTargetInstancesScopedListWarning++; |
| 3601 if (buildCounterTargetInstancesScopedListWarning < 3) { | 3746 if (buildCounterTargetInstancesScopedListWarning < 3) { |
| 3602 o.code = "foo"; | 3747 o.code = "foo"; |
| 3603 o.data = buildUnnamed921(); | 3748 o.data = buildUnnamed899(); |
| 3604 o.message = "foo"; | 3749 o.message = "foo"; |
| 3605 } | 3750 } |
| 3606 buildCounterTargetInstancesScopedListWarning--; | 3751 buildCounterTargetInstancesScopedListWarning--; |
| 3607 return o; | 3752 return o; |
| 3608 } | 3753 } |
| 3609 | 3754 |
| 3610 checkTargetInstancesScopedListWarning(api.TargetInstancesScopedListWarning o) { | 3755 checkTargetInstancesScopedListWarning(api.TargetInstancesScopedListWarning o) { |
| 3611 buildCounterTargetInstancesScopedListWarning++; | 3756 buildCounterTargetInstancesScopedListWarning++; |
| 3612 if (buildCounterTargetInstancesScopedListWarning < 3) { | 3757 if (buildCounterTargetInstancesScopedListWarning < 3) { |
| 3613 unittest.expect(o.code, unittest.equals('foo')); | 3758 unittest.expect(o.code, unittest.equals('foo')); |
| 3614 checkUnnamed921(o.data); | 3759 checkUnnamed899(o.data); |
| 3615 unittest.expect(o.message, unittest.equals('foo')); | 3760 unittest.expect(o.message, unittest.equals('foo')); |
| 3616 } | 3761 } |
| 3617 buildCounterTargetInstancesScopedListWarning--; | 3762 buildCounterTargetInstancesScopedListWarning--; |
| 3618 } | 3763 } |
| 3619 | 3764 |
| 3620 core.int buildCounterTargetInstancesScopedList = 0; | 3765 core.int buildCounterTargetInstancesScopedList = 0; |
| 3621 buildTargetInstancesScopedList() { | 3766 buildTargetInstancesScopedList() { |
| 3622 var o = new api.TargetInstancesScopedList(); | 3767 var o = new api.TargetInstancesScopedList(); |
| 3623 buildCounterTargetInstancesScopedList++; | 3768 buildCounterTargetInstancesScopedList++; |
| 3624 if (buildCounterTargetInstancesScopedList < 3) { | 3769 if (buildCounterTargetInstancesScopedList < 3) { |
| 3625 o.targetInstances = buildUnnamed920(); | 3770 o.targetInstances = buildUnnamed898(); |
| 3626 o.warning = buildTargetInstancesScopedListWarning(); | 3771 o.warning = buildTargetInstancesScopedListWarning(); |
| 3627 } | 3772 } |
| 3628 buildCounterTargetInstancesScopedList--; | 3773 buildCounterTargetInstancesScopedList--; |
| 3629 return o; | 3774 return o; |
| 3630 } | 3775 } |
| 3631 | 3776 |
| 3632 checkTargetInstancesScopedList(api.TargetInstancesScopedList o) { | 3777 checkTargetInstancesScopedList(api.TargetInstancesScopedList o) { |
| 3633 buildCounterTargetInstancesScopedList++; | 3778 buildCounterTargetInstancesScopedList++; |
| 3634 if (buildCounterTargetInstancesScopedList < 3) { | 3779 if (buildCounterTargetInstancesScopedList < 3) { |
| 3635 checkUnnamed920(o.targetInstances); | 3780 checkUnnamed898(o.targetInstances); |
| 3636 checkTargetInstancesScopedListWarning(o.warning); | 3781 checkTargetInstancesScopedListWarning(o.warning); |
| 3637 } | 3782 } |
| 3638 buildCounterTargetInstancesScopedList--; | 3783 buildCounterTargetInstancesScopedList--; |
| 3639 } | 3784 } |
| 3640 | 3785 |
| 3641 buildUnnamed922() { | 3786 buildUnnamed900() { |
| 3642 var o = new core.List<core.String>(); | 3787 var o = new core.List<core.String>(); |
| 3643 o.add("foo"); | 3788 o.add("foo"); |
| 3644 o.add("foo"); | 3789 o.add("foo"); |
| 3645 return o; | 3790 return o; |
| 3646 } | 3791 } |
| 3647 | 3792 |
| 3648 checkUnnamed922(core.List<core.String> o) { | 3793 checkUnnamed900(core.List<core.String> o) { |
| 3649 unittest.expect(o, unittest.hasLength(2)); | 3794 unittest.expect(o, unittest.hasLength(2)); |
| 3650 unittest.expect(o[0], unittest.equals('foo')); | 3795 unittest.expect(o[0], unittest.equals('foo')); |
| 3651 unittest.expect(o[1], unittest.equals('foo')); | 3796 unittest.expect(o[1], unittest.equals('foo')); |
| 3652 } | 3797 } |
| 3653 | 3798 |
| 3654 buildUnnamed923() { | 3799 buildUnnamed901() { |
| 3655 var o = new core.List<core.String>(); | 3800 var o = new core.List<core.String>(); |
| 3656 o.add("foo"); | 3801 o.add("foo"); |
| 3657 o.add("foo"); | 3802 o.add("foo"); |
| 3658 return o; | 3803 return o; |
| 3659 } | 3804 } |
| 3660 | 3805 |
| 3661 checkUnnamed923(core.List<core.String> o) { | 3806 checkUnnamed901(core.List<core.String> o) { |
| 3662 unittest.expect(o, unittest.hasLength(2)); | 3807 unittest.expect(o, unittest.hasLength(2)); |
| 3663 unittest.expect(o[0], unittest.equals('foo')); | 3808 unittest.expect(o[0], unittest.equals('foo')); |
| 3664 unittest.expect(o[1], unittest.equals('foo')); | 3809 unittest.expect(o[1], unittest.equals('foo')); |
| 3665 } | 3810 } |
| 3666 | 3811 |
| 3667 core.int buildCounterTargetPool = 0; | 3812 core.int buildCounterTargetPool = 0; |
| 3668 buildTargetPool() { | 3813 buildTargetPool() { |
| 3669 var o = new api.TargetPool(); | 3814 var o = new api.TargetPool(); |
| 3670 buildCounterTargetPool++; | 3815 buildCounterTargetPool++; |
| 3671 if (buildCounterTargetPool < 3) { | 3816 if (buildCounterTargetPool < 3) { |
| 3672 o.backupPool = "foo"; | 3817 o.backupPool = "foo"; |
| 3673 o.creationTimestamp = "foo"; | 3818 o.creationTimestamp = "foo"; |
| 3674 o.description = "foo"; | 3819 o.description = "foo"; |
| 3675 o.failoverRatio = 42.0; | 3820 o.failoverRatio = 42.0; |
| 3676 o.healthChecks = buildUnnamed922(); | 3821 o.healthChecks = buildUnnamed900(); |
| 3677 o.id = "foo"; | 3822 o.id = "foo"; |
| 3678 o.instances = buildUnnamed923(); | 3823 o.instances = buildUnnamed901(); |
| 3679 o.kind = "foo"; | 3824 o.kind = "foo"; |
| 3680 o.name = "foo"; | 3825 o.name = "foo"; |
| 3681 o.region = "foo"; | 3826 o.region = "foo"; |
| 3682 o.selfLink = "foo"; | 3827 o.selfLink = "foo"; |
| 3683 o.sessionAffinity = "foo"; | 3828 o.sessionAffinity = "foo"; |
| 3684 } | 3829 } |
| 3685 buildCounterTargetPool--; | 3830 buildCounterTargetPool--; |
| 3686 return o; | 3831 return o; |
| 3687 } | 3832 } |
| 3688 | 3833 |
| 3689 checkTargetPool(api.TargetPool o) { | 3834 checkTargetPool(api.TargetPool o) { |
| 3690 buildCounterTargetPool++; | 3835 buildCounterTargetPool++; |
| 3691 if (buildCounterTargetPool < 3) { | 3836 if (buildCounterTargetPool < 3) { |
| 3692 unittest.expect(o.backupPool, unittest.equals('foo')); | 3837 unittest.expect(o.backupPool, unittest.equals('foo')); |
| 3693 unittest.expect(o.creationTimestamp, unittest.equals('foo')); | 3838 unittest.expect(o.creationTimestamp, unittest.equals('foo')); |
| 3694 unittest.expect(o.description, unittest.equals('foo')); | 3839 unittest.expect(o.description, unittest.equals('foo')); |
| 3695 unittest.expect(o.failoverRatio, unittest.equals(42.0)); | 3840 unittest.expect(o.failoverRatio, unittest.equals(42.0)); |
| 3696 checkUnnamed922(o.healthChecks); | 3841 checkUnnamed900(o.healthChecks); |
| 3697 unittest.expect(o.id, unittest.equals('foo')); | 3842 unittest.expect(o.id, unittest.equals('foo')); |
| 3698 checkUnnamed923(o.instances); | 3843 checkUnnamed901(o.instances); |
| 3699 unittest.expect(o.kind, unittest.equals('foo')); | 3844 unittest.expect(o.kind, unittest.equals('foo')); |
| 3700 unittest.expect(o.name, unittest.equals('foo')); | 3845 unittest.expect(o.name, unittest.equals('foo')); |
| 3701 unittest.expect(o.region, unittest.equals('foo')); | 3846 unittest.expect(o.region, unittest.equals('foo')); |
| 3702 unittest.expect(o.selfLink, unittest.equals('foo')); | 3847 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 3703 unittest.expect(o.sessionAffinity, unittest.equals('foo')); | 3848 unittest.expect(o.sessionAffinity, unittest.equals('foo')); |
| 3704 } | 3849 } |
| 3705 buildCounterTargetPool--; | 3850 buildCounterTargetPool--; |
| 3706 } | 3851 } |
| 3707 | 3852 |
| 3708 buildUnnamed924() { | 3853 buildUnnamed902() { |
| 3709 var o = new core.Map<core.String, api.TargetPoolsScopedList>(); | 3854 var o = new core.Map<core.String, api.TargetPoolsScopedList>(); |
| 3710 o["x"] = buildTargetPoolsScopedList(); | 3855 o["x"] = buildTargetPoolsScopedList(); |
| 3711 o["y"] = buildTargetPoolsScopedList(); | 3856 o["y"] = buildTargetPoolsScopedList(); |
| 3712 return o; | 3857 return o; |
| 3713 } | 3858 } |
| 3714 | 3859 |
| 3715 checkUnnamed924(core.Map<core.String, api.TargetPoolsScopedList> o) { | 3860 checkUnnamed902(core.Map<core.String, api.TargetPoolsScopedList> o) { |
| 3716 unittest.expect(o, unittest.hasLength(2)); | 3861 unittest.expect(o, unittest.hasLength(2)); |
| 3717 checkTargetPoolsScopedList(o["x"]); | 3862 checkTargetPoolsScopedList(o["x"]); |
| 3718 checkTargetPoolsScopedList(o["y"]); | 3863 checkTargetPoolsScopedList(o["y"]); |
| 3719 } | 3864 } |
| 3720 | 3865 |
| 3721 core.int buildCounterTargetPoolAggregatedList = 0; | 3866 core.int buildCounterTargetPoolAggregatedList = 0; |
| 3722 buildTargetPoolAggregatedList() { | 3867 buildTargetPoolAggregatedList() { |
| 3723 var o = new api.TargetPoolAggregatedList(); | 3868 var o = new api.TargetPoolAggregatedList(); |
| 3724 buildCounterTargetPoolAggregatedList++; | 3869 buildCounterTargetPoolAggregatedList++; |
| 3725 if (buildCounterTargetPoolAggregatedList < 3) { | 3870 if (buildCounterTargetPoolAggregatedList < 3) { |
| 3726 o.id = "foo"; | 3871 o.id = "foo"; |
| 3727 o.items = buildUnnamed924(); | 3872 o.items = buildUnnamed902(); |
| 3728 o.kind = "foo"; | 3873 o.kind = "foo"; |
| 3729 o.nextPageToken = "foo"; | 3874 o.nextPageToken = "foo"; |
| 3730 o.selfLink = "foo"; | 3875 o.selfLink = "foo"; |
| 3731 } | 3876 } |
| 3732 buildCounterTargetPoolAggregatedList--; | 3877 buildCounterTargetPoolAggregatedList--; |
| 3733 return o; | 3878 return o; |
| 3734 } | 3879 } |
| 3735 | 3880 |
| 3736 checkTargetPoolAggregatedList(api.TargetPoolAggregatedList o) { | 3881 checkTargetPoolAggregatedList(api.TargetPoolAggregatedList o) { |
| 3737 buildCounterTargetPoolAggregatedList++; | 3882 buildCounterTargetPoolAggregatedList++; |
| 3738 if (buildCounterTargetPoolAggregatedList < 3) { | 3883 if (buildCounterTargetPoolAggregatedList < 3) { |
| 3739 unittest.expect(o.id, unittest.equals('foo')); | 3884 unittest.expect(o.id, unittest.equals('foo')); |
| 3740 checkUnnamed924(o.items); | 3885 checkUnnamed902(o.items); |
| 3741 unittest.expect(o.kind, unittest.equals('foo')); | 3886 unittest.expect(o.kind, unittest.equals('foo')); |
| 3742 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 3887 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 3743 unittest.expect(o.selfLink, unittest.equals('foo')); | 3888 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 3744 } | 3889 } |
| 3745 buildCounterTargetPoolAggregatedList--; | 3890 buildCounterTargetPoolAggregatedList--; |
| 3746 } | 3891 } |
| 3747 | 3892 |
| 3748 buildUnnamed925() { | 3893 buildUnnamed903() { |
| 3749 var o = new core.List<api.HealthStatus>(); | 3894 var o = new core.List<api.HealthStatus>(); |
| 3750 o.add(buildHealthStatus()); | 3895 o.add(buildHealthStatus()); |
| 3751 o.add(buildHealthStatus()); | 3896 o.add(buildHealthStatus()); |
| 3752 return o; | 3897 return o; |
| 3753 } | 3898 } |
| 3754 | 3899 |
| 3755 checkUnnamed925(core.List<api.HealthStatus> o) { | 3900 checkUnnamed903(core.List<api.HealthStatus> o) { |
| 3756 unittest.expect(o, unittest.hasLength(2)); | 3901 unittest.expect(o, unittest.hasLength(2)); |
| 3757 checkHealthStatus(o[0]); | 3902 checkHealthStatus(o[0]); |
| 3758 checkHealthStatus(o[1]); | 3903 checkHealthStatus(o[1]); |
| 3759 } | 3904 } |
| 3760 | 3905 |
| 3761 core.int buildCounterTargetPoolInstanceHealth = 0; | 3906 core.int buildCounterTargetPoolInstanceHealth = 0; |
| 3762 buildTargetPoolInstanceHealth() { | 3907 buildTargetPoolInstanceHealth() { |
| 3763 var o = new api.TargetPoolInstanceHealth(); | 3908 var o = new api.TargetPoolInstanceHealth(); |
| 3764 buildCounterTargetPoolInstanceHealth++; | 3909 buildCounterTargetPoolInstanceHealth++; |
| 3765 if (buildCounterTargetPoolInstanceHealth < 3) { | 3910 if (buildCounterTargetPoolInstanceHealth < 3) { |
| 3766 o.healthStatus = buildUnnamed925(); | 3911 o.healthStatus = buildUnnamed903(); |
| 3767 o.kind = "foo"; | 3912 o.kind = "foo"; |
| 3768 } | 3913 } |
| 3769 buildCounterTargetPoolInstanceHealth--; | 3914 buildCounterTargetPoolInstanceHealth--; |
| 3770 return o; | 3915 return o; |
| 3771 } | 3916 } |
| 3772 | 3917 |
| 3773 checkTargetPoolInstanceHealth(api.TargetPoolInstanceHealth o) { | 3918 checkTargetPoolInstanceHealth(api.TargetPoolInstanceHealth o) { |
| 3774 buildCounterTargetPoolInstanceHealth++; | 3919 buildCounterTargetPoolInstanceHealth++; |
| 3775 if (buildCounterTargetPoolInstanceHealth < 3) { | 3920 if (buildCounterTargetPoolInstanceHealth < 3) { |
| 3776 checkUnnamed925(o.healthStatus); | 3921 checkUnnamed903(o.healthStatus); |
| 3777 unittest.expect(o.kind, unittest.equals('foo')); | 3922 unittest.expect(o.kind, unittest.equals('foo')); |
| 3778 } | 3923 } |
| 3779 buildCounterTargetPoolInstanceHealth--; | 3924 buildCounterTargetPoolInstanceHealth--; |
| 3780 } | 3925 } |
| 3781 | 3926 |
| 3782 buildUnnamed926() { | 3927 buildUnnamed904() { |
| 3783 var o = new core.List<api.TargetPool>(); | 3928 var o = new core.List<api.TargetPool>(); |
| 3784 o.add(buildTargetPool()); | 3929 o.add(buildTargetPool()); |
| 3785 o.add(buildTargetPool()); | 3930 o.add(buildTargetPool()); |
| 3786 return o; | 3931 return o; |
| 3787 } | 3932 } |
| 3788 | 3933 |
| 3789 checkUnnamed926(core.List<api.TargetPool> o) { | 3934 checkUnnamed904(core.List<api.TargetPool> o) { |
| 3790 unittest.expect(o, unittest.hasLength(2)); | 3935 unittest.expect(o, unittest.hasLength(2)); |
| 3791 checkTargetPool(o[0]); | 3936 checkTargetPool(o[0]); |
| 3792 checkTargetPool(o[1]); | 3937 checkTargetPool(o[1]); |
| 3793 } | 3938 } |
| 3794 | 3939 |
| 3795 core.int buildCounterTargetPoolList = 0; | 3940 core.int buildCounterTargetPoolList = 0; |
| 3796 buildTargetPoolList() { | 3941 buildTargetPoolList() { |
| 3797 var o = new api.TargetPoolList(); | 3942 var o = new api.TargetPoolList(); |
| 3798 buildCounterTargetPoolList++; | 3943 buildCounterTargetPoolList++; |
| 3799 if (buildCounterTargetPoolList < 3) { | 3944 if (buildCounterTargetPoolList < 3) { |
| 3800 o.id = "foo"; | 3945 o.id = "foo"; |
| 3801 o.items = buildUnnamed926(); | 3946 o.items = buildUnnamed904(); |
| 3802 o.kind = "foo"; | 3947 o.kind = "foo"; |
| 3803 o.nextPageToken = "foo"; | 3948 o.nextPageToken = "foo"; |
| 3804 o.selfLink = "foo"; | 3949 o.selfLink = "foo"; |
| 3805 } | 3950 } |
| 3806 buildCounterTargetPoolList--; | 3951 buildCounterTargetPoolList--; |
| 3807 return o; | 3952 return o; |
| 3808 } | 3953 } |
| 3809 | 3954 |
| 3810 checkTargetPoolList(api.TargetPoolList o) { | 3955 checkTargetPoolList(api.TargetPoolList o) { |
| 3811 buildCounterTargetPoolList++; | 3956 buildCounterTargetPoolList++; |
| 3812 if (buildCounterTargetPoolList < 3) { | 3957 if (buildCounterTargetPoolList < 3) { |
| 3813 unittest.expect(o.id, unittest.equals('foo')); | 3958 unittest.expect(o.id, unittest.equals('foo')); |
| 3814 checkUnnamed926(o.items); | 3959 checkUnnamed904(o.items); |
| 3815 unittest.expect(o.kind, unittest.equals('foo')); | 3960 unittest.expect(o.kind, unittest.equals('foo')); |
| 3816 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 3961 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 3817 unittest.expect(o.selfLink, unittest.equals('foo')); | 3962 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 3818 } | 3963 } |
| 3819 buildCounterTargetPoolList--; | 3964 buildCounterTargetPoolList--; |
| 3820 } | 3965 } |
| 3821 | 3966 |
| 3822 buildUnnamed927() { | 3967 buildUnnamed905() { |
| 3823 var o = new core.List<api.HealthCheckReference>(); | 3968 var o = new core.List<api.HealthCheckReference>(); |
| 3824 o.add(buildHealthCheckReference()); | 3969 o.add(buildHealthCheckReference()); |
| 3825 o.add(buildHealthCheckReference()); | 3970 o.add(buildHealthCheckReference()); |
| 3826 return o; | 3971 return o; |
| 3827 } | 3972 } |
| 3828 | 3973 |
| 3829 checkUnnamed927(core.List<api.HealthCheckReference> o) { | 3974 checkUnnamed905(core.List<api.HealthCheckReference> o) { |
| 3830 unittest.expect(o, unittest.hasLength(2)); | 3975 unittest.expect(o, unittest.hasLength(2)); |
| 3831 checkHealthCheckReference(o[0]); | 3976 checkHealthCheckReference(o[0]); |
| 3832 checkHealthCheckReference(o[1]); | 3977 checkHealthCheckReference(o[1]); |
| 3833 } | 3978 } |
| 3834 | 3979 |
| 3835 core.int buildCounterTargetPoolsAddHealthCheckRequest = 0; | 3980 core.int buildCounterTargetPoolsAddHealthCheckRequest = 0; |
| 3836 buildTargetPoolsAddHealthCheckRequest() { | 3981 buildTargetPoolsAddHealthCheckRequest() { |
| 3837 var o = new api.TargetPoolsAddHealthCheckRequest(); | 3982 var o = new api.TargetPoolsAddHealthCheckRequest(); |
| 3838 buildCounterTargetPoolsAddHealthCheckRequest++; | 3983 buildCounterTargetPoolsAddHealthCheckRequest++; |
| 3839 if (buildCounterTargetPoolsAddHealthCheckRequest < 3) { | 3984 if (buildCounterTargetPoolsAddHealthCheckRequest < 3) { |
| 3840 o.healthChecks = buildUnnamed927(); | 3985 o.healthChecks = buildUnnamed905(); |
| 3841 } | 3986 } |
| 3842 buildCounterTargetPoolsAddHealthCheckRequest--; | 3987 buildCounterTargetPoolsAddHealthCheckRequest--; |
| 3843 return o; | 3988 return o; |
| 3844 } | 3989 } |
| 3845 | 3990 |
| 3846 checkTargetPoolsAddHealthCheckRequest(api.TargetPoolsAddHealthCheckRequest o) { | 3991 checkTargetPoolsAddHealthCheckRequest(api.TargetPoolsAddHealthCheckRequest o) { |
| 3847 buildCounterTargetPoolsAddHealthCheckRequest++; | 3992 buildCounterTargetPoolsAddHealthCheckRequest++; |
| 3848 if (buildCounterTargetPoolsAddHealthCheckRequest < 3) { | 3993 if (buildCounterTargetPoolsAddHealthCheckRequest < 3) { |
| 3849 checkUnnamed927(o.healthChecks); | 3994 checkUnnamed905(o.healthChecks); |
| 3850 } | 3995 } |
| 3851 buildCounterTargetPoolsAddHealthCheckRequest--; | 3996 buildCounterTargetPoolsAddHealthCheckRequest--; |
| 3852 } | 3997 } |
| 3853 | 3998 |
| 3854 buildUnnamed928() { | 3999 buildUnnamed906() { |
| 3855 var o = new core.List<api.InstanceReference>(); | 4000 var o = new core.List<api.InstanceReference>(); |
| 3856 o.add(buildInstanceReference()); | 4001 o.add(buildInstanceReference()); |
| 3857 o.add(buildInstanceReference()); | 4002 o.add(buildInstanceReference()); |
| 3858 return o; | 4003 return o; |
| 3859 } | 4004 } |
| 3860 | 4005 |
| 3861 checkUnnamed928(core.List<api.InstanceReference> o) { | 4006 checkUnnamed906(core.List<api.InstanceReference> o) { |
| 3862 unittest.expect(o, unittest.hasLength(2)); | 4007 unittest.expect(o, unittest.hasLength(2)); |
| 3863 checkInstanceReference(o[0]); | 4008 checkInstanceReference(o[0]); |
| 3864 checkInstanceReference(o[1]); | 4009 checkInstanceReference(o[1]); |
| 3865 } | 4010 } |
| 3866 | 4011 |
| 3867 core.int buildCounterTargetPoolsAddInstanceRequest = 0; | 4012 core.int buildCounterTargetPoolsAddInstanceRequest = 0; |
| 3868 buildTargetPoolsAddInstanceRequest() { | 4013 buildTargetPoolsAddInstanceRequest() { |
| 3869 var o = new api.TargetPoolsAddInstanceRequest(); | 4014 var o = new api.TargetPoolsAddInstanceRequest(); |
| 3870 buildCounterTargetPoolsAddInstanceRequest++; | 4015 buildCounterTargetPoolsAddInstanceRequest++; |
| 3871 if (buildCounterTargetPoolsAddInstanceRequest < 3) { | 4016 if (buildCounterTargetPoolsAddInstanceRequest < 3) { |
| 3872 o.instances = buildUnnamed928(); | 4017 o.instances = buildUnnamed906(); |
| 3873 } | 4018 } |
| 3874 buildCounterTargetPoolsAddInstanceRequest--; | 4019 buildCounterTargetPoolsAddInstanceRequest--; |
| 3875 return o; | 4020 return o; |
| 3876 } | 4021 } |
| 3877 | 4022 |
| 3878 checkTargetPoolsAddInstanceRequest(api.TargetPoolsAddInstanceRequest o) { | 4023 checkTargetPoolsAddInstanceRequest(api.TargetPoolsAddInstanceRequest o) { |
| 3879 buildCounterTargetPoolsAddInstanceRequest++; | 4024 buildCounterTargetPoolsAddInstanceRequest++; |
| 3880 if (buildCounterTargetPoolsAddInstanceRequest < 3) { | 4025 if (buildCounterTargetPoolsAddInstanceRequest < 3) { |
| 3881 checkUnnamed928(o.instances); | 4026 checkUnnamed906(o.instances); |
| 3882 } | 4027 } |
| 3883 buildCounterTargetPoolsAddInstanceRequest--; | 4028 buildCounterTargetPoolsAddInstanceRequest--; |
| 3884 } | 4029 } |
| 3885 | 4030 |
| 3886 buildUnnamed929() { | 4031 buildUnnamed907() { |
| 3887 var o = new core.List<api.HealthCheckReference>(); | 4032 var o = new core.List<api.HealthCheckReference>(); |
| 3888 o.add(buildHealthCheckReference()); | 4033 o.add(buildHealthCheckReference()); |
| 3889 o.add(buildHealthCheckReference()); | 4034 o.add(buildHealthCheckReference()); |
| 3890 return o; | 4035 return o; |
| 3891 } | 4036 } |
| 3892 | 4037 |
| 3893 checkUnnamed929(core.List<api.HealthCheckReference> o) { | 4038 checkUnnamed907(core.List<api.HealthCheckReference> o) { |
| 3894 unittest.expect(o, unittest.hasLength(2)); | 4039 unittest.expect(o, unittest.hasLength(2)); |
| 3895 checkHealthCheckReference(o[0]); | 4040 checkHealthCheckReference(o[0]); |
| 3896 checkHealthCheckReference(o[1]); | 4041 checkHealthCheckReference(o[1]); |
| 3897 } | 4042 } |
| 3898 | 4043 |
| 3899 core.int buildCounterTargetPoolsRemoveHealthCheckRequest = 0; | 4044 core.int buildCounterTargetPoolsRemoveHealthCheckRequest = 0; |
| 3900 buildTargetPoolsRemoveHealthCheckRequest() { | 4045 buildTargetPoolsRemoveHealthCheckRequest() { |
| 3901 var o = new api.TargetPoolsRemoveHealthCheckRequest(); | 4046 var o = new api.TargetPoolsRemoveHealthCheckRequest(); |
| 3902 buildCounterTargetPoolsRemoveHealthCheckRequest++; | 4047 buildCounterTargetPoolsRemoveHealthCheckRequest++; |
| 3903 if (buildCounterTargetPoolsRemoveHealthCheckRequest < 3) { | 4048 if (buildCounterTargetPoolsRemoveHealthCheckRequest < 3) { |
| 3904 o.healthChecks = buildUnnamed929(); | 4049 o.healthChecks = buildUnnamed907(); |
| 3905 } | 4050 } |
| 3906 buildCounterTargetPoolsRemoveHealthCheckRequest--; | 4051 buildCounterTargetPoolsRemoveHealthCheckRequest--; |
| 3907 return o; | 4052 return o; |
| 3908 } | 4053 } |
| 3909 | 4054 |
| 3910 checkTargetPoolsRemoveHealthCheckRequest(api.TargetPoolsRemoveHealthCheckRequest
o) { | 4055 checkTargetPoolsRemoveHealthCheckRequest(api.TargetPoolsRemoveHealthCheckRequest
o) { |
| 3911 buildCounterTargetPoolsRemoveHealthCheckRequest++; | 4056 buildCounterTargetPoolsRemoveHealthCheckRequest++; |
| 3912 if (buildCounterTargetPoolsRemoveHealthCheckRequest < 3) { | 4057 if (buildCounterTargetPoolsRemoveHealthCheckRequest < 3) { |
| 3913 checkUnnamed929(o.healthChecks); | 4058 checkUnnamed907(o.healthChecks); |
| 3914 } | 4059 } |
| 3915 buildCounterTargetPoolsRemoveHealthCheckRequest--; | 4060 buildCounterTargetPoolsRemoveHealthCheckRequest--; |
| 3916 } | 4061 } |
| 3917 | 4062 |
| 3918 buildUnnamed930() { | 4063 buildUnnamed908() { |
| 3919 var o = new core.List<api.InstanceReference>(); | 4064 var o = new core.List<api.InstanceReference>(); |
| 3920 o.add(buildInstanceReference()); | 4065 o.add(buildInstanceReference()); |
| 3921 o.add(buildInstanceReference()); | 4066 o.add(buildInstanceReference()); |
| 3922 return o; | 4067 return o; |
| 3923 } | 4068 } |
| 3924 | 4069 |
| 3925 checkUnnamed930(core.List<api.InstanceReference> o) { | 4070 checkUnnamed908(core.List<api.InstanceReference> o) { |
| 3926 unittest.expect(o, unittest.hasLength(2)); | 4071 unittest.expect(o, unittest.hasLength(2)); |
| 3927 checkInstanceReference(o[0]); | 4072 checkInstanceReference(o[0]); |
| 3928 checkInstanceReference(o[1]); | 4073 checkInstanceReference(o[1]); |
| 3929 } | 4074 } |
| 3930 | 4075 |
| 3931 core.int buildCounterTargetPoolsRemoveInstanceRequest = 0; | 4076 core.int buildCounterTargetPoolsRemoveInstanceRequest = 0; |
| 3932 buildTargetPoolsRemoveInstanceRequest() { | 4077 buildTargetPoolsRemoveInstanceRequest() { |
| 3933 var o = new api.TargetPoolsRemoveInstanceRequest(); | 4078 var o = new api.TargetPoolsRemoveInstanceRequest(); |
| 3934 buildCounterTargetPoolsRemoveInstanceRequest++; | 4079 buildCounterTargetPoolsRemoveInstanceRequest++; |
| 3935 if (buildCounterTargetPoolsRemoveInstanceRequest < 3) { | 4080 if (buildCounterTargetPoolsRemoveInstanceRequest < 3) { |
| 3936 o.instances = buildUnnamed930(); | 4081 o.instances = buildUnnamed908(); |
| 3937 } | 4082 } |
| 3938 buildCounterTargetPoolsRemoveInstanceRequest--; | 4083 buildCounterTargetPoolsRemoveInstanceRequest--; |
| 3939 return o; | 4084 return o; |
| 3940 } | 4085 } |
| 3941 | 4086 |
| 3942 checkTargetPoolsRemoveInstanceRequest(api.TargetPoolsRemoveInstanceRequest o) { | 4087 checkTargetPoolsRemoveInstanceRequest(api.TargetPoolsRemoveInstanceRequest o) { |
| 3943 buildCounterTargetPoolsRemoveInstanceRequest++; | 4088 buildCounterTargetPoolsRemoveInstanceRequest++; |
| 3944 if (buildCounterTargetPoolsRemoveInstanceRequest < 3) { | 4089 if (buildCounterTargetPoolsRemoveInstanceRequest < 3) { |
| 3945 checkUnnamed930(o.instances); | 4090 checkUnnamed908(o.instances); |
| 3946 } | 4091 } |
| 3947 buildCounterTargetPoolsRemoveInstanceRequest--; | 4092 buildCounterTargetPoolsRemoveInstanceRequest--; |
| 3948 } | 4093 } |
| 3949 | 4094 |
| 3950 buildUnnamed931() { | 4095 buildUnnamed909() { |
| 3951 var o = new core.List<api.TargetPool>(); | 4096 var o = new core.List<api.TargetPool>(); |
| 3952 o.add(buildTargetPool()); | 4097 o.add(buildTargetPool()); |
| 3953 o.add(buildTargetPool()); | 4098 o.add(buildTargetPool()); |
| 3954 return o; | 4099 return o; |
| 3955 } | 4100 } |
| 3956 | 4101 |
| 3957 checkUnnamed931(core.List<api.TargetPool> o) { | 4102 checkUnnamed909(core.List<api.TargetPool> o) { |
| 3958 unittest.expect(o, unittest.hasLength(2)); | 4103 unittest.expect(o, unittest.hasLength(2)); |
| 3959 checkTargetPool(o[0]); | 4104 checkTargetPool(o[0]); |
| 3960 checkTargetPool(o[1]); | 4105 checkTargetPool(o[1]); |
| 3961 } | 4106 } |
| 3962 | 4107 |
| 3963 core.int buildCounterTargetPoolsScopedListWarningData = 0; | 4108 core.int buildCounterTargetPoolsScopedListWarningData = 0; |
| 3964 buildTargetPoolsScopedListWarningData() { | 4109 buildTargetPoolsScopedListWarningData() { |
| 3965 var o = new api.TargetPoolsScopedListWarningData(); | 4110 var o = new api.TargetPoolsScopedListWarningData(); |
| 3966 buildCounterTargetPoolsScopedListWarningData++; | 4111 buildCounterTargetPoolsScopedListWarningData++; |
| 3967 if (buildCounterTargetPoolsScopedListWarningData < 3) { | 4112 if (buildCounterTargetPoolsScopedListWarningData < 3) { |
| 3968 o.key = "foo"; | 4113 o.key = "foo"; |
| 3969 o.value = "foo"; | 4114 o.value = "foo"; |
| 3970 } | 4115 } |
| 3971 buildCounterTargetPoolsScopedListWarningData--; | 4116 buildCounterTargetPoolsScopedListWarningData--; |
| 3972 return o; | 4117 return o; |
| 3973 } | 4118 } |
| 3974 | 4119 |
| 3975 checkTargetPoolsScopedListWarningData(api.TargetPoolsScopedListWarningData o) { | 4120 checkTargetPoolsScopedListWarningData(api.TargetPoolsScopedListWarningData o) { |
| 3976 buildCounterTargetPoolsScopedListWarningData++; | 4121 buildCounterTargetPoolsScopedListWarningData++; |
| 3977 if (buildCounterTargetPoolsScopedListWarningData < 3) { | 4122 if (buildCounterTargetPoolsScopedListWarningData < 3) { |
| 3978 unittest.expect(o.key, unittest.equals('foo')); | 4123 unittest.expect(o.key, unittest.equals('foo')); |
| 3979 unittest.expect(o.value, unittest.equals('foo')); | 4124 unittest.expect(o.value, unittest.equals('foo')); |
| 3980 } | 4125 } |
| 3981 buildCounterTargetPoolsScopedListWarningData--; | 4126 buildCounterTargetPoolsScopedListWarningData--; |
| 3982 } | 4127 } |
| 3983 | 4128 |
| 3984 buildUnnamed932() { | 4129 buildUnnamed910() { |
| 3985 var o = new core.List<api.TargetPoolsScopedListWarningData>(); | 4130 var o = new core.List<api.TargetPoolsScopedListWarningData>(); |
| 3986 o.add(buildTargetPoolsScopedListWarningData()); | 4131 o.add(buildTargetPoolsScopedListWarningData()); |
| 3987 o.add(buildTargetPoolsScopedListWarningData()); | 4132 o.add(buildTargetPoolsScopedListWarningData()); |
| 3988 return o; | 4133 return o; |
| 3989 } | 4134 } |
| 3990 | 4135 |
| 3991 checkUnnamed932(core.List<api.TargetPoolsScopedListWarningData> o) { | 4136 checkUnnamed910(core.List<api.TargetPoolsScopedListWarningData> o) { |
| 3992 unittest.expect(o, unittest.hasLength(2)); | 4137 unittest.expect(o, unittest.hasLength(2)); |
| 3993 checkTargetPoolsScopedListWarningData(o[0]); | 4138 checkTargetPoolsScopedListWarningData(o[0]); |
| 3994 checkTargetPoolsScopedListWarningData(o[1]); | 4139 checkTargetPoolsScopedListWarningData(o[1]); |
| 3995 } | 4140 } |
| 3996 | 4141 |
| 3997 core.int buildCounterTargetPoolsScopedListWarning = 0; | 4142 core.int buildCounterTargetPoolsScopedListWarning = 0; |
| 3998 buildTargetPoolsScopedListWarning() { | 4143 buildTargetPoolsScopedListWarning() { |
| 3999 var o = new api.TargetPoolsScopedListWarning(); | 4144 var o = new api.TargetPoolsScopedListWarning(); |
| 4000 buildCounterTargetPoolsScopedListWarning++; | 4145 buildCounterTargetPoolsScopedListWarning++; |
| 4001 if (buildCounterTargetPoolsScopedListWarning < 3) { | 4146 if (buildCounterTargetPoolsScopedListWarning < 3) { |
| 4002 o.code = "foo"; | 4147 o.code = "foo"; |
| 4003 o.data = buildUnnamed932(); | 4148 o.data = buildUnnamed910(); |
| 4004 o.message = "foo"; | 4149 o.message = "foo"; |
| 4005 } | 4150 } |
| 4006 buildCounterTargetPoolsScopedListWarning--; | 4151 buildCounterTargetPoolsScopedListWarning--; |
| 4007 return o; | 4152 return o; |
| 4008 } | 4153 } |
| 4009 | 4154 |
| 4010 checkTargetPoolsScopedListWarning(api.TargetPoolsScopedListWarning o) { | 4155 checkTargetPoolsScopedListWarning(api.TargetPoolsScopedListWarning o) { |
| 4011 buildCounterTargetPoolsScopedListWarning++; | 4156 buildCounterTargetPoolsScopedListWarning++; |
| 4012 if (buildCounterTargetPoolsScopedListWarning < 3) { | 4157 if (buildCounterTargetPoolsScopedListWarning < 3) { |
| 4013 unittest.expect(o.code, unittest.equals('foo')); | 4158 unittest.expect(o.code, unittest.equals('foo')); |
| 4014 checkUnnamed932(o.data); | 4159 checkUnnamed910(o.data); |
| 4015 unittest.expect(o.message, unittest.equals('foo')); | 4160 unittest.expect(o.message, unittest.equals('foo')); |
| 4016 } | 4161 } |
| 4017 buildCounterTargetPoolsScopedListWarning--; | 4162 buildCounterTargetPoolsScopedListWarning--; |
| 4018 } | 4163 } |
| 4019 | 4164 |
| 4020 core.int buildCounterTargetPoolsScopedList = 0; | 4165 core.int buildCounterTargetPoolsScopedList = 0; |
| 4021 buildTargetPoolsScopedList() { | 4166 buildTargetPoolsScopedList() { |
| 4022 var o = new api.TargetPoolsScopedList(); | 4167 var o = new api.TargetPoolsScopedList(); |
| 4023 buildCounterTargetPoolsScopedList++; | 4168 buildCounterTargetPoolsScopedList++; |
| 4024 if (buildCounterTargetPoolsScopedList < 3) { | 4169 if (buildCounterTargetPoolsScopedList < 3) { |
| 4025 o.targetPools = buildUnnamed931(); | 4170 o.targetPools = buildUnnamed909(); |
| 4026 o.warning = buildTargetPoolsScopedListWarning(); | 4171 o.warning = buildTargetPoolsScopedListWarning(); |
| 4027 } | 4172 } |
| 4028 buildCounterTargetPoolsScopedList--; | 4173 buildCounterTargetPoolsScopedList--; |
| 4029 return o; | 4174 return o; |
| 4030 } | 4175 } |
| 4031 | 4176 |
| 4032 checkTargetPoolsScopedList(api.TargetPoolsScopedList o) { | 4177 checkTargetPoolsScopedList(api.TargetPoolsScopedList o) { |
| 4033 buildCounterTargetPoolsScopedList++; | 4178 buildCounterTargetPoolsScopedList++; |
| 4034 if (buildCounterTargetPoolsScopedList < 3) { | 4179 if (buildCounterTargetPoolsScopedList < 3) { |
| 4035 checkUnnamed931(o.targetPools); | 4180 checkUnnamed909(o.targetPools); |
| 4036 checkTargetPoolsScopedListWarning(o.warning); | 4181 checkTargetPoolsScopedListWarning(o.warning); |
| 4037 } | 4182 } |
| 4038 buildCounterTargetPoolsScopedList--; | 4183 buildCounterTargetPoolsScopedList--; |
| 4039 } | 4184 } |
| 4040 | 4185 |
| 4041 core.int buildCounterTargetReference = 0; | 4186 core.int buildCounterTargetReference = 0; |
| 4042 buildTargetReference() { | 4187 buildTargetReference() { |
| 4043 var o = new api.TargetReference(); | 4188 var o = new api.TargetReference(); |
| 4044 buildCounterTargetReference++; | 4189 buildCounterTargetReference++; |
| 4045 if (buildCounterTargetReference < 3) { | 4190 if (buildCounterTargetReference < 3) { |
| (...skipping 29 matching lines...) Expand all Loading... |
| 4075 buildCounterTestFailure++; | 4220 buildCounterTestFailure++; |
| 4076 if (buildCounterTestFailure < 3) { | 4221 if (buildCounterTestFailure < 3) { |
| 4077 unittest.expect(o.actualService, unittest.equals('foo')); | 4222 unittest.expect(o.actualService, unittest.equals('foo')); |
| 4078 unittest.expect(o.expectedService, unittest.equals('foo')); | 4223 unittest.expect(o.expectedService, unittest.equals('foo')); |
| 4079 unittest.expect(o.host, unittest.equals('foo')); | 4224 unittest.expect(o.host, unittest.equals('foo')); |
| 4080 unittest.expect(o.path, unittest.equals('foo')); | 4225 unittest.expect(o.path, unittest.equals('foo')); |
| 4081 } | 4226 } |
| 4082 buildCounterTestFailure--; | 4227 buildCounterTestFailure--; |
| 4083 } | 4228 } |
| 4084 | 4229 |
| 4085 buildUnnamed933() { | 4230 buildUnnamed911() { |
| 4086 var o = new core.List<api.HostRule>(); | 4231 var o = new core.List<api.HostRule>(); |
| 4087 o.add(buildHostRule()); | 4232 o.add(buildHostRule()); |
| 4088 o.add(buildHostRule()); | 4233 o.add(buildHostRule()); |
| 4089 return o; | 4234 return o; |
| 4090 } | 4235 } |
| 4091 | 4236 |
| 4092 checkUnnamed933(core.List<api.HostRule> o) { | 4237 checkUnnamed911(core.List<api.HostRule> o) { |
| 4093 unittest.expect(o, unittest.hasLength(2)); | 4238 unittest.expect(o, unittest.hasLength(2)); |
| 4094 checkHostRule(o[0]); | 4239 checkHostRule(o[0]); |
| 4095 checkHostRule(o[1]); | 4240 checkHostRule(o[1]); |
| 4096 } | 4241 } |
| 4097 | 4242 |
| 4098 buildUnnamed934() { | 4243 buildUnnamed912() { |
| 4099 var o = new core.List<api.PathMatcher>(); | 4244 var o = new core.List<api.PathMatcher>(); |
| 4100 o.add(buildPathMatcher()); | 4245 o.add(buildPathMatcher()); |
| 4101 o.add(buildPathMatcher()); | 4246 o.add(buildPathMatcher()); |
| 4102 return o; | 4247 return o; |
| 4103 } | 4248 } |
| 4104 | 4249 |
| 4105 checkUnnamed934(core.List<api.PathMatcher> o) { | 4250 checkUnnamed912(core.List<api.PathMatcher> o) { |
| 4106 unittest.expect(o, unittest.hasLength(2)); | 4251 unittest.expect(o, unittest.hasLength(2)); |
| 4107 checkPathMatcher(o[0]); | 4252 checkPathMatcher(o[0]); |
| 4108 checkPathMatcher(o[1]); | 4253 checkPathMatcher(o[1]); |
| 4109 } | 4254 } |
| 4110 | 4255 |
| 4111 buildUnnamed935() { | 4256 buildUnnamed913() { |
| 4112 var o = new core.List<api.UrlMapTest>(); | 4257 var o = new core.List<api.UrlMapTest>(); |
| 4113 o.add(buildUrlMapTest()); | 4258 o.add(buildUrlMapTest()); |
| 4114 o.add(buildUrlMapTest()); | 4259 o.add(buildUrlMapTest()); |
| 4115 return o; | 4260 return o; |
| 4116 } | 4261 } |
| 4117 | 4262 |
| 4118 checkUnnamed935(core.List<api.UrlMapTest> o) { | 4263 checkUnnamed913(core.List<api.UrlMapTest> o) { |
| 4119 unittest.expect(o, unittest.hasLength(2)); | 4264 unittest.expect(o, unittest.hasLength(2)); |
| 4120 checkUrlMapTest(o[0]); | 4265 checkUrlMapTest(o[0]); |
| 4121 checkUrlMapTest(o[1]); | 4266 checkUrlMapTest(o[1]); |
| 4122 } | 4267 } |
| 4123 | 4268 |
| 4124 core.int buildCounterUrlMap = 0; | 4269 core.int buildCounterUrlMap = 0; |
| 4125 buildUrlMap() { | 4270 buildUrlMap() { |
| 4126 var o = new api.UrlMap(); | 4271 var o = new api.UrlMap(); |
| 4127 buildCounterUrlMap++; | 4272 buildCounterUrlMap++; |
| 4128 if (buildCounterUrlMap < 3) { | 4273 if (buildCounterUrlMap < 3) { |
| 4129 o.creationTimestamp = "foo"; | 4274 o.creationTimestamp = "foo"; |
| 4130 o.defaultService = "foo"; | 4275 o.defaultService = "foo"; |
| 4131 o.description = "foo"; | 4276 o.description = "foo"; |
| 4132 o.fingerprint = "foo"; | 4277 o.fingerprint = "foo"; |
| 4133 o.hostRules = buildUnnamed933(); | 4278 o.hostRules = buildUnnamed911(); |
| 4134 o.id = "foo"; | 4279 o.id = "foo"; |
| 4135 o.kind = "foo"; | 4280 o.kind = "foo"; |
| 4136 o.name = "foo"; | 4281 o.name = "foo"; |
| 4137 o.pathMatchers = buildUnnamed934(); | 4282 o.pathMatchers = buildUnnamed912(); |
| 4138 o.selfLink = "foo"; | 4283 o.selfLink = "foo"; |
| 4139 o.tests = buildUnnamed935(); | 4284 o.tests = buildUnnamed913(); |
| 4140 } | 4285 } |
| 4141 buildCounterUrlMap--; | 4286 buildCounterUrlMap--; |
| 4142 return o; | 4287 return o; |
| 4143 } | 4288 } |
| 4144 | 4289 |
| 4145 checkUrlMap(api.UrlMap o) { | 4290 checkUrlMap(api.UrlMap o) { |
| 4146 buildCounterUrlMap++; | 4291 buildCounterUrlMap++; |
| 4147 if (buildCounterUrlMap < 3) { | 4292 if (buildCounterUrlMap < 3) { |
| 4148 unittest.expect(o.creationTimestamp, unittest.equals('foo')); | 4293 unittest.expect(o.creationTimestamp, unittest.equals('foo')); |
| 4149 unittest.expect(o.defaultService, unittest.equals('foo')); | 4294 unittest.expect(o.defaultService, unittest.equals('foo')); |
| 4150 unittest.expect(o.description, unittest.equals('foo')); | 4295 unittest.expect(o.description, unittest.equals('foo')); |
| 4151 unittest.expect(o.fingerprint, unittest.equals('foo')); | 4296 unittest.expect(o.fingerprint, unittest.equals('foo')); |
| 4152 checkUnnamed933(o.hostRules); | 4297 checkUnnamed911(o.hostRules); |
| 4153 unittest.expect(o.id, unittest.equals('foo')); | 4298 unittest.expect(o.id, unittest.equals('foo')); |
| 4154 unittest.expect(o.kind, unittest.equals('foo')); | 4299 unittest.expect(o.kind, unittest.equals('foo')); |
| 4155 unittest.expect(o.name, unittest.equals('foo')); | 4300 unittest.expect(o.name, unittest.equals('foo')); |
| 4156 checkUnnamed934(o.pathMatchers); | 4301 checkUnnamed912(o.pathMatchers); |
| 4157 unittest.expect(o.selfLink, unittest.equals('foo')); | 4302 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 4158 checkUnnamed935(o.tests); | 4303 checkUnnamed913(o.tests); |
| 4159 } | 4304 } |
| 4160 buildCounterUrlMap--; | 4305 buildCounterUrlMap--; |
| 4161 } | 4306 } |
| 4162 | 4307 |
| 4163 buildUnnamed936() { | 4308 buildUnnamed914() { |
| 4164 var o = new core.List<api.UrlMap>(); | 4309 var o = new core.List<api.UrlMap>(); |
| 4165 o.add(buildUrlMap()); | 4310 o.add(buildUrlMap()); |
| 4166 o.add(buildUrlMap()); | 4311 o.add(buildUrlMap()); |
| 4167 return o; | 4312 return o; |
| 4168 } | 4313 } |
| 4169 | 4314 |
| 4170 checkUnnamed936(core.List<api.UrlMap> o) { | 4315 checkUnnamed914(core.List<api.UrlMap> o) { |
| 4171 unittest.expect(o, unittest.hasLength(2)); | 4316 unittest.expect(o, unittest.hasLength(2)); |
| 4172 checkUrlMap(o[0]); | 4317 checkUrlMap(o[0]); |
| 4173 checkUrlMap(o[1]); | 4318 checkUrlMap(o[1]); |
| 4174 } | 4319 } |
| 4175 | 4320 |
| 4176 core.int buildCounterUrlMapList = 0; | 4321 core.int buildCounterUrlMapList = 0; |
| 4177 buildUrlMapList() { | 4322 buildUrlMapList() { |
| 4178 var o = new api.UrlMapList(); | 4323 var o = new api.UrlMapList(); |
| 4179 buildCounterUrlMapList++; | 4324 buildCounterUrlMapList++; |
| 4180 if (buildCounterUrlMapList < 3) { | 4325 if (buildCounterUrlMapList < 3) { |
| 4181 o.id = "foo"; | 4326 o.id = "foo"; |
| 4182 o.items = buildUnnamed936(); | 4327 o.items = buildUnnamed914(); |
| 4183 o.kind = "foo"; | 4328 o.kind = "foo"; |
| 4184 o.nextPageToken = "foo"; | 4329 o.nextPageToken = "foo"; |
| 4185 o.selfLink = "foo"; | 4330 o.selfLink = "foo"; |
| 4186 } | 4331 } |
| 4187 buildCounterUrlMapList--; | 4332 buildCounterUrlMapList--; |
| 4188 return o; | 4333 return o; |
| 4189 } | 4334 } |
| 4190 | 4335 |
| 4191 checkUrlMapList(api.UrlMapList o) { | 4336 checkUrlMapList(api.UrlMapList o) { |
| 4192 buildCounterUrlMapList++; | 4337 buildCounterUrlMapList++; |
| 4193 if (buildCounterUrlMapList < 3) { | 4338 if (buildCounterUrlMapList < 3) { |
| 4194 unittest.expect(o.id, unittest.equals('foo')); | 4339 unittest.expect(o.id, unittest.equals('foo')); |
| 4195 checkUnnamed936(o.items); | 4340 checkUnnamed914(o.items); |
| 4196 unittest.expect(o.kind, unittest.equals('foo')); | 4341 unittest.expect(o.kind, unittest.equals('foo')); |
| 4197 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 4342 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 4198 unittest.expect(o.selfLink, unittest.equals('foo')); | 4343 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 4199 } | 4344 } |
| 4200 buildCounterUrlMapList--; | 4345 buildCounterUrlMapList--; |
| 4201 } | 4346 } |
| 4202 | 4347 |
| 4203 core.int buildCounterUrlMapReference = 0; | 4348 core.int buildCounterUrlMapReference = 0; |
| 4204 buildUrlMapReference() { | 4349 buildUrlMapReference() { |
| 4205 var o = new api.UrlMapReference(); | 4350 var o = new api.UrlMapReference(); |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4237 buildCounterUrlMapTest++; | 4382 buildCounterUrlMapTest++; |
| 4238 if (buildCounterUrlMapTest < 3) { | 4383 if (buildCounterUrlMapTest < 3) { |
| 4239 unittest.expect(o.description, unittest.equals('foo')); | 4384 unittest.expect(o.description, unittest.equals('foo')); |
| 4240 unittest.expect(o.host, unittest.equals('foo')); | 4385 unittest.expect(o.host, unittest.equals('foo')); |
| 4241 unittest.expect(o.path, unittest.equals('foo')); | 4386 unittest.expect(o.path, unittest.equals('foo')); |
| 4242 unittest.expect(o.service, unittest.equals('foo')); | 4387 unittest.expect(o.service, unittest.equals('foo')); |
| 4243 } | 4388 } |
| 4244 buildCounterUrlMapTest--; | 4389 buildCounterUrlMapTest--; |
| 4245 } | 4390 } |
| 4246 | 4391 |
| 4247 buildUnnamed937() { | 4392 buildUnnamed915() { |
| 4248 var o = new core.List<core.String>(); | 4393 var o = new core.List<core.String>(); |
| 4249 o.add("foo"); | 4394 o.add("foo"); |
| 4250 o.add("foo"); | 4395 o.add("foo"); |
| 4251 return o; | 4396 return o; |
| 4252 } | 4397 } |
| 4253 | 4398 |
| 4254 checkUnnamed937(core.List<core.String> o) { | 4399 checkUnnamed915(core.List<core.String> o) { |
| 4255 unittest.expect(o, unittest.hasLength(2)); | 4400 unittest.expect(o, unittest.hasLength(2)); |
| 4256 unittest.expect(o[0], unittest.equals('foo')); | 4401 unittest.expect(o[0], unittest.equals('foo')); |
| 4257 unittest.expect(o[1], unittest.equals('foo')); | 4402 unittest.expect(o[1], unittest.equals('foo')); |
| 4258 } | 4403 } |
| 4259 | 4404 |
| 4260 buildUnnamed938() { | 4405 buildUnnamed916() { |
| 4261 var o = new core.List<api.TestFailure>(); | 4406 var o = new core.List<api.TestFailure>(); |
| 4262 o.add(buildTestFailure()); | 4407 o.add(buildTestFailure()); |
| 4263 o.add(buildTestFailure()); | 4408 o.add(buildTestFailure()); |
| 4264 return o; | 4409 return o; |
| 4265 } | 4410 } |
| 4266 | 4411 |
| 4267 checkUnnamed938(core.List<api.TestFailure> o) { | 4412 checkUnnamed916(core.List<api.TestFailure> o) { |
| 4268 unittest.expect(o, unittest.hasLength(2)); | 4413 unittest.expect(o, unittest.hasLength(2)); |
| 4269 checkTestFailure(o[0]); | 4414 checkTestFailure(o[0]); |
| 4270 checkTestFailure(o[1]); | 4415 checkTestFailure(o[1]); |
| 4271 } | 4416 } |
| 4272 | 4417 |
| 4273 core.int buildCounterUrlMapValidationResult = 0; | 4418 core.int buildCounterUrlMapValidationResult = 0; |
| 4274 buildUrlMapValidationResult() { | 4419 buildUrlMapValidationResult() { |
| 4275 var o = new api.UrlMapValidationResult(); | 4420 var o = new api.UrlMapValidationResult(); |
| 4276 buildCounterUrlMapValidationResult++; | 4421 buildCounterUrlMapValidationResult++; |
| 4277 if (buildCounterUrlMapValidationResult < 3) { | 4422 if (buildCounterUrlMapValidationResult < 3) { |
| 4278 o.loadErrors = buildUnnamed937(); | 4423 o.loadErrors = buildUnnamed915(); |
| 4279 o.loadSucceeded = true; | 4424 o.loadSucceeded = true; |
| 4280 o.testFailures = buildUnnamed938(); | 4425 o.testFailures = buildUnnamed916(); |
| 4281 o.testPassed = true; | 4426 o.testPassed = true; |
| 4282 } | 4427 } |
| 4283 buildCounterUrlMapValidationResult--; | 4428 buildCounterUrlMapValidationResult--; |
| 4284 return o; | 4429 return o; |
| 4285 } | 4430 } |
| 4286 | 4431 |
| 4287 checkUrlMapValidationResult(api.UrlMapValidationResult o) { | 4432 checkUrlMapValidationResult(api.UrlMapValidationResult o) { |
| 4288 buildCounterUrlMapValidationResult++; | 4433 buildCounterUrlMapValidationResult++; |
| 4289 if (buildCounterUrlMapValidationResult < 3) { | 4434 if (buildCounterUrlMapValidationResult < 3) { |
| 4290 checkUnnamed937(o.loadErrors); | 4435 checkUnnamed915(o.loadErrors); |
| 4291 unittest.expect(o.loadSucceeded, unittest.isTrue); | 4436 unittest.expect(o.loadSucceeded, unittest.isTrue); |
| 4292 checkUnnamed938(o.testFailures); | 4437 checkUnnamed916(o.testFailures); |
| 4293 unittest.expect(o.testPassed, unittest.isTrue); | 4438 unittest.expect(o.testPassed, unittest.isTrue); |
| 4294 } | 4439 } |
| 4295 buildCounterUrlMapValidationResult--; | 4440 buildCounterUrlMapValidationResult--; |
| 4296 } | 4441 } |
| 4297 | 4442 |
| 4298 core.int buildCounterUrlMapsValidateRequest = 0; | 4443 core.int buildCounterUrlMapsValidateRequest = 0; |
| 4299 buildUrlMapsValidateRequest() { | 4444 buildUrlMapsValidateRequest() { |
| 4300 var o = new api.UrlMapsValidateRequest(); | 4445 var o = new api.UrlMapsValidateRequest(); |
| 4301 buildCounterUrlMapsValidateRequest++; | 4446 buildCounterUrlMapsValidateRequest++; |
| 4302 if (buildCounterUrlMapsValidateRequest < 3) { | 4447 if (buildCounterUrlMapsValidateRequest < 3) { |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4372 buildCounterZoneMaintenanceWindows++; | 4517 buildCounterZoneMaintenanceWindows++; |
| 4373 if (buildCounterZoneMaintenanceWindows < 3) { | 4518 if (buildCounterZoneMaintenanceWindows < 3) { |
| 4374 unittest.expect(o.beginTime, unittest.equals('foo')); | 4519 unittest.expect(o.beginTime, unittest.equals('foo')); |
| 4375 unittest.expect(o.description, unittest.equals('foo')); | 4520 unittest.expect(o.description, unittest.equals('foo')); |
| 4376 unittest.expect(o.endTime, unittest.equals('foo')); | 4521 unittest.expect(o.endTime, unittest.equals('foo')); |
| 4377 unittest.expect(o.name, unittest.equals('foo')); | 4522 unittest.expect(o.name, unittest.equals('foo')); |
| 4378 } | 4523 } |
| 4379 buildCounterZoneMaintenanceWindows--; | 4524 buildCounterZoneMaintenanceWindows--; |
| 4380 } | 4525 } |
| 4381 | 4526 |
| 4382 buildUnnamed939() { | 4527 buildUnnamed917() { |
| 4383 var o = new core.List<api.ZoneMaintenanceWindows>(); | 4528 var o = new core.List<api.ZoneMaintenanceWindows>(); |
| 4384 o.add(buildZoneMaintenanceWindows()); | 4529 o.add(buildZoneMaintenanceWindows()); |
| 4385 o.add(buildZoneMaintenanceWindows()); | 4530 o.add(buildZoneMaintenanceWindows()); |
| 4386 return o; | 4531 return o; |
| 4387 } | 4532 } |
| 4388 | 4533 |
| 4389 checkUnnamed939(core.List<api.ZoneMaintenanceWindows> o) { | 4534 checkUnnamed917(core.List<api.ZoneMaintenanceWindows> o) { |
| 4390 unittest.expect(o, unittest.hasLength(2)); | 4535 unittest.expect(o, unittest.hasLength(2)); |
| 4391 checkZoneMaintenanceWindows(o[0]); | 4536 checkZoneMaintenanceWindows(o[0]); |
| 4392 checkZoneMaintenanceWindows(o[1]); | 4537 checkZoneMaintenanceWindows(o[1]); |
| 4393 } | 4538 } |
| 4394 | 4539 |
| 4395 core.int buildCounterZone = 0; | 4540 core.int buildCounterZone = 0; |
| 4396 buildZone() { | 4541 buildZone() { |
| 4397 var o = new api.Zone(); | 4542 var o = new api.Zone(); |
| 4398 buildCounterZone++; | 4543 buildCounterZone++; |
| 4399 if (buildCounterZone < 3) { | 4544 if (buildCounterZone < 3) { |
| 4400 o.creationTimestamp = "foo"; | 4545 o.creationTimestamp = "foo"; |
| 4401 o.deprecated = buildDeprecationStatus(); | 4546 o.deprecated = buildDeprecationStatus(); |
| 4402 o.description = "foo"; | 4547 o.description = "foo"; |
| 4403 o.id = "foo"; | 4548 o.id = "foo"; |
| 4404 o.kind = "foo"; | 4549 o.kind = "foo"; |
| 4405 o.maintenanceWindows = buildUnnamed939(); | 4550 o.maintenanceWindows = buildUnnamed917(); |
| 4406 o.name = "foo"; | 4551 o.name = "foo"; |
| 4407 o.region = "foo"; | 4552 o.region = "foo"; |
| 4408 o.selfLink = "foo"; | 4553 o.selfLink = "foo"; |
| 4409 o.status = "foo"; | 4554 o.status = "foo"; |
| 4410 } | 4555 } |
| 4411 buildCounterZone--; | 4556 buildCounterZone--; |
| 4412 return o; | 4557 return o; |
| 4413 } | 4558 } |
| 4414 | 4559 |
| 4415 checkZone(api.Zone o) { | 4560 checkZone(api.Zone o) { |
| 4416 buildCounterZone++; | 4561 buildCounterZone++; |
| 4417 if (buildCounterZone < 3) { | 4562 if (buildCounterZone < 3) { |
| 4418 unittest.expect(o.creationTimestamp, unittest.equals('foo')); | 4563 unittest.expect(o.creationTimestamp, unittest.equals('foo')); |
| 4419 checkDeprecationStatus(o.deprecated); | 4564 checkDeprecationStatus(o.deprecated); |
| 4420 unittest.expect(o.description, unittest.equals('foo')); | 4565 unittest.expect(o.description, unittest.equals('foo')); |
| 4421 unittest.expect(o.id, unittest.equals('foo')); | 4566 unittest.expect(o.id, unittest.equals('foo')); |
| 4422 unittest.expect(o.kind, unittest.equals('foo')); | 4567 unittest.expect(o.kind, unittest.equals('foo')); |
| 4423 checkUnnamed939(o.maintenanceWindows); | 4568 checkUnnamed917(o.maintenanceWindows); |
| 4424 unittest.expect(o.name, unittest.equals('foo')); | 4569 unittest.expect(o.name, unittest.equals('foo')); |
| 4425 unittest.expect(o.region, unittest.equals('foo')); | 4570 unittest.expect(o.region, unittest.equals('foo')); |
| 4426 unittest.expect(o.selfLink, unittest.equals('foo')); | 4571 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 4427 unittest.expect(o.status, unittest.equals('foo')); | 4572 unittest.expect(o.status, unittest.equals('foo')); |
| 4428 } | 4573 } |
| 4429 buildCounterZone--; | 4574 buildCounterZone--; |
| 4430 } | 4575 } |
| 4431 | 4576 |
| 4432 buildUnnamed940() { | 4577 buildUnnamed918() { |
| 4433 var o = new core.List<api.Zone>(); | 4578 var o = new core.List<api.Zone>(); |
| 4434 o.add(buildZone()); | 4579 o.add(buildZone()); |
| 4435 o.add(buildZone()); | 4580 o.add(buildZone()); |
| 4436 return o; | 4581 return o; |
| 4437 } | 4582 } |
| 4438 | 4583 |
| 4439 checkUnnamed940(core.List<api.Zone> o) { | 4584 checkUnnamed918(core.List<api.Zone> o) { |
| 4440 unittest.expect(o, unittest.hasLength(2)); | 4585 unittest.expect(o, unittest.hasLength(2)); |
| 4441 checkZone(o[0]); | 4586 checkZone(o[0]); |
| 4442 checkZone(o[1]); | 4587 checkZone(o[1]); |
| 4443 } | 4588 } |
| 4444 | 4589 |
| 4445 core.int buildCounterZoneList = 0; | 4590 core.int buildCounterZoneList = 0; |
| 4446 buildZoneList() { | 4591 buildZoneList() { |
| 4447 var o = new api.ZoneList(); | 4592 var o = new api.ZoneList(); |
| 4448 buildCounterZoneList++; | 4593 buildCounterZoneList++; |
| 4449 if (buildCounterZoneList < 3) { | 4594 if (buildCounterZoneList < 3) { |
| 4450 o.id = "foo"; | 4595 o.id = "foo"; |
| 4451 o.items = buildUnnamed940(); | 4596 o.items = buildUnnamed918(); |
| 4452 o.kind = "foo"; | 4597 o.kind = "foo"; |
| 4453 o.nextPageToken = "foo"; | 4598 o.nextPageToken = "foo"; |
| 4454 o.selfLink = "foo"; | 4599 o.selfLink = "foo"; |
| 4455 } | 4600 } |
| 4456 buildCounterZoneList--; | 4601 buildCounterZoneList--; |
| 4457 return o; | 4602 return o; |
| 4458 } | 4603 } |
| 4459 | 4604 |
| 4460 checkZoneList(api.ZoneList o) { | 4605 checkZoneList(api.ZoneList o) { |
| 4461 buildCounterZoneList++; | 4606 buildCounterZoneList++; |
| 4462 if (buildCounterZoneList < 3) { | 4607 if (buildCounterZoneList < 3) { |
| 4463 unittest.expect(o.id, unittest.equals('foo')); | 4608 unittest.expect(o.id, unittest.equals('foo')); |
| 4464 checkUnnamed940(o.items); | 4609 checkUnnamed918(o.items); |
| 4465 unittest.expect(o.kind, unittest.equals('foo')); | 4610 unittest.expect(o.kind, unittest.equals('foo')); |
| 4466 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 4611 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 4467 unittest.expect(o.selfLink, unittest.equals('foo')); | 4612 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 4468 } | 4613 } |
| 4469 buildCounterZoneList--; | 4614 buildCounterZoneList--; |
| 4470 } | 4615 } |
| 4471 | 4616 |
| 4472 | 4617 |
| 4473 main() { | 4618 main() { |
| 4474 unittest.group("obj-schema-AccessConfig", () { | 4619 unittest.group("obj-schema-AccessConfig", () { |
| (...skipping 403 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4878 | 5023 |
| 4879 unittest.group("obj-schema-InstanceList", () { | 5024 unittest.group("obj-schema-InstanceList", () { |
| 4880 unittest.test("to-json--from-json", () { | 5025 unittest.test("to-json--from-json", () { |
| 4881 var o = buildInstanceList(); | 5026 var o = buildInstanceList(); |
| 4882 var od = new api.InstanceList.fromJson(o.toJson()); | 5027 var od = new api.InstanceList.fromJson(o.toJson()); |
| 4883 checkInstanceList(od); | 5028 checkInstanceList(od); |
| 4884 }); | 5029 }); |
| 4885 }); | 5030 }); |
| 4886 | 5031 |
| 4887 | 5032 |
| 5033 unittest.group("obj-schema-InstanceProperties", () { |
| 5034 unittest.test("to-json--from-json", () { |
| 5035 var o = buildInstanceProperties(); |
| 5036 var od = new api.InstanceProperties.fromJson(o.toJson()); |
| 5037 checkInstanceProperties(od); |
| 5038 }); |
| 5039 }); |
| 5040 |
| 5041 |
| 4888 unittest.group("obj-schema-InstanceReference", () { | 5042 unittest.group("obj-schema-InstanceReference", () { |
| 4889 unittest.test("to-json--from-json", () { | 5043 unittest.test("to-json--from-json", () { |
| 4890 var o = buildInstanceReference(); | 5044 var o = buildInstanceReference(); |
| 4891 var od = new api.InstanceReference.fromJson(o.toJson()); | 5045 var od = new api.InstanceReference.fromJson(o.toJson()); |
| 4892 checkInstanceReference(od); | 5046 checkInstanceReference(od); |
| 4893 }); | 5047 }); |
| 4894 }); | 5048 }); |
| 4895 | 5049 |
| 4896 | 5050 |
| 5051 unittest.group("obj-schema-InstanceTemplate", () { |
| 5052 unittest.test("to-json--from-json", () { |
| 5053 var o = buildInstanceTemplate(); |
| 5054 var od = new api.InstanceTemplate.fromJson(o.toJson()); |
| 5055 checkInstanceTemplate(od); |
| 5056 }); |
| 5057 }); |
| 5058 |
| 5059 |
| 5060 unittest.group("obj-schema-InstanceTemplateList", () { |
| 5061 unittest.test("to-json--from-json", () { |
| 5062 var o = buildInstanceTemplateList(); |
| 5063 var od = new api.InstanceTemplateList.fromJson(o.toJson()); |
| 5064 checkInstanceTemplateList(od); |
| 5065 }); |
| 5066 }); |
| 5067 |
| 5068 |
| 4897 unittest.group("obj-schema-InstancesScopedListWarningData", () { | 5069 unittest.group("obj-schema-InstancesScopedListWarningData", () { |
| 4898 unittest.test("to-json--from-json", () { | 5070 unittest.test("to-json--from-json", () { |
| 4899 var o = buildInstancesScopedListWarningData(); | 5071 var o = buildInstancesScopedListWarningData(); |
| 4900 var od = new api.InstancesScopedListWarningData.fromJson(o.toJson()); | 5072 var od = new api.InstancesScopedListWarningData.fromJson(o.toJson()); |
| 4901 checkInstancesScopedListWarningData(od); | 5073 checkInstancesScopedListWarningData(od); |
| 4902 }); | 5074 }); |
| 4903 }); | 5075 }); |
| 4904 | 5076 |
| 4905 | 5077 |
| 4906 unittest.group("obj-schema-InstancesScopedListWarning", () { | 5078 unittest.group("obj-schema-InstancesScopedListWarning", () { |
| (...skipping 3317 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 8224 return new async.Future.value(common_test.stringResponse(200, h, resp)); | 8396 return new async.Future.value(common_test.stringResponse(200, h, resp)); |
| 8225 }), true); | 8397 }), true); |
| 8226 res.list(arg_project, filter: arg_filter, maxResults: arg_maxResults, page
Token: arg_pageToken).then(unittest.expectAsync(((api.ImageList response) { | 8398 res.list(arg_project, filter: arg_filter, maxResults: arg_maxResults, page
Token: arg_pageToken).then(unittest.expectAsync(((api.ImageList response) { |
| 8227 checkImageList(response); | 8399 checkImageList(response); |
| 8228 }))); | 8400 }))); |
| 8229 }); | 8401 }); |
| 8230 | 8402 |
| 8231 }); | 8403 }); |
| 8232 | 8404 |
| 8233 | 8405 |
| 8406 unittest.group("resource-InstanceTemplatesResourceApi", () { |
| 8407 unittest.test("method--delete", () { |
| 8408 |
| 8409 var mock = new common_test.HttpServerMock(); |
| 8410 api.InstanceTemplatesResourceApi res = new api.ComputeApi(mock).instanceTe
mplates; |
| 8411 var arg_project = "foo"; |
| 8412 var arg_instanceTemplate = "foo"; |
| 8413 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 8414 var path = (req.url).path; |
| 8415 var pathOffset = 0; |
| 8416 var index; |
| 8417 var subPart; |
| 8418 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 8419 pathOffset += 1; |
| 8420 |
| 8421 var query = (req.url).query; |
| 8422 var queryOffset = 0; |
| 8423 var queryMap = {}; |
| 8424 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); |
| 8425 parseBool(n) { |
| 8426 if (n == "true") return true; |
| 8427 if (n == "false") return false; |
| 8428 if (n == null) return null; |
| 8429 throw new core.ArgumentError("Invalid boolean: $n"); |
| 8430 } |
| 8431 if (query.length > 0) { |
| 8432 for (var part in query.split("&")) { |
| 8433 var keyvalue = part.split("="); |
| 8434 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); |
| 8435 } |
| 8436 } |
| 8437 |
| 8438 |
| 8439 var h = { |
| 8440 "content-type" : "application/json; charset=utf-8", |
| 8441 }; |
| 8442 var resp = convert.JSON.encode(buildOperation()); |
| 8443 return new async.Future.value(common_test.stringResponse(200, h, resp)); |
| 8444 }), true); |
| 8445 res.delete(arg_project, arg_instanceTemplate).then(unittest.expectAsync(((
api.Operation response) { |
| 8446 checkOperation(response); |
| 8447 }))); |
| 8448 }); |
| 8449 |
| 8450 unittest.test("method--get", () { |
| 8451 |
| 8452 var mock = new common_test.HttpServerMock(); |
| 8453 api.InstanceTemplatesResourceApi res = new api.ComputeApi(mock).instanceTe
mplates; |
| 8454 var arg_project = "foo"; |
| 8455 var arg_instanceTemplate = "foo"; |
| 8456 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 8457 var path = (req.url).path; |
| 8458 var pathOffset = 0; |
| 8459 var index; |
| 8460 var subPart; |
| 8461 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 8462 pathOffset += 1; |
| 8463 |
| 8464 var query = (req.url).query; |
| 8465 var queryOffset = 0; |
| 8466 var queryMap = {}; |
| 8467 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); |
| 8468 parseBool(n) { |
| 8469 if (n == "true") return true; |
| 8470 if (n == "false") return false; |
| 8471 if (n == null) return null; |
| 8472 throw new core.ArgumentError("Invalid boolean: $n"); |
| 8473 } |
| 8474 if (query.length > 0) { |
| 8475 for (var part in query.split("&")) { |
| 8476 var keyvalue = part.split("="); |
| 8477 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); |
| 8478 } |
| 8479 } |
| 8480 |
| 8481 |
| 8482 var h = { |
| 8483 "content-type" : "application/json; charset=utf-8", |
| 8484 }; |
| 8485 var resp = convert.JSON.encode(buildInstanceTemplate()); |
| 8486 return new async.Future.value(common_test.stringResponse(200, h, resp)); |
| 8487 }), true); |
| 8488 res.get(arg_project, arg_instanceTemplate).then(unittest.expectAsync(((api
.InstanceTemplate response) { |
| 8489 checkInstanceTemplate(response); |
| 8490 }))); |
| 8491 }); |
| 8492 |
| 8493 unittest.test("method--insert", () { |
| 8494 |
| 8495 var mock = new common_test.HttpServerMock(); |
| 8496 api.InstanceTemplatesResourceApi res = new api.ComputeApi(mock).instanceTe
mplates; |
| 8497 var arg_request = buildInstanceTemplate(); |
| 8498 var arg_project = "foo"; |
| 8499 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 8500 var obj = new api.InstanceTemplate.fromJson(json); |
| 8501 checkInstanceTemplate(obj); |
| 8502 |
| 8503 var path = (req.url).path; |
| 8504 var pathOffset = 0; |
| 8505 var index; |
| 8506 var subPart; |
| 8507 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 8508 pathOffset += 1; |
| 8509 |
| 8510 var query = (req.url).query; |
| 8511 var queryOffset = 0; |
| 8512 var queryMap = {}; |
| 8513 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); |
| 8514 parseBool(n) { |
| 8515 if (n == "true") return true; |
| 8516 if (n == "false") return false; |
| 8517 if (n == null) return null; |
| 8518 throw new core.ArgumentError("Invalid boolean: $n"); |
| 8519 } |
| 8520 if (query.length > 0) { |
| 8521 for (var part in query.split("&")) { |
| 8522 var keyvalue = part.split("="); |
| 8523 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); |
| 8524 } |
| 8525 } |
| 8526 |
| 8527 |
| 8528 var h = { |
| 8529 "content-type" : "application/json; charset=utf-8", |
| 8530 }; |
| 8531 var resp = convert.JSON.encode(buildOperation()); |
| 8532 return new async.Future.value(common_test.stringResponse(200, h, resp)); |
| 8533 }), true); |
| 8534 res.insert(arg_request, arg_project).then(unittest.expectAsync(((api.Opera
tion response) { |
| 8535 checkOperation(response); |
| 8536 }))); |
| 8537 }); |
| 8538 |
| 8539 unittest.test("method--list", () { |
| 8540 |
| 8541 var mock = new common_test.HttpServerMock(); |
| 8542 api.InstanceTemplatesResourceApi res = new api.ComputeApi(mock).instanceTe
mplates; |
| 8543 var arg_project = "foo"; |
| 8544 var arg_filter = "foo"; |
| 8545 var arg_maxResults = 42; |
| 8546 var arg_pageToken = "foo"; |
| 8547 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 8548 var path = (req.url).path; |
| 8549 var pathOffset = 0; |
| 8550 var index; |
| 8551 var subPart; |
| 8552 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 8553 pathOffset += 1; |
| 8554 |
| 8555 var query = (req.url).query; |
| 8556 var queryOffset = 0; |
| 8557 var queryMap = {}; |
| 8558 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); |
| 8559 parseBool(n) { |
| 8560 if (n == "true") return true; |
| 8561 if (n == "false") return false; |
| 8562 if (n == null) return null; |
| 8563 throw new core.ArgumentError("Invalid boolean: $n"); |
| 8564 } |
| 8565 if (query.length > 0) { |
| 8566 for (var part in query.split("&")) { |
| 8567 var keyvalue = part.split("="); |
| 8568 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); |
| 8569 } |
| 8570 } |
| 8571 unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter)); |
| 8572 unittest.expect(core.int.parse(queryMap["maxResults"].first), unittest.e
quals(arg_maxResults)); |
| 8573 unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageTok
en)); |
| 8574 |
| 8575 |
| 8576 var h = { |
| 8577 "content-type" : "application/json; charset=utf-8", |
| 8578 }; |
| 8579 var resp = convert.JSON.encode(buildInstanceTemplateList()); |
| 8580 return new async.Future.value(common_test.stringResponse(200, h, resp)); |
| 8581 }), true); |
| 8582 res.list(arg_project, filter: arg_filter, maxResults: arg_maxResults, page
Token: arg_pageToken).then(unittest.expectAsync(((api.InstanceTemplateList respo
nse) { |
| 8583 checkInstanceTemplateList(response); |
| 8584 }))); |
| 8585 }); |
| 8586 |
| 8587 }); |
| 8588 |
| 8589 |
| 8234 unittest.group("resource-InstancesResourceApi", () { | 8590 unittest.group("resource-InstancesResourceApi", () { |
| 8235 unittest.test("method--addAccessConfig", () { | 8591 unittest.test("method--addAccessConfig", () { |
| 8236 | 8592 |
| 8237 var mock = new common_test.HttpServerMock(); | 8593 var mock = new common_test.HttpServerMock(); |
| 8238 api.InstancesResourceApi res = new api.ComputeApi(mock).instances; | 8594 api.InstancesResourceApi res = new api.ComputeApi(mock).instances; |
| 8239 var arg_request = buildAccessConfig(); | 8595 var arg_request = buildAccessConfig(); |
| 8240 var arg_project = "foo"; | 8596 var arg_project = "foo"; |
| 8241 var arg_zone = "foo"; | 8597 var arg_zone = "foo"; |
| 8242 var arg_instance = "foo"; | 8598 var arg_instance = "foo"; |
| 8243 var arg_networkInterface = "foo"; | 8599 var arg_networkInterface = "foo"; |
| (...skipping 3312 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 11556 res.list(arg_project, filter: arg_filter, maxResults: arg_maxResults, page
Token: arg_pageToken).then(unittest.expectAsync(((api.ZoneList response) { | 11912 res.list(arg_project, filter: arg_filter, maxResults: arg_maxResults, page
Token: arg_pageToken).then(unittest.expectAsync(((api.ZoneList response) { |
| 11557 checkZoneList(response); | 11913 checkZoneList(response); |
| 11558 }))); | 11914 }))); |
| 11559 }); | 11915 }); |
| 11560 | 11916 |
| 11561 }); | 11917 }); |
| 11562 | 11918 |
| 11563 | 11919 |
| 11564 } | 11920 } |
| 11565 | 11921 |
| OLD | NEW |