| OLD | NEW |
| 1 library googleapis.drive.v2.test; | 1 library googleapis.drive.v2.test; |
| 2 | 2 |
| 3 import "dart:core" as core; | 3 import "dart:core" as core; |
| 4 import "dart:collection" as collection; | 4 import "dart:collection" as collection; |
| 5 import "dart:async" as async; | 5 import "dart:async" as async; |
| 6 import "dart:convert" as convert; | 6 import "dart:convert" as convert; |
| 7 | 7 |
| 8 import 'package:http/http.dart' as http; | 8 import 'package:http/http.dart' as http; |
| 9 import 'package:http/testing.dart' as http_testing; | 9 import 'package:http/testing.dart' as http_testing; |
| 10 import 'package:unittest/unittest.dart' as unittest; | 10 import 'package:unittest/unittest.dart' as unittest; |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 44 } | 44 } |
| 45 } | 45 } |
| 46 } | 46 } |
| 47 | 47 |
| 48 http.StreamedResponse stringResponse( | 48 http.StreamedResponse stringResponse( |
| 49 core.int status, core.Map headers, core.String body) { | 49 core.int status, core.Map headers, core.String body) { |
| 50 var stream = new async.Stream.fromIterable([convert.UTF8.encode(body)]); | 50 var stream = new async.Stream.fromIterable([convert.UTF8.encode(body)]); |
| 51 return new http.StreamedResponse(stream, status, headers: headers); | 51 return new http.StreamedResponse(stream, status, headers: headers); |
| 52 } | 52 } |
| 53 | 53 |
| 54 buildUnnamed610() { | 54 buildUnnamed631() { |
| 55 var o = new core.List<core.String>(); | 55 var o = new core.List<core.String>(); |
| 56 o.add("foo"); | 56 o.add("foo"); |
| 57 o.add("foo"); | 57 o.add("foo"); |
| 58 return o; | 58 return o; |
| 59 } | 59 } |
| 60 | 60 |
| 61 checkUnnamed610(core.List<core.String> o) { | 61 checkUnnamed631(core.List<core.String> o) { |
| 62 unittest.expect(o, unittest.hasLength(2)); | 62 unittest.expect(o, unittest.hasLength(2)); |
| 63 unittest.expect(o[0], unittest.equals('foo')); | 63 unittest.expect(o[0], unittest.equals('foo')); |
| 64 unittest.expect(o[1], unittest.equals('foo')); | 64 unittest.expect(o[1], unittest.equals('foo')); |
| 65 } | 65 } |
| 66 | 66 |
| 67 core.int buildCounterAboutAdditionalRoleInfoRoleSets = 0; | 67 core.int buildCounterAboutAdditionalRoleInfoRoleSets = 0; |
| 68 buildAboutAdditionalRoleInfoRoleSets() { | 68 buildAboutAdditionalRoleInfoRoleSets() { |
| 69 var o = new api.AboutAdditionalRoleInfoRoleSets(); | 69 var o = new api.AboutAdditionalRoleInfoRoleSets(); |
| 70 buildCounterAboutAdditionalRoleInfoRoleSets++; | 70 buildCounterAboutAdditionalRoleInfoRoleSets++; |
| 71 if (buildCounterAboutAdditionalRoleInfoRoleSets < 3) { | 71 if (buildCounterAboutAdditionalRoleInfoRoleSets < 3) { |
| 72 o.additionalRoles = buildUnnamed610(); | 72 o.additionalRoles = buildUnnamed631(); |
| 73 o.primaryRole = "foo"; | 73 o.primaryRole = "foo"; |
| 74 } | 74 } |
| 75 buildCounterAboutAdditionalRoleInfoRoleSets--; | 75 buildCounterAboutAdditionalRoleInfoRoleSets--; |
| 76 return o; | 76 return o; |
| 77 } | 77 } |
| 78 | 78 |
| 79 checkAboutAdditionalRoleInfoRoleSets(api.AboutAdditionalRoleInfoRoleSets o) { | 79 checkAboutAdditionalRoleInfoRoleSets(api.AboutAdditionalRoleInfoRoleSets o) { |
| 80 buildCounterAboutAdditionalRoleInfoRoleSets++; | 80 buildCounterAboutAdditionalRoleInfoRoleSets++; |
| 81 if (buildCounterAboutAdditionalRoleInfoRoleSets < 3) { | 81 if (buildCounterAboutAdditionalRoleInfoRoleSets < 3) { |
| 82 checkUnnamed610(o.additionalRoles); | 82 checkUnnamed631(o.additionalRoles); |
| 83 unittest.expect(o.primaryRole, unittest.equals('foo')); | 83 unittest.expect(o.primaryRole, unittest.equals('foo')); |
| 84 } | 84 } |
| 85 buildCounterAboutAdditionalRoleInfoRoleSets--; | 85 buildCounterAboutAdditionalRoleInfoRoleSets--; |
| 86 } | 86 } |
| 87 | 87 |
| 88 buildUnnamed611() { | 88 buildUnnamed632() { |
| 89 var o = new core.List<api.AboutAdditionalRoleInfoRoleSets>(); | 89 var o = new core.List<api.AboutAdditionalRoleInfoRoleSets>(); |
| 90 o.add(buildAboutAdditionalRoleInfoRoleSets()); | 90 o.add(buildAboutAdditionalRoleInfoRoleSets()); |
| 91 o.add(buildAboutAdditionalRoleInfoRoleSets()); | 91 o.add(buildAboutAdditionalRoleInfoRoleSets()); |
| 92 return o; | 92 return o; |
| 93 } | 93 } |
| 94 | 94 |
| 95 checkUnnamed611(core.List<api.AboutAdditionalRoleInfoRoleSets> o) { | 95 checkUnnamed632(core.List<api.AboutAdditionalRoleInfoRoleSets> o) { |
| 96 unittest.expect(o, unittest.hasLength(2)); | 96 unittest.expect(o, unittest.hasLength(2)); |
| 97 checkAboutAdditionalRoleInfoRoleSets(o[0]); | 97 checkAboutAdditionalRoleInfoRoleSets(o[0]); |
| 98 checkAboutAdditionalRoleInfoRoleSets(o[1]); | 98 checkAboutAdditionalRoleInfoRoleSets(o[1]); |
| 99 } | 99 } |
| 100 | 100 |
| 101 core.int buildCounterAboutAdditionalRoleInfo = 0; | 101 core.int buildCounterAboutAdditionalRoleInfo = 0; |
| 102 buildAboutAdditionalRoleInfo() { | 102 buildAboutAdditionalRoleInfo() { |
| 103 var o = new api.AboutAdditionalRoleInfo(); | 103 var o = new api.AboutAdditionalRoleInfo(); |
| 104 buildCounterAboutAdditionalRoleInfo++; | 104 buildCounterAboutAdditionalRoleInfo++; |
| 105 if (buildCounterAboutAdditionalRoleInfo < 3) { | 105 if (buildCounterAboutAdditionalRoleInfo < 3) { |
| 106 o.roleSets = buildUnnamed611(); | 106 o.roleSets = buildUnnamed632(); |
| 107 o.type = "foo"; | 107 o.type = "foo"; |
| 108 } | 108 } |
| 109 buildCounterAboutAdditionalRoleInfo--; | 109 buildCounterAboutAdditionalRoleInfo--; |
| 110 return o; | 110 return o; |
| 111 } | 111 } |
| 112 | 112 |
| 113 checkAboutAdditionalRoleInfo(api.AboutAdditionalRoleInfo o) { | 113 checkAboutAdditionalRoleInfo(api.AboutAdditionalRoleInfo o) { |
| 114 buildCounterAboutAdditionalRoleInfo++; | 114 buildCounterAboutAdditionalRoleInfo++; |
| 115 if (buildCounterAboutAdditionalRoleInfo < 3) { | 115 if (buildCounterAboutAdditionalRoleInfo < 3) { |
| 116 checkUnnamed611(o.roleSets); | 116 checkUnnamed632(o.roleSets); |
| 117 unittest.expect(o.type, unittest.equals('foo')); | 117 unittest.expect(o.type, unittest.equals('foo')); |
| 118 } | 118 } |
| 119 buildCounterAboutAdditionalRoleInfo--; | 119 buildCounterAboutAdditionalRoleInfo--; |
| 120 } | 120 } |
| 121 | 121 |
| 122 buildUnnamed612() { | 122 buildUnnamed633() { |
| 123 var o = new core.List<api.AboutAdditionalRoleInfo>(); | 123 var o = new core.List<api.AboutAdditionalRoleInfo>(); |
| 124 o.add(buildAboutAdditionalRoleInfo()); | 124 o.add(buildAboutAdditionalRoleInfo()); |
| 125 o.add(buildAboutAdditionalRoleInfo()); | 125 o.add(buildAboutAdditionalRoleInfo()); |
| 126 return o; | 126 return o; |
| 127 } | 127 } |
| 128 | 128 |
| 129 checkUnnamed612(core.List<api.AboutAdditionalRoleInfo> o) { | 129 checkUnnamed633(core.List<api.AboutAdditionalRoleInfo> o) { |
| 130 unittest.expect(o, unittest.hasLength(2)); | 130 unittest.expect(o, unittest.hasLength(2)); |
| 131 checkAboutAdditionalRoleInfo(o[0]); | 131 checkAboutAdditionalRoleInfo(o[0]); |
| 132 checkAboutAdditionalRoleInfo(o[1]); | 132 checkAboutAdditionalRoleInfo(o[1]); |
| 133 } | 133 } |
| 134 | 134 |
| 135 buildUnnamed613() { | 135 buildUnnamed634() { |
| 136 var o = new core.List<core.String>(); | 136 var o = new core.List<core.String>(); |
| 137 o.add("foo"); | 137 o.add("foo"); |
| 138 o.add("foo"); | 138 o.add("foo"); |
| 139 return o; | 139 return o; |
| 140 } | 140 } |
| 141 | 141 |
| 142 checkUnnamed613(core.List<core.String> o) { | 142 checkUnnamed634(core.List<core.String> o) { |
| 143 unittest.expect(o, unittest.hasLength(2)); | 143 unittest.expect(o, unittest.hasLength(2)); |
| 144 unittest.expect(o[0], unittest.equals('foo')); | 144 unittest.expect(o[0], unittest.equals('foo')); |
| 145 unittest.expect(o[1], unittest.equals('foo')); | 145 unittest.expect(o[1], unittest.equals('foo')); |
| 146 } | 146 } |
| 147 | 147 |
| 148 core.int buildCounterAboutExportFormats = 0; | 148 core.int buildCounterAboutExportFormats = 0; |
| 149 buildAboutExportFormats() { | 149 buildAboutExportFormats() { |
| 150 var o = new api.AboutExportFormats(); | 150 var o = new api.AboutExportFormats(); |
| 151 buildCounterAboutExportFormats++; | 151 buildCounterAboutExportFormats++; |
| 152 if (buildCounterAboutExportFormats < 3) { | 152 if (buildCounterAboutExportFormats < 3) { |
| 153 o.source = "foo"; | 153 o.source = "foo"; |
| 154 o.targets = buildUnnamed613(); | 154 o.targets = buildUnnamed634(); |
| 155 } | 155 } |
| 156 buildCounterAboutExportFormats--; | 156 buildCounterAboutExportFormats--; |
| 157 return o; | 157 return o; |
| 158 } | 158 } |
| 159 | 159 |
| 160 checkAboutExportFormats(api.AboutExportFormats o) { | 160 checkAboutExportFormats(api.AboutExportFormats o) { |
| 161 buildCounterAboutExportFormats++; | 161 buildCounterAboutExportFormats++; |
| 162 if (buildCounterAboutExportFormats < 3) { | 162 if (buildCounterAboutExportFormats < 3) { |
| 163 unittest.expect(o.source, unittest.equals('foo')); | 163 unittest.expect(o.source, unittest.equals('foo')); |
| 164 checkUnnamed613(o.targets); | 164 checkUnnamed634(o.targets); |
| 165 } | 165 } |
| 166 buildCounterAboutExportFormats--; | 166 buildCounterAboutExportFormats--; |
| 167 } | 167 } |
| 168 | 168 |
| 169 buildUnnamed614() { | 169 buildUnnamed635() { |
| 170 var o = new core.List<api.AboutExportFormats>(); | 170 var o = new core.List<api.AboutExportFormats>(); |
| 171 o.add(buildAboutExportFormats()); | 171 o.add(buildAboutExportFormats()); |
| 172 o.add(buildAboutExportFormats()); | 172 o.add(buildAboutExportFormats()); |
| 173 return o; | 173 return o; |
| 174 } | 174 } |
| 175 | 175 |
| 176 checkUnnamed614(core.List<api.AboutExportFormats> o) { | 176 checkUnnamed635(core.List<api.AboutExportFormats> o) { |
| 177 unittest.expect(o, unittest.hasLength(2)); | 177 unittest.expect(o, unittest.hasLength(2)); |
| 178 checkAboutExportFormats(o[0]); | 178 checkAboutExportFormats(o[0]); |
| 179 checkAboutExportFormats(o[1]); | 179 checkAboutExportFormats(o[1]); |
| 180 } | 180 } |
| 181 | 181 |
| 182 core.int buildCounterAboutFeatures = 0; | 182 core.int buildCounterAboutFeatures = 0; |
| 183 buildAboutFeatures() { | 183 buildAboutFeatures() { |
| 184 var o = new api.AboutFeatures(); | 184 var o = new api.AboutFeatures(); |
| 185 buildCounterAboutFeatures++; | 185 buildCounterAboutFeatures++; |
| 186 if (buildCounterAboutFeatures < 3) { | 186 if (buildCounterAboutFeatures < 3) { |
| 187 o.featureName = "foo"; | 187 o.featureName = "foo"; |
| 188 o.featureRate = 42.0; | 188 o.featureRate = 42.0; |
| 189 } | 189 } |
| 190 buildCounterAboutFeatures--; | 190 buildCounterAboutFeatures--; |
| 191 return o; | 191 return o; |
| 192 } | 192 } |
| 193 | 193 |
| 194 checkAboutFeatures(api.AboutFeatures o) { | 194 checkAboutFeatures(api.AboutFeatures o) { |
| 195 buildCounterAboutFeatures++; | 195 buildCounterAboutFeatures++; |
| 196 if (buildCounterAboutFeatures < 3) { | 196 if (buildCounterAboutFeatures < 3) { |
| 197 unittest.expect(o.featureName, unittest.equals('foo')); | 197 unittest.expect(o.featureName, unittest.equals('foo')); |
| 198 unittest.expect(o.featureRate, unittest.equals(42.0)); | 198 unittest.expect(o.featureRate, unittest.equals(42.0)); |
| 199 } | 199 } |
| 200 buildCounterAboutFeatures--; | 200 buildCounterAboutFeatures--; |
| 201 } | 201 } |
| 202 | 202 |
| 203 buildUnnamed615() { | 203 buildUnnamed636() { |
| 204 var o = new core.List<api.AboutFeatures>(); | 204 var o = new core.List<api.AboutFeatures>(); |
| 205 o.add(buildAboutFeatures()); | 205 o.add(buildAboutFeatures()); |
| 206 o.add(buildAboutFeatures()); | 206 o.add(buildAboutFeatures()); |
| 207 return o; | 207 return o; |
| 208 } | 208 } |
| 209 | 209 |
| 210 checkUnnamed615(core.List<api.AboutFeatures> o) { | 210 checkUnnamed636(core.List<api.AboutFeatures> o) { |
| 211 unittest.expect(o, unittest.hasLength(2)); | 211 unittest.expect(o, unittest.hasLength(2)); |
| 212 checkAboutFeatures(o[0]); | 212 checkAboutFeatures(o[0]); |
| 213 checkAboutFeatures(o[1]); | 213 checkAboutFeatures(o[1]); |
| 214 } | 214 } |
| 215 | 215 |
| 216 buildUnnamed616() { | 216 buildUnnamed637() { |
| 217 var o = new core.List<core.String>(); | 217 var o = new core.List<core.String>(); |
| 218 o.add("foo"); | 218 o.add("foo"); |
| 219 o.add("foo"); | 219 o.add("foo"); |
| 220 return o; | 220 return o; |
| 221 } | 221 } |
| 222 | 222 |
| 223 checkUnnamed616(core.List<core.String> o) { | 223 checkUnnamed637(core.List<core.String> o) { |
| 224 unittest.expect(o, unittest.hasLength(2)); | 224 unittest.expect(o, unittest.hasLength(2)); |
| 225 unittest.expect(o[0], unittest.equals('foo')); | 225 unittest.expect(o[0], unittest.equals('foo')); |
| 226 unittest.expect(o[1], unittest.equals('foo')); | 226 unittest.expect(o[1], unittest.equals('foo')); |
| 227 } | 227 } |
| 228 | 228 |
| 229 buildUnnamed617() { | 229 buildUnnamed638() { |
| 230 var o = new core.List<core.String>(); | 230 var o = new core.List<core.String>(); |
| 231 o.add("foo"); | 231 o.add("foo"); |
| 232 o.add("foo"); | 232 o.add("foo"); |
| 233 return o; | 233 return o; |
| 234 } | 234 } |
| 235 | 235 |
| 236 checkUnnamed617(core.List<core.String> o) { | 236 checkUnnamed638(core.List<core.String> o) { |
| 237 unittest.expect(o, unittest.hasLength(2)); | 237 unittest.expect(o, unittest.hasLength(2)); |
| 238 unittest.expect(o[0], unittest.equals('foo')); | 238 unittest.expect(o[0], unittest.equals('foo')); |
| 239 unittest.expect(o[1], unittest.equals('foo')); | 239 unittest.expect(o[1], unittest.equals('foo')); |
| 240 } | 240 } |
| 241 | 241 |
| 242 core.int buildCounterAboutImportFormats = 0; | 242 core.int buildCounterAboutImportFormats = 0; |
| 243 buildAboutImportFormats() { | 243 buildAboutImportFormats() { |
| 244 var o = new api.AboutImportFormats(); | 244 var o = new api.AboutImportFormats(); |
| 245 buildCounterAboutImportFormats++; | 245 buildCounterAboutImportFormats++; |
| 246 if (buildCounterAboutImportFormats < 3) { | 246 if (buildCounterAboutImportFormats < 3) { |
| 247 o.source = "foo"; | 247 o.source = "foo"; |
| 248 o.targets = buildUnnamed617(); | 248 o.targets = buildUnnamed638(); |
| 249 } | 249 } |
| 250 buildCounterAboutImportFormats--; | 250 buildCounterAboutImportFormats--; |
| 251 return o; | 251 return o; |
| 252 } | 252 } |
| 253 | 253 |
| 254 checkAboutImportFormats(api.AboutImportFormats o) { | 254 checkAboutImportFormats(api.AboutImportFormats o) { |
| 255 buildCounterAboutImportFormats++; | 255 buildCounterAboutImportFormats++; |
| 256 if (buildCounterAboutImportFormats < 3) { | 256 if (buildCounterAboutImportFormats < 3) { |
| 257 unittest.expect(o.source, unittest.equals('foo')); | 257 unittest.expect(o.source, unittest.equals('foo')); |
| 258 checkUnnamed617(o.targets); | 258 checkUnnamed638(o.targets); |
| 259 } | 259 } |
| 260 buildCounterAboutImportFormats--; | 260 buildCounterAboutImportFormats--; |
| 261 } | 261 } |
| 262 | 262 |
| 263 buildUnnamed618() { | 263 buildUnnamed639() { |
| 264 var o = new core.List<api.AboutImportFormats>(); | 264 var o = new core.List<api.AboutImportFormats>(); |
| 265 o.add(buildAboutImportFormats()); | 265 o.add(buildAboutImportFormats()); |
| 266 o.add(buildAboutImportFormats()); | 266 o.add(buildAboutImportFormats()); |
| 267 return o; | 267 return o; |
| 268 } | 268 } |
| 269 | 269 |
| 270 checkUnnamed618(core.List<api.AboutImportFormats> o) { | 270 checkUnnamed639(core.List<api.AboutImportFormats> o) { |
| 271 unittest.expect(o, unittest.hasLength(2)); | 271 unittest.expect(o, unittest.hasLength(2)); |
| 272 checkAboutImportFormats(o[0]); | 272 checkAboutImportFormats(o[0]); |
| 273 checkAboutImportFormats(o[1]); | 273 checkAboutImportFormats(o[1]); |
| 274 } | 274 } |
| 275 | 275 |
| 276 core.int buildCounterAboutMaxUploadSizes = 0; | 276 core.int buildCounterAboutMaxUploadSizes = 0; |
| 277 buildAboutMaxUploadSizes() { | 277 buildAboutMaxUploadSizes() { |
| 278 var o = new api.AboutMaxUploadSizes(); | 278 var o = new api.AboutMaxUploadSizes(); |
| 279 buildCounterAboutMaxUploadSizes++; | 279 buildCounterAboutMaxUploadSizes++; |
| 280 if (buildCounterAboutMaxUploadSizes < 3) { | 280 if (buildCounterAboutMaxUploadSizes < 3) { |
| 281 o.size = "foo"; | 281 o.size = "foo"; |
| 282 o.type = "foo"; | 282 o.type = "foo"; |
| 283 } | 283 } |
| 284 buildCounterAboutMaxUploadSizes--; | 284 buildCounterAboutMaxUploadSizes--; |
| 285 return o; | 285 return o; |
| 286 } | 286 } |
| 287 | 287 |
| 288 checkAboutMaxUploadSizes(api.AboutMaxUploadSizes o) { | 288 checkAboutMaxUploadSizes(api.AboutMaxUploadSizes o) { |
| 289 buildCounterAboutMaxUploadSizes++; | 289 buildCounterAboutMaxUploadSizes++; |
| 290 if (buildCounterAboutMaxUploadSizes < 3) { | 290 if (buildCounterAboutMaxUploadSizes < 3) { |
| 291 unittest.expect(o.size, unittest.equals('foo')); | 291 unittest.expect(o.size, unittest.equals('foo')); |
| 292 unittest.expect(o.type, unittest.equals('foo')); | 292 unittest.expect(o.type, unittest.equals('foo')); |
| 293 } | 293 } |
| 294 buildCounterAboutMaxUploadSizes--; | 294 buildCounterAboutMaxUploadSizes--; |
| 295 } | 295 } |
| 296 | 296 |
| 297 buildUnnamed619() { | 297 buildUnnamed640() { |
| 298 var o = new core.List<api.AboutMaxUploadSizes>(); | 298 var o = new core.List<api.AboutMaxUploadSizes>(); |
| 299 o.add(buildAboutMaxUploadSizes()); | 299 o.add(buildAboutMaxUploadSizes()); |
| 300 o.add(buildAboutMaxUploadSizes()); | 300 o.add(buildAboutMaxUploadSizes()); |
| 301 return o; | 301 return o; |
| 302 } | 302 } |
| 303 | 303 |
| 304 checkUnnamed619(core.List<api.AboutMaxUploadSizes> o) { | 304 checkUnnamed640(core.List<api.AboutMaxUploadSizes> o) { |
| 305 unittest.expect(o, unittest.hasLength(2)); | 305 unittest.expect(o, unittest.hasLength(2)); |
| 306 checkAboutMaxUploadSizes(o[0]); | 306 checkAboutMaxUploadSizes(o[0]); |
| 307 checkAboutMaxUploadSizes(o[1]); | 307 checkAboutMaxUploadSizes(o[1]); |
| 308 } | 308 } |
| 309 | 309 |
| 310 core.int buildCounterAboutQuotaBytesByService = 0; | 310 core.int buildCounterAboutQuotaBytesByService = 0; |
| 311 buildAboutQuotaBytesByService() { | 311 buildAboutQuotaBytesByService() { |
| 312 var o = new api.AboutQuotaBytesByService(); | 312 var o = new api.AboutQuotaBytesByService(); |
| 313 buildCounterAboutQuotaBytesByService++; | 313 buildCounterAboutQuotaBytesByService++; |
| 314 if (buildCounterAboutQuotaBytesByService < 3) { | 314 if (buildCounterAboutQuotaBytesByService < 3) { |
| 315 o.bytesUsed = "foo"; | 315 o.bytesUsed = "foo"; |
| 316 o.serviceName = "foo"; | 316 o.serviceName = "foo"; |
| 317 } | 317 } |
| 318 buildCounterAboutQuotaBytesByService--; | 318 buildCounterAboutQuotaBytesByService--; |
| 319 return o; | 319 return o; |
| 320 } | 320 } |
| 321 | 321 |
| 322 checkAboutQuotaBytesByService(api.AboutQuotaBytesByService o) { | 322 checkAboutQuotaBytesByService(api.AboutQuotaBytesByService o) { |
| 323 buildCounterAboutQuotaBytesByService++; | 323 buildCounterAboutQuotaBytesByService++; |
| 324 if (buildCounterAboutQuotaBytesByService < 3) { | 324 if (buildCounterAboutQuotaBytesByService < 3) { |
| 325 unittest.expect(o.bytesUsed, unittest.equals('foo')); | 325 unittest.expect(o.bytesUsed, unittest.equals('foo')); |
| 326 unittest.expect(o.serviceName, unittest.equals('foo')); | 326 unittest.expect(o.serviceName, unittest.equals('foo')); |
| 327 } | 327 } |
| 328 buildCounterAboutQuotaBytesByService--; | 328 buildCounterAboutQuotaBytesByService--; |
| 329 } | 329 } |
| 330 | 330 |
| 331 buildUnnamed620() { | 331 buildUnnamed641() { |
| 332 var o = new core.List<api.AboutQuotaBytesByService>(); | 332 var o = new core.List<api.AboutQuotaBytesByService>(); |
| 333 o.add(buildAboutQuotaBytesByService()); | 333 o.add(buildAboutQuotaBytesByService()); |
| 334 o.add(buildAboutQuotaBytesByService()); | 334 o.add(buildAboutQuotaBytesByService()); |
| 335 return o; | 335 return o; |
| 336 } | 336 } |
| 337 | 337 |
| 338 checkUnnamed620(core.List<api.AboutQuotaBytesByService> o) { | 338 checkUnnamed641(core.List<api.AboutQuotaBytesByService> o) { |
| 339 unittest.expect(o, unittest.hasLength(2)); | 339 unittest.expect(o, unittest.hasLength(2)); |
| 340 checkAboutQuotaBytesByService(o[0]); | 340 checkAboutQuotaBytesByService(o[0]); |
| 341 checkAboutQuotaBytesByService(o[1]); | 341 checkAboutQuotaBytesByService(o[1]); |
| 342 } | 342 } |
| 343 | 343 |
| 344 core.int buildCounterAbout = 0; | 344 core.int buildCounterAbout = 0; |
| 345 buildAbout() { | 345 buildAbout() { |
| 346 var o = new api.About(); | 346 var o = new api.About(); |
| 347 buildCounterAbout++; | 347 buildCounterAbout++; |
| 348 if (buildCounterAbout < 3) { | 348 if (buildCounterAbout < 3) { |
| 349 o.additionalRoleInfo = buildUnnamed612(); | 349 o.additionalRoleInfo = buildUnnamed633(); |
| 350 o.domainSharingPolicy = "foo"; | 350 o.domainSharingPolicy = "foo"; |
| 351 o.etag = "foo"; | 351 o.etag = "foo"; |
| 352 o.exportFormats = buildUnnamed614(); | 352 o.exportFormats = buildUnnamed635(); |
| 353 o.features = buildUnnamed615(); | 353 o.features = buildUnnamed636(); |
| 354 o.folderColorPalette = buildUnnamed616(); | 354 o.folderColorPalette = buildUnnamed637(); |
| 355 o.importFormats = buildUnnamed618(); | 355 o.importFormats = buildUnnamed639(); |
| 356 o.isCurrentAppInstalled = true; | 356 o.isCurrentAppInstalled = true; |
| 357 o.kind = "foo"; | 357 o.kind = "foo"; |
| 358 o.languageCode = "foo"; | 358 o.languageCode = "foo"; |
| 359 o.largestChangeId = "foo"; | 359 o.largestChangeId = "foo"; |
| 360 o.maxUploadSizes = buildUnnamed619(); | 360 o.maxUploadSizes = buildUnnamed640(); |
| 361 o.name = "foo"; | 361 o.name = "foo"; |
| 362 o.permissionId = "foo"; | 362 o.permissionId = "foo"; |
| 363 o.quotaBytesByService = buildUnnamed620(); | 363 o.quotaBytesByService = buildUnnamed641(); |
| 364 o.quotaBytesTotal = "foo"; | 364 o.quotaBytesTotal = "foo"; |
| 365 o.quotaBytesUsed = "foo"; | 365 o.quotaBytesUsed = "foo"; |
| 366 o.quotaBytesUsedAggregate = "foo"; | 366 o.quotaBytesUsedAggregate = "foo"; |
| 367 o.quotaBytesUsedInTrash = "foo"; | 367 o.quotaBytesUsedInTrash = "foo"; |
| 368 o.quotaType = "foo"; | 368 o.quotaType = "foo"; |
| 369 o.remainingChangeIds = "foo"; | 369 o.remainingChangeIds = "foo"; |
| 370 o.rootFolderId = "foo"; | 370 o.rootFolderId = "foo"; |
| 371 o.selfLink = "foo"; | 371 o.selfLink = "foo"; |
| 372 o.user = buildUser(); | 372 o.user = buildUser(); |
| 373 } | 373 } |
| 374 buildCounterAbout--; | 374 buildCounterAbout--; |
| 375 return o; | 375 return o; |
| 376 } | 376 } |
| 377 | 377 |
| 378 checkAbout(api.About o) { | 378 checkAbout(api.About o) { |
| 379 buildCounterAbout++; | 379 buildCounterAbout++; |
| 380 if (buildCounterAbout < 3) { | 380 if (buildCounterAbout < 3) { |
| 381 checkUnnamed612(o.additionalRoleInfo); | 381 checkUnnamed633(o.additionalRoleInfo); |
| 382 unittest.expect(o.domainSharingPolicy, unittest.equals('foo')); | 382 unittest.expect(o.domainSharingPolicy, unittest.equals('foo')); |
| 383 unittest.expect(o.etag, unittest.equals('foo')); | 383 unittest.expect(o.etag, unittest.equals('foo')); |
| 384 checkUnnamed614(o.exportFormats); | 384 checkUnnamed635(o.exportFormats); |
| 385 checkUnnamed615(o.features); | 385 checkUnnamed636(o.features); |
| 386 checkUnnamed616(o.folderColorPalette); | 386 checkUnnamed637(o.folderColorPalette); |
| 387 checkUnnamed618(o.importFormats); | 387 checkUnnamed639(o.importFormats); |
| 388 unittest.expect(o.isCurrentAppInstalled, unittest.isTrue); | 388 unittest.expect(o.isCurrentAppInstalled, unittest.isTrue); |
| 389 unittest.expect(o.kind, unittest.equals('foo')); | 389 unittest.expect(o.kind, unittest.equals('foo')); |
| 390 unittest.expect(o.languageCode, unittest.equals('foo')); | 390 unittest.expect(o.languageCode, unittest.equals('foo')); |
| 391 unittest.expect(o.largestChangeId, unittest.equals('foo')); | 391 unittest.expect(o.largestChangeId, unittest.equals('foo')); |
| 392 checkUnnamed619(o.maxUploadSizes); | 392 checkUnnamed640(o.maxUploadSizes); |
| 393 unittest.expect(o.name, unittest.equals('foo')); | 393 unittest.expect(o.name, unittest.equals('foo')); |
| 394 unittest.expect(o.permissionId, unittest.equals('foo')); | 394 unittest.expect(o.permissionId, unittest.equals('foo')); |
| 395 checkUnnamed620(o.quotaBytesByService); | 395 checkUnnamed641(o.quotaBytesByService); |
| 396 unittest.expect(o.quotaBytesTotal, unittest.equals('foo')); | 396 unittest.expect(o.quotaBytesTotal, unittest.equals('foo')); |
| 397 unittest.expect(o.quotaBytesUsed, unittest.equals('foo')); | 397 unittest.expect(o.quotaBytesUsed, unittest.equals('foo')); |
| 398 unittest.expect(o.quotaBytesUsedAggregate, unittest.equals('foo')); | 398 unittest.expect(o.quotaBytesUsedAggregate, unittest.equals('foo')); |
| 399 unittest.expect(o.quotaBytesUsedInTrash, unittest.equals('foo')); | 399 unittest.expect(o.quotaBytesUsedInTrash, unittest.equals('foo')); |
| 400 unittest.expect(o.quotaType, unittest.equals('foo')); | 400 unittest.expect(o.quotaType, unittest.equals('foo')); |
| 401 unittest.expect(o.remainingChangeIds, unittest.equals('foo')); | 401 unittest.expect(o.remainingChangeIds, unittest.equals('foo')); |
| 402 unittest.expect(o.rootFolderId, unittest.equals('foo')); | 402 unittest.expect(o.rootFolderId, unittest.equals('foo')); |
| 403 unittest.expect(o.selfLink, unittest.equals('foo')); | 403 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 404 checkUser(o.user); | 404 checkUser(o.user); |
| 405 } | 405 } |
| (...skipping 16 matching lines...) Expand all Loading... |
| 422 checkAppIcons(api.AppIcons o) { | 422 checkAppIcons(api.AppIcons o) { |
| 423 buildCounterAppIcons++; | 423 buildCounterAppIcons++; |
| 424 if (buildCounterAppIcons < 3) { | 424 if (buildCounterAppIcons < 3) { |
| 425 unittest.expect(o.category, unittest.equals('foo')); | 425 unittest.expect(o.category, unittest.equals('foo')); |
| 426 unittest.expect(o.iconUrl, unittest.equals('foo')); | 426 unittest.expect(o.iconUrl, unittest.equals('foo')); |
| 427 unittest.expect(o.size, unittest.equals(42)); | 427 unittest.expect(o.size, unittest.equals(42)); |
| 428 } | 428 } |
| 429 buildCounterAppIcons--; | 429 buildCounterAppIcons--; |
| 430 } | 430 } |
| 431 | 431 |
| 432 buildUnnamed621() { | 432 buildUnnamed642() { |
| 433 var o = new core.List<api.AppIcons>(); | 433 var o = new core.List<api.AppIcons>(); |
| 434 o.add(buildAppIcons()); | 434 o.add(buildAppIcons()); |
| 435 o.add(buildAppIcons()); | 435 o.add(buildAppIcons()); |
| 436 return o; | 436 return o; |
| 437 } | 437 } |
| 438 | 438 |
| 439 checkUnnamed621(core.List<api.AppIcons> o) { | 439 checkUnnamed642(core.List<api.AppIcons> o) { |
| 440 unittest.expect(o, unittest.hasLength(2)); | 440 unittest.expect(o, unittest.hasLength(2)); |
| 441 checkAppIcons(o[0]); | 441 checkAppIcons(o[0]); |
| 442 checkAppIcons(o[1]); | 442 checkAppIcons(o[1]); |
| 443 } | 443 } |
| 444 | 444 |
| 445 buildUnnamed622() { | 445 buildUnnamed643() { |
| 446 var o = new core.List<core.String>(); | 446 var o = new core.List<core.String>(); |
| 447 o.add("foo"); | 447 o.add("foo"); |
| 448 o.add("foo"); | 448 o.add("foo"); |
| 449 return o; | 449 return o; |
| 450 } | 450 } |
| 451 | 451 |
| 452 checkUnnamed622(core.List<core.String> o) { | 452 checkUnnamed643(core.List<core.String> o) { |
| 453 unittest.expect(o, unittest.hasLength(2)); | 453 unittest.expect(o, unittest.hasLength(2)); |
| 454 unittest.expect(o[0], unittest.equals('foo')); | 454 unittest.expect(o[0], unittest.equals('foo')); |
| 455 unittest.expect(o[1], unittest.equals('foo')); | 455 unittest.expect(o[1], unittest.equals('foo')); |
| 456 } | 456 } |
| 457 | 457 |
| 458 buildUnnamed623() { | 458 buildUnnamed644() { |
| 459 var o = new core.List<core.String>(); | 459 var o = new core.List<core.String>(); |
| 460 o.add("foo"); | 460 o.add("foo"); |
| 461 o.add("foo"); | 461 o.add("foo"); |
| 462 return o; | 462 return o; |
| 463 } | 463 } |
| 464 | 464 |
| 465 checkUnnamed623(core.List<core.String> o) { | 465 checkUnnamed644(core.List<core.String> o) { |
| 466 unittest.expect(o, unittest.hasLength(2)); | 466 unittest.expect(o, unittest.hasLength(2)); |
| 467 unittest.expect(o[0], unittest.equals('foo')); | 467 unittest.expect(o[0], unittest.equals('foo')); |
| 468 unittest.expect(o[1], unittest.equals('foo')); | 468 unittest.expect(o[1], unittest.equals('foo')); |
| 469 } | 469 } |
| 470 | 470 |
| 471 buildUnnamed624() { | 471 buildUnnamed645() { |
| 472 var o = new core.List<core.String>(); | 472 var o = new core.List<core.String>(); |
| 473 o.add("foo"); | 473 o.add("foo"); |
| 474 o.add("foo"); | 474 o.add("foo"); |
| 475 return o; | 475 return o; |
| 476 } | 476 } |
| 477 | 477 |
| 478 checkUnnamed624(core.List<core.String> o) { | 478 checkUnnamed645(core.List<core.String> o) { |
| 479 unittest.expect(o, unittest.hasLength(2)); | 479 unittest.expect(o, unittest.hasLength(2)); |
| 480 unittest.expect(o[0], unittest.equals('foo')); | 480 unittest.expect(o[0], unittest.equals('foo')); |
| 481 unittest.expect(o[1], unittest.equals('foo')); | 481 unittest.expect(o[1], unittest.equals('foo')); |
| 482 } | 482 } |
| 483 | 483 |
| 484 buildUnnamed625() { | 484 buildUnnamed646() { |
| 485 var o = new core.List<core.String>(); | 485 var o = new core.List<core.String>(); |
| 486 o.add("foo"); | 486 o.add("foo"); |
| 487 o.add("foo"); | 487 o.add("foo"); |
| 488 return o; | 488 return o; |
| 489 } | 489 } |
| 490 | 490 |
| 491 checkUnnamed625(core.List<core.String> o) { | 491 checkUnnamed646(core.List<core.String> o) { |
| 492 unittest.expect(o, unittest.hasLength(2)); | 492 unittest.expect(o, unittest.hasLength(2)); |
| 493 unittest.expect(o[0], unittest.equals('foo')); | 493 unittest.expect(o[0], unittest.equals('foo')); |
| 494 unittest.expect(o[1], unittest.equals('foo')); | 494 unittest.expect(o[1], unittest.equals('foo')); |
| 495 } | 495 } |
| 496 | 496 |
| 497 core.int buildCounterApp = 0; | 497 core.int buildCounterApp = 0; |
| 498 buildApp() { | 498 buildApp() { |
| 499 var o = new api.App(); | 499 var o = new api.App(); |
| 500 buildCounterApp++; | 500 buildCounterApp++; |
| 501 if (buildCounterApp < 3) { | 501 if (buildCounterApp < 3) { |
| 502 o.authorized = true; | 502 o.authorized = true; |
| 503 o.createInFolderTemplate = "foo"; | 503 o.createInFolderTemplate = "foo"; |
| 504 o.createUrl = "foo"; | 504 o.createUrl = "foo"; |
| 505 o.hasDriveWideScope = true; | 505 o.hasDriveWideScope = true; |
| 506 o.icons = buildUnnamed621(); | 506 o.icons = buildUnnamed642(); |
| 507 o.id = "foo"; | 507 o.id = "foo"; |
| 508 o.installed = true; | 508 o.installed = true; |
| 509 o.kind = "foo"; | 509 o.kind = "foo"; |
| 510 o.longDescription = "foo"; | 510 o.longDescription = "foo"; |
| 511 o.name = "foo"; | 511 o.name = "foo"; |
| 512 o.objectType = "foo"; | 512 o.objectType = "foo"; |
| 513 o.openUrlTemplate = "foo"; | 513 o.openUrlTemplate = "foo"; |
| 514 o.primaryFileExtensions = buildUnnamed622(); | 514 o.primaryFileExtensions = buildUnnamed643(); |
| 515 o.primaryMimeTypes = buildUnnamed623(); | 515 o.primaryMimeTypes = buildUnnamed644(); |
| 516 o.productId = "foo"; | 516 o.productId = "foo"; |
| 517 o.productUrl = "foo"; | 517 o.productUrl = "foo"; |
| 518 o.secondaryFileExtensions = buildUnnamed624(); | 518 o.secondaryFileExtensions = buildUnnamed645(); |
| 519 o.secondaryMimeTypes = buildUnnamed625(); | 519 o.secondaryMimeTypes = buildUnnamed646(); |
| 520 o.shortDescription = "foo"; | 520 o.shortDescription = "foo"; |
| 521 o.supportsCreate = true; | 521 o.supportsCreate = true; |
| 522 o.supportsImport = true; | 522 o.supportsImport = true; |
| 523 o.supportsMultiOpen = true; | 523 o.supportsMultiOpen = true; |
| 524 o.supportsOfflineCreate = true; | 524 o.supportsOfflineCreate = true; |
| 525 o.useByDefault = true; | 525 o.useByDefault = true; |
| 526 } | 526 } |
| 527 buildCounterApp--; | 527 buildCounterApp--; |
| 528 return o; | 528 return o; |
| 529 } | 529 } |
| 530 | 530 |
| 531 checkApp(api.App o) { | 531 checkApp(api.App o) { |
| 532 buildCounterApp++; | 532 buildCounterApp++; |
| 533 if (buildCounterApp < 3) { | 533 if (buildCounterApp < 3) { |
| 534 unittest.expect(o.authorized, unittest.isTrue); | 534 unittest.expect(o.authorized, unittest.isTrue); |
| 535 unittest.expect(o.createInFolderTemplate, unittest.equals('foo')); | 535 unittest.expect(o.createInFolderTemplate, unittest.equals('foo')); |
| 536 unittest.expect(o.createUrl, unittest.equals('foo')); | 536 unittest.expect(o.createUrl, unittest.equals('foo')); |
| 537 unittest.expect(o.hasDriveWideScope, unittest.isTrue); | 537 unittest.expect(o.hasDriveWideScope, unittest.isTrue); |
| 538 checkUnnamed621(o.icons); | 538 checkUnnamed642(o.icons); |
| 539 unittest.expect(o.id, unittest.equals('foo')); | 539 unittest.expect(o.id, unittest.equals('foo')); |
| 540 unittest.expect(o.installed, unittest.isTrue); | 540 unittest.expect(o.installed, unittest.isTrue); |
| 541 unittest.expect(o.kind, unittest.equals('foo')); | 541 unittest.expect(o.kind, unittest.equals('foo')); |
| 542 unittest.expect(o.longDescription, unittest.equals('foo')); | 542 unittest.expect(o.longDescription, unittest.equals('foo')); |
| 543 unittest.expect(o.name, unittest.equals('foo')); | 543 unittest.expect(o.name, unittest.equals('foo')); |
| 544 unittest.expect(o.objectType, unittest.equals('foo')); | 544 unittest.expect(o.objectType, unittest.equals('foo')); |
| 545 unittest.expect(o.openUrlTemplate, unittest.equals('foo')); | 545 unittest.expect(o.openUrlTemplate, unittest.equals('foo')); |
| 546 checkUnnamed622(o.primaryFileExtensions); | 546 checkUnnamed643(o.primaryFileExtensions); |
| 547 checkUnnamed623(o.primaryMimeTypes); | 547 checkUnnamed644(o.primaryMimeTypes); |
| 548 unittest.expect(o.productId, unittest.equals('foo')); | 548 unittest.expect(o.productId, unittest.equals('foo')); |
| 549 unittest.expect(o.productUrl, unittest.equals('foo')); | 549 unittest.expect(o.productUrl, unittest.equals('foo')); |
| 550 checkUnnamed624(o.secondaryFileExtensions); | 550 checkUnnamed645(o.secondaryFileExtensions); |
| 551 checkUnnamed625(o.secondaryMimeTypes); | 551 checkUnnamed646(o.secondaryMimeTypes); |
| 552 unittest.expect(o.shortDescription, unittest.equals('foo')); | 552 unittest.expect(o.shortDescription, unittest.equals('foo')); |
| 553 unittest.expect(o.supportsCreate, unittest.isTrue); | 553 unittest.expect(o.supportsCreate, unittest.isTrue); |
| 554 unittest.expect(o.supportsImport, unittest.isTrue); | 554 unittest.expect(o.supportsImport, unittest.isTrue); |
| 555 unittest.expect(o.supportsMultiOpen, unittest.isTrue); | 555 unittest.expect(o.supportsMultiOpen, unittest.isTrue); |
| 556 unittest.expect(o.supportsOfflineCreate, unittest.isTrue); | 556 unittest.expect(o.supportsOfflineCreate, unittest.isTrue); |
| 557 unittest.expect(o.useByDefault, unittest.isTrue); | 557 unittest.expect(o.useByDefault, unittest.isTrue); |
| 558 } | 558 } |
| 559 buildCounterApp--; | 559 buildCounterApp--; |
| 560 } | 560 } |
| 561 | 561 |
| 562 buildUnnamed626() { | 562 buildUnnamed647() { |
| 563 var o = new core.List<core.String>(); | 563 var o = new core.List<core.String>(); |
| 564 o.add("foo"); | 564 o.add("foo"); |
| 565 o.add("foo"); | 565 o.add("foo"); |
| 566 return o; | 566 return o; |
| 567 } | 567 } |
| 568 | 568 |
| 569 checkUnnamed626(core.List<core.String> o) { | 569 checkUnnamed647(core.List<core.String> o) { |
| 570 unittest.expect(o, unittest.hasLength(2)); | 570 unittest.expect(o, unittest.hasLength(2)); |
| 571 unittest.expect(o[0], unittest.equals('foo')); | 571 unittest.expect(o[0], unittest.equals('foo')); |
| 572 unittest.expect(o[1], unittest.equals('foo')); | 572 unittest.expect(o[1], unittest.equals('foo')); |
| 573 } | 573 } |
| 574 | 574 |
| 575 buildUnnamed627() { | 575 buildUnnamed648() { |
| 576 var o = new core.List<api.App>(); | 576 var o = new core.List<api.App>(); |
| 577 o.add(buildApp()); | 577 o.add(buildApp()); |
| 578 o.add(buildApp()); | 578 o.add(buildApp()); |
| 579 return o; | 579 return o; |
| 580 } | 580 } |
| 581 | 581 |
| 582 checkUnnamed627(core.List<api.App> o) { | 582 checkUnnamed648(core.List<api.App> o) { |
| 583 unittest.expect(o, unittest.hasLength(2)); | 583 unittest.expect(o, unittest.hasLength(2)); |
| 584 checkApp(o[0]); | 584 checkApp(o[0]); |
| 585 checkApp(o[1]); | 585 checkApp(o[1]); |
| 586 } | 586 } |
| 587 | 587 |
| 588 core.int buildCounterAppList = 0; | 588 core.int buildCounterAppList = 0; |
| 589 buildAppList() { | 589 buildAppList() { |
| 590 var o = new api.AppList(); | 590 var o = new api.AppList(); |
| 591 buildCounterAppList++; | 591 buildCounterAppList++; |
| 592 if (buildCounterAppList < 3) { | 592 if (buildCounterAppList < 3) { |
| 593 o.defaultAppIds = buildUnnamed626(); | 593 o.defaultAppIds = buildUnnamed647(); |
| 594 o.etag = "foo"; | 594 o.etag = "foo"; |
| 595 o.items = buildUnnamed627(); | 595 o.items = buildUnnamed648(); |
| 596 o.kind = "foo"; | 596 o.kind = "foo"; |
| 597 o.selfLink = "foo"; | 597 o.selfLink = "foo"; |
| 598 } | 598 } |
| 599 buildCounterAppList--; | 599 buildCounterAppList--; |
| 600 return o; | 600 return o; |
| 601 } | 601 } |
| 602 | 602 |
| 603 checkAppList(api.AppList o) { | 603 checkAppList(api.AppList o) { |
| 604 buildCounterAppList++; | 604 buildCounterAppList++; |
| 605 if (buildCounterAppList < 3) { | 605 if (buildCounterAppList < 3) { |
| 606 checkUnnamed626(o.defaultAppIds); | 606 checkUnnamed647(o.defaultAppIds); |
| 607 unittest.expect(o.etag, unittest.equals('foo')); | 607 unittest.expect(o.etag, unittest.equals('foo')); |
| 608 checkUnnamed627(o.items); | 608 checkUnnamed648(o.items); |
| 609 unittest.expect(o.kind, unittest.equals('foo')); | 609 unittest.expect(o.kind, unittest.equals('foo')); |
| 610 unittest.expect(o.selfLink, unittest.equals('foo')); | 610 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 611 } | 611 } |
| 612 buildCounterAppList--; | 612 buildCounterAppList--; |
| 613 } | 613 } |
| 614 | 614 |
| 615 core.int buildCounterChange = 0; | 615 core.int buildCounterChange = 0; |
| 616 buildChange() { | 616 buildChange() { |
| 617 var o = new api.Change(); | 617 var o = new api.Change(); |
| 618 buildCounterChange++; | 618 buildCounterChange++; |
| (...skipping 23 matching lines...) Expand all Loading... |
| 642 unittest.expect(o.kind, unittest.equals('foo')); | 642 unittest.expect(o.kind, unittest.equals('foo')); |
| 643 unittest.expect(o.modificationDate, unittest.equals(core.DateTime.parse("200
2-02-27T14:01:02"))); | 643 unittest.expect(o.modificationDate, unittest.equals(core.DateTime.parse("200
2-02-27T14:01:02"))); |
| 644 unittest.expect(o.selfLink, unittest.equals('foo')); | 644 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 645 checkTeamDrive(o.teamDrive); | 645 checkTeamDrive(o.teamDrive); |
| 646 unittest.expect(o.teamDriveId, unittest.equals('foo')); | 646 unittest.expect(o.teamDriveId, unittest.equals('foo')); |
| 647 unittest.expect(o.type, unittest.equals('foo')); | 647 unittest.expect(o.type, unittest.equals('foo')); |
| 648 } | 648 } |
| 649 buildCounterChange--; | 649 buildCounterChange--; |
| 650 } | 650 } |
| 651 | 651 |
| 652 buildUnnamed628() { | 652 buildUnnamed649() { |
| 653 var o = new core.List<api.Change>(); | 653 var o = new core.List<api.Change>(); |
| 654 o.add(buildChange()); | 654 o.add(buildChange()); |
| 655 o.add(buildChange()); | 655 o.add(buildChange()); |
| 656 return o; | 656 return o; |
| 657 } | 657 } |
| 658 | 658 |
| 659 checkUnnamed628(core.List<api.Change> o) { | 659 checkUnnamed649(core.List<api.Change> o) { |
| 660 unittest.expect(o, unittest.hasLength(2)); | 660 unittest.expect(o, unittest.hasLength(2)); |
| 661 checkChange(o[0]); | 661 checkChange(o[0]); |
| 662 checkChange(o[1]); | 662 checkChange(o[1]); |
| 663 } | 663 } |
| 664 | 664 |
| 665 core.int buildCounterChangeList = 0; | 665 core.int buildCounterChangeList = 0; |
| 666 buildChangeList() { | 666 buildChangeList() { |
| 667 var o = new api.ChangeList(); | 667 var o = new api.ChangeList(); |
| 668 buildCounterChangeList++; | 668 buildCounterChangeList++; |
| 669 if (buildCounterChangeList < 3) { | 669 if (buildCounterChangeList < 3) { |
| 670 o.etag = "foo"; | 670 o.etag = "foo"; |
| 671 o.items = buildUnnamed628(); | 671 o.items = buildUnnamed649(); |
| 672 o.kind = "foo"; | 672 o.kind = "foo"; |
| 673 o.largestChangeId = "foo"; | 673 o.largestChangeId = "foo"; |
| 674 o.newStartPageToken = "foo"; | 674 o.newStartPageToken = "foo"; |
| 675 o.nextLink = "foo"; | 675 o.nextLink = "foo"; |
| 676 o.nextPageToken = "foo"; | 676 o.nextPageToken = "foo"; |
| 677 o.selfLink = "foo"; | 677 o.selfLink = "foo"; |
| 678 } | 678 } |
| 679 buildCounterChangeList--; | 679 buildCounterChangeList--; |
| 680 return o; | 680 return o; |
| 681 } | 681 } |
| 682 | 682 |
| 683 checkChangeList(api.ChangeList o) { | 683 checkChangeList(api.ChangeList o) { |
| 684 buildCounterChangeList++; | 684 buildCounterChangeList++; |
| 685 if (buildCounterChangeList < 3) { | 685 if (buildCounterChangeList < 3) { |
| 686 unittest.expect(o.etag, unittest.equals('foo')); | 686 unittest.expect(o.etag, unittest.equals('foo')); |
| 687 checkUnnamed628(o.items); | 687 checkUnnamed649(o.items); |
| 688 unittest.expect(o.kind, unittest.equals('foo')); | 688 unittest.expect(o.kind, unittest.equals('foo')); |
| 689 unittest.expect(o.largestChangeId, unittest.equals('foo')); | 689 unittest.expect(o.largestChangeId, unittest.equals('foo')); |
| 690 unittest.expect(o.newStartPageToken, unittest.equals('foo')); | 690 unittest.expect(o.newStartPageToken, unittest.equals('foo')); |
| 691 unittest.expect(o.nextLink, unittest.equals('foo')); | 691 unittest.expect(o.nextLink, unittest.equals('foo')); |
| 692 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 692 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 693 unittest.expect(o.selfLink, unittest.equals('foo')); | 693 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 694 } | 694 } |
| 695 buildCounterChangeList--; | 695 buildCounterChangeList--; |
| 696 } | 696 } |
| 697 | 697 |
| 698 buildUnnamed629() { | 698 buildUnnamed650() { |
| 699 var o = new core.Map<core.String, core.String>(); | 699 var o = new core.Map<core.String, core.String>(); |
| 700 o["x"] = "foo"; | 700 o["x"] = "foo"; |
| 701 o["y"] = "foo"; | 701 o["y"] = "foo"; |
| 702 return o; | 702 return o; |
| 703 } | 703 } |
| 704 | 704 |
| 705 checkUnnamed629(core.Map<core.String, core.String> o) { | 705 checkUnnamed650(core.Map<core.String, core.String> o) { |
| 706 unittest.expect(o, unittest.hasLength(2)); | 706 unittest.expect(o, unittest.hasLength(2)); |
| 707 unittest.expect(o["x"], unittest.equals('foo')); | 707 unittest.expect(o["x"], unittest.equals('foo')); |
| 708 unittest.expect(o["y"], unittest.equals('foo')); | 708 unittest.expect(o["y"], unittest.equals('foo')); |
| 709 } | 709 } |
| 710 | 710 |
| 711 core.int buildCounterChannel = 0; | 711 core.int buildCounterChannel = 0; |
| 712 buildChannel() { | 712 buildChannel() { |
| 713 var o = new api.Channel(); | 713 var o = new api.Channel(); |
| 714 buildCounterChannel++; | 714 buildCounterChannel++; |
| 715 if (buildCounterChannel < 3) { | 715 if (buildCounterChannel < 3) { |
| 716 o.address = "foo"; | 716 o.address = "foo"; |
| 717 o.expiration = "foo"; | 717 o.expiration = "foo"; |
| 718 o.id = "foo"; | 718 o.id = "foo"; |
| 719 o.kind = "foo"; | 719 o.kind = "foo"; |
| 720 o.params = buildUnnamed629(); | 720 o.params = buildUnnamed650(); |
| 721 o.payload = true; | 721 o.payload = true; |
| 722 o.resourceId = "foo"; | 722 o.resourceId = "foo"; |
| 723 o.resourceUri = "foo"; | 723 o.resourceUri = "foo"; |
| 724 o.token = "foo"; | 724 o.token = "foo"; |
| 725 o.type = "foo"; | 725 o.type = "foo"; |
| 726 } | 726 } |
| 727 buildCounterChannel--; | 727 buildCounterChannel--; |
| 728 return o; | 728 return o; |
| 729 } | 729 } |
| 730 | 730 |
| 731 checkChannel(api.Channel o) { | 731 checkChannel(api.Channel o) { |
| 732 buildCounterChannel++; | 732 buildCounterChannel++; |
| 733 if (buildCounterChannel < 3) { | 733 if (buildCounterChannel < 3) { |
| 734 unittest.expect(o.address, unittest.equals('foo')); | 734 unittest.expect(o.address, unittest.equals('foo')); |
| 735 unittest.expect(o.expiration, unittest.equals('foo')); | 735 unittest.expect(o.expiration, unittest.equals('foo')); |
| 736 unittest.expect(o.id, unittest.equals('foo')); | 736 unittest.expect(o.id, unittest.equals('foo')); |
| 737 unittest.expect(o.kind, unittest.equals('foo')); | 737 unittest.expect(o.kind, unittest.equals('foo')); |
| 738 checkUnnamed629(o.params); | 738 checkUnnamed650(o.params); |
| 739 unittest.expect(o.payload, unittest.isTrue); | 739 unittest.expect(o.payload, unittest.isTrue); |
| 740 unittest.expect(o.resourceId, unittest.equals('foo')); | 740 unittest.expect(o.resourceId, unittest.equals('foo')); |
| 741 unittest.expect(o.resourceUri, unittest.equals('foo')); | 741 unittest.expect(o.resourceUri, unittest.equals('foo')); |
| 742 unittest.expect(o.token, unittest.equals('foo')); | 742 unittest.expect(o.token, unittest.equals('foo')); |
| 743 unittest.expect(o.type, unittest.equals('foo')); | 743 unittest.expect(o.type, unittest.equals('foo')); |
| 744 } | 744 } |
| 745 buildCounterChannel--; | 745 buildCounterChannel--; |
| 746 } | 746 } |
| 747 | 747 |
| 748 buildUnnamed630() { | 748 buildUnnamed651() { |
| 749 var o = new core.List<api.ChildReference>(); | 749 var o = new core.List<api.ChildReference>(); |
| 750 o.add(buildChildReference()); | 750 o.add(buildChildReference()); |
| 751 o.add(buildChildReference()); | 751 o.add(buildChildReference()); |
| 752 return o; | 752 return o; |
| 753 } | 753 } |
| 754 | 754 |
| 755 checkUnnamed630(core.List<api.ChildReference> o) { | 755 checkUnnamed651(core.List<api.ChildReference> o) { |
| 756 unittest.expect(o, unittest.hasLength(2)); | 756 unittest.expect(o, unittest.hasLength(2)); |
| 757 checkChildReference(o[0]); | 757 checkChildReference(o[0]); |
| 758 checkChildReference(o[1]); | 758 checkChildReference(o[1]); |
| 759 } | 759 } |
| 760 | 760 |
| 761 core.int buildCounterChildList = 0; | 761 core.int buildCounterChildList = 0; |
| 762 buildChildList() { | 762 buildChildList() { |
| 763 var o = new api.ChildList(); | 763 var o = new api.ChildList(); |
| 764 buildCounterChildList++; | 764 buildCounterChildList++; |
| 765 if (buildCounterChildList < 3) { | 765 if (buildCounterChildList < 3) { |
| 766 o.etag = "foo"; | 766 o.etag = "foo"; |
| 767 o.items = buildUnnamed630(); | 767 o.items = buildUnnamed651(); |
| 768 o.kind = "foo"; | 768 o.kind = "foo"; |
| 769 o.nextLink = "foo"; | 769 o.nextLink = "foo"; |
| 770 o.nextPageToken = "foo"; | 770 o.nextPageToken = "foo"; |
| 771 o.selfLink = "foo"; | 771 o.selfLink = "foo"; |
| 772 } | 772 } |
| 773 buildCounterChildList--; | 773 buildCounterChildList--; |
| 774 return o; | 774 return o; |
| 775 } | 775 } |
| 776 | 776 |
| 777 checkChildList(api.ChildList o) { | 777 checkChildList(api.ChildList o) { |
| 778 buildCounterChildList++; | 778 buildCounterChildList++; |
| 779 if (buildCounterChildList < 3) { | 779 if (buildCounterChildList < 3) { |
| 780 unittest.expect(o.etag, unittest.equals('foo')); | 780 unittest.expect(o.etag, unittest.equals('foo')); |
| 781 checkUnnamed630(o.items); | 781 checkUnnamed651(o.items); |
| 782 unittest.expect(o.kind, unittest.equals('foo')); | 782 unittest.expect(o.kind, unittest.equals('foo')); |
| 783 unittest.expect(o.nextLink, unittest.equals('foo')); | 783 unittest.expect(o.nextLink, unittest.equals('foo')); |
| 784 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 784 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 785 unittest.expect(o.selfLink, unittest.equals('foo')); | 785 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 786 } | 786 } |
| 787 buildCounterChildList--; | 787 buildCounterChildList--; |
| 788 } | 788 } |
| 789 | 789 |
| 790 core.int buildCounterChildReference = 0; | 790 core.int buildCounterChildReference = 0; |
| 791 buildChildReference() { | 791 buildChildReference() { |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 826 | 826 |
| 827 checkCommentContext(api.CommentContext o) { | 827 checkCommentContext(api.CommentContext o) { |
| 828 buildCounterCommentContext++; | 828 buildCounterCommentContext++; |
| 829 if (buildCounterCommentContext < 3) { | 829 if (buildCounterCommentContext < 3) { |
| 830 unittest.expect(o.type, unittest.equals('foo')); | 830 unittest.expect(o.type, unittest.equals('foo')); |
| 831 unittest.expect(o.value, unittest.equals('foo')); | 831 unittest.expect(o.value, unittest.equals('foo')); |
| 832 } | 832 } |
| 833 buildCounterCommentContext--; | 833 buildCounterCommentContext--; |
| 834 } | 834 } |
| 835 | 835 |
| 836 buildUnnamed631() { | 836 buildUnnamed652() { |
| 837 var o = new core.List<api.CommentReply>(); | 837 var o = new core.List<api.CommentReply>(); |
| 838 o.add(buildCommentReply()); | 838 o.add(buildCommentReply()); |
| 839 o.add(buildCommentReply()); | 839 o.add(buildCommentReply()); |
| 840 return o; | 840 return o; |
| 841 } | 841 } |
| 842 | 842 |
| 843 checkUnnamed631(core.List<api.CommentReply> o) { | 843 checkUnnamed652(core.List<api.CommentReply> o) { |
| 844 unittest.expect(o, unittest.hasLength(2)); | 844 unittest.expect(o, unittest.hasLength(2)); |
| 845 checkCommentReply(o[0]); | 845 checkCommentReply(o[0]); |
| 846 checkCommentReply(o[1]); | 846 checkCommentReply(o[1]); |
| 847 } | 847 } |
| 848 | 848 |
| 849 core.int buildCounterComment = 0; | 849 core.int buildCounterComment = 0; |
| 850 buildComment() { | 850 buildComment() { |
| 851 var o = new api.Comment(); | 851 var o = new api.Comment(); |
| 852 buildCounterComment++; | 852 buildCounterComment++; |
| 853 if (buildCounterComment < 3) { | 853 if (buildCounterComment < 3) { |
| 854 o.anchor = "foo"; | 854 o.anchor = "foo"; |
| 855 o.author = buildUser(); | 855 o.author = buildUser(); |
| 856 o.commentId = "foo"; | 856 o.commentId = "foo"; |
| 857 o.content = "foo"; | 857 o.content = "foo"; |
| 858 o.context = buildCommentContext(); | 858 o.context = buildCommentContext(); |
| 859 o.createdDate = core.DateTime.parse("2002-02-27T14:01:02"); | 859 o.createdDate = core.DateTime.parse("2002-02-27T14:01:02"); |
| 860 o.deleted = true; | 860 o.deleted = true; |
| 861 o.fileId = "foo"; | 861 o.fileId = "foo"; |
| 862 o.fileTitle = "foo"; | 862 o.fileTitle = "foo"; |
| 863 o.htmlContent = "foo"; | 863 o.htmlContent = "foo"; |
| 864 o.kind = "foo"; | 864 o.kind = "foo"; |
| 865 o.modifiedDate = core.DateTime.parse("2002-02-27T14:01:02"); | 865 o.modifiedDate = core.DateTime.parse("2002-02-27T14:01:02"); |
| 866 o.replies = buildUnnamed631(); | 866 o.replies = buildUnnamed652(); |
| 867 o.selfLink = "foo"; | 867 o.selfLink = "foo"; |
| 868 o.status = "foo"; | 868 o.status = "foo"; |
| 869 } | 869 } |
| 870 buildCounterComment--; | 870 buildCounterComment--; |
| 871 return o; | 871 return o; |
| 872 } | 872 } |
| 873 | 873 |
| 874 checkComment(api.Comment o) { | 874 checkComment(api.Comment o) { |
| 875 buildCounterComment++; | 875 buildCounterComment++; |
| 876 if (buildCounterComment < 3) { | 876 if (buildCounterComment < 3) { |
| 877 unittest.expect(o.anchor, unittest.equals('foo')); | 877 unittest.expect(o.anchor, unittest.equals('foo')); |
| 878 checkUser(o.author); | 878 checkUser(o.author); |
| 879 unittest.expect(o.commentId, unittest.equals('foo')); | 879 unittest.expect(o.commentId, unittest.equals('foo')); |
| 880 unittest.expect(o.content, unittest.equals('foo')); | 880 unittest.expect(o.content, unittest.equals('foo')); |
| 881 checkCommentContext(o.context); | 881 checkCommentContext(o.context); |
| 882 unittest.expect(o.createdDate, unittest.equals(core.DateTime.parse("2002-02-
27T14:01:02"))); | 882 unittest.expect(o.createdDate, unittest.equals(core.DateTime.parse("2002-02-
27T14:01:02"))); |
| 883 unittest.expect(o.deleted, unittest.isTrue); | 883 unittest.expect(o.deleted, unittest.isTrue); |
| 884 unittest.expect(o.fileId, unittest.equals('foo')); | 884 unittest.expect(o.fileId, unittest.equals('foo')); |
| 885 unittest.expect(o.fileTitle, unittest.equals('foo')); | 885 unittest.expect(o.fileTitle, unittest.equals('foo')); |
| 886 unittest.expect(o.htmlContent, unittest.equals('foo')); | 886 unittest.expect(o.htmlContent, unittest.equals('foo')); |
| 887 unittest.expect(o.kind, unittest.equals('foo')); | 887 unittest.expect(o.kind, unittest.equals('foo')); |
| 888 unittest.expect(o.modifiedDate, unittest.equals(core.DateTime.parse("2002-02
-27T14:01:02"))); | 888 unittest.expect(o.modifiedDate, unittest.equals(core.DateTime.parse("2002-02
-27T14:01:02"))); |
| 889 checkUnnamed631(o.replies); | 889 checkUnnamed652(o.replies); |
| 890 unittest.expect(o.selfLink, unittest.equals('foo')); | 890 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 891 unittest.expect(o.status, unittest.equals('foo')); | 891 unittest.expect(o.status, unittest.equals('foo')); |
| 892 } | 892 } |
| 893 buildCounterComment--; | 893 buildCounterComment--; |
| 894 } | 894 } |
| 895 | 895 |
| 896 buildUnnamed632() { | 896 buildUnnamed653() { |
| 897 var o = new core.List<api.Comment>(); | 897 var o = new core.List<api.Comment>(); |
| 898 o.add(buildComment()); | 898 o.add(buildComment()); |
| 899 o.add(buildComment()); | 899 o.add(buildComment()); |
| 900 return o; | 900 return o; |
| 901 } | 901 } |
| 902 | 902 |
| 903 checkUnnamed632(core.List<api.Comment> o) { | 903 checkUnnamed653(core.List<api.Comment> o) { |
| 904 unittest.expect(o, unittest.hasLength(2)); | 904 unittest.expect(o, unittest.hasLength(2)); |
| 905 checkComment(o[0]); | 905 checkComment(o[0]); |
| 906 checkComment(o[1]); | 906 checkComment(o[1]); |
| 907 } | 907 } |
| 908 | 908 |
| 909 core.int buildCounterCommentList = 0; | 909 core.int buildCounterCommentList = 0; |
| 910 buildCommentList() { | 910 buildCommentList() { |
| 911 var o = new api.CommentList(); | 911 var o = new api.CommentList(); |
| 912 buildCounterCommentList++; | 912 buildCounterCommentList++; |
| 913 if (buildCounterCommentList < 3) { | 913 if (buildCounterCommentList < 3) { |
| 914 o.items = buildUnnamed632(); | 914 o.items = buildUnnamed653(); |
| 915 o.kind = "foo"; | 915 o.kind = "foo"; |
| 916 o.nextLink = "foo"; | 916 o.nextLink = "foo"; |
| 917 o.nextPageToken = "foo"; | 917 o.nextPageToken = "foo"; |
| 918 o.selfLink = "foo"; | 918 o.selfLink = "foo"; |
| 919 } | 919 } |
| 920 buildCounterCommentList--; | 920 buildCounterCommentList--; |
| 921 return o; | 921 return o; |
| 922 } | 922 } |
| 923 | 923 |
| 924 checkCommentList(api.CommentList o) { | 924 checkCommentList(api.CommentList o) { |
| 925 buildCounterCommentList++; | 925 buildCounterCommentList++; |
| 926 if (buildCounterCommentList < 3) { | 926 if (buildCounterCommentList < 3) { |
| 927 checkUnnamed632(o.items); | 927 checkUnnamed653(o.items); |
| 928 unittest.expect(o.kind, unittest.equals('foo')); | 928 unittest.expect(o.kind, unittest.equals('foo')); |
| 929 unittest.expect(o.nextLink, unittest.equals('foo')); | 929 unittest.expect(o.nextLink, unittest.equals('foo')); |
| 930 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 930 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 931 unittest.expect(o.selfLink, unittest.equals('foo')); | 931 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 932 } | 932 } |
| 933 buildCounterCommentList--; | 933 buildCounterCommentList--; |
| 934 } | 934 } |
| 935 | 935 |
| 936 core.int buildCounterCommentReply = 0; | 936 core.int buildCounterCommentReply = 0; |
| 937 buildCommentReply() { | 937 buildCommentReply() { |
| (...skipping 23 matching lines...) Expand all Loading... |
| 961 unittest.expect(o.deleted, unittest.isTrue); | 961 unittest.expect(o.deleted, unittest.isTrue); |
| 962 unittest.expect(o.htmlContent, unittest.equals('foo')); | 962 unittest.expect(o.htmlContent, unittest.equals('foo')); |
| 963 unittest.expect(o.kind, unittest.equals('foo')); | 963 unittest.expect(o.kind, unittest.equals('foo')); |
| 964 unittest.expect(o.modifiedDate, unittest.equals(core.DateTime.parse("2002-02
-27T14:01:02"))); | 964 unittest.expect(o.modifiedDate, unittest.equals(core.DateTime.parse("2002-02
-27T14:01:02"))); |
| 965 unittest.expect(o.replyId, unittest.equals('foo')); | 965 unittest.expect(o.replyId, unittest.equals('foo')); |
| 966 unittest.expect(o.verb, unittest.equals('foo')); | 966 unittest.expect(o.verb, unittest.equals('foo')); |
| 967 } | 967 } |
| 968 buildCounterCommentReply--; | 968 buildCounterCommentReply--; |
| 969 } | 969 } |
| 970 | 970 |
| 971 buildUnnamed633() { | 971 buildUnnamed654() { |
| 972 var o = new core.List<api.CommentReply>(); | 972 var o = new core.List<api.CommentReply>(); |
| 973 o.add(buildCommentReply()); | 973 o.add(buildCommentReply()); |
| 974 o.add(buildCommentReply()); | 974 o.add(buildCommentReply()); |
| 975 return o; | 975 return o; |
| 976 } | 976 } |
| 977 | 977 |
| 978 checkUnnamed633(core.List<api.CommentReply> o) { | 978 checkUnnamed654(core.List<api.CommentReply> o) { |
| 979 unittest.expect(o, unittest.hasLength(2)); | 979 unittest.expect(o, unittest.hasLength(2)); |
| 980 checkCommentReply(o[0]); | 980 checkCommentReply(o[0]); |
| 981 checkCommentReply(o[1]); | 981 checkCommentReply(o[1]); |
| 982 } | 982 } |
| 983 | 983 |
| 984 core.int buildCounterCommentReplyList = 0; | 984 core.int buildCounterCommentReplyList = 0; |
| 985 buildCommentReplyList() { | 985 buildCommentReplyList() { |
| 986 var o = new api.CommentReplyList(); | 986 var o = new api.CommentReplyList(); |
| 987 buildCounterCommentReplyList++; | 987 buildCounterCommentReplyList++; |
| 988 if (buildCounterCommentReplyList < 3) { | 988 if (buildCounterCommentReplyList < 3) { |
| 989 o.items = buildUnnamed633(); | 989 o.items = buildUnnamed654(); |
| 990 o.kind = "foo"; | 990 o.kind = "foo"; |
| 991 o.nextLink = "foo"; | 991 o.nextLink = "foo"; |
| 992 o.nextPageToken = "foo"; | 992 o.nextPageToken = "foo"; |
| 993 o.selfLink = "foo"; | 993 o.selfLink = "foo"; |
| 994 } | 994 } |
| 995 buildCounterCommentReplyList--; | 995 buildCounterCommentReplyList--; |
| 996 return o; | 996 return o; |
| 997 } | 997 } |
| 998 | 998 |
| 999 checkCommentReplyList(api.CommentReplyList o) { | 999 checkCommentReplyList(api.CommentReplyList o) { |
| 1000 buildCounterCommentReplyList++; | 1000 buildCounterCommentReplyList++; |
| 1001 if (buildCounterCommentReplyList < 3) { | 1001 if (buildCounterCommentReplyList < 3) { |
| 1002 checkUnnamed633(o.items); | 1002 checkUnnamed654(o.items); |
| 1003 unittest.expect(o.kind, unittest.equals('foo')); | 1003 unittest.expect(o.kind, unittest.equals('foo')); |
| 1004 unittest.expect(o.nextLink, unittest.equals('foo')); | 1004 unittest.expect(o.nextLink, unittest.equals('foo')); |
| 1005 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1005 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1006 unittest.expect(o.selfLink, unittest.equals('foo')); | 1006 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 1007 } | 1007 } |
| 1008 buildCounterCommentReplyList--; | 1008 buildCounterCommentReplyList--; |
| 1009 } | 1009 } |
| 1010 | 1010 |
| 1011 core.int buildCounterFileCapabilities = 0; | 1011 core.int buildCounterFileCapabilities = 0; |
| 1012 buildFileCapabilities() { | 1012 buildFileCapabilities() { |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1050 unittest.expect(o.canReadTeamDrive, unittest.isTrue); | 1050 unittest.expect(o.canReadTeamDrive, unittest.isTrue); |
| 1051 unittest.expect(o.canRemoveChildren, unittest.isTrue); | 1051 unittest.expect(o.canRemoveChildren, unittest.isTrue); |
| 1052 unittest.expect(o.canRename, unittest.isTrue); | 1052 unittest.expect(o.canRename, unittest.isTrue); |
| 1053 unittest.expect(o.canShare, unittest.isTrue); | 1053 unittest.expect(o.canShare, unittest.isTrue); |
| 1054 unittest.expect(o.canTrash, unittest.isTrue); | 1054 unittest.expect(o.canTrash, unittest.isTrue); |
| 1055 unittest.expect(o.canUntrash, unittest.isTrue); | 1055 unittest.expect(o.canUntrash, unittest.isTrue); |
| 1056 } | 1056 } |
| 1057 buildCounterFileCapabilities--; | 1057 buildCounterFileCapabilities--; |
| 1058 } | 1058 } |
| 1059 | 1059 |
| 1060 buildUnnamed634() { | 1060 buildUnnamed655() { |
| 1061 var o = new core.Map<core.String, core.String>(); | 1061 var o = new core.Map<core.String, core.String>(); |
| 1062 o["x"] = "foo"; | 1062 o["x"] = "foo"; |
| 1063 o["y"] = "foo"; | 1063 o["y"] = "foo"; |
| 1064 return o; | 1064 return o; |
| 1065 } | 1065 } |
| 1066 | 1066 |
| 1067 checkUnnamed634(core.Map<core.String, core.String> o) { | 1067 checkUnnamed655(core.Map<core.String, core.String> o) { |
| 1068 unittest.expect(o, unittest.hasLength(2)); | 1068 unittest.expect(o, unittest.hasLength(2)); |
| 1069 unittest.expect(o["x"], unittest.equals('foo')); | 1069 unittest.expect(o["x"], unittest.equals('foo')); |
| 1070 unittest.expect(o["y"], unittest.equals('foo')); | 1070 unittest.expect(o["y"], unittest.equals('foo')); |
| 1071 } | 1071 } |
| 1072 | 1072 |
| 1073 core.int buildCounterFileImageMediaMetadataLocation = 0; | 1073 core.int buildCounterFileImageMediaMetadataLocation = 0; |
| 1074 buildFileImageMediaMetadataLocation() { | 1074 buildFileImageMediaMetadataLocation() { |
| 1075 var o = new api.FileImageMediaMetadataLocation(); | 1075 var o = new api.FileImageMediaMetadataLocation(); |
| 1076 buildCounterFileImageMediaMetadataLocation++; | 1076 buildCounterFileImageMediaMetadataLocation++; |
| 1077 if (buildCounterFileImageMediaMetadataLocation < 3) { | 1077 if (buildCounterFileImageMediaMetadataLocation < 3) { |
| (...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1193 unittest.expect(o.hidden, unittest.isTrue); | 1193 unittest.expect(o.hidden, unittest.isTrue); |
| 1194 unittest.expect(o.modified, unittest.isTrue); | 1194 unittest.expect(o.modified, unittest.isTrue); |
| 1195 unittest.expect(o.restricted, unittest.isTrue); | 1195 unittest.expect(o.restricted, unittest.isTrue); |
| 1196 unittest.expect(o.starred, unittest.isTrue); | 1196 unittest.expect(o.starred, unittest.isTrue); |
| 1197 unittest.expect(o.trashed, unittest.isTrue); | 1197 unittest.expect(o.trashed, unittest.isTrue); |
| 1198 unittest.expect(o.viewed, unittest.isTrue); | 1198 unittest.expect(o.viewed, unittest.isTrue); |
| 1199 } | 1199 } |
| 1200 buildCounterFileLabels--; | 1200 buildCounterFileLabels--; |
| 1201 } | 1201 } |
| 1202 | 1202 |
| 1203 buildUnnamed635() { | 1203 buildUnnamed656() { |
| 1204 var o = new core.Map<core.String, core.String>(); | 1204 var o = new core.Map<core.String, core.String>(); |
| 1205 o["x"] = "foo"; | 1205 o["x"] = "foo"; |
| 1206 o["y"] = "foo"; | 1206 o["y"] = "foo"; |
| 1207 return o; | 1207 return o; |
| 1208 } | 1208 } |
| 1209 | 1209 |
| 1210 checkUnnamed635(core.Map<core.String, core.String> o) { | 1210 checkUnnamed656(core.Map<core.String, core.String> o) { |
| 1211 unittest.expect(o, unittest.hasLength(2)); | 1211 unittest.expect(o, unittest.hasLength(2)); |
| 1212 unittest.expect(o["x"], unittest.equals('foo')); | 1212 unittest.expect(o["x"], unittest.equals('foo')); |
| 1213 unittest.expect(o["y"], unittest.equals('foo')); | 1213 unittest.expect(o["y"], unittest.equals('foo')); |
| 1214 } | 1214 } |
| 1215 | 1215 |
| 1216 buildUnnamed636() { | 1216 buildUnnamed657() { |
| 1217 var o = new core.List<core.String>(); | 1217 var o = new core.List<core.String>(); |
| 1218 o.add("foo"); | 1218 o.add("foo"); |
| 1219 o.add("foo"); | 1219 o.add("foo"); |
| 1220 return o; | 1220 return o; |
| 1221 } | 1221 } |
| 1222 | 1222 |
| 1223 checkUnnamed636(core.List<core.String> o) { | 1223 checkUnnamed657(core.List<core.String> o) { |
| 1224 unittest.expect(o, unittest.hasLength(2)); | 1224 unittest.expect(o, unittest.hasLength(2)); |
| 1225 unittest.expect(o[0], unittest.equals('foo')); | 1225 unittest.expect(o[0], unittest.equals('foo')); |
| 1226 unittest.expect(o[1], unittest.equals('foo')); | 1226 unittest.expect(o[1], unittest.equals('foo')); |
| 1227 } | 1227 } |
| 1228 | 1228 |
| 1229 buildUnnamed637() { | 1229 buildUnnamed658() { |
| 1230 var o = new core.List<api.User>(); | 1230 var o = new core.List<api.User>(); |
| 1231 o.add(buildUser()); | 1231 o.add(buildUser()); |
| 1232 o.add(buildUser()); | 1232 o.add(buildUser()); |
| 1233 return o; | 1233 return o; |
| 1234 } | 1234 } |
| 1235 | 1235 |
| 1236 checkUnnamed637(core.List<api.User> o) { | 1236 checkUnnamed658(core.List<api.User> o) { |
| 1237 unittest.expect(o, unittest.hasLength(2)); | 1237 unittest.expect(o, unittest.hasLength(2)); |
| 1238 checkUser(o[0]); | 1238 checkUser(o[0]); |
| 1239 checkUser(o[1]); | 1239 checkUser(o[1]); |
| 1240 } | 1240 } |
| 1241 | 1241 |
| 1242 buildUnnamed638() { | 1242 buildUnnamed659() { |
| 1243 var o = new core.List<api.ParentReference>(); | 1243 var o = new core.List<api.ParentReference>(); |
| 1244 o.add(buildParentReference()); | 1244 o.add(buildParentReference()); |
| 1245 o.add(buildParentReference()); | 1245 o.add(buildParentReference()); |
| 1246 return o; | 1246 return o; |
| 1247 } | 1247 } |
| 1248 | 1248 |
| 1249 checkUnnamed638(core.List<api.ParentReference> o) { | 1249 checkUnnamed659(core.List<api.ParentReference> o) { |
| 1250 unittest.expect(o, unittest.hasLength(2)); | 1250 unittest.expect(o, unittest.hasLength(2)); |
| 1251 checkParentReference(o[0]); | 1251 checkParentReference(o[0]); |
| 1252 checkParentReference(o[1]); | 1252 checkParentReference(o[1]); |
| 1253 } | 1253 } |
| 1254 | 1254 |
| 1255 buildUnnamed639() { | 1255 buildUnnamed660() { |
| 1256 var o = new core.List<api.Permission>(); | 1256 var o = new core.List<api.Permission>(); |
| 1257 o.add(buildPermission()); | 1257 o.add(buildPermission()); |
| 1258 o.add(buildPermission()); | 1258 o.add(buildPermission()); |
| 1259 return o; | 1259 return o; |
| 1260 } | 1260 } |
| 1261 | 1261 |
| 1262 checkUnnamed639(core.List<api.Permission> o) { | 1262 checkUnnamed660(core.List<api.Permission> o) { |
| 1263 unittest.expect(o, unittest.hasLength(2)); | 1263 unittest.expect(o, unittest.hasLength(2)); |
| 1264 checkPermission(o[0]); | 1264 checkPermission(o[0]); |
| 1265 checkPermission(o[1]); | 1265 checkPermission(o[1]); |
| 1266 } | 1266 } |
| 1267 | 1267 |
| 1268 buildUnnamed640() { | 1268 buildUnnamed661() { |
| 1269 var o = new core.List<api.Property>(); | 1269 var o = new core.List<api.Property>(); |
| 1270 o.add(buildProperty()); | 1270 o.add(buildProperty()); |
| 1271 o.add(buildProperty()); | 1271 o.add(buildProperty()); |
| 1272 return o; | 1272 return o; |
| 1273 } | 1273 } |
| 1274 | 1274 |
| 1275 checkUnnamed640(core.List<api.Property> o) { | 1275 checkUnnamed661(core.List<api.Property> o) { |
| 1276 unittest.expect(o, unittest.hasLength(2)); | 1276 unittest.expect(o, unittest.hasLength(2)); |
| 1277 checkProperty(o[0]); | 1277 checkProperty(o[0]); |
| 1278 checkProperty(o[1]); | 1278 checkProperty(o[1]); |
| 1279 } | 1279 } |
| 1280 | 1280 |
| 1281 buildUnnamed641() { | 1281 buildUnnamed662() { |
| 1282 var o = new core.List<core.String>(); | 1282 var o = new core.List<core.String>(); |
| 1283 o.add("foo"); | 1283 o.add("foo"); |
| 1284 o.add("foo"); | 1284 o.add("foo"); |
| 1285 return o; | 1285 return o; |
| 1286 } | 1286 } |
| 1287 | 1287 |
| 1288 checkUnnamed641(core.List<core.String> o) { | 1288 checkUnnamed662(core.List<core.String> o) { |
| 1289 unittest.expect(o, unittest.hasLength(2)); | 1289 unittest.expect(o, unittest.hasLength(2)); |
| 1290 unittest.expect(o[0], unittest.equals('foo')); | 1290 unittest.expect(o[0], unittest.equals('foo')); |
| 1291 unittest.expect(o[1], unittest.equals('foo')); | 1291 unittest.expect(o[1], unittest.equals('foo')); |
| 1292 } | 1292 } |
| 1293 | 1293 |
| 1294 core.int buildCounterFileThumbnail = 0; | 1294 core.int buildCounterFileThumbnail = 0; |
| 1295 buildFileThumbnail() { | 1295 buildFileThumbnail() { |
| 1296 var o = new api.FileThumbnail(); | 1296 var o = new api.FileThumbnail(); |
| 1297 buildCounterFileThumbnail++; | 1297 buildCounterFileThumbnail++; |
| 1298 if (buildCounterFileThumbnail < 3) { | 1298 if (buildCounterFileThumbnail < 3) { |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1347 o.capabilities = buildFileCapabilities(); | 1347 o.capabilities = buildFileCapabilities(); |
| 1348 o.copyable = true; | 1348 o.copyable = true; |
| 1349 o.createdDate = core.DateTime.parse("2002-02-27T14:01:02"); | 1349 o.createdDate = core.DateTime.parse("2002-02-27T14:01:02"); |
| 1350 o.defaultOpenWithLink = "foo"; | 1350 o.defaultOpenWithLink = "foo"; |
| 1351 o.description = "foo"; | 1351 o.description = "foo"; |
| 1352 o.downloadUrl = "foo"; | 1352 o.downloadUrl = "foo"; |
| 1353 o.editable = true; | 1353 o.editable = true; |
| 1354 o.embedLink = "foo"; | 1354 o.embedLink = "foo"; |
| 1355 o.etag = "foo"; | 1355 o.etag = "foo"; |
| 1356 o.explicitlyTrashed = true; | 1356 o.explicitlyTrashed = true; |
| 1357 o.exportLinks = buildUnnamed634(); | 1357 o.exportLinks = buildUnnamed655(); |
| 1358 o.fileExtension = "foo"; | 1358 o.fileExtension = "foo"; |
| 1359 o.fileSize = "foo"; | 1359 o.fileSize = "foo"; |
| 1360 o.folderColorRgb = "foo"; | 1360 o.folderColorRgb = "foo"; |
| 1361 o.fullFileExtension = "foo"; | 1361 o.fullFileExtension = "foo"; |
| 1362 o.hasAugmentedPermissions = true; | 1362 o.hasAugmentedPermissions = true; |
| 1363 o.hasThumbnail = true; | 1363 o.hasThumbnail = true; |
| 1364 o.headRevisionId = "foo"; | 1364 o.headRevisionId = "foo"; |
| 1365 o.iconLink = "foo"; | 1365 o.iconLink = "foo"; |
| 1366 o.id = "foo"; | 1366 o.id = "foo"; |
| 1367 o.imageMediaMetadata = buildFileImageMediaMetadata(); | 1367 o.imageMediaMetadata = buildFileImageMediaMetadata(); |
| 1368 o.indexableText = buildFileIndexableText(); | 1368 o.indexableText = buildFileIndexableText(); |
| 1369 o.isAppAuthorized = true; | 1369 o.isAppAuthorized = true; |
| 1370 o.kind = "foo"; | 1370 o.kind = "foo"; |
| 1371 o.labels = buildFileLabels(); | 1371 o.labels = buildFileLabels(); |
| 1372 o.lastModifyingUser = buildUser(); | 1372 o.lastModifyingUser = buildUser(); |
| 1373 o.lastModifyingUserName = "foo"; | 1373 o.lastModifyingUserName = "foo"; |
| 1374 o.lastViewedByMeDate = core.DateTime.parse("2002-02-27T14:01:02"); | 1374 o.lastViewedByMeDate = core.DateTime.parse("2002-02-27T14:01:02"); |
| 1375 o.markedViewedByMeDate = core.DateTime.parse("2002-02-27T14:01:02"); | 1375 o.markedViewedByMeDate = core.DateTime.parse("2002-02-27T14:01:02"); |
| 1376 o.md5Checksum = "foo"; | 1376 o.md5Checksum = "foo"; |
| 1377 o.mimeType = "foo"; | 1377 o.mimeType = "foo"; |
| 1378 o.modifiedByMeDate = core.DateTime.parse("2002-02-27T14:01:02"); | 1378 o.modifiedByMeDate = core.DateTime.parse("2002-02-27T14:01:02"); |
| 1379 o.modifiedDate = core.DateTime.parse("2002-02-27T14:01:02"); | 1379 o.modifiedDate = core.DateTime.parse("2002-02-27T14:01:02"); |
| 1380 o.openWithLinks = buildUnnamed635(); | 1380 o.openWithLinks = buildUnnamed656(); |
| 1381 o.originalFilename = "foo"; | 1381 o.originalFilename = "foo"; |
| 1382 o.ownedByMe = true; | 1382 o.ownedByMe = true; |
| 1383 o.ownerNames = buildUnnamed636(); | 1383 o.ownerNames = buildUnnamed657(); |
| 1384 o.owners = buildUnnamed637(); | 1384 o.owners = buildUnnamed658(); |
| 1385 o.parents = buildUnnamed638(); | 1385 o.parents = buildUnnamed659(); |
| 1386 o.permissions = buildUnnamed639(); | 1386 o.permissions = buildUnnamed660(); |
| 1387 o.properties = buildUnnamed640(); | 1387 o.properties = buildUnnamed661(); |
| 1388 o.quotaBytesUsed = "foo"; | 1388 o.quotaBytesUsed = "foo"; |
| 1389 o.selfLink = "foo"; | 1389 o.selfLink = "foo"; |
| 1390 o.shareable = true; | 1390 o.shareable = true; |
| 1391 o.shared = true; | 1391 o.shared = true; |
| 1392 o.sharedWithMeDate = core.DateTime.parse("2002-02-27T14:01:02"); | 1392 o.sharedWithMeDate = core.DateTime.parse("2002-02-27T14:01:02"); |
| 1393 o.sharingUser = buildUser(); | 1393 o.sharingUser = buildUser(); |
| 1394 o.spaces = buildUnnamed641(); | 1394 o.spaces = buildUnnamed662(); |
| 1395 o.teamDriveId = "foo"; | 1395 o.teamDriveId = "foo"; |
| 1396 o.thumbnail = buildFileThumbnail(); | 1396 o.thumbnail = buildFileThumbnail(); |
| 1397 o.thumbnailLink = "foo"; | 1397 o.thumbnailLink = "foo"; |
| 1398 o.thumbnailVersion = "foo"; | 1398 o.thumbnailVersion = "foo"; |
| 1399 o.title = "foo"; | 1399 o.title = "foo"; |
| 1400 o.trashedDate = core.DateTime.parse("2002-02-27T14:01:02"); | 1400 o.trashedDate = core.DateTime.parse("2002-02-27T14:01:02"); |
| 1401 o.trashingUser = buildUser(); | 1401 o.trashingUser = buildUser(); |
| 1402 o.userPermission = buildPermission(); | 1402 o.userPermission = buildPermission(); |
| 1403 o.version = "foo"; | 1403 o.version = "foo"; |
| 1404 o.videoMediaMetadata = buildFileVideoMediaMetadata(); | 1404 o.videoMediaMetadata = buildFileVideoMediaMetadata(); |
| (...skipping 15 matching lines...) Expand all Loading... |
| 1420 checkFileCapabilities(o.capabilities); | 1420 checkFileCapabilities(o.capabilities); |
| 1421 unittest.expect(o.copyable, unittest.isTrue); | 1421 unittest.expect(o.copyable, unittest.isTrue); |
| 1422 unittest.expect(o.createdDate, unittest.equals(core.DateTime.parse("2002-02-
27T14:01:02"))); | 1422 unittest.expect(o.createdDate, unittest.equals(core.DateTime.parse("2002-02-
27T14:01:02"))); |
| 1423 unittest.expect(o.defaultOpenWithLink, unittest.equals('foo')); | 1423 unittest.expect(o.defaultOpenWithLink, unittest.equals('foo')); |
| 1424 unittest.expect(o.description, unittest.equals('foo')); | 1424 unittest.expect(o.description, unittest.equals('foo')); |
| 1425 unittest.expect(o.downloadUrl, unittest.equals('foo')); | 1425 unittest.expect(o.downloadUrl, unittest.equals('foo')); |
| 1426 unittest.expect(o.editable, unittest.isTrue); | 1426 unittest.expect(o.editable, unittest.isTrue); |
| 1427 unittest.expect(o.embedLink, unittest.equals('foo')); | 1427 unittest.expect(o.embedLink, unittest.equals('foo')); |
| 1428 unittest.expect(o.etag, unittest.equals('foo')); | 1428 unittest.expect(o.etag, unittest.equals('foo')); |
| 1429 unittest.expect(o.explicitlyTrashed, unittest.isTrue); | 1429 unittest.expect(o.explicitlyTrashed, unittest.isTrue); |
| 1430 checkUnnamed634(o.exportLinks); | 1430 checkUnnamed655(o.exportLinks); |
| 1431 unittest.expect(o.fileExtension, unittest.equals('foo')); | 1431 unittest.expect(o.fileExtension, unittest.equals('foo')); |
| 1432 unittest.expect(o.fileSize, unittest.equals('foo')); | 1432 unittest.expect(o.fileSize, unittest.equals('foo')); |
| 1433 unittest.expect(o.folderColorRgb, unittest.equals('foo')); | 1433 unittest.expect(o.folderColorRgb, unittest.equals('foo')); |
| 1434 unittest.expect(o.fullFileExtension, unittest.equals('foo')); | 1434 unittest.expect(o.fullFileExtension, unittest.equals('foo')); |
| 1435 unittest.expect(o.hasAugmentedPermissions, unittest.isTrue); | 1435 unittest.expect(o.hasAugmentedPermissions, unittest.isTrue); |
| 1436 unittest.expect(o.hasThumbnail, unittest.isTrue); | 1436 unittest.expect(o.hasThumbnail, unittest.isTrue); |
| 1437 unittest.expect(o.headRevisionId, unittest.equals('foo')); | 1437 unittest.expect(o.headRevisionId, unittest.equals('foo')); |
| 1438 unittest.expect(o.iconLink, unittest.equals('foo')); | 1438 unittest.expect(o.iconLink, unittest.equals('foo')); |
| 1439 unittest.expect(o.id, unittest.equals('foo')); | 1439 unittest.expect(o.id, unittest.equals('foo')); |
| 1440 checkFileImageMediaMetadata(o.imageMediaMetadata); | 1440 checkFileImageMediaMetadata(o.imageMediaMetadata); |
| 1441 checkFileIndexableText(o.indexableText); | 1441 checkFileIndexableText(o.indexableText); |
| 1442 unittest.expect(o.isAppAuthorized, unittest.isTrue); | 1442 unittest.expect(o.isAppAuthorized, unittest.isTrue); |
| 1443 unittest.expect(o.kind, unittest.equals('foo')); | 1443 unittest.expect(o.kind, unittest.equals('foo')); |
| 1444 checkFileLabels(o.labels); | 1444 checkFileLabels(o.labels); |
| 1445 checkUser(o.lastModifyingUser); | 1445 checkUser(o.lastModifyingUser); |
| 1446 unittest.expect(o.lastModifyingUserName, unittest.equals('foo')); | 1446 unittest.expect(o.lastModifyingUserName, unittest.equals('foo')); |
| 1447 unittest.expect(o.lastViewedByMeDate, unittest.equals(core.DateTime.parse("2
002-02-27T14:01:02"))); | 1447 unittest.expect(o.lastViewedByMeDate, unittest.equals(core.DateTime.parse("2
002-02-27T14:01:02"))); |
| 1448 unittest.expect(o.markedViewedByMeDate, unittest.equals(core.DateTime.parse(
"2002-02-27T14:01:02"))); | 1448 unittest.expect(o.markedViewedByMeDate, unittest.equals(core.DateTime.parse(
"2002-02-27T14:01:02"))); |
| 1449 unittest.expect(o.md5Checksum, unittest.equals('foo')); | 1449 unittest.expect(o.md5Checksum, unittest.equals('foo')); |
| 1450 unittest.expect(o.mimeType, unittest.equals('foo')); | 1450 unittest.expect(o.mimeType, unittest.equals('foo')); |
| 1451 unittest.expect(o.modifiedByMeDate, unittest.equals(core.DateTime.parse("200
2-02-27T14:01:02"))); | 1451 unittest.expect(o.modifiedByMeDate, unittest.equals(core.DateTime.parse("200
2-02-27T14:01:02"))); |
| 1452 unittest.expect(o.modifiedDate, unittest.equals(core.DateTime.parse("2002-02
-27T14:01:02"))); | 1452 unittest.expect(o.modifiedDate, unittest.equals(core.DateTime.parse("2002-02
-27T14:01:02"))); |
| 1453 checkUnnamed635(o.openWithLinks); | 1453 checkUnnamed656(o.openWithLinks); |
| 1454 unittest.expect(o.originalFilename, unittest.equals('foo')); | 1454 unittest.expect(o.originalFilename, unittest.equals('foo')); |
| 1455 unittest.expect(o.ownedByMe, unittest.isTrue); | 1455 unittest.expect(o.ownedByMe, unittest.isTrue); |
| 1456 checkUnnamed636(o.ownerNames); | 1456 checkUnnamed657(o.ownerNames); |
| 1457 checkUnnamed637(o.owners); | 1457 checkUnnamed658(o.owners); |
| 1458 checkUnnamed638(o.parents); | 1458 checkUnnamed659(o.parents); |
| 1459 checkUnnamed639(o.permissions); | 1459 checkUnnamed660(o.permissions); |
| 1460 checkUnnamed640(o.properties); | 1460 checkUnnamed661(o.properties); |
| 1461 unittest.expect(o.quotaBytesUsed, unittest.equals('foo')); | 1461 unittest.expect(o.quotaBytesUsed, unittest.equals('foo')); |
| 1462 unittest.expect(o.selfLink, unittest.equals('foo')); | 1462 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 1463 unittest.expect(o.shareable, unittest.isTrue); | 1463 unittest.expect(o.shareable, unittest.isTrue); |
| 1464 unittest.expect(o.shared, unittest.isTrue); | 1464 unittest.expect(o.shared, unittest.isTrue); |
| 1465 unittest.expect(o.sharedWithMeDate, unittest.equals(core.DateTime.parse("200
2-02-27T14:01:02"))); | 1465 unittest.expect(o.sharedWithMeDate, unittest.equals(core.DateTime.parse("200
2-02-27T14:01:02"))); |
| 1466 checkUser(o.sharingUser); | 1466 checkUser(o.sharingUser); |
| 1467 checkUnnamed641(o.spaces); | 1467 checkUnnamed662(o.spaces); |
| 1468 unittest.expect(o.teamDriveId, unittest.equals('foo')); | 1468 unittest.expect(o.teamDriveId, unittest.equals('foo')); |
| 1469 checkFileThumbnail(o.thumbnail); | 1469 checkFileThumbnail(o.thumbnail); |
| 1470 unittest.expect(o.thumbnailLink, unittest.equals('foo')); | 1470 unittest.expect(o.thumbnailLink, unittest.equals('foo')); |
| 1471 unittest.expect(o.thumbnailVersion, unittest.equals('foo')); | 1471 unittest.expect(o.thumbnailVersion, unittest.equals('foo')); |
| 1472 unittest.expect(o.title, unittest.equals('foo')); | 1472 unittest.expect(o.title, unittest.equals('foo')); |
| 1473 unittest.expect(o.trashedDate, unittest.equals(core.DateTime.parse("2002-02-
27T14:01:02"))); | 1473 unittest.expect(o.trashedDate, unittest.equals(core.DateTime.parse("2002-02-
27T14:01:02"))); |
| 1474 checkUser(o.trashingUser); | 1474 checkUser(o.trashingUser); |
| 1475 checkPermission(o.userPermission); | 1475 checkPermission(o.userPermission); |
| 1476 unittest.expect(o.version, unittest.equals('foo')); | 1476 unittest.expect(o.version, unittest.equals('foo')); |
| 1477 checkFileVideoMediaMetadata(o.videoMediaMetadata); | 1477 checkFileVideoMediaMetadata(o.videoMediaMetadata); |
| 1478 unittest.expect(o.webContentLink, unittest.equals('foo')); | 1478 unittest.expect(o.webContentLink, unittest.equals('foo')); |
| 1479 unittest.expect(o.webViewLink, unittest.equals('foo')); | 1479 unittest.expect(o.webViewLink, unittest.equals('foo')); |
| 1480 unittest.expect(o.writersCanShare, unittest.isTrue); | 1480 unittest.expect(o.writersCanShare, unittest.isTrue); |
| 1481 } | 1481 } |
| 1482 buildCounterFile--; | 1482 buildCounterFile--; |
| 1483 } | 1483 } |
| 1484 | 1484 |
| 1485 buildUnnamed642() { | 1485 buildUnnamed663() { |
| 1486 var o = new core.List<api.File>(); | 1486 var o = new core.List<api.File>(); |
| 1487 o.add(buildFile()); | 1487 o.add(buildFile()); |
| 1488 o.add(buildFile()); | 1488 o.add(buildFile()); |
| 1489 return o; | 1489 return o; |
| 1490 } | 1490 } |
| 1491 | 1491 |
| 1492 checkUnnamed642(core.List<api.File> o) { | 1492 checkUnnamed663(core.List<api.File> o) { |
| 1493 unittest.expect(o, unittest.hasLength(2)); | 1493 unittest.expect(o, unittest.hasLength(2)); |
| 1494 checkFile(o[0]); | 1494 checkFile(o[0]); |
| 1495 checkFile(o[1]); | 1495 checkFile(o[1]); |
| 1496 } | 1496 } |
| 1497 | 1497 |
| 1498 core.int buildCounterFileList = 0; | 1498 core.int buildCounterFileList = 0; |
| 1499 buildFileList() { | 1499 buildFileList() { |
| 1500 var o = new api.FileList(); | 1500 var o = new api.FileList(); |
| 1501 buildCounterFileList++; | 1501 buildCounterFileList++; |
| 1502 if (buildCounterFileList < 3) { | 1502 if (buildCounterFileList < 3) { |
| 1503 o.etag = "foo"; | 1503 o.etag = "foo"; |
| 1504 o.incompleteSearch = true; | 1504 o.incompleteSearch = true; |
| 1505 o.items = buildUnnamed642(); | 1505 o.items = buildUnnamed663(); |
| 1506 o.kind = "foo"; | 1506 o.kind = "foo"; |
| 1507 o.nextLink = "foo"; | 1507 o.nextLink = "foo"; |
| 1508 o.nextPageToken = "foo"; | 1508 o.nextPageToken = "foo"; |
| 1509 o.selfLink = "foo"; | 1509 o.selfLink = "foo"; |
| 1510 } | 1510 } |
| 1511 buildCounterFileList--; | 1511 buildCounterFileList--; |
| 1512 return o; | 1512 return o; |
| 1513 } | 1513 } |
| 1514 | 1514 |
| 1515 checkFileList(api.FileList o) { | 1515 checkFileList(api.FileList o) { |
| 1516 buildCounterFileList++; | 1516 buildCounterFileList++; |
| 1517 if (buildCounterFileList < 3) { | 1517 if (buildCounterFileList < 3) { |
| 1518 unittest.expect(o.etag, unittest.equals('foo')); | 1518 unittest.expect(o.etag, unittest.equals('foo')); |
| 1519 unittest.expect(o.incompleteSearch, unittest.isTrue); | 1519 unittest.expect(o.incompleteSearch, unittest.isTrue); |
| 1520 checkUnnamed642(o.items); | 1520 checkUnnamed663(o.items); |
| 1521 unittest.expect(o.kind, unittest.equals('foo')); | 1521 unittest.expect(o.kind, unittest.equals('foo')); |
| 1522 unittest.expect(o.nextLink, unittest.equals('foo')); | 1522 unittest.expect(o.nextLink, unittest.equals('foo')); |
| 1523 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1523 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1524 unittest.expect(o.selfLink, unittest.equals('foo')); | 1524 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 1525 } | 1525 } |
| 1526 buildCounterFileList--; | 1526 buildCounterFileList--; |
| 1527 } | 1527 } |
| 1528 | 1528 |
| 1529 buildUnnamed643() { | 1529 buildUnnamed664() { |
| 1530 var o = new core.List<core.String>(); | 1530 var o = new core.List<core.String>(); |
| 1531 o.add("foo"); | 1531 o.add("foo"); |
| 1532 o.add("foo"); | 1532 o.add("foo"); |
| 1533 return o; | 1533 return o; |
| 1534 } | 1534 } |
| 1535 | 1535 |
| 1536 checkUnnamed643(core.List<core.String> o) { | 1536 checkUnnamed664(core.List<core.String> o) { |
| 1537 unittest.expect(o, unittest.hasLength(2)); | 1537 unittest.expect(o, unittest.hasLength(2)); |
| 1538 unittest.expect(o[0], unittest.equals('foo')); | 1538 unittest.expect(o[0], unittest.equals('foo')); |
| 1539 unittest.expect(o[1], unittest.equals('foo')); | 1539 unittest.expect(o[1], unittest.equals('foo')); |
| 1540 } | 1540 } |
| 1541 | 1541 |
| 1542 core.int buildCounterGeneratedIds = 0; | 1542 core.int buildCounterGeneratedIds = 0; |
| 1543 buildGeneratedIds() { | 1543 buildGeneratedIds() { |
| 1544 var o = new api.GeneratedIds(); | 1544 var o = new api.GeneratedIds(); |
| 1545 buildCounterGeneratedIds++; | 1545 buildCounterGeneratedIds++; |
| 1546 if (buildCounterGeneratedIds < 3) { | 1546 if (buildCounterGeneratedIds < 3) { |
| 1547 o.ids = buildUnnamed643(); | 1547 o.ids = buildUnnamed664(); |
| 1548 o.kind = "foo"; | 1548 o.kind = "foo"; |
| 1549 o.space = "foo"; | 1549 o.space = "foo"; |
| 1550 } | 1550 } |
| 1551 buildCounterGeneratedIds--; | 1551 buildCounterGeneratedIds--; |
| 1552 return o; | 1552 return o; |
| 1553 } | 1553 } |
| 1554 | 1554 |
| 1555 checkGeneratedIds(api.GeneratedIds o) { | 1555 checkGeneratedIds(api.GeneratedIds o) { |
| 1556 buildCounterGeneratedIds++; | 1556 buildCounterGeneratedIds++; |
| 1557 if (buildCounterGeneratedIds < 3) { | 1557 if (buildCounterGeneratedIds < 3) { |
| 1558 checkUnnamed643(o.ids); | 1558 checkUnnamed664(o.ids); |
| 1559 unittest.expect(o.kind, unittest.equals('foo')); | 1559 unittest.expect(o.kind, unittest.equals('foo')); |
| 1560 unittest.expect(o.space, unittest.equals('foo')); | 1560 unittest.expect(o.space, unittest.equals('foo')); |
| 1561 } | 1561 } |
| 1562 buildCounterGeneratedIds--; | 1562 buildCounterGeneratedIds--; |
| 1563 } | 1563 } |
| 1564 | 1564 |
| 1565 buildUnnamed644() { | 1565 buildUnnamed665() { |
| 1566 var o = new core.List<api.ParentReference>(); | 1566 var o = new core.List<api.ParentReference>(); |
| 1567 o.add(buildParentReference()); | 1567 o.add(buildParentReference()); |
| 1568 o.add(buildParentReference()); | 1568 o.add(buildParentReference()); |
| 1569 return o; | 1569 return o; |
| 1570 } | 1570 } |
| 1571 | 1571 |
| 1572 checkUnnamed644(core.List<api.ParentReference> o) { | 1572 checkUnnamed665(core.List<api.ParentReference> o) { |
| 1573 unittest.expect(o, unittest.hasLength(2)); | 1573 unittest.expect(o, unittest.hasLength(2)); |
| 1574 checkParentReference(o[0]); | 1574 checkParentReference(o[0]); |
| 1575 checkParentReference(o[1]); | 1575 checkParentReference(o[1]); |
| 1576 } | 1576 } |
| 1577 | 1577 |
| 1578 core.int buildCounterParentList = 0; | 1578 core.int buildCounterParentList = 0; |
| 1579 buildParentList() { | 1579 buildParentList() { |
| 1580 var o = new api.ParentList(); | 1580 var o = new api.ParentList(); |
| 1581 buildCounterParentList++; | 1581 buildCounterParentList++; |
| 1582 if (buildCounterParentList < 3) { | 1582 if (buildCounterParentList < 3) { |
| 1583 o.etag = "foo"; | 1583 o.etag = "foo"; |
| 1584 o.items = buildUnnamed644(); | 1584 o.items = buildUnnamed665(); |
| 1585 o.kind = "foo"; | 1585 o.kind = "foo"; |
| 1586 o.selfLink = "foo"; | 1586 o.selfLink = "foo"; |
| 1587 } | 1587 } |
| 1588 buildCounterParentList--; | 1588 buildCounterParentList--; |
| 1589 return o; | 1589 return o; |
| 1590 } | 1590 } |
| 1591 | 1591 |
| 1592 checkParentList(api.ParentList o) { | 1592 checkParentList(api.ParentList o) { |
| 1593 buildCounterParentList++; | 1593 buildCounterParentList++; |
| 1594 if (buildCounterParentList < 3) { | 1594 if (buildCounterParentList < 3) { |
| 1595 unittest.expect(o.etag, unittest.equals('foo')); | 1595 unittest.expect(o.etag, unittest.equals('foo')); |
| 1596 checkUnnamed644(o.items); | 1596 checkUnnamed665(o.items); |
| 1597 unittest.expect(o.kind, unittest.equals('foo')); | 1597 unittest.expect(o.kind, unittest.equals('foo')); |
| 1598 unittest.expect(o.selfLink, unittest.equals('foo')); | 1598 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 1599 } | 1599 } |
| 1600 buildCounterParentList--; | 1600 buildCounterParentList--; |
| 1601 } | 1601 } |
| 1602 | 1602 |
| 1603 core.int buildCounterParentReference = 0; | 1603 core.int buildCounterParentReference = 0; |
| 1604 buildParentReference() { | 1604 buildParentReference() { |
| 1605 var o = new api.ParentReference(); | 1605 var o = new api.ParentReference(); |
| 1606 buildCounterParentReference++; | 1606 buildCounterParentReference++; |
| (...skipping 13 matching lines...) Expand all Loading... |
| 1620 if (buildCounterParentReference < 3) { | 1620 if (buildCounterParentReference < 3) { |
| 1621 unittest.expect(o.id, unittest.equals('foo')); | 1621 unittest.expect(o.id, unittest.equals('foo')); |
| 1622 unittest.expect(o.isRoot, unittest.isTrue); | 1622 unittest.expect(o.isRoot, unittest.isTrue); |
| 1623 unittest.expect(o.kind, unittest.equals('foo')); | 1623 unittest.expect(o.kind, unittest.equals('foo')); |
| 1624 unittest.expect(o.parentLink, unittest.equals('foo')); | 1624 unittest.expect(o.parentLink, unittest.equals('foo')); |
| 1625 unittest.expect(o.selfLink, unittest.equals('foo')); | 1625 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 1626 } | 1626 } |
| 1627 buildCounterParentReference--; | 1627 buildCounterParentReference--; |
| 1628 } | 1628 } |
| 1629 | 1629 |
| 1630 buildUnnamed645() { | 1630 buildUnnamed666() { |
| 1631 var o = new core.List<core.String>(); | 1631 var o = new core.List<core.String>(); |
| 1632 o.add("foo"); | 1632 o.add("foo"); |
| 1633 o.add("foo"); | 1633 o.add("foo"); |
| 1634 return o; | 1634 return o; |
| 1635 } | 1635 } |
| 1636 | 1636 |
| 1637 checkUnnamed645(core.List<core.String> o) { | 1637 checkUnnamed666(core.List<core.String> o) { |
| 1638 unittest.expect(o, unittest.hasLength(2)); | 1638 unittest.expect(o, unittest.hasLength(2)); |
| 1639 unittest.expect(o[0], unittest.equals('foo')); | 1639 unittest.expect(o[0], unittest.equals('foo')); |
| 1640 unittest.expect(o[1], unittest.equals('foo')); | 1640 unittest.expect(o[1], unittest.equals('foo')); |
| 1641 } | 1641 } |
| 1642 | 1642 |
| 1643 buildUnnamed646() { | 1643 buildUnnamed667() { |
| 1644 var o = new core.List<core.String>(); | 1644 var o = new core.List<core.String>(); |
| 1645 o.add("foo"); | 1645 o.add("foo"); |
| 1646 o.add("foo"); | 1646 o.add("foo"); |
| 1647 return o; | 1647 return o; |
| 1648 } | 1648 } |
| 1649 | 1649 |
| 1650 checkUnnamed646(core.List<core.String> o) { | 1650 checkUnnamed667(core.List<core.String> o) { |
| 1651 unittest.expect(o, unittest.hasLength(2)); | 1651 unittest.expect(o, unittest.hasLength(2)); |
| 1652 unittest.expect(o[0], unittest.equals('foo')); | 1652 unittest.expect(o[0], unittest.equals('foo')); |
| 1653 unittest.expect(o[1], unittest.equals('foo')); | 1653 unittest.expect(o[1], unittest.equals('foo')); |
| 1654 } | 1654 } |
| 1655 | 1655 |
| 1656 core.int buildCounterPermissionTeamDrivePermissionDetails = 0; | 1656 core.int buildCounterPermissionTeamDrivePermissionDetails = 0; |
| 1657 buildPermissionTeamDrivePermissionDetails() { | 1657 buildPermissionTeamDrivePermissionDetails() { |
| 1658 var o = new api.PermissionTeamDrivePermissionDetails(); | 1658 var o = new api.PermissionTeamDrivePermissionDetails(); |
| 1659 buildCounterPermissionTeamDrivePermissionDetails++; | 1659 buildCounterPermissionTeamDrivePermissionDetails++; |
| 1660 if (buildCounterPermissionTeamDrivePermissionDetails < 3) { | 1660 if (buildCounterPermissionTeamDrivePermissionDetails < 3) { |
| 1661 o.additionalRoles = buildUnnamed646(); | 1661 o.additionalRoles = buildUnnamed667(); |
| 1662 o.inherited = true; | 1662 o.inherited = true; |
| 1663 o.inheritedFrom = "foo"; | 1663 o.inheritedFrom = "foo"; |
| 1664 o.role = "foo"; | 1664 o.role = "foo"; |
| 1665 o.teamDrivePermissionType = "foo"; | 1665 o.teamDrivePermissionType = "foo"; |
| 1666 } | 1666 } |
| 1667 buildCounterPermissionTeamDrivePermissionDetails--; | 1667 buildCounterPermissionTeamDrivePermissionDetails--; |
| 1668 return o; | 1668 return o; |
| 1669 } | 1669 } |
| 1670 | 1670 |
| 1671 checkPermissionTeamDrivePermissionDetails(api.PermissionTeamDrivePermissionDetai
ls o) { | 1671 checkPermissionTeamDrivePermissionDetails(api.PermissionTeamDrivePermissionDetai
ls o) { |
| 1672 buildCounterPermissionTeamDrivePermissionDetails++; | 1672 buildCounterPermissionTeamDrivePermissionDetails++; |
| 1673 if (buildCounterPermissionTeamDrivePermissionDetails < 3) { | 1673 if (buildCounterPermissionTeamDrivePermissionDetails < 3) { |
| 1674 checkUnnamed646(o.additionalRoles); | 1674 checkUnnamed667(o.additionalRoles); |
| 1675 unittest.expect(o.inherited, unittest.isTrue); | 1675 unittest.expect(o.inherited, unittest.isTrue); |
| 1676 unittest.expect(o.inheritedFrom, unittest.equals('foo')); | 1676 unittest.expect(o.inheritedFrom, unittest.equals('foo')); |
| 1677 unittest.expect(o.role, unittest.equals('foo')); | 1677 unittest.expect(o.role, unittest.equals('foo')); |
| 1678 unittest.expect(o.teamDrivePermissionType, unittest.equals('foo')); | 1678 unittest.expect(o.teamDrivePermissionType, unittest.equals('foo')); |
| 1679 } | 1679 } |
| 1680 buildCounterPermissionTeamDrivePermissionDetails--; | 1680 buildCounterPermissionTeamDrivePermissionDetails--; |
| 1681 } | 1681 } |
| 1682 | 1682 |
| 1683 buildUnnamed647() { | 1683 buildUnnamed668() { |
| 1684 var o = new core.List<api.PermissionTeamDrivePermissionDetails>(); | 1684 var o = new core.List<api.PermissionTeamDrivePermissionDetails>(); |
| 1685 o.add(buildPermissionTeamDrivePermissionDetails()); | 1685 o.add(buildPermissionTeamDrivePermissionDetails()); |
| 1686 o.add(buildPermissionTeamDrivePermissionDetails()); | 1686 o.add(buildPermissionTeamDrivePermissionDetails()); |
| 1687 return o; | 1687 return o; |
| 1688 } | 1688 } |
| 1689 | 1689 |
| 1690 checkUnnamed647(core.List<api.PermissionTeamDrivePermissionDetails> o) { | 1690 checkUnnamed668(core.List<api.PermissionTeamDrivePermissionDetails> o) { |
| 1691 unittest.expect(o, unittest.hasLength(2)); | 1691 unittest.expect(o, unittest.hasLength(2)); |
| 1692 checkPermissionTeamDrivePermissionDetails(o[0]); | 1692 checkPermissionTeamDrivePermissionDetails(o[0]); |
| 1693 checkPermissionTeamDrivePermissionDetails(o[1]); | 1693 checkPermissionTeamDrivePermissionDetails(o[1]); |
| 1694 } | 1694 } |
| 1695 | 1695 |
| 1696 core.int buildCounterPermission = 0; | 1696 core.int buildCounterPermission = 0; |
| 1697 buildPermission() { | 1697 buildPermission() { |
| 1698 var o = new api.Permission(); | 1698 var o = new api.Permission(); |
| 1699 buildCounterPermission++; | 1699 buildCounterPermission++; |
| 1700 if (buildCounterPermission < 3) { | 1700 if (buildCounterPermission < 3) { |
| 1701 o.additionalRoles = buildUnnamed645(); | 1701 o.additionalRoles = buildUnnamed666(); |
| 1702 o.authKey = "foo"; | 1702 o.authKey = "foo"; |
| 1703 o.domain = "foo"; | 1703 o.domain = "foo"; |
| 1704 o.emailAddress = "foo"; | 1704 o.emailAddress = "foo"; |
| 1705 o.etag = "foo"; | 1705 o.etag = "foo"; |
| 1706 o.expirationDate = core.DateTime.parse("2002-02-27T14:01:02"); | 1706 o.expirationDate = core.DateTime.parse("2002-02-27T14:01:02"); |
| 1707 o.id = "foo"; | 1707 o.id = "foo"; |
| 1708 o.kind = "foo"; | 1708 o.kind = "foo"; |
| 1709 o.name = "foo"; | 1709 o.name = "foo"; |
| 1710 o.photoLink = "foo"; | 1710 o.photoLink = "foo"; |
| 1711 o.role = "foo"; | 1711 o.role = "foo"; |
| 1712 o.selfLink = "foo"; | 1712 o.selfLink = "foo"; |
| 1713 o.teamDrivePermissionDetails = buildUnnamed647(); | 1713 o.teamDrivePermissionDetails = buildUnnamed668(); |
| 1714 o.type = "foo"; | 1714 o.type = "foo"; |
| 1715 o.value = "foo"; | 1715 o.value = "foo"; |
| 1716 o.withLink = true; | 1716 o.withLink = true; |
| 1717 } | 1717 } |
| 1718 buildCounterPermission--; | 1718 buildCounterPermission--; |
| 1719 return o; | 1719 return o; |
| 1720 } | 1720 } |
| 1721 | 1721 |
| 1722 checkPermission(api.Permission o) { | 1722 checkPermission(api.Permission o) { |
| 1723 buildCounterPermission++; | 1723 buildCounterPermission++; |
| 1724 if (buildCounterPermission < 3) { | 1724 if (buildCounterPermission < 3) { |
| 1725 checkUnnamed645(o.additionalRoles); | 1725 checkUnnamed666(o.additionalRoles); |
| 1726 unittest.expect(o.authKey, unittest.equals('foo')); | 1726 unittest.expect(o.authKey, unittest.equals('foo')); |
| 1727 unittest.expect(o.domain, unittest.equals('foo')); | 1727 unittest.expect(o.domain, unittest.equals('foo')); |
| 1728 unittest.expect(o.emailAddress, unittest.equals('foo')); | 1728 unittest.expect(o.emailAddress, unittest.equals('foo')); |
| 1729 unittest.expect(o.etag, unittest.equals('foo')); | 1729 unittest.expect(o.etag, unittest.equals('foo')); |
| 1730 unittest.expect(o.expirationDate, unittest.equals(core.DateTime.parse("2002-
02-27T14:01:02"))); | 1730 unittest.expect(o.expirationDate, unittest.equals(core.DateTime.parse("2002-
02-27T14:01:02"))); |
| 1731 unittest.expect(o.id, unittest.equals('foo')); | 1731 unittest.expect(o.id, unittest.equals('foo')); |
| 1732 unittest.expect(o.kind, unittest.equals('foo')); | 1732 unittest.expect(o.kind, unittest.equals('foo')); |
| 1733 unittest.expect(o.name, unittest.equals('foo')); | 1733 unittest.expect(o.name, unittest.equals('foo')); |
| 1734 unittest.expect(o.photoLink, unittest.equals('foo')); | 1734 unittest.expect(o.photoLink, unittest.equals('foo')); |
| 1735 unittest.expect(o.role, unittest.equals('foo')); | 1735 unittest.expect(o.role, unittest.equals('foo')); |
| 1736 unittest.expect(o.selfLink, unittest.equals('foo')); | 1736 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 1737 checkUnnamed647(o.teamDrivePermissionDetails); | 1737 checkUnnamed668(o.teamDrivePermissionDetails); |
| 1738 unittest.expect(o.type, unittest.equals('foo')); | 1738 unittest.expect(o.type, unittest.equals('foo')); |
| 1739 unittest.expect(o.value, unittest.equals('foo')); | 1739 unittest.expect(o.value, unittest.equals('foo')); |
| 1740 unittest.expect(o.withLink, unittest.isTrue); | 1740 unittest.expect(o.withLink, unittest.isTrue); |
| 1741 } | 1741 } |
| 1742 buildCounterPermission--; | 1742 buildCounterPermission--; |
| 1743 } | 1743 } |
| 1744 | 1744 |
| 1745 core.int buildCounterPermissionId = 0; | 1745 core.int buildCounterPermissionId = 0; |
| 1746 buildPermissionId() { | 1746 buildPermissionId() { |
| 1747 var o = new api.PermissionId(); | 1747 var o = new api.PermissionId(); |
| 1748 buildCounterPermissionId++; | 1748 buildCounterPermissionId++; |
| 1749 if (buildCounterPermissionId < 3) { | 1749 if (buildCounterPermissionId < 3) { |
| 1750 o.id = "foo"; | 1750 o.id = "foo"; |
| 1751 o.kind = "foo"; | 1751 o.kind = "foo"; |
| 1752 } | 1752 } |
| 1753 buildCounterPermissionId--; | 1753 buildCounterPermissionId--; |
| 1754 return o; | 1754 return o; |
| 1755 } | 1755 } |
| 1756 | 1756 |
| 1757 checkPermissionId(api.PermissionId o) { | 1757 checkPermissionId(api.PermissionId o) { |
| 1758 buildCounterPermissionId++; | 1758 buildCounterPermissionId++; |
| 1759 if (buildCounterPermissionId < 3) { | 1759 if (buildCounterPermissionId < 3) { |
| 1760 unittest.expect(o.id, unittest.equals('foo')); | 1760 unittest.expect(o.id, unittest.equals('foo')); |
| 1761 unittest.expect(o.kind, unittest.equals('foo')); | 1761 unittest.expect(o.kind, unittest.equals('foo')); |
| 1762 } | 1762 } |
| 1763 buildCounterPermissionId--; | 1763 buildCounterPermissionId--; |
| 1764 } | 1764 } |
| 1765 | 1765 |
| 1766 buildUnnamed648() { | 1766 buildUnnamed669() { |
| 1767 var o = new core.List<api.Permission>(); | 1767 var o = new core.List<api.Permission>(); |
| 1768 o.add(buildPermission()); | 1768 o.add(buildPermission()); |
| 1769 o.add(buildPermission()); | 1769 o.add(buildPermission()); |
| 1770 return o; | 1770 return o; |
| 1771 } | 1771 } |
| 1772 | 1772 |
| 1773 checkUnnamed648(core.List<api.Permission> o) { | 1773 checkUnnamed669(core.List<api.Permission> o) { |
| 1774 unittest.expect(o, unittest.hasLength(2)); | 1774 unittest.expect(o, unittest.hasLength(2)); |
| 1775 checkPermission(o[0]); | 1775 checkPermission(o[0]); |
| 1776 checkPermission(o[1]); | 1776 checkPermission(o[1]); |
| 1777 } | 1777 } |
| 1778 | 1778 |
| 1779 core.int buildCounterPermissionList = 0; | 1779 core.int buildCounterPermissionList = 0; |
| 1780 buildPermissionList() { | 1780 buildPermissionList() { |
| 1781 var o = new api.PermissionList(); | 1781 var o = new api.PermissionList(); |
| 1782 buildCounterPermissionList++; | 1782 buildCounterPermissionList++; |
| 1783 if (buildCounterPermissionList < 3) { | 1783 if (buildCounterPermissionList < 3) { |
| 1784 o.etag = "foo"; | 1784 o.etag = "foo"; |
| 1785 o.items = buildUnnamed648(); | 1785 o.items = buildUnnamed669(); |
| 1786 o.kind = "foo"; | 1786 o.kind = "foo"; |
| 1787 o.nextPageToken = "foo"; | 1787 o.nextPageToken = "foo"; |
| 1788 o.selfLink = "foo"; | 1788 o.selfLink = "foo"; |
| 1789 } | 1789 } |
| 1790 buildCounterPermissionList--; | 1790 buildCounterPermissionList--; |
| 1791 return o; | 1791 return o; |
| 1792 } | 1792 } |
| 1793 | 1793 |
| 1794 checkPermissionList(api.PermissionList o) { | 1794 checkPermissionList(api.PermissionList o) { |
| 1795 buildCounterPermissionList++; | 1795 buildCounterPermissionList++; |
| 1796 if (buildCounterPermissionList < 3) { | 1796 if (buildCounterPermissionList < 3) { |
| 1797 unittest.expect(o.etag, unittest.equals('foo')); | 1797 unittest.expect(o.etag, unittest.equals('foo')); |
| 1798 checkUnnamed648(o.items); | 1798 checkUnnamed669(o.items); |
| 1799 unittest.expect(o.kind, unittest.equals('foo')); | 1799 unittest.expect(o.kind, unittest.equals('foo')); |
| 1800 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1800 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1801 unittest.expect(o.selfLink, unittest.equals('foo')); | 1801 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 1802 } | 1802 } |
| 1803 buildCounterPermissionList--; | 1803 buildCounterPermissionList--; |
| 1804 } | 1804 } |
| 1805 | 1805 |
| 1806 core.int buildCounterProperty = 0; | 1806 core.int buildCounterProperty = 0; |
| 1807 buildProperty() { | 1807 buildProperty() { |
| 1808 var o = new api.Property(); | 1808 var o = new api.Property(); |
| (...skipping 16 matching lines...) Expand all Loading... |
| 1825 unittest.expect(o.etag, unittest.equals('foo')); | 1825 unittest.expect(o.etag, unittest.equals('foo')); |
| 1826 unittest.expect(o.key, unittest.equals('foo')); | 1826 unittest.expect(o.key, unittest.equals('foo')); |
| 1827 unittest.expect(o.kind, unittest.equals('foo')); | 1827 unittest.expect(o.kind, unittest.equals('foo')); |
| 1828 unittest.expect(o.selfLink, unittest.equals('foo')); | 1828 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 1829 unittest.expect(o.value, unittest.equals('foo')); | 1829 unittest.expect(o.value, unittest.equals('foo')); |
| 1830 unittest.expect(o.visibility, unittest.equals('foo')); | 1830 unittest.expect(o.visibility, unittest.equals('foo')); |
| 1831 } | 1831 } |
| 1832 buildCounterProperty--; | 1832 buildCounterProperty--; |
| 1833 } | 1833 } |
| 1834 | 1834 |
| 1835 buildUnnamed649() { | 1835 buildUnnamed670() { |
| 1836 var o = new core.List<api.Property>(); | 1836 var o = new core.List<api.Property>(); |
| 1837 o.add(buildProperty()); | 1837 o.add(buildProperty()); |
| 1838 o.add(buildProperty()); | 1838 o.add(buildProperty()); |
| 1839 return o; | 1839 return o; |
| 1840 } | 1840 } |
| 1841 | 1841 |
| 1842 checkUnnamed649(core.List<api.Property> o) { | 1842 checkUnnamed670(core.List<api.Property> o) { |
| 1843 unittest.expect(o, unittest.hasLength(2)); | 1843 unittest.expect(o, unittest.hasLength(2)); |
| 1844 checkProperty(o[0]); | 1844 checkProperty(o[0]); |
| 1845 checkProperty(o[1]); | 1845 checkProperty(o[1]); |
| 1846 } | 1846 } |
| 1847 | 1847 |
| 1848 core.int buildCounterPropertyList = 0; | 1848 core.int buildCounterPropertyList = 0; |
| 1849 buildPropertyList() { | 1849 buildPropertyList() { |
| 1850 var o = new api.PropertyList(); | 1850 var o = new api.PropertyList(); |
| 1851 buildCounterPropertyList++; | 1851 buildCounterPropertyList++; |
| 1852 if (buildCounterPropertyList < 3) { | 1852 if (buildCounterPropertyList < 3) { |
| 1853 o.etag = "foo"; | 1853 o.etag = "foo"; |
| 1854 o.items = buildUnnamed649(); | 1854 o.items = buildUnnamed670(); |
| 1855 o.kind = "foo"; | 1855 o.kind = "foo"; |
| 1856 o.selfLink = "foo"; | 1856 o.selfLink = "foo"; |
| 1857 } | 1857 } |
| 1858 buildCounterPropertyList--; | 1858 buildCounterPropertyList--; |
| 1859 return o; | 1859 return o; |
| 1860 } | 1860 } |
| 1861 | 1861 |
| 1862 checkPropertyList(api.PropertyList o) { | 1862 checkPropertyList(api.PropertyList o) { |
| 1863 buildCounterPropertyList++; | 1863 buildCounterPropertyList++; |
| 1864 if (buildCounterPropertyList < 3) { | 1864 if (buildCounterPropertyList < 3) { |
| 1865 unittest.expect(o.etag, unittest.equals('foo')); | 1865 unittest.expect(o.etag, unittest.equals('foo')); |
| 1866 checkUnnamed649(o.items); | 1866 checkUnnamed670(o.items); |
| 1867 unittest.expect(o.kind, unittest.equals('foo')); | 1867 unittest.expect(o.kind, unittest.equals('foo')); |
| 1868 unittest.expect(o.selfLink, unittest.equals('foo')); | 1868 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 1869 } | 1869 } |
| 1870 buildCounterPropertyList--; | 1870 buildCounterPropertyList--; |
| 1871 } | 1871 } |
| 1872 | 1872 |
| 1873 buildUnnamed650() { | 1873 buildUnnamed671() { |
| 1874 var o = new core.Map<core.String, core.String>(); | 1874 var o = new core.Map<core.String, core.String>(); |
| 1875 o["x"] = "foo"; | 1875 o["x"] = "foo"; |
| 1876 o["y"] = "foo"; | 1876 o["y"] = "foo"; |
| 1877 return o; | 1877 return o; |
| 1878 } | 1878 } |
| 1879 | 1879 |
| 1880 checkUnnamed650(core.Map<core.String, core.String> o) { | 1880 checkUnnamed671(core.Map<core.String, core.String> o) { |
| 1881 unittest.expect(o, unittest.hasLength(2)); | 1881 unittest.expect(o, unittest.hasLength(2)); |
| 1882 unittest.expect(o["x"], unittest.equals('foo')); | 1882 unittest.expect(o["x"], unittest.equals('foo')); |
| 1883 unittest.expect(o["y"], unittest.equals('foo')); | 1883 unittest.expect(o["y"], unittest.equals('foo')); |
| 1884 } | 1884 } |
| 1885 | 1885 |
| 1886 core.int buildCounterRevision = 0; | 1886 core.int buildCounterRevision = 0; |
| 1887 buildRevision() { | 1887 buildRevision() { |
| 1888 var o = new api.Revision(); | 1888 var o = new api.Revision(); |
| 1889 buildCounterRevision++; | 1889 buildCounterRevision++; |
| 1890 if (buildCounterRevision < 3) { | 1890 if (buildCounterRevision < 3) { |
| 1891 o.downloadUrl = "foo"; | 1891 o.downloadUrl = "foo"; |
| 1892 o.etag = "foo"; | 1892 o.etag = "foo"; |
| 1893 o.exportLinks = buildUnnamed650(); | 1893 o.exportLinks = buildUnnamed671(); |
| 1894 o.fileSize = "foo"; | 1894 o.fileSize = "foo"; |
| 1895 o.id = "foo"; | 1895 o.id = "foo"; |
| 1896 o.kind = "foo"; | 1896 o.kind = "foo"; |
| 1897 o.lastModifyingUser = buildUser(); | 1897 o.lastModifyingUser = buildUser(); |
| 1898 o.lastModifyingUserName = "foo"; | 1898 o.lastModifyingUserName = "foo"; |
| 1899 o.md5Checksum = "foo"; | 1899 o.md5Checksum = "foo"; |
| 1900 o.mimeType = "foo"; | 1900 o.mimeType = "foo"; |
| 1901 o.modifiedDate = core.DateTime.parse("2002-02-27T14:01:02"); | 1901 o.modifiedDate = core.DateTime.parse("2002-02-27T14:01:02"); |
| 1902 o.originalFilename = "foo"; | 1902 o.originalFilename = "foo"; |
| 1903 o.pinned = true; | 1903 o.pinned = true; |
| 1904 o.publishAuto = true; | 1904 o.publishAuto = true; |
| 1905 o.published = true; | 1905 o.published = true; |
| 1906 o.publishedLink = "foo"; | 1906 o.publishedLink = "foo"; |
| 1907 o.publishedOutsideDomain = true; | 1907 o.publishedOutsideDomain = true; |
| 1908 o.selfLink = "foo"; | 1908 o.selfLink = "foo"; |
| 1909 } | 1909 } |
| 1910 buildCounterRevision--; | 1910 buildCounterRevision--; |
| 1911 return o; | 1911 return o; |
| 1912 } | 1912 } |
| 1913 | 1913 |
| 1914 checkRevision(api.Revision o) { | 1914 checkRevision(api.Revision o) { |
| 1915 buildCounterRevision++; | 1915 buildCounterRevision++; |
| 1916 if (buildCounterRevision < 3) { | 1916 if (buildCounterRevision < 3) { |
| 1917 unittest.expect(o.downloadUrl, unittest.equals('foo')); | 1917 unittest.expect(o.downloadUrl, unittest.equals('foo')); |
| 1918 unittest.expect(o.etag, unittest.equals('foo')); | 1918 unittest.expect(o.etag, unittest.equals('foo')); |
| 1919 checkUnnamed650(o.exportLinks); | 1919 checkUnnamed671(o.exportLinks); |
| 1920 unittest.expect(o.fileSize, unittest.equals('foo')); | 1920 unittest.expect(o.fileSize, unittest.equals('foo')); |
| 1921 unittest.expect(o.id, unittest.equals('foo')); | 1921 unittest.expect(o.id, unittest.equals('foo')); |
| 1922 unittest.expect(o.kind, unittest.equals('foo')); | 1922 unittest.expect(o.kind, unittest.equals('foo')); |
| 1923 checkUser(o.lastModifyingUser); | 1923 checkUser(o.lastModifyingUser); |
| 1924 unittest.expect(o.lastModifyingUserName, unittest.equals('foo')); | 1924 unittest.expect(o.lastModifyingUserName, unittest.equals('foo')); |
| 1925 unittest.expect(o.md5Checksum, unittest.equals('foo')); | 1925 unittest.expect(o.md5Checksum, unittest.equals('foo')); |
| 1926 unittest.expect(o.mimeType, unittest.equals('foo')); | 1926 unittest.expect(o.mimeType, unittest.equals('foo')); |
| 1927 unittest.expect(o.modifiedDate, unittest.equals(core.DateTime.parse("2002-02
-27T14:01:02"))); | 1927 unittest.expect(o.modifiedDate, unittest.equals(core.DateTime.parse("2002-02
-27T14:01:02"))); |
| 1928 unittest.expect(o.originalFilename, unittest.equals('foo')); | 1928 unittest.expect(o.originalFilename, unittest.equals('foo')); |
| 1929 unittest.expect(o.pinned, unittest.isTrue); | 1929 unittest.expect(o.pinned, unittest.isTrue); |
| 1930 unittest.expect(o.publishAuto, unittest.isTrue); | 1930 unittest.expect(o.publishAuto, unittest.isTrue); |
| 1931 unittest.expect(o.published, unittest.isTrue); | 1931 unittest.expect(o.published, unittest.isTrue); |
| 1932 unittest.expect(o.publishedLink, unittest.equals('foo')); | 1932 unittest.expect(o.publishedLink, unittest.equals('foo')); |
| 1933 unittest.expect(o.publishedOutsideDomain, unittest.isTrue); | 1933 unittest.expect(o.publishedOutsideDomain, unittest.isTrue); |
| 1934 unittest.expect(o.selfLink, unittest.equals('foo')); | 1934 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 1935 } | 1935 } |
| 1936 buildCounterRevision--; | 1936 buildCounterRevision--; |
| 1937 } | 1937 } |
| 1938 | 1938 |
| 1939 buildUnnamed651() { | 1939 buildUnnamed672() { |
| 1940 var o = new core.List<api.Revision>(); | 1940 var o = new core.List<api.Revision>(); |
| 1941 o.add(buildRevision()); | 1941 o.add(buildRevision()); |
| 1942 o.add(buildRevision()); | 1942 o.add(buildRevision()); |
| 1943 return o; | 1943 return o; |
| 1944 } | 1944 } |
| 1945 | 1945 |
| 1946 checkUnnamed651(core.List<api.Revision> o) { | 1946 checkUnnamed672(core.List<api.Revision> o) { |
| 1947 unittest.expect(o, unittest.hasLength(2)); | 1947 unittest.expect(o, unittest.hasLength(2)); |
| 1948 checkRevision(o[0]); | 1948 checkRevision(o[0]); |
| 1949 checkRevision(o[1]); | 1949 checkRevision(o[1]); |
| 1950 } | 1950 } |
| 1951 | 1951 |
| 1952 core.int buildCounterRevisionList = 0; | 1952 core.int buildCounterRevisionList = 0; |
| 1953 buildRevisionList() { | 1953 buildRevisionList() { |
| 1954 var o = new api.RevisionList(); | 1954 var o = new api.RevisionList(); |
| 1955 buildCounterRevisionList++; | 1955 buildCounterRevisionList++; |
| 1956 if (buildCounterRevisionList < 3) { | 1956 if (buildCounterRevisionList < 3) { |
| 1957 o.etag = "foo"; | 1957 o.etag = "foo"; |
| 1958 o.items = buildUnnamed651(); | 1958 o.items = buildUnnamed672(); |
| 1959 o.kind = "foo"; | 1959 o.kind = "foo"; |
| 1960 o.nextPageToken = "foo"; | 1960 o.nextPageToken = "foo"; |
| 1961 o.selfLink = "foo"; | 1961 o.selfLink = "foo"; |
| 1962 } | 1962 } |
| 1963 buildCounterRevisionList--; | 1963 buildCounterRevisionList--; |
| 1964 return o; | 1964 return o; |
| 1965 } | 1965 } |
| 1966 | 1966 |
| 1967 checkRevisionList(api.RevisionList o) { | 1967 checkRevisionList(api.RevisionList o) { |
| 1968 buildCounterRevisionList++; | 1968 buildCounterRevisionList++; |
| 1969 if (buildCounterRevisionList < 3) { | 1969 if (buildCounterRevisionList < 3) { |
| 1970 unittest.expect(o.etag, unittest.equals('foo')); | 1970 unittest.expect(o.etag, unittest.equals('foo')); |
| 1971 checkUnnamed651(o.items); | 1971 checkUnnamed672(o.items); |
| 1972 unittest.expect(o.kind, unittest.equals('foo')); | 1972 unittest.expect(o.kind, unittest.equals('foo')); |
| 1973 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1973 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1974 unittest.expect(o.selfLink, unittest.equals('foo')); | 1974 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 1975 } | 1975 } |
| 1976 buildCounterRevisionList--; | 1976 buildCounterRevisionList--; |
| 1977 } | 1977 } |
| 1978 | 1978 |
| 1979 core.int buildCounterStartPageToken = 0; | 1979 core.int buildCounterStartPageToken = 0; |
| 1980 buildStartPageToken() { | 1980 buildStartPageToken() { |
| 1981 var o = new api.StartPageToken(); | 1981 var o = new api.StartPageToken(); |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2058 buildCounterTeamDrive++; | 2058 buildCounterTeamDrive++; |
| 2059 if (buildCounterTeamDrive < 3) { | 2059 if (buildCounterTeamDrive < 3) { |
| 2060 checkTeamDriveCapabilities(o.capabilities); | 2060 checkTeamDriveCapabilities(o.capabilities); |
| 2061 unittest.expect(o.id, unittest.equals('foo')); | 2061 unittest.expect(o.id, unittest.equals('foo')); |
| 2062 unittest.expect(o.kind, unittest.equals('foo')); | 2062 unittest.expect(o.kind, unittest.equals('foo')); |
| 2063 unittest.expect(o.name, unittest.equals('foo')); | 2063 unittest.expect(o.name, unittest.equals('foo')); |
| 2064 } | 2064 } |
| 2065 buildCounterTeamDrive--; | 2065 buildCounterTeamDrive--; |
| 2066 } | 2066 } |
| 2067 | 2067 |
| 2068 buildUnnamed652() { | 2068 buildUnnamed673() { |
| 2069 var o = new core.List<api.TeamDrive>(); | 2069 var o = new core.List<api.TeamDrive>(); |
| 2070 o.add(buildTeamDrive()); | 2070 o.add(buildTeamDrive()); |
| 2071 o.add(buildTeamDrive()); | 2071 o.add(buildTeamDrive()); |
| 2072 return o; | 2072 return o; |
| 2073 } | 2073 } |
| 2074 | 2074 |
| 2075 checkUnnamed652(core.List<api.TeamDrive> o) { | 2075 checkUnnamed673(core.List<api.TeamDrive> o) { |
| 2076 unittest.expect(o, unittest.hasLength(2)); | 2076 unittest.expect(o, unittest.hasLength(2)); |
| 2077 checkTeamDrive(o[0]); | 2077 checkTeamDrive(o[0]); |
| 2078 checkTeamDrive(o[1]); | 2078 checkTeamDrive(o[1]); |
| 2079 } | 2079 } |
| 2080 | 2080 |
| 2081 core.int buildCounterTeamDriveList = 0; | 2081 core.int buildCounterTeamDriveList = 0; |
| 2082 buildTeamDriveList() { | 2082 buildTeamDriveList() { |
| 2083 var o = new api.TeamDriveList(); | 2083 var o = new api.TeamDriveList(); |
| 2084 buildCounterTeamDriveList++; | 2084 buildCounterTeamDriveList++; |
| 2085 if (buildCounterTeamDriveList < 3) { | 2085 if (buildCounterTeamDriveList < 3) { |
| 2086 o.items = buildUnnamed652(); | 2086 o.items = buildUnnamed673(); |
| 2087 o.kind = "foo"; | 2087 o.kind = "foo"; |
| 2088 o.nextPageToken = "foo"; | 2088 o.nextPageToken = "foo"; |
| 2089 } | 2089 } |
| 2090 buildCounterTeamDriveList--; | 2090 buildCounterTeamDriveList--; |
| 2091 return o; | 2091 return o; |
| 2092 } | 2092 } |
| 2093 | 2093 |
| 2094 checkTeamDriveList(api.TeamDriveList o) { | 2094 checkTeamDriveList(api.TeamDriveList o) { |
| 2095 buildCounterTeamDriveList++; | 2095 buildCounterTeamDriveList++; |
| 2096 if (buildCounterTeamDriveList < 3) { | 2096 if (buildCounterTeamDriveList < 3) { |
| 2097 checkUnnamed652(o.items); | 2097 checkUnnamed673(o.items); |
| 2098 unittest.expect(o.kind, unittest.equals('foo')); | 2098 unittest.expect(o.kind, unittest.equals('foo')); |
| 2099 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 2099 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 2100 } | 2100 } |
| 2101 buildCounterTeamDriveList--; | 2101 buildCounterTeamDriveList--; |
| 2102 } | 2102 } |
| 2103 | 2103 |
| 2104 core.int buildCounterUserPicture = 0; | 2104 core.int buildCounterUserPicture = 0; |
| 2105 buildUserPicture() { | 2105 buildUserPicture() { |
| 2106 var o = new api.UserPicture(); | 2106 var o = new api.UserPicture(); |
| 2107 buildCounterUserPicture++; | 2107 buildCounterUserPicture++; |
| (...skipping 4448 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6556 res.update(arg_request, arg_teamDriveId).then(unittest.expectAsync(((api.T
eamDrive response) { | 6556 res.update(arg_request, arg_teamDriveId).then(unittest.expectAsync(((api.T
eamDrive response) { |
| 6557 checkTeamDrive(response); | 6557 checkTeamDrive(response); |
| 6558 }))); | 6558 }))); |
| 6559 }); | 6559 }); |
| 6560 | 6560 |
| 6561 }); | 6561 }); |
| 6562 | 6562 |
| 6563 | 6563 |
| 6564 } | 6564 } |
| 6565 | 6565 |
| OLD | NEW |